Unnamed: 0
int64
0
0
repo_id
stringlengths
5
186
file_path
stringlengths
15
223
content
stringlengths
1
32.8M
0
repos/sokol/tests
repos/sokol/tests/compile/CMakeLists.txt
set(c_sources sokol_app.c sokol_glue.c sokol_gfx.c sokol_time.c sokol_args.c sokol_audio.c sokol_debugtext.c sokol_gl.c sokol_fontstash.c sokol_imgui.c sokol_gfx_imgui.c sokol_shape.c sokol_nuklear.c sokol_color.c sokol_spine.c sokol_log.c sokol_main.c) if (NOT ANDROID) set(c_sources ${c_sources} sokol_fetch.c) endif() set(cxx_sources sokol_app.cc sokol_glue.cc sokol_gfx.cc sokol_time.cc sokol_args.cc sokol_audio.cc sokol_debugtext.cc sokol_gl.cc sokol_fontstash.cc sokol_imgui.cc sokol_gfx_imgui.cc sokol_shape.cc sokol_color.cc sokol_spine.cc sokol_log.cc sokol_main.cc) if (NOT ANDROID) set(cxx_sources ${cxx_sources} sokol_fetch.cc) endif() if (ANDROID) add_library(sokol-compiletest-c SHARED ${c_sources}) else() add_executable(sokol-compiletest-c ${exe_type} sokol_app.c sokol_glue.c ${c_sources}) endif() target_link_libraries(sokol-compiletest-c PUBLIC cimgui nuklear spine) configure_c(sokol-compiletest-c) if (ANDROID) add_library(sokol-compiletest-cxx SHARED ${cxx_sources}) else() add_executable(sokol-compiletest-cxx ${exe_type} ${cxx_sources}) endif() target_link_libraries(sokol-compiletest-cxx PUBLIC imgui nuklear spine) configure_cxx(sokol-compiletest-cxx)
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_gfx.c
#define SOKOL_IMPL #include "sokol_gfx.h" void use_gfx_impl(void) { sg_setup(&(sg_desc){0}); }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_gfx_imgui.c
#include "sokol_app.h" #include "sokol_gfx.h" #define CIMGUI_DEFINE_ENUMS_AND_STRUCTS #if defined(_MSC_VER ) #pragma warning(disable:4201) // nonstandard extension used: nameless struct/union #pragma warning(disable:4214) // nonstandard extension used: bit field types other than int #endif #include "cimgui/cimgui.h" #include "sokol_imgui.h" #define SOKOL_IMPL #include "sokol_gfx_imgui.h" void use_gfx_imgui_impl(void) { sgimgui_t ctx = {0}; sgimgui_init(&ctx, &(sgimgui_desc_t){0}); sgimgui_discard(&ctx); }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_color.c
#include "sokol_gfx.h" #define SOKOL_IMPL #include "sokol_color.h" void use_color_impl(void) { sg_color c = sg_make_color_4b(255, 0, 0, 255); (void)c; }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_main.c
#include "sokol_app.h" #if defined(SOKOL_DUMMY_BACKEND) int main() { return 0; } #else sapp_desc sokol_main(int argc, char* argv[]) { (void)argc; (void)argv; return (sapp_desc){0}; } #endif
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_gl.c
#include "sokol_gfx.h" #define SOKOL_IMPL #include "sokol_gl.h" void use_gl_impl(void) { sgl_setup(&(sgl_desc_t){0}); }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_audio.c
#define SOKOL_IMPL #include "sokol_audio.h" void use_audio_impl(void) { saudio_setup(&(saudio_desc){0}); }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_spine.c
#include "sokol_gfx.h" #define SOKOL_IMPL #include "spine/spine.h" #include "sokol_spine.h" void use_sspine_impl(void) { sspine_setup(&(sspine_desc){0}); }
0
repos/sokol/tests
repos/sokol/tests/compile/sokol_app.c
#define SOKOL_IMPL #include "sokol_app.h" void use_app_impl(void) { sapp_run(&(sapp_desc){0}); }
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_gl_test.c
//------------------------------------------------------------------------------ // sokol-gl-test.c //------------------------------------------------------------------------------ #include "sokol_gfx.h" #define SOKOL_GL_IMPL #include "sokol_gl.h" #include "utest.h" #include <float.h> #define T(b) EXPECT_TRUE(b) #define TFLT(f0,f1,epsilon) {T(fabs((f0)-(f1))<=(epsilon));} static void init(void) { sg_setup(&(sg_desc){0}); sgl_setup(&(sgl_desc_t){0}); } static void shutdown(void) { sgl_shutdown(); sg_shutdown(); } UTEST(sokol_gl, default_init_shutdown) { init(); T(_sgl.init_cookie == _SGL_INIT_COOKIE); T(_sgl.def_ctx_id.id == SGL_DEFAULT_CONTEXT.id); T(_sgl.cur_ctx_id.id == _sgl.def_ctx_id.id); T(_sgl.cur_ctx); T(_sgl.cur_ctx->vertices.cap == 65536); T(_sgl.cur_ctx->commands.cap == 16384); T(_sgl.cur_ctx->uniforms.cap == 16384); T(_sgl.cur_ctx->vertices.next == 0); T(_sgl.cur_ctx->commands.next == 0); T(_sgl.cur_ctx->uniforms.next == 0); T(_sgl.cur_ctx->vertices.ptr != 0); T(_sgl.cur_ctx->uniforms.ptr != 0); T(_sgl.cur_ctx->commands.ptr != 0); T(_sgl.cur_ctx->error.any == false); T(!_sgl.cur_ctx->in_begin); T(_sgl.cur_ctx->def_pip.id != SG_INVALID_ID); T(_sgl.pip_pool.pool.size == (_SGL_DEFAULT_PIPELINE_POOL_SIZE + 1)); TFLT(_sgl.cur_ctx->u, 0.0f, FLT_MIN); TFLT(_sgl.cur_ctx->v, 0.0f, FLT_MIN); T(_sgl.cur_ctx->rgba == 0xFFFFFFFF); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); T(sgl_num_commands() == 0); T(sgl_num_vertices() == 0); shutdown(); } UTEST(sokol_gl, viewport) { init(); sgl_viewport(1, 2, 3, 4, true); T(_sgl.cur_ctx->commands.next == 1); T(_sgl.cur_ctx->commands.ptr[0].cmd == SGL_COMMAND_VIEWPORT); T(_sgl.cur_ctx->commands.ptr[0].args.viewport.x == 1); T(_sgl.cur_ctx->commands.ptr[0].args.viewport.y == 2); T(_sgl.cur_ctx->commands.ptr[0].args.viewport.w == 3); T(_sgl.cur_ctx->commands.ptr[0].args.viewport.h == 4); T(_sgl.cur_ctx->commands.ptr[0].args.viewport.origin_top_left); sgl_viewport(5, 6, 7, 8, false); T(_sgl.cur_ctx->commands.next == 2); T(_sgl.cur_ctx->commands.ptr[1].cmd == SGL_COMMAND_VIEWPORT); T(_sgl.cur_ctx->commands.ptr[1].args.viewport.x == 5); T(_sgl.cur_ctx->commands.ptr[1].args.viewport.y == 6); T(_sgl.cur_ctx->commands.ptr[1].args.viewport.w == 7); T(_sgl.cur_ctx->commands.ptr[1].args.viewport.h == 8); T(!_sgl.cur_ctx->commands.ptr[1].args.viewport.origin_top_left); shutdown(); } UTEST(sokol_gl, scissor_rect) { init(); sgl_scissor_rect(10, 20, 30, 40, true); T(sgl_num_commands() == 1); T(_sgl.cur_ctx->commands.next == 1); T(_sgl.cur_ctx->commands.ptr[0].cmd == SGL_COMMAND_SCISSOR_RECT); T(_sgl.cur_ctx->commands.ptr[0].args.scissor_rect.x == 10); T(_sgl.cur_ctx->commands.ptr[0].args.scissor_rect.y == 20); T(_sgl.cur_ctx->commands.ptr[0].args.scissor_rect.w == 30); T(_sgl.cur_ctx->commands.ptr[0].args.scissor_rect.h == 40); T(_sgl.cur_ctx->commands.ptr[0].args.scissor_rect.origin_top_left); sgl_scissor_rect(50, 60, 70, 80, false); T(sgl_num_commands() == 2); T(_sgl.cur_ctx->commands.next == 2); T(_sgl.cur_ctx->commands.ptr[1].cmd == SGL_COMMAND_SCISSOR_RECT); T(_sgl.cur_ctx->commands.ptr[1].args.scissor_rect.x == 50); T(_sgl.cur_ctx->commands.ptr[1].args.scissor_rect.y == 60); T(_sgl.cur_ctx->commands.ptr[1].args.scissor_rect.w == 70); T(_sgl.cur_ctx->commands.ptr[1].args.scissor_rect.h == 80); T(!_sgl.cur_ctx->commands.ptr[1].args.scissor_rect.origin_top_left); shutdown(); } UTEST(sokol_gl, texture) { init(); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); uint32_t pixels[64] = { 0 }; sg_image img = sg_make_image(&(sg_image_desc){ .type = SG_IMAGETYPE_2D, .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(pixels), }); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){0}); sgl_texture(img, smp); T(_sgl.cur_ctx->cur_img.id == img.id); T(_sgl.cur_ctx->cur_smp.id == smp.id); shutdown(); } UTEST(sokol_gl, texture_image_nosampler) { init(); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); uint32_t pixels[64] = { 0 }; sg_image img = sg_make_image(&(sg_image_desc){ .type = SG_IMAGETYPE_2D, .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(pixels), }); sgl_texture(img, (sg_sampler){0}); T(_sgl.cur_ctx->cur_img.id == img.id); T(_sgl.cur_ctx->cur_smp.id == _sgl.def_smp.id); shutdown(); } UTEST(sokol_gl, texture_noimage_sampler) { init(); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){0}); sgl_texture((sg_image){0}, smp); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); T(_sgl.cur_ctx->cur_smp.id == smp.id); shutdown(); } UTEST(sokol_gl, texture_noimage_nosampler) { init(); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); sgl_texture((sg_image){0}, (sg_sampler){0}); T(_sgl.cur_ctx->cur_img.id == _sgl.def_img.id); T(_sgl.cur_ctx->cur_smp.id == _sgl.def_smp.id); shutdown(); } UTEST(sokol_gl, begin_end) { init(); T(sgl_num_commands() == 0); T(sgl_num_vertices() == 0); sgl_begin_triangles(); sgl_v3f(1.0f, 2.0f, 3.0f); sgl_v3f(4.0f, 5.0f, 6.0f); sgl_v3f(7.0f, 8.0f, 9.0f); sgl_end(); T(sgl_num_commands() == 1); T(sgl_num_vertices() == 3); T(_sgl.cur_ctx->base_vertex == 0); T(_sgl.cur_ctx->vertices.next == 3); T(_sgl.cur_ctx->commands.next == 1); T(_sgl.cur_ctx->uniforms.next == 1); T(_sgl.cur_ctx->commands.ptr[0].cmd == SGL_COMMAND_DRAW); T(_sgl.cur_ctx->commands.ptr[0].args.draw.pip.id == _sgl_pipeline_at(_sgl.cur_ctx->def_pip.id)->pip[SGL_PRIMITIVETYPE_TRIANGLES].id); T(_sgl.cur_ctx->commands.ptr[0].args.draw.base_vertex == 0); T(_sgl.cur_ctx->commands.ptr[0].args.draw.num_vertices == 3); T(_sgl.cur_ctx->commands.ptr[0].args.draw.uniform_index == 0); shutdown(); } UTEST(sokol_gl, matrix_mode) { init(); sgl_matrix_mode_modelview(); T(_sgl.cur_ctx->cur_matrix_mode == SGL_MATRIXMODE_MODELVIEW); sgl_matrix_mode_projection(); T(_sgl.cur_ctx->cur_matrix_mode == SGL_MATRIXMODE_PROJECTION); sgl_matrix_mode_texture(); T(_sgl.cur_ctx->cur_matrix_mode == SGL_MATRIXMODE_TEXTURE); shutdown(); } UTEST(sokol_gl, load_identity) { init(); sgl_load_identity(); const _sgl_matrix_t* m = _sgl_matrix_modelview(_sgl.cur_ctx); TFLT(m->v[0][0], 1.0f, FLT_MIN); TFLT(m->v[0][1], 0.0f, FLT_MIN); TFLT(m->v[0][2], 0.0f, FLT_MIN); TFLT(m->v[0][3], 0.0f, FLT_MIN); TFLT(m->v[1][0], 0.0f, FLT_MIN); TFLT(m->v[1][1], 1.0f, FLT_MIN); TFLT(m->v[1][2], 0.0f, FLT_MIN); TFLT(m->v[1][3], 0.0f, FLT_MIN); TFLT(m->v[2][0], 0.0f, FLT_MIN); TFLT(m->v[2][1], 0.0f, FLT_MIN); TFLT(m->v[2][2], 1.0f, FLT_MIN); TFLT(m->v[2][3], 0.0f, FLT_MIN); TFLT(m->v[3][0], 0.0f, FLT_MIN); TFLT(m->v[3][1], 0.0f, FLT_MIN); TFLT(m->v[3][2], 0.0f, FLT_MIN); TFLT(m->v[3][3], 1.0f, FLT_MIN); shutdown(); } UTEST(sokol_gl, load_matrix) { init(); const float m[16] = { 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 2.0f, 3.0f, 4.0f, 1.0f }; sgl_load_matrix(m); const _sgl_matrix_t* m0 = _sgl_matrix_modelview(_sgl.cur_ctx); TFLT(m0->v[0][0], 0.5f, FLT_MIN); TFLT(m0->v[1][1], 0.5f, FLT_MIN); TFLT(m0->v[2][2], 0.5f, FLT_MIN); TFLT(m0->v[3][0], 2.0f, FLT_MIN); TFLT(m0->v[3][1], 3.0f, FLT_MIN); TFLT(m0->v[3][2], 4.0f, FLT_MIN); TFLT(m0->v[3][3], 1.0f, FLT_MIN); sgl_load_transpose_matrix(m); const _sgl_matrix_t* m1 = _sgl_matrix_modelview(_sgl.cur_ctx); TFLT(m1->v[0][0], 0.5f, FLT_MIN); TFLT(m1->v[1][1], 0.5f, FLT_MIN); TFLT(m1->v[2][2], 0.5f, FLT_MIN); TFLT(m1->v[0][3], 2.0f, FLT_MIN); TFLT(m1->v[1][3], 3.0f, FLT_MIN); TFLT(m1->v[2][3], 4.0f, FLT_MIN); TFLT(m1->v[3][3], 1.0f, FLT_MIN); shutdown(); } UTEST(sokol_gl, make_destroy_pipelines) { sg_setup(&(sg_desc){0}); sgl_setup(&(sgl_desc_t){ /* one pool slot is used by soko-gl itself */ .pipeline_pool_size = 4 }); sgl_pipeline pip[3] = { {0} }; sg_pipeline_desc desc = { .depth = { .write_enabled = true, .compare = SG_COMPAREFUNC_LESS_EQUAL } }; for (int i = 0; i < 3; i++) { pip[i] = sgl_make_pipeline(&desc); T(pip[i].id != SG_INVALID_ID); T((2-i) == _sgl.pip_pool.pool.queue_top); const _sgl_pipeline_t* pip_ptr = _sgl_lookup_pipeline(pip[i].id); T(pip_ptr); T(pip_ptr->slot.id == pip[i].id); T(pip_ptr->slot.state == SG_RESOURCESTATE_VALID); } /* trying to create another one fails because buffer is exhausted */ T(sgl_make_pipeline(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sgl_destroy_pipeline(pip[i]); T(0 == _sgl_lookup_pipeline(pip[i].id)); const _sgl_pipeline_t* pip_ptr = _sgl_pipeline_at(pip[i].id); T(pip_ptr); T(pip_ptr->slot.id == SG_INVALID_ID); T(pip_ptr->slot.state == SG_RESOURCESTATE_INITIAL); T((i+1) == _sgl.pip_pool.pool.queue_top); } sgl_shutdown(); sg_shutdown(); } UTEST(sokol_gl, make_destroy_contexts) { init(); sgl_context ctx = sgl_make_context(&(sgl_context_desc_t){ .max_vertices = 1024, .max_commands = 256, .color_format = SG_PIXELFORMAT_RG8, .depth_format = SG_PIXELFORMAT_NONE, .sample_count = 4, }); T(ctx.id != SG_INVALID_ID); T(ctx.id != SGL_DEFAULT_CONTEXT.id); // creating a context should not change the current context T(ctx.id != _sgl.cur_ctx_id.id); sgl_set_context(ctx); T(_sgl.cur_ctx->vertices.cap == 1024); T(_sgl.cur_ctx->commands.cap == 256); T(_sgl.cur_ctx->uniforms.cap == 256); T(ctx.id == _sgl.cur_ctx_id.id); T(sgl_get_context().id == ctx.id); sgl_set_context(SGL_DEFAULT_CONTEXT); T(sgl_get_context().id == SGL_DEFAULT_CONTEXT.id); sgl_destroy_context(ctx); shutdown(); } UTEST(sokol_gl, destroy_active_context) { init(); sgl_context ctx = sgl_make_context(&(sgl_context_desc_t){ .max_vertices = 1024, .max_commands = 256, .color_format = SG_PIXELFORMAT_RG8, .depth_format = SG_PIXELFORMAT_NONE, .sample_count = 4, }); sgl_set_context(ctx); sgl_destroy_context(ctx); T(_sgl.cur_ctx == 0); T(sgl_error().no_context); T(sgl_error().any); shutdown(); } UTEST(sokol_gl, context_pipeline) { init(); sgl_context ctx1 = sgl_make_context(&(sgl_context_desc_t){ .max_vertices = 1024, .max_commands = 256, .color_format = SG_PIXELFORMAT_R8, .depth_format = SG_PIXELFORMAT_NONE, .sample_count = 4, }); sgl_context ctx2 = sgl_make_context(&(sgl_context_desc_t){ .max_vertices = 1024, .max_commands = 256, .color_format = SG_PIXELFORMAT_RG8, .depth_format = SG_PIXELFORMAT_NONE, .sample_count = 2, }); sgl_set_context(ctx1); sgl_pipeline pip1 = sgl_make_pipeline(&(sg_pipeline_desc){ .colors[0].blend.enabled = true, }); T(pip1.id != SG_INVALID_ID); // FIXME: currently sg_query_pipeline_info() doesn't provide enough information sgl_pipeline pip2 = sgl_context_make_pipeline(ctx2, &(sg_pipeline_desc){ .alpha_to_coverage_enabled = true, }); T(pip2.id != SG_INVALID_ID); shutdown(); } UTEST(sokol_gl, default_context) { init(); T(sgl_default_context().id == SGL_DEFAULT_CONTEXT.id); shutdown(); }
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_args_test.c
//------------------------------------------------------------------------------ // sokol-args-test.c //------------------------------------------------------------------------------ #define SOKOL_IMPL #include "sokol_args.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) #define TSTR(s0, s1) EXPECT_TRUE(0 == strcmp(s0,s1)) #define NUM_ARGS(x) (sizeof(x)/sizeof(void*)) static char* argv_0[] = { "exe_name " }; UTEST(sokol_args, init_shutdown) { sargs_setup(&(sargs_desc){0}); T(sargs_isvalid()); T(_sargs.max_args == _SARGS_MAX_ARGS_DEF); T(_sargs.args); T(_sargs.buf_size == _SARGS_BUF_SIZE_DEF); T(_sargs.buf_pos == 1); T(_sargs.buf); T(sargs_num_args() == 0); TSTR(sargs_key_at(0), ""); TSTR(sargs_value_at(0), ""); sargs_shutdown(); T(!sargs_isvalid()); T(0 == _sargs.args); T(0 == _sargs.buf); } UTEST(sokol_args, no_args) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_0), .argv = argv_0 }); T(sargs_isvalid()); T(sargs_num_args() == 0); TSTR(sargs_key_at(0), ""); TSTR(sargs_value_at(0), ""); T(-1 == sargs_find("bla")); T(!sargs_exists("bla")); TSTR(sargs_value("bla"), ""); TSTR(sargs_value_def("bla", "blub"), "blub"); sargs_shutdown(); } static char* argv_1[] = { "exe_name", "kvp0=val0", "kvp1=val1", "kvp2=val2" }; UTEST(sokol_args, simple_args) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_1), .argv = argv_1, }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "val0"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "val0"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), "val1"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), "val1"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "val2"); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "val2"); T(_sargs.buf_pos == 31); sargs_shutdown(); } static char* argv_2[] = { "exe_name", "kvp0 = val0 ", " \tkvp1= val1", "kvp2 = val2 "}; UTEST(sokol_args, simple_whitespace) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_2), .argv = argv_2 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "val0"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "val0"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), "val1"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), "val1"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "val2"); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "val2"); T(_sargs.buf_pos == 31); sargs_shutdown(); } static char* argv_4[] = { "exe_name", "kvp0 ", "=val0 ", " kvp1", "=", "val1", "kvp2 \t", "= val2 "}; UTEST(sokol_args, standalone_separator) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_4), .argv = argv_4 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "val0"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "val0"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), "val1"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), "val1"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "val2"); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "val2"); T(_sargs.buf_pos == 31); sargs_shutdown(); } static char* argv_5[] = { "exe_name", "kvp0='bla bla'", "kvp1=' blub blub'", "kvp2='blob blob '"}; UTEST(sokol_args, single_quotes) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_5), .argv = argv_5 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "bla bla"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "bla bla"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), " blub blub"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), " blub blub"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "blob blob "); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "blob blob "); sargs_shutdown(); } static char* argv_6[] = { "exe_name", "kvp0=\"bla bla\"", "kvp1=\" blub blub\"", "kvp2=\"blob blob \""}; UTEST(sokol_args, double_quotes) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_6), .argv = argv_6 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "bla bla"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "bla bla"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), " blub blub"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), " blub blub"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "blob blob "); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "blob blob "); sargs_shutdown(); } static char* argv_7[] = { "exe_name", "kvp0='bla \"bla\"'", "kvp1=' \"blub blub\"'", "kvp2='blob \"blob\" '"}; UTEST(sokol_args, double_in_single_quotes) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_7), .argv = argv_7 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "bla \"bla\""); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "bla \"bla\""); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), " \"blub blub\""); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), " \"blub blub\""); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "blob \"blob\" "); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "blob \"blob\" "); sargs_shutdown(); } static char* argv_8[] = { "exe_name", "kvp0=\"bla 'bla'\"", "kvp1=\" 'blub blub'\"", "kvp2=\"blob 'blob' \""}; UTEST(sokol_args, single_in_double_quotes) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_8), .argv = argv_8 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "bla 'bla'"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "bla 'bla'"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), " 'blub blub'"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), " 'blub blub'"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "blob 'blob' "); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "blob 'blob' "); sargs_shutdown(); } static char* argv_9[] = { "exe_name", "kvp0='bla ", "bla'", "kvp1= ' blub", " blub'", "kvp2='blob blob '"}; UTEST(sokol_args, test_split_quotes) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_9), .argv = argv_9 }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "bla bla"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "bla bla"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), " blub blub"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), " blub blub"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "blob blob "); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "blob blob "); sargs_shutdown(); } static char* argv_10[] = { "exe_name", "kvp0=\\\\val0\\nval1", "kvp1=val1\\rval2", "kvp2='val2\\tval3'" }; UTEST(sokol_args, escape_sequence) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_10), .argv = argv_10, }); T(sargs_isvalid()); T(sargs_num_args() == 3); T(0 == sargs_find("kvp0")); TSTR(sargs_value("kvp0"), "\\val0\nval1"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_value_at(0), "\\val0\nval1"); T(1 == sargs_find("kvp1")); TSTR(sargs_value("kvp1"), "val1\rval2"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_value_at(1), "val1\rval2"); T(2 == sargs_find("kvp2")); TSTR(sargs_value("kvp2"), "val2\tval3"); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_value_at(2), "val2\tval3"); sargs_shutdown(); } static char* argv_11[] = { "exe_name", "kvp0 kvp1", "kvp2 = val2", "kvp3", "kvp4=val4" }; UTEST(sokol_args, key_only_args) { sargs_setup(&(sargs_desc){ .argc = NUM_ARGS(argv_11), .argv = argv_11, }); T(sargs_isvalid()); T(sargs_num_args() == 5); T(0 == sargs_find("kvp0")); T(1 == sargs_find("kvp1")); T(2 == sargs_find("kvp2")); T(3 == sargs_find("kvp3")); T(4 == sargs_find("kvp4")) T(-1 == sargs_find("kvp5")); T(-1 == sargs_find("val2")); T(-1 == sargs_find("val4")); T(sargs_exists("kvp0")); T(sargs_exists("kvp1")); T(sargs_exists("kvp2")); T(sargs_exists("kvp3")); T(sargs_exists("kvp4")); T(!sargs_exists("kvp5")); TSTR(sargs_value("kvp0"), ""); TSTR(sargs_value("kvp1"), ""); TSTR(sargs_value("kvp2"), "val2"); TSTR(sargs_value("kvp3"), ""); TSTR(sargs_value("kvp4"), "val4"); TSTR(sargs_value("kvp5"), ""); TSTR(sargs_value_def("kvp0", "bla0"), "bla0"); TSTR(sargs_value_def("kvp1", "bla1"), "bla1"); TSTR(sargs_value_def("kvp2", "bla2"), "val2"); TSTR(sargs_value_def("kvp3", "bla3"), "bla3"); TSTR(sargs_value_def("kvp4", "bla4"), "val4"); TSTR(sargs_value_def("kvp5", "bla5"), "bla5"); TSTR(sargs_key_at(0), "kvp0"); TSTR(sargs_key_at(1), "kvp1"); TSTR(sargs_key_at(2), "kvp2"); TSTR(sargs_key_at(3), "kvp3"); TSTR(sargs_key_at(4), "kvp4"); TSTR(sargs_key_at(5), ""); TSTR(sargs_value_at(0), ""); TSTR(sargs_value_at(1), ""); TSTR(sargs_value_at(2), "val2"); TSTR(sargs_value_at(3), ""); TSTR(sargs_value_at(4), "val4"); TSTR(sargs_value_at(5), ""); }
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_gfx_test.c
//------------------------------------------------------------------------------ // sokol-gfx-test.c // NOTE: this is not only testing the public API behaviour, but also // accesses private functions and data. It may make sense to split // these into two separate tests. //------------------------------------------------------------------------------ #include "force_dummy_backend.h" #define SOKOL_IMPL #include "sokol_gfx.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) #define MAX_LOGITEMS (32) static int num_log_called = 0; static sg_log_item log_items[MAX_LOGITEMS]; static void test_logger(const char* tag, uint32_t log_level, uint32_t log_item_id, const char* message_or_null, uint32_t line_nr, const char* filename_or_null, void* user_data) { (void)tag; (void)log_level; (void)message_or_null; (void)line_nr; (void)filename_or_null; (void)user_data; if (num_log_called < MAX_LOGITEMS) { log_items[num_log_called++] = log_item_id; } if (message_or_null) { printf("%s\n", message_or_null); } } static void reset_log_items(void) { num_log_called = 0; memset(log_items, 0, sizeof(log_items)); } static void setup(const sg_desc* desc) { reset_log_items(); sg_desc desc_with_logger = *desc; desc_with_logger.logger.func = test_logger; sg_setup(&desc_with_logger); } static sg_buffer create_buffer(void) { static const float data[] = { 1, 2, 3, 4 }; return sg_make_buffer(&(sg_buffer_desc){ .data = SG_RANGE(data) }); } static sg_image create_image(void) { return sg_make_image(&(sg_image_desc){ .render_target = true, .width = 256, .height = 128 }); } static sg_shader create_shader(void) { return sg_make_shader(&(sg_shader_desc){0}); } static sg_pipeline create_pipeline(void) { return sg_make_pipeline(&(sg_pipeline_desc){ .layout = { .attrs[0].format = SG_VERTEXFORMAT_FLOAT3 }, .shader = sg_make_shader(&(sg_shader_desc){0}) }); } static sg_attachments create_attachments(void) { sg_image_desc img_desc = { .render_target = true, .width = 128, .height = 128, }; return sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = sg_make_image(&img_desc), [1].image = sg_make_image(&img_desc), [2].image = sg_make_image(&img_desc) }, }); } UTEST(sokol_gfx, init_shutdown) { setup(&(sg_desc){0}); T(sg_isvalid()); sg_shutdown(); T(!sg_isvalid()); } UTEST(sokol_gfx, query_desc) { setup(&(sg_desc){ .buffer_pool_size = 1024, .sampler_pool_size = 8, .shader_pool_size = 128, .attachments_pool_size = 64, }); const sg_desc desc = sg_query_desc(); T(desc.buffer_pool_size == 1024); T(desc.image_pool_size == _SG_DEFAULT_IMAGE_POOL_SIZE); T(desc.sampler_pool_size == 8); T(desc.shader_pool_size == 128); T(desc.pipeline_pool_size == _SG_DEFAULT_PIPELINE_POOL_SIZE); T(desc.attachments_pool_size == 64); T(desc.uniform_buffer_size == _SG_DEFAULT_UB_SIZE); sg_shutdown(); } UTEST(sokol_gfx, query_backend) { setup(&(sg_desc){0}); T(sg_query_backend() == SG_BACKEND_DUMMY); sg_shutdown(); } UTEST(sokol_gfx, pool_size) { setup(&(sg_desc){ .buffer_pool_size = 1024, .image_pool_size = 2048, .shader_pool_size = 128, .pipeline_pool_size = 256, .attachments_pool_size = 64, }); T(sg_isvalid()); /* pool slot 0 is reserved (this is the "invalid slot") */ T(_sg.pools.buffer_pool.size == 1025); T(_sg.pools.image_pool.size == 2049); T(_sg.pools.shader_pool.size == 129); T(_sg.pools.pipeline_pool.size == 257); T(_sg.pools.attachments_pool.size == 65); T(_sg.pools.buffer_pool.queue_top == 1024); T(_sg.pools.image_pool.queue_top == 2048); T(_sg.pools.shader_pool.queue_top == 128); T(_sg.pools.pipeline_pool.queue_top == 256); T(_sg.pools.attachments_pool.queue_top == 64); sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_buffers) { setup(&(sg_desc){ .buffer_pool_size = 3 }); T(sg_isvalid()); sg_buffer buf[3] = { {0} }; for (int i = 0; i < 3; i++) { buf[i] = sg_alloc_buffer(); T(buf[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.buffer_pool.queue_top); T(sg_query_buffer_state(buf[i]) == SG_RESOURCESTATE_ALLOC); } /* the next alloc will fail because the pool is exhausted */ sg_buffer b3 = sg_alloc_buffer(); T(b3.id == SG_INVALID_ID); T(sg_query_buffer_state(b3) == SG_RESOURCESTATE_INVALID); /* before destroying, the resources must be either in valid or failed state */ for (int i = 0; i < 3; i++) { sg_fail_buffer(buf[i]); T(sg_query_buffer_state(buf[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_buffer(buf[i]); T(sg_query_buffer_state(buf[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.buffer_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_images) { setup(&(sg_desc){ .image_pool_size = 3 }); T(sg_isvalid()); sg_image img[3] = { {0} }; for (int i = 0; i < 3; i++) { img[i] = sg_alloc_image(); T(img[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.image_pool.queue_top); T(sg_query_image_state(img[i]) == SG_RESOURCESTATE_ALLOC); } /* the next alloc will fail because the pool is exhausted */ sg_image i3 = sg_alloc_image(); T(i3.id == SG_INVALID_ID); T(sg_query_image_state(i3) == SG_RESOURCESTATE_INVALID); /* before destroying, the resources must be either in valid or failed state */ for (int i = 0; i < 3; i++) { sg_fail_image(img[i]); T(sg_query_image_state(img[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_image(img[i]); T(sg_query_image_state(img[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.image_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_samplers) { setup(&(sg_desc){ .sampler_pool_size = 3, }); sg_sampler smp[3] = { {0} }; for (int i = 0; i < 3; i++) { smp[i] = sg_alloc_sampler(); T(smp[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.sampler_pool.queue_top); T(sg_query_sampler_state(smp[i]) == SG_RESOURCESTATE_ALLOC); } // the next alloc will fail because the pool is exhausted sg_sampler s3 = sg_alloc_sampler(); T(s3.id == SG_INVALID_ID); T(sg_query_sampler_state(s3) == SG_RESOURCESTATE_INVALID); // before destroying, the resources must be either in valid or failed state for (int i = 0; i < 3; i++) { sg_fail_sampler(smp[i]); T(sg_query_sampler_state(smp[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_sampler(smp[i]); T(sg_query_sampler_state(smp[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.sampler_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_shaders) { setup(&(sg_desc){ .shader_pool_size = 3 }); T(sg_isvalid()); sg_shader shd[3] = { {0} }; for (int i = 0; i < 3; i++) { shd[i] = sg_alloc_shader(); T(shd[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.shader_pool.queue_top); T(sg_query_shader_state(shd[i]) == SG_RESOURCESTATE_ALLOC); } /* the next alloc will fail because the pool is exhausted */ sg_shader s3 = sg_alloc_shader(); T(s3.id == SG_INVALID_ID); T(sg_query_shader_state(s3) == SG_RESOURCESTATE_INVALID); /* before destroying, the resources must be either in valid or failed state */ for (int i = 0; i < 3; i++) { sg_fail_shader(shd[i]); T(sg_query_shader_state(shd[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_shader(shd[i]); T(sg_query_shader_state(shd[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.shader_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_pipelines) { setup(&(sg_desc){ .pipeline_pool_size = 3 }); T(sg_isvalid()); sg_pipeline pip[3] = { {0} }; for (int i = 0; i < 3; i++) { pip[i] = sg_alloc_pipeline(); T(pip[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.pipeline_pool.queue_top); T(sg_query_pipeline_state(pip[i]) == SG_RESOURCESTATE_ALLOC); } /* the next alloc will fail because the pool is exhausted */ sg_pipeline p3 = sg_alloc_pipeline(); T(p3.id == SG_INVALID_ID); T(sg_query_pipeline_state(p3) == SG_RESOURCESTATE_INVALID); /* before destroying, the resources must be either in valid or failed state */ for (int i = 0; i < 3; i++) { sg_fail_pipeline(pip[i]); T(sg_query_pipeline_state(pip[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_pipeline(pip[i]); T(sg_query_pipeline_state(pip[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.pipeline_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, alloc_fail_destroy_attachments) { setup(&(sg_desc){ .attachments_pool_size = 3 }); T(sg_isvalid()); sg_attachments atts[3] = { {0} }; for (int i = 0; i < 3; i++) { atts[i] = sg_alloc_attachments(); T(atts[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.attachments_pool.queue_top); T(sg_query_attachments_state(atts[i]) == SG_RESOURCESTATE_ALLOC); } /* the next alloc will fail because the pool is exhausted */ sg_attachments a3 = sg_alloc_attachments(); T(a3.id == SG_INVALID_ID); T(sg_query_attachments_state(a3) == SG_RESOURCESTATE_INVALID); /* before destroying, the resources must be either in valid or failed state */ for (int i = 0; i < 3; i++) { sg_fail_attachments(atts[i]); T(sg_query_attachments_state(atts[i]) == SG_RESOURCESTATE_FAILED); } for (int i = 0; i < 3; i++) { sg_destroy_attachments(atts[i]); T(sg_query_attachments_state(atts[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.attachments_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_buffers) { setup(&(sg_desc){ .buffer_pool_size = 3 }); T(sg_isvalid()); float data[] = { 1.0f, 2.0f, 3.0f, 4.0f }; sg_buffer buf[3] = { {0} }; sg_buffer_desc desc = { .data = SG_RANGE(data) }; for (int i = 0; i < 3; i++) { buf[i] = sg_make_buffer(&desc); T(buf[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.buffer_pool.queue_top); T(sg_query_buffer_state(buf[i]) == SG_RESOURCESTATE_VALID); const _sg_buffer_t* bufptr = _sg_lookup_buffer(&_sg.pools, buf[i].id); T(bufptr); T(bufptr->slot.id == buf[i].id); T(bufptr->slot.state == SG_RESOURCESTATE_VALID); T(bufptr->cmn.size == sizeof(data)); T(bufptr->cmn.append_pos == 0); T(!bufptr->cmn.append_overflow); T(bufptr->cmn.type == SG_BUFFERTYPE_VERTEXBUFFER); T(bufptr->cmn.usage == SG_USAGE_IMMUTABLE); T(bufptr->cmn.update_frame_index == 0); T(bufptr->cmn.append_frame_index == 0); T(bufptr->cmn.num_slots == 1); T(bufptr->cmn.active_slot == 0); } /* trying to create another one fails because pool is exhausted */ T(sg_make_buffer(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_buffer(buf[i]); T(sg_query_buffer_state(buf[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.buffer_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_images) { setup(&(sg_desc){ .image_pool_size = 3 }); T(sg_isvalid()); uint32_t data[8*8] = { 0 }; sg_image img[3] = { {0} }; sg_image_desc desc = { .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(data) }; for (int i = 0; i < 3; i++) { img[i] = sg_make_image(&desc); T(img[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.image_pool.queue_top); T(sg_query_image_state(img[i]) == SG_RESOURCESTATE_VALID); const _sg_image_t* imgptr = _sg_lookup_image(&_sg.pools, img[i].id); T(imgptr); T(imgptr->slot.id == img[i].id); T(imgptr->slot.state == SG_RESOURCESTATE_VALID); T(imgptr->cmn.type == SG_IMAGETYPE_2D); T(!imgptr->cmn.render_target); T(imgptr->cmn.width == 8); T(imgptr->cmn.height == 8); T(imgptr->cmn.num_slices == 1); T(imgptr->cmn.num_mipmaps == 1); T(imgptr->cmn.usage == SG_USAGE_IMMUTABLE); T(imgptr->cmn.pixel_format == SG_PIXELFORMAT_RGBA8); T(imgptr->cmn.sample_count == 1); T(imgptr->cmn.upd_frame_index == 0); T(imgptr->cmn.num_slots == 1); T(imgptr->cmn.active_slot == 0); } // trying to create another one fails because pool is exhausted T(sg_make_image(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_image(img[i]); T(sg_query_image_state(img[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.image_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_samplers) { setup(&(sg_desc){ .sampler_pool_size = 3 }); T(sg_isvalid()); sg_sampler smp[3] = { {0} }; sg_sampler_desc desc = { 0 }; for (int i = 0; i < 3; i++) { smp[i] = sg_make_sampler(&desc); T(smp[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.sampler_pool.queue_top); T(sg_query_sampler_state(smp[i]) == SG_RESOURCESTATE_VALID); const _sg_sampler_t* smpptr = _sg_lookup_sampler(&_sg.pools, smp[i].id); T(smpptr); T(smpptr->slot.id == smp[i].id); T(smpptr->slot.state == SG_RESOURCESTATE_VALID); T(smpptr->cmn.min_filter == SG_FILTER_NEAREST); T(smpptr->cmn.mag_filter == SG_FILTER_NEAREST); T(smpptr->cmn.mipmap_filter == SG_FILTER_NEAREST); T(smpptr->cmn.wrap_u == SG_WRAP_REPEAT); T(smpptr->cmn.wrap_v == SG_WRAP_REPEAT); T(smpptr->cmn.wrap_w == SG_WRAP_REPEAT); T(smpptr->cmn.min_lod == 0.0f); T(smpptr->cmn.max_lod == FLT_MAX); T(smpptr->cmn.border_color == SG_BORDERCOLOR_OPAQUE_BLACK); T(smpptr->cmn.compare == SG_COMPAREFUNC_NEVER); T(smpptr->cmn.max_anisotropy == 1); } // trying to create another one fails because pool is exhausted T(sg_make_sampler(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_sampler(smp[i]); T(sg_query_sampler_state(smp[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.sampler_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_shaders) { setup(&(sg_desc){ .shader_pool_size = 3 }); T(sg_isvalid()); sg_shader shd[3] = { {0} }; sg_shader_desc desc = { .vs.uniform_blocks[0] = { .size = 16 } }; for (int i = 0; i < 3; i++) { shd[i] = sg_make_shader(&desc); T(shd[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.shader_pool.queue_top); T(sg_query_shader_state(shd[i]) == SG_RESOURCESTATE_VALID); const _sg_shader_t* shdptr = _sg_lookup_shader(&_sg.pools, shd[i].id); T(shdptr); T(shdptr->slot.id == shd[i].id); T(shdptr->slot.state == SG_RESOURCESTATE_VALID); T(shdptr->cmn.stage[SG_SHADERSTAGE_VS].num_uniform_blocks == 1); T(shdptr->cmn.stage[SG_SHADERSTAGE_VS].num_images == 0); T(shdptr->cmn.stage[SG_SHADERSTAGE_VS].uniform_blocks[0].size == 16); T(shdptr->cmn.stage[SG_SHADERSTAGE_FS].num_uniform_blocks == 0); T(shdptr->cmn.stage[SG_SHADERSTAGE_FS].num_images == 0); } /* trying to create another one fails because pool is exhausted */ T(sg_make_shader(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_shader(shd[i]); T(sg_query_shader_state(shd[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.shader_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_pipelines) { setup(&(sg_desc){ .pipeline_pool_size = 3 }); T(sg_isvalid()); sg_pipeline pip[3] = { {0} }; sg_pipeline_desc desc = { .shader = sg_make_shader(&(sg_shader_desc){ 0 }), .layout = { .attrs = { [0] = { .format=SG_VERTEXFORMAT_FLOAT3 }, [1] = { .format=SG_VERTEXFORMAT_FLOAT4 } } }, }; for (int i = 0; i < 3; i++) { pip[i] = sg_make_pipeline(&desc); T(pip[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.pipeline_pool.queue_top); T(sg_query_pipeline_state(pip[i]) == SG_RESOURCESTATE_VALID); const _sg_pipeline_t* pipptr = _sg_lookup_pipeline(&_sg.pools, pip[i].id); T(pipptr); T(pipptr->slot.id == pip[i].id); T(pipptr->slot.state == SG_RESOURCESTATE_VALID); T(pipptr->shader == _sg_lookup_shader(&_sg.pools, desc.shader.id)); T(pipptr->cmn.shader_id.id == desc.shader.id); T(pipptr->cmn.color_count == 1); T(pipptr->cmn.colors[0].pixel_format == SG_PIXELFORMAT_RGBA8); T(pipptr->cmn.depth.pixel_format == SG_PIXELFORMAT_DEPTH_STENCIL); T(pipptr->cmn.sample_count == 1); T(pipptr->cmn.index_type == SG_INDEXTYPE_NONE); T(pipptr->cmn.vertex_buffer_layout_active[0]); T(!pipptr->cmn.vertex_buffer_layout_active[1]); } /* trying to create another one fails because pool is exhausted */ T(sg_make_pipeline(&desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_pipeline(pip[i]); T(sg_query_pipeline_state(pip[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.pipeline_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, make_destroy_attachments) { setup(&(sg_desc){ .attachments_pool_size = 3 }); T(sg_isvalid()); sg_attachments atts[3] = { {0} }; sg_image_desc img_desc = { .render_target = true, .width = 128, .height = 128, }; sg_attachments_desc atts_desc = (sg_attachments_desc){ .colors = { [0].image = sg_make_image(&img_desc), [1].image = sg_make_image(&img_desc), [2].image = sg_make_image(&img_desc) }, }; for (int i = 0; i < 3; i++) { atts[i] = sg_make_attachments(&atts_desc); T(atts[i].id != SG_INVALID_ID); T((2-i) == _sg.pools.attachments_pool.queue_top); T(sg_query_attachments_state(atts[i]) == SG_RESOURCESTATE_VALID); const _sg_attachments_t* attsptr = _sg_lookup_attachments(&_sg.pools, atts[i].id); T(attsptr); T(attsptr->slot.id == atts[i].id); T(attsptr->slot.state == SG_RESOURCESTATE_VALID); T(attsptr->cmn.num_colors == 3); for (int ai = 0; ai < 3; ai++) { const _sg_image_t* img = _sg_attachments_color_image(attsptr, ai); T(img == _sg_lookup_image(&_sg.pools, atts_desc.colors[ai].image.id)); T(attsptr->cmn.colors[ai].image_id.id == atts_desc.colors[ai].image.id); } } /* trying to create another one fails because pool is exhausted */ T(sg_make_attachments(&atts_desc).id == SG_INVALID_ID); for (int i = 0; i < 3; i++) { sg_destroy_attachments(atts[i]); T(sg_query_attachments_state(atts[i]) == SG_RESOURCESTATE_INVALID); T((i+1) == _sg.pools.attachments_pool.queue_top); } sg_shutdown(); } UTEST(sokol_gfx, generation_counter) { setup(&(sg_desc){ .buffer_pool_size = 1, }); static float data[] = { 1.0f, 2.0f, 3.0f, 4.0f }; for (int i = 0; i < 64; i++) { sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .data = SG_RANGE(data) }); T(buf.id != SG_INVALID_ID); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_VALID); T((buf.id >> 16) == (uint32_t)(i + 1)); /* this is the generation counter */ T(_sg_slot_index(buf.id) == 1); /* slot index should remain the same */ sg_destroy_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); } sg_shutdown(); } UTEST(sokol_gfx, query_buffer_defaults) { setup(&(sg_desc){0}); sg_buffer_desc desc; desc = sg_query_buffer_defaults(&(sg_buffer_desc){0}); T(desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(desc.usage == SG_USAGE_IMMUTABLE); desc = sg_query_buffer_defaults(&(sg_buffer_desc){ .type = SG_BUFFERTYPE_INDEXBUFFER, }); T(desc.type == SG_BUFFERTYPE_INDEXBUFFER); T(desc.usage == SG_USAGE_IMMUTABLE); desc = sg_query_buffer_defaults(&(sg_buffer_desc){ .usage = SG_USAGE_DYNAMIC }); T(desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(desc.usage == SG_USAGE_DYNAMIC); sg_shutdown(); } UTEST(sokol_gfx, query_image_defaults) { setup(&(sg_desc){0}); const sg_image_desc desc = sg_query_image_defaults(&(sg_image_desc){0}); T(desc.type == SG_IMAGETYPE_2D); T(!desc.render_target); T(desc.num_mipmaps == 1); T(desc.usage == SG_USAGE_IMMUTABLE); T(desc.pixel_format == SG_PIXELFORMAT_RGBA8); T(desc.sample_count == 1); sg_shutdown(); } UTEST(sokol_gfx, query_sampler_defaults) { setup(&(sg_desc){0}); const sg_sampler_desc desc = sg_query_sampler_defaults(&(sg_sampler_desc){0}); T(desc.min_filter == SG_FILTER_NEAREST); T(desc.mag_filter == SG_FILTER_NEAREST); T(desc.mipmap_filter == SG_FILTER_NEAREST); T(desc.wrap_u == SG_WRAP_REPEAT); T(desc.wrap_v == SG_WRAP_REPEAT); T(desc.wrap_w == SG_WRAP_REPEAT); T(desc.min_lod == 0.0f); T(desc.max_lod == FLT_MAX); T(desc.border_color == SG_BORDERCOLOR_OPAQUE_BLACK); T(desc.compare == SG_COMPAREFUNC_NEVER); T(desc.max_anisotropy == 1); sg_shutdown(); } UTEST(sokol_gfx, query_shader_defaults) { setup(&(sg_desc){0}); const sg_shader_desc desc = sg_query_shader_defaults(&(sg_shader_desc){0}); T(0 == strcmp(desc.vs.entry, "main")); T(0 == strcmp(desc.fs.entry, "main")); sg_shutdown(); } UTEST(sokol_gfx, query_pipeline_defaults) { setup(&(sg_desc){0}); const sg_pipeline_desc desc = sg_query_pipeline_defaults(&(sg_pipeline_desc){ .layout.attrs = { [0].format = SG_VERTEXFORMAT_FLOAT3, [1].format = SG_VERTEXFORMAT_FLOAT4 } }); T(desc.layout.buffers[0].stride == 28); T(desc.layout.buffers[0].step_rate == 1); T(desc.layout.buffers[0].step_func == SG_VERTEXSTEP_PER_VERTEX); T(desc.layout.attrs[0].offset == 0); T(desc.layout.attrs[0].buffer_index == 0); T(desc.layout.attrs[0].format == SG_VERTEXFORMAT_FLOAT3); T(desc.layout.attrs[1].offset == 12); T(desc.layout.attrs[1].buffer_index == 0); T(desc.layout.attrs[1].format == SG_VERTEXFORMAT_FLOAT4); T(desc.stencil.front.fail_op == SG_STENCILOP_KEEP); T(desc.stencil.front.depth_fail_op == SG_STENCILOP_KEEP); T(desc.stencil.front.pass_op == SG_STENCILOP_KEEP); T(desc.stencil.front.compare == SG_COMPAREFUNC_ALWAYS); T(desc.stencil.back.fail_op == SG_STENCILOP_KEEP); T(desc.stencil.back.depth_fail_op == SG_STENCILOP_KEEP); T(desc.stencil.back.pass_op == SG_STENCILOP_KEEP); T(desc.stencil.back.compare == SG_COMPAREFUNC_ALWAYS); T(desc.stencil.enabled == false); T(desc.stencil.read_mask == 0); T(desc.stencil.write_mask == 0); T(desc.stencil.ref == 0); T(desc.depth.pixel_format == SG_PIXELFORMAT_DEPTH_STENCIL); T(desc.depth.compare == SG_COMPAREFUNC_ALWAYS); T(desc.depth.write_enabled == false); T(desc.depth.bias == 0); T(desc.depth.bias_slope_scale == 0); T(desc.depth.bias_clamp == 0); T(desc.color_count == 1); T(desc.colors[0].pixel_format == SG_PIXELFORMAT_RGBA8); T(desc.colors[0].write_mask == 0xF); T(desc.colors[0].blend.enabled == false); T(desc.colors[0].blend.src_factor_rgb == SG_BLENDFACTOR_ONE); T(desc.colors[0].blend.dst_factor_rgb == SG_BLENDFACTOR_ZERO); T(desc.colors[0].blend.op_rgb == SG_BLENDOP_ADD); T(desc.colors[0].blend.src_factor_alpha == SG_BLENDFACTOR_ONE); T(desc.colors[0].blend.dst_factor_alpha == SG_BLENDFACTOR_ZERO); T(desc.colors[0].blend.op_alpha == SG_BLENDOP_ADD); T(desc.alpha_to_coverage_enabled == false); T(desc.primitive_type == SG_PRIMITIVETYPE_TRIANGLES); T(desc.index_type == SG_INDEXTYPE_NONE); T(desc.cull_mode == SG_CULLMODE_NONE); T(desc.face_winding == SG_FACEWINDING_CW); T(desc.sample_count == 1); sg_shutdown(); } // test that color attachment defaults are set in all attachments UTEST(sokol_gfx, query_mrt_pipeline_defaults) { setup(&(sg_desc){0}); const sg_pipeline_desc desc = sg_query_pipeline_defaults(&(sg_pipeline_desc){ .color_count = 3, }); T(desc.color_count == 3); for (int i = 0; i < desc.color_count; i++) { T(desc.colors[i].pixel_format == SG_PIXELFORMAT_RGBA8); T(desc.colors[i].write_mask == 0xF); T(desc.colors[i].blend.enabled == false); T(desc.colors[i].blend.src_factor_rgb == SG_BLENDFACTOR_ONE); T(desc.colors[i].blend.dst_factor_rgb == SG_BLENDFACTOR_ZERO); T(desc.colors[i].blend.op_rgb == SG_BLENDOP_ADD); T(desc.colors[i].blend.src_factor_alpha == SG_BLENDFACTOR_ONE); T(desc.colors[i].blend.dst_factor_alpha == SG_BLENDFACTOR_ZERO); T(desc.colors[i].blend.op_alpha == SG_BLENDOP_ADD); }; sg_shutdown(); } // test that first color attachment values are duplicated to other attachments UTEST(sokol_gfx, multiple_color_state) { setup(&(sg_desc){0}); const sg_pipeline_desc desc = sg_query_pipeline_defaults(&(sg_pipeline_desc){ .color_count = 3, .colors = { [0] = { .pixel_format = SG_PIXELFORMAT_R8, .write_mask = SG_COLORMASK_BA, .blend = { .enabled = true, .src_factor_rgb = SG_BLENDFACTOR_SRC_COLOR, .dst_factor_rgb = SG_BLENDFACTOR_DST_COLOR, .op_rgb = SG_BLENDOP_SUBTRACT, .src_factor_alpha = SG_BLENDFACTOR_SRC_ALPHA, .dst_factor_alpha = SG_BLENDFACTOR_DST_ALPHA, .op_alpha = SG_BLENDOP_REVERSE_SUBTRACT } }, [2] = { .pixel_format = SG_PIXELFORMAT_RG8, .write_mask = SG_COLORMASK_GA, .blend = { .enabled = true, .src_factor_rgb = SG_BLENDFACTOR_DST_COLOR, .dst_factor_rgb = SG_BLENDFACTOR_SRC_COLOR, .op_rgb = SG_BLENDOP_REVERSE_SUBTRACT, .src_factor_alpha = SG_BLENDFACTOR_DST_ALPHA, .dst_factor_alpha = SG_BLENDFACTOR_SRC_ALPHA, .op_alpha = SG_BLENDOP_SUBTRACT } }, } }); T(desc.color_count == 3); T(desc.colors[0].pixel_format == SG_PIXELFORMAT_R8); T(desc.colors[0].write_mask == SG_COLORMASK_BA); T(desc.colors[0].blend.enabled == true); T(desc.colors[0].blend.src_factor_rgb == SG_BLENDFACTOR_SRC_COLOR); T(desc.colors[0].blend.dst_factor_rgb == SG_BLENDFACTOR_DST_COLOR); T(desc.colors[0].blend.op_rgb == SG_BLENDOP_SUBTRACT); T(desc.colors[0].blend.src_factor_alpha == SG_BLENDFACTOR_SRC_ALPHA); T(desc.colors[0].blend.dst_factor_alpha == SG_BLENDFACTOR_DST_ALPHA); T(desc.colors[0].blend.op_alpha == SG_BLENDOP_REVERSE_SUBTRACT); T(desc.colors[1].pixel_format == SG_PIXELFORMAT_RGBA8); T(desc.colors[1].write_mask == SG_COLORMASK_RGBA); T(desc.colors[1].blend.enabled == false); T(desc.colors[1].blend.src_factor_rgb == SG_BLENDFACTOR_ONE); T(desc.colors[1].blend.dst_factor_rgb == SG_BLENDFACTOR_ZERO); T(desc.colors[1].blend.op_rgb == SG_BLENDOP_ADD); T(desc.colors[1].blend.src_factor_alpha == SG_BLENDFACTOR_ONE); T(desc.colors[1].blend.dst_factor_alpha == SG_BLENDFACTOR_ZERO); T(desc.colors[1].blend.op_alpha == SG_BLENDOP_ADD); T(desc.colors[2].pixel_format == SG_PIXELFORMAT_RG8); T(desc.colors[2].write_mask == SG_COLORMASK_GA); T(desc.colors[2].blend.enabled == true); T(desc.colors[2].blend.src_factor_rgb == SG_BLENDFACTOR_DST_COLOR); T(desc.colors[2].blend.dst_factor_rgb == SG_BLENDFACTOR_SRC_COLOR); T(desc.colors[2].blend.op_rgb == SG_BLENDOP_REVERSE_SUBTRACT); T(desc.colors[2].blend.src_factor_alpha == SG_BLENDFACTOR_DST_ALPHA); T(desc.colors[2].blend.dst_factor_alpha == SG_BLENDFACTOR_SRC_ALPHA); T(desc.colors[2].blend.op_alpha == SG_BLENDOP_SUBTRACT); sg_shutdown(); } UTEST(sokol_gfx, query_attachments_defaults) { setup(&(sg_desc){0}); /* sg_attachments_desc doesn't actually have any meaningful default values */ const sg_attachments_desc desc = sg_query_attachments_defaults(&(sg_attachments_desc){0}); T(desc.colors[0].image.id == SG_INVALID_ID); T(desc.colors[0].mip_level == 0); sg_shutdown(); } UTEST(sokol_gfx, query_buffer_info) { setup(&(sg_desc){0}); sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .size = 256, .type = SG_BUFFERTYPE_VERTEXBUFFER, .usage = SG_USAGE_STREAM }); T(buf.id != SG_INVALID_ID); const sg_buffer_info info = sg_query_buffer_info(buf); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == buf.id); sg_shutdown(); } UTEST(sokol_gfx, query_image_info) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 256, .height = 128 }); T(img.id != SG_INVALID_ID); const sg_image_info info = sg_query_image_info(img); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == img.id); T(info.num_slots == 1); sg_shutdown(); } UTEST(sokoL_gfx, query_sampler_info) { setup(&(sg_desc){0}); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){ 0 }); T(smp.id != SG_INVALID_ID); const sg_sampler_info info = sg_query_sampler_info(smp); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == smp.id); sg_shutdown(); } UTEST(sokol_gfx, query_shader_info) { setup(&(sg_desc){0}); sg_shader shd = sg_make_shader(&(sg_shader_desc){ .attrs = { [0] = { .name = "pos" } }, .vs.source = "bla", .fs.source = "blub" }); const sg_shader_info info = sg_query_shader_info(shd); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == shd.id); sg_shutdown(); } UTEST(sokol_gfx, query_pipeline_info) { setup(&(sg_desc){0}); sg_pipeline pip = sg_make_pipeline(&(sg_pipeline_desc){ .layout = { .attrs[0].format = SG_VERTEXFORMAT_FLOAT3 }, .shader = sg_make_shader(&(sg_shader_desc){ .attrs = { [0] = { .name = "pos" } }, .vs.source = "bla", .fs.source = "blub" }) }); const sg_pipeline_info info = sg_query_pipeline_info(pip); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == pip.id); sg_shutdown(); } UTEST(sokol_gfx, query_attachments_info) { setup(&(sg_desc){0}); sg_image_desc img_desc = { .render_target = true, .width = 128, .height = 128, }; sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = sg_make_image(&img_desc), [1].image = sg_make_image(&img_desc), [2].image = sg_make_image(&img_desc) }, }); const sg_attachments_info info = sg_query_attachments_info(atts); T(info.slot.state == SG_RESOURCESTATE_VALID); T(info.slot.res_id == atts.id); sg_shutdown(); } UTEST(sokol_gfx, query_buffer_desc) { setup(&(sg_desc){0}); sg_buffer b0 = sg_make_buffer(&(sg_buffer_desc){ .size = 32, .usage = SG_USAGE_STREAM, .label = "bla", }); const sg_buffer_desc b0_desc = sg_query_buffer_desc(b0); T(b0_desc.size == 32); T(b0_desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(b0_desc.usage == SG_USAGE_STREAM); T(b0_desc.data.ptr == 0); T(b0_desc.data.size == 0); T(b0_desc.gl_buffers[0] == 0); T(b0_desc.mtl_buffers[0] == 0); T(b0_desc.d3d11_buffer == 0); T(b0_desc.wgpu_buffer == 0); float vtx_data[16]; sg_buffer b1 = sg_make_buffer(&(sg_buffer_desc){ .data = SG_RANGE(vtx_data) }); const sg_buffer_desc b1_desc = sg_query_buffer_desc(b1); T(b1_desc.size == sizeof(vtx_data)); T(b1_desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(b1_desc.usage == SG_USAGE_IMMUTABLE); T(b1_desc.data.ptr == 0); T(b1_desc.data.size == 0); uint16_t idx_data[8]; sg_buffer b2 = sg_make_buffer(&(sg_buffer_desc){ .type = SG_BUFFERTYPE_INDEXBUFFER, .data = SG_RANGE(idx_data), }); const sg_buffer_desc b2_desc = sg_query_buffer_desc(b2); T(b2_desc.size == sizeof(idx_data)); T(b2_desc.type == SG_BUFFERTYPE_INDEXBUFFER); T(b2_desc.usage == SG_USAGE_IMMUTABLE); T(b2_desc.data.ptr == 0); T(b2_desc.data.size == 0); // invalid buffer (returns zeroed desc) sg_buffer b3 = sg_make_buffer(&(sg_buffer_desc){ .size = 32, .usage = SG_USAGE_STREAM, .label = "bla", }); sg_destroy_buffer(b3); const sg_buffer_desc b3_desc = sg_query_buffer_desc(b3); T(b3_desc.size == 0); T(b3_desc.type == 0); T(b3_desc.usage == 0); sg_shutdown(); } UTEST(sokol_gfx, query_image_desc) { setup(&(sg_desc){0}); sg_image i0 = sg_make_image(&(sg_image_desc){ .width = 256, .height = 512, .pixel_format = SG_PIXELFORMAT_R8, .usage = SG_USAGE_DYNAMIC, }); const sg_image_desc i0_desc = sg_query_image_desc(i0); T(i0_desc.type == SG_IMAGETYPE_2D); T(i0_desc.render_target == false); T(i0_desc.width == 256); T(i0_desc.height == 512); T(i0_desc.num_slices == 1); T(i0_desc.num_mipmaps == 1); T(i0_desc.usage == SG_USAGE_DYNAMIC); T(i0_desc.pixel_format == SG_PIXELFORMAT_R8); T(i0_desc.sample_count == 1); T(i0_desc.data.subimage[0][0].ptr == 0); T(i0_desc.data.subimage[0][0].size == 0); T(i0_desc.gl_textures[0] == 0); T(i0_desc.gl_texture_target == 0); T(i0_desc.mtl_textures[0] == 0); T(i0_desc.d3d11_texture == 0); T(i0_desc.d3d11_shader_resource_view == 0); T(i0_desc.wgpu_texture == 0); sg_destroy_image(i0); const sg_image_desc i0_desc_x = sg_query_image_desc(i0); T(i0_desc_x.type == 0); T(i0_desc_x.render_target == false); T(i0_desc_x.width == 0); T(i0_desc_x.height == 0); T(i0_desc_x.num_slices == 0); T(i0_desc_x.num_mipmaps == 0); T(i0_desc_x.usage == 0); T(i0_desc_x.pixel_format == 0); T(i0_desc_x.sample_count == 0); sg_shutdown(); } UTEST(sokol_gfx, query_sampler_desc) { setup(&(sg_desc){0}); sg_sampler s0 = sg_make_sampler(&(sg_sampler_desc){ .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR, .mipmap_filter = SG_FILTER_LINEAR, .wrap_v = SG_WRAP_MIRRORED_REPEAT, .max_anisotropy = 8, .border_color = SG_BORDERCOLOR_TRANSPARENT_BLACK, .compare = SG_COMPAREFUNC_GREATER, }); const sg_sampler_desc s0_desc = sg_query_sampler_desc(s0); T(s0_desc.min_filter == SG_FILTER_LINEAR); T(s0_desc.mag_filter == SG_FILTER_LINEAR); T(s0_desc.mipmap_filter == SG_FILTER_LINEAR); T(s0_desc.wrap_u == SG_WRAP_REPEAT); T(s0_desc.wrap_v == SG_WRAP_MIRRORED_REPEAT); T(s0_desc.wrap_w == SG_WRAP_REPEAT); T(s0_desc.min_lod == 0.0f); T(s0_desc.max_lod == FLT_MAX); T(s0_desc.border_color == SG_BORDERCOLOR_TRANSPARENT_BLACK); T(s0_desc.compare == SG_COMPAREFUNC_GREATER); T(s0_desc.max_anisotropy == 8); sg_destroy_sampler(s0); const sg_sampler_desc s0_desc_x = sg_query_sampler_desc(s0); T(s0_desc_x.min_filter == 0); T(s0_desc_x.compare == 0); sg_shutdown(); } UTEST(sokol_gfx, query_shader_desc) { setup(&(sg_desc){0}); sg_shader s0 = sg_make_shader(&(sg_shader_desc){ .attrs = { [0] = { .name = "pos", .sem_name = "POS", .sem_index = 1 }, }, .vs = { .source = "vs_source", .uniform_blocks = { [0] = { .size = 128, .layout = SG_UNIFORMLAYOUT_STD140, .uniforms = { [0] = { .name = "blub", .type = SG_UNIFORMTYPE_FLOAT4, .array_count = 1 }, [1] = { .name = "blob", .type = SG_UNIFORMTYPE_FLOAT2, .array_count = 1 }, } } }, .images[0] = { .used = true, .image_type = SG_IMAGETYPE_2D, .sample_type = SG_IMAGESAMPLETYPE_FLOAT, .multisampled = true }, .images[1] = { .used = true, .image_type = SG_IMAGETYPE_3D, .sample_type = SG_IMAGESAMPLETYPE_DEPTH }, .samplers[0] = { .used = true, .sampler_type = SG_SAMPLERTYPE_FILTERING }, .samplers[1] = { .used = true, .sampler_type = SG_SAMPLERTYPE_COMPARISON }, .image_sampler_pairs[0] = { .used = true, .image_slot = 0, .sampler_slot = 0, .glsl_name = "img0" }, .image_sampler_pairs[1] = { .used = true, .image_slot = 1, .sampler_slot = 1, .glsl_name = "img1" }, }, .fs = { .source = "fs_source", .images[0] = { .used = true, .image_type = SG_IMAGETYPE_ARRAY, .sample_type = SG_IMAGESAMPLETYPE_DEPTH }, .images[1] = { .used = true, .image_type = SG_IMAGETYPE_CUBE, .sample_type = SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT }, .samplers[0] = { .used = true, .sampler_type = SG_SAMPLERTYPE_COMPARISON }, .samplers[1] = { .used = true, .sampler_type = SG_SAMPLERTYPE_NONFILTERING }, .image_sampler_pairs[0] = { .used = true, .image_slot = 0, .sampler_slot = 0, .glsl_name = "img3" }, .image_sampler_pairs[1] = { .used = true, .image_slot = 1, .sampler_slot = 1, .glsl_name = "img4" }, }, .label = "label", }); const sg_shader_desc s0_desc = sg_query_shader_desc(s0); T(s0_desc.attrs[0].name == 0); T(s0_desc.attrs[0].sem_name == 0); T(s0_desc.attrs[0].sem_index == 0); T(s0_desc.vs.source == 0); T(s0_desc.vs.uniform_blocks[0].size == 128); T(s0_desc.vs.uniform_blocks[0].layout == 0); T(s0_desc.vs.uniform_blocks[0].uniforms[0].name == 0); T(s0_desc.vs.uniform_blocks[0].uniforms[0].type == 0); T(s0_desc.vs.uniform_blocks[0].uniforms[0].array_count == 0); T(s0_desc.vs.images[0].used); T(s0_desc.vs.images[0].image_type == SG_IMAGETYPE_2D); T(s0_desc.vs.images[0].sample_type == SG_IMAGESAMPLETYPE_FLOAT); T(s0_desc.vs.images[0].multisampled); T(s0_desc.vs.images[1].used); T(s0_desc.vs.images[1].image_type == SG_IMAGETYPE_3D); T(s0_desc.vs.images[1].sample_type == SG_IMAGESAMPLETYPE_DEPTH); T(s0_desc.vs.images[1].multisampled == false); T(s0_desc.vs.samplers[0].used); T(s0_desc.vs.samplers[0].sampler_type == SG_SAMPLERTYPE_FILTERING); T(s0_desc.vs.samplers[1].used); T(s0_desc.vs.samplers[1].sampler_type == SG_SAMPLERTYPE_COMPARISON); T(s0_desc.vs.image_sampler_pairs[0].used); T(s0_desc.vs.image_sampler_pairs[0].image_slot == 0); T(s0_desc.vs.image_sampler_pairs[0].sampler_slot == 0); T(s0_desc.vs.image_sampler_pairs[0].glsl_name == 0); T(s0_desc.vs.image_sampler_pairs[1].used); T(s0_desc.vs.image_sampler_pairs[1].image_slot == 1); T(s0_desc.vs.image_sampler_pairs[1].sampler_slot == 1); T(s0_desc.vs.image_sampler_pairs[1].glsl_name == 0); T(s0_desc.fs.source == 0); T(s0_desc.fs.uniform_blocks[0].size == 0); T(s0_desc.fs.uniform_blocks[0].layout == 0); T(s0_desc.fs.uniform_blocks[0].uniforms[0].name == 0); T(s0_desc.fs.uniform_blocks[0].uniforms[0].type == 0); T(s0_desc.fs.uniform_blocks[0].uniforms[0].array_count == 0); T(s0_desc.fs.images[0].used); T(s0_desc.fs.images[0].image_type == SG_IMAGETYPE_ARRAY); T(s0_desc.fs.images[0].sample_type == SG_IMAGESAMPLETYPE_DEPTH); T(s0_desc.fs.images[0].multisampled == false); T(s0_desc.fs.images[1].used); T(s0_desc.fs.images[1].image_type == SG_IMAGETYPE_CUBE); T(s0_desc.fs.images[1].sample_type == SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT); T(s0_desc.fs.images[1].multisampled == false); T(s0_desc.fs.samplers[0].used); T(s0_desc.fs.samplers[0].sampler_type == SG_SAMPLERTYPE_COMPARISON); T(s0_desc.fs.samplers[1].used); T(s0_desc.fs.samplers[1].sampler_type == SG_SAMPLERTYPE_NONFILTERING); T(s0_desc.fs.image_sampler_pairs[0].used); T(s0_desc.fs.image_sampler_pairs[0].image_slot == 0); T(s0_desc.fs.image_sampler_pairs[0].sampler_slot == 0); T(s0_desc.fs.image_sampler_pairs[0].glsl_name == 0); T(s0_desc.fs.image_sampler_pairs[1].used); T(s0_desc.fs.image_sampler_pairs[1].image_slot == 1); T(s0_desc.fs.image_sampler_pairs[1].sampler_slot == 1); T(s0_desc.fs.image_sampler_pairs[1].glsl_name == 0); sg_shutdown(); } UTEST(sokol_gfx, query_pipeline_desc) { setup(&(sg_desc){0}); sg_shader shd = sg_make_shader(&(sg_shader_desc){0}); sg_pipeline p0 = sg_make_pipeline(&(sg_pipeline_desc){ .shader = shd, .layout = { .attrs = { [0] = { .format = SG_VERTEXFORMAT_FLOAT4 }, [1] = { .format = SG_VERTEXFORMAT_FLOAT2 }, } }, .label = "p0", }); const sg_pipeline_desc p0_desc = sg_query_pipeline_desc(p0); T(p0_desc.shader.id == shd.id); T(p0_desc.layout.buffers[0].stride == 24); T(p0_desc.layout.buffers[0].step_func == SG_VERTEXSTEP_PER_VERTEX); T(p0_desc.layout.buffers[0].step_rate == 1); T(p0_desc.layout.buffers[1].stride == 0); T(p0_desc.layout.buffers[1].step_func == 0); T(p0_desc.layout.buffers[1].step_rate == 0); T(p0_desc.layout.attrs[0].format == SG_VERTEXFORMAT_FLOAT4); T(p0_desc.layout.attrs[0].offset == 0); T(p0_desc.layout.attrs[0].buffer_index == 0); T(p0_desc.layout.attrs[1].format == SG_VERTEXFORMAT_FLOAT2); T(p0_desc.layout.attrs[1].offset == 16); T(p0_desc.layout.attrs[1].buffer_index == 0); T(p0_desc.layout.attrs[2].format == 0); T(p0_desc.layout.attrs[2].offset == 0); T(p0_desc.layout.attrs[2].buffer_index == 0); T(p0_desc.depth.pixel_format == SG_PIXELFORMAT_DEPTH_STENCIL); T(p0_desc.depth.compare == SG_COMPAREFUNC_ALWAYS); T(p0_desc.depth.write_enabled == false); T(p0_desc.depth.bias == 0.0f); T(p0_desc.depth.bias_slope_scale == 0.0f); T(p0_desc.depth.bias_clamp == 0.0f); T(p0_desc.stencil.enabled == false); T(p0_desc.stencil.front.compare == SG_COMPAREFUNC_ALWAYS); T(p0_desc.stencil.front.fail_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.front.depth_fail_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.front.pass_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.back.compare == SG_COMPAREFUNC_ALWAYS); T(p0_desc.stencil.back.fail_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.back.depth_fail_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.back.pass_op == SG_STENCILOP_KEEP); T(p0_desc.stencil.read_mask == 0); T(p0_desc.stencil.write_mask == 0); T(p0_desc.stencil.ref == 0); T(p0_desc.color_count == 1); T(p0_desc.colors[0].pixel_format == SG_PIXELFORMAT_RGBA8); T(p0_desc.colors[0].write_mask == SG_COLORMASK_RGBA); T(p0_desc.colors[0].blend.enabled == false); T(p0_desc.colors[0].blend.src_factor_rgb == SG_BLENDFACTOR_ONE); T(p0_desc.colors[0].blend.dst_factor_rgb == SG_BLENDFACTOR_ZERO); T(p0_desc.colors[0].blend.op_rgb == SG_BLENDOP_ADD); T(p0_desc.colors[0].blend.src_factor_alpha == SG_BLENDFACTOR_ONE); T(p0_desc.colors[0].blend.dst_factor_alpha == SG_BLENDFACTOR_ZERO); T(p0_desc.colors[0].blend.op_alpha == SG_BLENDOP_ADD); T(p0_desc.primitive_type == SG_PRIMITIVETYPE_TRIANGLES); T(p0_desc.index_type == SG_INDEXTYPE_NONE); T(p0_desc.cull_mode == SG_CULLMODE_NONE); T(p0_desc.face_winding == SG_FACEWINDING_CW); T(p0_desc.sample_count == 1); T(p0_desc.blend_color.r == 0.0f); T(p0_desc.blend_color.g == 0.0f); T(p0_desc.blend_color.b == 0.0f); T(p0_desc.blend_color.a == 0.0f); T(p0_desc.alpha_to_coverage_enabled == false); T(p0_desc.label == 0); sg_shutdown(); } UTEST(sokol_gfx, query_attachments_desc) { setup(&(sg_desc){0}); const sg_image_desc color_img_desc = { .render_target = true, .width = 128, .height = 128, }; const sg_image_desc depth_img_desc = { .render_target = true, .width = 128, .height = 128, .pixel_format = SG_PIXELFORMAT_DEPTH, }; sg_image color_img_0 = sg_make_image(&color_img_desc); sg_image color_img_1 = sg_make_image(&color_img_desc); sg_image color_img_2 = sg_make_image(&color_img_desc); sg_image depth_img = sg_make_image(&depth_img_desc); sg_attachments a0 = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = color_img_0, [1].image = color_img_1, [2].image = color_img_2, }, .depth_stencil.image = depth_img, }); const sg_attachments_desc a0_desc = sg_query_attachments_desc(a0); T(a0_desc.colors[0].image.id == color_img_0.id); T(a0_desc.colors[0].mip_level == 0); T(a0_desc.colors[0].slice == 0); T(a0_desc.colors[1].image.id == color_img_1.id); T(a0_desc.colors[1].mip_level == 0); T(a0_desc.colors[1].slice == 0); T(a0_desc.colors[2].image.id == color_img_2.id); T(a0_desc.colors[2].mip_level == 0); T(a0_desc.colors[2].slice == 0); T(a0_desc.depth_stencil.image.id == depth_img.id); T(a0_desc.depth_stencil.mip_level == 0); T(a0_desc.depth_stencil.slice == 0); sg_shutdown(); } UTEST(sokol_gfx, buffer_resource_states) { setup(&(sg_desc){0}); sg_buffer buf = sg_alloc_buffer(); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_ALLOC); sg_init_buffer(buf, &(sg_buffer_desc){ .usage = SG_USAGE_STREAM, .size = 128 }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_VALID); sg_uninit_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_ALLOC); sg_dealloc_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, image_resource_states) { setup(&(sg_desc){0}); sg_image img = sg_alloc_image(); T(sg_query_image_state(img) == SG_RESOURCESTATE_ALLOC); sg_init_image(img, &(sg_image_desc){ .render_target = true, .width = 16, .height = 16 }); T(sg_query_image_state(img) == SG_RESOURCESTATE_VALID); sg_uninit_image(img); T(sg_query_image_state(img) == SG_RESOURCESTATE_ALLOC); sg_dealloc_image(img); T(sg_query_image_state(img) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, sampler_resource_states) { setup(&(sg_desc){0}); sg_sampler smp = sg_alloc_sampler(); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_ALLOC); sg_init_sampler(smp, &(sg_sampler_desc){ .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_VALID); sg_uninit_sampler(smp); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_ALLOC); sg_dealloc_sampler(smp); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, shader_resource_states) { setup(&(sg_desc){0}); sg_shader shd = sg_alloc_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_init_shader(shd, &(sg_shader_desc){0}); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_VALID); sg_uninit_shader(shd); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_dealloc_shader(shd); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, pipeline_resource_states) { setup(&(sg_desc){0}); sg_pipeline pip = sg_alloc_pipeline(); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_ALLOC); sg_init_pipeline(pip, &(sg_pipeline_desc){ .shader = sg_make_shader(&(sg_shader_desc){0}), .layout.attrs[0].format = SG_VERTEXFORMAT_FLOAT3 }); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_VALID); sg_uninit_pipeline(pip); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_ALLOC); sg_dealloc_pipeline(pip); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, attachments_resource_states) { setup(&(sg_desc){0}); sg_attachments atts = sg_alloc_attachments(); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_ALLOC); sg_init_attachments(atts, &(sg_attachments_desc){ .colors[0].image = sg_make_image(&(sg_image_desc){ .render_target=true, .width=16, .height=16}) }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_VALID); sg_uninit_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_ALLOC); sg_dealloc_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, query_buffer_will_overflow) { setup(&(sg_desc){0}); sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .size = 64, .usage = SG_USAGE_STREAM }); T(!sg_query_buffer_will_overflow(buf, 32)); T(!sg_query_buffer_will_overflow(buf, 64)); T(sg_query_buffer_will_overflow(buf, 65)); static const uint8_t data[32] = {0}; sg_append_buffer(buf, &SG_RANGE(data)); T(!sg_query_buffer_will_overflow(buf, 32)); T(sg_query_buffer_will_overflow(buf, 33)); sg_shutdown(); } static struct { uintptr_t userdata; int num_called; } commit_listener; static void reset_commit_listener(void) { commit_listener.userdata = 0; commit_listener.num_called = 0; } static void commit_listener_func(void* ud) { commit_listener.userdata = (uintptr_t)ud; commit_listener.num_called++; } UTEST(sokol_gfx, commit_listener_called) { reset_commit_listener(); setup(&(sg_desc){0}); const bool added = sg_add_commit_listener((sg_commit_listener){ .func = commit_listener_func, .user_data = (void*)23, }); T(added); T(_sg.commit_listeners.upper == 1); sg_commit(); T(23 == commit_listener.userdata); T(1 == commit_listener.num_called); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_add_twice) { reset_commit_listener(); setup(&(sg_desc){0}); const sg_commit_listener listener = { .func = commit_listener_func, .user_data = (void*)23, }; T(sg_add_commit_listener(listener)); T(_sg.commit_listeners.upper == 1); T(!sg_add_commit_listener(listener)); T(_sg.commit_listeners.upper == 1); sg_commit(); T(23 == commit_listener.userdata); T(1 == commit_listener.num_called); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_same_func_diff_ud) { reset_commit_listener(); setup(&(sg_desc){0}); T(sg_add_commit_listener((sg_commit_listener){ .func = commit_listener_func, .user_data = (void*)23, })); T(_sg.commit_listeners.upper == 1); T(sg_add_commit_listener((sg_commit_listener){ .func = commit_listener_func, .user_data = (void*)25, })); T(_sg.commit_listeners.upper == 2); sg_commit(); T(2 == commit_listener.num_called); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_add_remove_add) { reset_commit_listener(); setup(&(sg_desc){0}); const sg_commit_listener listener = { .func = commit_listener_func, .user_data = (void*)23, }; T(sg_add_commit_listener(listener)); T(_sg.commit_listeners.upper == 1); T(sg_remove_commit_listener(listener)); T(_sg.commit_listeners.upper == 1); sg_commit(); T(0 == commit_listener.num_called); T(sg_add_commit_listener(listener)); T(_sg.commit_listeners.upper == 1); sg_commit(); T(1 == commit_listener.num_called); T(23 == commit_listener.userdata); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_remove_non_existent) { reset_commit_listener(); setup(&(sg_desc){0}); const sg_commit_listener l0 = { .func = commit_listener_func, .user_data = (void*)23, }; const sg_commit_listener l1 = { .func = commit_listener_func, .user_data = (void*)46, }; const sg_commit_listener l2 = { .func = commit_listener_func, .user_data = (void*)256, }; T(sg_add_commit_listener(l0)); T(sg_add_commit_listener(l1)); T(_sg.commit_listeners.upper == 2); T(!sg_remove_commit_listener(l2)); T(_sg.commit_listeners.upper == 2); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_multi_add_remove) { reset_commit_listener(); setup(&(sg_desc){0}); const sg_commit_listener l0 = { .func = commit_listener_func, .user_data = (void*)23, }; const sg_commit_listener l1 = { .func = commit_listener_func, .user_data = (void*)46, }; T(sg_add_commit_listener(l0)); T(sg_add_commit_listener(l1)); T(_sg.commit_listeners.upper == 2); // removing the first listener will just clear its slot T(sg_remove_commit_listener(l0)); T(_sg.commit_listeners.upper == 2); sg_commit(); T(commit_listener.num_called == 1); T(commit_listener.userdata == 46); commit_listener.num_called = 0; // adding the first listener back will fill that same slot again T(sg_add_commit_listener(l0)); T(_sg.commit_listeners.upper == 2); sg_commit(); T(commit_listener.num_called == 2); T(commit_listener.userdata == 46); commit_listener.num_called = 0; // removing the second listener will decrement the upper bound T(sg_remove_commit_listener(l1)); T(_sg.commit_listeners.upper == 2); sg_commit(); T(commit_listener.num_called == 1); T(commit_listener.userdata == 23); commit_listener.num_called = 0; // and finally remove the first listener too T(sg_remove_commit_listener(l0)); T(_sg.commit_listeners.upper == 2); sg_commit(); T(commit_listener.num_called == 0); // removing the same listener twice just returns false T(!sg_remove_commit_listener(l0)); T(!sg_remove_commit_listener(l1)); sg_shutdown(); } UTEST(sokol_gfx, commit_listener_array_full) { reset_commit_listener(); setup(&(sg_desc){ .max_commit_listeners = 3, }); const sg_commit_listener l0 = { .func = commit_listener_func, .user_data = (void*)23, }; const sg_commit_listener l1 = { .func = commit_listener_func, .user_data = (void*)46, }; const sg_commit_listener l2 = { .func = commit_listener_func, .user_data = (void*)128, }; const sg_commit_listener l3 = { .func = commit_listener_func, .user_data = (void*)256, }; T(sg_add_commit_listener(l0)); T(sg_add_commit_listener(l1)); T(sg_add_commit_listener(l2)); T(_sg.commit_listeners.upper == 3); // overflow! T(!sg_add_commit_listener(l3)); T(_sg.commit_listeners.upper == 3); sg_commit(); T(commit_listener.num_called == 3); T(commit_listener.userdata == 128); sg_shutdown(); } UTEST(sokol_gfx, buffer_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_buffer buf = create_buffer(); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_VALID); sg_destroy_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); sg_destroy_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, image_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_image img = create_image(); T(sg_query_image_state(img) == SG_RESOURCESTATE_VALID); sg_destroy_image(img); T(sg_query_image_state(img) == SG_RESOURCESTATE_INVALID); sg_destroy_image(img); T(sg_query_image_state(img) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, sampler_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){0}); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_VALID); sg_destroy_sampler(smp); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_INVALID); sg_destroy_sampler(smp); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, shader_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_shader shd = create_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_VALID); sg_destroy_shader(shd); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_INVALID); sg_destroy_shader(shd); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, pipeline_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_pipeline pip = create_pipeline(); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_VALID); sg_destroy_pipeline(pip); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_INVALID); sg_destroy_pipeline(pip); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokoL_gfx, attachments_double_destroy_is_ok) { setup(&(sg_desc){0}); sg_attachments atts = create_attachments(); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_VALID); sg_destroy_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_destroy_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_buffer_warns) { setup(&(sg_desc){0}); sg_buffer buf = create_buffer(); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_VALID); sg_dealloc_buffer(buf); T(log_items[0] == SG_LOGITEM_DEALLOC_BUFFER_INVALID_STATE); T(num_log_called == 1); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_VALID); sg_destroy_buffer(buf); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_image_warns) { setup(&(sg_desc){0}); sg_image img = create_image(); T(sg_query_image_state(img) == SG_RESOURCESTATE_VALID); sg_dealloc_image(img); T(log_items[0] == SG_LOGITEM_DEALLOC_IMAGE_INVALID_STATE); T(num_log_called == 1); T(sg_query_image_state(img) == SG_RESOURCESTATE_VALID); sg_destroy_image(img); T(sg_query_image_state(img) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_sampler_warns) { setup(&(sg_desc){0}); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){0}); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_VALID); sg_dealloc_sampler(smp); T(log_items[0] == SG_LOGITEM_DEALLOC_SAMPLER_INVALID_STATE); T(num_log_called == 1); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_VALID); sg_destroy_sampler(smp); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_shader_warns) { setup(&(sg_desc){0}); sg_shader shd = create_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_VALID); sg_dealloc_shader(shd); T(log_items[0] == SG_LOGITEM_DEALLOC_SHADER_INVALID_STATE); T(num_log_called == 1); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_VALID); sg_destroy_shader(shd); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_pipeline_warns) { setup(&(sg_desc){0}); sg_pipeline pip = create_pipeline(); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_VALID); sg_dealloc_pipeline(pip); T(log_items[0] == SG_LOGITEM_DEALLOC_PIPELINE_INVALID_STATE); T(num_log_called == 1); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_VALID); sg_destroy_pipeline(pip); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_dealloc_attachments_warns) { setup(&(sg_desc){0}); sg_attachments atts = create_attachments(); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_VALID); sg_dealloc_attachments(atts); T(log_items[0] == SG_LOGITEM_DEALLOC_ATTACHMENTS_INVALID_STATE); T(num_log_called == 1); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_VALID); sg_destroy_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_buffer_warns) { setup(&(sg_desc){0}); sg_buffer buf = sg_alloc_buffer(); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_ALLOC); sg_uninit_buffer(buf); T(log_items[0] == SG_LOGITEM_UNINIT_BUFFER_INVALID_STATE); T(num_log_called == 1); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_image_warns) { setup(&(sg_desc){0}); sg_image img = sg_alloc_image(); T(sg_query_image_state(img) == SG_RESOURCESTATE_ALLOC); sg_uninit_image(img); T(log_items[0] == SG_LOGITEM_UNINIT_IMAGE_INVALID_STATE); T(num_log_called == 1); T(sg_query_image_state(img) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_sampler_warns) { setup(&(sg_desc){0}); sg_sampler smp = sg_alloc_sampler(); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_ALLOC); sg_uninit_sampler(smp); T(log_items[0] == SG_LOGITEM_UNINIT_SAMPLER_INVALID_STATE); T(num_log_called == 1); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_shader_warns) { setup(&(sg_desc){0}); sg_shader shd = sg_alloc_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_uninit_shader(shd); T(log_items[0] == SG_LOGITEM_UNINIT_SHADER_INVALID_STATE); T(num_log_called == 1); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_pipeline_warns) { setup(&(sg_desc){0}); sg_pipeline pip = sg_alloc_pipeline(); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_ALLOC); sg_uninit_pipeline(pip); T(log_items[0] == SG_LOGITEM_UNINIT_PIPELINE_INVALID_STATE); T(num_log_called == 1); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_uninit_attachments_warns) { setup(&(sg_desc){0}); sg_attachments atts = sg_alloc_attachments(); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_ALLOC); sg_uninit_attachments(atts); T(log_items[0] == SG_LOGITEM_UNINIT_ATTACHMENTS_INVALID_STATE); T(num_log_called == 1); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_ALLOC); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_buffer_is_ok) { setup(&(sg_desc){0}); sg_buffer buf = sg_alloc_buffer(); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_ALLOC); sg_destroy_buffer(buf); T(num_log_called == 0); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_image_is_ok) { setup(&(sg_desc){0}); sg_image img = sg_alloc_image(); T(sg_query_image_state(img) == SG_RESOURCESTATE_ALLOC); sg_destroy_image(img); T(num_log_called == 0); T(sg_query_image_state(img) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_sampler_is_ok) { setup(&(sg_desc){0}); sg_sampler smp = sg_alloc_sampler(); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_ALLOC); sg_destroy_sampler(smp); T(num_log_called == 0); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_shader_is_ok) { setup(&(sg_desc){0}); sg_shader shd = sg_alloc_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_destroy_shader(shd); T(num_log_called == 0); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_pipeline_is_ok) { setup(&(sg_desc){0}); sg_pipeline pip = sg_alloc_pipeline(); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_ALLOC); sg_destroy_pipeline(pip); T(num_log_called == 0); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, alloc_destroy_attachments_is_ok) { setup(&(sg_desc){0}); sg_attachments atts = sg_alloc_attachments(); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_ALLOC); sg_destroy_attachments(atts); T(num_log_called == 0); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_pipeline_with_nonvalid_shader) { setup(&(sg_desc){ .disable_validation = true, }); sg_shader shd = sg_alloc_shader(); T(sg_query_shader_state(shd) == SG_RESOURCESTATE_ALLOC); sg_pipeline pip = sg_make_pipeline(&(sg_pipeline_desc){ .shader = shd, .layout = { .attrs[0].format = SG_VERTEXFORMAT_FLOAT3 }, }); T(sg_query_pipeline_state(pip) == SG_RESOURCESTATE_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_with_nonvalid_color_images) { setup(&(sg_desc){ .disable_validation = true, }); sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = sg_alloc_image(), [1].image = sg_alloc_image(), }, .depth_stencil = { .image = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 128, .height = 128 }) } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); sg_destroy_attachments(atts); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_INVALID); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_without_color_attachments) { setup(&(sg_desc){0}); sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .depth_stencil.image = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_DEPTH, }) }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_VALID); sg_shutdown(); } UTEST(sokol_gfx, make_buffer_validate_start_canary) { setup(&(sg_desc){0}); const uint32_t data[32] = {0}; sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ ._start_canary = 1234, .data = SG_RANGE(data), }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_BUFFERDESC_CANARY); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_buffer_validate_end_canary) { setup(&(sg_desc){0}); const uint32_t data[32] = {0}; sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .data = SG_RANGE(data), ._end_canary = 1234, }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_BUFFERDESC_CANARY); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_buffer_validate_immutable_nodata) { setup(&(sg_desc){0}); sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ 0 }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_BUFFERDESC_SIZE); T(log_items[1] == SG_LOGITEM_VALIDATE_BUFFERDESC_DATA); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_buffer_validate_size_mismatch) { setup(&(sg_desc){0}); const uint32_t data[16] = { 0 }; sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .size = 15 * sizeof(uint32_t), .data = SG_RANGE(data), }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_BUFFERDESC_DATA_SIZE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_buffer_validate_data_ptr_but_no_size) { setup(&(sg_desc){0}); const uint32_t data[16] = {0}; sg_buffer buf = sg_make_buffer(&(sg_buffer_desc){ .data.ptr = data, }); T(sg_query_buffer_state(buf) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_BUFFERDESC_SIZE); T(log_items[1] == SG_LOGITEM_VALIDATE_BUFFERDESC_DATA); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_start_canary) { setup(&(sg_desc){0}); const uint32_t pixels[8][8] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ ._start_canary = 1234, .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(pixels), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_CANARY); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_end_canary) { setup(&(sg_desc){0}); const uint32_t pixels[8][8] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(pixels), ._end_canary = 1234, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_CANARY); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_zero_width_height) { setup(&(sg_desc){0}); const uint32_t pixels[8][8] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 0, .height = 0, .data.subimage[0][0] = SG_RANGE(pixels), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_WIDTH); T(log_items[1] == SG_LOGITEM_VALIDATE_IMAGEDESC_HEIGHT); T(log_items[2] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[3] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_msaa_no_rt) { setup(&(sg_desc){0}); const uint32_t pixels[8][8] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .sample_count = 4, .data.subimage[0][0] = SG_RANGE(pixels), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_BUT_NO_RT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_msaa_num_mipmaps) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, .num_mipmaps = 2, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_NUM_MIPMAPS); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_msaa_3d_image) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_3D, .width = 32, .height = 32, .num_slices = 32, .sample_count = 4, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_MSAA_3D_IMAGE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_depth_3d_image_with_depth_format) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_3D, .width = 8, .height = 8, .num_slices = 8, .pixel_format = SG_PIXELFORMAT_DEPTH, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_DEPTH_3D_IMAGE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_rt_immutable) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .usage = SG_USAGE_DYNAMIC, .width = 8, .height = 8, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_RT_IMMUTABLE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_dynamic_no_data) { setup(&(sg_desc){0}); uint32_t pixels[8][8] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .usage = SG_USAGE_DYNAMIC, .data.subimage[0][0] = SG_RANGE(pixels), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_DYNAMIC_NO_DATA); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_valiate_compressed_immutable) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .pixel_format = SG_PIXELFORMAT_BC1_RGBA, .usage = SG_USAGE_DYNAMIC, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDESC_COMPRESSED_IMMUTABLE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_nodata) { setup(&(sg_desc){0}); sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDATA_NODATA); T(log_items[1] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_data_size) { setup(&(sg_desc){0}); uint32_t pixels[4][4] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .data.subimage[0][0] = SG_RANGE(pixels), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_missing_mipdata) { setup(&(sg_desc){0}); uint32_t mip0[8][8] = {0}; uint32_t mip1[4][4] = {0}; uint32_t mip2[2][2] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .num_mipmaps = 4, .data.subimage[0][0] = SG_RANGE(mip0), .data.subimage[0][1] = SG_RANGE(mip1), .data.subimage[0][2] = SG_RANGE(mip2), }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDATA_NODATA); T(log_items[1] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_image_validate_wrong_mipsize) { setup(&(sg_desc){0}); uint32_t mip0[8][8] = {0}; uint32_t mip1[4][4] = {0}; uint32_t mip2[2][2] = {0}; uint32_t mip3[1][1] = {0}; sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .num_mipmaps = 4, .data.subimage[0][0] = SG_RANGE(mip0), .data.subimage[0][1] = SG_RANGE(mip2), .data.subimage[0][2] = SG_RANGE(mip1), .data.subimage[0][3] = SG_RANGE(mip3) }); T(sg_query_image_state(img) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[1] == SG_LOGITEM_VALIDATE_IMAGEDATA_DATA_SIZE); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_sampler_validate_start_canary) { setup(&(sg_desc){0}); sg_sampler smp = sg_make_sampler(&(sg_sampler_desc){ ._start_canary = 1234, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_SAMPLERDESC_CANARY); sg_shutdown(); } UTEST(sokol_gfx, make_sampler_validate_anistropic_requires_linear_filtering) { setup(&(sg_desc){0}); sg_sampler smp; smp = sg_make_sampler(&(sg_sampler_desc){ .max_anisotropy = 2, .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR, .mipmap_filter = SG_FILTER_NEAREST, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_SAMPLERDESC_ANISTROPIC_REQUIRES_LINEAR_FILTERING); reset_log_items(); smp = sg_make_sampler(&(sg_sampler_desc){ .max_anisotropy = 2, .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR, .mipmap_filter = SG_FILTER_NEAREST, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_SAMPLERDESC_ANISTROPIC_REQUIRES_LINEAR_FILTERING); reset_log_items(); smp = sg_make_sampler(&(sg_sampler_desc){ .max_anisotropy = 2, .min_filter = SG_FILTER_NEAREST, .mag_filter = SG_FILTER_LINEAR, .mipmap_filter = SG_FILTER_LINEAR, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_SAMPLERDESC_ANISTROPIC_REQUIRES_LINEAR_FILTERING); reset_log_items(); smp = sg_make_sampler(&(sg_sampler_desc){ .max_anisotropy = 2, .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_NEAREST, .mipmap_filter = SG_FILTER_LINEAR, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_SAMPLERDESC_ANISTROPIC_REQUIRES_LINEAR_FILTERING); reset_log_items(); smp = sg_make_sampler(&(sg_sampler_desc){ .max_anisotropy = 2, .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR, .mipmap_filter = SG_FILTER_LINEAR, }); T(sg_query_sampler_state(smp) == SG_RESOURCESTATE_VALID); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_start_canary) { setup(&(sg_desc){0}); sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ ._start_canary = 1234, .colors[0].image = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }), }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_CANARY); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_end_canary) { setup(&(sg_desc){0}); sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }), ._end_canary = 1234, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_CANARY); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_no_cont_color_atts1) { setup(&(sg_desc){0}); const sg_image_desc img_desc = { .render_target = true, .width = 64, .height = 64 }; sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = sg_make_image(&img_desc), [2].image = sg_make_image(&img_desc), } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_NO_CONT_COLOR_ATTS); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_image) { setup(&(sg_desc){0}); const sg_image_desc img_desc = { .render_target = true, .width = 64, .height = 64 }; const sg_image img0 = sg_make_image(&img_desc); const sg_image img1 = sg_make_image(&img_desc); sg_destroy_image(img1); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = img0, [1].image = img1, } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_IMAGE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_miplevel) { setup(&(sg_desc){0}); const sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 16, .height = 16, .num_mipmaps = 4, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = img, .mip_level = 4 } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_MIPLEVEL); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_face) { setup(&(sg_desc){0}); const sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_CUBE, .width = 64, .height = 64, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = img, .slice = 6 } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_FACE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_layer) { setup(&(sg_desc){0}); const sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_ARRAY, .width = 64, .height = 64, .num_slices = 4, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = img, .slice = 5 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_LAYER); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_slice) { setup(&(sg_desc){0}); const sg_image img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_3D, .width = 64, .height = 64, .num_slices = 4, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = img, .slice = 5 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_SLICE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_image_no_rt) { setup(&(sg_desc){0}); const sg_image img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .usage = SG_USAGE_DYNAMIC, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = img, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_IMAGE_NO_RT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_color_inv_pixelformat) { setup(&(sg_desc){0}); const sg_image_desc img_desc = { .render_target = true, .width = 8, .height = 8, .pixel_format = SG_PIXELFORMAT_DEPTH, }; reset_log_items(); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = sg_make_image(&img_desc), .depth_stencil.image = sg_make_image(&img_desc), }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_COLOR_INV_PIXELFORMAT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_inv_pixelformat) { setup(&(sg_desc){0}); const sg_image_desc img_desc = { .render_target = true, .width = 8, .height = 8, }; const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = sg_make_image(&img_desc), .depth_stencil.image = sg_make_image(&img_desc), }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_INV_PIXELFORMAT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_image_sizes) { setup(&(sg_desc){0}); const sg_image img0 = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image img1 = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 32, .height = 32, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = img0, [1].image = img1, } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_IMAGE_SIZES); T(log_items[1] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_IMAGE_SIZES); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_image_sample_counts) { setup(&(sg_desc){0}); const sg_image img0 = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image img1 = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 2, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors = { [0].image = img0, [1].image = img1, } }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_IMAGE_SAMPLE_COUNTS); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_color_image_msaa) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 1, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = color_img, .resolves[0].image = resolve_img, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_COLOR_IMAGE_MSAA); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_image) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 1, }); sg_destroy_image(resolve_img); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = color_img, .resolves[0].image = resolve_img, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_sample_count) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0].image = color_img, .resolves[0].image = resolve_img, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_SAMPLE_COUNT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_miplevel) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img, .mip_level = 1 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_MIPLEVEL); // FIXME: these are confusing T(log_items[1] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_SIZES); T(log_items[2] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_SIZES); T(log_items[3] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_face) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_CUBE, .width = 64, .height = 64, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img, .slice = 6 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_FACE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_layer) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_ARRAY, .width = 64, .height = 64, .num_slices = 4, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img, .slice = 4 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_LAYER); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_slice) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_3D, .width = 64, .height = 64, .num_slices = 4, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img, .slice = 4 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_SLICE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_image_no_rt) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .width = 64, .height = 64, .usage = SG_USAGE_DYNAMIC, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_NO_RT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_image_sizes) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 32, .height = 32, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_SIZES); T(log_items[1] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_SIZES); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_resolve_image_format) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image resolve_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_R8, .sample_count = 1, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .resolves[0] = { .image = resolve_img }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_RESOLVE_IMAGE_FORMAT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_image) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_DEPTH, }); sg_destroy_image(depth_img); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil.image = depth_img, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_miplevel) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_DEPTH, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil = { .image = depth_img, .mip_level = 1 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_MIPLEVEL); // FIXME: these additional validation errors are confusing T(log_items[1] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE_SIZES); T(log_items[2] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE_SIZES); T(log_items[3] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_face) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_CUBE, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_DEPTH, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil = { .image = depth_img, .slice = 6 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_FACE); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_layer) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .type = SG_IMAGETYPE_ARRAY, .width = 64, .height = 64, .num_slices = 4, .pixel_format = SG_PIXELFORMAT_DEPTH, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil = { .image = depth_img, .slice = 4 }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_LAYER); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } // NOTE: VALIDATE_PASSDESC_DEPTH_SLICE can't actually happen because VALIDATE_IMAGEDESC_DEPTH_3D_IMAGE // NOTE: VALIDATE_DEPTH_IMAGE_NO_RT can't actually happen because VALIDATE_IMAGEDESC_NONRT_PIXELFORMAT UTEST(sokol_gfx, make_attachments_validate_depth_image_sizes) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 32, .height = 32, .pixel_format = SG_PIXELFORMAT_DEPTH, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil = { .image = depth_img }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE_SIZES); T(log_items[1] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE_SIZES); T(log_items[2] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, make_attachments_validate_depth_image_sample_count) { setup(&(sg_desc){0}); const sg_image color_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .sample_count = 4, }); const sg_image depth_img = sg_make_image(&(sg_image_desc){ .render_target = true, .width = 64, .height = 64, .pixel_format = SG_PIXELFORMAT_DEPTH, .sample_count = 2, }); const sg_attachments atts = sg_make_attachments(&(sg_attachments_desc){ .colors[0] = { .image = color_img }, .depth_stencil = { .image = depth_img }, }); T(sg_query_attachments_state(atts) == SG_RESOURCESTATE_FAILED); T(log_items[0] == SG_LOGITEM_VALIDATE_ATTACHMENTSDESC_DEPTH_IMAGE_SAMPLE_COUNT); T(log_items[1] == SG_LOGITEM_VALIDATION_FAILED); sg_shutdown(); } UTEST(sokol_gfx, query_pixelformat_bytesperpixel) { setup(&(sg_desc){0}); T(sg_query_pixelformat(SG_PIXELFORMAT_R8).bytes_per_pixel == 1); T(sg_query_pixelformat(SG_PIXELFORMAT_R8SN).bytes_per_pixel == 1); T(sg_query_pixelformat(SG_PIXELFORMAT_R8UI).bytes_per_pixel == 1); T(sg_query_pixelformat(SG_PIXELFORMAT_R8SI).bytes_per_pixel == 1); T(sg_query_pixelformat(SG_PIXELFORMAT_R16).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_R16SN).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_R16UI).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_R16SI).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_R16F).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_RG8).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_RG8SN).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_RG8UI).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_RG8SI).bytes_per_pixel == 2); T(sg_query_pixelformat(SG_PIXELFORMAT_R32UI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_R32SI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_R32F).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG16).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG16SN).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG16UI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG16SI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG16F).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA8).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_SRGB8A8).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA8SN).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA8UI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA8SI).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_BGRA8).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGB10A2).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG11B10F).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RGB9E5).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_RG32UI).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RG32SI).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RG32F).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA16).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA16SN).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA16UI).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA16SI).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA16F).bytes_per_pixel == 8); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA32UI).bytes_per_pixel == 16); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA32SI).bytes_per_pixel == 16); T(sg_query_pixelformat(SG_PIXELFORMAT_RGBA32F).bytes_per_pixel == 16); T(sg_query_pixelformat(SG_PIXELFORMAT_DEPTH).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_DEPTH_STENCIL).bytes_per_pixel == 4); T(sg_query_pixelformat(SG_PIXELFORMAT_BC1_RGBA).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC2_RGBA).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC3_RGBA).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC4_R).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC4_RSN).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC5_RG).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC5_RGSN).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC6H_RGBF).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC6H_RGBUF).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_BC7_RGBA).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_PVRTC_RGB_2BPP).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_PVRTC_RGB_4BPP).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_PVRTC_RGBA_2BPP).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_PVRTC_RGBA_4BPP).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGB8).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGB8A1).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_ETC2_RGBA8).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11SN).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11).bytes_per_pixel == 0); T(sg_query_pixelformat(SG_PIXELFORMAT_EAC_R11SN).bytes_per_pixel == 0); sg_shutdown(); } UTEST(sokol_gfx, query_pixelformat_compressed) { setup(&(sg_desc){0}); int i = SG_PIXELFORMAT_NONE + 1; for (; i < SG_PIXELFORMAT_BC1_RGBA; i++) { T(sg_query_pixelformat((sg_pixel_format)i).compressed == false); } for (; i < _SG_PIXELFORMAT_NUM; i++) { T(sg_query_pixelformat((sg_pixel_format)i).compressed == true); } sg_shutdown(); } UTEST(sokol_gfx, query_row_pitch) { setup(&(sg_desc){0}); T(sg_query_row_pitch(SG_PIXELFORMAT_R8, 13, 1) == 13); T(sg_query_row_pitch(SG_PIXELFORMAT_R8, 13, 32) == 32); T(sg_query_row_pitch(SG_PIXELFORMAT_RG8SN, 256, 16) == 512); T(sg_query_row_pitch(SG_PIXELFORMAT_RGBA8, 256, 16) == 1024); T(sg_query_row_pitch(SG_PIXELFORMAT_BC1_RGBA, 1024, 1) == 2048); T(sg_query_row_pitch(SG_PIXELFORMAT_BC1_RGBA, 1, 1) == 8); T(sg_query_row_pitch(SG_PIXELFORMAT_DEPTH, 256, 4) == 1024); T(sg_query_row_pitch(SG_PIXELFORMAT_DEPTH_STENCIL, 256, 4) == 1024); sg_shutdown(); } UTEST(sokol_gfx, sg_query_surface_pitch) { setup(&(sg_desc){0}); T(sg_query_surface_pitch(SG_PIXELFORMAT_R8, 256, 256, 1) == (256 * 256)); T(sg_query_surface_pitch(SG_PIXELFORMAT_R8, 256, 256, 1024) == (256 * 1024)); T(sg_query_surface_pitch(SG_PIXELFORMAT_RG8, 1, 1, 1) == 2); T(sg_query_surface_pitch(SG_PIXELFORMAT_RG8, 256, 256, 4) == (256 * 256 * 2)); T(sg_query_surface_pitch(SG_PIXELFORMAT_RGBA32F, 256, 256, 1) == (256 * 256 * 16)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 256, 1) == (256 * 2 * 64)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 1, 1) == (256 * 2)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 2, 1) == (256 * 2)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 3, 1) == (256 * 2)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 4, 1) == (256 * 2)); T(sg_query_surface_pitch(SG_PIXELFORMAT_BC1_RGBA, 256, 5, 1) == (256 * 2 * 2)); sg_shutdown(); }
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_log_test.c
#define SOKOL_LOG_IMPL #include "sokol_log.h"
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_audio_test.c
//------------------------------------------------------------------------------ // sokol_audio_test.c //------------------------------------------------------------------------------ #define SOKOL_IMPL #ifndef SOKOL_DUMMY_BACKEND #define SOKOL_DUMMY_BACKEND #endif #include "sokol_audio.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) UTEST(sokol_audio, ring_buffer) { _saudio_ring_t rb; _saudio_ring_init(&rb, 4); T(0 == rb.head); T(0 == rb.tail); T(5 == rb.num); T(!_saudio_ring_full(&rb)); T(_saudio_ring_empty(&rb)); T(0 == _saudio_ring_count(&rb)); _saudio_ring_enqueue(&rb, 23); T(1 == rb.head); T(0 == rb.tail); T(!_saudio_ring_full(&rb)); T(!_saudio_ring_empty(&rb)); T(1 == _saudio_ring_count(&rb)); T(23 == _saudio_ring_dequeue(&rb)); T(1 == rb.head); T(1 == rb.tail); T(!_saudio_ring_full(&rb)); T(_saudio_ring_empty(&rb)); T(0 == _saudio_ring_count(&rb)); _saudio_ring_enqueue(&rb, 23); _saudio_ring_enqueue(&rb, 46); T(3 == rb.head); T(1 == rb.tail); T(!_saudio_ring_full(&rb)); T(!_saudio_ring_empty(&rb)); T(2 == _saudio_ring_count(&rb)); T(23 == _saudio_ring_dequeue(&rb)); T(46 == _saudio_ring_dequeue(&rb)); T(3 == rb.head); T(3 == rb.tail); T(!_saudio_ring_full(&rb)); T(_saudio_ring_empty(&rb)); T(0 == _saudio_ring_count(&rb)); _saudio_ring_enqueue(&rb, 12); _saudio_ring_enqueue(&rb, 34); _saudio_ring_enqueue(&rb, 56); _saudio_ring_enqueue(&rb, 78); T(2 == rb.head); T(3 == rb.tail); T(_saudio_ring_full(&rb)); T(!_saudio_ring_empty(&rb)); T(4 == _saudio_ring_count(&rb)); T(12 == _saudio_ring_dequeue(&rb)); T(2 == rb.head); T(4 == rb.tail); T(!_saudio_ring_full(&rb)); T(!_saudio_ring_empty(&rb)); T(3 == _saudio_ring_count(&rb)); _saudio_ring_enqueue(&rb, 90); T(3 == rb.head); T(4 == rb.tail); T(_saudio_ring_full(&rb)); T(!_saudio_ring_empty(&rb)); T(4 == _saudio_ring_count(&rb)); T(34 == _saudio_ring_dequeue(&rb)); T(56 == _saudio_ring_dequeue(&rb)); T(78 == _saudio_ring_dequeue(&rb)); T(90 == _saudio_ring_dequeue(&rb)); T(!_saudio_ring_full(&rb)); T(_saudio_ring_empty(&rb)); T(3 == rb.head); T(3 == rb.tail); } UTEST(saudio, api_test) { saudio_setup(&(saudio_desc){ .sample_rate = 22050, .num_channels = 2, .buffer_frames = 8192, .num_packets = 128, .packet_frames = 8192 / 128, .user_data = (void*)12345 }); T(saudio_isvalid()); T(saudio_query_desc().sample_rate == 22050); T(saudio_userdata() == (void*)12345); T(saudio_sample_rate() == 22050); T(saudio_channels() == 2); T(saudio_expect() == 8192); T(saudio_buffer_frames() == 8192); }
0
repos/sokol/tests
repos/sokol/tests/functional/CMakeLists.txt
if (NOT ANDROID) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/comsi.s3m DESTINATION ${CMAKE_BINARY_DIR}) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/assets/comsi.s3m DESTINATION ${CMAKE_BINARY_DIR}/Debug) set(c_sources sokol_log_test.c sokol_args_test.c sokol_audio_test.c sokol_debugtext_test.c sokol_fetch_test.c sokol_gfx_test.c sokol_gl_test.c sokol_shape_test.c sokol_color_test.c sokol_spine_test.c sokol_test.c ) add_executable(sokol-test ${c_sources}) target_link_libraries(sokol-test PUBLIC spine) configure_c(sokol-test) endif()
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_fetch_test.c
//------------------------------------------------------------------------------ // sokol-fetch-test.c // // FIXME: simulate allocation errors //------------------------------------------------------------------------------ #define SOKOL_IMPL #define SFETCH_MAX_USERDATA_UINT64 (8) #define SFETCH_MAX_PATH (32) #include "sokol_fetch.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) #define TSTR(s0, s1) EXPECT_TRUE(0 == strcmp(s0,s1)) static uint8_t load_file_buf[500000]; static const uint64_t combatsignal_file_size = 409482; typedef struct { int a, b, c; } userdata_t; static const _sfetch_item_t zeroed_item = {0}; #ifdef _WIN32 #include <windows.h> static void sleep_ms(int ms) { Sleep((DWORD)ms); } #else #include <unistd.h> static void sleep_ms(uint32_t ms) { usleep(ms * 1000); } #endif /* private implementation functions */ UTEST(sokol_fetch, path_make) { const char* str31 = "1234567890123456789012345678901"; const char* str32 = "12345678901234567890123456789012"; // max allowed string length (MAX_PATH - 1) _sfetch_path_t p31 = _sfetch_path_make(str31); TSTR(p31.buf, str31); // overflow _sfetch_path_t p32 = _sfetch_path_make(str32); T(p32.buf[0] == 0); } UTEST(sokol_fetch, make_id) { uint32_t slot_id = _sfetch_make_id(123, 456); T(slot_id == ((456<<16)|123)); T(_sfetch_slot_index(slot_id) == 123); } UTEST(sokol_fetch, item_init_discard) { userdata_t user_data = { .a = 123, .b = 456, .c = 789 }; sfetch_request_t request = { .channel = 4, .path = "hello_world.txt", .chunk_size = 128, .user_data = SFETCH_RANGE(user_data) }; _sfetch_item_t item = zeroed_item; uint32_t slot_id = _sfetch_make_id(1, 1); _sfetch_item_init(&item, slot_id, &request); T(item.handle.id == slot_id); T(item.channel == 4); T(item.lane == _SFETCH_INVALID_LANE); T(item.chunk_size == 128); T(item.state == _SFETCH_STATE_INITIAL); TSTR(item.path.buf, request.path); T(item.user.user_data_size == sizeof(userdata_t)); const userdata_t* ud = (const userdata_t*) item.user.user_data; T((((uintptr_t)ud) & 0x7) == 0); // check alignment T(ud->a == 123); T(ud->b == 456); T(ud->c == 789); item.state = _SFETCH_STATE_FETCHING; _sfetch_item_discard(&item); T(item.handle.id == 0); T(item.path.buf[0] == 0); T(item.state == _SFETCH_STATE_INITIAL); T(item.user.user_data_size == 0); T(item.user.user_data[0] == 0); } UTEST(sokol_fetch, item_init_path_overflow) { sfetch_request_t request = { .path = "012345678901234567890123456789012", }; _sfetch_item_t item = zeroed_item; _sfetch_item_init(&item, _sfetch_make_id(1, 1), &request); T(item.path.buf[0] == 0); } UTEST(sokol_fetch, item_init_userdata_overflow) { uint8_t big_data[128] = { 0xFF }; sfetch_request_t request = { .path = "hello_world.txt", .user_data = SFETCH_RANGE(big_data), }; _sfetch_item_t item = zeroed_item; _sfetch_item_init(&item, _sfetch_make_id(1, 1), &request); T(item.user.user_data_size == 0); T(item.user.user_data[0] == 0); } UTEST(sokol_fetch, pool_init_discard) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_pool_t pool = {0}; const uint32_t num_items = 127; T(_sfetch_pool_init(&pool, num_items)); T(pool.valid); T(pool.size == 128); T(pool.free_top == 127); T(pool.free_slots[0] == 127); T(pool.free_slots[1] == 126); T(pool.free_slots[126] == 1); _sfetch_pool_discard(&pool); T(!pool.valid); T(pool.free_slots == 0); T(pool.items == 0); sfetch_shutdown(); } UTEST(sokol_fetch, pool_alloc_free) { sfetch_setup(&(sfetch_desc_t){0}); uint8_t buf[32]; _sfetch_pool_t pool = {0}; const uint32_t num_items = 16; _sfetch_pool_init(&pool, num_items); uint32_t slot_id = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path = "hello_world.txt", .buffer = SFETCH_RANGE(buf), }); T(slot_id == 0x00010001); T(pool.items[1].state == _SFETCH_STATE_ALLOCATED); T(pool.items[1].handle.id == slot_id); TSTR(pool.items[1].path.buf, "hello_world.txt"); T(pool.items[1].buffer.ptr == buf); T(pool.items[1].buffer.size == sizeof(buf)); T(pool.free_top == 15); _sfetch_pool_item_free(&pool, slot_id); T(pool.items[1].handle.id == 0); T(pool.items[1].state == _SFETCH_STATE_INITIAL); T(pool.items[1].path.buf[0] == 0); T(pool.items[1].buffer.ptr == 0); T(pool.items[1].buffer.size == 0); T(pool.free_top == 16); _sfetch_pool_discard(&pool); sfetch_shutdown(); } UTEST(sokol_fetch, pool_overflow) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_pool_t pool = {0}; _sfetch_pool_init(&pool, 4); uint32_t id0 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path0" }); uint32_t id1 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path1" }); uint32_t id2 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path2" }); uint32_t id3 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path3" }); // next alloc should fail uint32_t id4 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path4" }); T(id0 == 0x00010001); T(id1 == 0x00010002); T(id2 == 0x00010003); T(id3 == 0x00010004); T(id4 == 0); T(pool.items[1].handle.id == id0); T(pool.items[2].handle.id == id1); T(pool.items[3].handle.id == id2); T(pool.items[4].handle.id == id3); // free one item, alloc should work now _sfetch_pool_item_free(&pool, id0); uint32_t id5 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path5" }); T(id5 == 0x00020001); T(pool.items[1].handle.id == id5); TSTR(pool.items[1].path.buf, "path5"); _sfetch_pool_discard(&pool); sfetch_shutdown(); } UTEST(sokol_fetch, lookup_item) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_pool_t pool = {0}; _sfetch_pool_init(&pool, 4); uint32_t id0 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path0" }); uint32_t id1 = _sfetch_pool_item_alloc(&pool, &(sfetch_request_t){ .path="path1" }); const _sfetch_item_t* item0 = _sfetch_pool_item_lookup(&pool, id0); const _sfetch_item_t* item1 = _sfetch_pool_item_lookup(&pool, id1); T(item0 == &pool.items[1]); T(item1 == &pool.items[2]); /* invalid handle always returns 0-ptr */ T(0 == _sfetch_pool_item_lookup(&pool, _sfetch_make_id(0, 0))); /* free an item and make sure it's detected as dangling */ _sfetch_pool_item_free(&pool, id0); T(0 == _sfetch_pool_item_lookup(&pool, id0)); _sfetch_pool_discard(&pool); sfetch_shutdown(); } UTEST(sokol_fetch, ring_init_discard) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_ring_t ring = {0}; const uint32_t num_slots = 4; T(_sfetch_ring_init(&ring, num_slots)); T(ring.head == 0); T(ring.tail == 0); T(ring.num == (num_slots + 1)); T(ring.buf); _sfetch_ring_discard(&ring); T(ring.head == 0); T(ring.tail == 0); T(ring.num == 0); T(ring.buf == 0); sfetch_shutdown(); } UTEST(sokol_fetch, ring_enqueue_dequeue) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_ring_t ring = {0}; const uint32_t num_slots = 4; _sfetch_ring_init(&ring, num_slots); T(_sfetch_ring_count(&ring) == 0); T(_sfetch_ring_empty(&ring)); T(!_sfetch_ring_full(&ring)); for (uint32_t i = 0; i < num_slots; i++) { T(!_sfetch_ring_full(&ring)); _sfetch_ring_enqueue(&ring, _sfetch_make_id(1, i+1)); T(_sfetch_ring_count(&ring) == (i+1)); T(!_sfetch_ring_empty(&ring)); } T(_sfetch_ring_count(&ring) == 4); T(!_sfetch_ring_empty(&ring)); T(_sfetch_ring_full(&ring)); for (uint32_t i = 0; i < num_slots; i++) { T(_sfetch_ring_peek(&ring, i) == _sfetch_make_id(1, i+1)); } for (uint32_t i = 0; i < num_slots; i++) { T(!_sfetch_ring_empty(&ring)); const uint32_t slot_id = _sfetch_ring_dequeue(&ring); T(slot_id == _sfetch_make_id(1, i+1)); T(!_sfetch_ring_full(&ring)); } T(_sfetch_ring_count(&ring) == 0); T(_sfetch_ring_empty(&ring)); T(!_sfetch_ring_full(&ring)); _sfetch_ring_discard(&ring); sfetch_shutdown(); } UTEST(sokol_fetch, ring_wrap_around) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_ring_t ring = {0}; _sfetch_ring_init(&ring, 4); uint32_t i = 0; for (i = 0; i < 4; i++) { _sfetch_ring_enqueue(&ring, _sfetch_make_id(1, i+1)); } T(_sfetch_ring_full(&ring)); for (; i < 64; i++) { T(_sfetch_ring_full(&ring)); T(_sfetch_ring_dequeue(&ring) == _sfetch_make_id(1, (i - 3))); T(!_sfetch_ring_full(&ring)); _sfetch_ring_enqueue(&ring, _sfetch_make_id(1, i+1)); } T(_sfetch_ring_full(&ring)); for (i = 0; i < 4; i++) { T(_sfetch_ring_dequeue(&ring) == _sfetch_make_id(1, (i + 61))); } T(_sfetch_ring_empty(&ring)); _sfetch_ring_discard(&ring); sfetch_shutdown(); } UTEST(sokol_fetch, ring_wrap_count) { sfetch_setup(&(sfetch_desc_t){0}); _sfetch_ring_t ring = {0}; _sfetch_ring_init(&ring, 8); // add and remove 4 items to move tail to the middle for (uint32_t i = 0; i < 4; i++) { _sfetch_ring_enqueue(&ring, _sfetch_make_id(1, i+1)); _sfetch_ring_dequeue(&ring); T(_sfetch_ring_empty(&ring)); } // add another 8 items for (uint32_t i = 0; i < 8; i++) { _sfetch_ring_enqueue(&ring, _sfetch_make_id(1, i+1)); } // now test, dequeue and test... T(_sfetch_ring_full(&ring)); for (uint32_t i = 0; i < 8; i++) { T(_sfetch_ring_count(&ring) == (8 - i)); _sfetch_ring_dequeue(&ring); } T(_sfetch_ring_count(&ring) == 0); T(_sfetch_ring_empty(&ring)); _sfetch_ring_discard(&ring); sfetch_shutdown(); } /* NOTE: channel_worker is called from a thread */ static int num_processed_items = 0; static void channel_worker(_sfetch_t* ctx, uint32_t slot_id) { (void)ctx; (void)slot_id; num_processed_items++; } UTEST(sokol_fetch, channel_init_discard) { sfetch_setup(&(sfetch_desc_t){0}); num_processed_items = 0; _sfetch_channel_t chn = {0}; const uint32_t num_slots = 12; const uint32_t num_lanes = 64; _sfetch_channel_init(&chn, 0, num_slots, num_lanes, channel_worker); T(chn.valid); T(_sfetch_ring_full(&chn.free_lanes)); T(_sfetch_ring_empty(&chn.user_sent)); T(_sfetch_ring_empty(&chn.user_incoming)); #if !defined(__EMSCRIPTEN__) T(_sfetch_ring_empty(&chn.thread_incoming)); T(_sfetch_ring_empty(&chn.thread_outgoing)); #endif T(_sfetch_ring_empty(&chn.user_outgoing)); _sfetch_channel_discard(&chn); T(!chn.valid); sfetch_shutdown(); } /* public API functions */ UTEST(sokol_fetch, setup_shutdown) { sfetch_setup(&(sfetch_desc_t){0}); T(sfetch_valid()); // check default values T(sfetch_desc().max_requests == 128); T(sfetch_desc().num_channels == 1); T(sfetch_desc().num_lanes == 1); sfetch_shutdown(); T(!sfetch_valid()); } UTEST(sokol_fetch, setup_too_many_channels) { /* try to initialize with too many channels, this should clamp to SFETCH_MAX_CHANNELS */ sfetch_setup(&(sfetch_desc_t){ .num_channels = 64 }); T(sfetch_valid()); T(sfetch_desc().num_channels == SFETCH_MAX_CHANNELS); sfetch_shutdown(); } UTEST(sokol_fetch, max_path) { T(sfetch_max_path() == SFETCH_MAX_PATH); } UTEST(sokol_fetch, max_userdata) { T(sfetch_max_userdata_bytes() == (SFETCH_MAX_USERDATA_UINT64 * sizeof(uint64_t))); } static uint8_t fail_open_buffer[128]; static bool fail_open_passed; static void fail_open_callback(const sfetch_response_t* response) { /* if opening a file fails, it will immediate switch into CLOSED state */ if ((response->failed) && (response->error_code == SFETCH_ERROR_FILE_NOT_FOUND)) { fail_open_passed = true; } } UTEST(sokol_fetch, fail_open) { sfetch_setup(&(sfetch_desc_t){0}); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "non_existing_file.txt", .callback = fail_open_callback, .buffer = SFETCH_RANGE(fail_open_buffer), }); fail_open_passed = false; int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(fail_open_passed); sfetch_shutdown(); } static bool load_file_fixed_buffer_passed; // The file callback is called from the "current user thread" (the same // thread where the sfetch_send() for this request was called). Note that you // can call sfetch_setup/shutdown() on multiple threads, each thread will // get its own thread-local "sokol-fetch instance" and its own set of // IO-channel threads. static void load_file_fixed_buffer_callback(const sfetch_response_t* response) { // when loading the whole file at once, the fetched state // is the best place to grab/process the data if (response->fetched) { if ((response->data_offset == 0) && (response->data.ptr == load_file_buf) && (response->data.size == combatsignal_file_size) && (response->buffer.ptr == load_file_buf) && (response->buffer.size == sizeof(load_file_buf)) && response->finished) { load_file_fixed_buffer_passed = true; } } } UTEST(sokol_fetch, load_file_fixed_buffer) { memset(load_file_buf, 0, sizeof(load_file_buf)); sfetch_setup(&(sfetch_desc_t){0}); // send a load-request for a file where we know the max size upfront, // so we can provide a buffer right in the fetch request (otherwise // the buffer needs to be provided in the callback when the request // is in OPENED state, since only then the file size will be known). sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_fixed_buffer_callback, .buffer = SFETCH_RANGE(load_file_buf), }); // simulate a frame-loop for as long as the request is in flight, normally // the sfetch_dowork() function is just called somewhere in the frame // to pump messages in and out of the IO threads, and invoke user-callbacks int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_fixed_buffer_passed); sfetch_shutdown(); } /* tests whether files with unknown size are processed correctly */ static bool load_file_unknown_size_opened_passed; static bool load_file_unknown_size_fetched_passed; static void load_file_unknown_size_callback(const sfetch_response_t* response) { if (response->dispatched) { if ((response->data_offset == 0) && (response->data.ptr == 0) && (response->data.size == 0) && (response->buffer.ptr == 0) && (response->buffer.size == 0) && !response->finished) { load_file_unknown_size_opened_passed = true; sfetch_bind_buffer(response->handle, SFETCH_RANGE(load_file_buf)); } } else if (response->fetched) { if ((response->data_offset == 0) && (response->data.ptr == load_file_buf) && (response->data.size == combatsignal_file_size) && (response->buffer.ptr == load_file_buf) && (response->buffer.size == sizeof(load_file_buf)) && response->finished) { load_file_unknown_size_fetched_passed = true; } } } UTEST(sokol_fetch, load_file_unknown_size) { memset(load_file_buf, 0, sizeof(load_file_buf)); sfetch_setup(&(sfetch_desc_t){0}); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_unknown_size_callback }); int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_unknown_size_opened_passed); T(load_file_unknown_size_fetched_passed); sfetch_shutdown(); } /* tests whether not providing a buffer in OPENED properly fails */ static bool load_file_no_buffer_opened_passed; static bool load_file_no_buffer_failed_passed; static void load_file_no_buffer_callback(const sfetch_response_t* response) { if (response->dispatched) { if ((response->data_offset == 0) && (response->data.ptr == 0) && (response->data.size == 0) && (response->buffer.ptr == 0) && (response->buffer.size == 0) && !response->finished) { /* DO NOT provide a buffer here, see if that properly fails */ load_file_no_buffer_opened_passed = true; } } else if ((response->failed) && (response->error_code == SFETCH_ERROR_NO_BUFFER)) { if (load_file_no_buffer_opened_passed) { load_file_no_buffer_failed_passed = true; } } } UTEST(sokol_fetch, load_file_no_buffer) { memset(load_file_buf, 0, sizeof(load_file_buf)); sfetch_setup(&(sfetch_desc_t){0}); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_no_buffer_callback }); int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_no_buffer_opened_passed); T(load_file_no_buffer_failed_passed); sfetch_shutdown(); } static bool load_file_too_small_passed; static uint8_t load_file_too_small_buf[8192]; static void load_file_too_small_callback(const sfetch_response_t* response) { if (response->failed && (response->error_code == SFETCH_ERROR_BUFFER_TOO_SMALL)) { load_file_too_small_passed = true; } } UTEST(sokol_fetch, load_file_too_small_buffer) { memset(load_file_buf, 0, sizeof(load_file_buf)); sfetch_setup(&(sfetch_desc_t){0}); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_too_small_callback, .buffer = SFETCH_RANGE(load_file_too_small_buf), }); int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_too_small_passed); sfetch_shutdown(); } /* test loading a big file via a small chunk-buffer, the callback will be called multiple times with the FETCHED state until the entire file is loaded */ static bool load_file_chunked_passed; static uint8_t load_chunk_buf[8192]; static uint8_t load_file_chunked_content[500000]; static void load_file_chunked_callback(const sfetch_response_t* response) { if (response->fetched) { uint8_t* dst = &load_file_chunked_content[response->data_offset]; const uint8_t* src = response->data.ptr; size_t num_bytes = response->data.size; memcpy(dst, src, num_bytes); if (response->finished) { load_file_chunked_passed = true; } } } UTEST(sokol_fetch, load_file_chunked) { memset(load_file_buf, 0, sizeof(load_file_buf)); memset(load_chunk_buf, 0, sizeof(load_chunk_buf)); memset(load_file_chunked_content, 0, sizeof(load_file_chunked_content)); load_file_fixed_buffer_passed = false; sfetch_setup(&(sfetch_desc_t){0}); // request for chunked-loading sfetch_handle_t h0 = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_chunked_callback, .buffer = SFETCH_RANGE(load_chunk_buf), .chunk_size = sizeof(load_chunk_buf) }); // request for all-in-one loading for comparing with the chunked buffer sfetch_handle_t h1 = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_fixed_buffer_callback, .buffer = SFETCH_RANGE(load_file_buf), }); int frame_count = 0; const int max_frames = 10000; while ((sfetch_handle_valid(h0) || sfetch_handle_valid(h1)) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_chunked_passed); T(0 == memcmp(load_file_chunked_content, load_file_buf, combatsignal_file_size)); sfetch_shutdown(); } /* load N big files in small chunks interleaved on the same channel via lanes */ #define LOAD_FILE_LANES_NUM_LANES (4) static uint8_t load_file_lanes_chunk_buf[LOAD_FILE_LANES_NUM_LANES][8192]; static uint8_t load_file_lanes_content[LOAD_FILE_LANES_NUM_LANES][500000]; static int load_file_lanes_passed[LOAD_FILE_LANES_NUM_LANES]; static void load_file_lanes_callback(const sfetch_response_t* response) { assert((response->channel == 0) && (response->lane < LOAD_FILE_LANES_NUM_LANES)); if (response->fetched) { uint8_t* dst = &load_file_lanes_content[response->lane][response->data_offset]; const uint8_t* src = response->data.ptr; size_t num_bytes = response->data.size; memcpy(dst, src, num_bytes); if (response->finished) { load_file_lanes_passed[response->lane]++; } } } UTEST(sokol_fetch, load_file_lanes) { for (int i = 0; i < LOAD_FILE_LANES_NUM_LANES; i++) { memset(load_file_lanes_content[i], i, sizeof(load_file_lanes_content[i])); } sfetch_setup(&(sfetch_desc_t){ .num_channels = 1, .num_lanes = LOAD_FILE_LANES_NUM_LANES, }); sfetch_handle_t h[LOAD_FILE_LANES_NUM_LANES]; for (int lane = 0; lane < LOAD_FILE_LANES_NUM_LANES; lane++) { h[lane] = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_lanes_callback, .buffer = { .ptr = load_file_lanes_chunk_buf[lane], .size = sizeof(load_file_lanes_chunk_buf[0]) }, .chunk_size = sizeof(load_file_lanes_chunk_buf[0]) }); } bool done = false; int frame_count = 0; const int max_frames = 10000; while (!done && (frame_count++ < max_frames)) { done = true; for (int i = 0; i < LOAD_FILE_LANES_NUM_LANES; i++) { done &= !sfetch_handle_valid(h[i]); } sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); for (int i = 0; i < LOAD_FILE_LANES_NUM_LANES; i++) { T(1 == load_file_lanes_passed[i]); T(0 == memcmp(load_file_lanes_content[0], load_file_lanes_content[i], combatsignal_file_size)); } sfetch_shutdown(); } /* same as above, but issue more requests than available lanes to test if rate-limiting works */ #define LOAD_FILE_THROTTLE_NUM_LANES (4) #define LOAD_FILE_THROTTLE_NUM_PASSES (3) #define LOAD_FILE_THROTTLE_NUM_REQUESTS (12) // lanes * passes static uint8_t load_file_throttle_chunk_buf[LOAD_FILE_THROTTLE_NUM_LANES][128000]; static uint8_t load_file_throttle_content[LOAD_FILE_THROTTLE_NUM_PASSES][LOAD_FILE_THROTTLE_NUM_LANES][500000]; static int load_file_throttle_passed[LOAD_FILE_THROTTLE_NUM_LANES]; static void load_file_throttle_callback(const sfetch_response_t* response) { assert((response->channel == 0) && (response->lane < LOAD_FILE_LANES_NUM_LANES)); if (response->fetched) { assert(load_file_throttle_passed[response->lane] < LOAD_FILE_THROTTLE_NUM_PASSES); uint8_t* dst = &load_file_throttle_content[load_file_throttle_passed[response->lane]][response->lane][response->data_offset]; const uint8_t* src = response->data.ptr; size_t num_bytes = response->data.size; memcpy(dst, src, num_bytes); if (response->finished) { load_file_throttle_passed[response->lane]++; } } } UTEST(sokol_fetch, load_file_throttle) { for (int pass = 0; pass < LOAD_FILE_THROTTLE_NUM_PASSES; pass++) { for (int lane = 0; lane < LOAD_FILE_THROTTLE_NUM_LANES; lane++) { memset(load_file_throttle_content[pass][lane], 10*pass+lane, sizeof(load_file_throttle_content[pass][lane])); } } sfetch_setup(&(sfetch_desc_t){ .num_channels = 1, .num_lanes = LOAD_FILE_THROTTLE_NUM_LANES, }); sfetch_handle_t h[LOAD_FILE_THROTTLE_NUM_REQUESTS]; for (int i = 0; i < LOAD_FILE_THROTTLE_NUM_REQUESTS; i++) { h[i] = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_throttle_callback, .buffer = { .ptr = load_file_throttle_chunk_buf[i % LOAD_FILE_THROTTLE_NUM_LANES], .size = sizeof(load_file_throttle_chunk_buf[0]), }, .chunk_size = sizeof(load_file_throttle_chunk_buf[0]) }); T(sfetch_handle_valid(h[i])); } bool done = false; int frame_count = 0; const int max_frames = 10000; while (!done && (frame_count++ < max_frames)) { done = true; for (int i = 0; i < LOAD_FILE_THROTTLE_NUM_REQUESTS; i++) { done &= !sfetch_handle_valid(h[i]); } sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); for (int lane = 0; lane < LOAD_FILE_THROTTLE_NUM_LANES; lane++) { T(LOAD_FILE_THROTTLE_NUM_PASSES == load_file_throttle_passed[lane]); for (int pass = 0; pass < LOAD_FILE_THROTTLE_NUM_PASSES; pass++) { T(0 == memcmp(load_file_throttle_content[0][0], load_file_throttle_content[pass][lane], combatsignal_file_size)); } } sfetch_shutdown(); } /* test parallel fetches on multiple channels */ #define LOAD_CHANNEL_NUM_CHANNELS (16) static uint8_t load_channel_buf[LOAD_CHANNEL_NUM_CHANNELS][500000]; static bool load_channel_passed[LOAD_CHANNEL_NUM_CHANNELS]; void load_channel_callback(const sfetch_response_t* response) { assert(response->channel < LOAD_CHANNEL_NUM_CHANNELS); assert(!load_channel_passed[response->channel]); if (response->fetched) { if ((response->data.size == combatsignal_file_size) && response->finished) { load_channel_passed[response->channel] = true; } } } UTEST(sokol_fetch, load_channel) { for (int chn = 0; chn < LOAD_CHANNEL_NUM_CHANNELS; chn++) { memset(load_channel_buf[chn], chn, sizeof(load_channel_buf[chn])); } sfetch_setup(&(sfetch_desc_t){ .num_channels = LOAD_CHANNEL_NUM_CHANNELS }); sfetch_handle_t h[LOAD_CHANNEL_NUM_CHANNELS]; for (uint32_t chn = 0; chn < LOAD_CHANNEL_NUM_CHANNELS; chn++) { h[chn] = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .channel = chn, .callback = load_channel_callback, .buffer = SFETCH_RANGE(load_channel_buf[chn]), }); } bool done = false; int frame_count = 0; const int max_frames = 100000; while (!done && (frame_count++ < max_frames)) { done = true; for (int i = 0; i < LOAD_CHANNEL_NUM_CHANNELS; i++) { done &= !sfetch_handle_valid(h[i]); } sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); for (int chn = 0; chn < LOAD_CHANNEL_NUM_CHANNELS; chn++) { T(load_channel_passed[chn]); T(0 == memcmp(load_channel_buf[0], load_channel_buf[chn], combatsignal_file_size)); } sfetch_shutdown(); } static bool load_file_cancel_passed = false; static void load_file_cancel_callback(const sfetch_response_t* response) { if (response->dispatched) { sfetch_cancel(response->handle); } if (response->cancelled && response->finished && response->failed && (response->error_code == SFETCH_ERROR_CANCELLED)) { load_file_cancel_passed = true; } } UTEST(sokol_fetch, load_file_cancel) { sfetch_setup(&(sfetch_desc_t){ .num_channels = 1 }); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_cancel_callback, }); int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sleep_ms(1); } T(frame_count < max_frames); T(load_file_cancel_passed); sfetch_shutdown(); } static bool load_file_cancel_before_dispatch_passed = false; static void load_file_cancel_before_dispatch_callback(const sfetch_response_t* response) { // cancelled, finished, failed and error code must all be set if (response->cancelled && response->finished && response->failed && (response->error_code == SFETCH_ERROR_CANCELLED)) { load_file_cancel_before_dispatch_passed = true; } } UTEST(sokol_fetch, load_file_cancel_before_dispatch) { sfetch_setup(&(sfetch_desc_t){ .num_channels = 1, }); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_cancel_before_dispatch_callback, }); sfetch_cancel(h); sfetch_dowork(); T(load_file_cancel_before_dispatch_passed); sfetch_shutdown(); } static bool load_file_cancel_after_dispatch_passed = false; static void load_file_cancel_after_dispatch_callback(const sfetch_response_t* response) { // when cancelled, then finished, failed and error code must all be set if (response->cancelled && response->finished && response->failed && (response->error_code == SFETCH_ERROR_CANCELLED)) { load_file_cancel_after_dispatch_passed = true; } } UTEST(sokol_fetch, load_file_cancel_after_dispatch) { sfetch_setup(&(sfetch_desc_t){ .num_channels = 1, }); sfetch_handle_t h = sfetch_send(&(sfetch_request_t){ .path = "comsi.s3m", .callback = load_file_cancel_after_dispatch_callback, .buffer = SFETCH_RANGE(load_file_buf), }); int frame_count = 0; const int max_frames = 10000; while (sfetch_handle_valid(h) && (frame_count++ < max_frames)) { sfetch_dowork(); sfetch_cancel(h); sleep_ms(1); } T(frame_count < max_frames); T(load_file_cancel_after_dispatch_passed); sfetch_shutdown(); }
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_spine_test.c
//------------------------------------------------------------------------------ // sokol_spine_test.c //------------------------------------------------------------------------------ #include "sokol_gfx.h" #define SOKOL_SPINE_IMPL #include "spine/spine.h" #include "sokol_spine.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) static sspine_log_item last_logitem = SSPINE_LOGITEM_OK; static void log_func(const char* tag, uint32_t log_level, uint32_t log_item, const char* message, uint32_t line_nr, const char* filename, void* user_data) { (void)tag; (void)log_level; (void)message; (void)line_nr; (void)filename; (void)user_data; last_logitem = log_item; } static void init(void) { last_logitem = SSPINE_LOGITEM_OK; sg_setup(&(sg_desc){0}); sspine_setup(&(sspine_desc){ .logger = { .func = log_func } }); } static void init_with_desc(const sspine_desc* desc) { last_logitem = SSPINE_LOGITEM_OK; sspine_desc desc1 = *desc; desc1.logger.func = log_func; sg_setup(&(sg_desc){0}); sspine_setup(&desc1); } static void shutdown(void) { sspine_shutdown(); sg_shutdown(); } // NOTE: this guarantees that the data is zero terminated because the loaded data // might either be binary or text (the zero sentinel is NOT counted in the returned size) static sspine_range load_data(const char* path) { assert(path); FILE* fp = fopen(path, "rb"); assert(fp); fseek(fp, 0, SEEK_END); const size_t size = (size_t)ftell(fp); fseek(fp, 0, SEEK_SET); // room for terminating zero const size_t alloc_size = size + 1; uint8_t* ptr = (uint8_t*)malloc(alloc_size); memset(ptr, 0, alloc_size); // NOTE: GCC warns if result of fread() is ignored size_t num_bytes = fread(ptr, size, 1, fp); (void)num_bytes; fclose(fp); return (sspine_range) { .ptr = ptr, .size = size }; } static void free_data(sspine_range r) { free((void*)r.ptr); } static sspine_atlas create_atlas(void) { sspine_range atlas_data = load_data("spineboy.atlas"); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ .data = atlas_data }); free_data(atlas_data); return atlas; } static sspine_skeleton create_skeleton_json(sspine_atlas atlas) { sspine_range skeleton_json_data = load_data("spineboy-pro.json"); sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .json_data = (const char*)skeleton_json_data.ptr }); free_data(skeleton_json_data); return skeleton; } static sspine_skeleton create_skeleton_binary(sspine_atlas atlas) { sspine_range skeleton_binary_data = load_data("spineboy-pro.skel"); sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .binary_data = skeleton_binary_data }); free_data(skeleton_binary_data); return skeleton; } static sspine_skeleton create_skeleton(void) { return create_skeleton_json(create_atlas()); } static sspine_instance create_instance(void) { return sspine_make_instance(&(sspine_instance_desc){ .skeleton = create_skeleton(), }); } UTEST(sokol_spine, default_init_shutdown) { // FIXME! T(true); } UTEST(sokol_spine, atlas_pool_exhausted) { init_with_desc(&(sspine_desc){ .atlas_pool_size = 4, }); for (int i = 0; i < 4; i++) { sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){0}); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_ATLAS_DESC_NO_DATA); } sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){0}); T(SSPINE_INVALID_ID == atlas.id); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_INVALID); T(last_logitem == SSPINE_LOGITEM_ATLAS_POOL_EXHAUSTED); shutdown(); } UTEST(sokol_spine, make_destroy_atlas_ok) { init(); sspine_atlas atlas = create_atlas(); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_VALID); T(sspine_atlas_valid(atlas)); sspine_destroy_atlas(atlas); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_INVALID); T(!sspine_atlas_valid(atlas)) shutdown(); } UTEST(sokol_spine, make_atlas_fail_no_data) { init(); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){0}); T(atlas.id != SSPINE_INVALID_ID); T(last_logitem == SSPINE_LOGITEM_ATLAS_DESC_NO_DATA); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_FAILED); T(!sspine_atlas_valid(atlas)); shutdown(); } // an invalid atlas must return zero number of images UTEST(sokol_spine, failed_atlas_no_images) { init(); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){0}); T(last_logitem == SSPINE_LOGITEM_ATLAS_DESC_NO_DATA); T(atlas.id != SSPINE_INVALID_ID); T(!sspine_atlas_valid(atlas)); T(sspine_num_images(atlas) == 0); shutdown(); } // NOTE: spine-c doesn't detect wrong/corrupt atlas file data, so we can't test for that UTEST(sokol_spine, image_valid) { init(); sspine_atlas atlas = create_atlas(); T(sspine_image_valid(sspine_image_by_index(atlas, 0))); T(!sspine_image_valid(sspine_image_by_index(atlas, 1))); T(!sspine_image_valid(sspine_image_by_index(atlas, -1))); sspine_destroy_atlas(atlas); T(!sspine_image_valid(sspine_image_by_index(atlas, 0))); shutdown(); } UTEST(sokol_spine, atlas_image_info) { init(); sspine_atlas atlas = create_atlas(); T(sspine_atlas_valid(atlas)); T(sspine_num_images(atlas) == 1); const sspine_image_info img_info = sspine_get_image_info(sspine_image_by_index(atlas, 0)); T(img_info.valid); T(img_info.sgimage.id != SG_INVALID_ID); T(sg_query_image_state(img_info.sgimage) == SG_RESOURCESTATE_ALLOC); T(strcmp(img_info.filename.cstr, "spineboy.png") == 0); T(img_info.min_filter == SG_FILTER_LINEAR); T(img_info.mag_filter == SG_FILTER_LINEAR); T(img_info.wrap_u == SG_WRAP_CLAMP_TO_EDGE); T(img_info.wrap_v == SG_WRAP_CLAMP_TO_EDGE); T(img_info.width == 1024); T(img_info.height == 256); T(img_info.premul_alpha == false); shutdown(); } UTEST(sokol_spine, atlas_with_overrides) { init(); sspine_range atlas_data = load_data("spineboy.atlas"); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ .data = atlas_data, .override = { .min_filter = SG_FILTER_NEAREST, .mag_filter = SG_FILTER_NEAREST, .mipmap_filter = SG_FILTER_LINEAR, .wrap_u = SG_WRAP_REPEAT, .wrap_v = SG_WRAP_CLAMP_TO_EDGE, .premul_alpha_enabled = true, } }); T(sspine_atlas_valid(atlas)); T(sspine_num_images(atlas) == 1); const sspine_image_info img_info = sspine_get_image_info(sspine_image_by_index(atlas, 0)); T(img_info.valid); T(img_info.sgimage.id != SG_INVALID_ID); T(sg_query_image_state(img_info.sgimage) == SG_RESOURCESTATE_ALLOC); T(strcmp(img_info.filename.cstr, "spineboy.png") == 0); T(img_info.min_filter == SG_FILTER_NEAREST); T(img_info.mag_filter == SG_FILTER_NEAREST); T(img_info.mipmap_filter == SG_FILTER_LINEAR); T(img_info.wrap_u == SG_WRAP_REPEAT); T(img_info.wrap_v == SG_WRAP_CLAMP_TO_EDGE); T(img_info.width == 1024); T(img_info.height == 256); T(img_info.premul_alpha == true); shutdown(); } UTEST(sokol_spine, skeleton_pool_exhausted) { init_with_desc(&(sspine_desc){ .skeleton_pool_size = 4 }); for (int i = 0; i < 4; i++) { sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){0}); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_SKELETON_DESC_NO_DATA); } sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){0}); T(SSPINE_INVALID_ID == skeleton.id); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_INVALID); T(last_logitem == SSPINE_LOGITEM_SKELETON_POOL_EXHAUSTED); shutdown(); } UTEST(sokol_spine, make_destroy_skeleton_json_ok) { init(); sspine_skeleton skeleton = create_skeleton_json(create_atlas()); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_VALID); T(sspine_skeleton_valid(skeleton)); sspine_destroy_skeleton(skeleton); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_INVALID); T(!sspine_skeleton_valid(skeleton)); shutdown(); } UTEST(sokol_spine, make_destroy_skeleton_binary_ok) { init(); sspine_skeleton skeleton = create_skeleton_binary(create_atlas()); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_VALID); T(sspine_skeleton_valid(skeleton)); sspine_destroy_skeleton(skeleton); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_INVALID); T(!sspine_skeleton_valid(skeleton)); shutdown(); } UTEST(sokol_spine, make_skeleton_fail_no_data) { init(); sspine_atlas atlas = create_atlas(); sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas }); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); T(!sspine_skeleton_valid(skeleton)); T(last_logitem == SSPINE_LOGITEM_SKELETON_DESC_NO_DATA); shutdown(); } UTEST(sokol_spine, make_skeleton_fail_no_atlas) { init(); sspine_range skeleton_json_data = load_data("spineboy-pro.json"); sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .json_data = (const char*)skeleton_json_data.ptr }); free_data(skeleton_json_data); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); T(!sspine_skeleton_valid(skeleton)); T(last_logitem == SSPINE_LOGITEM_SKELETON_DESC_NO_ATLAS); shutdown(); } UTEST(sokol_spine, make_skeleton_fail_with_failed_atlas) { init(); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){0}); T(last_logitem == SSPINE_LOGITEM_ATLAS_DESC_NO_DATA); T(sspine_get_atlas_resource_state(atlas) == SSPINE_RESOURCESTATE_FAILED); sspine_skeleton skeleton = create_skeleton_json(atlas); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); T(!sspine_skeleton_valid(skeleton)); T(last_logitem == SSPINE_LOGITEM_SKELETON_ATLAS_NOT_VALID); shutdown(); } UTEST(sokol_spine, make_skeleton_json_fail_corrupt_data) { init(); sspine_atlas atlas = create_atlas(); const char* invalid_json_data = "This is not valid JSON!"; sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .json_data = (const char*)invalid_json_data, }); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_CREATE_SKELETON_DATA_FROM_JSON_FAILED); sspine_destroy_skeleton(skeleton); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_INVALID); shutdown(); } // FIXME: this crashes the spine-c runtime /* UTEST(sokol_spine, make_skeleton_binary_fail_corrupt_data) { init(); sspine_atlas atlas = create_atlas(); uint8_t invalid_binary_data[] = { 0x23, 0x63, 0x11, 0xFF }; sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .binary_data = { .ptr = invalid_binary_data, .size = sizeof(invalid_binary_data) } }); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_FAILED); sspine_destroy_skeleton(skeleton); T(sspine_get_skeleton_resource_state(skeleton) == SSPINE_RESOURCESTATE_INVALID); shutdown(); } */ UTEST(sokol_spine, instance_pool_exhausted) { init_with_desc(&(sspine_desc){ .instance_pool_size = 4 }); for (int i = 0; i < 4; i++) { sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){0}); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_INSTANCE_DESC_NO_SKELETON); } sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){0}); T(SSPINE_INVALID_ID == instance.id); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_INVALID); T(last_logitem == SSPINE_LOGITEM_INSTANCE_POOL_EXHAUSTED); shutdown(); } UTEST(sokol_spine, make_destroy_instance_ok) { init(); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = create_skeleton_json(create_atlas()) }); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_VALID); T(sspine_instance_valid(instance)); sspine_destroy_instance(instance); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_INVALID); T(!sspine_instance_valid(instance)); shutdown(); } UTEST(sokol_spine, make_instance_fail_no_skeleton) { init(); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){0}); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_INSTANCE_DESC_NO_SKELETON); sspine_destroy_instance(instance); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_INVALID); shutdown(); } UTEST(sokol_spine, make_instance_fail_with_failed_skeleton) { init(); sspine_skeleton failed_skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){0}); T(last_logitem == SSPINE_LOGITEM_SKELETON_DESC_NO_DATA); T(sspine_get_skeleton_resource_state(failed_skeleton) == SSPINE_RESOURCESTATE_FAILED); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = failed_skeleton }); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_INSTANCE_SKELETON_NOT_VALID); shutdown(); } UTEST(sokol_spine, make_instance_fail_with_destroyed_atlas) { init(); sspine_atlas atlas = create_atlas(); T(sspine_atlas_valid(atlas)); sspine_skeleton skeleton = create_skeleton_json(atlas); T(sspine_skeleton_valid(skeleton)); sspine_destroy_atlas(atlas); T(!sspine_atlas_valid(atlas)); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = skeleton }); T(sspine_get_instance_resource_state(instance) == SSPINE_RESOURCESTATE_FAILED); T(last_logitem == SSPINE_LOGITEM_INSTANCE_ATLAS_NOT_VALID); shutdown(); } UTEST(sokol_spine, get_skeleton_atlas) { init(); sspine_atlas atlas = create_atlas(); sspine_skeleton skeleton = create_skeleton_json(atlas); T(sspine_get_skeleton_atlas(skeleton).id == atlas.id); sspine_destroy_skeleton(skeleton); T(sspine_get_skeleton_atlas(skeleton).id == SSPINE_INVALID_ID); shutdown(); } UTEST(sokol_spine, get_instance_skeleton) { init(); sspine_atlas atlas = create_atlas(); sspine_skeleton skeleton = create_skeleton_json(atlas); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = skeleton }); T(sspine_get_instance_skeleton(instance).id == skeleton.id); sspine_destroy_instance(instance); T(sspine_get_instance_skeleton(instance).id == SSPINE_INVALID_ID); shutdown(); } UTEST(sokol_spine, set_get_position) { init(); sspine_instance instance = create_instance(); sspine_set_position(instance, (sspine_vec2){ .x=1.0f, .y=2.0f }); const sspine_vec2 pos = sspine_get_position(instance); T(pos.x == 1.0f); T(pos.y == 2.0f); shutdown(); } UTEST(sokol_spine, set_get_position_destroyed_instance) { init(); sspine_instance instance = create_instance(); sspine_set_position(instance, (sspine_vec2){ .x=1.0f, .y=2.0f }); sspine_destroy_instance(instance); const sspine_vec2 pos = sspine_get_position(instance); T(pos.x == 0.0f); T(pos.y == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_scale) { init(); sspine_instance instance = create_instance(); sspine_set_scale(instance, (sspine_vec2){ .x=2.0f, .y=3.0f }); const sspine_vec2 scale = sspine_get_scale(instance); T(scale.x == 2.0f); T(scale.y == 3.0f); shutdown(); } UTEST(sokol_spine, set_get_scale_destroyed_instance) { init(); sspine_instance instance = create_instance(); sspine_set_scale(instance, (sspine_vec2){ .x=2.0f, .y=3.0f }); sspine_destroy_instance(instance); const sspine_vec2 scale = sspine_get_scale(instance); T(scale.x == 0.0f); T(scale.y == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_color) { init(); sspine_instance instance = create_instance(); sspine_set_color(instance, (sspine_color) { .r=1.0f, .g=2.0f, .b=3.0f, .a=4.0f }); const sspine_color color = sspine_get_color(instance); T(color.r == 1.0f); T(color.g == 2.0f); T(color.b == 3.0f); T(color.a == 4.0f); shutdown(); } UTEST(sokol_spine, set_get_color_destroyed_instance) { init(); sspine_instance instance = create_instance(); sspine_set_color(instance, (sspine_color) { .r=1.0f, .g=2.0f, .b=3.0f, .a=4.0f }); sspine_destroy_instance(instance); const sspine_color color = sspine_get_color(instance); T(color.r == 0.0f); T(color.g == 0.0f); T(color.b == 0.0f); T(color.a == 0.0f); shutdown(); } UTEST(sokol_spine, anim_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_anim a0 = sspine_anim_by_name(skeleton, "hoverboard"); T((a0.skeleton_id == skeleton.id) && (a0.index == 2)); sspine_anim a1 = sspine_anim_by_name(skeleton, "bla"); T((a1.skeleton_id == 0) && (a1.index == 0)); shutdown(); } UTEST(sokol_spine, anim_by_name_destroyed_instance) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); sspine_anim a0 = sspine_anim_by_name(skeleton, "hoverboard"); T((a0.skeleton_id == 0) && (a0.index == 0)); shutdown(); } UTEST(sokol_spine, anim_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_anim_valid(sspine_anim_by_index(skeleton, 0))); T(sspine_anim_valid(sspine_anim_by_index(skeleton, 10))); T(!sspine_anim_valid(sspine_anim_by_index(skeleton, -1))); T(!sspine_anim_valid(sspine_anim_by_index(skeleton, 11))); sspine_destroy_skeleton(skeleton); T(!sspine_anim_valid(sspine_anim_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, anim_equal) { init(); T(sspine_anim_equal((sspine_anim){ 1, 2 }, (sspine_anim){ 1, 2 })); T(!sspine_anim_equal((sspine_anim){ 2, 2 }, (sspine_anim){ 1, 2 })); T(!sspine_anim_equal((sspine_anim){ 1, 3 }, (sspine_anim){ 1, 2 })); shutdown(); } UTEST(sokol_spine, num_anims) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_anims(skeleton) == 11); sspine_destroy_skeleton(skeleton); T(sspine_num_anims(skeleton) == 0); shutdown(); } UTEST(sokol_spine, get_anim_info) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_anim anim = sspine_anim_by_name(skeleton, "hoverboard"); const sspine_anim_info info = sspine_get_anim_info(anim); T(info.valid); T(info.index == 2); T(strcmp(info.name.cstr, "hoverboard") == 0); T(info.duration == 1.0f); shutdown(); } UTEST(sokol_spine, get_anim_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_anim anim = sspine_anim_by_name(skeleton, "hoverboard"); sspine_destroy_skeleton(skeleton); const sspine_anim_info info = sspine_get_anim_info(anim); T(!info.valid); shutdown(); } UTEST(sokol_spine, get_anim_info_invalid_index) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_anim_info i0 = sspine_get_anim_info(sspine_anim_by_index(skeleton, -1)); T(!i0.valid); T(!i0.name.valid); const sspine_anim_info i1 = sspine_get_anim_info(sspine_anim_by_index(skeleton, 1234)); T(!i1.valid); T(!i1.name.valid); shutdown(); } UTEST(sokol_spine, atlas_page_valid) { init(); sspine_atlas atlas = create_atlas(); T(sspine_atlas_page_valid(sspine_atlas_page_by_index(atlas, 0))); T(!sspine_atlas_page_valid(sspine_atlas_page_by_index(atlas, -1))); T(!sspine_atlas_page_valid(sspine_atlas_page_by_index(atlas, 1))); sspine_destroy_atlas(atlas); T(!sspine_atlas_page_valid(sspine_atlas_page_by_index(atlas, 0))); shutdown(); } UTEST(sokol_spine, num_atlas_pages) { init(); sspine_atlas atlas = create_atlas(); T(sspine_num_atlas_pages(atlas) == 1); sspine_destroy_atlas(atlas); T(sspine_num_atlas_pages(atlas) == 0); shutdown(); } UTEST(sokol_spine, get_atlas_page_info) { init(); sspine_atlas atlas = create_atlas(); const sspine_atlas_page_info info = sspine_get_atlas_page_info(sspine_atlas_page_by_index(atlas, 0)); T(info.valid); T(info.atlas.id == atlas.id); T(info.image.valid); T(info.image.sgimage.id != SG_INVALID_ID); T(sg_query_image_state(info.image.sgimage) == SG_RESOURCESTATE_ALLOC); T(strcmp(info.image.filename.cstr, "spineboy.png") == 0); T(info.image.min_filter == SG_FILTER_LINEAR); T(info.image.mag_filter == SG_FILTER_LINEAR); T(info.image.wrap_u == SG_WRAP_CLAMP_TO_EDGE); T(info.image.wrap_v == SG_WRAP_CLAMP_TO_EDGE); T(info.image.width == 1024); T(info.image.height == 256); T(info.image.premul_alpha == false); T(info.overrides.min_filter == _SG_FILTER_DEFAULT); T(info.overrides.mag_filter == _SG_FILTER_DEFAULT); T(info.overrides.wrap_u == _SG_WRAP_DEFAULT); T(info.overrides.wrap_v == _SG_WRAP_DEFAULT); T(!info.overrides.premul_alpha_enabled); T(!info.overrides.premul_alpha_disabled); shutdown(); } UTEST(sokol_spine, get_atlas_page_info_destroyed_atlas) { init(); sspine_atlas atlas = create_atlas(); sspine_destroy_atlas(atlas); const sspine_atlas_page_info info = sspine_get_atlas_page_info(sspine_atlas_page_by_index(atlas, 0)); T(!info.valid); T(info.atlas.id == SSPINE_INVALID_ID); shutdown(); } UTEST(sokol_spine, get_atlas_page_info_invalid_index) { init(); sspine_atlas atlas = create_atlas(); sspine_destroy_atlas(atlas); const sspine_atlas_page_info i0 = sspine_get_atlas_page_info(sspine_atlas_page_by_index(atlas, -1)); T(!i0.valid); T(i0.atlas.id == SSPINE_INVALID_ID); const sspine_atlas_page_info i1 = sspine_get_atlas_page_info(sspine_atlas_page_by_index(atlas, 1234)); T(!i0.valid); T(i1.atlas.id == SSPINE_INVALID_ID); shutdown(); } UTEST(sokol_spine, atlas_get_atlas_page_info_with_overrides) { init(); sspine_range atlas_data = load_data("spineboy.atlas"); sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ .data = atlas_data, .override = { .min_filter = SG_FILTER_NEAREST, .mag_filter = SG_FILTER_NEAREST, .mipmap_filter = SG_FILTER_NEAREST, .wrap_u = SG_WRAP_REPEAT, .wrap_v = SG_WRAP_CLAMP_TO_EDGE, .premul_alpha_enabled = true, } }); const sspine_atlas_page_info info = sspine_get_atlas_page_info(sspine_atlas_page_by_index(atlas, 0)); T(info.valid); T(info.atlas.id == atlas.id); T(info.image.valid); T(info.image.sgimage.id != SG_INVALID_ID); T(sg_query_image_state(info.image.sgimage) == SG_RESOURCESTATE_ALLOC); T(strcmp(info.image.filename.cstr, "spineboy.png") == 0); T(info.image.min_filter == SG_FILTER_LINEAR); T(info.image.mag_filter == SG_FILTER_LINEAR); T(info.image.mipmap_filter == SG_FILTER_NEAREST); T(info.image.wrap_u == SG_WRAP_CLAMP_TO_EDGE); T(info.image.wrap_v == SG_WRAP_CLAMP_TO_EDGE); T(info.image.width == 1024); T(info.image.height == 256); T(info.image.premul_alpha == true); // FIXME: hmm, this is actually inconsistent T(info.overrides.min_filter == SG_FILTER_NEAREST); T(info.overrides.mag_filter == SG_FILTER_NEAREST); T(info.overrides.mipmap_filter == SG_FILTER_NEAREST); T(info.overrides.wrap_u == SG_WRAP_REPEAT); T(info.overrides.wrap_v == SG_WRAP_CLAMP_TO_EDGE); T(info.overrides.premul_alpha_enabled); T(!info.overrides.premul_alpha_disabled); shutdown(); } UTEST(sokol_spine, bone_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_bone b0 = sspine_bone_by_name(skeleton, "crosshair"); T((b0.skeleton_id == skeleton.id) && (b0.index == 2)); sspine_bone b1 = sspine_bone_by_name(skeleton, "blablub"); T((b1.skeleton_id == 0) && (b1.index == 0)); shutdown(); } UTEST(sokol_spine, bone_by_name_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); sspine_bone b0 = sspine_bone_by_name(skeleton, "crosshair"); T((b0.skeleton_id == 0) && (b0.index == 0)); shutdown(); } UTEST(sokol_spine, bone_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_bone_valid(sspine_bone_by_index(skeleton, 0))); T(sspine_bone_valid(sspine_bone_by_index(skeleton, 66))); T(!sspine_bone_valid(sspine_bone_by_index(skeleton, -1))); T(!sspine_bone_valid(sspine_bone_by_index(skeleton, 67))); sspine_destroy_skeleton(skeleton); T(!sspine_bone_valid(sspine_bone_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, bone_equal) { init(); T(sspine_bone_equal((sspine_bone){ 1, 2 }, (sspine_bone){ 1, 2 })); T(!sspine_bone_equal((sspine_bone){ 2, 2 }, (sspine_bone){ 1, 2 })); T(!sspine_bone_equal((sspine_bone){ 1, 3 }, (sspine_bone){ 1, 2 })); shutdown(); } UTEST(sokol_spine, num_bones) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_bones(skeleton) == 67); sspine_destroy_skeleton(skeleton); T(sspine_num_bones(skeleton) == 0); shutdown(); } UTEST(sokol_spine, get_bone_info_root) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_bone_info info = sspine_get_bone_info(sspine_bone_by_name(skeleton, "root")); T(info.valid); T(info.index == 0); T((info.parent_bone.skeleton_id == 0) && (info.parent_bone.index == 0)); T(strcmp(info.name.cstr, "root") == 0); T(info.length == 0.0f); T(info.pose.position.x == 0.0f); T(info.pose.position.y == 0.0f); T(info.pose.rotation == 0.05f); T(info.pose.scale.x == 1.0f); T(info.pose.scale.y == 1.0f); T(info.pose.shear.x == 0.0f); T(info.pose.shear.y == 0.0f); shutdown(); } UTEST(sokol_spine, get_bone_info_parent_bone) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_bone_info info = sspine_get_bone_info(sspine_bone_by_name(skeleton, "rear-shin")); T(info.valid); T(info.index == 7); T((info.parent_bone.skeleton_id == skeleton.id) && (info.parent_bone.index == 6)); shutdown(); } UTEST(sokol_spine, get_bone_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_destroy_skeleton(skeleton); const sspine_bone_info info = sspine_get_bone_info(bone); T(!info.valid); T(!info.name.valid); shutdown(); } UTEST(sokol_spine, get_bone_info_invalid_index) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_bone_info i0 = sspine_get_bone_info(sspine_bone_by_index(skeleton, -1)); T(!i0.valid); T(!i0.name.valid); const sspine_bone_info i1 = sspine_get_bone_info(sspine_bone_by_index(skeleton, 1234)); T(!i1.valid); T(!i1.name.valid); shutdown(); } UTEST(sokol_spine, set_get_bone_transform) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_set_bone_transform(instance, bone, &(sspine_bone_transform){ .position = { 1.0f, 2.0f }, .rotation = 3.0f, .scale = { 4.0f, 5.0f }, .shear = { 6.0f, 7.0f } }); const sspine_bone_transform tform = sspine_get_bone_transform(instance, bone); T(tform.position.x == 1.0f); T(tform.position.y == 2.0f); T(tform.rotation == 3.0f); T(tform.scale.x == 4.0f); T(tform.scale.y == 5.0f); T(tform.shear.x == 6.0f); T(tform.shear.y == 7.0f); shutdown(); } UTEST(sokol_spine, set_get_bone_transform_destroyed_instance) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_destroy_instance(instance); sspine_set_bone_transform(instance, bone, &(sspine_bone_transform){ .position = { 1.0f, 2.0f }, .rotation = 3.0f, .scale = { 4.0f, 5.0f }, .shear = { 6.0f, 7.0f } }); const sspine_bone_transform tform = sspine_get_bone_transform(instance, bone); T(tform.position.x == 0.0f); T(tform.position.y == 0.0f); T(tform.rotation == 0.0f); T(tform.scale.x == 0.0f); T(tform.scale.y == 0.0f); T(tform.shear.x == 0.0f); T(tform.shear.y == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_bone_position) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_set_bone_position(instance, bone, (sspine_vec2){ 1.0f, 2.0f }); const sspine_vec2 p0 = sspine_get_bone_position(instance, bone); T(p0.x == 1.0f); T(p0.y == 2.0f); sspine_destroy_instance(instance); const sspine_vec2 p1 = sspine_get_bone_position(instance, bone); T(p1.x == 0.0f); T(p1.y == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_bone_rotation) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_set_bone_rotation(instance, bone, 5.0f); T(sspine_get_bone_rotation(instance, bone) == 5.0f); sspine_destroy_instance(instance); T(sspine_get_bone_rotation(instance, bone) == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_bone_scale) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_set_bone_scale(instance, bone, (sspine_vec2){ 1.0f, 2.0f }); const sspine_vec2 s0 = sspine_get_bone_scale(instance, bone); T(s0.x == 1.0f); T(s0.y == 2.0f); sspine_destroy_instance(instance); const sspine_vec2 s1 = sspine_get_bone_scale(instance, bone); T(s1.x == 0.0f); T(s1.y == 0.0f); shutdown(); } UTEST(sokol_spine, set_get_bone_shear) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_bone bone = sspine_bone_by_name(skeleton, "root"); sspine_set_bone_shear(instance, bone, (sspine_vec2){ 1.0f, 2.0f }); const sspine_vec2 s0 = sspine_get_bone_shear(instance, bone); T(s0.x == 1.0f); T(s0.y == 2.0f); sspine_destroy_instance(instance); const sspine_vec2 s1 = sspine_get_bone_shear(instance, bone); T(s1.x == 0.0f); T(s1.y == 0.0f); shutdown(); } UTEST(sokol_spine, slot_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_slot s0 = sspine_slot_by_name(skeleton, "portal-streaks1"); T((s0.skeleton_id == skeleton.id) && (s0.index == 3)); sspine_slot s1 = sspine_slot_by_name(skeleton, "blablub"); T((s1.skeleton_id == 0) && (s1.index == 0)); shutdown(); } UTEST(sokol_spine, slot_by_name_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); sspine_slot s0 = sspine_slot_by_name(skeleton, "portal-streaks1"); T((s0.skeleton_id == 0) && (s0.index == 0)); shutdown(); } UTEST(sokol_spine, num_slots) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_slots(skeleton) == 52); sspine_destroy_skeleton(skeleton); T(sspine_num_slots(skeleton) == 0); shutdown(); } UTEST(sokol_spine, slot_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_slot_valid(sspine_slot_by_index(skeleton, 0))); T(sspine_slot_valid(sspine_slot_by_index(skeleton, 51))); T(!sspine_slot_valid(sspine_slot_by_index(skeleton, -1))); T(!sspine_slot_valid(sspine_slot_by_index(skeleton, 52))); sspine_destroy_skeleton(skeleton); T(!sspine_slot_valid(sspine_slot_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, slot_equal) { init(); T(sspine_slot_equal((sspine_slot){ 1, 2 }, (sspine_slot){ 1, 2 })); T(!sspine_slot_equal((sspine_slot){ 2, 2 }, (sspine_slot){ 1, 2 })); T(!sspine_slot_equal((sspine_slot){ 1, 3 }, (sspine_slot){ 1, 2 })); shutdown(); } UTEST(sokol_spine, get_slot_info) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_slot_info info = sspine_get_slot_info(sspine_slot_by_name(skeleton, "portal-streaks1")); T(info.valid); T(info.index == 3); T(strcmp(info.name.cstr, "portal-streaks1") == 0); T(!info.attachment_name.valid); T((info.bone.skeleton_id == skeleton.id) && (info.bone.index == 62)); T(info.color.r == 1.0f); T(info.color.g == 1.0f); T(info.color.b == 1.0f); T(info.color.a == 1.0f); shutdown(); } UTEST(sokol_spine, get_slot_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_slot slot = sspine_slot_by_name(skeleton, "portal-streaks1"); sspine_destroy_skeleton(skeleton); const sspine_slot_info info = sspine_get_slot_info(slot); T(!info.valid); T(!info.name.valid); shutdown(); } UTEST(sokol_spine, get_slot_info_invalid_index) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_slot_info i0 = sspine_get_slot_info(sspine_slot_by_index(skeleton, -1)); T(!i0.valid); T(!i0.name.valid); const sspine_slot_info i1 = sspine_get_slot_info(sspine_slot_by_index(skeleton, 1234)); T(!i1.valid); T(!i1.name.valid); shutdown(); } UTEST(sokol_spine, set_get_slot_color) { init(); sspine_instance instance = create_instance(); sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); sspine_slot slot = sspine_slot_by_name(skeleton, "portal-streaks1"); sspine_set_slot_color(instance, slot, (sspine_color){ 1.0f, 2.0f, 3.0f, 4.0f }); const sspine_color color = sspine_get_slot_color(instance, slot); T(color.r == 1.0f); T(color.g == 2.0f); T(color.b == 3.0f); T(color.a == 4.0f); const sspine_slot_info info = sspine_get_slot_info(slot); T(info.color.r == 1.0f); T(info.color.g == 1.0f); T(info.color.b == 1.0f); T(info.color.a == 1.0f); shutdown(); } UTEST(sokol_spine, event_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_event e0 = sspine_event_by_name(skeleton, "footstep"); T((e0.skeleton_id == skeleton.id) && (e0.index == 0)); sspine_event e1 = sspine_event_by_name(skeleton, "bla"); T((e1.skeleton_id == 0) && (e1.index == 0)); shutdown(); } UTEST(sokol_spine, event_by_name_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); sspine_event e0 = sspine_event_by_name(skeleton, "footstep"); T((e0.skeleton_id == 0) && (e0.index == 0)); shutdown(); } UTEST(sokol_spine, event_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_event_valid(sspine_event_by_index(skeleton, 0))); T(!sspine_event_valid(sspine_event_by_index(skeleton, 1))); T(!sspine_event_valid(sspine_event_by_index(skeleton, -1))); sspine_destroy_skeleton(skeleton); T(!sspine_event_valid(sspine_event_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, event_equal) { init(); T(sspine_event_equal((sspine_event){ 1, 2 }, (sspine_event){ 1, 2 })); T(!sspine_event_equal((sspine_event){ 2, 2 }, (sspine_event){ 1, 2 })); T(!sspine_event_equal((sspine_event){ 1, 3 }, (sspine_event){ 1, 2 })); shutdown(); } UTEST(sokol_spine, num_events) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_events(skeleton) == 1); sspine_destroy_skeleton(skeleton); T(sspine_num_events(skeleton) == 0); shutdown(); } UTEST(sokol_spine, get_event_info) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_event_info info = sspine_get_event_info(sspine_event_by_index(skeleton, 0)); T(info.valid); T(0 == strcmp(info.name.cstr, "footstep")); T(0 == info.index); T(0 == info.int_value); T(0.0f == info.float_value); T(!info.string_value.valid); T(!info.audio_path.valid); T(0.0f == info.volume); T(0.0f == info.balance); shutdown(); } UTEST(sokol_spine, get_event_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); const sspine_event_info info = sspine_get_event_info(sspine_event_by_index(skeleton, 0)); T(!info.valid); T(!info.name.valid); shutdown(); } UTEST(sokol_spine, iktarget_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_iktarget ik0 = sspine_iktarget_by_name(skeleton, "board-ik"); T((ik0.skeleton_id == skeleton.id) && (ik0.index == 2)); sspine_iktarget ik1 = sspine_iktarget_by_name(skeleton, "bla"); T((ik1.skeleton_id == 0) && (ik1.index == 0)); shutdown(); } UTEST(sokol_spine, iktarget_by_name_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); sspine_iktarget ik0 = sspine_iktarget_by_name(skeleton, "board-ik"); T((ik0.skeleton_id == 0) && (ik0.index == 0)); shutdown(); } UTEST(sokol_spine, iktarget_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_iktarget_valid(sspine_iktarget_by_index(skeleton, 0))); T(sspine_iktarget_valid(sspine_iktarget_by_index(skeleton, 6))); T(!sspine_iktarget_valid(sspine_iktarget_by_index(skeleton, -1))); T(!sspine_iktarget_valid(sspine_iktarget_by_index(skeleton, 7))); sspine_destroy_skeleton(skeleton); T(!sspine_iktarget_valid(sspine_iktarget_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, iktarget_equal) { init(); T(sspine_iktarget_equal((sspine_iktarget){ 1, 2 }, (sspine_iktarget){ 1, 2 })); T(!sspine_iktarget_equal((sspine_iktarget){ 2, 2 }, (sspine_iktarget){ 1, 2 })); T(!sspine_iktarget_equal((sspine_iktarget){ 1, 3 }, (sspine_iktarget){ 1, 2 })); shutdown(); } UTEST(sokol_spine, num_iktargets) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_iktargets(skeleton) == 7); sspine_destroy_skeleton(skeleton); T(sspine_num_iktargets(skeleton) == 0); shutdown(); } UTEST(sokol_spine, get_iktarget_info) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_iktarget_info info = sspine_get_iktarget_info(sspine_iktarget_by_index(skeleton, 1)); T(info.valid); T(1 == info.index); T(0 == strcmp(info.name.cstr, "aim-torso-ik")); T((info.target_bone.skeleton_id == skeleton.id) && (info.target_bone.index == 2)); shutdown(); } UTEST(sokol_spine, get_iktarget_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); const sspine_iktarget_info info = sspine_get_iktarget_info(sspine_iktarget_by_index(skeleton, 1)); T(!info.valid); T(!info.name.valid); shutdown(); } UTEST(sokol_spine, get_iktarget_info_out_of_bounds) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); const sspine_iktarget_info info0 = sspine_get_iktarget_info(sspine_iktarget_by_index(skeleton, -1)); T(!info0.name.valid); const sspine_iktarget_info info1 = sspine_get_iktarget_info(sspine_iktarget_by_index(skeleton, 7)); T(!info1.name.valid); shutdown(); } UTEST(sokol_spine, skin_by_name) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_skin s0 = sspine_skin_by_name(skeleton, "default"); T((s0.skeleton_id == skeleton.id) && (s0.index == 0)); sspine_skin s1 = sspine_skin_by_name(skeleton, "bla"); T((s1.skeleton_id == 0) && (s1.index == 0)); sspine_destroy_skeleton(skeleton); sspine_skin s2 = sspine_skin_by_name(skeleton, "default"); T((s2.skeleton_id == 0) && (s2.index == 0)); shutdown(); } UTEST(sokol_spine, skin_valid) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_skin_valid(sspine_skin_by_index(skeleton, 0))); T(!sspine_skin_valid(sspine_skin_by_index(skeleton, -1))); T(!sspine_skin_valid(sspine_skin_by_index(skeleton, 1))); sspine_destroy_skeleton(skeleton); T(!sspine_skin_valid(sspine_skin_by_index(skeleton, 0))); shutdown(); } UTEST(sokol_spine, skin_equal) { init(); T(sspine_skin_equal((sspine_skin){ 1, 2 }, (sspine_skin){ 1, 2 })); T(!sspine_skin_equal((sspine_skin){ 2, 2 }, (sspine_skin){ 1, 2 })); T(!sspine_skin_equal((sspine_skin){ 1, 3 }, (sspine_skin){ 1, 2 })); shutdown(); } UTEST(sokol_spine, num_skins) { init(); sspine_skeleton skeleton = create_skeleton(); T(sspine_num_skins(skeleton) == 1); sspine_destroy_skeleton(skeleton); T(sspine_num_skins(skeleton) == 0); shutdown(); } UTEST(sokol_spine, get_skin_info) { init(); sspine_skeleton skeleton = create_skeleton(); const sspine_skin_info info = sspine_get_skin_info(sspine_skin_by_index(skeleton, 0)); T(info.valid); T(0 == info.index); T(0 == strcmp(info.name.cstr, "default")); shutdown(); } UTEST(sokol_spine, get_skin_info_destroyed_skeleton) { init(); sspine_skeleton skeleton = create_skeleton(); sspine_destroy_skeleton(skeleton); const sspine_skin_info info = sspine_get_skin_info(sspine_skin_by_index(skeleton, 0)); T(!info.valid); T(!info.name.valid); shutdown(); }
0
repos/sokol/tests
repos/sokol/tests/functional/force_dummy_backend.h
#if defined(SOKOL_GLES3) #undef SOKOL_GLES3 #endif #if defined(SOKOL_GLCORE) #undef SOKOL_GLCORE #endif #if defined(SOKOL_METAL) #undef SOKOL_METAL #endif #if defined(SOKOL_D3D11) #undef SOKOL_D3D11 #endif #if defined(SOKOL_WGPU) #undef SOKOL_WGPU #endif #ifndef SOKOL_DUMMY_BACKEND #define SOKOL_DUMMY_BACKEND #endif
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_color_test.c
//------------------------------------------------------------------------------ // sokol_color_test.c //------------------------------------------------------------------------------ #include "sokol_gfx.h" #define SOKOL_COLOR_IMPL #include "sokol_color.h" #include "utest.h" #include <math.h> #define T(b) EXPECT_TRUE(b) #define TFLT(f0,f1,epsilon) {T(fabs((f0)-(f1))<=(epsilon));} UTEST(sokol_color, make_color) { const sg_color c0 = sg_make_color_4b(255, 127, 0, 255); TFLT(c0.r, 1.0f, 0.01f); TFLT(c0.g, 0.5f, 0.01f); TFLT(c0.b, 0.0f, 0.01f); TFLT(c0.a, 1.0f, 0.01f); const sg_color c1 = sg_make_color_1i(SG_BLACK_RGBA32); TFLT(c1.r, 0.0f, 0.01f); TFLT(c1.g, 0.0f, 0.01f); TFLT(c1.b, 0.0f, 0.01f); TFLT(c1.a, 1.0f, 0.01f); const sg_color c2 = sg_make_color_1i(SG_GREEN_RGBA32); TFLT(c2.r, 0.0f, 0.01f); TFLT(c2.g, 1.0f, 0.01f); TFLT(c2.b, 0.0f, 0.01f); TFLT(c2.a, 1.0f, 0.01f); const sg_color c3 = sg_make_color_1i(SG_RED_RGBA32); TFLT(c3.r, 1.0f, 0.01f); TFLT(c3.g, 0.0f, 0.01f); TFLT(c3.b, 0.0f, 0.01f); TFLT(c3.a, 1.0f, 0.01f); const sg_color c4 = sg_make_color_1i(SG_BLUE_RGBA32); TFLT(c4.r, 0.0f, 0.01f); TFLT(c4.g, 0.0f, 0.01f); TFLT(c4.b, 1.0f, 0.01f); TFLT(c4.a, 1.0f, 0.01f); } UTEST(sokol_color, lerp) { const sg_color c0 = sg_color_lerp(&sg_red, &sg_green, 0.5f); TFLT(c0.r, 0.5f, 0.001f); TFLT(c0.g, 0.5f, 0.001f); TFLT(c0.b, 0.0f, 0.001f); TFLT(c0.a, 1.0f, 0.001f); const sg_color c1 = sg_color_lerp_precise(&sg_red, &sg_green, 0.5f); TFLT(c1.r, 0.5f, 0.001f); TFLT(c1.g, 0.5f, 0.001f); TFLT(c1.b, 0.0f, 0.001f); TFLT(c1.a, 1.0f, 0.001f); } UTEST(sokol_color, multiply) { const sg_color c0 = sg_color_multiply(&sg_red, 0.5f); TFLT(c0.r, 0.5f, 0.001f); TFLT(c0.g, 0.0f, 0.001f); TFLT(c0.b, 0.0f, 0.001f); TFLT(c0.a, 0.5f, 0.001f); const sg_color c1 = sg_color_multiply(&sg_green, 0.5f); TFLT(c1.r, 0.0f, 0.001f); TFLT(c1.g, 0.5f, 0.001f); TFLT(c1.b, 0.0f, 0.001f); TFLT(c1.a, 0.5f, 0.001f); const sg_color c2 = sg_color_multiply(&sg_blue, 0.5f); TFLT(c2.r, 0.0f, 0.001f); TFLT(c2.g, 0.0f, 0.001f); TFLT(c2.b, 0.5f, 0.001f); TFLT(c2.a, 0.5f, 0.001f); }
0
repos/sokol/tests
repos/sokol/tests/functional/README.txt
Test the public API behaviour with dummy backends.
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_debugtext_test.c
//------------------------------------------------------------------------------ // sokol-debugtext-test.c // For best results, run with ASAN and UBSAN. //------------------------------------------------------------------------------ #include "sokol_gfx.h" #include "sokol_log.h" #define SOKOL_DEBUGTEXT_IMPL #include "sokol_debugtext.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) #define TFLT(f0,f1) {T(fabs((f0)-(f1))<=(0.000001));} static void init(void) { sg_setup(&(sg_desc){ .logger = { .func = slog_func }}); sdtx_setup(&(sdtx_desc_t){ .logger = { .func = slog_func }}); } static void init_with(const sdtx_desc_t* desc) { sg_setup(&(sg_desc){0}); sdtx_setup(desc); } static void shutdown(void) { sdtx_shutdown(); sg_shutdown(); } UTEST(sokol_debugtext, default_init_shutdown) { init(); T(_sdtx.init_cookie == _SDTX_INIT_COOKIE); T(_sdtx.desc.context_pool_size == _SDTX_DEFAULT_CONTEXT_POOL_SIZE); T(_sdtx.desc.printf_buf_size == _SDTX_DEFAULT_PRINTF_BUF_SIZE); T(_sdtx.desc.context.char_buf_size == _SDTX_DEFAULT_CHAR_BUF_SIZE); T(_sdtx.desc.context.canvas_width == _SDTX_DEFAULT_CANVAS_WIDTH); T(_sdtx.desc.context.canvas_height == _SDTX_DEFAULT_CANVAS_HEIGHT); T(_sdtx.desc.context.tab_width == _SDTX_DEFAULT_TAB_WIDTH); T(_sdtx.desc.context.color_format == 0); T(_sdtx.desc.context.depth_format == 0); T(_sdtx.desc.context.sample_count == 0); for (int i = 0; i < SDTX_MAX_FONTS; i++) { T(_sdtx.desc.fonts[i].data.ptr == 0); T(_sdtx.desc.fonts[i].data.size == 0); T(_sdtx.desc.fonts[i].first_char == 0); T(_sdtx.desc.fonts[i].last_char == 0); } T(_sdtx.font_img.id != SG_INVALID_ID); T(_sdtx.shader.id != SG_INVALID_ID); T(_sdtx.fmt_buf_size == (_SDTX_DEFAULT_CHAR_BUF_SIZE + 1)); T(_sdtx.fmt_buf); T(_sdtx.def_ctx_id.id != 0); T(_sdtx.def_ctx_id.id == _sdtx.cur_ctx_id.id); T(_sdtx.cur_ctx == _sdtx_lookup_context(_sdtx.cur_ctx_id.id)); T(_sdtx.cur_ctx->desc.char_buf_size == _sdtx.desc.context.char_buf_size); T(_sdtx.cur_ctx->desc.canvas_width == _sdtx.desc.context.canvas_width); T(_sdtx.cur_ctx->desc.canvas_height == _sdtx.desc.context.canvas_height); T(_sdtx.cur_ctx->desc.tab_width == _sdtx.desc.context.tab_width); T(_sdtx.cur_ctx->desc.color_format == 0); T(_sdtx.cur_ctx->desc.depth_format == 0); T(_sdtx.cur_ctx->desc.sample_count == 0); T(_sdtx.cur_ctx->vertices.cap == _SDTX_DEFAULT_CHAR_BUF_SIZE * 6); T(_sdtx.cur_ctx->vertices.next == 0); T(_sdtx.cur_ctx->vertices.ptr); T(_sdtx.cur_ctx->commands.cap == _SDTX_DEFAULT_MAX_COMMANDS); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr); T(_sdtx.cur_ctx->vbuf.id != 0); T(_sdtx.cur_ctx->pip.id != 0); TFLT(_sdtx.cur_ctx->canvas_size.x, 640.0f); TFLT(_sdtx.cur_ctx->canvas_size.y, 480.0f); TFLT(_sdtx.cur_ctx->glyph_size.x, 8.0f / 640.0f); TFLT(_sdtx.cur_ctx->glyph_size.y, 8.0f / 480.0f); TFLT(_sdtx.cur_ctx->origin.x, 0.0f); TFLT(_sdtx.cur_ctx->origin.y, 0.0f); TFLT(_sdtx.cur_ctx->pos.x, 0.0f); TFLT(_sdtx.cur_ctx->pos.y, 0.0f); TFLT(_sdtx.cur_ctx->tab_width, 4.0f); T(_sdtx.cur_ctx->color == _SDTX_DEFAULT_COLOR); T(_sdtx.context_pool.contexts); T(_sdtx.context_pool.pool.size == (_SDTX_DEFAULT_CONTEXT_POOL_SIZE + 1)); shutdown(); T(_sdtx.init_cookie == 0); } UTEST(sokol_debugtext, init_with_params) { init_with(&(sdtx_desc_t){ .context_pool_size = 2, .printf_buf_size = 128, .context = { .char_buf_size = 256, .canvas_width = 320, .canvas_height = 200, .tab_width = 8, .color_format = SG_PIXELFORMAT_RGBA8, .depth_format = SG_PIXELFORMAT_DEPTH_STENCIL, .sample_count = 4, } }); T(_sdtx.init_cookie == _SDTX_INIT_COOKIE); T(_sdtx.desc.context_pool_size == 2); T(_sdtx.desc.printf_buf_size == 128); T(_sdtx.desc.context.char_buf_size == 256); T(_sdtx.desc.context.canvas_width == 320); T(_sdtx.desc.context.canvas_height == 200); T(_sdtx.desc.context.tab_width == 8); T(_sdtx.desc.context.color_format == SG_PIXELFORMAT_RGBA8); T(_sdtx.desc.context.depth_format == SG_PIXELFORMAT_DEPTH_STENCIL); T(_sdtx.desc.context.sample_count == 4); T(_sdtx.fmt_buf_size == 129); T(_sdtx.cur_ctx->desc.char_buf_size == _sdtx.desc.context.char_buf_size); T(_sdtx.cur_ctx->desc.canvas_width == _sdtx.desc.context.canvas_width); T(_sdtx.cur_ctx->desc.canvas_height == _sdtx.desc.context.canvas_height); T(_sdtx.cur_ctx->desc.tab_width == _sdtx.desc.context.tab_width); T(_sdtx.cur_ctx->desc.color_format == SG_PIXELFORMAT_RGBA8); T(_sdtx.cur_ctx->desc.depth_format == SG_PIXELFORMAT_DEPTH_STENCIL); T(_sdtx.cur_ctx->desc.sample_count == 4); T(_sdtx.cur_ctx->vertices.cap == (256 * 6)); TFLT(_sdtx.cur_ctx->canvas_size.x, 320.0f); TFLT(_sdtx.cur_ctx->canvas_size.y, 200.0f); TFLT(_sdtx.cur_ctx->glyph_size.x, 8.0f / 320.0f); TFLT(_sdtx.cur_ctx->glyph_size.y, 8.0f / 200.0f); TFLT(_sdtx.cur_ctx->tab_width, 8.0f); T(_sdtx.context_pool.pool.size == 3); shutdown(); } UTEST(sokol_debugtext, make_destroy_context) { init(); sdtx_context ctx_id = sdtx_make_context(&(sdtx_context_desc_t){ .char_buf_size = 64, .canvas_width = 1024, .canvas_height = 768, .tab_width = 3, .color_format = SG_PIXELFORMAT_RGBA32F, .sample_count = 2 }); T(ctx_id.id != 0); T(ctx_id.id != _sdtx.cur_ctx_id.id); _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); T(ctx); T(ctx != _sdtx.cur_ctx); T(ctx->desc.char_buf_size == 64); T(ctx->desc.canvas_width == 1024); T(ctx->desc.canvas_height == 768); T(ctx->desc.tab_width == 3); T(ctx->desc.color_format == SG_PIXELFORMAT_RGBA32F); T(ctx->desc.depth_format == 0); T(ctx->desc.sample_count == 2); T(ctx->vertices.ptr); T(ctx->vertices.next == 0); T(ctx->vertices.cap == (64 * 6)); TFLT(ctx->canvas_size.x, 1024.0f); TFLT(ctx->canvas_size.y, 768.0f); TFLT(ctx->glyph_size.x, 8.0f / 1024.0f); TFLT(ctx->glyph_size.y, 8.0f / 768.0f); TFLT(ctx->tab_width, 3.0f); sdtx_destroy_context(ctx_id); T(0 == _sdtx_lookup_context(ctx_id.id)); T(ctx->desc.char_buf_size == 0); T(ctx->vertices.ptr == 0); shutdown(); } UTEST(sokol_debugtext, get_default_context) { // getting the default context must always return SDTX_DEFAULT_CONTEXT init(); T(sdtx_get_context().id == SDTX_DEFAULT_CONTEXT.id); shutdown(); } UTEST(sokol_debugtext, set_get_context) { init(); sdtx_context ctx_id = sdtx_make_context(&(sdtx_context_desc_t){ 0 }); T(ctx_id.id != 0); T(ctx_id.id != _sdtx.cur_ctx_id.id); sdtx_set_context(ctx_id); T(sdtx_get_context().id == ctx_id.id); T(ctx_id.id == _sdtx.cur_ctx_id.id); const _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); T(ctx == _sdtx.cur_ctx); sdtx_set_context(SDTX_DEFAULT_CONTEXT); T(sdtx_get_context().id == SDTX_DEFAULT_CONTEXT.id); T(_sdtx.cur_ctx); T(ctx != _sdtx.cur_ctx); T(_sdtx.cur_ctx == _sdtx_lookup_context(_sdtx.def_ctx_id.id)); shutdown(); } UTEST(sokol_debugtext, destroy_default_context) { // destroying the default context is not allowed init(); sdtx_context def_ctx_id = _sdtx.def_ctx_id; T(def_ctx_id.id == _sdtx.cur_ctx_id.id); sdtx_destroy_context(def_ctx_id); T(def_ctx_id.id == _sdtx.def_ctx_id.id); T(def_ctx_id.id == _sdtx.cur_ctx_id.id); T(_sdtx.cur_ctx); shutdown(); } UTEST(sokol_debugtext, destroy_current_context) { // destroying the current context has the same effect // as setting a current context with an invalid context handle init(); sdtx_context ctx_id = sdtx_make_context(&(sdtx_context_desc_t){ 0 }); sdtx_set_context(ctx_id); T(sdtx_get_context().id == ctx_id.id); T(ctx_id.id == _sdtx.cur_ctx_id.id); T(_sdtx_lookup_context(ctx_id.id) == _sdtx.cur_ctx); sdtx_destroy_context(ctx_id); T(_sdtx.cur_ctx_id.id == ctx_id.id); T(_sdtx.cur_ctx == 0); T(sdtx_get_context().id == ctx_id.id); shutdown(); } UTEST(sokol_debugtext, ignore_invalid_context_handle) { // trying to render with an invalid context handle must not crash, // instead ignore all operations init(); sdtx_context ctx_id = sdtx_make_context(&(sdtx_context_desc_t){ 0 }); sdtx_set_context(ctx_id); sdtx_destroy_context(ctx_id); T(0 == _sdtx.cur_ctx); T(sdtx_get_context().id == ctx_id.id); sdtx_font(0); sdtx_canvas(100.0f, 200.0f); sdtx_origin(10.0f, 10.0f); sdtx_home(); sdtx_pos(1.0f, 2.0f); sdtx_pos_x(1.0f); sdtx_pos_y(2.0f); sdtx_move(2.0f, 3.0f); sdtx_move_x(2.0f); sdtx_move_y(3.0f); sdtx_crlf(); sdtx_color3b(255, 255, 255); sdtx_color3f(1.0f, 1.0f, 1.0f); sdtx_color4b(255, 255, 255, 255); sdtx_color4f(1.0f, 1.0f, 1.0f, 1.0f); sdtx_color1i(0xFFFFFFFF); sdtx_putc('A'); sdtx_puts("Hello World!"); sdtx_putr("Hello World!", 5); sdtx_printf("Hello World %d %d %d", 1, 2, 3); shutdown(); } UTEST(sokol_debugtext, set_font) { init(); T(0 == _sdtx.cur_ctx->cur_font); sdtx_font(1); T(1 == _sdtx.cur_ctx->cur_font); sdtx_font(2); T(2 == _sdtx.cur_ctx->cur_font); shutdown(); } UTEST(sokol_debugtext, set_canvas) { init(); sdtx_origin(10.0f, 11.0f); sdtx_pos(1.0f, 2.0f); sdtx_canvas(320.0f, 200.0f); TFLT(_sdtx.cur_ctx->canvas_size.x, 320.0f); TFLT(_sdtx.cur_ctx->canvas_size.y, 200.0f); TFLT(_sdtx.cur_ctx->glyph_size.x, 8.0f / 320.0f); TFLT(_sdtx.cur_ctx->glyph_size.y, 8.0f / 200.0f); // origin and pos must be reset to 0 when canvas is set TFLT(_sdtx.cur_ctx->origin.x, 0.0f); TFLT(_sdtx.cur_ctx->origin.y, 0.0f); TFLT(_sdtx.cur_ctx->pos.x, 0.0f); TFLT(_sdtx.cur_ctx->pos.y, 0.0f); shutdown(); } UTEST(sokol_debugtext, set_origin) { init(); sdtx_origin(10.0f, 20.0f); TFLT(_sdtx.cur_ctx->origin.x, 10.0f); TFLT(_sdtx.cur_ctx->origin.y, 20.0f); shutdown(); } UTEST(sokol_debugtext, cursor_movement) { init(); sdtx_pos(1.0f, 2.0f); TFLT(_sdtx.cur_ctx->pos.x, 1.0f); TFLT(_sdtx.cur_ctx->pos.y, 2.0f); sdtx_pos_x(5.0f); TFLT(_sdtx.cur_ctx->pos.x, 5.0f); TFLT(_sdtx.cur_ctx->pos.y, 2.0f); sdtx_pos_y(6.0f); TFLT(_sdtx.cur_ctx->pos.x, 5.0f); TFLT(_sdtx.cur_ctx->pos.y, 6.0f); sdtx_move(-1.0f, -3.0f); TFLT(_sdtx.cur_ctx->pos.x, 4.0f); TFLT(_sdtx.cur_ctx->pos.y, 3.0f); sdtx_move_x(+1.0f); TFLT(_sdtx.cur_ctx->pos.x, 5.0f); TFLT(_sdtx.cur_ctx->pos.y, 3.0f); sdtx_move_y(+3.0f); TFLT(_sdtx.cur_ctx->pos.x, 5.0f); TFLT(_sdtx.cur_ctx->pos.y, 6.0f); sdtx_crlf(); TFLT(_sdtx.cur_ctx->pos.x, 0.0f); TFLT(_sdtx.cur_ctx->pos.y, 7.0f); sdtx_pos(20.0f, 30.0f); sdtx_home(); TFLT(_sdtx.cur_ctx->pos.x, 0.0f); TFLT(_sdtx.cur_ctx->pos.y, 0.0f); shutdown(); } UTEST(sokol_debugtext, set_color) { init(); T(_sdtx.cur_ctx->color == _SDTX_DEFAULT_COLOR); sdtx_color3b(255, 127, 0); T(_sdtx.cur_ctx->color == 0xFF007FFF); sdtx_color4b(0, 127, 255, 255); T(_sdtx.cur_ctx->color == 0xFFFF7F00); sdtx_color3f(1.0f, 0.5f, 0.0f); T(_sdtx.cur_ctx->color == 0xFF007FFF); sdtx_color4f(0.0f, 0.5f, 1.0f, 1.0f); T(_sdtx.cur_ctx->color == 0xFFFF7F00); sdtx_color1i(0xFF000000); T(_sdtx.cur_ctx->color == 0xFF000000); shutdown(); } UTEST(sokol_debugtext, vertex_overflow) { // overflowing the vertex buffer must not crash init_with(&(sdtx_desc_t){ .context.char_buf_size = 8, }); for (int i = 0; i < 32; i++) { sdtx_putc('A'); } sdtx_puts("1234567890"); sdtx_putr("1234567890", 5); sdtx_printf("Hello World %d!\n", 12); T(_sdtx.cur_ctx->vertices.next == _sdtx.cur_ctx->vertices.cap); shutdown(); } UTEST(sokol_debugtext, context_overflow) { // creating too many contexts should not crash init_with(&(sdtx_desc_t){ .context_pool_size = 4, }); T(_sdtx.context_pool.pool.size == 5); // one slot is taken by the default context sdtx_context ctx[4]; for (int i = 0; i < 4; i++) { ctx[i] = sdtx_make_context(&(sdtx_context_desc_t){ 0 }); if (i < 3) { T(ctx[i].id != 0); } else { T(ctx[i].id == 0); } } // destroying an invalid context should not crash for (int i = 0; i < 4; i++) { sdtx_destroy_context(ctx[i]); } shutdown(); } UTEST(sokol_debugtext, printf_overflow) { // overflowing the printf formatting buffer should not crash init_with(&(sdtx_desc_t){ .printf_buf_size = 8 }); T(9 == _sdtx.fmt_buf_size); T(16 == sdtx_printf("Hello %d\n", 123456789)); T('H' == _sdtx.fmt_buf[0]) T('e' == _sdtx.fmt_buf[1]) T('l' == _sdtx.fmt_buf[2]) T('l' == _sdtx.fmt_buf[3]) T('o' == _sdtx.fmt_buf[4]) T(' ' == _sdtx.fmt_buf[5]) T('1' == _sdtx.fmt_buf[6]) T('2' == _sdtx.fmt_buf[7]) T(0 == _sdtx.fmt_buf[8]) shutdown(); } UTEST(sokol_debugtext, rewind_after_draw) { // calling sdtx_draw() must rewind the cursor position, font and // vertex pointer, to keep canvas size and origin as is init(); sdtx_canvas(256, 128); TFLT(_sdtx.cur_ctx->canvas_size.x, 256); TFLT(_sdtx.cur_ctx->canvas_size.y, 128); sdtx_origin(5, 5); TFLT(_sdtx.cur_ctx->origin.x, 5); TFLT(_sdtx.cur_ctx->origin.y, 5); sdtx_pos(10, 20); TFLT(_sdtx.cur_ctx->pos.x, 10); TFLT(_sdtx.cur_ctx->pos.y, 20); sdtx_font(3); T(_sdtx.cur_ctx->cur_font == 3); sdtx_printf("Hello World!\n"); T(_sdtx.cur_ctx->vertices.next != 0); sg_begin_pass(&(sg_pass){ .swapchain = { .width = 256, .height = 256, .sample_count = 1, .color_format = SG_PIXELFORMAT_RGBA8, .depth_format = SG_PIXELFORMAT_DEPTH_STENCIL, } }); sdtx_draw(); sg_end_pass(); sg_commit(); TFLT(_sdtx.cur_ctx->canvas_size.x, 256); TFLT(_sdtx.cur_ctx->canvas_size.y, 128); TFLT(_sdtx.cur_ctx->origin.x, 5); TFLT(_sdtx.cur_ctx->origin.y, 5); TFLT(_sdtx.cur_ctx->pos.x, 0); TFLT(_sdtx.cur_ctx->pos.x, 0); T(_sdtx.cur_ctx->cur_font == 0); T(_sdtx.cur_ctx->vertices.next == 0); shutdown(); } UTEST(sokol_debugtext, putr) { // test if sdtx_putr() draws the right amount of characters init(); int start_index = _sdtx.cur_ctx->vertices.next; sdtx_putr("Hello World!", 5); T((5 * 6) == (_sdtx.cur_ctx->vertices.next - start_index)); start_index = _sdtx.cur_ctx->vertices.next; sdtx_putr("Hello!\n\n\n\n\n\n\n\n\n\n\n", 10); // NOTE: the \n's don't result in rendered vertices T((6 * 6) == (_sdtx.cur_ctx->vertices.next - start_index)); shutdown(); } UTEST(sokol_debugtext, default_context) { init(); T(sdtx_default_context().id == SDTX_DEFAULT_CONTEXT.id); shutdown(); } // switching layers without any text inbetween should not advance the current draw command UTEST(sokol_debug_text, empty_layers) { init(); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 0); sdtx_layer(1); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 1); sdtx_layer(2); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 2); sdtx_layer(0); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 0); shutdown(); } // switching layers with text inbetween should advance the current draw command UTEST(sokol_debug_text, non_empty_layers) { init(); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 0); T(_sdtx.cur_ctx->commands.ptr[0].first_vertex == 0); T(_sdtx.cur_ctx->commands.ptr[0].num_vertices == 0); sdtx_puts("123"); T(_sdtx.cur_ctx->commands.next == 1); T(_sdtx.cur_ctx->commands.ptr[0].layer_id == 0); T(_sdtx.cur_ctx->commands.ptr[0].first_vertex == 0); T(_sdtx.cur_ctx->commands.ptr[0].num_vertices == (3 * 6)); sdtx_layer(1); sdtx_puts("1234"); T(_sdtx.cur_ctx->commands.next == 2); T(_sdtx.cur_ctx->commands.ptr[1].layer_id == 1); T(_sdtx.cur_ctx->commands.ptr[1].first_vertex == (3 * 6)); T(_sdtx.cur_ctx->commands.ptr[1].num_vertices == (4 * 6)); // switching to same layer should not start a new draw commands sdtx_layer(1); sdtx_puts("12345"); T(_sdtx.cur_ctx->commands.next == 2); T(_sdtx.cur_ctx->commands.ptr[1].layer_id == 1); T(_sdtx.cur_ctx->commands.ptr[1].first_vertex == (3 * 6)); T(_sdtx.cur_ctx->commands.ptr[1].num_vertices == (9 * 6)); sdtx_layer(0); sdtx_puts("123456"); T(_sdtx.cur_ctx->commands.next == 3); T(_sdtx.cur_ctx->commands.ptr[2].layer_id == 0); T(_sdtx.cur_ctx->commands.ptr[2].first_vertex == (12 * 6)); T(_sdtx.cur_ctx->commands.ptr[2].num_vertices == (6 * 6)); shutdown(); } UTEST(sokol_debug_text, command_buffer_overflow) { init_with(&(sdtx_desc_t){ .context = { .max_commands = 4 } }); sdtx_puts("0"); T(_sdtx.cur_ctx->commands.next == 1); sdtx_layer(1); sdtx_puts("1"); T(_sdtx.cur_ctx->commands.next == 2); sdtx_layer(2); sdtx_puts("2"); T(_sdtx.cur_ctx->commands.next == 3); sdtx_layer(3); sdtx_puts("3"); T(_sdtx.cur_ctx->commands.next == 4); // from here on should fail sdtx_layer(4); sdtx_puts("4"); T(_sdtx.cur_ctx->commands.next == 4); }
0
repos/sokol/tests
repos/sokol/tests/functional/utest.h
/* The latest version of this library is available on GitHub; https://github.com/sheredom/utest.h */ /* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org/> */ #ifndef SHEREDOM_UTEST_H_INCLUDED #define SHEREDOM_UTEST_H_INCLUDED #ifdef _MSC_VER /* Disable warning about not inlining 'inline' functions. TODO: We'll fix this later by not using fprintf within our macros, and instead use snprintf to a realloc'ed buffer. */ #pragma warning(disable : 4710) /* Disable warning about inlining functions that are not marked 'inline'. TODO: add a UTEST_NOINLINE onto the macro generated functions to fix this. */ #pragma warning(disable : 4711) #pragma warning(push, 1) #endif #if defined(_MSC_VER) typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #else #include <stdint.h> #endif #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #if defined(_MSC_VER) #pragma warning(pop) #endif #if defined(_MSC_VER) #if defined(_M_IX86) #define _X86_ #endif #if defined(_M_AMD64) #define _AMD64_ #endif #pragma warning(push, 1) #include <windef.h> #include <winbase.h> #pragma warning(pop) #elif defined(__linux__) /* slightly obscure include here - we need to include glibc's features.h, but we don't want to just include a header that might not be defined for other c libraries like musl. Instead we include limits.h, which we know on all glibc distributions includes features.h */ #include <limits.h> #if defined(__GLIBC__) && defined(__GLIBC_MINOR__) #include <time.h> #if ((2 < __GLIBC__) || ((2 == __GLIBC__) && (17 <= __GLIBC_MINOR__))) /* glibc is version 2.17 or above, so we can just use clock_gettime */ #define UTEST_USE_CLOCKGETTIME #else #include <sys/syscall.h> #include <unistd.h> #endif #endif #elif defined(__APPLE__) #include <mach/mach_time.h> #endif #if defined(_MSC_VER) #define UTEST_PRId64 "I64d" #define UTEST_PRIu64 "I64u" #define UTEST_INLINE __forceinline #pragma section(".CRT$XCU", read) #define UTEST_INITIALIZER(f) \ static void __cdecl f(void); \ __declspec(allocate(".CRT$XCU")) void(__cdecl * f##_)(void) = f; \ static void __cdecl f(void) #else #if defined(__linux__) #if defined(__clang__) #if __has_warning("-Wreserved-id-macro") #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wreserved-id-macro" #endif #endif #define __STDC_FORMAT_MACROS 1 #if defined(__clang__) #if __has_warning("-Wreserved-id-macro") #pragma clang diagnostic pop #endif #endif #endif #include <inttypes.h> #define UTEST_PRId64 PRId64 #define UTEST_PRIu64 PRIu64 #define UTEST_INLINE inline #define UTEST_INITIALIZER(f) \ static void f(void) __attribute__((constructor)); \ static void f(void) #endif #if defined(__cplusplus) #define UTEST_CAST(type, x) static_cast<type>(x) #define UTEST_PTR_CAST(type, x) reinterpret_cast<type>(x) #define UTEST_EXTERN extern "C" #else #define UTEST_CAST(type, x) ((type)x) #define UTEST_PTR_CAST(type, x) ((type)x) #define UTEST_EXTERN extern #endif #ifdef _MSC_VER /* io.h contains definitions for some structures with natural padding. This is uninteresting, but for some reason MSVC's behaviour is to warn about including this system header. That *is* interesting */ #pragma warning(disable : 4820) #pragma warning(push, 1) #include <io.h> #pragma warning(pop) #define UTEST_COLOUR_OUTPUT() (_isatty(_fileno(stdout))) #else #include <unistd.h> #define UTEST_COLOUR_OUTPUT() (isatty(STDOUT_FILENO)) #endif static UTEST_INLINE int64_t utest_ns(void) { #ifdef _MSC_VER LARGE_INTEGER counter; LARGE_INTEGER frequency; QueryPerformanceCounter(&counter); QueryPerformanceFrequency(&frequency); return UTEST_CAST(int64_t, (counter.QuadPart * 1000000000) / frequency.QuadPart); #elif defined(__linux) struct timespec ts; const clockid_t cid = CLOCK_REALTIME; #if defined(UTEST_USE_CLOCKGETTIME) clock_gettime(cid, &ts); #else syscall(SYS_clock_gettime, cid, &ts); #endif return UTEST_CAST(int64_t, ts.tv_sec) * 1000 * 1000 * 1000 + ts.tv_nsec; #elif __APPLE__ return UTEST_CAST(int64_t, mach_absolute_time()); #else /* hack to prevent warning on unsupported platforms */ return 1; #endif } typedef void (*utest_testcase_t)(int *, size_t); struct utest_test_state_s { utest_testcase_t func; size_t index; char *name; }; struct utest_state_s { struct utest_test_state_s *tests; size_t tests_length; FILE *output; }; /* extern to the global state utest needs to execute */ UTEST_EXTERN struct utest_state_s utest_state; #if defined(_MSC_VER) #define UTEST_WEAK __forceinline #else #define UTEST_WEAK __attribute__((weak)) #endif #if defined(_MSC_VER) #define UTEST_UNUSED #else #define UTEST_UNUSED __attribute__((unused)) #endif #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wvariadic-macros" #endif #define UTEST_PRINTF(...) \ if (utest_state.output) { \ fprintf(utest_state.output, __VA_ARGS__); \ } \ printf(__VA_ARGS__) #ifdef __clang__ #pragma clang diagnostic pop #endif #ifdef _MSC_VER #define UTEST_SNPRINTF(BUFFER, N, ...) _snprintf_s(BUFFER, N, N, __VA_ARGS__) #else #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wvariadic-macros" #endif #define UTEST_SNPRINTF(...) snprintf(__VA_ARGS__) #ifdef __clang__ #pragma clang diagnostic pop #endif #endif #if defined(__cplusplus) /* if we are using c++ we can use overloaded methods (its in the language) */ #define UTEST_OVERLOADABLE #elif defined(__clang__) /* otherwise, if we are using clang with c - use the overloadable attribute */ #define UTEST_OVERLOADABLE __attribute__((overloadable)) #endif #if defined(UTEST_OVERLOADABLE) UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(float f); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(float f) { UTEST_PRINTF("%f", UTEST_CAST(double, f)); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(double d); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(double d) { UTEST_PRINTF("%f", d); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long double d); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long double d) { UTEST_PRINTF("%Lf", d); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(int i) { UTEST_PRINTF("%d", i); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(unsigned int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(unsigned int i) { UTEST_PRINTF("%u", i); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long int i) { UTEST_PRINTF("%ld", i); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long unsigned int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long unsigned int i) { UTEST_PRINTF("%lu", i); } /* long long is a c++11 extension TODO: grok for c++11 version here */ #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long long int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long long int i) { UTEST_PRINTF("%lld", i); } UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long long unsigned int i); UTEST_WEAK UTEST_OVERLOADABLE void utest_type_printer(long long unsigned int i) { UTEST_PRINTF("%llu", i); } #endif #else /* we don't have the ability to print the values we got, so we create a macro to tell our users we can't do anything fancy */ #define utest_type_printer(...) UTEST_PRINTF("undef") #endif #if defined(__clang__) #define UTEST_EXPECT(x, y, cond) \ { \ _Pragma("clang diagnostic push") _Pragma( \ "clang diagnostic ignored \"-Wlanguage-extension-token\"") typeof(y) \ xEval = (x); \ typeof(y) yEval = (y); \ _Pragma("clang diagnostic pop") if (!((xEval)cond(yEval))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : "); \ utest_type_printer(xEval); \ UTEST_PRINTF("\n"); \ UTEST_PRINTF(" Actual : "); \ utest_type_printer(yEval); \ UTEST_PRINTF("\n"); \ *utest_result = 1; \ } \ } #elif defined(__GNUC__) #define UTEST_EXPECT(x, y, cond) \ { \ typeof(y) xEval = (x); \ typeof(y) yEval = (y); \ if (!((xEval)cond(yEval))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : "); \ utest_type_printer(xEval); \ UTEST_PRINTF("\n"); \ UTEST_PRINTF(" Actual : "); \ utest_type_printer(yEval); \ UTEST_PRINTF("\n"); \ *utest_result = 1; \ } \ } #else #define UTEST_EXPECT(x, y, cond) \ { \ if (!((x)cond(y))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ *utest_result = 1; \ } \ } #endif #define EXPECT_TRUE(x) \ if (!(x)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : true\n"); \ UTEST_PRINTF(" Actual : %s\n", (x) ? "true" : "false"); \ *utest_result = 1; \ } #define EXPECT_FALSE(x) \ if (x) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : false\n"); \ UTEST_PRINTF(" Actual : %s\n", (x) ? "true" : "false"); \ *utest_result = 1; \ } #define EXPECT_EQ(x, y) UTEST_EXPECT(x, y, ==) #define EXPECT_NE(x, y) UTEST_EXPECT(x, y, !=) #define EXPECT_LT(x, y) UTEST_EXPECT(x, y, <) #define EXPECT_LE(x, y) UTEST_EXPECT(x, y, <=) #define EXPECT_GT(x, y) UTEST_EXPECT(x, y, >) #define EXPECT_GE(x, y) UTEST_EXPECT(x, y, >=) #define EXPECT_STREQ(x, y) \ if (0 != strcmp(x, y)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : \"%s\"\n", x); \ UTEST_PRINTF(" Actual : \"%s\"\n", y); \ *utest_result = 1; \ } #define EXPECT_STRNE(x, y) \ if (0 == strcmp(x, y)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : \"%s\"\n", x); \ UTEST_PRINTF(" Actual : \"%s\"\n", y); \ *utest_result = 1; \ } #if defined(__clang__) #define UTEST_ASSERT(x, y, cond) \ { \ _Pragma("clang diagnostic push") _Pragma( \ "clang diagnostic ignored \"-Wlanguage-extension-token\"") typeof(y) \ xEval = (x); \ typeof(y) yEval = (y); \ _Pragma("clang diagnostic pop") if (!((xEval)cond(yEval))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : "); \ utest_type_printer(xEval); \ UTEST_PRINTF("\n"); \ UTEST_PRINTF(" Actual : "); \ utest_type_printer(yEval); \ UTEST_PRINTF("\n"); \ *utest_result = 1; \ return; \ } \ } #elif defined(__GNUC__) #define UTEST_ASSERT(x, y, cond) \ { \ typeof(y) xEval = (x); \ typeof(y) yEval = (y); \ if (!((xEval)cond(yEval))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : "); \ utest_type_printer(xEval); \ UTEST_PRINTF("\n"); \ UTEST_PRINTF(" Actual : "); \ utest_type_printer(yEval); \ UTEST_PRINTF("\n"); \ *utest_result = 1; \ return; \ } \ } #else #define UTEST_ASSERT(x, y, cond) \ { \ if (!((x)cond(y))) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ *utest_result = 1; \ return; \ } \ } #endif #define ASSERT_TRUE(x) \ if (!(x)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : true\n"); \ UTEST_PRINTF(" Actual : %s\n", (x) ? "true" : "false"); \ *utest_result = 1; \ return; \ } #define ASSERT_FALSE(x) \ if (x) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : false\n"); \ UTEST_PRINTF(" Actual : %s\n", (x) ? "true" : "false"); \ *utest_result = 1; \ return; \ } #define ASSERT_EQ(x, y) UTEST_ASSERT(x, y, ==) #define ASSERT_NE(x, y) UTEST_ASSERT(x, y, !=) #define ASSERT_LT(x, y) UTEST_ASSERT(x, y, <) #define ASSERT_LE(x, y) UTEST_ASSERT(x, y, <=) #define ASSERT_GT(x, y) UTEST_ASSERT(x, y, >) #define ASSERT_GE(x, y) UTEST_ASSERT(x, y, >=) #define ASSERT_STREQ(x, y) \ EXPECT_STREQ(x, y); \ if (0 != strcmp(x, y)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : \"%s\"\n", x); \ UTEST_PRINTF(" Actual : \"%s\"\n", y); \ *utest_result = 1; \ return; \ } #define ASSERT_STRNE(x, y) \ EXPECT_STRNE(x, y); \ if (0 == strcmp(x, y)) { \ UTEST_PRINTF("%s:%u: Failure\n", __FILE__, __LINE__); \ UTEST_PRINTF(" Expected : \"%s\"\n", x); \ UTEST_PRINTF(" Actual : \"%s\"\n", y); \ *utest_result = 1; \ return; \ } #define UTEST(SET, NAME) \ UTEST_EXTERN struct utest_state_s utest_state; \ static void utest_run_##SET##_##NAME(int *utest_result); \ static void utest_##SET##_##NAME(int *utest_result, size_t utest_index) { \ (void)utest_index; \ utest_run_##SET##_##NAME(utest_result); \ } \ UTEST_INITIALIZER(utest_register_##SET##_##NAME) { \ const size_t index = utest_state.tests_length++; \ const char *name_part = #SET "." #NAME; \ const size_t name_size = strlen(name_part) + 1; \ char *name = UTEST_PTR_CAST(char *, malloc(name_size)); \ utest_state.tests = \ UTEST_PTR_CAST(struct utest_test_state_s *, \ realloc(UTEST_PTR_CAST(void *, utest_state.tests), \ sizeof(struct utest_test_state_s) * \ utest_state.tests_length)); \ utest_state.tests[index].func = &utest_##SET##_##NAME; \ utest_state.tests[index].name = name; \ UTEST_SNPRINTF(name, name_size, "%s", name_part); \ } \ void utest_run_##SET##_##NAME(int *utest_result) #define UTEST_F_SETUP(FIXTURE) \ static void utest_f_setup_##FIXTURE(int *utest_result, \ struct FIXTURE *utest_fixture) #define UTEST_F_TEARDOWN(FIXTURE) \ static void utest_f_teardown_##FIXTURE(int *utest_result, \ struct FIXTURE *utest_fixture) #define UTEST_F(FIXTURE, NAME) \ UTEST_EXTERN struct utest_state_s utest_state; \ static void utest_f_setup_##FIXTURE(int *, struct FIXTURE *); \ static void utest_f_teardown_##FIXTURE(int *, struct FIXTURE *); \ static void utest_run_##FIXTURE##_##NAME(int *, struct FIXTURE *); \ static void utest_f_##FIXTURE##_##NAME(int *utest_result, \ size_t utest_index) { \ struct FIXTURE fixture; \ (void)utest_index; \ memset(&fixture, 0, sizeof(fixture)); \ utest_f_setup_##FIXTURE(utest_result, &fixture); \ if (0 != *utest_result) { \ return; \ } \ utest_run_##FIXTURE##_##NAME(utest_result, &fixture); \ utest_f_teardown_##FIXTURE(utest_result, &fixture); \ } \ UTEST_INITIALIZER(utest_register_##FIXTURE##_##NAME) { \ const size_t index = utest_state.tests_length++; \ const char *name_part = #FIXTURE "." #NAME; \ const size_t name_size = strlen(name_part) + 1; \ char *name = UTEST_PTR_CAST(char *, malloc(name_size)); \ utest_state.tests = \ UTEST_PTR_CAST(struct utest_test_state_s *, \ realloc(UTEST_PTR_CAST(void *, utest_state.tests), \ sizeof(struct utest_test_state_s) * \ utest_state.tests_length)); \ utest_state.tests[index].func = &utest_f_##FIXTURE##_##NAME; \ utest_state.tests[index].name = name; \ UTEST_SNPRINTF(name, name_size, "%s", name_part); \ } \ void utest_run_##FIXTURE##_##NAME(int *utest_result, \ struct FIXTURE *utest_fixture) #define UTEST_I_SETUP(FIXTURE) \ static void utest_i_setup_##FIXTURE( \ int *utest_result, struct FIXTURE *utest_fixture, size_t utest_index) #define UTEST_I_TEARDOWN(FIXTURE) \ static void utest_i_teardown_##FIXTURE( \ int *utest_result, struct FIXTURE *utest_fixture, size_t utest_index) #define UTEST_I(FIXTURE, NAME, INDEX) \ UTEST_EXTERN struct utest_state_s utest_state; \ static void utest_run_##FIXTURE##_##NAME##_##INDEX(int *, struct FIXTURE *); \ static void utest_i_##FIXTURE##_##NAME##_##INDEX(int *utest_result, \ size_t index) { \ struct FIXTURE fixture; \ memset(&fixture, 0, sizeof(fixture)); \ utest_i_setup_##FIXTURE(utest_result, &fixture, index); \ if (0 != *utest_result) { \ return; \ } \ utest_run_##FIXTURE##_##NAME##_##INDEX(utest_result, &fixture); \ utest_i_teardown_##FIXTURE(utest_result, &fixture, index); \ } \ UTEST_INITIALIZER(utest_register_##FIXTURE##_##NAME##_##INDEX) { \ size_t i; \ uint64_t iUp; \ for (i = 0; i < (INDEX); i++) { \ const size_t index = utest_state.tests_length++; \ const char *name_part = #FIXTURE "." #NAME; \ const size_t name_size = strlen(name_part) + 32; \ char *name = UTEST_PTR_CAST(char *, malloc(name_size)); \ utest_state.tests = \ UTEST_PTR_CAST(struct utest_test_state_s *, \ realloc(UTEST_PTR_CAST(void *, utest_state.tests), \ sizeof(struct utest_test_state_s) * \ utest_state.tests_length)); \ utest_state.tests[index].func = &utest_i_##FIXTURE##_##NAME##_##INDEX; \ utest_state.tests[index].index = i; \ utest_state.tests[index].name = name; \ iUp = UTEST_CAST(uint64_t, i); \ UTEST_SNPRINTF(name, name_size, "%s/%" UTEST_PRIu64, name_part, iUp); \ } \ } \ void utest_run_##FIXTURE##_##NAME##_##INDEX(int *utest_result, \ struct FIXTURE *utest_fixture) UTEST_WEAK int utest_should_filter_test(const char *filter, const char *testcase); UTEST_WEAK int utest_should_filter_test(const char *filter, const char *testcase) { if (filter) { const char *filter_cur = filter; const char *testcase_cur = testcase; const char *filter_wildcard = 0; while (('\0' != *filter_cur) && ('\0' != *testcase_cur)) { if ('*' == *filter_cur) { /* store the position of the wildcard */ filter_wildcard = filter_cur; /* skip the wildcard character */ filter_cur++; while (('\0' != *filter_cur) && ('\0' != *testcase_cur)) { if ('*' == *filter_cur) { /* we found another wildcard (filter is something like *foo*) so we exit the current loop, and return to the parent loop to handle the wildcard case */ break; } else if (*filter_cur != *testcase_cur) { /* otherwise our filter didn't match, so reset it */ filter_cur = filter_wildcard; } /* move testcase along */ testcase_cur++; /* move filter along */ filter_cur++; } if (('\0' == *filter_cur) && ('\0' == *testcase_cur)) { return 0; } /* if the testcase has been exhausted, we don't have a match! */ if ('\0' == *testcase_cur) { return 1; } } else { if (*testcase_cur != *filter_cur) { /* test case doesn't match filter */ return 1; } else { /* move our filter and testcase forward */ testcase_cur++; filter_cur++; } } } if (('\0' != *filter_cur) || (('\0' != *testcase_cur) && ((filter == filter_cur) || ('*' != filter_cur[-1])))) { /* we have a mismatch! */ return 1; } } return 0; } static UTEST_INLINE int utest_strncmp(const char *a, const char *b, size_t n) { /* strncmp breaks on Wall / Werror on gcc/clang, so we avoid using it */ unsigned i; for (i = 0; i < n; i++) { if (a[i] < b[i]) { return -1; } else if (a[i] > b[i]) { return 1; } } return 0; } static UTEST_INLINE FILE *utest_fopen(const char *filename, const char *mode) { #ifdef _MSC_VER FILE *file; if (0 == fopen_s(&file, filename, mode)) { return file; } else { return 0; } #else return fopen(filename, mode); #endif } UTEST_WEAK int utest_main(int argc, const char *const argv[]); UTEST_WEAK int utest_main(int argc, const char *const argv[]) { uint64_t failed = 0; size_t index = 0; size_t *failed_testcases = 0; size_t failed_testcases_length = 0; const char *filter = 0; uint64_t ran_tests = 0; enum colours { RESET, GREEN, RED }; const int use_colours = UTEST_COLOUR_OUTPUT(); const char *colours[] = {"\033[0m", "\033[32m", "\033[31m"}; if (!use_colours) { for (index = 0; index < sizeof colours / sizeof colours[0]; index++) { colours[index] = ""; } } /* loop through all arguments looking for our options */ for (index = 1; index < UTEST_CAST(size_t, argc); index++) { const char help_str[] = "--help"; const char filter_str[] = "--filter="; const char output_str[] = "--output="; if (0 == utest_strncmp(argv[index], help_str, strlen(help_str))) { printf("utest.h - the single file unit testing solution for C/C++!\n" "Command line Options:\n" " --help Show this message and exit.\n" " --filter=<filter> Filter the test cases to run (EG. MyTest*.a " "would run MyTestCase.a but not MyTestCase.b).\n" " --output=<output> Output an xunit XML file to the file " "specified in <output>.\n"); goto cleanup; } else if (0 == utest_strncmp(argv[index], filter_str, strlen(filter_str))) { /* user wants to filter what test cases run! */ filter = argv[index] + strlen(filter_str); } else if (0 == utest_strncmp(argv[index], output_str, strlen(output_str))) { utest_state.output = utest_fopen(argv[index] + strlen(output_str), "w+"); } } for (index = 0; index < utest_state.tests_length; index++) { if (utest_should_filter_test(filter, utest_state.tests[index].name)) { continue; } ran_tests++; } printf("%s[==========]%s Running %" UTEST_PRIu64 " test cases.\n", colours[GREEN], colours[RESET], UTEST_CAST(uint64_t, ran_tests)); if (utest_state.output) { fprintf(utest_state.output, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); fprintf(utest_state.output, "<testsuites tests=\"%" UTEST_PRIu64 "\" name=\"All\">\n", UTEST_CAST(uint64_t, ran_tests)); fprintf(utest_state.output, "<testsuite name=\"Tests\" tests=\"%" UTEST_PRIu64 "\">\n", UTEST_CAST(uint64_t, ran_tests)); } for (index = 0; index < utest_state.tests_length; index++) { int result = 0; int64_t ns = 0; if (utest_should_filter_test(filter, utest_state.tests[index].name)) { continue; } printf("%s[ RUN ]%s %s\n", colours[GREEN], colours[RESET], utest_state.tests[index].name); if (utest_state.output) { fprintf(utest_state.output, "<testcase name=\"%s\">", utest_state.tests[index].name); } ns = utest_ns(); utest_state.tests[index].func(&result, utest_state.tests[index].index); ns = utest_ns() - ns; if (utest_state.output) { fprintf(utest_state.output, "</testcase>\n"); } if (0 != result) { const size_t failed_testcase_index = failed_testcases_length++; failed_testcases = UTEST_PTR_CAST( size_t *, realloc(UTEST_PTR_CAST(void *, failed_testcases), sizeof(size_t) * failed_testcases_length)); failed_testcases[failed_testcase_index] = index; failed++; printf("%s[ FAILED ]%s %s (%" UTEST_PRId64 "ns)\n", colours[RED], colours[RESET], utest_state.tests[index].name, ns); } else { printf("%s[ OK ]%s %s (%" UTEST_PRId64 "ns)\n", colours[GREEN], colours[RESET], utest_state.tests[index].name, ns); } } printf("%s[==========]%s %" UTEST_PRIu64 " test cases ran.\n", colours[GREEN], colours[RESET], ran_tests); printf("%s[ PASSED ]%s %" UTEST_PRIu64 " tests.\n", colours[GREEN], colours[RESET], ran_tests - failed); if (0 != failed) { printf("%s[ FAILED ]%s %" UTEST_PRIu64 " tests, listed below:\n", colours[RED], colours[RESET], failed); for (index = 0; index < failed_testcases_length; index++) { printf("%s[ FAILED ]%s %s\n", colours[RED], colours[RESET], utest_state.tests[failed_testcases[index]].name); } } if (utest_state.output) { fprintf(utest_state.output, "</testsuite>\n</testsuites>\n"); } cleanup: for (index = 0; index < utest_state.tests_length; index++) { free(UTEST_PTR_CAST(void *, utest_state.tests[index].name)); } free(UTEST_PTR_CAST(void *, failed_testcases)); free(UTEST_PTR_CAST(void *, utest_state.tests)); if (utest_state.output) { fclose(utest_state.output); } return UTEST_CAST(int, failed); } /* we need, in exactly one source file, define the global struct that will hold the data we need to run utest. This macro allows the user to declare the data without having to use the UTEST_MAIN macro, thus allowing them to write their own main() function. */ #define UTEST_STATE() struct utest_state_s utest_state = {0, 0, 0} /* define a main() function to call into utest.h and start executing tests! A user can optionally not use this macro, and instead define their own main() function and manually call utest_main. The user must, in exactly one source file, use the UTEST_STATE macro to declare a global struct variable that utest requires. */ #define UTEST_MAIN() \ UTEST_STATE(); \ int main(int argc, const char *const argv[]) { \ return utest_main(argc, argv); \ } #endif /* SHEREDOM_UTEST_H_INCLUDED */
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_test.c
//------------------------------------------------------------------------------ // sokol-test.c // Sokol headers main test source. //------------------------------------------------------------------------------ #include "utest.h" UTEST_MAIN();
0
repos/sokol/tests
repos/sokol/tests/functional/sokol_shape_test.c
//------------------------------------------------------------------------------ // sokol-shape-test.c //------------------------------------------------------------------------------ #include "sokol_gfx.h" #define SOKOL_SHAPE_IMPL #include "sokol_shape.h" #include "utest.h" #define T(b) EXPECT_TRUE(b) #define TFLT(f0,f1,epsilon) {T(fabs((f0)-(f1))<=(epsilon));} UTEST(sokol_shape, color4f) { T(sshape_color_4f(1.0f, 0.0f, 0.0f, 0.0f) == 0x000000FF); T(sshape_color_4f(0.0f, 1.0f, 0.0f, 0.0f) == 0x0000FF00); T(sshape_color_4f(0.0f, 0.0f, 1.0f, 0.0f) == 0x00FF0000); T(sshape_color_4f(0.0f, 0.0f, 0.0f, 1.0f) == 0xFF000000); } UTEST(sokol_shape, color3f) { T(sshape_color_3f(1.0f, 0.0f, 0.0f) == 0xFF0000FF); T(sshape_color_3f(0.0f, 1.0f, 0.0f) == 0xFF00FF00); T(sshape_color_3f(0.0f, 0.0f, 1.0f) == 0xFFFF0000); } UTEST(sokol_shape, color4b) { T(sshape_color_4b(255, 0, 0, 0) == 0x000000FF); T(sshape_color_4b(0, 255, 0, 0) == 0x0000FF00); T(sshape_color_4b(0, 0, 255, 0) == 0x00FF0000); T(sshape_color_4b(0, 0, 0, 255) == 0xFF000000); } UTEST(sokol_shape, color3b) { T(sshape_color_3b(255, 0, 0) == 0xFF0000FF); T(sshape_color_3b(0, 255, 0) == 0xFF00FF00); T(sshape_color_3b(0, 0, 255) == 0xFFFF0000); } UTEST(sokol_shape, mat4) { float values[16] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f }; sshape_mat4_t m = sshape_mat4(values); T(m.m[0][0] == 1.0f); T(m.m[0][1] == 2.0f); T(m.m[0][2] == 3.0f); T(m.m[0][3] == 4.0f); T(m.m[1][0] == 5.0f); T(m.m[1][1] == 6.0f); T(m.m[1][2] == 7.0f); T(m.m[1][3] == 8.0f); T(m.m[2][0] == 9.0f); T(m.m[2][1] == 10.0f); T(m.m[2][2] == 11.0f); T(m.m[2][3] == 12.0f); T(m.m[3][0] == 13.0f); T(m.m[3][1] == 14.0f); T(m.m[3][2] == 15.0f); T(m.m[3][3] == 16.0f); } UTEST(sokol_shape, mat4_transpose) { float values[16] = { 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f, 9.0f, 10.0f, 11.0f, 12.0f, 13.0f, 14.0f, 15.0f, 16.0f }; sshape_mat4_t m = sshape_mat4_transpose(values); T(m.m[0][0] == 1.0f); T(m.m[1][0] == 2.0f); T(m.m[2][0] == 3.0f); T(m.m[3][0] == 4.0f); T(m.m[0][1] == 5.0f); T(m.m[1][1] == 6.0f); T(m.m[2][1] == 7.0f); T(m.m[3][1] == 8.0f); T(m.m[0][2] == 9.0f); T(m.m[1][2] == 10.0f); T(m.m[2][2] == 11.0f); T(m.m[3][2] == 12.0f); T(m.m[0][3] == 13.0f); T(m.m[1][3] == 14.0f); T(m.m[2][3] == 15.0f); T(m.m[3][3] == 16.0f); } UTEST(sokol_shape, plane_buffer_sizes) { sshape_sizes_t res; res = sshape_plane_sizes(1); T(4 == res.vertices.num); T(6 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); res = sshape_plane_sizes(2); T(9 == res.vertices.num); T(24 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); } UTEST(sokol_shape, box_buffer_sizes) { sshape_sizes_t res; res = sshape_box_sizes(1); T(24 == res.vertices.num); T(36 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); res = sshape_box_sizes(2); T(54 == res.vertices.num); T(144 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); } UTEST(sokol_shape, sphere_buffer_sizes) { sshape_sizes_t res; res = sshape_sphere_sizes(3, 2); T(12 == res.vertices.num); T(18 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); res = sshape_sphere_sizes(36, 12); T(481 == res.vertices.num); T(2376 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); } UTEST(sokol_shape, cylinder_buffer_sizes) { sshape_sizes_t res; res = sshape_cylinder_sizes(3, 1); T(24 == res.vertices.num); T(36 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); res = sshape_cylinder_sizes(5, 2); T(42 == res.vertices.num); T(90 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); } UTEST(sokol_shape, torus_buffer_sizes) { sshape_sizes_t res; res = sshape_torus_sizes(3, 3); T(16 == res.vertices.num); T(54 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); res = sshape_torus_sizes(4, 5); T(30 == res.vertices.num); T(120 == res.indices.num); T(res.vertices.num * sizeof(sshape_vertex_t) == res.vertices.size); T(res.indices.num * sizeof(uint16_t) == res.indices.size); } UTEST(sokol_shape, buffer_layout_desc) { const sg_vertex_buffer_layout_state l_state = sshape_vertex_buffer_layout_state(); T(sizeof(sshape_vertex_t) == l_state.stride); T(0 == l_state.step_func); T(0 == l_state.step_rate); } UTEST(sokol_shape, attr_descs) { { const sg_vertex_attr_state a_state = sshape_position_vertex_attr_state(); T(offsetof(sshape_vertex_t, x) == a_state.offset); T(SG_VERTEXFORMAT_FLOAT3 == a_state.format); T(0 == a_state.buffer_index); } { const sg_vertex_attr_state a_state = sshape_normal_vertex_attr_state(); T(offsetof(sshape_vertex_t, normal) == a_state.offset); T(SG_VERTEXFORMAT_BYTE4N == a_state.format); T(0 == a_state.buffer_index); } { const sg_vertex_attr_state a_state = sshape_texcoord_vertex_attr_state(); T(offsetof(sshape_vertex_t, u) == a_state.offset); T(SG_VERTEXFORMAT_USHORT2N == a_state.format); T(0 == a_state.buffer_index); } { const sg_vertex_attr_state a_state = sshape_color_vertex_attr_state(); T(offsetof(sshape_vertex_t, color) == a_state.offset); T(SG_VERTEXFORMAT_UBYTE4N == a_state.format); T(0 == a_state.buffer_index); } } UTEST(sokol_shape, buffer_descs_elm_range) { sshape_vertex_t vx[128] = { 0 }; uint16_t ix[128] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix), }; // build a box... { buf = sshape_build_box(&buf, &(sshape_box_t) {0}); const sg_buffer_desc vbuf_desc = sshape_vertex_buffer_desc(&buf); const sg_buffer_desc ibuf_desc = sshape_index_buffer_desc(&buf); const sshape_element_range_t elm_range = sshape_element_range(&buf); T(vbuf_desc.size == 0); T(vbuf_desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(vbuf_desc.usage == SG_USAGE_IMMUTABLE); T(vbuf_desc.data.ptr == vx); T(vbuf_desc.data.size == 24 * sizeof(sshape_vertex_t)); T(ibuf_desc.size == 0); T(ibuf_desc.type == SG_BUFFERTYPE_INDEXBUFFER); T(ibuf_desc.usage == SG_USAGE_IMMUTABLE); T(ibuf_desc.data.ptr == ix); T(ibuf_desc.data.size == 36 * sizeof(uint16_t)); T(elm_range.base_element == 0); T(elm_range.num_elements == 36); } // append a plane... { buf = sshape_build_plane(&buf, &(sshape_plane_t) {0}); const sg_buffer_desc vbuf_desc = sshape_vertex_buffer_desc(&buf); const sg_buffer_desc ibuf_desc = sshape_index_buffer_desc(&buf); const sshape_element_range_t elm_range = sshape_element_range(&buf); T(vbuf_desc.size == 0); T(vbuf_desc.type == SG_BUFFERTYPE_VERTEXBUFFER); T(vbuf_desc.usage == SG_USAGE_IMMUTABLE); T(vbuf_desc.data.ptr == vx); T(vbuf_desc.data.size == 28 * sizeof(sshape_vertex_t)); T(ibuf_desc.size == 0); T(ibuf_desc.type == SG_BUFFERTYPE_INDEXBUFFER); T(ibuf_desc.usage == SG_USAGE_IMMUTABLE); T(ibuf_desc.data.ptr == ix); T(ibuf_desc.data.size == 42 * sizeof(uint16_t)); T(elm_range.base_element == 36); T(elm_range.num_elements == 6); } } UTEST(sokol_shape, build_plane_defaults) { sshape_vertex_t vx[64] = { 0 }; uint16_t ix[64] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix), }; buf = sshape_build_plane(&buf, &(sshape_plane_t) { 0 }); T(buf.valid); T(0 == buf.vertices.shape_offset); T(4 * sizeof(sshape_vertex_t) == buf.vertices.data_size); T(0 == buf.indices.shape_offset); T(6 * sizeof(uint16_t) == buf.indices.data_size); for (int i = 0; i < 4; i++) { T(vx[i].color == 0xFFFFFFFF); } T(ix[0] == 0); T(ix[1] == 1); T(ix[2] == 3); T(ix[3] == 0); T(ix[4] == 3); T(ix[5] == 2); } UTEST(sokol_shape, build_plane_validate) { sshape_vertex_t vx[64] = { 0 }; uint16_t ix[64] = { 0 }; const sshape_plane_t params = { 0 }; // vertex buffer too small { sshape_buffer_t buf = { .vertices.buffer = { .ptr = vx, .size = 3 * sizeof(sshape_vertex_t) }, .indices.buffer = SSHAPE_RANGE(ix), }; T(!sshape_build_plane(&buf, &params).valid); } // index buffer too small { sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = { .ptr = ix, .size = 5 * sizeof(uint16_t) } }; T(!sshape_build_plane(&buf, &params).valid); } // just the right size { sshape_buffer_t buf = { .vertices.buffer = { .ptr = vx, .size = 4 * sizeof(sshape_vertex_t) }, .indices.buffer = { .ptr = ix, .size = 6 * sizeof(uint16_t) } }; T(sshape_build_plane(&buf, &params).valid); } // too small for two planes { sshape_buffer_t buf = { .vertices.buffer = { .ptr = vx, .size = 5 * sizeof(sshape_vertex_t) }, .indices.buffer = { .ptr = ix, .size = 7 * sizeof(uint16_t) } }; buf = sshape_build_plane(&buf, &params); T(buf.valid); buf = sshape_build_plane(&buf, &params); T(!buf.valid); } // just the right size for two planes { sshape_buffer_t buf = { .vertices.buffer = { .ptr = vx, .size = 8 * sizeof(sshape_vertex_t) }, .indices.buffer = { .ptr = ix, .size = 12 * sizeof(uint16_t) } }; buf = sshape_build_plane(&buf, &params); T(buf.valid); T(buf.vertices.shape_offset == 0); T(buf.vertices.data_size == 4 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 0); T(buf.indices.data_size == 6 * sizeof(uint16_t)); buf = sshape_build_plane(&buf, &params); T(buf.valid); T(buf.vertices.shape_offset == 4 * sizeof(sshape_vertex_t)); T(buf.vertices.data_size == 8 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 6 * sizeof(uint16_t)); T(buf.indices.data_size == 12 * sizeof(uint16_t)); } } UTEST(sokol_shape, build_box_defaults) { sshape_vertex_t vx[128] = { 0 }; uint16_t ix[128] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix), }; buf = sshape_build_box(&buf, &(sshape_box_t) { .color = 0xFF0000FF }); T(buf.valid); T(buf.vertices.buffer.ptr == vx); T(buf.vertices.buffer.size == sizeof(vx)); T(buf.indices.buffer.ptr == ix); T(buf.indices.buffer.size == sizeof(ix)); T(buf.vertices.shape_offset == 0); T(buf.vertices.data_size == 24 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 0); T(buf.indices.data_size == 36 * sizeof(uint16_t)); } UTEST(sokol_shape, build_sphere_defaults) { sshape_vertex_t vx[128] = { 0 }; uint16_t ix[128] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix), }; buf = sshape_build_sphere(&buf, &(sshape_sphere_t) { .color = 0xFF0000FF }); T(buf.valid); T(buf.vertices.buffer.ptr == vx); T(buf.vertices.buffer.size == sizeof(vx)); T(buf.indices.buffer.ptr == ix); T(buf.indices.buffer.size == sizeof(ix)); T(buf.vertices.shape_offset == 0); T(buf.vertices.data_size == 30 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 0); T(buf.indices.data_size == 90 * sizeof(uint16_t)); } UTEST(sokol_shape, build_cylinder_defaults) { sshape_vertex_t vx[128] = { 0 }; uint16_t ix[128] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix) }; buf = sshape_build_cylinder(&buf, &(sshape_cylinder_t) { .color = 0xFF0000FF }); T(buf.valid); T(buf.vertices.buffer.ptr == vx); T(buf.vertices.buffer.size == sizeof(vx)); T(buf.indices.buffer.ptr == ix); T(buf.indices.buffer.size == sizeof(ix)); T(buf.vertices.shape_offset == 0); T(buf.vertices.data_size == 36 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 0); T(buf.indices.data_size == 60 * sizeof(uint16_t)); } UTEST(sokol_shape, build_torus_defaults) { sshape_vertex_t vx[128] = { 0 }; uint16_t ix[256] = { 0 }; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vx), .indices.buffer = SSHAPE_RANGE(ix), }; buf = sshape_build_torus(&buf, &(sshape_torus_t) { .color = 0xFF0000FF }); T(buf.valid); T(buf.vertices.buffer.ptr == vx); T(buf.vertices.buffer.size == sizeof(vx)); T(buf.indices.buffer.ptr == ix); T(buf.indices.buffer.size == sizeof(ix)); T(buf.vertices.shape_offset == 0); T(buf.vertices.data_size == 36 * sizeof(sshape_vertex_t)); T(buf.indices.shape_offset == 0); T(buf.indices.data_size == 150 * sizeof(uint16_t)); }
0
repos/sokol/tests/functional
repos/sokol/tests/functional/assets/readme.txt
Spine examples taken from: https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/examples
0
repos/sokol/tests
repos/sokol/tests/ext/nuklear.h
/* /// # Nuklear /// ![](https://cloud.githubusercontent.com/assets/8057201/11761525/ae06f0ca-a0c6-11e5-819d-5610b25f6ef4.gif) /// /// ## Contents /// 1. About section /// 2. Highlights section /// 3. Features section /// 4. Usage section /// 1. Flags section /// 2. Constants section /// 3. Dependencies section /// 5. Example section /// 6. API section /// 1. Context section /// 2. Input section /// 3. Drawing section /// 4. Window section /// 5. Layouting section /// 6. Groups section /// 7. Tree section /// 8. Properties section /// 7. License section /// 8. Changelog section /// 9. Gallery section /// 10. Credits section /// /// ## About /// This is a minimal state immediate mode graphical user interface toolkit /// written in ANSI C and licensed under public domain. It was designed as a simple /// embeddable user interface for application and does not have any dependencies, /// a default renderbackend or OS window and input handling but instead provides a very modular /// library approach by using simple input state for input and draw /// commands describing primitive shapes as output. So instead of providing a /// layered library that tries to abstract over a number of platform and /// render backends it only focuses on the actual UI. /// /// ## Highlights /// - Graphical user interface toolkit /// - Single header library /// - Written in C89 (a.k.a. ANSI C or ISO C90) /// - Small codebase (~18kLOC) /// - Focus on portability, efficiency and simplicity /// - No dependencies (not even the standard library if not wanted) /// - Fully skinnable and customizable /// - Low memory footprint with total memory control if needed or wanted /// - UTF-8 support /// - No global or hidden state /// - Customizable library modules (you can compile and use only what you need) /// - Optional font baker and vertex buffer output /// /// ## Features /// - Absolutely no platform dependent code /// - Memory management control ranging from/to /// - Ease of use by allocating everything from standard library /// - Control every byte of memory inside the library /// - Font handling control ranging from/to /// - Use your own font implementation for everything /// - Use this libraries internal font baking and handling API /// - Drawing output control ranging from/to /// - Simple shapes for more high level APIs which already have drawing capabilities /// - Hardware accessible anti-aliased vertex buffer output /// - Customizable colors and properties ranging from/to /// - Simple changes to color by filling a simple color table /// - Complete control with ability to use skinning to decorate widgets /// - Bendable UI library with widget ranging from/to /// - Basic widgets like buttons, checkboxes, slider, ... /// - Advanced widget like abstract comboboxes, contextual menus,... /// - Compile time configuration to only compile what you need /// - Subset which can be used if you do not want to link or use the standard library /// - Can be easily modified to only update on user input instead of frame updates /// /// ## Usage /// This library is self contained in one single header file and can be used either /// in header only mode or in implementation mode. The header only mode is used /// by default when included and allows including this header in other headers /// and does not contain the actual implementation. <br /><br /> /// /// The implementation mode requires to define the preprocessor macro /// NK_IMPLEMENTATION in *one* .c/.cpp file before #includeing this file, e.g.: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~C /// #define NK_IMPLEMENTATION /// #include "nuklear.h" /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Also optionally define the symbols listed in the section "OPTIONAL DEFINES" /// below in header and implementation mode if you want to use additional functionality /// or need more control over the library. /// /// !!! WARNING /// Every time nuklear is included define the same compiler flags. This very important not doing so could lead to compiler errors or even worse stack corruptions. /// /// ### Flags /// Flag | Description /// --------------------------------|------------------------------------------ /// NK_PRIVATE | If defined declares all functions as static, so they can only be accessed inside the file that contains the implementation /// NK_INCLUDE_FIXED_TYPES | If defined it will include header `<stdint.h>` for fixed sized types otherwise nuklear tries to select the correct type. If that fails it will throw a compiler error and you have to select the correct types yourself. /// NK_INCLUDE_DEFAULT_ALLOCATOR | If defined it will include header `<stdlib.h>` and provide additional functions to use this library without caring for memory allocation control and therefore ease memory management. /// NK_INCLUDE_STANDARD_IO | If defined it will include header `<stdio.h>` and provide additional functions depending on file loading. /// NK_INCLUDE_STANDARD_VARARGS | If defined it will include header <stdarg.h> and provide additional functions depending on file loading. /// NK_INCLUDE_STANDARD_BOOL | If defined it will include header `<stdbool.h>` for nk_bool otherwise nuklear defines nk_bool as int. /// NK_INCLUDE_VERTEX_BUFFER_OUTPUT | Defining this adds a vertex draw command list backend to this library, which allows you to convert queue commands into vertex draw commands. This is mainly if you need a hardware accessible format for OpenGL, DirectX, Vulkan, Metal,... /// NK_INCLUDE_FONT_BAKING | Defining this adds `stb_truetype` and `stb_rect_pack` implementation to this library and provides font baking and rendering. If you already have font handling or do not want to use this font handler you don't have to define it. /// NK_INCLUDE_DEFAULT_FONT | Defining this adds the default font: ProggyClean.ttf into this library which can be loaded into a font atlas and allows using this library without having a truetype font /// NK_INCLUDE_COMMAND_USERDATA | Defining this adds a userdata pointer into each command. Can be useful for example if you want to provide custom shaders depending on the used widget. Can be combined with the style structures. /// NK_BUTTON_TRIGGER_ON_RELEASE | Different platforms require button clicks occurring either on buttons being pressed (up to down) or released (down to up). By default this library will react on buttons being pressed, but if you define this it will only trigger if a button is released. /// NK_ZERO_COMMAND_MEMORY | Defining this will zero out memory for each drawing command added to a drawing queue (inside nk_command_buffer_push). Zeroing command memory is very useful for fast checking (using memcmp) if command buffers are equal and avoid drawing frames when nothing on screen has changed since previous frame. /// NK_UINT_DRAW_INDEX | Defining this will set the size of vertex index elements when using NK_VERTEX_BUFFER_OUTPUT to 32bit instead of the default of 16bit /// NK_KEYSTATE_BASED_INPUT | Define this if your backend uses key state for each frame rather than key press/release events /// /// !!! WARNING /// The following flags will pull in the standard C library: /// - NK_INCLUDE_DEFAULT_ALLOCATOR /// - NK_INCLUDE_STANDARD_IO /// - NK_INCLUDE_STANDARD_VARARGS /// /// !!! WARNING /// The following flags if defined need to be defined for both header and implementation: /// - NK_INCLUDE_FIXED_TYPES /// - NK_INCLUDE_DEFAULT_ALLOCATOR /// - NK_INCLUDE_STANDARD_VARARGS /// - NK_INCLUDE_STANDARD_BOOL /// - NK_INCLUDE_VERTEX_BUFFER_OUTPUT /// - NK_INCLUDE_FONT_BAKING /// - NK_INCLUDE_DEFAULT_FONT /// - NK_INCLUDE_STANDARD_VARARGS /// - NK_INCLUDE_COMMAND_USERDATA /// - NK_UINT_DRAW_INDEX /// /// ### Constants /// Define | Description /// --------------------------------|--------------------------------------- /// NK_BUFFER_DEFAULT_INITIAL_SIZE | Initial buffer size allocated by all buffers while using the default allocator functions included by defining NK_INCLUDE_DEFAULT_ALLOCATOR. If you don't want to allocate the default 4k memory then redefine it. /// NK_MAX_NUMBER_BUFFER | Maximum buffer size for the conversion buffer between float and string Under normal circumstances this should be more than sufficient. /// NK_INPUT_MAX | Defines the max number of bytes which can be added as text input in one frame. Under normal circumstances this should be more than sufficient. /// /// !!! WARNING /// The following constants if defined need to be defined for both header and implementation: /// - NK_MAX_NUMBER_BUFFER /// - NK_BUFFER_DEFAULT_INITIAL_SIZE /// - NK_INPUT_MAX /// /// ### Dependencies /// Function | Description /// ------------|--------------------------------------------------------------- /// NK_ASSERT | If you don't define this, nuklear will use <assert.h> with assert(). /// NK_MEMSET | You can define this to 'memset' or your own memset implementation replacement. If not nuklear will use its own version. /// NK_MEMCPY | You can define this to 'memcpy' or your own memcpy implementation replacement. If not nuklear will use its own version. /// NK_SQRT | You can define this to 'sqrt' or your own sqrt implementation replacement. If not nuklear will use its own slow and not highly accurate version. /// NK_SIN | You can define this to 'sinf' or your own sine implementation replacement. If not nuklear will use its own approximation implementation. /// NK_COS | You can define this to 'cosf' or your own cosine implementation replacement. If not nuklear will use its own approximation implementation. /// NK_STRTOD | You can define this to `strtod` or your own string to double conversion implementation replacement. If not defined nuklear will use its own imprecise and possibly unsafe version (does not handle nan or infinity!). /// NK_DTOA | You can define this to `dtoa` or your own double to string conversion implementation replacement. If not defined nuklear will use its own imprecise and possibly unsafe version (does not handle nan or infinity!). /// NK_VSNPRINTF| If you define `NK_INCLUDE_STANDARD_VARARGS` as well as `NK_INCLUDE_STANDARD_IO` and want to be safe define this to `vsnprintf` on compilers supporting later versions of C or C++. By default nuklear will check for your stdlib version in C as well as compiler version in C++. if `vsnprintf` is available it will define it to `vsnprintf` directly. If not defined and if you have older versions of C or C++ it will be defined to `vsprintf` which is unsafe. /// /// !!! WARNING /// The following dependencies will pull in the standard C library if not redefined: /// - NK_ASSERT /// /// !!! WARNING /// The following dependencies if defined need to be defined for both header and implementation: /// - NK_ASSERT /// /// !!! WARNING /// The following dependencies if defined need to be defined only for the implementation part: /// - NK_MEMSET /// - NK_MEMCPY /// - NK_SQRT /// - NK_SIN /// - NK_COS /// - NK_STRTOD /// - NK_DTOA /// - NK_VSNPRINTF /// /// ## Example /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// // init gui state /// enum {EASY, HARD}; /// static int op = EASY; /// static float value = 0.6f; /// static int i = 20; /// struct nk_context ctx; /// /// nk_init_fixed(&ctx, calloc(1, MAX_MEMORY), MAX_MEMORY, &font); /// if (nk_begin(&ctx, "Show", nk_rect(50, 50, 220, 220), /// NK_WINDOW_BORDER|NK_WINDOW_MOVABLE|NK_WINDOW_CLOSABLE)) { /// // fixed widget pixel width /// nk_layout_row_static(&ctx, 30, 80, 1); /// if (nk_button_label(&ctx, "button")) { /// // event handling /// } /// /// // fixed widget window ratio width /// nk_layout_row_dynamic(&ctx, 30, 2); /// if (nk_option_label(&ctx, "easy", op == EASY)) op = EASY; /// if (nk_option_label(&ctx, "hard", op == HARD)) op = HARD; /// /// // custom widget pixel width /// nk_layout_row_begin(&ctx, NK_STATIC, 30, 2); /// { /// nk_layout_row_push(&ctx, 50); /// nk_label(&ctx, "Volume:", NK_TEXT_LEFT); /// nk_layout_row_push(&ctx, 110); /// nk_slider_float(&ctx, 0, &value, 1.0f, 0.1f); /// } /// nk_layout_row_end(&ctx); /// } /// nk_end(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// ![](https://cloud.githubusercontent.com/assets/8057201/10187981/584ecd68-675c-11e5-897c-822ef534a876.png) /// /// ## API /// */ #ifndef NK_SINGLE_FILE #define NK_SINGLE_FILE #endif #ifndef NK_NUKLEAR_H_ #define NK_NUKLEAR_H_ #ifdef __cplusplus extern "C" { #endif /* * ============================================================== * * CONSTANTS * * =============================================================== */ #define NK_UNDEFINED (-1.0f) #define NK_UTF_INVALID 0xFFFD /* internal invalid utf8 rune */ #define NK_UTF_SIZE 4 /* describes the number of bytes a glyph consists of*/ #ifndef NK_INPUT_MAX #define NK_INPUT_MAX 16 #endif #ifndef NK_MAX_NUMBER_BUFFER #define NK_MAX_NUMBER_BUFFER 64 #endif #ifndef NK_SCROLLBAR_HIDING_TIMEOUT #define NK_SCROLLBAR_HIDING_TIMEOUT 4.0f #endif /* * ============================================================== * * HELPER * * =============================================================== */ #ifndef NK_API #ifdef NK_PRIVATE #if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199409L)) #define NK_API static inline #elif defined(__cplusplus) #define NK_API static inline #else #define NK_API static #endif #else #define NK_API extern #endif #endif #ifndef NK_LIB #ifdef NK_SINGLE_FILE #define NK_LIB static #else #define NK_LIB extern #endif #endif #define NK_INTERN static #define NK_STORAGE static #define NK_GLOBAL static #define NK_FLAG(x) (1 << (x)) #define NK_STRINGIFY(x) #x #define NK_MACRO_STRINGIFY(x) NK_STRINGIFY(x) #define NK_STRING_JOIN_IMMEDIATE(arg1, arg2) arg1 ## arg2 #define NK_STRING_JOIN_DELAY(arg1, arg2) NK_STRING_JOIN_IMMEDIATE(arg1, arg2) #define NK_STRING_JOIN(arg1, arg2) NK_STRING_JOIN_DELAY(arg1, arg2) #ifdef _MSC_VER #define NK_UNIQUE_NAME(name) NK_STRING_JOIN(name,__COUNTER__) #else #define NK_UNIQUE_NAME(name) NK_STRING_JOIN(name,__LINE__) #endif #ifndef NK_STATIC_ASSERT #define NK_STATIC_ASSERT(exp) typedef char NK_UNIQUE_NAME(_dummy_array)[(exp)?1:-1] #endif #ifndef NK_FILE_LINE #ifdef _MSC_VER #define NK_FILE_LINE __FILE__ ":" NK_MACRO_STRINGIFY(__COUNTER__) #else #define NK_FILE_LINE __FILE__ ":" NK_MACRO_STRINGIFY(__LINE__) #endif #endif #define NK_MIN(a,b) ((a) < (b) ? (a) : (b)) #define NK_MAX(a,b) ((a) < (b) ? (b) : (a)) #define NK_CLAMP(i,v,x) (NK_MAX(NK_MIN(v,x), i)) #ifdef NK_INCLUDE_STANDARD_VARARGS #include <stdarg.h> #if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */ #include <sal.h> #define NK_PRINTF_FORMAT_STRING _Printf_format_string_ #else #define NK_PRINTF_FORMAT_STRING #endif #if defined(__GNUC__) #define NK_PRINTF_VARARG_FUNC(fmtargnumber) __attribute__((format(__printf__, fmtargnumber, fmtargnumber+1))) #define NK_PRINTF_VALIST_FUNC(fmtargnumber) __attribute__((format(__printf__, fmtargnumber, 0))) #else #define NK_PRINTF_VARARG_FUNC(fmtargnumber) #define NK_PRINTF_VALIST_FUNC(fmtargnumber) #endif #endif /* * =============================================================== * * BASIC * * =============================================================== */ #ifdef NK_INCLUDE_FIXED_TYPES #include <stdint.h> #define NK_INT8 int8_t #define NK_UINT8 uint8_t #define NK_INT16 int16_t #define NK_UINT16 uint16_t #define NK_INT32 int32_t #define NK_UINT32 uint32_t #define NK_SIZE_TYPE uintptr_t #define NK_POINTER_TYPE uintptr_t #else #ifndef NK_INT8 #define NK_INT8 signed char #endif #ifndef NK_UINT8 #define NK_UINT8 unsigned char #endif #ifndef NK_INT16 #define NK_INT16 signed short #endif #ifndef NK_UINT16 #define NK_UINT16 unsigned short #endif #ifndef NK_INT32 #if defined(_MSC_VER) #define NK_INT32 __int32 #else #define NK_INT32 signed int #endif #endif #ifndef NK_UINT32 #if defined(_MSC_VER) #define NK_UINT32 unsigned __int32 #else #define NK_UINT32 unsigned int #endif #endif #ifndef NK_SIZE_TYPE #if defined(_WIN64) && defined(_MSC_VER) #define NK_SIZE_TYPE unsigned __int64 #elif (defined(_WIN32) || defined(WIN32)) && defined(_MSC_VER) #define NK_SIZE_TYPE unsigned __int32 #elif defined(__GNUC__) || defined(__clang__) #if defined(__x86_64__) || defined(__ppc64__) #define NK_SIZE_TYPE unsigned long #else #define NK_SIZE_TYPE unsigned int #endif #else #define NK_SIZE_TYPE unsigned long #endif #endif #ifndef NK_POINTER_TYPE #if defined(_WIN64) && defined(_MSC_VER) #define NK_POINTER_TYPE unsigned __int64 #elif (defined(_WIN32) || defined(WIN32)) && defined(_MSC_VER) #define NK_POINTER_TYPE unsigned __int32 #elif defined(__GNUC__) || defined(__clang__) #if defined(__x86_64__) || defined(__ppc64__) #define NK_POINTER_TYPE unsigned long #else #define NK_POINTER_TYPE unsigned int #endif #else #define NK_POINTER_TYPE unsigned long #endif #endif #endif #ifndef NK_BOOL #ifdef NK_INCLUDE_STANDARD_BOOL #include <stdbool.h> #define NK_BOOL bool #else #define NK_BOOL int /* could be char, use int for drop-in replacement backwards compatibility */ #endif #endif typedef NK_INT8 nk_char; typedef NK_UINT8 nk_uchar; typedef NK_UINT8 nk_byte; typedef NK_INT16 nk_short; typedef NK_UINT16 nk_ushort; typedef NK_INT32 nk_int; typedef NK_UINT32 nk_uint; typedef NK_SIZE_TYPE nk_size; typedef NK_POINTER_TYPE nk_ptr; typedef NK_BOOL nk_bool; typedef nk_uint nk_hash; typedef nk_uint nk_flags; typedef nk_uint nk_rune; /* Make sure correct type size: * This will fire with a negative subscript error if the type sizes * are set incorrectly by the compiler, and compile out if not */ NK_STATIC_ASSERT(sizeof(nk_short) == 2); NK_STATIC_ASSERT(sizeof(nk_ushort) == 2); NK_STATIC_ASSERT(sizeof(nk_uint) == 4); NK_STATIC_ASSERT(sizeof(nk_int) == 4); NK_STATIC_ASSERT(sizeof(nk_byte) == 1); NK_STATIC_ASSERT(sizeof(nk_flags) >= 4); NK_STATIC_ASSERT(sizeof(nk_rune) >= 4); NK_STATIC_ASSERT(sizeof(nk_size) >= sizeof(void*)); NK_STATIC_ASSERT(sizeof(nk_ptr) >= sizeof(void*)); #ifdef NK_INCLUDE_STANDARD_BOOL NK_STATIC_ASSERT(sizeof(nk_bool) == sizeof(bool)); #else NK_STATIC_ASSERT(sizeof(nk_bool) >= 2); #endif /* ============================================================================ * * API * * =========================================================================== */ struct nk_buffer; struct nk_allocator; struct nk_command_buffer; struct nk_draw_command; struct nk_convert_config; struct nk_style_item; struct nk_text_edit; struct nk_draw_list; struct nk_user_font; struct nk_panel; struct nk_context; struct nk_draw_vertex_layout_element; struct nk_style_button; struct nk_style_toggle; struct nk_style_selectable; struct nk_style_slide; struct nk_style_progress; struct nk_style_scrollbar; struct nk_style_edit; struct nk_style_property; struct nk_style_chart; struct nk_style_combo; struct nk_style_tab; struct nk_style_window_header; struct nk_style_window; enum {nk_false, nk_true}; struct nk_color {nk_byte r,g,b,a;}; struct nk_colorf {float r,g,b,a;}; struct nk_vec2 {float x,y;}; struct nk_vec2i {short x, y;}; struct nk_rect {float x,y,w,h;}; struct nk_recti {short x,y,w,h;}; typedef char nk_glyph[NK_UTF_SIZE]; typedef union {void *ptr; int id;} nk_handle; struct nk_image {nk_handle handle;unsigned short w,h;unsigned short region[4];}; struct nk_cursor {struct nk_image img; struct nk_vec2 size, offset;}; struct nk_scroll {nk_uint x, y;}; enum nk_heading {NK_UP, NK_RIGHT, NK_DOWN, NK_LEFT}; enum nk_button_behavior {NK_BUTTON_DEFAULT, NK_BUTTON_REPEATER}; enum nk_modify {NK_FIXED = nk_false, NK_MODIFIABLE = nk_true}; enum nk_orientation {NK_VERTICAL, NK_HORIZONTAL}; enum nk_collapse_states {NK_MINIMIZED = nk_false, NK_MAXIMIZED = nk_true}; enum nk_show_states {NK_HIDDEN = nk_false, NK_SHOWN = nk_true}; enum nk_chart_type {NK_CHART_LINES, NK_CHART_COLUMN, NK_CHART_MAX}; enum nk_chart_event {NK_CHART_HOVERING = 0x01, NK_CHART_CLICKED = 0x02}; enum nk_color_format {NK_RGB, NK_RGBA}; enum nk_popup_type {NK_POPUP_STATIC, NK_POPUP_DYNAMIC}; enum nk_layout_format {NK_DYNAMIC, NK_STATIC}; enum nk_tree_type {NK_TREE_NODE, NK_TREE_TAB}; typedef void*(*nk_plugin_alloc)(nk_handle, void *old, nk_size); typedef void (*nk_plugin_free)(nk_handle, void *old); typedef nk_bool(*nk_plugin_filter)(const struct nk_text_edit*, nk_rune unicode); typedef void(*nk_plugin_paste)(nk_handle, struct nk_text_edit*); typedef void(*nk_plugin_copy)(nk_handle, const char*, int len); struct nk_allocator { nk_handle userdata; nk_plugin_alloc alloc; nk_plugin_free free; }; enum nk_symbol_type { NK_SYMBOL_NONE, NK_SYMBOL_X, NK_SYMBOL_UNDERSCORE, NK_SYMBOL_CIRCLE_SOLID, NK_SYMBOL_CIRCLE_OUTLINE, NK_SYMBOL_RECT_SOLID, NK_SYMBOL_RECT_OUTLINE, NK_SYMBOL_TRIANGLE_UP, NK_SYMBOL_TRIANGLE_DOWN, NK_SYMBOL_TRIANGLE_LEFT, NK_SYMBOL_TRIANGLE_RIGHT, NK_SYMBOL_PLUS, NK_SYMBOL_MINUS, NK_SYMBOL_MAX }; /* ============================================================================= * * CONTEXT * * =============================================================================*/ /*/// ### Context /// Contexts are the main entry point and the majestro of nuklear and contain all required state. /// They are used for window, memory, input, style, stack, commands and time management and need /// to be passed into all nuklear GUI specific functions. /// /// #### Usage /// To use a context it first has to be initialized which can be achieved by calling /// one of either `nk_init_default`, `nk_init_fixed`, `nk_init`, `nk_init_custom`. /// Each takes in a font handle and a specific way of handling memory. Memory control /// hereby ranges from standard library to just specifying a fixed sized block of memory /// which nuklear has to manage itself from. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// // [...] /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// --------------------|------------------------------------------------------- /// __nk_init_default__ | Initializes context with standard library memory allocation (malloc,free) /// __nk_init_fixed__ | Initializes context from single fixed size memory block /// __nk_init__ | Initializes context with memory allocator callbacks for alloc and free /// __nk_init_custom__ | Initializes context from two buffers. One for draw commands the other for window/panel/table allocations /// __nk_clear__ | Called at the end of the frame to reset and prepare the context for the next frame /// __nk_free__ | Shutdown and free all memory allocated inside the context /// __nk_set_user_data__| Utility function to pass user data to draw command */ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR /*/// #### nk_init_default /// Initializes a `nk_context` struct with a default standard library allocator. /// Should be used if you don't want to be bothered with memory management in nuklear. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_init_default(struct nk_context *ctx, const struct nk_user_font *font); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|--------------------------------------------------------------- /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct /// __font__ | Must point to a previously initialized font handle for more info look at font documentation /// /// Returns either `false(0)` on failure or `true(1)` on success. /// */ NK_API nk_bool nk_init_default(struct nk_context*, const struct nk_user_font*); #endif /*/// #### nk_init_fixed /// Initializes a `nk_context` struct from single fixed size memory block /// Should be used if you want complete control over nuklear's memory management. /// Especially recommended for system with little memory or systems with virtual memory. /// For the later case you can just allocate for example 16MB of virtual memory /// and only the required amount of memory will actually be committed. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_init_fixed(struct nk_context *ctx, void *memory, nk_size size, const struct nk_user_font *font); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// !!! Warning /// make sure the passed memory block is aligned correctly for `nk_draw_commands`. /// /// Parameter | Description /// ------------|-------------------------------------------------------------- /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct /// __memory__ | Must point to a previously allocated memory block /// __size__ | Must contain the total size of __memory__ /// __font__ | Must point to a previously initialized font handle for more info look at font documentation /// /// Returns either `false(0)` on failure or `true(1)` on success. */ NK_API nk_bool nk_init_fixed(struct nk_context*, void *memory, nk_size size, const struct nk_user_font*); /*/// #### nk_init /// Initializes a `nk_context` struct with memory allocation callbacks for nuklear to allocate /// memory from. Used internally for `nk_init_default` and provides a kitchen sink allocation /// interface to nuklear. Can be useful for cases like monitoring memory consumption. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_init(struct nk_context *ctx, struct nk_allocator *alloc, const struct nk_user_font *font); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|--------------------------------------------------------------- /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct /// __alloc__ | Must point to a previously allocated memory allocator /// __font__ | Must point to a previously initialized font handle for more info look at font documentation /// /// Returns either `false(0)` on failure or `true(1)` on success. */ NK_API nk_bool nk_init(struct nk_context*, struct nk_allocator*, const struct nk_user_font*); /*/// #### nk_init_custom /// Initializes a `nk_context` struct from two different either fixed or growing /// buffers. The first buffer is for allocating draw commands while the second buffer is /// used for allocating windows, panels and state tables. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_init_custom(struct nk_context *ctx, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font *font); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|--------------------------------------------------------------- /// __ctx__ | Must point to an either stack or heap allocated `nk_context` struct /// __cmds__ | Must point to a previously initialized memory buffer either fixed or dynamic to store draw commands into /// __pool__ | Must point to a previously initialized memory buffer either fixed or dynamic to store windows, panels and tables /// __font__ | Must point to a previously initialized font handle for more info look at font documentation /// /// Returns either `false(0)` on failure or `true(1)` on success. */ NK_API nk_bool nk_init_custom(struct nk_context*, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font*); /*/// #### nk_clear /// Resets the context state at the end of the frame. This includes mostly /// garbage collector tasks like removing windows or table not called and therefore /// used anymore. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_clear(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct */ NK_API void nk_clear(struct nk_context*); /*/// #### nk_free /// Frees all memory allocated by nuklear. Not needed if context was /// initialized with `nk_init_fixed`. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_free(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct */ NK_API void nk_free(struct nk_context*); #ifdef NK_INCLUDE_COMMAND_USERDATA /*/// #### nk_set_user_data /// Sets the currently passed userdata passed down into each draw command. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_set_user_data(struct nk_context *ctx, nk_handle data); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|-------------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __data__ | Handle with either pointer or index to be passed into every draw commands */ NK_API void nk_set_user_data(struct nk_context*, nk_handle handle); #endif /* ============================================================================= * * INPUT * * =============================================================================*/ /*/// ### Input /// The input API is responsible for holding the current input state composed of /// mouse, key and text input states. /// It is worth noting that no direct OS or window handling is done in nuklear. /// Instead all input state has to be provided by platform specific code. This on one hand /// expects more work from the user and complicates usage but on the other hand /// provides simple abstraction over a big number of platforms, libraries and other /// already provided functionality. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// // [...] /// } /// } nk_input_end(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Usage /// Input state needs to be provided to nuklear by first calling `nk_input_begin` /// which resets internal state like delta mouse position and button transistions. /// After `nk_input_begin` all current input state needs to be provided. This includes /// mouse motion, button and key pressed and released, text input and scrolling. /// Both event- or state-based input handling are supported by this API /// and should work without problems. Finally after all input state has been /// mirrored `nk_input_end` needs to be called to finish input process. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// Event evt; /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// // [...] /// } /// } /// nk_input_end(&ctx); /// // [...] /// nk_clear(&ctx); /// } nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// --------------------|------------------------------------------------------- /// __nk_input_begin__ | Begins the input mirroring process. Needs to be called before all other `nk_input_xxx` calls /// __nk_input_motion__ | Mirrors mouse cursor position /// __nk_input_key__ | Mirrors key state with either pressed or released /// __nk_input_button__ | Mirrors mouse button state with either pressed or released /// __nk_input_scroll__ | Mirrors mouse scroll values /// __nk_input_char__ | Adds a single ASCII text character into an internal text buffer /// __nk_input_glyph__ | Adds a single multi-byte UTF-8 character into an internal text buffer /// __nk_input_unicode__| Adds a single unicode rune into an internal text buffer /// __nk_input_end__ | Ends the input mirroring process by calculating state changes. Don't call any `nk_input_xxx` function referenced above after this call */ enum nk_keys { NK_KEY_NONE, NK_KEY_SHIFT, NK_KEY_CTRL, NK_KEY_DEL, NK_KEY_ENTER, NK_KEY_TAB, NK_KEY_BACKSPACE, NK_KEY_COPY, NK_KEY_CUT, NK_KEY_PASTE, NK_KEY_UP, NK_KEY_DOWN, NK_KEY_LEFT, NK_KEY_RIGHT, /* Shortcuts: text field */ NK_KEY_TEXT_INSERT_MODE, NK_KEY_TEXT_REPLACE_MODE, NK_KEY_TEXT_RESET_MODE, NK_KEY_TEXT_LINE_START, NK_KEY_TEXT_LINE_END, NK_KEY_TEXT_START, NK_KEY_TEXT_END, NK_KEY_TEXT_UNDO, NK_KEY_TEXT_REDO, NK_KEY_TEXT_SELECT_ALL, NK_KEY_TEXT_WORD_LEFT, NK_KEY_TEXT_WORD_RIGHT, /* Shortcuts: scrollbar */ NK_KEY_SCROLL_START, NK_KEY_SCROLL_END, NK_KEY_SCROLL_DOWN, NK_KEY_SCROLL_UP, NK_KEY_MAX }; enum nk_buttons { NK_BUTTON_LEFT, NK_BUTTON_MIDDLE, NK_BUTTON_RIGHT, NK_BUTTON_DOUBLE, NK_BUTTON_MAX }; /*/// #### nk_input_begin /// Begins the input mirroring process by resetting text, scroll /// mouse, previous mouse position and movement as well as key state transitions, /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_begin(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct */ NK_API void nk_input_begin(struct nk_context*); /*/// #### nk_input_motion /// Mirrors current mouse position to nuklear /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_motion(struct nk_context *ctx, int x, int y); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __x__ | Must hold an integer describing the current mouse cursor x-position /// __y__ | Must hold an integer describing the current mouse cursor y-position */ NK_API void nk_input_motion(struct nk_context*, int x, int y); /*/// #### nk_input_key /// Mirrors the state of a specific key to nuklear /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_key(struct nk_context*, enum nk_keys key, nk_bool down); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __key__ | Must be any value specified in enum `nk_keys` that needs to be mirrored /// __down__ | Must be 0 for key is up and 1 for key is down */ NK_API void nk_input_key(struct nk_context*, enum nk_keys, nk_bool down); /*/// #### nk_input_button /// Mirrors the state of a specific mouse button to nuklear /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_button(struct nk_context *ctx, enum nk_buttons btn, int x, int y, nk_bool down); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __btn__ | Must be any value specified in enum `nk_buttons` that needs to be mirrored /// __x__ | Must contain an integer describing mouse cursor x-position on click up/down /// __y__ | Must contain an integer describing mouse cursor y-position on click up/down /// __down__ | Must be 0 for key is up and 1 for key is down */ NK_API void nk_input_button(struct nk_context*, enum nk_buttons, int x, int y, nk_bool down); /*/// #### nk_input_scroll /// Copies the last mouse scroll value to nuklear. Is generally /// a scroll value. So does not have to come from mouse and could also originate /// TODO finish this sentence /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_scroll(struct nk_context *ctx, struct nk_vec2 val); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __val__ | vector with both X- as well as Y-scroll value */ NK_API void nk_input_scroll(struct nk_context*, struct nk_vec2 val); /*/// #### nk_input_char /// Copies a single ASCII character into an internal text buffer /// This is basically a helper function to quickly push ASCII characters into /// nuklear. /// /// !!! Note /// Stores up to NK_INPUT_MAX bytes between `nk_input_begin` and `nk_input_end`. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_char(struct nk_context *ctx, char c); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __c__ | Must be a single ASCII character preferable one that can be printed */ NK_API void nk_input_char(struct nk_context*, char); /*/// #### nk_input_glyph /// Converts an encoded unicode rune into UTF-8 and copies the result into an /// internal text buffer. /// /// !!! Note /// Stores up to NK_INPUT_MAX bytes between `nk_input_begin` and `nk_input_end`. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_glyph(struct nk_context *ctx, const nk_glyph g); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __g__ | UTF-32 unicode codepoint */ NK_API void nk_input_glyph(struct nk_context*, const nk_glyph); /*/// #### nk_input_unicode /// Converts a unicode rune into UTF-8 and copies the result /// into an internal text buffer. /// !!! Note /// Stores up to NK_INPUT_MAX bytes between `nk_input_begin` and `nk_input_end`. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_unicode(struct nk_context*, nk_rune rune); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct /// __rune__ | UTF-32 unicode codepoint */ NK_API void nk_input_unicode(struct nk_context*, nk_rune); /*/// #### nk_input_end /// End the input mirroring process by resetting mouse grabbing /// state to ensure the mouse cursor is not grabbed indefinitely. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_input_end(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to a previously initialized `nk_context` struct */ NK_API void nk_input_end(struct nk_context*); /* ============================================================================= * * DRAWING * * =============================================================================*/ /*/// ### Drawing /// This library was designed to be render backend agnostic so it does /// not draw anything to screen directly. Instead all drawn shapes, widgets /// are made of, are buffered into memory and make up a command queue. /// Each frame therefore fills the command buffer with draw commands /// that then need to be executed by the user and his own render backend. /// After that the command buffer needs to be cleared and a new frame can be /// started. It is probably important to note that the command buffer is the main /// drawing API and the optional vertex buffer API only takes this format and /// converts it into a hardware accessible format. /// /// #### Usage /// To draw all draw commands accumulated over a frame you need your own render /// backend able to draw a number of 2D primitives. This includes at least /// filled and stroked rectangles, circles, text, lines, triangles and scissors. /// As soon as this criterion is met you can iterate over each draw command /// and execute each draw command in a interpreter like fashion: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case //...: /// //[...] /// } /// } /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// In program flow context draw commands need to be executed after input has been /// gathered and the complete UI with windows and their contained widgets have /// been executed and before calling `nk_clear` which frees all previously /// allocated draw commands. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// Event evt; /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// [...] /// } /// } /// nk_input_end(&ctx); /// // /// // [...] /// // /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case ...: /// // [...] /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// You probably noticed that you have to draw all of the UI each frame which is /// quite wasteful. While the actual UI updating loop is quite fast rendering /// without actually needing it is not. So there are multiple things you could do. /// /// First is only update on input. This of course is only an option if your /// application only depends on the UI and does not require any outside calculations. /// If you actually only update on input make sure to update the UI two times each /// frame and call `nk_clear` directly after the first pass and only draw in /// the second pass. In addition it is recommended to also add additional timers /// to make sure the UI is not drawn more than a fixed number of frames per second. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// // [...wait for input ] /// // [...do two UI passes ...] /// do_ui(...) /// nk_clear(&ctx); /// do_ui(...) /// // /// // draw /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case ...: /// //[...] /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// The second probably more applicable trick is to only draw if anything changed. /// It is not really useful for applications with continuous draw loop but /// quite useful for desktop applications. To actually get nuklear to only /// draw on changes you first have to define `NK_ZERO_COMMAND_MEMORY` and /// allocate a memory buffer that will store each unique drawing output. /// After each frame you compare the draw command memory inside the library /// with your allocated buffer by memcmp. If memcmp detects differences /// you have to copy the command buffer into the allocated buffer /// and then draw like usual (this example uses fixed memory but you could /// use dynamically allocated memory). /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// //[... other defines ...] /// #define NK_ZERO_COMMAND_MEMORY /// #include "nuklear.h" /// // /// // setup context /// struct nk_context ctx; /// void *last = calloc(1,64*1024); /// void *buf = calloc(1,64*1024); /// nk_init_fixed(&ctx, buf, 64*1024); /// // /// // loop /// while (1) { /// // [...input...] /// // [...ui...] /// void *cmds = nk_buffer_memory(&ctx.memory); /// if (memcmp(cmds, last, ctx.memory.allocated)) { /// memcpy(last,cmds,ctx.memory.allocated); /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case ...: /// // [...] /// } /// } /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Finally while using draw commands makes sense for higher abstracted platforms like /// X11 and Win32 or drawing libraries it is often desirable to use graphics /// hardware directly. Therefore it is possible to just define /// `NK_INCLUDE_VERTEX_BUFFER_OUTPUT` which includes optional vertex output. /// To access the vertex output you first have to convert all draw commands into /// vertexes by calling `nk_convert` which takes in your preferred vertex format. /// After successfully converting all draw commands just iterate over and execute all /// vertex draw commands: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// // fill configuration /// struct your_vertex /// { /// float pos[2]; // important to keep it to 2 floats /// float uv[2]; /// unsigned char col[4]; /// }; /// struct nk_convert_config cfg = {}; /// static const struct nk_draw_vertex_layout_element vertex_layout[] = { /// {NK_VERTEX_POSITION, NK_FORMAT_FLOAT, NK_OFFSETOF(struct your_vertex, pos)}, /// {NK_VERTEX_TEXCOORD, NK_FORMAT_FLOAT, NK_OFFSETOF(struct your_vertex, uv)}, /// {NK_VERTEX_COLOR, NK_FORMAT_R8G8B8A8, NK_OFFSETOF(struct your_vertex, col)}, /// {NK_VERTEX_LAYOUT_END} /// }; /// cfg.shape_AA = NK_ANTI_ALIASING_ON; /// cfg.line_AA = NK_ANTI_ALIASING_ON; /// cfg.vertex_layout = vertex_layout; /// cfg.vertex_size = sizeof(struct your_vertex); /// cfg.vertex_alignment = NK_ALIGNOF(struct your_vertex); /// cfg.circle_segment_count = 22; /// cfg.curve_segment_count = 22; /// cfg.arc_segment_count = 22; /// cfg.global_alpha = 1.0f; /// cfg.null = dev->null; /// // /// // setup buffers and convert /// struct nk_buffer cmds, verts, idx; /// nk_buffer_init_default(&cmds); /// nk_buffer_init_default(&verts); /// nk_buffer_init_default(&idx); /// nk_convert(&ctx, &cmds, &verts, &idx, &cfg); /// // /// // draw /// nk_draw_foreach(cmd, &ctx, &cmds) { /// if (!cmd->elem_count) continue; /// //[...] /// } /// nk_buffer_free(&cms); /// nk_buffer_free(&verts); /// nk_buffer_free(&idx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// --------------------|------------------------------------------------------- /// __nk__begin__ | Returns the first draw command in the context draw command list to be drawn /// __nk__next__ | Increments the draw command iterator to the next command inside the context draw command list /// __nk_foreach__ | Iterates over each draw command inside the context draw command list /// __nk_convert__ | Converts from the abstract draw commands list into a hardware accessible vertex format /// __nk_draw_begin__ | Returns the first vertex command in the context vertex draw list to be executed /// __nk__draw_next__ | Increments the vertex command iterator to the next command inside the context vertex command list /// __nk__draw_end__ | Returns the end of the vertex draw list /// __nk_draw_foreach__ | Iterates over each vertex draw command inside the vertex draw list */ enum nk_anti_aliasing {NK_ANTI_ALIASING_OFF, NK_ANTI_ALIASING_ON}; enum nk_convert_result { NK_CONVERT_SUCCESS = 0, NK_CONVERT_INVALID_PARAM = 1, NK_CONVERT_COMMAND_BUFFER_FULL = NK_FLAG(1), NK_CONVERT_VERTEX_BUFFER_FULL = NK_FLAG(2), NK_CONVERT_ELEMENT_BUFFER_FULL = NK_FLAG(3) }; struct nk_draw_null_texture { nk_handle texture; /* texture handle to a texture with a white pixel */ struct nk_vec2 uv; /* coordinates to a white pixel in the texture */ }; struct nk_convert_config { float global_alpha; /* global alpha value */ enum nk_anti_aliasing line_AA; /* line anti-aliasing flag can be turned off if you are tight on memory */ enum nk_anti_aliasing shape_AA; /* shape anti-aliasing flag can be turned off if you are tight on memory */ unsigned circle_segment_count; /* number of segments used for circles: default to 22 */ unsigned arc_segment_count; /* number of segments used for arcs: default to 22 */ unsigned curve_segment_count; /* number of segments used for curves: default to 22 */ struct nk_draw_null_texture null; /* handle to texture with a white pixel for shape drawing */ const struct nk_draw_vertex_layout_element *vertex_layout; /* describes the vertex output format and packing */ nk_size vertex_size; /* sizeof one vertex for vertex packing */ nk_size vertex_alignment; /* vertex alignment: Can be obtained by NK_ALIGNOF */ }; /*/// #### nk__begin /// Returns a draw command list iterator to iterate all draw /// commands accumulated over one frame. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_command* nk__begin(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | must point to an previously initialized `nk_context` struct at the end of a frame /// /// Returns draw command pointer pointing to the first command inside the draw command list */ NK_API const struct nk_command* nk__begin(struct nk_context*); /*/// #### nk__next /// Returns draw command pointer pointing to the next command inside the draw command list /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_command* nk__next(struct nk_context*, const struct nk_command*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// __cmd__ | Must point to an previously a draw command either returned by `nk__begin` or `nk__next` /// /// Returns draw command pointer pointing to the next command inside the draw command list */ NK_API const struct nk_command* nk__next(struct nk_context*, const struct nk_command*); /*/// #### nk_foreach /// Iterates over each draw command inside the context draw command list /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_foreach(c, ctx) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// __cmd__ | Command pointer initialized to NULL /// /// Iterates over each draw command inside the context draw command list */ #define nk_foreach(c, ctx) for((c) = nk__begin(ctx); (c) != 0; (c) = nk__next(ctx,c)) #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT /*/// #### nk_convert /// Converts all internal draw commands into vertex draw commands and fills /// three buffers with vertexes, vertex draw commands and vertex indices. The vertex format /// as well as some other configuration values have to be configured by filling out a /// `nk_convert_config` struct. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// nk_flags nk_convert(struct nk_context *ctx, struct nk_buffer *cmds, /// struct nk_buffer *vertices, struct nk_buffer *elements, const struct nk_convert_config*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// __cmds__ | Must point to a previously initialized buffer to hold converted vertex draw commands /// __vertices__| Must point to a previously initialized buffer to hold all produced vertices /// __elements__| Must point to a previously initialized buffer to hold all produced vertex indices /// __config__ | Must point to a filled out `nk_config` struct to configure the conversion process /// /// Returns one of enum nk_convert_result error codes /// /// Parameter | Description /// --------------------------------|----------------------------------------------------------- /// NK_CONVERT_SUCCESS | Signals a successful draw command to vertex buffer conversion /// NK_CONVERT_INVALID_PARAM | An invalid argument was passed in the function call /// NK_CONVERT_COMMAND_BUFFER_FULL | The provided buffer for storing draw commands is full or failed to allocate more memory /// NK_CONVERT_VERTEX_BUFFER_FULL | The provided buffer for storing vertices is full or failed to allocate more memory /// NK_CONVERT_ELEMENT_BUFFER_FULL | The provided buffer for storing indicies is full or failed to allocate more memory */ NK_API nk_flags nk_convert(struct nk_context*, struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements, const struct nk_convert_config*); /*/// #### nk__draw_begin /// Returns a draw vertex command buffer iterator to iterate over the vertex draw command buffer /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_draw_command* nk__draw_begin(const struct nk_context*, const struct nk_buffer*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// __buf__ | Must point to an previously by `nk_convert` filled out vertex draw command buffer /// /// Returns vertex draw command pointer pointing to the first command inside the vertex draw command buffer */ NK_API const struct nk_draw_command* nk__draw_begin(const struct nk_context*, const struct nk_buffer*); /*/// #### nk__draw_end /// Returns the vertex draw command at the end of the vertex draw command buffer /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_draw_command* nk__draw_end(const struct nk_context *ctx, const struct nk_buffer *buf); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// __buf__ | Must point to an previously by `nk_convert` filled out vertex draw command buffer /// /// Returns vertex draw command pointer pointing to the end of the last vertex draw command inside the vertex draw command buffer */ NK_API const struct nk_draw_command* nk__draw_end(const struct nk_context*, const struct nk_buffer*); /*/// #### nk__draw_next /// Increments the vertex draw command buffer iterator /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*, const struct nk_buffer*, const struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __cmd__ | Must point to an previously either by `nk__draw_begin` or `nk__draw_next` returned vertex draw command /// __buf__ | Must point to an previously by `nk_convert` filled out vertex draw command buffer /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame /// /// Returns vertex draw command pointer pointing to the end of the last vertex draw command inside the vertex draw command buffer */ NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command*, const struct nk_buffer*, const struct nk_context*); /*/// #### nk_draw_foreach /// Iterates over each vertex draw command inside a vertex draw command buffer /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_draw_foreach(cmd,ctx, b) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __cmd__ | `nk_draw_command`iterator set to NULL /// __buf__ | Must point to an previously by `nk_convert` filled out vertex draw command buffer /// __ctx__ | Must point to an previously initialized `nk_context` struct at the end of a frame */ #define nk_draw_foreach(cmd,ctx, b) for((cmd)=nk__draw_begin(ctx, b); (cmd)!=0; (cmd)=nk__draw_next(cmd, b, ctx)) #endif /* ============================================================================= * * WINDOW * * ============================================================================= /// ### Window /// Windows are the main persistent state used inside nuklear and are life time /// controlled by simply "retouching" (i.e. calling) each window each frame. /// All widgets inside nuklear can only be added inside the function pair `nk_begin_xxx` /// and `nk_end`. Calling any widgets outside these two functions will result in an /// assert in debug or no state change in release mode.<br /><br /> /// /// Each window holds frame persistent state like position, size, flags, state tables, /// and some garbage collected internal persistent widget state. Each window /// is linked into a window stack list which determines the drawing and overlapping /// order. The topmost window thereby is the currently active window.<br /><br /> /// /// To change window position inside the stack occurs either automatically by /// user input by being clicked on or programmatically by calling `nk_window_focus`. /// Windows by default are visible unless explicitly being defined with flag /// `NK_WINDOW_HIDDEN`, the user clicked the close button on windows with flag /// `NK_WINDOW_CLOSABLE` or if a window was explicitly hidden by calling /// `nk_window_show`. To explicitly close and destroy a window call `nk_window_close`.<br /><br /> /// /// #### Usage /// To create and keep a window you have to call one of the two `nk_begin_xxx` /// functions to start window declarations and `nk_end` at the end. Furthermore it /// is recommended to check the return value of `nk_begin_xxx` and only process /// widgets inside the window if the value is not 0. Either way you have to call /// `nk_end` at the end of window declarations. Furthermore, do not attempt to /// nest `nk_begin_xxx` calls which will hopefully result in an assert or if not /// in a segmentation fault. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // [... widgets ...] /// } /// nk_end(ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// In the grand concept window and widget declarations need to occur after input /// handling and before drawing to screen. Not doing so can result in higher /// latency or at worst invalid behavior. Furthermore make sure that `nk_clear` /// is called at the end of the frame. While nuklear's default platform backends /// already call `nk_clear` for you if you write your own backend not calling /// `nk_clear` can cause asserts or even worse undefined behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// Event evt; /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// nk_input_xxx(...); /// } /// } /// nk_input_end(&ctx); /// /// if (nk_begin_xxx(...) { /// //[...] /// } /// nk_end(ctx); /// /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case //...: /// //[...] /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// ------------------------------------|---------------------------------------- /// nk_begin | Starts a new window; needs to be called every frame for every window (unless hidden) or otherwise the window gets removed /// nk_begin_titled | Extended window start with separated title and identifier to allow multiple windows with same name but not title /// nk_end | Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup // /// nk_window_find | Finds and returns the window with give name /// nk_window_get_bounds | Returns a rectangle with screen position and size of the currently processed window. /// nk_window_get_position | Returns the position of the currently processed window /// nk_window_get_size | Returns the size with width and height of the currently processed window /// nk_window_get_width | Returns the width of the currently processed window /// nk_window_get_height | Returns the height of the currently processed window /// nk_window_get_panel | Returns the underlying panel which contains all processing state of the current window /// nk_window_get_content_region | Returns the position and size of the currently visible and non-clipped space inside the currently processed window /// nk_window_get_content_region_min | Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window /// nk_window_get_content_region_max | Returns the upper rectangle position of the currently visible and non-clipped space inside the currently processed window /// nk_window_get_content_region_size | Returns the size of the currently visible and non-clipped space inside the currently processed window /// nk_window_get_canvas | Returns the draw command buffer. Can be used to draw custom widgets /// nk_window_get_scroll | Gets the scroll offset of the current window /// nk_window_has_focus | Returns if the currently processed window is currently active /// nk_window_is_collapsed | Returns if the window with given name is currently minimized/collapsed /// nk_window_is_closed | Returns if the currently processed window was closed /// nk_window_is_hidden | Returns if the currently processed window was hidden /// nk_window_is_active | Same as nk_window_has_focus for some reason /// nk_window_is_hovered | Returns if the currently processed window is currently being hovered by mouse /// nk_window_is_any_hovered | Return if any window currently hovered /// nk_item_is_any_active | Returns if any window or widgets is currently hovered or active // /// nk_window_set_bounds | Updates position and size of the currently processed window /// nk_window_set_position | Updates position of the currently process window /// nk_window_set_size | Updates the size of the currently processed window /// nk_window_set_focus | Set the currently processed window as active window /// nk_window_set_scroll | Sets the scroll offset of the current window // /// nk_window_close | Closes the window with given window name which deletes the window at the end of the frame /// nk_window_collapse | Collapses the window with given window name /// nk_window_collapse_if | Collapses the window with given window name if the given condition was met /// nk_window_show | Hides a visible or reshows a hidden window /// nk_window_show_if | Hides/shows a window depending on condition */ /* /// #### nk_panel_flags /// Flag | Description /// ----------------------------|---------------------------------------- /// NK_WINDOW_BORDER | Draws a border around the window to visually separate window from the background /// NK_WINDOW_MOVABLE | The movable flag indicates that a window can be moved by user input or by dragging the window header /// NK_WINDOW_SCALABLE | The scalable flag indicates that a window can be scaled by user input by dragging a scaler icon at the button of the window /// NK_WINDOW_CLOSABLE | Adds a closable icon into the header /// NK_WINDOW_MINIMIZABLE | Adds a minimize icon into the header /// NK_WINDOW_NO_SCROLLBAR | Removes the scrollbar from the window /// NK_WINDOW_TITLE | Forces a header at the top at the window showing the title /// NK_WINDOW_SCROLL_AUTO_HIDE | Automatically hides the window scrollbar if no user interaction: also requires delta time in `nk_context` to be set each frame /// NK_WINDOW_BACKGROUND | Always keep window in the background /// NK_WINDOW_SCALE_LEFT | Puts window scaler in the left-bottom corner instead right-bottom /// NK_WINDOW_NO_INPUT | Prevents window of scaling, moving or getting focus /// /// #### nk_collapse_states /// State | Description /// ----------------|----------------------------------------------------------- /// __NK_MINIMIZED__| UI section is collased and not visibile until maximized /// __NK_MAXIMIZED__| UI section is extended and visibile until minimized /// <br /><br /> */ enum nk_panel_flags { NK_WINDOW_BORDER = NK_FLAG(0), NK_WINDOW_MOVABLE = NK_FLAG(1), NK_WINDOW_SCALABLE = NK_FLAG(2), NK_WINDOW_CLOSABLE = NK_FLAG(3), NK_WINDOW_MINIMIZABLE = NK_FLAG(4), NK_WINDOW_NO_SCROLLBAR = NK_FLAG(5), NK_WINDOW_TITLE = NK_FLAG(6), NK_WINDOW_SCROLL_AUTO_HIDE = NK_FLAG(7), NK_WINDOW_BACKGROUND = NK_FLAG(8), NK_WINDOW_SCALE_LEFT = NK_FLAG(9), NK_WINDOW_NO_INPUT = NK_FLAG(10) }; /*/// #### nk_begin /// Starts a new window; needs to be called every frame for every /// window (unless hidden) or otherwise the window gets removed /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_begin(struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __title__ | Window title and identifier. Needs to be persistent over frames to identify the window /// __bounds__ | Initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame /// __flags__ | Window flags defined in the nk_panel_flags section with a number of different window behaviors /// /// Returns `true(1)` if the window can be filled up with widgets from this point /// until `nk_end` or `false(0)` otherwise for example if minimized */ NK_API nk_bool nk_begin(struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags); /*/// #### nk_begin_titled /// Extended window start with separated title and identifier to allow multiple /// windows with same title but not name /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_begin_titled(struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Window identifier. Needs to be persistent over frames to identify the window /// __title__ | Window title displayed inside header if flag `NK_WINDOW_TITLE` or either `NK_WINDOW_CLOSABLE` or `NK_WINDOW_MINIMIZED` was set /// __bounds__ | Initial position and window size. However if you do not define `NK_WINDOW_SCALABLE` or `NK_WINDOW_MOVABLE` you can set window position and size every frame /// __flags__ | Window flags defined in the nk_panel_flags section with a number of different window behaviors /// /// Returns `true(1)` if the window can be filled up with widgets from this point /// until `nk_end` or `false(0)` otherwise for example if minimized */ NK_API nk_bool nk_begin_titled(struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags); /*/// #### nk_end /// Needs to be called at the end of the window building process to process scaling, scrollbars and general cleanup. /// All widget calls after this functions will result in asserts or no state changes /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_end(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct */ NK_API void nk_end(struct nk_context *ctx); /*/// #### nk_window_find /// Finds and returns a window from passed name /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_window *nk_window_find(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Window identifier /// /// Returns a `nk_window` struct pointing to the identified window or NULL if /// no window with the given name was found */ NK_API struct nk_window *nk_window_find(struct nk_context *ctx, const char *name); /*/// #### nk_window_get_bounds /// Returns a rectangle with screen position and size of the currently processed window /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_window_get_bounds(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns a `nk_rect` struct with window upper left window position and size */ NK_API struct nk_rect nk_window_get_bounds(const struct nk_context *ctx); /*/// #### nk_window_get_position /// Returns the position of the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_window_get_position(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns a `nk_vec2` struct with window upper left position */ NK_API struct nk_vec2 nk_window_get_position(const struct nk_context *ctx); /*/// #### nk_window_get_size /// Returns the size with width and height of the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_window_get_size(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns a `nk_vec2` struct with window width and height */ NK_API struct nk_vec2 nk_window_get_size(const struct nk_context*); /*/// #### nk_window_get_width /// Returns the width of the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// float nk_window_get_width(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns the current window width */ NK_API float nk_window_get_width(const struct nk_context*); /*/// #### nk_window_get_height /// Returns the height of the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// float nk_window_get_height(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns the current window height */ NK_API float nk_window_get_height(const struct nk_context*); /*/// #### nk_window_get_panel /// Returns the underlying panel which contains all processing state of the current window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// !!! WARNING /// Do not keep the returned panel pointer around, it is only valid until `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_panel* nk_window_get_panel(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns a pointer to window internal `nk_panel` state. */ NK_API struct nk_panel* nk_window_get_panel(struct nk_context*); /*/// #### nk_window_get_content_region /// Returns the position and size of the currently visible and non-clipped space /// inside the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_window_get_content_region(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `nk_rect` struct with screen position and size (no scrollbar offset) /// of the visible space inside the current window */ NK_API struct nk_rect nk_window_get_content_region(struct nk_context*); /*/// #### nk_window_get_content_region_min /// Returns the upper left position of the currently visible and non-clipped /// space inside the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_window_get_content_region_min(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// returns `nk_vec2` struct with upper left screen position (no scrollbar offset) /// of the visible space inside the current window */ NK_API struct nk_vec2 nk_window_get_content_region_min(struct nk_context*); /*/// #### nk_window_get_content_region_max /// Returns the lower right screen position of the currently visible and /// non-clipped space inside the currently processed window. /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_window_get_content_region_max(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `nk_vec2` struct with lower right screen position (no scrollbar offset) /// of the visible space inside the current window */ NK_API struct nk_vec2 nk_window_get_content_region_max(struct nk_context*); /*/// #### nk_window_get_content_region_size /// Returns the size of the currently visible and non-clipped space inside the /// currently processed window /// /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_window_get_content_region_size(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `nk_vec2` struct with size the visible space inside the current window */ NK_API struct nk_vec2 nk_window_get_content_region_size(struct nk_context*); /*/// #### nk_window_get_canvas /// Returns the draw command buffer. Can be used to draw custom widgets /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// !!! WARNING /// Do not keep the returned command buffer pointer around it is only valid until `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_command_buffer* nk_window_get_canvas(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns a pointer to window internal `nk_command_buffer` struct used as /// drawing canvas. Can be used to do custom drawing. */ NK_API struct nk_command_buffer* nk_window_get_canvas(struct nk_context*); /*/// #### nk_window_get_scroll /// Gets the scroll offset for the current window /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// -------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __offset_x__ | A pointer to the x offset output (or NULL to ignore) /// __offset_y__ | A pointer to the y offset output (or NULL to ignore) */ NK_API void nk_window_get_scroll(struct nk_context*, nk_uint *offset_x, nk_uint *offset_y); /*/// #### nk_window_has_focus /// Returns if the currently processed window is currently active /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_has_focus(const struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `false(0)` if current window is not active or `true(1)` if it is */ NK_API nk_bool nk_window_has_focus(const struct nk_context*); /*/// #### nk_window_is_hovered /// Return if the current window is being hovered /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_hovered(struct nk_context *ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `true(1)` if current window is hovered or `false(0)` otherwise */ NK_API nk_bool nk_window_is_hovered(struct nk_context*); /*/// #### nk_window_is_collapsed /// Returns if the window with given name is currently minimized/collapsed /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_collapsed(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of window you want to check if it is collapsed /// /// Returns `true(1)` if current window is minimized and `false(0)` if window not /// found or is not minimized */ NK_API nk_bool nk_window_is_collapsed(struct nk_context *ctx, const char *name); /*/// #### nk_window_is_closed /// Returns if the window with given name was closed by calling `nk_close` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_closed(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of window you want to check if it is closed /// /// Returns `true(1)` if current window was closed or `false(0)` window not found or not closed */ NK_API nk_bool nk_window_is_closed(struct nk_context*, const char*); /*/// #### nk_window_is_hidden /// Returns if the window with given name is hidden /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_hidden(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of window you want to check if it is hidden /// /// Returns `true(1)` if current window is hidden or `false(0)` window not found or visible */ NK_API nk_bool nk_window_is_hidden(struct nk_context*, const char*); /*/// #### nk_window_is_active /// Same as nk_window_has_focus for some reason /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_active(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of window you want to check if it is active /// /// Returns `true(1)` if current window is active or `false(0)` window not found or not active */ NK_API nk_bool nk_window_is_active(struct nk_context*, const char*); /*/// #### nk_window_is_any_hovered /// Returns if the any window is being hovered /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_window_is_any_hovered(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `true(1)` if any window is hovered or `false(0)` otherwise */ NK_API nk_bool nk_window_is_any_hovered(struct nk_context*); /*/// #### nk_item_is_any_active /// Returns if the any window is being hovered or any widget is currently active. /// Can be used to decide if input should be processed by UI or your specific input handling. /// Example could be UI and 3D camera to move inside a 3D space. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_item_is_any_active(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// /// Returns `true(1)` if any window is hovered or any item is active or `false(0)` otherwise */ NK_API nk_bool nk_item_is_any_active(struct nk_context*); /*/// #### nk_window_set_bounds /// Updates position and size of window with passed in name /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_set_bounds(struct nk_context*, const char *name, struct nk_rect bounds); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to modify both position and size /// __bounds__ | Must point to a `nk_rect` struct with the new position and size */ NK_API void nk_window_set_bounds(struct nk_context*, const char *name, struct nk_rect bounds); /*/// #### nk_window_set_position /// Updates position of window with passed name /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_set_position(struct nk_context*, const char *name, struct nk_vec2 pos); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to modify both position /// __pos__ | Must point to a `nk_vec2` struct with the new position */ NK_API void nk_window_set_position(struct nk_context*, const char *name, struct nk_vec2 pos); /*/// #### nk_window_set_size /// Updates size of window with passed in name /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_set_size(struct nk_context*, const char *name, struct nk_vec2); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to modify both window size /// __size__ | Must point to a `nk_vec2` struct with new window size */ NK_API void nk_window_set_size(struct nk_context*, const char *name, struct nk_vec2); /*/// #### nk_window_set_focus /// Sets the window with given name as active /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_set_focus(struct nk_context*, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to set focus on */ NK_API void nk_window_set_focus(struct nk_context*, const char *name); /*/// #### nk_window_set_scroll /// Sets the scroll offset for the current window /// !!! WARNING /// Only call this function between calls `nk_begin_xxx` and `nk_end` /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// -------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __offset_x__ | The x offset to scroll to /// __offset_y__ | The y offset to scroll to */ NK_API void nk_window_set_scroll(struct nk_context*, nk_uint offset_x, nk_uint offset_y); /*/// #### nk_window_close /// Closes a window and marks it for being freed at the end of the frame /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_close(struct nk_context *ctx, const char *name); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to close */ NK_API void nk_window_close(struct nk_context *ctx, const char *name); /*/// #### nk_window_collapse /// Updates collapse state of a window with given name /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_collapse(struct nk_context*, const char *name, enum nk_collapse_states state); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to close /// __state__ | value out of nk_collapse_states section */ NK_API void nk_window_collapse(struct nk_context*, const char *name, enum nk_collapse_states state); /*/// #### nk_window_collapse_if /// Updates collapse state of a window with given name if given condition is met /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_collapse_if(struct nk_context*, const char *name, enum nk_collapse_states, int cond); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to either collapse or maximize /// __state__ | value out of nk_collapse_states section the window should be put into /// __cond__ | condition that has to be met to actually commit the collapse state change */ NK_API void nk_window_collapse_if(struct nk_context*, const char *name, enum nk_collapse_states, int cond); /*/// #### nk_window_show /// updates visibility state of a window with given name /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_show(struct nk_context*, const char *name, enum nk_show_states); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to either collapse or maximize /// __state__ | state with either visible or hidden to modify the window with */ NK_API void nk_window_show(struct nk_context*, const char *name, enum nk_show_states); /*/// #### nk_window_show_if /// Updates visibility state of a window with given name if a given condition is met /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __name__ | Identifier of the window to either hide or show /// __state__ | state with either visible or hidden to modify the window with /// __cond__ | condition that has to be met to actually commit the visbility state change */ NK_API void nk_window_show_if(struct nk_context*, const char *name, enum nk_show_states, int cond); /* ============================================================================= * * LAYOUT * * ============================================================================= /// ### Layouting /// Layouting in general describes placing widget inside a window with position and size. /// While in this particular implementation there are five different APIs for layouting /// each with different trade offs between control and ease of use. <br /><br /> /// /// All layouting methods in this library are based around the concept of a row. /// A row has a height the window content grows by and a number of columns and each /// layouting method specifies how each widget is placed inside the row. /// After a row has been allocated by calling a layouting functions and then /// filled with widgets will advance an internal pointer over the allocated row. <br /><br /> /// /// To actually define a layout you just call the appropriate layouting function /// and each subsequent widget call will place the widget as specified. Important /// here is that if you define more widgets then columns defined inside the layout /// functions it will allocate the next row without you having to make another layouting <br /><br /> /// call. /// /// Biggest limitation with using all these APIs outside the `nk_layout_space_xxx` API /// is that you have to define the row height for each. However the row height /// often depends on the height of the font. <br /><br /> /// /// To fix that internally nuklear uses a minimum row height that is set to the /// height plus padding of currently active font and overwrites the row height /// value if zero. <br /><br /> /// /// If you manually want to change the minimum row height then /// use nk_layout_set_min_row_height, and use nk_layout_reset_min_row_height to /// reset it back to be derived from font height. <br /><br /> /// /// Also if you change the font in nuklear it will automatically change the minimum /// row height for you and. This means if you change the font but still want /// a minimum row height smaller than the font you have to repush your value. <br /><br /> /// /// For actually more advanced UI I would even recommend using the `nk_layout_space_xxx` /// layouting method in combination with a cassowary constraint solver (there are /// some versions on github with permissive license model) to take over all control over widget /// layouting yourself. However for quick and dirty layouting using all the other layouting /// functions should be fine. /// /// #### Usage /// 1. __nk_layout_row_dynamic__<br /><br /> /// The easiest layouting function is `nk_layout_row_dynamic`. It provides each /// widgets with same horizontal space inside the row and dynamically grows /// if the owning window grows in width. So the number of columns dictates /// the size of each widget dynamically by formula: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// widget_width = (window_width - padding - spacing) * (1/colum_count) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Just like all other layouting APIs if you define more widget than columns this /// library will allocate a new row and keep all layouting parameters previously /// defined. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // first row with height: 30 composed of two widgets /// nk_layout_row_dynamic(&ctx, 30, 2); /// nk_widget(...); /// nk_widget(...); /// // /// // second row with same parameter as defined above /// nk_widget(...); /// nk_widget(...); /// // /// // third row uses 0 for height which will use auto layouting /// nk_layout_row_dynamic(&ctx, 0, 2); /// nk_widget(...); /// nk_widget(...); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// 2. __nk_layout_row_static__<br /><br /> /// Another easy layouting function is `nk_layout_row_static`. It provides each /// widget with same horizontal pixel width inside the row and does not grow /// if the owning window scales smaller or bigger. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // first row with height: 30 composed of two widgets with width: 80 /// nk_layout_row_static(&ctx, 30, 80, 2); /// nk_widget(...); /// nk_widget(...); /// // /// // second row with same parameter as defined above /// nk_widget(...); /// nk_widget(...); /// // /// // third row uses 0 for height which will use auto layouting /// nk_layout_row_static(&ctx, 0, 80, 2); /// nk_widget(...); /// nk_widget(...); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// 3. __nk_layout_row_xxx__<br /><br /> /// A little bit more advanced layouting API are functions `nk_layout_row_begin`, /// `nk_layout_row_push` and `nk_layout_row_end`. They allow to directly /// specify each column pixel or window ratio in a row. It supports either /// directly setting per column pixel width or widget window ratio but not /// both. Furthermore it is a immediate mode API so each value is directly /// pushed before calling a widget. Therefore the layout is not automatically /// repeating like the last two layouting functions. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // first row with height: 25 composed of two widgets with width 60 and 40 /// nk_layout_row_begin(ctx, NK_STATIC, 25, 2); /// nk_layout_row_push(ctx, 60); /// nk_widget(...); /// nk_layout_row_push(ctx, 40); /// nk_widget(...); /// nk_layout_row_end(ctx); /// // /// // second row with height: 25 composed of two widgets with window ratio 0.25 and 0.75 /// nk_layout_row_begin(ctx, NK_DYNAMIC, 25, 2); /// nk_layout_row_push(ctx, 0.25f); /// nk_widget(...); /// nk_layout_row_push(ctx, 0.75f); /// nk_widget(...); /// nk_layout_row_end(ctx); /// // /// // third row with auto generated height: composed of two widgets with window ratio 0.25 and 0.75 /// nk_layout_row_begin(ctx, NK_DYNAMIC, 0, 2); /// nk_layout_row_push(ctx, 0.25f); /// nk_widget(...); /// nk_layout_row_push(ctx, 0.75f); /// nk_widget(...); /// nk_layout_row_end(ctx); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// 4. __nk_layout_row__<br /><br /> /// The array counterpart to API nk_layout_row_xxx is the single nk_layout_row /// functions. Instead of pushing either pixel or window ratio for every widget /// it allows to define it by array. The trade of for less control is that /// `nk_layout_row` is automatically repeating. Otherwise the behavior is the /// same. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // two rows with height: 30 composed of two widgets with width 60 and 40 /// const float size[] = {60,40}; /// nk_layout_row(ctx, NK_STATIC, 30, 2, ratio); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// // /// // two rows with height: 30 composed of two widgets with window ratio 0.25 and 0.75 /// const float ratio[] = {0.25, 0.75}; /// nk_layout_row(ctx, NK_DYNAMIC, 30, 2, ratio); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// // /// // two rows with auto generated height composed of two widgets with window ratio 0.25 and 0.75 /// const float ratio[] = {0.25, 0.75}; /// nk_layout_row(ctx, NK_DYNAMIC, 30, 2, ratio); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// 5. __nk_layout_row_template_xxx__<br /><br /> /// The most complex and second most flexible API is a simplified flexbox version without /// line wrapping and weights for dynamic widgets. It is an immediate mode API but /// unlike `nk_layout_row_xxx` it has auto repeat behavior and needs to be called /// before calling the templated widgets. /// The row template layout has three different per widget size specifier. The first /// one is the `nk_layout_row_template_push_static` with fixed widget pixel width. /// They do not grow if the row grows and will always stay the same. /// The second size specifier is `nk_layout_row_template_push_variable` /// which defines a minimum widget size but it also can grow if more space is available /// not taken by other widgets. /// Finally there are dynamic widgets with `nk_layout_row_template_push_dynamic` /// which are completely flexible and unlike variable widgets can even shrink /// to zero if not enough space is provided. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // two rows with height: 30 composed of three widgets /// nk_layout_row_template_begin(ctx, 30); /// nk_layout_row_template_push_dynamic(ctx); /// nk_layout_row_template_push_variable(ctx, 80); /// nk_layout_row_template_push_static(ctx, 80); /// nk_layout_row_template_end(ctx); /// // /// // first row /// nk_widget(...); // dynamic widget can go to zero if not enough space /// nk_widget(...); // variable widget with min 80 pixel but can grow bigger if enough space /// nk_widget(...); // static widget with fixed 80 pixel width /// // /// // second row same layout /// nk_widget(...); /// nk_widget(...); /// nk_widget(...); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// 6. __nk_layout_space_xxx__<br /><br /> /// Finally the most flexible API directly allows you to place widgets inside the /// window. The space layout API is an immediate mode API which does not support /// row auto repeat and directly sets position and size of a widget. Position /// and size hereby can be either specified as ratio of allocated space or /// allocated space local position and pixel size. Since this API is quite /// powerful there are a number of utility functions to get the available space /// and convert between local allocated space and screen space. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_begin_xxx(...) { /// // static row with height: 500 (you can set column count to INT_MAX if you don't want to be bothered) /// nk_layout_space_begin(ctx, NK_STATIC, 500, INT_MAX); /// nk_layout_space_push(ctx, nk_rect(0,0,150,200)); /// nk_widget(...); /// nk_layout_space_push(ctx, nk_rect(200,200,100,200)); /// nk_widget(...); /// nk_layout_space_end(ctx); /// // /// // dynamic row with height: 500 (you can set column count to INT_MAX if you don't want to be bothered) /// nk_layout_space_begin(ctx, NK_DYNAMIC, 500, INT_MAX); /// nk_layout_space_push(ctx, nk_rect(0.5,0.5,0.1,0.1)); /// nk_widget(...); /// nk_layout_space_push(ctx, nk_rect(0.7,0.6,0.1,0.1)); /// nk_widget(...); /// } /// nk_end(...); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// ----------------------------------------|------------------------------------ /// nk_layout_set_min_row_height | Set the currently used minimum row height to a specified value /// nk_layout_reset_min_row_height | Resets the currently used minimum row height to font height /// nk_layout_widget_bounds | Calculates current width a static layout row can fit inside a window /// nk_layout_ratio_from_pixel | Utility functions to calculate window ratio from pixel size // /// nk_layout_row_dynamic | Current layout is divided into n same sized growing columns /// nk_layout_row_static | Current layout is divided into n same fixed sized columns /// nk_layout_row_begin | Starts a new row with given height and number of columns /// nk_layout_row_push | Pushes another column with given size or window ratio /// nk_layout_row_end | Finished previously started row /// nk_layout_row | Specifies row columns in array as either window ratio or size // /// nk_layout_row_template_begin | Begins the row template declaration /// nk_layout_row_template_push_dynamic | Adds a dynamic column that dynamically grows and can go to zero if not enough space /// nk_layout_row_template_push_variable | Adds a variable column that dynamically grows but does not shrink below specified pixel width /// nk_layout_row_template_push_static | Adds a static column that does not grow and will always have the same size /// nk_layout_row_template_end | Marks the end of the row template // /// nk_layout_space_begin | Begins a new layouting space that allows to specify each widgets position and size /// nk_layout_space_push | Pushes position and size of the next widget in own coordinate space either as pixel or ratio /// nk_layout_space_end | Marks the end of the layouting space // /// nk_layout_space_bounds | Callable after nk_layout_space_begin and returns total space allocated /// nk_layout_space_to_screen | Converts vector from nk_layout_space coordinate space into screen space /// nk_layout_space_to_local | Converts vector from screen space into nk_layout_space coordinates /// nk_layout_space_rect_to_screen | Converts rectangle from nk_layout_space coordinate space into screen space /// nk_layout_space_rect_to_local | Converts rectangle from screen space into nk_layout_space coordinates */ /*/// #### nk_layout_set_min_row_height /// Sets the currently used minimum row height. /// !!! WARNING /// The passed height needs to include both your preferred row height /// as well as padding. No internal padding is added. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_set_min_row_height(struct nk_context*, float height); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __height__ | New minimum row height to be used for auto generating the row height */ NK_API void nk_layout_set_min_row_height(struct nk_context*, float height); /*/// #### nk_layout_reset_min_row_height /// Reset the currently used minimum row height back to `font_height + text_padding + padding` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_reset_min_row_height(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` */ NK_API void nk_layout_reset_min_row_height(struct nk_context*); /*/// #### nk_layout_widget_bounds /// Returns the width of the next row allocate by one of the layouting functions /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_layout_widget_bounds(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// /// Return `nk_rect` with both position and size of the next row */ NK_API struct nk_rect nk_layout_widget_bounds(struct nk_context*); /*/// #### nk_layout_ratio_from_pixel /// Utility functions to calculate window ratio from pixel size /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// float nk_layout_ratio_from_pixel(struct nk_context*, float pixel_width); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __pixel__ | Pixel_width to convert to window ratio /// /// Returns `nk_rect` with both position and size of the next row */ NK_API float nk_layout_ratio_from_pixel(struct nk_context*, float pixel_width); /*/// #### nk_layout_row_dynamic /// Sets current row layout to share horizontal space /// between @cols number of widgets evenly. Once called all subsequent widget /// calls greater than @cols will allocate a new row with same layout. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __height__ | Holds height of each widget in row or zero for auto layouting /// __columns__ | Number of widget inside row */ NK_API void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols); /*/// #### nk_layout_row_static /// Sets current row layout to fill @cols number of widgets /// in row with same @item_width horizontal size. Once called all subsequent widget /// calls greater than @cols will allocate a new row with same layout. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __height__ | Holds height of each widget in row or zero for auto layouting /// __width__ | Holds pixel width of each widget in the row /// __columns__ | Number of widget inside row */ NK_API void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols); /*/// #### nk_layout_row_begin /// Starts a new dynamic or fixed row with given height and columns. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __fmt__ | either `NK_DYNAMIC` for window ratio or `NK_STATIC` for fixed size columns /// __height__ | holds height of each widget in row or zero for auto layouting /// __columns__ | Number of widget inside row */ NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols); /*/// #### nk_layout_row_push /// Specifies either window ratio or width of a single column /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_push(struct nk_context*, float value); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __value__ | either a window ratio or fixed width depending on @fmt in previous `nk_layout_row_begin` call */ NK_API void nk_layout_row_push(struct nk_context*, float value); /*/// #### nk_layout_row_end /// Finished previously started row /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_end(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` */ NK_API void nk_layout_row_end(struct nk_context*); /*/// #### nk_layout_row /// Specifies row columns in array as either window ratio or size /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __fmt__ | Either `NK_DYNAMIC` for window ratio or `NK_STATIC` for fixed size columns /// __height__ | Holds height of each widget in row or zero for auto layouting /// __columns__ | Number of widget inside row */ NK_API void nk_layout_row(struct nk_context*, enum nk_layout_format, float height, int cols, const float *ratio); /*/// #### nk_layout_row_template_begin /// Begins the row template declaration /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_template_begin(struct nk_context*, float row_height); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __height__ | Holds height of each widget in row or zero for auto layouting */ NK_API void nk_layout_row_template_begin(struct nk_context*, float row_height); /*/// #### nk_layout_row_template_push_dynamic /// Adds a dynamic column that dynamically grows and can go to zero if not enough space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_template_push_dynamic(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __height__ | Holds height of each widget in row or zero for auto layouting */ NK_API void nk_layout_row_template_push_dynamic(struct nk_context*); /*/// #### nk_layout_row_template_push_variable /// Adds a variable column that dynamically grows but does not shrink below specified pixel width /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_template_push_variable(struct nk_context*, float min_width); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __width__ | Holds the minimum pixel width the next column must always be */ NK_API void nk_layout_row_template_push_variable(struct nk_context*, float min_width); /*/// #### nk_layout_row_template_push_static /// Adds a static column that does not grow and will always have the same size /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_template_push_static(struct nk_context*, float width); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __width__ | Holds the absolute pixel width value the next column must be */ NK_API void nk_layout_row_template_push_static(struct nk_context*, float width); /*/// #### nk_layout_row_template_end /// Marks the end of the row template /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_row_template_end(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` */ NK_API void nk_layout_row_template_end(struct nk_context*); /*/// #### nk_layout_space_begin /// Begins a new layouting space that allows to specify each widgets position and size. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, float height, int widget_count); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_begin_xxx` /// __fmt__ | Either `NK_DYNAMIC` for window ratio or `NK_STATIC` for fixed size columns /// __height__ | Holds height of each widget in row or zero for auto layouting /// __columns__ | Number of widgets inside row */ NK_API void nk_layout_space_begin(struct nk_context*, enum nk_layout_format, float height, int widget_count); /*/// #### nk_layout_space_push /// Pushes position and size of the next widget in own coordinate space either as pixel or ratio /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_space_push(struct nk_context *ctx, struct nk_rect bounds); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// __bounds__ | Position and size in laoyut space local coordinates */ NK_API void nk_layout_space_push(struct nk_context*, struct nk_rect bounds); /*/// #### nk_layout_space_end /// Marks the end of the layout space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_layout_space_end(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` */ NK_API void nk_layout_space_end(struct nk_context*); /*/// #### nk_layout_space_bounds /// Utility function to calculate total space allocated for `nk_layout_space` /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_layout_space_bounds(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// /// Returns `nk_rect` holding the total space allocated */ NK_API struct nk_rect nk_layout_space_bounds(struct nk_context*); /*/// #### nk_layout_space_to_screen /// Converts vector from nk_layout_space coordinate space into screen space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_layout_space_to_screen(struct nk_context*, struct nk_vec2); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// __vec__ | Position to convert from layout space into screen coordinate space /// /// Returns transformed `nk_vec2` in screen space coordinates */ NK_API struct nk_vec2 nk_layout_space_to_screen(struct nk_context*, struct nk_vec2); /*/// #### nk_layout_space_to_local /// Converts vector from layout space into screen space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_vec2 nk_layout_space_to_local(struct nk_context*, struct nk_vec2); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// __vec__ | Position to convert from screen space into layout coordinate space /// /// Returns transformed `nk_vec2` in layout space coordinates */ NK_API struct nk_vec2 nk_layout_space_to_local(struct nk_context*, struct nk_vec2); /*/// #### nk_layout_space_rect_to_screen /// Converts rectangle from screen space into layout space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_layout_space_rect_to_screen(struct nk_context*, struct nk_rect); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// __bounds__ | Rectangle to convert from layout space into screen space /// /// Returns transformed `nk_rect` in screen space coordinates */ NK_API struct nk_rect nk_layout_space_rect_to_screen(struct nk_context*, struct nk_rect); /*/// #### nk_layout_space_rect_to_local /// Converts rectangle from layout space into screen space /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_rect nk_layout_space_rect_to_local(struct nk_context*, struct nk_rect); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after call `nk_layout_space_begin` /// __bounds__ | Rectangle to convert from layout space into screen space /// /// Returns transformed `nk_rect` in layout space coordinates */ NK_API struct nk_rect nk_layout_space_rect_to_local(struct nk_context*, struct nk_rect); /* ============================================================================= * * GROUP * * ============================================================================= /// ### Groups /// Groups are basically windows inside windows. They allow to subdivide space /// in a window to layout widgets as a group. Almost all more complex widget /// layouting requirements can be solved using groups and basic layouting /// fuctionality. Groups just like windows are identified by an unique name and /// internally keep track of scrollbar offsets by default. However additional /// versions are provided to directly manage the scrollbar. /// /// #### Usage /// To create a group you have to call one of the three `nk_group_begin_xxx` /// functions to start group declarations and `nk_group_end` at the end. Furthermore it /// is required to check the return value of `nk_group_begin_xxx` and only process /// widgets inside the window if the value is not 0. /// Nesting groups is possible and even encouraged since many layouting schemes /// can only be achieved by nesting. Groups, unlike windows, need `nk_group_end` /// to be only called if the corosponding `nk_group_begin_xxx` call does not return 0: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_group_begin_xxx(ctx, ...) { /// // [... widgets ...] /// nk_group_end(ctx); /// } /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// In the grand concept groups can be called after starting a window /// with `nk_begin_xxx` and before calling `nk_end`: /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// // Input /// Event evt; /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// nk_input_xxx(...); /// } /// } /// nk_input_end(&ctx); /// // /// // Window /// if (nk_begin_xxx(...) { /// // [...widgets...] /// nk_layout_row_dynamic(...); /// if (nk_group_begin_xxx(ctx, ...) { /// //[... widgets ...] /// nk_group_end(ctx); /// } /// } /// nk_end(ctx); /// // /// // Draw /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case ...: /// // [...] /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// #### Reference /// Function | Description /// --------------------------------|------------------------------------------- /// nk_group_begin | Start a new group with internal scrollbar handling /// nk_group_begin_titled | Start a new group with separeted name and title and internal scrollbar handling /// nk_group_end | Ends a group. Should only be called if nk_group_begin returned non-zero /// nk_group_scrolled_offset_begin | Start a new group with manual separated handling of scrollbar x- and y-offset /// nk_group_scrolled_begin | Start a new group with manual scrollbar handling /// nk_group_scrolled_end | Ends a group with manual scrollbar handling. Should only be called if nk_group_begin returned non-zero /// nk_group_get_scroll | Gets the scroll offset for the given group /// nk_group_set_scroll | Sets the scroll offset for the given group */ /*/// #### nk_group_begin /// Starts a new widget group. Requires a previous layouting function to specify a pos/size. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_group_begin(struct nk_context*, const char *title, nk_flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __title__ | Must be an unique identifier for this group that is also used for the group header /// __flags__ | Window flags defined in the nk_panel_flags section with a number of different group behaviors /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_group_begin(struct nk_context*, const char *title, nk_flags); /*/// #### nk_group_begin_titled /// Starts a new widget group. Requires a previous layouting function to specify a pos/size. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_group_begin_titled(struct nk_context*, const char *name, const char *title, nk_flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __id__ | Must be an unique identifier for this group /// __title__ | Group header title /// __flags__ | Window flags defined in the nk_panel_flags section with a number of different group behaviors /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_group_begin_titled(struct nk_context*, const char *name, const char *title, nk_flags); /*/// #### nk_group_end /// Ends a widget group /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_group_end(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct */ NK_API void nk_group_end(struct nk_context*); /*/// #### nk_group_scrolled_offset_begin /// starts a new widget group. requires a previous layouting function to specify /// a size. Does not keep track of scrollbar. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_group_scrolled_offset_begin(struct nk_context*, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __x_offset__| Scrollbar x-offset to offset all widgets inside the group horizontally. /// __y_offset__| Scrollbar y-offset to offset all widgets inside the group vertically /// __title__ | Window unique group title used to both identify and display in the group header /// __flags__ | Window flags from the nk_panel_flags section /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_group_scrolled_offset_begin(struct nk_context*, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags); /*/// #### nk_group_scrolled_begin /// Starts a new widget group. requires a previous /// layouting function to specify a size. Does not keep track of scrollbar. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_group_scrolled_begin(struct nk_context*, struct nk_scroll *off, const char *title, nk_flags); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __off__ | Both x- and y- scroll offset. Allows for manual scrollbar control /// __title__ | Window unique group title used to both identify and display in the group header /// __flags__ | Window flags from nk_panel_flags section /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_group_scrolled_begin(struct nk_context*, struct nk_scroll *off, const char *title, nk_flags); /*/// #### nk_group_scrolled_end /// Ends a widget group after calling nk_group_scrolled_offset_begin or nk_group_scrolled_begin. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_group_scrolled_end(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct */ NK_API void nk_group_scrolled_end(struct nk_context*); /*/// #### nk_group_get_scroll /// Gets the scroll position of the given group. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_offset, nk_uint *y_offset); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// -------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __id__ | The id of the group to get the scroll position of /// __x_offset__ | A pointer to the x offset output (or NULL to ignore) /// __y_offset__ | A pointer to the y offset output (or NULL to ignore) */ NK_API void nk_group_get_scroll(struct nk_context*, const char *id, nk_uint *x_offset, nk_uint *y_offset); /*/// #### nk_group_set_scroll /// Sets the scroll position of the given group. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// -------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __id__ | The id of the group to scroll /// __x_offset__ | The x offset to scroll to /// __y_offset__ | The y offset to scroll to */ NK_API void nk_group_set_scroll(struct nk_context*, const char *id, nk_uint x_offset, nk_uint y_offset); /* ============================================================================= * * TREE * * ============================================================================= /// ### Tree /// Trees represent two different concept. First the concept of a collapsable /// UI section that can be either in a hidden or visibile state. They allow the UI /// user to selectively minimize the current set of visible UI to comprehend. /// The second concept are tree widgets for visual UI representation of trees.<br /><br /> /// /// Trees thereby can be nested for tree representations and multiple nested /// collapsable UI sections. All trees are started by calling of the /// `nk_tree_xxx_push_tree` functions and ended by calling one of the /// `nk_tree_xxx_pop_xxx()` functions. Each starting functions takes a title label /// and optionally an image to be displayed and the initial collapse state from /// the nk_collapse_states section.<br /><br /> /// /// The runtime state of the tree is either stored outside the library by the caller /// or inside which requires a unique ID. The unique ID can either be generated /// automatically from `__FILE__` and `__LINE__` with function `nk_tree_push`, /// by `__FILE__` and a user provided ID generated for example by loop index with /// function `nk_tree_push_id` or completely provided from outside by user with /// function `nk_tree_push_hashed`. /// /// #### Usage /// To create a tree you have to call one of the seven `nk_tree_xxx_push_xxx` /// functions to start a collapsable UI section and `nk_tree_xxx_pop` to mark the /// end. /// Each starting function will either return `false(0)` if the tree is collapsed /// or hidden and therefore does not need to be filled with content or `true(1)` /// if visible and required to be filled. /// /// !!! Note /// The tree header does not require and layouting function and instead /// calculates a auto height based on the currently used font size /// /// The tree ending functions only need to be called if the tree content is /// actually visible. So make sure the tree push function is guarded by `if` /// and the pop call is only taken if the tree is visible. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// if (nk_tree_push(ctx, NK_TREE_TAB, "Tree", NK_MINIMIZED)) { /// nk_layout_row_dynamic(...); /// nk_widget(...); /// nk_tree_pop(ctx); /// } /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// ----------------------------|------------------------------------------- /// nk_tree_push | Start a collapsable UI section with internal state management /// nk_tree_push_id | Start a collapsable UI section with internal state management callable in a look /// nk_tree_push_hashed | Start a collapsable UI section with internal state management with full control over internal unique ID use to store state /// nk_tree_image_push | Start a collapsable UI section with image and label header /// nk_tree_image_push_id | Start a collapsable UI section with image and label header and internal state management callable in a look /// nk_tree_image_push_hashed | Start a collapsable UI section with image and label header and internal state management with full control over internal unique ID use to store state /// nk_tree_pop | Ends a collapsable UI section // /// nk_tree_state_push | Start a collapsable UI section with external state management /// nk_tree_state_image_push | Start a collapsable UI section with image and label header and external state management /// nk_tree_state_pop | Ends a collapsabale UI section /// /// #### nk_tree_type /// Flag | Description /// ----------------|---------------------------------------- /// NK_TREE_NODE | Highlighted tree header to mark a collapsable UI section /// NK_TREE_TAB | Non-highighted tree header closer to tree representations */ /*/// #### nk_tree_push /// Starts a collapsable UI section with internal state management /// !!! WARNING /// To keep track of the runtime tree collapsable state this function uses /// defines `__FILE__` and `__LINE__` to generate a unique ID. If you want /// to call this function in a loop please use `nk_tree_push_id` or /// `nk_tree_push_hashed` instead. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_tree_push(ctx, type, title, state) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ #define nk_tree_push(ctx, type, title, state) nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__) /*/// #### nk_tree_push_id /// Starts a collapsable UI section with internal state management callable in a look /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_tree_push_id(ctx, type, title, state, id) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// __id__ | Loop counter index if this function is called in a loop /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ #define nk_tree_push_id(ctx, type, title, state, id) nk_tree_push_hashed(ctx, type, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id) /*/// #### nk_tree_push_hashed /// Start a collapsable UI section with internal state management with full /// control over internal unique ID used to store state /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_tree_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// __hash__ | Memory block or string to generate the ID from /// __len__ | Size of passed memory block or string in __hash__ /// __seed__ | Seeding value if this function is called in a loop or default to `0` /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_tree_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed); /*/// #### nk_tree_image_push /// Start a collapsable UI section with image and label header /// !!! WARNING /// To keep track of the runtime tree collapsable state this function uses /// defines `__FILE__` and `__LINE__` to generate a unique ID. If you want /// to call this function in a loop please use `nk_tree_image_push_id` or /// `nk_tree_image_push_hashed` instead. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_tree_image_push(ctx, type, img, title, state) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __img__ | Image to display inside the header on the left of the label /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ #define nk_tree_image_push(ctx, type, img, title, state) nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__) /*/// #### nk_tree_image_push_id /// Start a collapsable UI section with image and label header and internal state /// management callable in a look /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// #define nk_tree_image_push_id(ctx, type, img, title, state, id) /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __img__ | Image to display inside the header on the left of the label /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// __id__ | Loop counter index if this function is called in a loop /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ #define nk_tree_image_push_id(ctx, type, img, title, state, id) nk_tree_image_push_hashed(ctx, type, img, title, state, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id) /*/// #### nk_tree_image_push_hashed /// Start a collapsable UI section with internal state management with full /// control over internal unique ID used to store state /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_tree_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __img__ | Image to display inside the header on the left of the label /// __title__ | Label printed in the tree header /// __state__ | Initial tree state value out of nk_collapse_states /// __hash__ | Memory block or string to generate the ID from /// __len__ | Size of passed memory block or string in __hash__ /// __seed__ | Seeding value if this function is called in a loop or default to `0` /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_tree_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed); /*/// #### nk_tree_pop /// Ends a collapsabale UI section /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_tree_pop(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx` */ NK_API void nk_tree_pop(struct nk_context*); /*/// #### nk_tree_state_push /// Start a collapsable UI section with external state management /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_tree_state_push(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states *state); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx` /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __title__ | Label printed in the tree header /// __state__ | Persistent state to update /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_tree_state_push(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states *state); /*/// #### nk_tree_state_image_push /// Start a collapsable UI section with image and label header and external state management /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_tree_state_image_push(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states *state); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx` /// __img__ | Image to display inside the header on the left of the label /// __type__ | Value from the nk_tree_type section to visually mark a tree node header as either a collapseable UI section or tree node /// __title__ | Label printed in the tree header /// __state__ | Persistent state to update /// /// Returns `true(1)` if visible and fillable with widgets or `false(0)` otherwise */ NK_API nk_bool nk_tree_state_image_push(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states *state); /*/// #### nk_tree_state_pop /// Ends a collapsabale UI section /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_tree_state_pop(struct nk_context*); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// ------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling `nk_tree_xxx_push_xxx` */ NK_API void nk_tree_state_pop(struct nk_context*); #define nk_tree_element_push(ctx, type, title, state, sel) nk_tree_element_push_hashed(ctx, type, title, state, sel, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),__LINE__) #define nk_tree_element_push_id(ctx, type, title, state, sel, id) nk_tree_element_push_hashed(ctx, type, title, state, sel, NK_FILE_LINE,nk_strlen(NK_FILE_LINE),id) NK_API nk_bool nk_tree_element_push_hashed(struct nk_context*, enum nk_tree_type, const char *title, enum nk_collapse_states initial_state, nk_bool *selected, const char *hash, int len, int seed); NK_API nk_bool nk_tree_element_image_push_hashed(struct nk_context*, enum nk_tree_type, struct nk_image, const char *title, enum nk_collapse_states initial_state, nk_bool *selected, const char *hash, int len,int seed); NK_API void nk_tree_element_pop(struct nk_context*); /* ============================================================================= * * LIST VIEW * * ============================================================================= */ struct nk_list_view { /* public: */ int begin, end, count; /* private: */ int total_height; struct nk_context *ctx; nk_uint *scroll_pointer; nk_uint scroll_value; }; NK_API nk_bool nk_list_view_begin(struct nk_context*, struct nk_list_view *out, const char *id, nk_flags, int row_height, int row_count); NK_API void nk_list_view_end(struct nk_list_view*); /* ============================================================================= * * WIDGET * * ============================================================================= */ enum nk_widget_layout_states { NK_WIDGET_INVALID, /* The widget cannot be seen and is completely out of view */ NK_WIDGET_VALID, /* The widget is completely inside the window and can be updated and drawn */ NK_WIDGET_ROM /* The widget is partially visible and cannot be updated */ }; enum nk_widget_states { NK_WIDGET_STATE_MODIFIED = NK_FLAG(1), NK_WIDGET_STATE_INACTIVE = NK_FLAG(2), /* widget is neither active nor hovered */ NK_WIDGET_STATE_ENTERED = NK_FLAG(3), /* widget has been hovered on the current frame */ NK_WIDGET_STATE_HOVER = NK_FLAG(4), /* widget is being hovered */ NK_WIDGET_STATE_ACTIVED = NK_FLAG(5),/* widget is currently activated */ NK_WIDGET_STATE_LEFT = NK_FLAG(6), /* widget is from this frame on not hovered anymore */ NK_WIDGET_STATE_HOVERED = NK_WIDGET_STATE_HOVER|NK_WIDGET_STATE_MODIFIED, /* widget is being hovered */ NK_WIDGET_STATE_ACTIVE = NK_WIDGET_STATE_ACTIVED|NK_WIDGET_STATE_MODIFIED /* widget is currently activated */ }; NK_API enum nk_widget_layout_states nk_widget(struct nk_rect*, const struct nk_context*); NK_API enum nk_widget_layout_states nk_widget_fitting(struct nk_rect*, struct nk_context*, struct nk_vec2); NK_API struct nk_rect nk_widget_bounds(struct nk_context*); NK_API struct nk_vec2 nk_widget_position(struct nk_context*); NK_API struct nk_vec2 nk_widget_size(struct nk_context*); NK_API float nk_widget_width(struct nk_context*); NK_API float nk_widget_height(struct nk_context*); NK_API nk_bool nk_widget_is_hovered(struct nk_context*); NK_API nk_bool nk_widget_is_mouse_clicked(struct nk_context*, enum nk_buttons); NK_API nk_bool nk_widget_has_mouse_click_down(struct nk_context*, enum nk_buttons, nk_bool down); NK_API void nk_spacing(struct nk_context*, int cols); /* ============================================================================= * * TEXT * * ============================================================================= */ enum nk_text_align { NK_TEXT_ALIGN_LEFT = 0x01, NK_TEXT_ALIGN_CENTERED = 0x02, NK_TEXT_ALIGN_RIGHT = 0x04, NK_TEXT_ALIGN_TOP = 0x08, NK_TEXT_ALIGN_MIDDLE = 0x10, NK_TEXT_ALIGN_BOTTOM = 0x20 }; enum nk_text_alignment { NK_TEXT_LEFT = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_LEFT, NK_TEXT_CENTERED = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_CENTERED, NK_TEXT_RIGHT = NK_TEXT_ALIGN_MIDDLE|NK_TEXT_ALIGN_RIGHT }; NK_API void nk_text(struct nk_context*, const char*, int, nk_flags); NK_API void nk_text_colored(struct nk_context*, const char*, int, nk_flags, struct nk_color); NK_API void nk_text_wrap(struct nk_context*, const char*, int); NK_API void nk_text_wrap_colored(struct nk_context*, const char*, int, struct nk_color); NK_API void nk_label(struct nk_context*, const char*, nk_flags align); NK_API void nk_label_colored(struct nk_context*, const char*, nk_flags align, struct nk_color); NK_API void nk_label_wrap(struct nk_context*, const char*); NK_API void nk_label_colored_wrap(struct nk_context*, const char*, struct nk_color); NK_API void nk_image(struct nk_context*, struct nk_image); NK_API void nk_image_color(struct nk_context*, struct nk_image, struct nk_color); #ifdef NK_INCLUDE_STANDARD_VARARGS NK_API void nk_labelf(struct nk_context*, nk_flags, NK_PRINTF_FORMAT_STRING const char*, ...) NK_PRINTF_VARARG_FUNC(3); NK_API void nk_labelf_colored(struct nk_context*, nk_flags, struct nk_color, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(4); NK_API void nk_labelf_wrap(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(2); NK_API void nk_labelf_colored_wrap(struct nk_context*, struct nk_color, NK_PRINTF_FORMAT_STRING const char*,...) NK_PRINTF_VARARG_FUNC(3); NK_API void nk_labelfv(struct nk_context*, nk_flags, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(3); NK_API void nk_labelfv_colored(struct nk_context*, nk_flags, struct nk_color, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(4); NK_API void nk_labelfv_wrap(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(2); NK_API void nk_labelfv_colored_wrap(struct nk_context*, struct nk_color, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(3); NK_API void nk_value_bool(struct nk_context*, const char *prefix, int); NK_API void nk_value_int(struct nk_context*, const char *prefix, int); NK_API void nk_value_uint(struct nk_context*, const char *prefix, unsigned int); NK_API void nk_value_float(struct nk_context*, const char *prefix, float); NK_API void nk_value_color_byte(struct nk_context*, const char *prefix, struct nk_color); NK_API void nk_value_color_float(struct nk_context*, const char *prefix, struct nk_color); NK_API void nk_value_color_hex(struct nk_context*, const char *prefix, struct nk_color); #endif /* ============================================================================= * * BUTTON * * ============================================================================= */ NK_API nk_bool nk_button_text(struct nk_context*, const char *title, int len); NK_API nk_bool nk_button_label(struct nk_context*, const char *title); NK_API nk_bool nk_button_color(struct nk_context*, struct nk_color); NK_API nk_bool nk_button_symbol(struct nk_context*, enum nk_symbol_type); NK_API nk_bool nk_button_image(struct nk_context*, struct nk_image img); NK_API nk_bool nk_button_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags text_alignment); NK_API nk_bool nk_button_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment); NK_API nk_bool nk_button_image_label(struct nk_context*, struct nk_image img, const char*, nk_flags text_alignment); NK_API nk_bool nk_button_image_text(struct nk_context*, struct nk_image img, const char*, int, nk_flags alignment); NK_API nk_bool nk_button_text_styled(struct nk_context*, const struct nk_style_button*, const char *title, int len); NK_API nk_bool nk_button_label_styled(struct nk_context*, const struct nk_style_button*, const char *title); NK_API nk_bool nk_button_symbol_styled(struct nk_context*, const struct nk_style_button*, enum nk_symbol_type); NK_API nk_bool nk_button_image_styled(struct nk_context*, const struct nk_style_button*, struct nk_image img); NK_API nk_bool nk_button_symbol_text_styled(struct nk_context*,const struct nk_style_button*, enum nk_symbol_type, const char*, int, nk_flags alignment); NK_API nk_bool nk_button_symbol_label_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *title, nk_flags align); NK_API nk_bool nk_button_image_label_styled(struct nk_context*,const struct nk_style_button*, struct nk_image img, const char*, nk_flags text_alignment); NK_API nk_bool nk_button_image_text_styled(struct nk_context*,const struct nk_style_button*, struct nk_image img, const char*, int, nk_flags alignment); NK_API void nk_button_set_behavior(struct nk_context*, enum nk_button_behavior); NK_API nk_bool nk_button_push_behavior(struct nk_context*, enum nk_button_behavior); NK_API nk_bool nk_button_pop_behavior(struct nk_context*); /* ============================================================================= * * CHECKBOX * * ============================================================================= */ NK_API nk_bool nk_check_label(struct nk_context*, const char*, nk_bool active); NK_API nk_bool nk_check_text(struct nk_context*, const char*, int, nk_bool active); NK_API unsigned nk_check_flags_label(struct nk_context*, const char*, unsigned int flags, unsigned int value); NK_API unsigned nk_check_flags_text(struct nk_context*, const char*, int, unsigned int flags, unsigned int value); NK_API nk_bool nk_checkbox_label(struct nk_context*, const char*, nk_bool *active); NK_API nk_bool nk_checkbox_text(struct nk_context*, const char*, int, nk_bool *active); NK_API nk_bool nk_checkbox_flags_label(struct nk_context*, const char*, unsigned int *flags, unsigned int value); NK_API nk_bool nk_checkbox_flags_text(struct nk_context*, const char*, int, unsigned int *flags, unsigned int value); /* ============================================================================= * * RADIO BUTTON * * ============================================================================= */ NK_API nk_bool nk_radio_label(struct nk_context*, const char*, nk_bool *active); NK_API nk_bool nk_radio_text(struct nk_context*, const char*, int, nk_bool *active); NK_API nk_bool nk_option_label(struct nk_context*, const char*, nk_bool active); NK_API nk_bool nk_option_text(struct nk_context*, const char*, int, nk_bool active); /* ============================================================================= * * SELECTABLE * * ============================================================================= */ NK_API nk_bool nk_selectable_label(struct nk_context*, const char*, nk_flags align, nk_bool *value); NK_API nk_bool nk_selectable_text(struct nk_context*, const char*, int, nk_flags align, nk_bool *value); NK_API nk_bool nk_selectable_image_label(struct nk_context*,struct nk_image, const char*, nk_flags align, nk_bool *value); NK_API nk_bool nk_selectable_image_text(struct nk_context*,struct nk_image, const char*, int, nk_flags align, nk_bool *value); NK_API nk_bool nk_selectable_symbol_label(struct nk_context*,enum nk_symbol_type, const char*, nk_flags align, nk_bool *value); NK_API nk_bool nk_selectable_symbol_text(struct nk_context*,enum nk_symbol_type, const char*, int, nk_flags align, nk_bool *value); NK_API nk_bool nk_select_label(struct nk_context*, const char*, nk_flags align, nk_bool value); NK_API nk_bool nk_select_text(struct nk_context*, const char*, int, nk_flags align, nk_bool value); NK_API nk_bool nk_select_image_label(struct nk_context*, struct nk_image,const char*, nk_flags align, nk_bool value); NK_API nk_bool nk_select_image_text(struct nk_context*, struct nk_image,const char*, int, nk_flags align, nk_bool value); NK_API nk_bool nk_select_symbol_label(struct nk_context*,enum nk_symbol_type, const char*, nk_flags align, nk_bool value); NK_API nk_bool nk_select_symbol_text(struct nk_context*,enum nk_symbol_type, const char*, int, nk_flags align, nk_bool value); /* ============================================================================= * * SLIDER * * ============================================================================= */ NK_API float nk_slide_float(struct nk_context*, float min, float val, float max, float step); NK_API int nk_slide_int(struct nk_context*, int min, int val, int max, int step); NK_API nk_bool nk_slider_float(struct nk_context*, float min, float *val, float max, float step); NK_API nk_bool nk_slider_int(struct nk_context*, int min, int *val, int max, int step); /* ============================================================================= * * PROGRESSBAR * * ============================================================================= */ NK_API nk_bool nk_progress(struct nk_context*, nk_size *cur, nk_size max, nk_bool modifyable); NK_API nk_size nk_prog(struct nk_context*, nk_size cur, nk_size max, nk_bool modifyable); /* ============================================================================= * * COLOR PICKER * * ============================================================================= */ NK_API struct nk_colorf nk_color_picker(struct nk_context*, struct nk_colorf, enum nk_color_format); NK_API nk_bool nk_color_pick(struct nk_context*, struct nk_colorf*, enum nk_color_format); /* ============================================================================= * * PROPERTIES * * ============================================================================= /// ### Properties /// Properties are the main value modification widgets in Nuklear. Changing a value /// can be achieved by dragging, adding/removing incremental steps on button click /// or by directly typing a number. /// /// #### Usage /// Each property requires a unique name for identifaction that is also used for /// displaying a label. If you want to use the same name multiple times make sure /// add a '#' before your name. The '#' will not be shown but will generate a /// unique ID. Each propery also takes in a minimum and maximum value. If you want /// to make use of the complete number range of a type just use the provided /// type limits from `limits.h`. For example `INT_MIN` and `INT_MAX` for /// `nk_property_int` and `nk_propertyi`. In additional each property takes in /// a increment value that will be added or subtracted if either the increment /// decrement button is clicked. Finally there is a value for increment per pixel /// dragged that is added or subtracted from the value. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int value = 0; /// struct nk_context ctx; /// nk_init_xxx(&ctx, ...); /// while (1) { /// // Input /// Event evt; /// nk_input_begin(&ctx); /// while (GetEvent(&evt)) { /// if (evt.type == MOUSE_MOVE) /// nk_input_motion(&ctx, evt.motion.x, evt.motion.y); /// else if (evt.type == [...]) { /// nk_input_xxx(...); /// } /// } /// nk_input_end(&ctx); /// // /// // Window /// if (nk_begin_xxx(...) { /// // Property /// nk_layout_row_dynamic(...); /// nk_property_int(ctx, "ID", INT_MIN, &value, INT_MAX, 1, 1); /// } /// nk_end(ctx); /// // /// // Draw /// const struct nk_command *cmd = 0; /// nk_foreach(cmd, &ctx) { /// switch (cmd->type) { /// case NK_COMMAND_LINE: /// your_draw_line_function(...) /// break; /// case NK_COMMAND_RECT /// your_draw_rect_function(...) /// break; /// case ...: /// // [...] /// } /// nk_clear(&ctx); /// } /// nk_free(&ctx); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// #### Reference /// Function | Description /// --------------------|------------------------------------------- /// nk_property_int | Integer property directly modifing a passed in value /// nk_property_float | Float property directly modifing a passed in value /// nk_property_double | Double property directly modifing a passed in value /// nk_propertyi | Integer property returning the modified int value /// nk_propertyf | Float property returning the modified float value /// nk_propertyd | Double property returning the modified double value /// */ /*/// #### nk_property_int /// Integer property directly modifing a passed in value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_property_int(struct nk_context *ctx, const char *name, int min, int *val, int max, int step, float inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Integer pointer to be modified /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging */ NK_API void nk_property_int(struct nk_context*, const char *name, int min, int *val, int max, int step, float inc_per_pixel); /*/// #### nk_property_float /// Float property directly modifing a passed in value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_property_float(struct nk_context *ctx, const char *name, float min, float *val, float max, float step, float inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Float pointer to be modified /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging */ NK_API void nk_property_float(struct nk_context*, const char *name, float min, float *val, float max, float step, float inc_per_pixel); /*/// #### nk_property_double /// Double property directly modifing a passed in value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// void nk_property_double(struct nk_context *ctx, const char *name, double min, double *val, double max, double step, double inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Double pointer to be modified /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging */ NK_API void nk_property_double(struct nk_context*, const char *name, double min, double *val, double max, double step, float inc_per_pixel); /*/// #### nk_propertyi /// Integer property modifing a passed in value and returning the new value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// int nk_propertyi(struct nk_context *ctx, const char *name, int min, int val, int max, int step, float inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Current integer value to be modified and returned /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging /// /// Returns the new modified integer value */ NK_API nk_bool nk_propertyi(struct nk_context*, const char *name, int min, int val, int max, int step, float inc_per_pixel); /*/// #### nk_propertyf /// Float property modifing a passed in value and returning the new value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// float nk_propertyf(struct nk_context *ctx, const char *name, float min, float val, float max, float step, float inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Current float value to be modified and returned /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging /// /// Returns the new modified float value */ NK_API float nk_propertyf(struct nk_context*, const char *name, float min, float val, float max, float step, float inc_per_pixel); /*/// #### nk_propertyd /// Float property modifing a passed in value and returning the new value /// !!! WARNING /// To generate a unique property ID using the same label make sure to insert /// a `#` at the beginning. It will not be shown but guarantees correct behavior. /// /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~c /// float nk_propertyd(struct nk_context *ctx, const char *name, double min, double val, double max, double step, double inc_per_pixel); /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// /// Parameter | Description /// --------------------|----------------------------------------------------------- /// __ctx__ | Must point to an previously initialized `nk_context` struct after calling a layouting function /// __name__ | String used both as a label as well as a unique identifier /// __min__ | Minimum value not allowed to be underflown /// __val__ | Current double value to be modified and returned /// __max__ | Maximum value not allowed to be overflown /// __step__ | Increment added and subtracted on increment and decrement button /// __inc_per_pixel__ | Value per pixel added or subtracted on dragging /// /// Returns the new modified double value */ NK_API double nk_propertyd(struct nk_context*, const char *name, double min, double val, double max, double step, float inc_per_pixel); /* ============================================================================= * * TEXT EDIT * * ============================================================================= */ enum nk_edit_flags { NK_EDIT_DEFAULT = 0, NK_EDIT_READ_ONLY = NK_FLAG(0), NK_EDIT_AUTO_SELECT = NK_FLAG(1), NK_EDIT_SIG_ENTER = NK_FLAG(2), NK_EDIT_ALLOW_TAB = NK_FLAG(3), NK_EDIT_NO_CURSOR = NK_FLAG(4), NK_EDIT_SELECTABLE = NK_FLAG(5), NK_EDIT_CLIPBOARD = NK_FLAG(6), NK_EDIT_CTRL_ENTER_NEWLINE = NK_FLAG(7), NK_EDIT_NO_HORIZONTAL_SCROLL = NK_FLAG(8), NK_EDIT_ALWAYS_INSERT_MODE = NK_FLAG(9), NK_EDIT_MULTILINE = NK_FLAG(10), NK_EDIT_GOTO_END_ON_ACTIVATE = NK_FLAG(11) }; enum nk_edit_types { NK_EDIT_SIMPLE = NK_EDIT_ALWAYS_INSERT_MODE, NK_EDIT_FIELD = NK_EDIT_SIMPLE|NK_EDIT_SELECTABLE|NK_EDIT_CLIPBOARD, NK_EDIT_BOX = NK_EDIT_ALWAYS_INSERT_MODE| NK_EDIT_SELECTABLE| NK_EDIT_MULTILINE|NK_EDIT_ALLOW_TAB|NK_EDIT_CLIPBOARD, NK_EDIT_EDITOR = NK_EDIT_SELECTABLE|NK_EDIT_MULTILINE|NK_EDIT_ALLOW_TAB| NK_EDIT_CLIPBOARD }; enum nk_edit_events { NK_EDIT_ACTIVE = NK_FLAG(0), /* edit widget is currently being modified */ NK_EDIT_INACTIVE = NK_FLAG(1), /* edit widget is not active and is not being modified */ NK_EDIT_ACTIVATED = NK_FLAG(2), /* edit widget went from state inactive to state active */ NK_EDIT_DEACTIVATED = NK_FLAG(3), /* edit widget went from state active to state inactive */ NK_EDIT_COMMITED = NK_FLAG(4) /* edit widget has received an enter and lost focus */ }; NK_API nk_flags nk_edit_string(struct nk_context*, nk_flags, char *buffer, int *len, int max, nk_plugin_filter); NK_API nk_flags nk_edit_string_zero_terminated(struct nk_context*, nk_flags, char *buffer, int max, nk_plugin_filter); NK_API nk_flags nk_edit_buffer(struct nk_context*, nk_flags, struct nk_text_edit*, nk_plugin_filter); NK_API void nk_edit_focus(struct nk_context*, nk_flags flags); NK_API void nk_edit_unfocus(struct nk_context*); /* ============================================================================= * * CHART * * ============================================================================= */ NK_API nk_bool nk_chart_begin(struct nk_context*, enum nk_chart_type, int num, float min, float max); NK_API nk_bool nk_chart_begin_colored(struct nk_context*, enum nk_chart_type, struct nk_color, struct nk_color active, int num, float min, float max); NK_API void nk_chart_add_slot(struct nk_context *ctx, const enum nk_chart_type, int count, float min_value, float max_value); NK_API void nk_chart_add_slot_colored(struct nk_context *ctx, const enum nk_chart_type, struct nk_color, struct nk_color active, int count, float min_value, float max_value); NK_API nk_flags nk_chart_push(struct nk_context*, float); NK_API nk_flags nk_chart_push_slot(struct nk_context*, float, int); NK_API void nk_chart_end(struct nk_context*); NK_API void nk_plot(struct nk_context*, enum nk_chart_type, const float *values, int count, int offset); NK_API void nk_plot_function(struct nk_context*, enum nk_chart_type, void *userdata, float(*value_getter)(void* user, int index), int count, int offset); /* ============================================================================= * * POPUP * * ============================================================================= */ NK_API nk_bool nk_popup_begin(struct nk_context*, enum nk_popup_type, const char*, nk_flags, struct nk_rect bounds); NK_API void nk_popup_close(struct nk_context*); NK_API void nk_popup_end(struct nk_context*); NK_API void nk_popup_get_scroll(struct nk_context*, nk_uint *offset_x, nk_uint *offset_y); NK_API void nk_popup_set_scroll(struct nk_context*, nk_uint offset_x, nk_uint offset_y); /* ============================================================================= * * COMBOBOX * * ============================================================================= */ NK_API int nk_combo(struct nk_context*, const char **items, int count, int selected, int item_height, struct nk_vec2 size); NK_API int nk_combo_separator(struct nk_context*, const char *items_separated_by_separator, int separator, int selected, int count, int item_height, struct nk_vec2 size); NK_API int nk_combo_string(struct nk_context*, const char *items_separated_by_zeros, int selected, int count, int item_height, struct nk_vec2 size); NK_API int nk_combo_callback(struct nk_context*, void(*item_getter)(void*, int, const char**), void *userdata, int selected, int count, int item_height, struct nk_vec2 size); NK_API void nk_combobox(struct nk_context*, const char **items, int count, int *selected, int item_height, struct nk_vec2 size); NK_API void nk_combobox_string(struct nk_context*, const char *items_separated_by_zeros, int *selected, int count, int item_height, struct nk_vec2 size); NK_API void nk_combobox_separator(struct nk_context*, const char *items_separated_by_separator, int separator, int *selected, int count, int item_height, struct nk_vec2 size); NK_API void nk_combobox_callback(struct nk_context*, void(*item_getter)(void*, int, const char**), void*, int *selected, int count, int item_height, struct nk_vec2 size); /* ============================================================================= * * ABSTRACT COMBOBOX * * ============================================================================= */ NK_API nk_bool nk_combo_begin_text(struct nk_context*, const char *selected, int, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_label(struct nk_context*, const char *selected, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_color(struct nk_context*, struct nk_color color, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_symbol(struct nk_context*, enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_symbol_label(struct nk_context*, const char *selected, enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_symbol_text(struct nk_context*, const char *selected, int, enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_image(struct nk_context*, struct nk_image img, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_image_label(struct nk_context*, const char *selected, struct nk_image, struct nk_vec2 size); NK_API nk_bool nk_combo_begin_image_text(struct nk_context*, const char *selected, int, struct nk_image, struct nk_vec2 size); NK_API nk_bool nk_combo_item_label(struct nk_context*, const char*, nk_flags alignment); NK_API nk_bool nk_combo_item_text(struct nk_context*, const char*,int, nk_flags alignment); NK_API nk_bool nk_combo_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment); NK_API nk_bool nk_combo_item_image_text(struct nk_context*, struct nk_image, const char*, int,nk_flags alignment); NK_API nk_bool nk_combo_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment); NK_API nk_bool nk_combo_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment); NK_API void nk_combo_close(struct nk_context*); NK_API void nk_combo_end(struct nk_context*); /* ============================================================================= * * CONTEXTUAL * * ============================================================================= */ NK_API nk_bool nk_contextual_begin(struct nk_context*, nk_flags, struct nk_vec2, struct nk_rect trigger_bounds); NK_API nk_bool nk_contextual_item_text(struct nk_context*, const char*, int,nk_flags align); NK_API nk_bool nk_contextual_item_label(struct nk_context*, const char*, nk_flags align); NK_API nk_bool nk_contextual_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment); NK_API nk_bool nk_contextual_item_image_text(struct nk_context*, struct nk_image, const char*, int len, nk_flags alignment); NK_API nk_bool nk_contextual_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment); NK_API nk_bool nk_contextual_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment); NK_API void nk_contextual_close(struct nk_context*); NK_API void nk_contextual_end(struct nk_context*); /* ============================================================================= * * TOOLTIP * * ============================================================================= */ NK_API void nk_tooltip(struct nk_context*, const char*); #ifdef NK_INCLUDE_STANDARD_VARARGS NK_API void nk_tooltipf(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, ...) NK_PRINTF_VARARG_FUNC(2); NK_API void nk_tooltipfv(struct nk_context*, NK_PRINTF_FORMAT_STRING const char*, va_list) NK_PRINTF_VALIST_FUNC(2); #endif NK_API nk_bool nk_tooltip_begin(struct nk_context*, float width); NK_API void nk_tooltip_end(struct nk_context*); /* ============================================================================= * * MENU * * ============================================================================= */ NK_API void nk_menubar_begin(struct nk_context*); NK_API void nk_menubar_end(struct nk_context*); NK_API nk_bool nk_menu_begin_text(struct nk_context*, const char* title, int title_len, nk_flags align, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_label(struct nk_context*, const char*, nk_flags align, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_image(struct nk_context*, const char*, struct nk_image, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_image_text(struct nk_context*, const char*, int,nk_flags align,struct nk_image, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_image_label(struct nk_context*, const char*, nk_flags align,struct nk_image, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_symbol(struct nk_context*, const char*, enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_symbol_text(struct nk_context*, const char*, int,nk_flags align,enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_menu_begin_symbol_label(struct nk_context*, const char*, nk_flags align,enum nk_symbol_type, struct nk_vec2 size); NK_API nk_bool nk_menu_item_text(struct nk_context*, const char*, int,nk_flags align); NK_API nk_bool nk_menu_item_label(struct nk_context*, const char*, nk_flags alignment); NK_API nk_bool nk_menu_item_image_label(struct nk_context*, struct nk_image, const char*, nk_flags alignment); NK_API nk_bool nk_menu_item_image_text(struct nk_context*, struct nk_image, const char*, int len, nk_flags alignment); NK_API nk_bool nk_menu_item_symbol_text(struct nk_context*, enum nk_symbol_type, const char*, int, nk_flags alignment); NK_API nk_bool nk_menu_item_symbol_label(struct nk_context*, enum nk_symbol_type, const char*, nk_flags alignment); NK_API void nk_menu_close(struct nk_context*); NK_API void nk_menu_end(struct nk_context*); /* ============================================================================= * * STYLE * * ============================================================================= */ enum nk_style_colors { NK_COLOR_TEXT, NK_COLOR_WINDOW, NK_COLOR_HEADER, NK_COLOR_BORDER, NK_COLOR_BUTTON, NK_COLOR_BUTTON_HOVER, NK_COLOR_BUTTON_ACTIVE, NK_COLOR_TOGGLE, NK_COLOR_TOGGLE_HOVER, NK_COLOR_TOGGLE_CURSOR, NK_COLOR_SELECT, NK_COLOR_SELECT_ACTIVE, NK_COLOR_SLIDER, NK_COLOR_SLIDER_CURSOR, NK_COLOR_SLIDER_CURSOR_HOVER, NK_COLOR_SLIDER_CURSOR_ACTIVE, NK_COLOR_PROPERTY, NK_COLOR_EDIT, NK_COLOR_EDIT_CURSOR, NK_COLOR_COMBO, NK_COLOR_CHART, NK_COLOR_CHART_COLOR, NK_COLOR_CHART_COLOR_HIGHLIGHT, NK_COLOR_SCROLLBAR, NK_COLOR_SCROLLBAR_CURSOR, NK_COLOR_SCROLLBAR_CURSOR_HOVER, NK_COLOR_SCROLLBAR_CURSOR_ACTIVE, NK_COLOR_TAB_HEADER, NK_COLOR_COUNT }; enum nk_style_cursor { NK_CURSOR_ARROW, NK_CURSOR_TEXT, NK_CURSOR_MOVE, NK_CURSOR_RESIZE_VERTICAL, NK_CURSOR_RESIZE_HORIZONTAL, NK_CURSOR_RESIZE_TOP_LEFT_DOWN_RIGHT, NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT, NK_CURSOR_COUNT }; NK_API void nk_style_default(struct nk_context*); NK_API void nk_style_from_table(struct nk_context*, const struct nk_color*); NK_API void nk_style_load_cursor(struct nk_context*, enum nk_style_cursor, const struct nk_cursor*); NK_API void nk_style_load_all_cursors(struct nk_context*, struct nk_cursor*); NK_API const char* nk_style_get_color_by_name(enum nk_style_colors); NK_API void nk_style_set_font(struct nk_context*, const struct nk_user_font*); NK_API nk_bool nk_style_set_cursor(struct nk_context*, enum nk_style_cursor); NK_API void nk_style_show_cursor(struct nk_context*); NK_API void nk_style_hide_cursor(struct nk_context*); NK_API nk_bool nk_style_push_font(struct nk_context*, const struct nk_user_font*); NK_API nk_bool nk_style_push_float(struct nk_context*, float*, float); NK_API nk_bool nk_style_push_vec2(struct nk_context*, struct nk_vec2*, struct nk_vec2); NK_API nk_bool nk_style_push_style_item(struct nk_context*, struct nk_style_item*, struct nk_style_item); NK_API nk_bool nk_style_push_flags(struct nk_context*, nk_flags*, nk_flags); NK_API nk_bool nk_style_push_color(struct nk_context*, struct nk_color*, struct nk_color); NK_API nk_bool nk_style_pop_font(struct nk_context*); NK_API nk_bool nk_style_pop_float(struct nk_context*); NK_API nk_bool nk_style_pop_vec2(struct nk_context*); NK_API nk_bool nk_style_pop_style_item(struct nk_context*); NK_API nk_bool nk_style_pop_flags(struct nk_context*); NK_API nk_bool nk_style_pop_color(struct nk_context*); /* ============================================================================= * * COLOR * * ============================================================================= */ NK_API struct nk_color nk_rgb(int r, int g, int b); NK_API struct nk_color nk_rgb_iv(const int *rgb); NK_API struct nk_color nk_rgb_bv(const nk_byte* rgb); NK_API struct nk_color nk_rgb_f(float r, float g, float b); NK_API struct nk_color nk_rgb_fv(const float *rgb); NK_API struct nk_color nk_rgb_cf(struct nk_colorf c); NK_API struct nk_color nk_rgb_hex(const char *rgb); NK_API struct nk_color nk_rgba(int r, int g, int b, int a); NK_API struct nk_color nk_rgba_u32(nk_uint); NK_API struct nk_color nk_rgba_iv(const int *rgba); NK_API struct nk_color nk_rgba_bv(const nk_byte *rgba); NK_API struct nk_color nk_rgba_f(float r, float g, float b, float a); NK_API struct nk_color nk_rgba_fv(const float *rgba); NK_API struct nk_color nk_rgba_cf(struct nk_colorf c); NK_API struct nk_color nk_rgba_hex(const char *rgb); NK_API struct nk_colorf nk_hsva_colorf(float h, float s, float v, float a); NK_API struct nk_colorf nk_hsva_colorfv(float *c); NK_API void nk_colorf_hsva_f(float *out_h, float *out_s, float *out_v, float *out_a, struct nk_colorf in); NK_API void nk_colorf_hsva_fv(float *hsva, struct nk_colorf in); NK_API struct nk_color nk_hsv(int h, int s, int v); NK_API struct nk_color nk_hsv_iv(const int *hsv); NK_API struct nk_color nk_hsv_bv(const nk_byte *hsv); NK_API struct nk_color nk_hsv_f(float h, float s, float v); NK_API struct nk_color nk_hsv_fv(const float *hsv); NK_API struct nk_color nk_hsva(int h, int s, int v, int a); NK_API struct nk_color nk_hsva_iv(const int *hsva); NK_API struct nk_color nk_hsva_bv(const nk_byte *hsva); NK_API struct nk_color nk_hsva_f(float h, float s, float v, float a); NK_API struct nk_color nk_hsva_fv(const float *hsva); /* color (conversion nuklear --> user) */ NK_API void nk_color_f(float *r, float *g, float *b, float *a, struct nk_color); NK_API void nk_color_fv(float *rgba_out, struct nk_color); NK_API struct nk_colorf nk_color_cf(struct nk_color); NK_API void nk_color_d(double *r, double *g, double *b, double *a, struct nk_color); NK_API void nk_color_dv(double *rgba_out, struct nk_color); NK_API nk_uint nk_color_u32(struct nk_color); NK_API void nk_color_hex_rgba(char *output, struct nk_color); NK_API void nk_color_hex_rgb(char *output, struct nk_color); NK_API void nk_color_hsv_i(int *out_h, int *out_s, int *out_v, struct nk_color); NK_API void nk_color_hsv_b(nk_byte *out_h, nk_byte *out_s, nk_byte *out_v, struct nk_color); NK_API void nk_color_hsv_iv(int *hsv_out, struct nk_color); NK_API void nk_color_hsv_bv(nk_byte *hsv_out, struct nk_color); NK_API void nk_color_hsv_f(float *out_h, float *out_s, float *out_v, struct nk_color); NK_API void nk_color_hsv_fv(float *hsv_out, struct nk_color); NK_API void nk_color_hsva_i(int *h, int *s, int *v, int *a, struct nk_color); NK_API void nk_color_hsva_b(nk_byte *h, nk_byte *s, nk_byte *v, nk_byte *a, struct nk_color); NK_API void nk_color_hsva_iv(int *hsva_out, struct nk_color); NK_API void nk_color_hsva_bv(nk_byte *hsva_out, struct nk_color); NK_API void nk_color_hsva_f(float *out_h, float *out_s, float *out_v, float *out_a, struct nk_color); NK_API void nk_color_hsva_fv(float *hsva_out, struct nk_color); /* ============================================================================= * * IMAGE * * ============================================================================= */ NK_API nk_handle nk_handle_ptr(void*); NK_API nk_handle nk_handle_id(int); NK_API struct nk_image nk_image_handle(nk_handle); NK_API struct nk_image nk_image_ptr(void*); NK_API struct nk_image nk_image_id(int); NK_API nk_bool nk_image_is_subimage(const struct nk_image* img); NK_API struct nk_image nk_subimage_ptr(void*, unsigned short w, unsigned short h, struct nk_rect sub_region); NK_API struct nk_image nk_subimage_id(int, unsigned short w, unsigned short h, struct nk_rect sub_region); NK_API struct nk_image nk_subimage_handle(nk_handle, unsigned short w, unsigned short h, struct nk_rect sub_region); /* ============================================================================= * * MATH * * ============================================================================= */ NK_API nk_hash nk_murmur_hash(const void *key, int len, nk_hash seed); NK_API void nk_triangle_from_direction(struct nk_vec2 *result, struct nk_rect r, float pad_x, float pad_y, enum nk_heading); NK_API struct nk_vec2 nk_vec2(float x, float y); NK_API struct nk_vec2 nk_vec2i(int x, int y); NK_API struct nk_vec2 nk_vec2v(const float *xy); NK_API struct nk_vec2 nk_vec2iv(const int *xy); NK_API struct nk_rect nk_get_null_rect(void); NK_API struct nk_rect nk_rect(float x, float y, float w, float h); NK_API struct nk_rect nk_recti(int x, int y, int w, int h); NK_API struct nk_rect nk_recta(struct nk_vec2 pos, struct nk_vec2 size); NK_API struct nk_rect nk_rectv(const float *xywh); NK_API struct nk_rect nk_rectiv(const int *xywh); NK_API struct nk_vec2 nk_rect_pos(struct nk_rect); NK_API struct nk_vec2 nk_rect_size(struct nk_rect); /* ============================================================================= * * STRING * * ============================================================================= */ NK_API int nk_strlen(const char *str); NK_API int nk_stricmp(const char *s1, const char *s2); NK_API int nk_stricmpn(const char *s1, const char *s2, int n); NK_API int nk_strtoi(const char *str, const char **endptr); NK_API float nk_strtof(const char *str, const char **endptr); #ifndef NK_STRTOD #define NK_STRTOD nk_strtod NK_API double nk_strtod(const char *str, const char **endptr); #endif NK_API int nk_strfilter(const char *text, const char *regexp); NK_API int nk_strmatch_fuzzy_string(char const *str, char const *pattern, int *out_score); NK_API int nk_strmatch_fuzzy_text(const char *txt, int txt_len, const char *pattern, int *out_score); /* ============================================================================= * * UTF-8 * * ============================================================================= */ NK_API int nk_utf_decode(const char*, nk_rune*, int); NK_API int nk_utf_encode(nk_rune, char*, int); NK_API int nk_utf_len(const char*, int byte_len); NK_API const char* nk_utf_at(const char *buffer, int length, int index, nk_rune *unicode, int *len); /* =============================================================== * * FONT * * ===============================================================*/ /* Font handling in this library was designed to be quite customizable and lets you decide what you want to use and what you want to provide. There are three different ways to use the font atlas. The first two will use your font handling scheme and only requires essential data to run nuklear. The next slightly more advanced features is font handling with vertex buffer output. Finally the most complex API wise is using nuklear's font baking API. 1.) Using your own implementation without vertex buffer output -------------------------------------------------------------- So first up the easiest way to do font handling is by just providing a `nk_user_font` struct which only requires the height in pixel of the used font and a callback to calculate the width of a string. This way of handling fonts is best fitted for using the normal draw shape command API where you do all the text drawing yourself and the library does not require any kind of deeper knowledge about which font handling mechanism you use. IMPORTANT: the `nk_user_font` pointer provided to nuklear has to persist over the complete life time! I know this sucks but it is currently the only way to switch between fonts. float your_text_width_calculation(nk_handle handle, float height, const char *text, int len) { your_font_type *type = handle.ptr; float text_width = ...; return text_width; } struct nk_user_font font; font.userdata.ptr = &your_font_class_or_struct; font.height = your_font_height; font.width = your_text_width_calculation; struct nk_context ctx; nk_init_default(&ctx, &font); 2.) Using your own implementation with vertex buffer output -------------------------------------------------------------- While the first approach works fine if you don't want to use the optional vertex buffer output it is not enough if you do. To get font handling working for these cases you have to provide two additional parameters inside the `nk_user_font`. First a texture atlas handle used to draw text as subimages of a bigger font atlas texture and a callback to query a character's glyph information (offset, size, ...). So it is still possible to provide your own font and use the vertex buffer output. float your_text_width_calculation(nk_handle handle, float height, const char *text, int len) { your_font_type *type = handle.ptr; float text_width = ...; return text_width; } void query_your_font_glyph(nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint) { your_font_type *type = handle.ptr; glyph.width = ...; glyph.height = ...; glyph.xadvance = ...; glyph.uv[0].x = ...; glyph.uv[0].y = ...; glyph.uv[1].x = ...; glyph.uv[1].y = ...; glyph.offset.x = ...; glyph.offset.y = ...; } struct nk_user_font font; font.userdata.ptr = &your_font_class_or_struct; font.height = your_font_height; font.width = your_text_width_calculation; font.query = query_your_font_glyph; font.texture.id = your_font_texture; struct nk_context ctx; nk_init_default(&ctx, &font); 3.) Nuklear font baker ------------------------------------ The final approach if you do not have a font handling functionality or don't want to use it in this library is by using the optional font baker. The font baker APIs can be used to create a font plus font atlas texture and can be used with or without the vertex buffer output. It still uses the `nk_user_font` struct and the two different approaches previously stated still work. The font baker is not located inside `nk_context` like all other systems since it can be understood as more of an extension to nuklear and does not really depend on any `nk_context` state. Font baker need to be initialized first by one of the nk_font_atlas_init_xxx functions. If you don't care about memory just call the default version `nk_font_atlas_init_default` which will allocate all memory from the standard library. If you want to control memory allocation but you don't care if the allocated memory is temporary and therefore can be freed directly after the baking process is over or permanent you can call `nk_font_atlas_init`. After successfully initializing the font baker you can add Truetype(.ttf) fonts from different sources like memory or from file by calling one of the `nk_font_atlas_add_xxx`. functions. Adding font will permanently store each font, font config and ttf memory block(!) inside the font atlas and allows to reuse the font atlas. If you don't want to reuse the font baker by for example adding additional fonts you can call `nk_font_atlas_cleanup` after the baking process is over (after calling nk_font_atlas_end). As soon as you added all fonts you wanted you can now start the baking process for every selected glyph to image by calling `nk_font_atlas_bake`. The baking process returns image memory, width and height which can be used to either create your own image object or upload it to any graphics library. No matter which case you finally have to call `nk_font_atlas_end` which will free all temporary memory including the font atlas image so make sure you created our texture beforehand. `nk_font_atlas_end` requires a handle to your font texture or object and optionally fills a `struct nk_draw_null_texture` which can be used for the optional vertex output. If you don't want it just set the argument to `NULL`. At this point you are done and if you don't want to reuse the font atlas you can call `nk_font_atlas_cleanup` to free all truetype blobs and configuration memory. Finally if you don't use the font atlas and any of it's fonts anymore you need to call `nk_font_atlas_clear` to free all memory still being used. struct nk_font_atlas atlas; nk_font_atlas_init_default(&atlas); nk_font_atlas_begin(&atlas); nk_font *font = nk_font_atlas_add_from_file(&atlas, "Path/To/Your/TTF_Font.ttf", 13, 0); nk_font *font2 = nk_font_atlas_add_from_file(&atlas, "Path/To/Your/TTF_Font2.ttf", 16, 0); const void* img = nk_font_atlas_bake(&atlas, &img_width, &img_height, NK_FONT_ATLAS_RGBA32); nk_font_atlas_end(&atlas, nk_handle_id(texture), 0); struct nk_context ctx; nk_init_default(&ctx, &font->handle); while (1) { } nk_font_atlas_clear(&atlas); The font baker API is probably the most complex API inside this library and I would suggest reading some of my examples `example/` to get a grip on how to use the font atlas. There are a number of details I left out. For example how to merge fonts, configure a font with `nk_font_config` to use other languages, use another texture coordinate format and a lot more: struct nk_font_config cfg = nk_font_config(font_pixel_height); cfg.merge_mode = nk_false or nk_true; cfg.range = nk_font_korean_glyph_ranges(); cfg.coord_type = NK_COORD_PIXEL; nk_font *font = nk_font_atlas_add_from_file(&atlas, "Path/To/Your/TTF_Font.ttf", 13, &cfg); */ struct nk_user_font_glyph; typedef float(*nk_text_width_f)(nk_handle, float h, const char*, int len); typedef void(*nk_query_font_glyph_f)(nk_handle handle, float font_height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint); #if defined(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) || defined(NK_INCLUDE_SOFTWARE_FONT) struct nk_user_font_glyph { struct nk_vec2 uv[2]; /* texture coordinates */ struct nk_vec2 offset; /* offset between top left and glyph */ float width, height; /* size of the glyph */ float xadvance; /* offset to the next glyph */ }; #endif struct nk_user_font { nk_handle userdata; /* user provided font handle */ float height; /* max height of the font */ nk_text_width_f width; /* font string width in pixel callback */ #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT nk_query_font_glyph_f query; /* font glyph callback to query drawing info */ nk_handle texture; /* texture handle to the used font atlas or texture */ #endif }; #ifdef NK_INCLUDE_FONT_BAKING enum nk_font_coord_type { NK_COORD_UV, /* texture coordinates inside font glyphs are clamped between 0-1 */ NK_COORD_PIXEL /* texture coordinates inside font glyphs are in absolute pixel */ }; struct nk_font; struct nk_baked_font { float height; /* height of the font */ float ascent, descent; /* font glyphs ascent and descent */ nk_rune glyph_offset; /* glyph array offset inside the font glyph baking output array */ nk_rune glyph_count; /* number of glyphs of this font inside the glyph baking array output */ const nk_rune *ranges; /* font codepoint ranges as pairs of (from/to) and 0 as last element */ }; struct nk_font_config { struct nk_font_config *next; /* NOTE: only used internally */ void *ttf_blob; /* pointer to loaded TTF file memory block. * NOTE: not needed for nk_font_atlas_add_from_memory and nk_font_atlas_add_from_file. */ nk_size ttf_size; /* size of the loaded TTF file memory block * NOTE: not needed for nk_font_atlas_add_from_memory and nk_font_atlas_add_from_file. */ unsigned char ttf_data_owned_by_atlas; /* used inside font atlas: default to: 0*/ unsigned char merge_mode; /* merges this font into the last font */ unsigned char pixel_snap; /* align every character to pixel boundary (if true set oversample (1,1)) */ unsigned char oversample_v, oversample_h; /* rasterize at hight quality for sub-pixel position */ unsigned char padding[3]; float size; /* baked pixel height of the font */ enum nk_font_coord_type coord_type; /* texture coordinate format with either pixel or UV coordinates */ struct nk_vec2 spacing; /* extra pixel spacing between glyphs */ const nk_rune *range; /* list of unicode ranges (2 values per range, zero terminated) */ struct nk_baked_font *font; /* font to setup in the baking process: NOTE: not needed for font atlas */ nk_rune fallback_glyph; /* fallback glyph to use if a given rune is not found */ struct nk_font_config *n; struct nk_font_config *p; }; struct nk_font_glyph { nk_rune codepoint; float xadvance; float x0, y0, x1, y1, w, h; float u0, v0, u1, v1; }; struct nk_font { struct nk_font *next; struct nk_user_font handle; struct nk_baked_font info; float scale; struct nk_font_glyph *glyphs; const struct nk_font_glyph *fallback; nk_rune fallback_codepoint; nk_handle texture; struct nk_font_config *config; }; enum nk_font_atlas_format { NK_FONT_ATLAS_ALPHA8, NK_FONT_ATLAS_RGBA32 }; struct nk_font_atlas { void *pixel; int tex_width; int tex_height; struct nk_allocator permanent; struct nk_allocator temporary; struct nk_recti custom; struct nk_cursor cursors[NK_CURSOR_COUNT]; int glyph_count; struct nk_font_glyph *glyphs; struct nk_font *default_font; struct nk_font *fonts; struct nk_font_config *config; int font_num; }; /* some language glyph codepoint ranges */ NK_API const nk_rune *nk_font_default_glyph_ranges(void); NK_API const nk_rune *nk_font_chinese_glyph_ranges(void); NK_API const nk_rune *nk_font_cyrillic_glyph_ranges(void); NK_API const nk_rune *nk_font_korean_glyph_ranges(void); #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_font_atlas_init_default(struct nk_font_atlas*); #endif NK_API void nk_font_atlas_init(struct nk_font_atlas*, struct nk_allocator*); NK_API void nk_font_atlas_init_custom(struct nk_font_atlas*, struct nk_allocator *persistent, struct nk_allocator *transient); NK_API void nk_font_atlas_begin(struct nk_font_atlas*); NK_API struct nk_font_config nk_font_config(float pixel_height); NK_API struct nk_font *nk_font_atlas_add(struct nk_font_atlas*, const struct nk_font_config*); #ifdef NK_INCLUDE_DEFAULT_FONT NK_API struct nk_font* nk_font_atlas_add_default(struct nk_font_atlas*, float height, const struct nk_font_config*); #endif NK_API struct nk_font* nk_font_atlas_add_from_memory(struct nk_font_atlas *atlas, void *memory, nk_size size, float height, const struct nk_font_config *config); #ifdef NK_INCLUDE_STANDARD_IO NK_API struct nk_font* nk_font_atlas_add_from_file(struct nk_font_atlas *atlas, const char *file_path, float height, const struct nk_font_config*); #endif NK_API struct nk_font *nk_font_atlas_add_compressed(struct nk_font_atlas*, void *memory, nk_size size, float height, const struct nk_font_config*); NK_API struct nk_font* nk_font_atlas_add_compressed_base85(struct nk_font_atlas*, const char *data, float height, const struct nk_font_config *config); NK_API const void* nk_font_atlas_bake(struct nk_font_atlas*, int *width, int *height, enum nk_font_atlas_format); NK_API void nk_font_atlas_end(struct nk_font_atlas*, nk_handle tex, struct nk_draw_null_texture*); NK_API const struct nk_font_glyph* nk_font_find_glyph(struct nk_font*, nk_rune unicode); NK_API void nk_font_atlas_cleanup(struct nk_font_atlas *atlas); NK_API void nk_font_atlas_clear(struct nk_font_atlas*); #endif /* ============================================================== * * MEMORY BUFFER * * ===============================================================*/ /* A basic (double)-buffer with linear allocation and resetting as only freeing policy. The buffer's main purpose is to control all memory management inside the GUI toolkit and still leave memory control as much as possible in the hand of the user while also making sure the library is easy to use if not as much control is needed. In general all memory inside this library can be provided from the user in three different ways. The first way and the one providing most control is by just passing a fixed size memory block. In this case all control lies in the hand of the user since he can exactly control where the memory comes from and how much memory the library should consume. Of course using the fixed size API removes the ability to automatically resize a buffer if not enough memory is provided so you have to take over the resizing. While being a fixed sized buffer sounds quite limiting, it is very effective in this library since the actual memory consumption is quite stable and has a fixed upper bound for a lot of cases. If you don't want to think about how much memory the library should allocate at all time or have a very dynamic UI with unpredictable memory consumption habits but still want control over memory allocation you can use the dynamic allocator based API. The allocator consists of two callbacks for allocating and freeing memory and optional userdata so you can plugin your own allocator. The final and easiest way can be used by defining NK_INCLUDE_DEFAULT_ALLOCATOR which uses the standard library memory allocation functions malloc and free and takes over complete control over memory in this library. */ struct nk_memory_status { void *memory; unsigned int type; nk_size size; nk_size allocated; nk_size needed; nk_size calls; }; enum nk_allocation_type { NK_BUFFER_FIXED, NK_BUFFER_DYNAMIC }; enum nk_buffer_allocation_type { NK_BUFFER_FRONT, NK_BUFFER_BACK, NK_BUFFER_MAX }; struct nk_buffer_marker { nk_bool active; nk_size offset; }; struct nk_memory {void *ptr;nk_size size;}; struct nk_buffer { struct nk_buffer_marker marker[NK_BUFFER_MAX]; /* buffer marker to free a buffer to a certain offset */ struct nk_allocator pool; /* allocator callback for dynamic buffers */ enum nk_allocation_type type; /* memory management type */ struct nk_memory memory; /* memory and size of the current memory block */ float grow_factor; /* growing factor for dynamic memory management */ nk_size allocated; /* total amount of memory allocated */ nk_size needed; /* totally consumed memory given that enough memory is present */ nk_size calls; /* number of allocation calls */ nk_size size; /* current size of the buffer */ }; #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_buffer_init_default(struct nk_buffer*); #endif NK_API void nk_buffer_init(struct nk_buffer*, const struct nk_allocator*, nk_size size); NK_API void nk_buffer_init_fixed(struct nk_buffer*, void *memory, nk_size size); NK_API void nk_buffer_info(struct nk_memory_status*, struct nk_buffer*); NK_API void nk_buffer_push(struct nk_buffer*, enum nk_buffer_allocation_type type, const void *memory, nk_size size, nk_size align); NK_API void nk_buffer_mark(struct nk_buffer*, enum nk_buffer_allocation_type type); NK_API void nk_buffer_reset(struct nk_buffer*, enum nk_buffer_allocation_type type); NK_API void nk_buffer_clear(struct nk_buffer*); NK_API void nk_buffer_free(struct nk_buffer*); NK_API void *nk_buffer_memory(struct nk_buffer*); NK_API const void *nk_buffer_memory_const(const struct nk_buffer*); NK_API nk_size nk_buffer_total(struct nk_buffer*); /* ============================================================== * * STRING * * ===============================================================*/ /* Basic string buffer which is only used in context with the text editor * to manage and manipulate dynamic or fixed size string content. This is _NOT_ * the default string handling method. The only instance you should have any contact * with this API is if you interact with an `nk_text_edit` object inside one of the * copy and paste functions and even there only for more advanced cases. */ struct nk_str { struct nk_buffer buffer; int len; /* in codepoints/runes/glyphs */ }; #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_str_init_default(struct nk_str*); #endif NK_API void nk_str_init(struct nk_str*, const struct nk_allocator*, nk_size size); NK_API void nk_str_init_fixed(struct nk_str*, void *memory, nk_size size); NK_API void nk_str_clear(struct nk_str*); NK_API void nk_str_free(struct nk_str*); NK_API int nk_str_append_text_char(struct nk_str*, const char*, int); NK_API int nk_str_append_str_char(struct nk_str*, const char*); NK_API int nk_str_append_text_utf8(struct nk_str*, const char*, int); NK_API int nk_str_append_str_utf8(struct nk_str*, const char*); NK_API int nk_str_append_text_runes(struct nk_str*, const nk_rune*, int); NK_API int nk_str_append_str_runes(struct nk_str*, const nk_rune*); NK_API int nk_str_insert_at_char(struct nk_str*, int pos, const char*, int); NK_API int nk_str_insert_at_rune(struct nk_str*, int pos, const char*, int); NK_API int nk_str_insert_text_char(struct nk_str*, int pos, const char*, int); NK_API int nk_str_insert_str_char(struct nk_str*, int pos, const char*); NK_API int nk_str_insert_text_utf8(struct nk_str*, int pos, const char*, int); NK_API int nk_str_insert_str_utf8(struct nk_str*, int pos, const char*); NK_API int nk_str_insert_text_runes(struct nk_str*, int pos, const nk_rune*, int); NK_API int nk_str_insert_str_runes(struct nk_str*, int pos, const nk_rune*); NK_API void nk_str_remove_chars(struct nk_str*, int len); NK_API void nk_str_remove_runes(struct nk_str *str, int len); NK_API void nk_str_delete_chars(struct nk_str*, int pos, int len); NK_API void nk_str_delete_runes(struct nk_str*, int pos, int len); NK_API char *nk_str_at_char(struct nk_str*, int pos); NK_API char *nk_str_at_rune(struct nk_str*, int pos, nk_rune *unicode, int *len); NK_API nk_rune nk_str_rune_at(const struct nk_str*, int pos); NK_API const char *nk_str_at_char_const(const struct nk_str*, int pos); NK_API const char *nk_str_at_const(const struct nk_str*, int pos, nk_rune *unicode, int *len); NK_API char *nk_str_get(struct nk_str*); NK_API const char *nk_str_get_const(const struct nk_str*); NK_API int nk_str_len(struct nk_str*); NK_API int nk_str_len_char(struct nk_str*); /*=============================================================== * * TEXT EDITOR * * ===============================================================*/ /* Editing text in this library is handled by either `nk_edit_string` or * `nk_edit_buffer`. But like almost everything in this library there are multiple * ways of doing it and a balance between control and ease of use with memory * as well as functionality controlled by flags. * * This library generally allows three different levels of memory control: * First of is the most basic way of just providing a simple char array with * string length. This method is probably the easiest way of handling simple * user text input. Main upside is complete control over memory while the biggest * downside in comparison with the other two approaches is missing undo/redo. * * For UIs that require undo/redo the second way was created. It is based on * a fixed size nk_text_edit struct, which has an internal undo/redo stack. * This is mainly useful if you want something more like a text editor but don't want * to have a dynamically growing buffer. * * The final way is using a dynamically growing nk_text_edit struct, which * has both a default version if you don't care where memory comes from and an * allocator version if you do. While the text editor is quite powerful for its * complexity I would not recommend editing gigabytes of data with it. * It is rather designed for uses cases which make sense for a GUI library not for * an full blown text editor. */ #ifndef NK_TEXTEDIT_UNDOSTATECOUNT #define NK_TEXTEDIT_UNDOSTATECOUNT 99 #endif #ifndef NK_TEXTEDIT_UNDOCHARCOUNT #define NK_TEXTEDIT_UNDOCHARCOUNT 999 #endif struct nk_text_edit; struct nk_clipboard { nk_handle userdata; nk_plugin_paste paste; nk_plugin_copy copy; }; struct nk_text_undo_record { int where; short insert_length; short delete_length; short char_storage; }; struct nk_text_undo_state { struct nk_text_undo_record undo_rec[NK_TEXTEDIT_UNDOSTATECOUNT]; nk_rune undo_char[NK_TEXTEDIT_UNDOCHARCOUNT]; short undo_point; short redo_point; short undo_char_point; short redo_char_point; }; enum nk_text_edit_type { NK_TEXT_EDIT_SINGLE_LINE, NK_TEXT_EDIT_MULTI_LINE }; enum nk_text_edit_mode { NK_TEXT_EDIT_MODE_VIEW, NK_TEXT_EDIT_MODE_INSERT, NK_TEXT_EDIT_MODE_REPLACE }; struct nk_text_edit { struct nk_clipboard clip; struct nk_str string; nk_plugin_filter filter; struct nk_vec2 scrollbar; int cursor; int select_start; int select_end; unsigned char mode; unsigned char cursor_at_end_of_line; unsigned char initialized; unsigned char has_preferred_x; unsigned char single_line; unsigned char active; unsigned char padding1; float preferred_x; struct nk_text_undo_state undo; }; /* filter function */ NK_API nk_bool nk_filter_default(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_ascii(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_float(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_decimal(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_hex(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_oct(const struct nk_text_edit*, nk_rune unicode); NK_API nk_bool nk_filter_binary(const struct nk_text_edit*, nk_rune unicode); /* text editor */ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_textedit_init_default(struct nk_text_edit*); #endif NK_API void nk_textedit_init(struct nk_text_edit*, struct nk_allocator*, nk_size size); NK_API void nk_textedit_init_fixed(struct nk_text_edit*, void *memory, nk_size size); NK_API void nk_textedit_free(struct nk_text_edit*); NK_API void nk_textedit_text(struct nk_text_edit*, const char*, int total_len); NK_API void nk_textedit_delete(struct nk_text_edit*, int where, int len); NK_API void nk_textedit_delete_selection(struct nk_text_edit*); NK_API void nk_textedit_select_all(struct nk_text_edit*); NK_API nk_bool nk_textedit_cut(struct nk_text_edit*); NK_API nk_bool nk_textedit_paste(struct nk_text_edit*, char const*, int len); NK_API void nk_textedit_undo(struct nk_text_edit*); NK_API void nk_textedit_redo(struct nk_text_edit*); /* =============================================================== * * DRAWING * * ===============================================================*/ /* This library was designed to be render backend agnostic so it does not draw anything to screen. Instead all drawn shapes, widgets are made of, are buffered into memory and make up a command queue. Each frame therefore fills the command buffer with draw commands that then need to be executed by the user and his own render backend. After that the command buffer needs to be cleared and a new frame can be started. It is probably important to note that the command buffer is the main drawing API and the optional vertex buffer API only takes this format and converts it into a hardware accessible format. To use the command queue to draw your own widgets you can access the command buffer of each window by calling `nk_window_get_canvas` after previously having called `nk_begin`: void draw_red_rectangle_widget(struct nk_context *ctx) { struct nk_command_buffer *canvas; struct nk_input *input = &ctx->input; canvas = nk_window_get_canvas(ctx); struct nk_rect space; enum nk_widget_layout_states state; state = nk_widget(&space, ctx); if (!state) return; if (state != NK_WIDGET_ROM) update_your_widget_by_user_input(...); nk_fill_rect(canvas, space, 0, nk_rgb(255,0,0)); } if (nk_begin(...)) { nk_layout_row_dynamic(ctx, 25, 1); draw_red_rectangle_widget(ctx); } nk_end(..) Important to know if you want to create your own widgets is the `nk_widget` call. It allocates space on the panel reserved for this widget to be used, but also returns the state of the widget space. If your widget is not seen and does not have to be updated it is '0' and you can just return. If it only has to be drawn the state will be `NK_WIDGET_ROM` otherwise you can do both update and draw your widget. The reason for separating is to only draw and update what is actually necessary which is crucial for performance. */ enum nk_command_type { NK_COMMAND_NOP, NK_COMMAND_SCISSOR, NK_COMMAND_LINE, NK_COMMAND_CURVE, NK_COMMAND_RECT, NK_COMMAND_RECT_FILLED, NK_COMMAND_RECT_MULTI_COLOR, NK_COMMAND_CIRCLE, NK_COMMAND_CIRCLE_FILLED, NK_COMMAND_ARC, NK_COMMAND_ARC_FILLED, NK_COMMAND_TRIANGLE, NK_COMMAND_TRIANGLE_FILLED, NK_COMMAND_POLYGON, NK_COMMAND_POLYGON_FILLED, NK_COMMAND_POLYLINE, NK_COMMAND_TEXT, NK_COMMAND_IMAGE, NK_COMMAND_CUSTOM }; /* command base and header of every command inside the buffer */ struct nk_command { enum nk_command_type type; nk_size next; #ifdef NK_INCLUDE_COMMAND_USERDATA nk_handle userdata; #endif }; struct nk_command_scissor { struct nk_command header; short x, y; unsigned short w, h; }; struct nk_command_line { struct nk_command header; unsigned short line_thickness; struct nk_vec2i begin; struct nk_vec2i end; struct nk_color color; }; struct nk_command_curve { struct nk_command header; unsigned short line_thickness; struct nk_vec2i begin; struct nk_vec2i end; struct nk_vec2i ctrl[2]; struct nk_color color; }; struct nk_command_rect { struct nk_command header; unsigned short rounding; unsigned short line_thickness; short x, y; unsigned short w, h; struct nk_color color; }; struct nk_command_rect_filled { struct nk_command header; unsigned short rounding; short x, y; unsigned short w, h; struct nk_color color; }; struct nk_command_rect_multi_color { struct nk_command header; short x, y; unsigned short w, h; struct nk_color left; struct nk_color top; struct nk_color bottom; struct nk_color right; }; struct nk_command_triangle { struct nk_command header; unsigned short line_thickness; struct nk_vec2i a; struct nk_vec2i b; struct nk_vec2i c; struct nk_color color; }; struct nk_command_triangle_filled { struct nk_command header; struct nk_vec2i a; struct nk_vec2i b; struct nk_vec2i c; struct nk_color color; }; struct nk_command_circle { struct nk_command header; short x, y; unsigned short line_thickness; unsigned short w, h; struct nk_color color; }; struct nk_command_circle_filled { struct nk_command header; short x, y; unsigned short w, h; struct nk_color color; }; struct nk_command_arc { struct nk_command header; short cx, cy; unsigned short r; unsigned short line_thickness; float a[2]; struct nk_color color; }; struct nk_command_arc_filled { struct nk_command header; short cx, cy; unsigned short r; float a[2]; struct nk_color color; }; struct nk_command_polygon { struct nk_command header; struct nk_color color; unsigned short line_thickness; unsigned short point_count; struct nk_vec2i points[1]; }; struct nk_command_polygon_filled { struct nk_command header; struct nk_color color; unsigned short point_count; struct nk_vec2i points[1]; }; struct nk_command_polyline { struct nk_command header; struct nk_color color; unsigned short line_thickness; unsigned short point_count; struct nk_vec2i points[1]; }; struct nk_command_image { struct nk_command header; short x, y; unsigned short w, h; struct nk_image img; struct nk_color col; }; typedef void (*nk_command_custom_callback)(void *canvas, short x,short y, unsigned short w, unsigned short h, nk_handle callback_data); struct nk_command_custom { struct nk_command header; short x, y; unsigned short w, h; nk_handle callback_data; nk_command_custom_callback callback; }; struct nk_command_text { struct nk_command header; const struct nk_user_font *font; struct nk_color background; struct nk_color foreground; short x, y; unsigned short w, h; float height; int length; char string[1]; }; enum nk_command_clipping { NK_CLIPPING_OFF = nk_false, NK_CLIPPING_ON = nk_true }; struct nk_command_buffer { struct nk_buffer *base; struct nk_rect clip; int use_clipping; nk_handle userdata; nk_size begin, end, last; }; /* shape outlines */ NK_API void nk_stroke_line(struct nk_command_buffer *b, float x0, float y0, float x1, float y1, float line_thickness, struct nk_color); NK_API void nk_stroke_curve(struct nk_command_buffer*, float, float, float, float, float, float, float, float, float line_thickness, struct nk_color); NK_API void nk_stroke_rect(struct nk_command_buffer*, struct nk_rect, float rounding, float line_thickness, struct nk_color); NK_API void nk_stroke_circle(struct nk_command_buffer*, struct nk_rect, float line_thickness, struct nk_color); NK_API void nk_stroke_arc(struct nk_command_buffer*, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, struct nk_color); NK_API void nk_stroke_triangle(struct nk_command_buffer*, float, float, float, float, float, float, float line_thichness, struct nk_color); NK_API void nk_stroke_polyline(struct nk_command_buffer*, float *points, int point_count, float line_thickness, struct nk_color col); NK_API void nk_stroke_polygon(struct nk_command_buffer*, float*, int point_count, float line_thickness, struct nk_color); /* filled shades */ NK_API void nk_fill_rect(struct nk_command_buffer*, struct nk_rect, float rounding, struct nk_color); NK_API void nk_fill_rect_multi_color(struct nk_command_buffer*, struct nk_rect, struct nk_color left, struct nk_color top, struct nk_color right, struct nk_color bottom); NK_API void nk_fill_circle(struct nk_command_buffer*, struct nk_rect, struct nk_color); NK_API void nk_fill_arc(struct nk_command_buffer*, float cx, float cy, float radius, float a_min, float a_max, struct nk_color); NK_API void nk_fill_triangle(struct nk_command_buffer*, float x0, float y0, float x1, float y1, float x2, float y2, struct nk_color); NK_API void nk_fill_polygon(struct nk_command_buffer*, float*, int point_count, struct nk_color); /* misc */ NK_API void nk_draw_image(struct nk_command_buffer*, struct nk_rect, const struct nk_image*, struct nk_color); NK_API void nk_draw_text(struct nk_command_buffer*, struct nk_rect, const char *text, int len, const struct nk_user_font*, struct nk_color, struct nk_color); NK_API void nk_push_scissor(struct nk_command_buffer*, struct nk_rect); NK_API void nk_push_custom(struct nk_command_buffer*, struct nk_rect, nk_command_custom_callback, nk_handle usr); /* =============================================================== * * INPUT * * ===============================================================*/ struct nk_mouse_button { nk_bool down; unsigned int clicked; struct nk_vec2 clicked_pos; }; struct nk_mouse { struct nk_mouse_button buttons[NK_BUTTON_MAX]; struct nk_vec2 pos; struct nk_vec2 prev; struct nk_vec2 delta; struct nk_vec2 scroll_delta; unsigned char grab; unsigned char grabbed; unsigned char ungrab; }; struct nk_key { nk_bool down; unsigned int clicked; }; struct nk_keyboard { struct nk_key keys[NK_KEY_MAX]; char text[NK_INPUT_MAX]; int text_len; }; struct nk_input { struct nk_keyboard keyboard; struct nk_mouse mouse; }; NK_API nk_bool nk_input_has_mouse_click(const struct nk_input*, enum nk_buttons); NK_API nk_bool nk_input_has_mouse_click_in_rect(const struct nk_input*, enum nk_buttons, struct nk_rect); NK_API nk_bool nk_input_has_mouse_click_down_in_rect(const struct nk_input*, enum nk_buttons, struct nk_rect, nk_bool down); NK_API nk_bool nk_input_is_mouse_click_in_rect(const struct nk_input*, enum nk_buttons, struct nk_rect); NK_API nk_bool nk_input_is_mouse_click_down_in_rect(const struct nk_input *i, enum nk_buttons id, struct nk_rect b, nk_bool down); NK_API nk_bool nk_input_any_mouse_click_in_rect(const struct nk_input*, struct nk_rect); NK_API nk_bool nk_input_is_mouse_prev_hovering_rect(const struct nk_input*, struct nk_rect); NK_API nk_bool nk_input_is_mouse_hovering_rect(const struct nk_input*, struct nk_rect); NK_API nk_bool nk_input_mouse_clicked(const struct nk_input*, enum nk_buttons, struct nk_rect); NK_API nk_bool nk_input_is_mouse_down(const struct nk_input*, enum nk_buttons); NK_API nk_bool nk_input_is_mouse_pressed(const struct nk_input*, enum nk_buttons); NK_API nk_bool nk_input_is_mouse_released(const struct nk_input*, enum nk_buttons); NK_API nk_bool nk_input_is_key_pressed(const struct nk_input*, enum nk_keys); NK_API nk_bool nk_input_is_key_released(const struct nk_input*, enum nk_keys); NK_API nk_bool nk_input_is_key_down(const struct nk_input*, enum nk_keys); /* =============================================================== * * DRAW LIST * * ===============================================================*/ #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT /* The optional vertex buffer draw list provides a 2D drawing context with antialiasing functionality which takes basic filled or outlined shapes or a path and outputs vertexes, elements and draw commands. The actual draw list API is not required to be used directly while using this library since converting the default library draw command output is done by just calling `nk_convert` but I decided to still make this library accessible since it can be useful. The draw list is based on a path buffering and polygon and polyline rendering API which allows a lot of ways to draw 2D content to screen. In fact it is probably more powerful than needed but allows even more crazy things than this library provides by default. */ #ifdef NK_UINT_DRAW_INDEX typedef nk_uint nk_draw_index; #else typedef nk_ushort nk_draw_index; #endif enum nk_draw_list_stroke { NK_STROKE_OPEN = nk_false, /* build up path has no connection back to the beginning */ NK_STROKE_CLOSED = nk_true /* build up path has a connection back to the beginning */ }; enum nk_draw_vertex_layout_attribute { NK_VERTEX_POSITION, NK_VERTEX_COLOR, NK_VERTEX_TEXCOORD, NK_VERTEX_ATTRIBUTE_COUNT }; enum nk_draw_vertex_layout_format { NK_FORMAT_SCHAR, NK_FORMAT_SSHORT, NK_FORMAT_SINT, NK_FORMAT_UCHAR, NK_FORMAT_USHORT, NK_FORMAT_UINT, NK_FORMAT_FLOAT, NK_FORMAT_DOUBLE, NK_FORMAT_COLOR_BEGIN, NK_FORMAT_R8G8B8 = NK_FORMAT_COLOR_BEGIN, NK_FORMAT_R16G15B16, NK_FORMAT_R32G32B32, NK_FORMAT_R8G8B8A8, NK_FORMAT_B8G8R8A8, NK_FORMAT_R16G15B16A16, NK_FORMAT_R32G32B32A32, NK_FORMAT_R32G32B32A32_FLOAT, NK_FORMAT_R32G32B32A32_DOUBLE, NK_FORMAT_RGB32, NK_FORMAT_RGBA32, NK_FORMAT_COLOR_END = NK_FORMAT_RGBA32, NK_FORMAT_COUNT }; #define NK_VERTEX_LAYOUT_END NK_VERTEX_ATTRIBUTE_COUNT,NK_FORMAT_COUNT,0 struct nk_draw_vertex_layout_element { enum nk_draw_vertex_layout_attribute attribute; enum nk_draw_vertex_layout_format format; nk_size offset; }; struct nk_draw_command { unsigned int elem_count; /* number of elements in the current draw batch */ struct nk_rect clip_rect; /* current screen clipping rectangle */ nk_handle texture; /* current texture to set */ #ifdef NK_INCLUDE_COMMAND_USERDATA nk_handle userdata; #endif }; struct nk_draw_list { struct nk_rect clip_rect; struct nk_vec2 circle_vtx[12]; struct nk_convert_config config; struct nk_buffer *buffer; struct nk_buffer *vertices; struct nk_buffer *elements; unsigned int element_count; unsigned int vertex_count; unsigned int cmd_count; nk_size cmd_offset; unsigned int path_count; unsigned int path_offset; enum nk_anti_aliasing line_AA; enum nk_anti_aliasing shape_AA; #ifdef NK_INCLUDE_COMMAND_USERDATA nk_handle userdata; #endif }; /* draw list */ NK_API void nk_draw_list_init(struct nk_draw_list*); NK_API void nk_draw_list_setup(struct nk_draw_list*, const struct nk_convert_config*, struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements, enum nk_anti_aliasing line_aa,enum nk_anti_aliasing shape_aa); /* drawing */ #define nk_draw_list_foreach(cmd, can, b) for((cmd)=nk__draw_list_begin(can, b); (cmd)!=0; (cmd)=nk__draw_list_next(cmd, b, can)) NK_API const struct nk_draw_command* nk__draw_list_begin(const struct nk_draw_list*, const struct nk_buffer*); NK_API const struct nk_draw_command* nk__draw_list_next(const struct nk_draw_command*, const struct nk_buffer*, const struct nk_draw_list*); NK_API const struct nk_draw_command* nk__draw_list_end(const struct nk_draw_list*, const struct nk_buffer*); /* path */ NK_API void nk_draw_list_path_clear(struct nk_draw_list*); NK_API void nk_draw_list_path_line_to(struct nk_draw_list*, struct nk_vec2 pos); NK_API void nk_draw_list_path_arc_to_fast(struct nk_draw_list*, struct nk_vec2 center, float radius, int a_min, int a_max); NK_API void nk_draw_list_path_arc_to(struct nk_draw_list*, struct nk_vec2 center, float radius, float a_min, float a_max, unsigned int segments); NK_API void nk_draw_list_path_rect_to(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, float rounding); NK_API void nk_draw_list_path_curve_to(struct nk_draw_list*, struct nk_vec2 p2, struct nk_vec2 p3, struct nk_vec2 p4, unsigned int num_segments); NK_API void nk_draw_list_path_fill(struct nk_draw_list*, struct nk_color); NK_API void nk_draw_list_path_stroke(struct nk_draw_list*, struct nk_color, enum nk_draw_list_stroke closed, float thickness); /* stroke */ NK_API void nk_draw_list_stroke_line(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, struct nk_color, float thickness); NK_API void nk_draw_list_stroke_rect(struct nk_draw_list*, struct nk_rect rect, struct nk_color, float rounding, float thickness); NK_API void nk_draw_list_stroke_triangle(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color, float thickness); NK_API void nk_draw_list_stroke_circle(struct nk_draw_list*, struct nk_vec2 center, float radius, struct nk_color, unsigned int segs, float thickness); NK_API void nk_draw_list_stroke_curve(struct nk_draw_list*, struct nk_vec2 p0, struct nk_vec2 cp0, struct nk_vec2 cp1, struct nk_vec2 p1, struct nk_color, unsigned int segments, float thickness); NK_API void nk_draw_list_stroke_poly_line(struct nk_draw_list*, const struct nk_vec2 *pnts, const unsigned int cnt, struct nk_color, enum nk_draw_list_stroke, float thickness, enum nk_anti_aliasing); /* fill */ NK_API void nk_draw_list_fill_rect(struct nk_draw_list*, struct nk_rect rect, struct nk_color, float rounding); NK_API void nk_draw_list_fill_rect_multi_color(struct nk_draw_list*, struct nk_rect rect, struct nk_color left, struct nk_color top, struct nk_color right, struct nk_color bottom); NK_API void nk_draw_list_fill_triangle(struct nk_draw_list*, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color); NK_API void nk_draw_list_fill_circle(struct nk_draw_list*, struct nk_vec2 center, float radius, struct nk_color col, unsigned int segs); NK_API void nk_draw_list_fill_poly_convex(struct nk_draw_list*, const struct nk_vec2 *points, const unsigned int count, struct nk_color, enum nk_anti_aliasing); /* misc */ NK_API void nk_draw_list_add_image(struct nk_draw_list*, struct nk_image texture, struct nk_rect rect, struct nk_color); NK_API void nk_draw_list_add_text(struct nk_draw_list*, const struct nk_user_font*, struct nk_rect, const char *text, int len, float font_height, struct nk_color); #ifdef NK_INCLUDE_COMMAND_USERDATA NK_API void nk_draw_list_push_userdata(struct nk_draw_list*, nk_handle userdata); #endif #endif /* =============================================================== * * GUI * * ===============================================================*/ enum nk_style_item_type { NK_STYLE_ITEM_COLOR, NK_STYLE_ITEM_IMAGE }; union nk_style_item_data { struct nk_image image; struct nk_color color; }; struct nk_style_item { enum nk_style_item_type type; union nk_style_item_data data; }; struct nk_style_text { struct nk_color color; struct nk_vec2 padding; }; struct nk_style_button { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* text */ struct nk_color text_background; struct nk_color text_normal; struct nk_color text_hover; struct nk_color text_active; nk_flags text_alignment; /* properties */ float border; float rounding; struct nk_vec2 padding; struct nk_vec2 image_padding; struct nk_vec2 touch_padding; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle userdata); void(*draw_end)(struct nk_command_buffer*, nk_handle userdata); }; struct nk_style_toggle { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* cursor */ struct nk_style_item cursor_normal; struct nk_style_item cursor_hover; /* text */ struct nk_color text_normal; struct nk_color text_hover; struct nk_color text_active; struct nk_color text_background; nk_flags text_alignment; /* properties */ struct nk_vec2 padding; struct nk_vec2 touch_padding; float spacing; float border; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_selectable { /* background (inactive) */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item pressed; /* background (active) */ struct nk_style_item normal_active; struct nk_style_item hover_active; struct nk_style_item pressed_active; /* text color (inactive) */ struct nk_color text_normal; struct nk_color text_hover; struct nk_color text_pressed; /* text color (active) */ struct nk_color text_normal_active; struct nk_color text_hover_active; struct nk_color text_pressed_active; struct nk_color text_background; nk_flags text_alignment; /* properties */ float rounding; struct nk_vec2 padding; struct nk_vec2 touch_padding; struct nk_vec2 image_padding; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_slider { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* background bar */ struct nk_color bar_normal; struct nk_color bar_hover; struct nk_color bar_active; struct nk_color bar_filled; /* cursor */ struct nk_style_item cursor_normal; struct nk_style_item cursor_hover; struct nk_style_item cursor_active; /* properties */ float border; float rounding; float bar_height; struct nk_vec2 padding; struct nk_vec2 spacing; struct nk_vec2 cursor_size; /* optional buttons */ int show_buttons; struct nk_style_button inc_button; struct nk_style_button dec_button; enum nk_symbol_type inc_symbol; enum nk_symbol_type dec_symbol; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_progress { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* cursor */ struct nk_style_item cursor_normal; struct nk_style_item cursor_hover; struct nk_style_item cursor_active; struct nk_color cursor_border_color; /* properties */ float rounding; float border; float cursor_border; float cursor_rounding; struct nk_vec2 padding; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_scrollbar { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* cursor */ struct nk_style_item cursor_normal; struct nk_style_item cursor_hover; struct nk_style_item cursor_active; struct nk_color cursor_border_color; /* properties */ float border; float rounding; float border_cursor; float rounding_cursor; struct nk_vec2 padding; /* optional buttons */ int show_buttons; struct nk_style_button inc_button; struct nk_style_button dec_button; enum nk_symbol_type inc_symbol; enum nk_symbol_type dec_symbol; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_edit { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; struct nk_style_scrollbar scrollbar; /* cursor */ struct nk_color cursor_normal; struct nk_color cursor_hover; struct nk_color cursor_text_normal; struct nk_color cursor_text_hover; /* text (unselected) */ struct nk_color text_normal; struct nk_color text_hover; struct nk_color text_active; /* text (selected) */ struct nk_color selected_normal; struct nk_color selected_hover; struct nk_color selected_text_normal; struct nk_color selected_text_hover; /* properties */ float border; float rounding; float cursor_size; struct nk_vec2 scrollbar_size; struct nk_vec2 padding; float row_padding; }; struct nk_style_property { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* text */ struct nk_color label_normal; struct nk_color label_hover; struct nk_color label_active; /* symbols */ enum nk_symbol_type sym_left; enum nk_symbol_type sym_right; /* properties */ float border; float rounding; struct nk_vec2 padding; struct nk_style_edit edit; struct nk_style_button inc_button; struct nk_style_button dec_button; /* optional user callbacks */ nk_handle userdata; void(*draw_begin)(struct nk_command_buffer*, nk_handle); void(*draw_end)(struct nk_command_buffer*, nk_handle); }; struct nk_style_chart { /* colors */ struct nk_style_item background; struct nk_color border_color; struct nk_color selected_color; struct nk_color color; /* properties */ float border; float rounding; struct nk_vec2 padding; }; struct nk_style_combo { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; struct nk_color border_color; /* label */ struct nk_color label_normal; struct nk_color label_hover; struct nk_color label_active; /* symbol */ struct nk_color symbol_normal; struct nk_color symbol_hover; struct nk_color symbol_active; /* button */ struct nk_style_button button; enum nk_symbol_type sym_normal; enum nk_symbol_type sym_hover; enum nk_symbol_type sym_active; /* properties */ float border; float rounding; struct nk_vec2 content_padding; struct nk_vec2 button_padding; struct nk_vec2 spacing; }; struct nk_style_tab { /* background */ struct nk_style_item background; struct nk_color border_color; struct nk_color text; /* button */ struct nk_style_button tab_maximize_button; struct nk_style_button tab_minimize_button; struct nk_style_button node_maximize_button; struct nk_style_button node_minimize_button; enum nk_symbol_type sym_minimize; enum nk_symbol_type sym_maximize; /* properties */ float border; float rounding; float indent; struct nk_vec2 padding; struct nk_vec2 spacing; }; enum nk_style_header_align { NK_HEADER_LEFT, NK_HEADER_RIGHT }; struct nk_style_window_header { /* background */ struct nk_style_item normal; struct nk_style_item hover; struct nk_style_item active; /* button */ struct nk_style_button close_button; struct nk_style_button minimize_button; enum nk_symbol_type close_symbol; enum nk_symbol_type minimize_symbol; enum nk_symbol_type maximize_symbol; /* title */ struct nk_color label_normal; struct nk_color label_hover; struct nk_color label_active; /* properties */ enum nk_style_header_align align; struct nk_vec2 padding; struct nk_vec2 label_padding; struct nk_vec2 spacing; }; struct nk_style_window { struct nk_style_window_header header; struct nk_style_item fixed_background; struct nk_color background; struct nk_color border_color; struct nk_color popup_border_color; struct nk_color combo_border_color; struct nk_color contextual_border_color; struct nk_color menu_border_color; struct nk_color group_border_color; struct nk_color tooltip_border_color; struct nk_style_item scaler; float border; float combo_border; float contextual_border; float menu_border; float group_border; float tooltip_border; float popup_border; float min_row_height_padding; float rounding; struct nk_vec2 spacing; struct nk_vec2 scrollbar_size; struct nk_vec2 min_size; struct nk_vec2 padding; struct nk_vec2 group_padding; struct nk_vec2 popup_padding; struct nk_vec2 combo_padding; struct nk_vec2 contextual_padding; struct nk_vec2 menu_padding; struct nk_vec2 tooltip_padding; }; struct nk_style { const struct nk_user_font *font; const struct nk_cursor *cursors[NK_CURSOR_COUNT]; const struct nk_cursor *cursor_active; struct nk_cursor *cursor_last; int cursor_visible; struct nk_style_text text; struct nk_style_button button; struct nk_style_button contextual_button; struct nk_style_button menu_button; struct nk_style_toggle option; struct nk_style_toggle checkbox; struct nk_style_selectable selectable; struct nk_style_slider slider; struct nk_style_progress progress; struct nk_style_property property; struct nk_style_edit edit; struct nk_style_chart chart; struct nk_style_scrollbar scrollh; struct nk_style_scrollbar scrollv; struct nk_style_tab tab; struct nk_style_combo combo; struct nk_style_window window; }; NK_API struct nk_style_item nk_style_item_image(struct nk_image img); NK_API struct nk_style_item nk_style_item_color(struct nk_color); NK_API struct nk_style_item nk_style_item_hide(void); /*============================================================== * PANEL * =============================================================*/ #ifndef NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS #define NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS 16 #endif #ifndef NK_CHART_MAX_SLOT #define NK_CHART_MAX_SLOT 4 #endif enum nk_panel_type { NK_PANEL_NONE = 0, NK_PANEL_WINDOW = NK_FLAG(0), NK_PANEL_GROUP = NK_FLAG(1), NK_PANEL_POPUP = NK_FLAG(2), NK_PANEL_CONTEXTUAL = NK_FLAG(4), NK_PANEL_COMBO = NK_FLAG(5), NK_PANEL_MENU = NK_FLAG(6), NK_PANEL_TOOLTIP = NK_FLAG(7) }; enum nk_panel_set { NK_PANEL_SET_NONBLOCK = NK_PANEL_CONTEXTUAL|NK_PANEL_COMBO|NK_PANEL_MENU|NK_PANEL_TOOLTIP, NK_PANEL_SET_POPUP = NK_PANEL_SET_NONBLOCK|NK_PANEL_POPUP, NK_PANEL_SET_SUB = NK_PANEL_SET_POPUP|NK_PANEL_GROUP }; struct nk_chart_slot { enum nk_chart_type type; struct nk_color color; struct nk_color highlight; float min, max, range; int count; struct nk_vec2 last; int index; }; struct nk_chart { int slot; float x, y, w, h; struct nk_chart_slot slots[NK_CHART_MAX_SLOT]; }; enum nk_panel_row_layout_type { NK_LAYOUT_DYNAMIC_FIXED = 0, NK_LAYOUT_DYNAMIC_ROW, NK_LAYOUT_DYNAMIC_FREE, NK_LAYOUT_DYNAMIC, NK_LAYOUT_STATIC_FIXED, NK_LAYOUT_STATIC_ROW, NK_LAYOUT_STATIC_FREE, NK_LAYOUT_STATIC, NK_LAYOUT_TEMPLATE, NK_LAYOUT_COUNT }; struct nk_row_layout { enum nk_panel_row_layout_type type; int index; float height; float min_height; int columns; const float *ratio; float item_width; float item_height; float item_offset; float filled; struct nk_rect item; int tree_depth; float templates[NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS]; }; struct nk_popup_buffer { nk_size begin; nk_size parent; nk_size last; nk_size end; nk_bool active; }; struct nk_menu_state { float x, y, w, h; struct nk_scroll offset; }; struct nk_panel { enum nk_panel_type type; nk_flags flags; struct nk_rect bounds; nk_uint *offset_x; nk_uint *offset_y; float at_x, at_y, max_x; float footer_height; float header_height; float border; unsigned int has_scrolling; struct nk_rect clip; struct nk_menu_state menu; struct nk_row_layout row; struct nk_chart chart; struct nk_command_buffer *buffer; struct nk_panel *parent; }; /*============================================================== * WINDOW * =============================================================*/ #ifndef NK_WINDOW_MAX_NAME #define NK_WINDOW_MAX_NAME 64 #endif struct nk_table; enum nk_window_flags { NK_WINDOW_PRIVATE = NK_FLAG(11), NK_WINDOW_DYNAMIC = NK_WINDOW_PRIVATE, /* special window type growing up in height while being filled to a certain maximum height */ NK_WINDOW_ROM = NK_FLAG(12), /* sets window widgets into a read only mode and does not allow input changes */ NK_WINDOW_NOT_INTERACTIVE = NK_WINDOW_ROM|NK_WINDOW_NO_INPUT, /* prevents all interaction caused by input to either window or widgets inside */ NK_WINDOW_HIDDEN = NK_FLAG(13), /* Hides window and stops any window interaction and drawing */ NK_WINDOW_CLOSED = NK_FLAG(14), /* Directly closes and frees the window at the end of the frame */ NK_WINDOW_MINIMIZED = NK_FLAG(15), /* marks the window as minimized */ NK_WINDOW_REMOVE_ROM = NK_FLAG(16) /* Removes read only mode at the end of the window */ }; struct nk_popup_state { struct nk_window *win; enum nk_panel_type type; struct nk_popup_buffer buf; nk_hash name; nk_bool active; unsigned combo_count; unsigned con_count, con_old; unsigned active_con; struct nk_rect header; }; struct nk_edit_state { nk_hash name; unsigned int seq; unsigned int old; int active, prev; int cursor; int sel_start; int sel_end; struct nk_scroll scrollbar; unsigned char mode; unsigned char single_line; }; struct nk_property_state { int active, prev; char buffer[NK_MAX_NUMBER_BUFFER]; int length; int cursor; int select_start; int select_end; nk_hash name; unsigned int seq; unsigned int old; int state; }; struct nk_window { unsigned int seq; nk_hash name; char name_string[NK_WINDOW_MAX_NAME]; nk_flags flags; struct nk_rect bounds; struct nk_scroll scrollbar; struct nk_command_buffer buffer; struct nk_panel *layout; float scrollbar_hiding_timer; /* persistent widget state */ struct nk_property_state property; struct nk_popup_state popup; struct nk_edit_state edit; unsigned int scrolled; struct nk_table *tables; unsigned int table_count; /* window list hooks */ struct nk_window *next; struct nk_window *prev; struct nk_window *parent; }; /*============================================================== * STACK * =============================================================*/ /* The style modifier stack can be used to temporarily change a * property inside `nk_style`. For example if you want a special * red button you can temporarily push the old button color onto a stack * draw the button with a red color and then you just pop the old color * back from the stack: * * nk_style_push_style_item(ctx, &ctx->style.button.normal, nk_style_item_color(nk_rgb(255,0,0))); * nk_style_push_style_item(ctx, &ctx->style.button.hover, nk_style_item_color(nk_rgb(255,0,0))); * nk_style_push_style_item(ctx, &ctx->style.button.active, nk_style_item_color(nk_rgb(255,0,0))); * nk_style_push_vec2(ctx, &cx->style.button.padding, nk_vec2(2,2)); * * nk_button(...); * * nk_style_pop_style_item(ctx); * nk_style_pop_style_item(ctx); * nk_style_pop_style_item(ctx); * nk_style_pop_vec2(ctx); * * Nuklear has a stack for style_items, float properties, vector properties, * flags, colors, fonts and for button_behavior. Each has it's own fixed size stack * which can be changed at compile time. */ #ifndef NK_BUTTON_BEHAVIOR_STACK_SIZE #define NK_BUTTON_BEHAVIOR_STACK_SIZE 8 #endif #ifndef NK_FONT_STACK_SIZE #define NK_FONT_STACK_SIZE 8 #endif #ifndef NK_STYLE_ITEM_STACK_SIZE #define NK_STYLE_ITEM_STACK_SIZE 16 #endif #ifndef NK_FLOAT_STACK_SIZE #define NK_FLOAT_STACK_SIZE 32 #endif #ifndef NK_VECTOR_STACK_SIZE #define NK_VECTOR_STACK_SIZE 16 #endif #ifndef NK_FLAGS_STACK_SIZE #define NK_FLAGS_STACK_SIZE 32 #endif #ifndef NK_COLOR_STACK_SIZE #define NK_COLOR_STACK_SIZE 32 #endif #define NK_CONFIGURATION_STACK_TYPE(prefix, name, type)\ struct nk_config_stack_##name##_element {\ prefix##_##type *address;\ prefix##_##type old_value;\ } #define NK_CONFIG_STACK(type,size)\ struct nk_config_stack_##type {\ int head;\ struct nk_config_stack_##type##_element elements[size];\ } #define nk_float float NK_CONFIGURATION_STACK_TYPE(struct nk, style_item, style_item); NK_CONFIGURATION_STACK_TYPE(nk ,float, float); NK_CONFIGURATION_STACK_TYPE(struct nk, vec2, vec2); NK_CONFIGURATION_STACK_TYPE(nk ,flags, flags); NK_CONFIGURATION_STACK_TYPE(struct nk, color, color); NK_CONFIGURATION_STACK_TYPE(const struct nk, user_font, user_font*); NK_CONFIGURATION_STACK_TYPE(enum nk, button_behavior, button_behavior); NK_CONFIG_STACK(style_item, NK_STYLE_ITEM_STACK_SIZE); NK_CONFIG_STACK(float, NK_FLOAT_STACK_SIZE); NK_CONFIG_STACK(vec2, NK_VECTOR_STACK_SIZE); NK_CONFIG_STACK(flags, NK_FLAGS_STACK_SIZE); NK_CONFIG_STACK(color, NK_COLOR_STACK_SIZE); NK_CONFIG_STACK(user_font, NK_FONT_STACK_SIZE); NK_CONFIG_STACK(button_behavior, NK_BUTTON_BEHAVIOR_STACK_SIZE); struct nk_configuration_stacks { struct nk_config_stack_style_item style_items; struct nk_config_stack_float floats; struct nk_config_stack_vec2 vectors; struct nk_config_stack_flags flags; struct nk_config_stack_color colors; struct nk_config_stack_user_font fonts; struct nk_config_stack_button_behavior button_behaviors; }; /*============================================================== * CONTEXT * =============================================================*/ #define NK_VALUE_PAGE_CAPACITY \ (((NK_MAX(sizeof(struct nk_window),sizeof(struct nk_panel)) / sizeof(nk_uint))) / 2) struct nk_table { unsigned int seq; unsigned int size; nk_hash keys[NK_VALUE_PAGE_CAPACITY]; nk_uint values[NK_VALUE_PAGE_CAPACITY]; struct nk_table *next, *prev; }; union nk_page_data { struct nk_table tbl; struct nk_panel pan; struct nk_window win; }; struct nk_page_element { union nk_page_data data; struct nk_page_element *next; struct nk_page_element *prev; }; struct nk_page { unsigned int size; struct nk_page *next; struct nk_page_element win[1]; }; struct nk_pool { struct nk_allocator alloc; enum nk_allocation_type type; unsigned int page_count; struct nk_page *pages; struct nk_page_element *freelist; unsigned capacity; nk_size size; nk_size cap; }; struct nk_context { /* public: can be accessed freely */ struct nk_input input; struct nk_style style; struct nk_buffer memory; struct nk_clipboard clip; nk_flags last_widget_state; enum nk_button_behavior button_behavior; struct nk_configuration_stacks stacks; float delta_time_seconds; /* private: should only be accessed if you know what you are doing */ #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT struct nk_draw_list draw_list; #endif #ifdef NK_INCLUDE_COMMAND_USERDATA nk_handle userdata; #endif /* text editor objects are quite big because of an internal * undo/redo stack. Therefore it does not make sense to have one for * each window for temporary use cases, so I only provide *one* instance * for all windows. This works because the content is cleared anyway */ struct nk_text_edit text_edit; /* draw buffer used for overlay drawing operation like cursor */ struct nk_command_buffer overlay; /* windows */ int build; int use_pool; struct nk_pool pool; struct nk_window *begin; struct nk_window *end; struct nk_window *active; struct nk_window *current; struct nk_page_element *freelist; unsigned int count; unsigned int seq; }; /* ============================================================== * MATH * =============================================================== */ #define NK_PI 3.141592654f #define NK_UTF_INVALID 0xFFFD #define NK_MAX_FLOAT_PRECISION 2 #define NK_UNUSED(x) ((void)(x)) #define NK_SATURATE(x) (NK_MAX(0, NK_MIN(1.0f, x))) #define NK_LEN(a) (sizeof(a)/sizeof(a)[0]) #define NK_ABS(a) (((a) < 0) ? -(a) : (a)) #define NK_BETWEEN(x, a, b) ((a) <= (x) && (x) < (b)) #define NK_INBOX(px, py, x, y, w, h)\ (NK_BETWEEN(px,x,x+w) && NK_BETWEEN(py,y,y+h)) #define NK_INTERSECT(x0, y0, w0, h0, x1, y1, w1, h1) \ ((x1 < (x0 + w0)) && (x0 < (x1 + w1)) && \ (y1 < (y0 + h0)) && (y0 < (y1 + h1))) #define NK_CONTAINS(x, y, w, h, bx, by, bw, bh)\ (NK_INBOX(x,y, bx, by, bw, bh) && NK_INBOX(x+w,y+h, bx, by, bw, bh)) #define nk_vec2_sub(a, b) nk_vec2((a).x - (b).x, (a).y - (b).y) #define nk_vec2_add(a, b) nk_vec2((a).x + (b).x, (a).y + (b).y) #define nk_vec2_len_sqr(a) ((a).x*(a).x+(a).y*(a).y) #define nk_vec2_muls(a, t) nk_vec2((a).x * (t), (a).y * (t)) #define nk_ptr_add(t, p, i) ((t*)((void*)((nk_byte*)(p) + (i)))) #define nk_ptr_add_const(t, p, i) ((const t*)((const void*)((const nk_byte*)(p) + (i)))) #define nk_zero_struct(s) nk_zero(&s, sizeof(s)) /* ============================================================== * ALIGNMENT * =============================================================== */ /* Pointer to Integer type conversion for pointer alignment */ #if defined(__PTRDIFF_TYPE__) /* This case should work for GCC*/ # define NK_UINT_TO_PTR(x) ((void*)(__PTRDIFF_TYPE__)(x)) # define NK_PTR_TO_UINT(x) ((nk_size)(__PTRDIFF_TYPE__)(x)) #elif !defined(__GNUC__) /* works for compilers other than LLVM */ # define NK_UINT_TO_PTR(x) ((void*)&((char*)0)[x]) # define NK_PTR_TO_UINT(x) ((nk_size)(((char*)x)-(char*)0)) #elif defined(NK_USE_FIXED_TYPES) /* used if we have <stdint.h> */ # define NK_UINT_TO_PTR(x) ((void*)(uintptr_t)(x)) # define NK_PTR_TO_UINT(x) ((uintptr_t)(x)) #else /* generates warning but works */ # define NK_UINT_TO_PTR(x) ((void*)(x)) # define NK_PTR_TO_UINT(x) ((nk_size)(x)) #endif #define NK_ALIGN_PTR(x, mask)\ (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x) + (mask-1)) & ~(mask-1)))) #define NK_ALIGN_PTR_BACK(x, mask)\ (NK_UINT_TO_PTR((NK_PTR_TO_UINT((nk_byte*)(x)) & ~(mask-1)))) #define NK_OFFSETOF(st,m) ((nk_ptr)&(((st*)0)->m)) #define NK_CONTAINER_OF(ptr,type,member)\ (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member))) #ifdef __cplusplus } #endif #ifdef __cplusplus template<typename T> struct nk_alignof; template<typename T, int size_diff> struct nk_helper{enum {value = size_diff};}; template<typename T> struct nk_helper<T,0>{enum {value = nk_alignof<T>::value};}; template<typename T> struct nk_alignof{struct Big {T x; char c;}; enum { diff = sizeof(Big) - sizeof(T), value = nk_helper<Big, diff>::value};}; #define NK_ALIGNOF(t) (nk_alignof<t>::value) #elif defined(_MSC_VER) #define NK_ALIGNOF(t) (__alignof(t)) #else #define NK_ALIGNOF(t) ((char*)(&((struct {char c; t _h;}*)0)->_h) - (char*)0) #endif #endif /* NK_NUKLEAR_H_ */ #ifdef NK_IMPLEMENTATION #ifndef NK_INTERNAL_H #define NK_INTERNAL_H #ifndef NK_POOL_DEFAULT_CAPACITY #define NK_POOL_DEFAULT_CAPACITY 16 #endif #ifndef NK_DEFAULT_COMMAND_BUFFER_SIZE #define NK_DEFAULT_COMMAND_BUFFER_SIZE (4*1024) #endif #ifndef NK_BUFFER_DEFAULT_INITIAL_SIZE #define NK_BUFFER_DEFAULT_INITIAL_SIZE (4*1024) #endif /* standard library headers */ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR #include <stdlib.h> /* malloc, free */ #endif #ifdef NK_INCLUDE_STANDARD_IO #include <stdio.h> /* fopen, fclose,... */ #endif #ifdef NK_INCLUDE_STANDARD_VARARGS #include <stdarg.h> /* valist, va_start, va_end, ... */ #endif #ifndef NK_ASSERT #include <assert.h> #define NK_ASSERT(expr) assert(expr) #endif #define NK_DEFAULT (-1) #ifndef NK_VSNPRINTF /* If your compiler does support `vsnprintf` I would highly recommend * defining this to vsnprintf instead since `vsprintf` is basically * unbelievable unsafe and should *NEVER* be used. But I have to support * it since C89 only provides this unsafe version. */ #if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) ||\ (defined(__cplusplus) && (__cplusplus >= 201103L)) || \ (defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)) ||\ (defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)) ||\ defined(_ISOC99_SOURCE) || defined(_BSD_SOURCE) #define NK_VSNPRINTF(s,n,f,a) vsnprintf(s,n,f,a) #else #define NK_VSNPRINTF(s,n,f,a) vsprintf(s,f,a) #endif #endif #define NK_SCHAR_MIN (-127) #define NK_SCHAR_MAX 127 #define NK_UCHAR_MIN 0 #define NK_UCHAR_MAX 256 #define NK_SSHORT_MIN (-32767) #define NK_SSHORT_MAX 32767 #define NK_USHORT_MIN 0 #define NK_USHORT_MAX 65535 #define NK_SINT_MIN (-2147483647) #define NK_SINT_MAX 2147483647 #define NK_UINT_MIN 0 #define NK_UINT_MAX 4294967295u /* Make sure correct type size: * This will fire with a negative subscript error if the type sizes * are set incorrectly by the compiler, and compile out if not */ NK_STATIC_ASSERT(sizeof(nk_size) >= sizeof(void*)); NK_STATIC_ASSERT(sizeof(nk_ptr) == sizeof(void*)); NK_STATIC_ASSERT(sizeof(nk_flags) >= 4); NK_STATIC_ASSERT(sizeof(nk_rune) >= 4); NK_STATIC_ASSERT(sizeof(nk_ushort) == 2); NK_STATIC_ASSERT(sizeof(nk_short) == 2); NK_STATIC_ASSERT(sizeof(nk_uint) == 4); NK_STATIC_ASSERT(sizeof(nk_int) == 4); NK_STATIC_ASSERT(sizeof(nk_byte) == 1); #ifdef NK_INCLUDE_STANDARD_BOOL NK_STATIC_ASSERT(sizeof(nk_bool) == sizeof(bool)); #else NK_STATIC_ASSERT(sizeof(nk_bool) == 4); #endif NK_GLOBAL const struct nk_rect nk_null_rect = {-8192.0f, -8192.0f, 16384, 16384}; #define NK_FLOAT_PRECISION 0.00000000000001 NK_GLOBAL const struct nk_color nk_red = {255,0,0,255}; NK_GLOBAL const struct nk_color nk_green = {0,255,0,255}; NK_GLOBAL const struct nk_color nk_blue = {0,0,255,255}; NK_GLOBAL const struct nk_color nk_white = {255,255,255,255}; NK_GLOBAL const struct nk_color nk_black = {0,0,0,255}; NK_GLOBAL const struct nk_color nk_yellow = {255,255,0,255}; /* widget */ #define nk_widget_state_reset(s)\ if ((*(s)) & NK_WIDGET_STATE_MODIFIED)\ (*(s)) = NK_WIDGET_STATE_INACTIVE|NK_WIDGET_STATE_MODIFIED;\ else (*(s)) = NK_WIDGET_STATE_INACTIVE; /* math */ NK_LIB float nk_inv_sqrt(float n); #ifndef NK_SIN NK_LIB float nk_sin(float x); #endif #ifndef NK_COS NK_LIB float nk_cos(float x); #endif NK_LIB nk_uint nk_round_up_pow2(nk_uint v); NK_LIB struct nk_rect nk_shrink_rect(struct nk_rect r, float amount); NK_LIB struct nk_rect nk_pad_rect(struct nk_rect r, struct nk_vec2 pad); NK_LIB void nk_unify(struct nk_rect *clip, const struct nk_rect *a, float x0, float y0, float x1, float y1); NK_LIB double nk_pow(double x, int n); NK_LIB int nk_ifloord(double x); NK_LIB int nk_ifloorf(float x); NK_LIB int nk_iceilf(float x); NK_LIB int nk_log10(double n); /* util */ enum {NK_DO_NOT_STOP_ON_NEW_LINE, NK_STOP_ON_NEW_LINE}; NK_LIB nk_bool nk_is_lower(int c); NK_LIB nk_bool nk_is_upper(int c); NK_LIB int nk_to_upper(int c); NK_LIB int nk_to_lower(int c); #ifndef NK_MEMCPY NK_LIB void* nk_memcopy(void *dst, const void *src, nk_size n); #endif #ifndef NK_MEMSET NK_LIB void nk_memset(void *ptr, int c0, nk_size size); #endif NK_LIB void nk_zero(void *ptr, nk_size size); NK_LIB char *nk_itoa(char *s, long n); NK_LIB int nk_string_float_limit(char *string, int prec); #ifndef NK_DTOA NK_LIB char *nk_dtoa(char *s, double n); #endif NK_LIB int nk_text_clamp(const struct nk_user_font *font, const char *text, int text_len, float space, int *glyphs, float *text_width, nk_rune *sep_list, int sep_count); NK_LIB struct nk_vec2 nk_text_calculate_text_bounds(const struct nk_user_font *font, const char *begin, int byte_len, float row_height, const char **remaining, struct nk_vec2 *out_offset, int *glyphs, int op); #ifdef NK_INCLUDE_STANDARD_VARARGS NK_LIB int nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args); #endif #ifdef NK_INCLUDE_STANDARD_IO NK_LIB char *nk_file_load(const char* path, nk_size* siz, struct nk_allocator *alloc); #endif /* buffer */ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_LIB void* nk_malloc(nk_handle unused, void *old,nk_size size); NK_LIB void nk_mfree(nk_handle unused, void *ptr); #endif NK_LIB void* nk_buffer_align(void *unaligned, nk_size align, nk_size *alignment, enum nk_buffer_allocation_type type); NK_LIB void* nk_buffer_alloc(struct nk_buffer *b, enum nk_buffer_allocation_type type, nk_size size, nk_size align); NK_LIB void* nk_buffer_realloc(struct nk_buffer *b, nk_size capacity, nk_size *size); /* draw */ NK_LIB void nk_command_buffer_init(struct nk_command_buffer *cb, struct nk_buffer *b, enum nk_command_clipping clip); NK_LIB void nk_command_buffer_reset(struct nk_command_buffer *b); NK_LIB void* nk_command_buffer_push(struct nk_command_buffer* b, enum nk_command_type t, nk_size size); NK_LIB void nk_draw_symbol(struct nk_command_buffer *out, enum nk_symbol_type type, struct nk_rect content, struct nk_color background, struct nk_color foreground, float border_width, const struct nk_user_font *font); /* buffering */ NK_LIB void nk_start_buffer(struct nk_context *ctx, struct nk_command_buffer *b); NK_LIB void nk_start(struct nk_context *ctx, struct nk_window *win); NK_LIB void nk_start_popup(struct nk_context *ctx, struct nk_window *win); NK_LIB void nk_finish_popup(struct nk_context *ctx, struct nk_window*); NK_LIB void nk_finish_buffer(struct nk_context *ctx, struct nk_command_buffer *b); NK_LIB void nk_finish(struct nk_context *ctx, struct nk_window *w); NK_LIB void nk_build(struct nk_context *ctx); /* text editor */ NK_LIB void nk_textedit_clear_state(struct nk_text_edit *state, enum nk_text_edit_type type, nk_plugin_filter filter); NK_LIB void nk_textedit_click(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height); NK_LIB void nk_textedit_drag(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height); NK_LIB void nk_textedit_key(struct nk_text_edit *state, enum nk_keys key, int shift_mod, const struct nk_user_font *font, float row_height); /* window */ enum nk_window_insert_location { NK_INSERT_BACK, /* inserts window into the back of list (front of screen) */ NK_INSERT_FRONT /* inserts window into the front of list (back of screen) */ }; NK_LIB void *nk_create_window(struct nk_context *ctx); NK_LIB void nk_remove_window(struct nk_context*, struct nk_window*); NK_LIB void nk_free_window(struct nk_context *ctx, struct nk_window *win); NK_LIB struct nk_window *nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name); NK_LIB void nk_insert_window(struct nk_context *ctx, struct nk_window *win, enum nk_window_insert_location loc); /* pool */ NK_LIB void nk_pool_init(struct nk_pool *pool, struct nk_allocator *alloc, unsigned int capacity); NK_LIB void nk_pool_free(struct nk_pool *pool); NK_LIB void nk_pool_init_fixed(struct nk_pool *pool, void *memory, nk_size size); NK_LIB struct nk_page_element *nk_pool_alloc(struct nk_pool *pool); /* page-element */ NK_LIB struct nk_page_element* nk_create_page_element(struct nk_context *ctx); NK_LIB void nk_link_page_element_into_freelist(struct nk_context *ctx, struct nk_page_element *elem); NK_LIB void nk_free_page_element(struct nk_context *ctx, struct nk_page_element *elem); /* table */ NK_LIB struct nk_table* nk_create_table(struct nk_context *ctx); NK_LIB void nk_remove_table(struct nk_window *win, struct nk_table *tbl); NK_LIB void nk_free_table(struct nk_context *ctx, struct nk_table *tbl); NK_LIB void nk_push_table(struct nk_window *win, struct nk_table *tbl); NK_LIB nk_uint *nk_add_value(struct nk_context *ctx, struct nk_window *win, nk_hash name, nk_uint value); NK_LIB nk_uint *nk_find_value(struct nk_window *win, nk_hash name); /* panel */ NK_LIB void *nk_create_panel(struct nk_context *ctx); NK_LIB void nk_free_panel(struct nk_context*, struct nk_panel *pan); NK_LIB nk_bool nk_panel_has_header(nk_flags flags, const char *title); NK_LIB struct nk_vec2 nk_panel_get_padding(const struct nk_style *style, enum nk_panel_type type); NK_LIB float nk_panel_get_border(const struct nk_style *style, nk_flags flags, enum nk_panel_type type); NK_LIB struct nk_color nk_panel_get_border_color(const struct nk_style *style, enum nk_panel_type type); NK_LIB nk_bool nk_panel_is_sub(enum nk_panel_type type); NK_LIB nk_bool nk_panel_is_nonblock(enum nk_panel_type type); NK_LIB nk_bool nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type panel_type); NK_LIB void nk_panel_end(struct nk_context *ctx); /* layout */ NK_LIB float nk_layout_row_calculate_usable_space(const struct nk_style *style, enum nk_panel_type type, float total_space, int columns); NK_LIB void nk_panel_layout(const struct nk_context *ctx, struct nk_window *win, float height, int cols); NK_LIB void nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt, float height, int cols, int width); NK_LIB void nk_panel_alloc_row(const struct nk_context *ctx, struct nk_window *win); NK_LIB void nk_layout_widget_space(struct nk_rect *bounds, const struct nk_context *ctx, struct nk_window *win, int modify); NK_LIB void nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx); NK_LIB void nk_layout_peek(struct nk_rect *bounds, struct nk_context *ctx); /* popup */ NK_LIB nk_bool nk_nonblock_begin(struct nk_context *ctx, nk_flags flags, struct nk_rect body, struct nk_rect header, enum nk_panel_type panel_type); /* text */ struct nk_text { struct nk_vec2 padding; struct nk_color background; struct nk_color text; }; NK_LIB void nk_widget_text(struct nk_command_buffer *o, struct nk_rect b, const char *string, int len, const struct nk_text *t, nk_flags a, const struct nk_user_font *f); NK_LIB void nk_widget_text_wrap(struct nk_command_buffer *o, struct nk_rect b, const char *string, int len, const struct nk_text *t, const struct nk_user_font *f); /* button */ NK_LIB nk_bool nk_button_behavior(nk_flags *state, struct nk_rect r, const struct nk_input *i, enum nk_button_behavior behavior); NK_LIB const struct nk_style_item* nk_draw_button(struct nk_command_buffer *out, const struct nk_rect *bounds, nk_flags state, const struct nk_style_button *style); NK_LIB nk_bool nk_do_button(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, const struct nk_style_button *style, const struct nk_input *in, enum nk_button_behavior behavior, struct nk_rect *content); NK_LIB void nk_draw_button_text(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const char *txt, int len, nk_flags text_alignment, const struct nk_user_font *font); NK_LIB nk_bool nk_do_button_text(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *string, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font); NK_LIB void nk_draw_button_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, enum nk_symbol_type type, const struct nk_user_font *font); NK_LIB nk_bool nk_do_button_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font); NK_LIB void nk_draw_button_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const struct nk_image *img); NK_LIB nk_bool nk_do_button_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, enum nk_button_behavior b, const struct nk_style_button *style, const struct nk_input *in); NK_LIB void nk_draw_button_text_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *symbol, nk_flags state, const struct nk_style_button *style, const char *str, int len, enum nk_symbol_type type, const struct nk_user_font *font); NK_LIB nk_bool nk_do_button_text_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, const char *str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in); NK_LIB void nk_draw_button_text_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *image, nk_flags state, const struct nk_style_button *style, const char *str, int len, const struct nk_user_font *font, const struct nk_image *img); NK_LIB nk_bool nk_do_button_text_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, const char* str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in); /* toggle */ enum nk_toggle_type { NK_TOGGLE_CHECK, NK_TOGGLE_OPTION }; NK_LIB nk_bool nk_toggle_behavior(const struct nk_input *in, struct nk_rect select, nk_flags *state, nk_bool active); NK_LIB void nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, nk_bool active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font); NK_LIB void nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, nk_bool active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font); NK_LIB nk_bool nk_do_toggle(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, nk_bool *active, const char *str, int len, enum nk_toggle_type type, const struct nk_style_toggle *style, const struct nk_input *in, const struct nk_user_font *font); /* progress */ NK_LIB nk_size nk_progress_behavior(nk_flags *state, struct nk_input *in, struct nk_rect r, struct nk_rect cursor, nk_size max, nk_size value, nk_bool modifiable); NK_LIB void nk_draw_progress(struct nk_command_buffer *out, nk_flags state, const struct nk_style_progress *style, const struct nk_rect *bounds, const struct nk_rect *scursor, nk_size value, nk_size max); NK_LIB nk_size nk_do_progress(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_size value, nk_size max, nk_bool modifiable, const struct nk_style_progress *style, struct nk_input *in); /* slider */ NK_LIB float nk_slider_behavior(nk_flags *state, struct nk_rect *logical_cursor, struct nk_rect *visual_cursor, struct nk_input *in, struct nk_rect bounds, float slider_min, float slider_max, float slider_value, float slider_step, float slider_steps); NK_LIB void nk_draw_slider(struct nk_command_buffer *out, nk_flags state, const struct nk_style_slider *style, const struct nk_rect *bounds, const struct nk_rect *visual_cursor, float min, float value, float max); NK_LIB float nk_do_slider(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, float min, float val, float max, float step, const struct nk_style_slider *style, struct nk_input *in, const struct nk_user_font *font); /* scrollbar */ NK_LIB float nk_scrollbar_behavior(nk_flags *state, struct nk_input *in, int has_scrolling, const struct nk_rect *scroll, const struct nk_rect *cursor, const struct nk_rect *empty0, const struct nk_rect *empty1, float scroll_offset, float target, float scroll_step, enum nk_orientation o); NK_LIB void nk_draw_scrollbar(struct nk_command_buffer *out, nk_flags state, const struct nk_style_scrollbar *style, const struct nk_rect *bounds, const struct nk_rect *scroll); NK_LIB float nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font); NK_LIB float nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font); /* selectable */ NK_LIB void nk_draw_selectable(struct nk_command_buffer *out, nk_flags state, const struct nk_style_selectable *style, nk_bool active, const struct nk_rect *bounds, const struct nk_rect *icon, const struct nk_image *img, enum nk_symbol_type sym, const char *string, int len, nk_flags align, const struct nk_user_font *font); NK_LIB nk_bool nk_do_selectable(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, nk_bool *value, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font); NK_LIB nk_bool nk_do_selectable_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, nk_bool *value, const struct nk_image *img, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font); /* edit */ NK_LIB void nk_edit_draw_text(struct nk_command_buffer *out, const struct nk_style_edit *style, float pos_x, float pos_y, float x_offset, const char *text, int byte_len, float row_height, const struct nk_user_font *font, struct nk_color background, struct nk_color foreground, nk_bool is_selected); NK_LIB nk_flags nk_do_edit(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_flags flags, nk_plugin_filter filter, struct nk_text_edit *edit, const struct nk_style_edit *style, struct nk_input *in, const struct nk_user_font *font); /* color-picker */ NK_LIB nk_bool nk_color_picker_behavior(nk_flags *state, const struct nk_rect *bounds, const struct nk_rect *matrix, const struct nk_rect *hue_bar, const struct nk_rect *alpha_bar, struct nk_colorf *color, const struct nk_input *in); NK_LIB void nk_draw_color_picker(struct nk_command_buffer *o, const struct nk_rect *matrix, const struct nk_rect *hue_bar, const struct nk_rect *alpha_bar, struct nk_colorf col); NK_LIB nk_bool nk_do_color_picker(nk_flags *state, struct nk_command_buffer *out, struct nk_colorf *col, enum nk_color_format fmt, struct nk_rect bounds, struct nk_vec2 padding, const struct nk_input *in, const struct nk_user_font *font); /* property */ enum nk_property_status { NK_PROPERTY_DEFAULT, NK_PROPERTY_EDIT, NK_PROPERTY_DRAG }; enum nk_property_filter { NK_FILTER_INT, NK_FILTER_FLOAT }; enum nk_property_kind { NK_PROPERTY_INT, NK_PROPERTY_FLOAT, NK_PROPERTY_DOUBLE }; union nk_property { int i; float f; double d; }; struct nk_property_variant { enum nk_property_kind kind; union nk_property value; union nk_property min_value; union nk_property max_value; union nk_property step; }; NK_LIB struct nk_property_variant nk_property_variant_int(int value, int min_value, int max_value, int step); NK_LIB struct nk_property_variant nk_property_variant_float(float value, float min_value, float max_value, float step); NK_LIB struct nk_property_variant nk_property_variant_double(double value, double min_value, double max_value, double step); NK_LIB void nk_drag_behavior(nk_flags *state, const struct nk_input *in, struct nk_rect drag, struct nk_property_variant *variant, float inc_per_pixel); NK_LIB void nk_property_behavior(nk_flags *ws, const struct nk_input *in, struct nk_rect property, struct nk_rect label, struct nk_rect edit, struct nk_rect empty, int *state, struct nk_property_variant *variant, float inc_per_pixel); NK_LIB void nk_draw_property(struct nk_command_buffer *out, const struct nk_style_property *style, const struct nk_rect *bounds, const struct nk_rect *label, nk_flags state, const char *name, int len, const struct nk_user_font *font); NK_LIB void nk_do_property(nk_flags *ws, struct nk_command_buffer *out, struct nk_rect property, const char *name, struct nk_property_variant *variant, float inc_per_pixel, char *buffer, int *len, int *state, int *cursor, int *select_begin, int *select_end, const struct nk_style_property *style, enum nk_property_filter filter, struct nk_input *in, const struct nk_user_font *font, struct nk_text_edit *text_edit, enum nk_button_behavior behavior); NK_LIB void nk_property(struct nk_context *ctx, const char *name, struct nk_property_variant *variant, float inc_per_pixel, const enum nk_property_filter filter); #ifdef NK_INCLUDE_FONT_BAKING #define STB_RECT_PACK_IMPLEMENTATION #define STB_TRUETYPE_IMPLEMENTATION /* Allow consumer to define own STBTT_malloc/STBTT_free, and use the font atlas' allocator otherwise */ #ifndef STBTT_malloc static void* nk_stbtt_malloc(nk_size size, void *user_data) { struct nk_allocator *alloc = (struct nk_allocator *) user_data; return alloc->alloc(alloc->userdata, 0, size); } static void nk_stbtt_free(void *ptr, void *user_data) { struct nk_allocator *alloc = (struct nk_allocator *) user_data; alloc->free(alloc->userdata, ptr); } #define STBTT_malloc(x,u) nk_stbtt_malloc(x,u) #define STBTT_free(x,u) nk_stbtt_free(x,u) #endif /* STBTT_malloc */ #endif /* NK_INCLUDE_FONT_BAKING */ #endif /* =============================================================== * * MATH * * ===============================================================*/ /* Since nuklear is supposed to work on all systems providing floating point math without any dependencies I also had to implement my own math functions for sqrt, sin and cos. Since the actual highly accurate implementations for the standard library functions are quite complex and I do not need high precision for my use cases I use approximations. Sqrt ---- For square root nuklear uses the famous fast inverse square root: https://en.wikipedia.org/wiki/Fast_inverse_square_root with slightly tweaked magic constant. While on today's hardware it is probably not faster it is still fast and accurate enough for nuklear's use cases. IMPORTANT: this requires float format IEEE 754 Sine/Cosine ----------- All constants inside both function are generated Remez's minimax approximations for value range 0...2*PI. The reason why I decided to approximate exactly that range is that nuklear only needs sine and cosine to generate circles which only requires that exact range. In addition I used Remez instead of Taylor for additional precision: www.lolengine.net/blog/2011/12/21/better-function-approximations. The tool I used to generate constants for both sine and cosine (it can actually approximate a lot more functions) can be found here: www.lolengine.net/wiki/oss/lolremez */ NK_LIB float nk_inv_sqrt(float n) { float x2; const float threehalfs = 1.5f; union {nk_uint i; float f;} conv = {0}; conv.f = n; x2 = n * 0.5f; conv.i = 0x5f375A84 - (conv.i >> 1); conv.f = conv.f * (threehalfs - (x2 * conv.f * conv.f)); return conv.f; } #ifndef NK_SIN #define NK_SIN nk_sin NK_LIB float nk_sin(float x) { NK_STORAGE const float a0 = +1.91059300966915117e-31f; NK_STORAGE const float a1 = +1.00086760103908896f; NK_STORAGE const float a2 = -1.21276126894734565e-2f; NK_STORAGE const float a3 = -1.38078780785773762e-1f; NK_STORAGE const float a4 = -2.67353392911981221e-2f; NK_STORAGE const float a5 = +2.08026600266304389e-2f; NK_STORAGE const float a6 = -3.03996055049204407e-3f; NK_STORAGE const float a7 = +1.38235642404333740e-4f; return a0 + x*(a1 + x*(a2 + x*(a3 + x*(a4 + x*(a5 + x*(a6 + x*a7)))))); } #endif #ifndef NK_COS #define NK_COS nk_cos NK_LIB float nk_cos(float x) { /* New implementation. Also generated using lolremez. */ /* Old version significantly deviated from expected results. */ NK_STORAGE const float a0 = 9.9995999154986614e-1f; NK_STORAGE const float a1 = 1.2548995793001028e-3f; NK_STORAGE const float a2 = -5.0648546280678015e-1f; NK_STORAGE const float a3 = 1.2942246466519995e-2f; NK_STORAGE const float a4 = 2.8668384702547972e-2f; NK_STORAGE const float a5 = 7.3726485210586547e-3f; NK_STORAGE const float a6 = -3.8510875386947414e-3f; NK_STORAGE const float a7 = 4.7196604604366623e-4f; NK_STORAGE const float a8 = -1.8776444013090451e-5f; return a0 + x*(a1 + x*(a2 + x*(a3 + x*(a4 + x*(a5 + x*(a6 + x*(a7 + x*a8))))))); } #endif NK_LIB nk_uint nk_round_up_pow2(nk_uint v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } NK_LIB double nk_pow(double x, int n) { /* check the sign of n */ double r = 1; int plus = n >= 0; n = (plus) ? n : -n; while (n > 0) { if ((n & 1) == 1) r *= x; n /= 2; x *= x; } return plus ? r : 1.0 / r; } NK_LIB int nk_ifloord(double x) { x = (double)((int)x - ((x < 0.0) ? 1 : 0)); return (int)x; } NK_LIB int nk_ifloorf(float x) { x = (float)((int)x - ((x < 0.0f) ? 1 : 0)); return (int)x; } NK_LIB int nk_iceilf(float x) { if (x >= 0) { int i = (int)x; return (x > i) ? i+1: i; } else { int t = (int)x; float r = x - (float)t; return (r > 0.0f) ? t+1: t; } } NK_LIB int nk_log10(double n) { int neg; int ret; int exp = 0; neg = (n < 0) ? 1 : 0; ret = (neg) ? (int)-n : (int)n; while ((ret / 10) > 0) { ret /= 10; exp++; } if (neg) exp = -exp; return exp; } NK_API struct nk_rect nk_get_null_rect(void) { return nk_null_rect; } NK_API struct nk_rect nk_rect(float x, float y, float w, float h) { struct nk_rect r; r.x = x; r.y = y; r.w = w; r.h = h; return r; } NK_API struct nk_rect nk_recti(int x, int y, int w, int h) { struct nk_rect r; r.x = (float)x; r.y = (float)y; r.w = (float)w; r.h = (float)h; return r; } NK_API struct nk_rect nk_recta(struct nk_vec2 pos, struct nk_vec2 size) { return nk_rect(pos.x, pos.y, size.x, size.y); } NK_API struct nk_rect nk_rectv(const float *r) { return nk_rect(r[0], r[1], r[2], r[3]); } NK_API struct nk_rect nk_rectiv(const int *r) { return nk_recti(r[0], r[1], r[2], r[3]); } NK_API struct nk_vec2 nk_rect_pos(struct nk_rect r) { struct nk_vec2 ret; ret.x = r.x; ret.y = r.y; return ret; } NK_API struct nk_vec2 nk_rect_size(struct nk_rect r) { struct nk_vec2 ret; ret.x = r.w; ret.y = r.h; return ret; } NK_LIB struct nk_rect nk_shrink_rect(struct nk_rect r, float amount) { struct nk_rect res; r.w = NK_MAX(r.w, 2 * amount); r.h = NK_MAX(r.h, 2 * amount); res.x = r.x + amount; res.y = r.y + amount; res.w = r.w - 2 * amount; res.h = r.h - 2 * amount; return res; } NK_LIB struct nk_rect nk_pad_rect(struct nk_rect r, struct nk_vec2 pad) { r.w = NK_MAX(r.w, 2 * pad.x); r.h = NK_MAX(r.h, 2 * pad.y); r.x += pad.x; r.y += pad.y; r.w -= 2 * pad.x; r.h -= 2 * pad.y; return r; } NK_API struct nk_vec2 nk_vec2(float x, float y) { struct nk_vec2 ret; ret.x = x; ret.y = y; return ret; } NK_API struct nk_vec2 nk_vec2i(int x, int y) { struct nk_vec2 ret; ret.x = (float)x; ret.y = (float)y; return ret; } NK_API struct nk_vec2 nk_vec2v(const float *v) { return nk_vec2(v[0], v[1]); } NK_API struct nk_vec2 nk_vec2iv(const int *v) { return nk_vec2i(v[0], v[1]); } NK_LIB void nk_unify(struct nk_rect *clip, const struct nk_rect *a, float x0, float y0, float x1, float y1) { NK_ASSERT(a); NK_ASSERT(clip); clip->x = NK_MAX(a->x, x0); clip->y = NK_MAX(a->y, y0); clip->w = NK_MIN(a->x + a->w, x1) - clip->x; clip->h = NK_MIN(a->y + a->h, y1) - clip->y; clip->w = NK_MAX(0, clip->w); clip->h = NK_MAX(0, clip->h); } NK_API void nk_triangle_from_direction(struct nk_vec2 *result, struct nk_rect r, float pad_x, float pad_y, enum nk_heading direction) { float w_half, h_half; NK_ASSERT(result); r.w = NK_MAX(2 * pad_x, r.w); r.h = NK_MAX(2 * pad_y, r.h); r.w = r.w - 2 * pad_x; r.h = r.h - 2 * pad_y; r.x = r.x + pad_x; r.y = r.y + pad_y; w_half = r.w / 2.0f; h_half = r.h / 2.0f; if (direction == NK_UP) { result[0] = nk_vec2(r.x + w_half, r.y); result[1] = nk_vec2(r.x + r.w, r.y + r.h); result[2] = nk_vec2(r.x, r.y + r.h); } else if (direction == NK_RIGHT) { result[0] = nk_vec2(r.x, r.y); result[1] = nk_vec2(r.x + r.w, r.y + h_half); result[2] = nk_vec2(r.x, r.y + r.h); } else if (direction == NK_DOWN) { result[0] = nk_vec2(r.x, r.y); result[1] = nk_vec2(r.x + r.w, r.y); result[2] = nk_vec2(r.x + w_half, r.y + r.h); } else { result[0] = nk_vec2(r.x, r.y + h_half); result[1] = nk_vec2(r.x + r.w, r.y); result[2] = nk_vec2(r.x + r.w, r.y + r.h); } } /* =============================================================== * * UTIL * * ===============================================================*/ NK_INTERN int nk_str_match_here(const char *regexp, const char *text); NK_INTERN int nk_str_match_star(int c, const char *regexp, const char *text); NK_LIB nk_bool nk_is_lower(int c) {return (c >= 'a' && c <= 'z') || (c >= 0xE0 && c <= 0xFF);} NK_LIB nk_bool nk_is_upper(int c){return (c >= 'A' && c <= 'Z') || (c >= 0xC0 && c <= 0xDF);} NK_LIB int nk_to_upper(int c) {return (c >= 'a' && c <= 'z') ? (c - ('a' - 'A')) : c;} NK_LIB int nk_to_lower(int c) {return (c >= 'A' && c <= 'Z') ? (c - ('a' + 'A')) : c;} #ifndef NK_MEMCPY #define NK_MEMCPY nk_memcopy NK_LIB void* nk_memcopy(void *dst0, const void *src0, nk_size length) { nk_ptr t; char *dst = (char*)dst0; const char *src = (const char*)src0; if (length == 0 || dst == src) goto done; #define nk_word int #define nk_wsize sizeof(nk_word) #define nk_wmask (nk_wsize-1) #define NK_TLOOP(s) if (t) NK_TLOOP1(s) #define NK_TLOOP1(s) do { s; } while (--t) if (dst < src) { t = (nk_ptr)src; /* only need low bits */ if ((t | (nk_ptr)dst) & nk_wmask) { if ((t ^ (nk_ptr)dst) & nk_wmask || length < nk_wsize) t = length; else t = nk_wsize - (t & nk_wmask); length -= t; NK_TLOOP1(*dst++ = *src++); } t = length / nk_wsize; NK_TLOOP(*(nk_word*)(void*)dst = *(const nk_word*)(const void*)src; src += nk_wsize; dst += nk_wsize); t = length & nk_wmask; NK_TLOOP(*dst++ = *src++); } else { src += length; dst += length; t = (nk_ptr)src; if ((t | (nk_ptr)dst) & nk_wmask) { if ((t ^ (nk_ptr)dst) & nk_wmask || length <= nk_wsize) t = length; else t &= nk_wmask; length -= t; NK_TLOOP1(*--dst = *--src); } t = length / nk_wsize; NK_TLOOP(src -= nk_wsize; dst -= nk_wsize; *(nk_word*)(void*)dst = *(const nk_word*)(const void*)src); t = length & nk_wmask; NK_TLOOP(*--dst = *--src); } #undef nk_word #undef nk_wsize #undef nk_wmask #undef NK_TLOOP #undef NK_TLOOP1 done: return (dst0); } #endif #ifndef NK_MEMSET #define NK_MEMSET nk_memset NK_LIB void nk_memset(void *ptr, int c0, nk_size size) { #define nk_word unsigned #define nk_wsize sizeof(nk_word) #define nk_wmask (nk_wsize - 1) nk_byte *dst = (nk_byte*)ptr; unsigned c = 0; nk_size t = 0; if ((c = (nk_byte)c0) != 0) { c = (c << 8) | c; /* at least 16-bits */ if (sizeof(unsigned int) > 2) c = (c << 16) | c; /* at least 32-bits*/ } /* too small of a word count */ dst = (nk_byte*)ptr; if (size < 3 * nk_wsize) { while (size--) *dst++ = (nk_byte)c0; return; } /* align destination */ if ((t = NK_PTR_TO_UINT(dst) & nk_wmask) != 0) { t = nk_wsize -t; size -= t; do { *dst++ = (nk_byte)c0; } while (--t != 0); } /* fill word */ t = size / nk_wsize; do { *(nk_word*)((void*)dst) = c; dst += nk_wsize; } while (--t != 0); /* fill trailing bytes */ t = (size & nk_wmask); if (t != 0) { do { *dst++ = (nk_byte)c0; } while (--t != 0); } #undef nk_word #undef nk_wsize #undef nk_wmask } #endif NK_LIB void nk_zero(void *ptr, nk_size size) { NK_ASSERT(ptr); NK_MEMSET(ptr, 0, size); } NK_API int nk_strlen(const char *str) { int siz = 0; NK_ASSERT(str); while (str && *str++ != '\0') siz++; return siz; } NK_API int nk_strtoi(const char *str, const char **endptr) { int neg = 1; const char *p = str; int value = 0; NK_ASSERT(str); if (!str) return 0; /* skip whitespace */ while (*p == ' ') p++; if (*p == '-') { neg = -1; p++; } while (*p && *p >= '0' && *p <= '9') { value = value * 10 + (int) (*p - '0'); p++; } if (endptr) *endptr = p; return neg*value; } NK_API double nk_strtod(const char *str, const char **endptr) { double m; double neg = 1.0; const char *p = str; double value = 0; double number = 0; NK_ASSERT(str); if (!str) return 0; /* skip whitespace */ while (*p == ' ') p++; if (*p == '-') { neg = -1.0; p++; } while (*p && *p != '.' && *p != 'e') { value = value * 10.0 + (double) (*p - '0'); p++; } if (*p == '.') { p++; for(m = 0.1; *p && *p != 'e'; p++ ) { value = value + (double) (*p - '0') * m; m *= 0.1; } } if (*p == 'e') { int i, pow, div; p++; if (*p == '-') { div = nk_true; p++; } else if (*p == '+') { div = nk_false; p++; } else div = nk_false; for (pow = 0; *p; p++) pow = pow * 10 + (int) (*p - '0'); for (m = 1.0, i = 0; i < pow; i++) m *= 10.0; if (div) value /= m; else value *= m; } number = value * neg; if (endptr) *endptr = p; return number; } NK_API float nk_strtof(const char *str, const char **endptr) { float float_value; double double_value; double_value = NK_STRTOD(str, endptr); float_value = (float)double_value; return float_value; } NK_API int nk_stricmp(const char *s1, const char *s2) { nk_int c1,c2,d; do { c1 = *s1++; c2 = *s2++; d = c1 - c2; while (d) { if (c1 <= 'Z' && c1 >= 'A') { d += ('a' - 'A'); if (!d) break; } if (c2 <= 'Z' && c2 >= 'A') { d -= ('a' - 'A'); if (!d) break; } return ((d >= 0) << 1) - 1; } } while (c1); return 0; } NK_API int nk_stricmpn(const char *s1, const char *s2, int n) { int c1,c2,d; NK_ASSERT(n >= 0); do { c1 = *s1++; c2 = *s2++; if (!n--) return 0; d = c1 - c2; while (d) { if (c1 <= 'Z' && c1 >= 'A') { d += ('a' - 'A'); if (!d) break; } if (c2 <= 'Z' && c2 >= 'A') { d -= ('a' - 'A'); if (!d) break; } return ((d >= 0) << 1) - 1; } } while (c1); return 0; } NK_INTERN int nk_str_match_here(const char *regexp, const char *text) { if (regexp[0] == '\0') return 1; if (regexp[1] == '*') return nk_str_match_star(regexp[0], regexp+2, text); if (regexp[0] == '$' && regexp[1] == '\0') return *text == '\0'; if (*text!='\0' && (regexp[0]=='.' || regexp[0]==*text)) return nk_str_match_here(regexp+1, text+1); return 0; } NK_INTERN int nk_str_match_star(int c, const char *regexp, const char *text) { do {/* a '* matches zero or more instances */ if (nk_str_match_here(regexp, text)) return 1; } while (*text != '\0' && (*text++ == c || c == '.')); return 0; } NK_API int nk_strfilter(const char *text, const char *regexp) { /* c matches any literal character c . matches any single character ^ matches the beginning of the input string $ matches the end of the input string * matches zero or more occurrences of the previous character*/ if (regexp[0] == '^') return nk_str_match_here(regexp+1, text); do { /* must look even if string is empty */ if (nk_str_match_here(regexp, text)) return 1; } while (*text++ != '\0'); return 0; } NK_API int nk_strmatch_fuzzy_text(const char *str, int str_len, const char *pattern, int *out_score) { /* Returns true if each character in pattern is found sequentially within str * if found then out_score is also set. Score value has no intrinsic meaning. * Range varies with pattern. Can only compare scores with same search pattern. */ /* bonus for adjacent matches */ #define NK_ADJACENCY_BONUS 5 /* bonus if match occurs after a separator */ #define NK_SEPARATOR_BONUS 10 /* bonus if match is uppercase and prev is lower */ #define NK_CAMEL_BONUS 10 /* penalty applied for every letter in str before the first match */ #define NK_LEADING_LETTER_PENALTY (-3) /* maximum penalty for leading letters */ #define NK_MAX_LEADING_LETTER_PENALTY (-9) /* penalty for every letter that doesn't matter */ #define NK_UNMATCHED_LETTER_PENALTY (-1) /* loop variables */ int score = 0; char const * pattern_iter = pattern; int str_iter = 0; int prev_matched = nk_false; int prev_lower = nk_false; /* true so if first letter match gets separator bonus*/ int prev_separator = nk_true; /* use "best" matched letter if multiple string letters match the pattern */ char const * best_letter = 0; int best_letter_score = 0; /* loop over strings */ NK_ASSERT(str); NK_ASSERT(pattern); if (!str || !str_len || !pattern) return 0; while (str_iter < str_len) { const char pattern_letter = *pattern_iter; const char str_letter = str[str_iter]; int next_match = *pattern_iter != '\0' && nk_to_lower(pattern_letter) == nk_to_lower(str_letter); int rematch = best_letter && nk_to_upper(*best_letter) == nk_to_upper(str_letter); int advanced = next_match && best_letter; int pattern_repeat = best_letter && *pattern_iter != '\0'; pattern_repeat = pattern_repeat && nk_to_lower(*best_letter) == nk_to_lower(pattern_letter); if (advanced || pattern_repeat) { score += best_letter_score; best_letter = 0; best_letter_score = 0; } if (next_match || rematch) { int new_score = 0; /* Apply penalty for each letter before the first pattern match */ if (pattern_iter == pattern) { int count = (int)(&str[str_iter] - str); int penalty = NK_LEADING_LETTER_PENALTY * count; if (penalty < NK_MAX_LEADING_LETTER_PENALTY) penalty = NK_MAX_LEADING_LETTER_PENALTY; score += penalty; } /* apply bonus for consecutive bonuses */ if (prev_matched) new_score += NK_ADJACENCY_BONUS; /* apply bonus for matches after a separator */ if (prev_separator) new_score += NK_SEPARATOR_BONUS; /* apply bonus across camel case boundaries */ if (prev_lower && nk_is_upper(str_letter)) new_score += NK_CAMEL_BONUS; /* update pattern iter IFF the next pattern letter was matched */ if (next_match) ++pattern_iter; /* update best letter in str which may be for a "next" letter or a rematch */ if (new_score >= best_letter_score) { /* apply penalty for now skipped letter */ if (best_letter != 0) score += NK_UNMATCHED_LETTER_PENALTY; best_letter = &str[str_iter]; best_letter_score = new_score; } prev_matched = nk_true; } else { score += NK_UNMATCHED_LETTER_PENALTY; prev_matched = nk_false; } /* separators should be more easily defined */ prev_lower = nk_is_lower(str_letter) != 0; prev_separator = str_letter == '_' || str_letter == ' '; ++str_iter; } /* apply score for last match */ if (best_letter) score += best_letter_score; /* did not match full pattern */ if (*pattern_iter != '\0') return nk_false; if (out_score) *out_score = score; return nk_true; } NK_API int nk_strmatch_fuzzy_string(char const *str, char const *pattern, int *out_score) { return nk_strmatch_fuzzy_text(str, nk_strlen(str), pattern, out_score); } NK_LIB int nk_string_float_limit(char *string, int prec) { int dot = 0; char *c = string; while (*c) { if (*c == '.') { dot = 1; c++; continue; } if (dot == (prec+1)) { *c = 0; break; } if (dot > 0) dot++; c++; } return (int)(c - string); } NK_INTERN void nk_strrev_ascii(char *s) { int len = nk_strlen(s); int end = len / 2; int i = 0; char t; for (; i < end; ++i) { t = s[i]; s[i] = s[len - 1 - i]; s[len -1 - i] = t; } } NK_LIB char* nk_itoa(char *s, long n) { long i = 0; if (n == 0) { s[i++] = '0'; s[i] = 0; return s; } if (n < 0) { s[i++] = '-'; n = -n; } while (n > 0) { s[i++] = (char)('0' + (n % 10)); n /= 10; } s[i] = 0; if (s[0] == '-') ++s; nk_strrev_ascii(s); return s; } #ifndef NK_DTOA #define NK_DTOA nk_dtoa NK_LIB char* nk_dtoa(char *s, double n) { int useExp = 0; int digit = 0, m = 0, m1 = 0; char *c = s; int neg = 0; NK_ASSERT(s); if (!s) return 0; if (n == 0.0) { s[0] = '0'; s[1] = '\0'; return s; } neg = (n < 0); if (neg) n = -n; /* calculate magnitude */ m = nk_log10(n); useExp = (m >= 14 || (neg && m >= 9) || m <= -9); if (neg) *(c++) = '-'; /* set up for scientific notation */ if (useExp) { if (m < 0) m -= 1; n = n / (double)nk_pow(10.0, m); m1 = m; m = 0; } if (m < 1.0) { m = 0; } /* convert the number */ while (n > NK_FLOAT_PRECISION || m >= 0) { double weight = nk_pow(10.0, m); if (weight > 0) { double t = (double)n / weight; digit = nk_ifloord(t); n -= ((double)digit * weight); *(c++) = (char)('0' + (char)digit); } if (m == 0 && n > 0) *(c++) = '.'; m--; } if (useExp) { /* convert the exponent */ int i, j; *(c++) = 'e'; if (m1 > 0) { *(c++) = '+'; } else { *(c++) = '-'; m1 = -m1; } m = 0; while (m1 > 0) { *(c++) = (char)('0' + (char)(m1 % 10)); m1 /= 10; m++; } c -= m; for (i = 0, j = m-1; i<j; i++, j--) { /* swap without temporary */ c[i] ^= c[j]; c[j] ^= c[i]; c[i] ^= c[j]; } c += m; } *(c) = '\0'; return s; } #endif #ifdef NK_INCLUDE_STANDARD_VARARGS #ifndef NK_INCLUDE_STANDARD_IO NK_INTERN int nk_vsnprintf(char *buf, int buf_size, const char *fmt, va_list args) { enum nk_arg_type { NK_ARG_TYPE_CHAR, NK_ARG_TYPE_SHORT, NK_ARG_TYPE_DEFAULT, NK_ARG_TYPE_LONG }; enum nk_arg_flags { NK_ARG_FLAG_LEFT = 0x01, NK_ARG_FLAG_PLUS = 0x02, NK_ARG_FLAG_SPACE = 0x04, NK_ARG_FLAG_NUM = 0x10, NK_ARG_FLAG_ZERO = 0x20 }; char number_buffer[NK_MAX_NUMBER_BUFFER]; enum nk_arg_type arg_type = NK_ARG_TYPE_DEFAULT; int precision = NK_DEFAULT; int width = NK_DEFAULT; nk_flags flag = 0; int len = 0; int result = -1; const char *iter = fmt; NK_ASSERT(buf); NK_ASSERT(buf_size); if (!buf || !buf_size || !fmt) return 0; for (iter = fmt; *iter && len < buf_size; iter++) { /* copy all non-format characters */ while (*iter && (*iter != '%') && (len < buf_size)) buf[len++] = *iter++; if (!(*iter) || len >= buf_size) break; iter++; /* flag arguments */ while (*iter) { if (*iter == '-') flag |= NK_ARG_FLAG_LEFT; else if (*iter == '+') flag |= NK_ARG_FLAG_PLUS; else if (*iter == ' ') flag |= NK_ARG_FLAG_SPACE; else if (*iter == '#') flag |= NK_ARG_FLAG_NUM; else if (*iter == '0') flag |= NK_ARG_FLAG_ZERO; else break; iter++; } /* width argument */ width = NK_DEFAULT; if (*iter >= '1' && *iter <= '9') { const char *end; width = nk_strtoi(iter, &end); if (end == iter) width = -1; else iter = end; } else if (*iter == '*') { width = va_arg(args, int); iter++; } /* precision argument */ precision = NK_DEFAULT; if (*iter == '.') { iter++; if (*iter == '*') { precision = va_arg(args, int); iter++; } else { const char *end; precision = nk_strtoi(iter, &end); if (end == iter) precision = -1; else iter = end; } } /* length modifier */ if (*iter == 'h') { if (*(iter+1) == 'h') { arg_type = NK_ARG_TYPE_CHAR; iter++; } else arg_type = NK_ARG_TYPE_SHORT; iter++; } else if (*iter == 'l') { arg_type = NK_ARG_TYPE_LONG; iter++; } else arg_type = NK_ARG_TYPE_DEFAULT; /* specifier */ if (*iter == '%') { NK_ASSERT(arg_type == NK_ARG_TYPE_DEFAULT); NK_ASSERT(precision == NK_DEFAULT); NK_ASSERT(width == NK_DEFAULT); if (len < buf_size) buf[len++] = '%'; } else if (*iter == 's') { /* string */ const char *str = va_arg(args, const char*); NK_ASSERT(str != buf && "buffer and argument are not allowed to overlap!"); NK_ASSERT(arg_type == NK_ARG_TYPE_DEFAULT); NK_ASSERT(precision == NK_DEFAULT); NK_ASSERT(width == NK_DEFAULT); if (str == buf) return -1; while (str && *str && len < buf_size) buf[len++] = *str++; } else if (*iter == 'n') { /* current length callback */ signed int *n = va_arg(args, int*); NK_ASSERT(arg_type == NK_ARG_TYPE_DEFAULT); NK_ASSERT(precision == NK_DEFAULT); NK_ASSERT(width == NK_DEFAULT); if (n) *n = len; } else if (*iter == 'c' || *iter == 'i' || *iter == 'd') { /* signed integer */ long value = 0; const char *num_iter; int num_len, num_print, padding; int cur_precision = NK_MAX(precision, 1); int cur_width = NK_MAX(width, 0); /* retrieve correct value type */ if (arg_type == NK_ARG_TYPE_CHAR) value = (signed char)va_arg(args, int); else if (arg_type == NK_ARG_TYPE_SHORT) value = (signed short)va_arg(args, int); else if (arg_type == NK_ARG_TYPE_LONG) value = va_arg(args, signed long); else if (*iter == 'c') value = (unsigned char)va_arg(args, int); else value = va_arg(args, signed int); /* convert number to string */ nk_itoa(number_buffer, value); num_len = nk_strlen(number_buffer); padding = NK_MAX(cur_width - NK_MAX(cur_precision, num_len), 0); if ((flag & NK_ARG_FLAG_PLUS) || (flag & NK_ARG_FLAG_SPACE)) padding = NK_MAX(padding-1, 0); /* fill left padding up to a total of `width` characters */ if (!(flag & NK_ARG_FLAG_LEFT)) { while (padding-- > 0 && (len < buf_size)) { if ((flag & NK_ARG_FLAG_ZERO) && (precision == NK_DEFAULT)) buf[len++] = '0'; else buf[len++] = ' '; } } /* copy string value representation into buffer */ if ((flag & NK_ARG_FLAG_PLUS) && value >= 0 && len < buf_size) buf[len++] = '+'; else if ((flag & NK_ARG_FLAG_SPACE) && value >= 0 && len < buf_size) buf[len++] = ' '; /* fill up to precision number of digits with '0' */ num_print = NK_MAX(cur_precision, num_len); while (precision && (num_print > num_len) && (len < buf_size)) { buf[len++] = '0'; num_print--; } /* copy string value representation into buffer */ num_iter = number_buffer; while (precision && *num_iter && len < buf_size) buf[len++] = *num_iter++; /* fill right padding up to width characters */ if (flag & NK_ARG_FLAG_LEFT) { while ((padding-- > 0) && (len < buf_size)) buf[len++] = ' '; } } else if (*iter == 'o' || *iter == 'x' || *iter == 'X' || *iter == 'u') { /* unsigned integer */ unsigned long value = 0; int num_len = 0, num_print, padding = 0; int cur_precision = NK_MAX(precision, 1); int cur_width = NK_MAX(width, 0); unsigned int base = (*iter == 'o') ? 8: (*iter == 'u')? 10: 16; /* print oct/hex/dec value */ const char *upper_output_format = "0123456789ABCDEF"; const char *lower_output_format = "0123456789abcdef"; const char *output_format = (*iter == 'x') ? lower_output_format: upper_output_format; /* retrieve correct value type */ if (arg_type == NK_ARG_TYPE_CHAR) value = (unsigned char)va_arg(args, int); else if (arg_type == NK_ARG_TYPE_SHORT) value = (unsigned short)va_arg(args, int); else if (arg_type == NK_ARG_TYPE_LONG) value = va_arg(args, unsigned long); else value = va_arg(args, unsigned int); do { /* convert decimal number into hex/oct number */ int digit = output_format[value % base]; if (num_len < NK_MAX_NUMBER_BUFFER) number_buffer[num_len++] = (char)digit; value /= base; } while (value > 0); num_print = NK_MAX(cur_precision, num_len); padding = NK_MAX(cur_width - NK_MAX(cur_precision, num_len), 0); if (flag & NK_ARG_FLAG_NUM) padding = NK_MAX(padding-1, 0); /* fill left padding up to a total of `width` characters */ if (!(flag & NK_ARG_FLAG_LEFT)) { while ((padding-- > 0) && (len < buf_size)) { if ((flag & NK_ARG_FLAG_ZERO) && (precision == NK_DEFAULT)) buf[len++] = '0'; else buf[len++] = ' '; } } /* fill up to precision number of digits */ if (num_print && (flag & NK_ARG_FLAG_NUM)) { if ((*iter == 'o') && (len < buf_size)) { buf[len++] = '0'; } else if ((*iter == 'x') && ((len+1) < buf_size)) { buf[len++] = '0'; buf[len++] = 'x'; } else if ((*iter == 'X') && ((len+1) < buf_size)) { buf[len++] = '0'; buf[len++] = 'X'; } } while (precision && (num_print > num_len) && (len < buf_size)) { buf[len++] = '0'; num_print--; } /* reverse number direction */ while (num_len > 0) { if (precision && (len < buf_size)) buf[len++] = number_buffer[num_len-1]; num_len--; } /* fill right padding up to width characters */ if (flag & NK_ARG_FLAG_LEFT) { while ((padding-- > 0) && (len < buf_size)) buf[len++] = ' '; } } else if (*iter == 'f') { /* floating point */ const char *num_iter; int cur_precision = (precision < 0) ? 6: precision; int prefix, cur_width = NK_MAX(width, 0); double value = va_arg(args, double); int num_len = 0, frac_len = 0, dot = 0; int padding = 0; NK_ASSERT(arg_type == NK_ARG_TYPE_DEFAULT); NK_DTOA(number_buffer, value); num_len = nk_strlen(number_buffer); /* calculate padding */ num_iter = number_buffer; while (*num_iter && *num_iter != '.') num_iter++; prefix = (*num_iter == '.')?(int)(num_iter - number_buffer)+1:0; padding = NK_MAX(cur_width - (prefix + NK_MIN(cur_precision, num_len - prefix)) , 0); if ((flag & NK_ARG_FLAG_PLUS) || (flag & NK_ARG_FLAG_SPACE)) padding = NK_MAX(padding-1, 0); /* fill left padding up to a total of `width` characters */ if (!(flag & NK_ARG_FLAG_LEFT)) { while (padding-- > 0 && (len < buf_size)) { if (flag & NK_ARG_FLAG_ZERO) buf[len++] = '0'; else buf[len++] = ' '; } } /* copy string value representation into buffer */ num_iter = number_buffer; if ((flag & NK_ARG_FLAG_PLUS) && (value >= 0) && (len < buf_size)) buf[len++] = '+'; else if ((flag & NK_ARG_FLAG_SPACE) && (value >= 0) && (len < buf_size)) buf[len++] = ' '; while (*num_iter) { if (dot) frac_len++; if (len < buf_size) buf[len++] = *num_iter; if (*num_iter == '.') dot = 1; if (frac_len >= cur_precision) break; num_iter++; } /* fill number up to precision */ while (frac_len < cur_precision) { if (!dot && len < buf_size) { buf[len++] = '.'; dot = 1; } if (len < buf_size) buf[len++] = '0'; frac_len++; } /* fill right padding up to width characters */ if (flag & NK_ARG_FLAG_LEFT) { while ((padding-- > 0) && (len < buf_size)) buf[len++] = ' '; } } else { /* Specifier not supported: g,G,e,E,p,z */ NK_ASSERT(0 && "specifier is not supported!"); return result; } } buf[(len >= buf_size)?(buf_size-1):len] = 0; result = (len >= buf_size)?-1:len; return result; } #endif NK_LIB int nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args) { int result = -1; NK_ASSERT(buf); NK_ASSERT(buf_size); if (!buf || !buf_size || !fmt) return 0; #ifdef NK_INCLUDE_STANDARD_IO result = NK_VSNPRINTF(buf, (nk_size)buf_size, fmt, args); result = (result >= buf_size) ? -1: result; buf[buf_size-1] = 0; #else result = nk_vsnprintf(buf, buf_size, fmt, args); #endif return result; } #endif NK_API nk_hash nk_murmur_hash(const void * key, int len, nk_hash seed) { /* 32-Bit MurmurHash3: https://code.google.com/p/smhasher/wiki/MurmurHash3*/ #define NK_ROTL(x,r) ((x) << (r) | ((x) >> (32 - r))) nk_uint h1 = seed; nk_uint k1; const nk_byte *data = (const nk_byte*)key; const nk_byte *keyptr = data; nk_byte *k1ptr; const int bsize = sizeof(k1); const int nblocks = len/4; const nk_uint c1 = 0xcc9e2d51; const nk_uint c2 = 0x1b873593; const nk_byte *tail; int i; /* body */ if (!key) return 0; for (i = 0; i < nblocks; ++i, keyptr += bsize) { k1ptr = (nk_byte*)&k1; k1ptr[0] = keyptr[0]; k1ptr[1] = keyptr[1]; k1ptr[2] = keyptr[2]; k1ptr[3] = keyptr[3]; k1 *= c1; k1 = NK_ROTL(k1,15); k1 *= c2; h1 ^= k1; h1 = NK_ROTL(h1,13); h1 = h1*5+0xe6546b64; } /* tail */ tail = (const nk_byte*)(data + nblocks*4); k1 = 0; switch (len & 3) { case 3: k1 ^= (nk_uint)(tail[2] << 16); /* fallthrough */ case 2: k1 ^= (nk_uint)(tail[1] << 8u); /* fallthrough */ case 1: k1 ^= tail[0]; k1 *= c1; k1 = NK_ROTL(k1,15); k1 *= c2; h1 ^= k1; break; default: break; } /* finalization */ h1 ^= (nk_uint)len; /* fmix32 */ h1 ^= h1 >> 16; h1 *= 0x85ebca6b; h1 ^= h1 >> 13; h1 *= 0xc2b2ae35; h1 ^= h1 >> 16; #undef NK_ROTL return h1; } #ifdef NK_INCLUDE_STANDARD_IO NK_LIB char* nk_file_load(const char* path, nk_size* siz, struct nk_allocator *alloc) { char *buf; FILE *fd; long ret; NK_ASSERT(path); NK_ASSERT(siz); NK_ASSERT(alloc); if (!path || !siz || !alloc) return 0; fd = fopen(path, "rb"); if (!fd) return 0; fseek(fd, 0, SEEK_END); ret = ftell(fd); if (ret < 0) { fclose(fd); return 0; } *siz = (nk_size)ret; fseek(fd, 0, SEEK_SET); buf = (char*)alloc->alloc(alloc->userdata,0, *siz); NK_ASSERT(buf); if (!buf) { fclose(fd); return 0; } *siz = (nk_size)fread(buf, 1,*siz, fd); fclose(fd); return buf; } #endif NK_LIB int nk_text_clamp(const struct nk_user_font *font, const char *text, int text_len, float space, int *glyphs, float *text_width, nk_rune *sep_list, int sep_count) { int i = 0; int glyph_len = 0; float last_width = 0; nk_rune unicode = 0; float width = 0; int len = 0; int g = 0; float s; int sep_len = 0; int sep_g = 0; float sep_width = 0; sep_count = NK_MAX(sep_count,0); glyph_len = nk_utf_decode(text, &unicode, text_len); while (glyph_len && (width < space) && (len < text_len)) { len += glyph_len; s = font->width(font->userdata, font->height, text, len); for (i = 0; i < sep_count; ++i) { if (unicode != sep_list[i]) continue; sep_width = last_width = width; sep_g = g+1; sep_len = len; break; } if (i == sep_count){ last_width = sep_width = width; sep_g = g+1; } width = s; glyph_len = nk_utf_decode(&text[len], &unicode, text_len - len); g++; } if (len >= text_len) { *glyphs = g; *text_width = last_width; return len; } else { *glyphs = sep_g; *text_width = sep_width; return (!sep_len) ? len: sep_len; } } NK_LIB struct nk_vec2 nk_text_calculate_text_bounds(const struct nk_user_font *font, const char *begin, int byte_len, float row_height, const char **remaining, struct nk_vec2 *out_offset, int *glyphs, int op) { float line_height = row_height; struct nk_vec2 text_size = nk_vec2(0,0); float line_width = 0.0f; float glyph_width; int glyph_len = 0; nk_rune unicode = 0; int text_len = 0; if (!begin || byte_len <= 0 || !font) return nk_vec2(0,row_height); glyph_len = nk_utf_decode(begin, &unicode, byte_len); if (!glyph_len) return text_size; glyph_width = font->width(font->userdata, font->height, begin, glyph_len); *glyphs = 0; while ((text_len < byte_len) && glyph_len) { if (unicode == '\n') { text_size.x = NK_MAX(text_size.x, line_width); text_size.y += line_height; line_width = 0; *glyphs+=1; if (op == NK_STOP_ON_NEW_LINE) break; text_len++; glyph_len = nk_utf_decode(begin + text_len, &unicode, byte_len-text_len); continue; } if (unicode == '\r') { text_len++; *glyphs+=1; glyph_len = nk_utf_decode(begin + text_len, &unicode, byte_len-text_len); continue; } *glyphs = *glyphs + 1; text_len += glyph_len; line_width += (float)glyph_width; glyph_len = nk_utf_decode(begin + text_len, &unicode, byte_len-text_len); glyph_width = font->width(font->userdata, font->height, begin+text_len, glyph_len); continue; } if (text_size.x < line_width) text_size.x = line_width; if (out_offset) *out_offset = nk_vec2(line_width, text_size.y + line_height); if (line_width > 0 || text_size.y == 0.0f) text_size.y += line_height; if (remaining) *remaining = begin+text_len; return text_size; } /* ============================================================== * * COLOR * * ===============================================================*/ NK_INTERN int nk_parse_hex(const char *p, int length) { int i = 0; int len = 0; while (len < length) { i <<= 4; if (p[len] >= 'a' && p[len] <= 'f') i += ((p[len] - 'a') + 10); else if (p[len] >= 'A' && p[len] <= 'F') i += ((p[len] - 'A') + 10); else i += (p[len] - '0'); len++; } return i; } NK_API struct nk_color nk_rgba(int r, int g, int b, int a) { struct nk_color ret; ret.r = (nk_byte)NK_CLAMP(0, r, 255); ret.g = (nk_byte)NK_CLAMP(0, g, 255); ret.b = (nk_byte)NK_CLAMP(0, b, 255); ret.a = (nk_byte)NK_CLAMP(0, a, 255); return ret; } NK_API struct nk_color nk_rgb_hex(const char *rgb) { struct nk_color col; const char *c = rgb; if (*c == '#') c++; col.r = (nk_byte)nk_parse_hex(c, 2); col.g = (nk_byte)nk_parse_hex(c+2, 2); col.b = (nk_byte)nk_parse_hex(c+4, 2); col.a = 255; return col; } NK_API struct nk_color nk_rgba_hex(const char *rgb) { struct nk_color col; const char *c = rgb; if (*c == '#') c++; col.r = (nk_byte)nk_parse_hex(c, 2); col.g = (nk_byte)nk_parse_hex(c+2, 2); col.b = (nk_byte)nk_parse_hex(c+4, 2); col.a = (nk_byte)nk_parse_hex(c+6, 2); return col; } NK_API void nk_color_hex_rgba(char *output, struct nk_color col) { #define NK_TO_HEX(i) ((i) <= 9 ? '0' + (i): 'A' - 10 + (i)) output[0] = (char)NK_TO_HEX((col.r & 0xF0) >> 4); output[1] = (char)NK_TO_HEX((col.r & 0x0F)); output[2] = (char)NK_TO_HEX((col.g & 0xF0) >> 4); output[3] = (char)NK_TO_HEX((col.g & 0x0F)); output[4] = (char)NK_TO_HEX((col.b & 0xF0) >> 4); output[5] = (char)NK_TO_HEX((col.b & 0x0F)); output[6] = (char)NK_TO_HEX((col.a & 0xF0) >> 4); output[7] = (char)NK_TO_HEX((col.a & 0x0F)); output[8] = '\0'; #undef NK_TO_HEX } NK_API void nk_color_hex_rgb(char *output, struct nk_color col) { #define NK_TO_HEX(i) ((i) <= 9 ? '0' + (i): 'A' - 10 + (i)) output[0] = (char)NK_TO_HEX((col.r & 0xF0) >> 4); output[1] = (char)NK_TO_HEX((col.r & 0x0F)); output[2] = (char)NK_TO_HEX((col.g & 0xF0) >> 4); output[3] = (char)NK_TO_HEX((col.g & 0x0F)); output[4] = (char)NK_TO_HEX((col.b & 0xF0) >> 4); output[5] = (char)NK_TO_HEX((col.b & 0x0F)); output[6] = '\0'; #undef NK_TO_HEX } NK_API struct nk_color nk_rgba_iv(const int *c) { return nk_rgba(c[0], c[1], c[2], c[3]); } NK_API struct nk_color nk_rgba_bv(const nk_byte *c) { return nk_rgba(c[0], c[1], c[2], c[3]); } NK_API struct nk_color nk_rgb(int r, int g, int b) { struct nk_color ret; ret.r = (nk_byte)NK_CLAMP(0, r, 255); ret.g = (nk_byte)NK_CLAMP(0, g, 255); ret.b = (nk_byte)NK_CLAMP(0, b, 255); ret.a = (nk_byte)255; return ret; } NK_API struct nk_color nk_rgb_iv(const int *c) { return nk_rgb(c[0], c[1], c[2]); } NK_API struct nk_color nk_rgb_bv(const nk_byte* c) { return nk_rgb(c[0], c[1], c[2]); } NK_API struct nk_color nk_rgba_u32(nk_uint in) { struct nk_color ret; ret.r = (in & 0xFF); ret.g = ((in >> 8) & 0xFF); ret.b = ((in >> 16) & 0xFF); ret.a = (nk_byte)((in >> 24) & 0xFF); return ret; } NK_API struct nk_color nk_rgba_f(float r, float g, float b, float a) { struct nk_color ret; ret.r = (nk_byte)(NK_SATURATE(r) * 255.0f); ret.g = (nk_byte)(NK_SATURATE(g) * 255.0f); ret.b = (nk_byte)(NK_SATURATE(b) * 255.0f); ret.a = (nk_byte)(NK_SATURATE(a) * 255.0f); return ret; } NK_API struct nk_color nk_rgba_fv(const float *c) { return nk_rgba_f(c[0], c[1], c[2], c[3]); } NK_API struct nk_color nk_rgba_cf(struct nk_colorf c) { return nk_rgba_f(c.r, c.g, c.b, c.a); } NK_API struct nk_color nk_rgb_f(float r, float g, float b) { struct nk_color ret; ret.r = (nk_byte)(NK_SATURATE(r) * 255.0f); ret.g = (nk_byte)(NK_SATURATE(g) * 255.0f); ret.b = (nk_byte)(NK_SATURATE(b) * 255.0f); ret.a = 255; return ret; } NK_API struct nk_color nk_rgb_fv(const float *c) { return nk_rgb_f(c[0], c[1], c[2]); } NK_API struct nk_color nk_rgb_cf(struct nk_colorf c) { return nk_rgb_f(c.r, c.g, c.b); } NK_API struct nk_color nk_hsv(int h, int s, int v) { return nk_hsva(h, s, v, 255); } NK_API struct nk_color nk_hsv_iv(const int *c) { return nk_hsv(c[0], c[1], c[2]); } NK_API struct nk_color nk_hsv_bv(const nk_byte *c) { return nk_hsv(c[0], c[1], c[2]); } NK_API struct nk_color nk_hsv_f(float h, float s, float v) { return nk_hsva_f(h, s, v, 1.0f); } NK_API struct nk_color nk_hsv_fv(const float *c) { return nk_hsv_f(c[0], c[1], c[2]); } NK_API struct nk_color nk_hsva(int h, int s, int v, int a) { float hf = ((float)NK_CLAMP(0, h, 255)) / 255.0f; float sf = ((float)NK_CLAMP(0, s, 255)) / 255.0f; float vf = ((float)NK_CLAMP(0, v, 255)) / 255.0f; float af = ((float)NK_CLAMP(0, a, 255)) / 255.0f; return nk_hsva_f(hf, sf, vf, af); } NK_API struct nk_color nk_hsva_iv(const int *c) { return nk_hsva(c[0], c[1], c[2], c[3]); } NK_API struct nk_color nk_hsva_bv(const nk_byte *c) { return nk_hsva(c[0], c[1], c[2], c[3]); } NK_API struct nk_colorf nk_hsva_colorf(float h, float s, float v, float a) { int i; float p, q, t, f; struct nk_colorf out = {0,0,0,0}; if (s <= 0.0f) { out.r = v; out.g = v; out.b = v; out.a = a; return out; } h = h / (60.0f/360.0f); i = (int)h; f = h - (float)i; p = v * (1.0f - s); q = v * (1.0f - (s * f)); t = v * (1.0f - s * (1.0f - f)); switch (i) { case 0: default: out.r = v; out.g = t; out.b = p; break; case 1: out.r = q; out.g = v; out.b = p; break; case 2: out.r = p; out.g = v; out.b = t; break; case 3: out.r = p; out.g = q; out.b = v; break; case 4: out.r = t; out.g = p; out.b = v; break; case 5: out.r = v; out.g = p; out.b = q; break;} out.a = a; return out; } NK_API struct nk_colorf nk_hsva_colorfv(float *c) { return nk_hsva_colorf(c[0], c[1], c[2], c[3]); } NK_API struct nk_color nk_hsva_f(float h, float s, float v, float a) { struct nk_colorf c = nk_hsva_colorf(h, s, v, a); return nk_rgba_f(c.r, c.g, c.b, c.a); } NK_API struct nk_color nk_hsva_fv(const float *c) { return nk_hsva_f(c[0], c[1], c[2], c[3]); } NK_API nk_uint nk_color_u32(struct nk_color in) { nk_uint out = (nk_uint)in.r; out |= ((nk_uint)in.g << 8); out |= ((nk_uint)in.b << 16); out |= ((nk_uint)in.a << 24); return out; } NK_API void nk_color_f(float *r, float *g, float *b, float *a, struct nk_color in) { NK_STORAGE const float s = 1.0f/255.0f; *r = (float)in.r * s; *g = (float)in.g * s; *b = (float)in.b * s; *a = (float)in.a * s; } NK_API void nk_color_fv(float *c, struct nk_color in) { nk_color_f(&c[0], &c[1], &c[2], &c[3], in); } NK_API struct nk_colorf nk_color_cf(struct nk_color in) { struct nk_colorf o; nk_color_f(&o.r, &o.g, &o.b, &o.a, in); return o; } NK_API void nk_color_d(double *r, double *g, double *b, double *a, struct nk_color in) { NK_STORAGE const double s = 1.0/255.0; *r = (double)in.r * s; *g = (double)in.g * s; *b = (double)in.b * s; *a = (double)in.a * s; } NK_API void nk_color_dv(double *c, struct nk_color in) { nk_color_d(&c[0], &c[1], &c[2], &c[3], in); } NK_API void nk_color_hsv_f(float *out_h, float *out_s, float *out_v, struct nk_color in) { float a; nk_color_hsva_f(out_h, out_s, out_v, &a, in); } NK_API void nk_color_hsv_fv(float *out, struct nk_color in) { float a; nk_color_hsva_f(&out[0], &out[1], &out[2], &a, in); } NK_API void nk_colorf_hsva_f(float *out_h, float *out_s, float *out_v, float *out_a, struct nk_colorf in) { float chroma; float K = 0.0f; if (in.g < in.b) { const float t = in.g; in.g = in.b; in.b = t; K = -1.f; } if (in.r < in.g) { const float t = in.r; in.r = in.g; in.g = t; K = -2.f/6.0f - K; } chroma = in.r - ((in.g < in.b) ? in.g: in.b); *out_h = NK_ABS(K + (in.g - in.b)/(6.0f * chroma + 1e-20f)); *out_s = chroma / (in.r + 1e-20f); *out_v = in.r; *out_a = in.a; } NK_API void nk_colorf_hsva_fv(float *hsva, struct nk_colorf in) { nk_colorf_hsva_f(&hsva[0], &hsva[1], &hsva[2], &hsva[3], in); } NK_API void nk_color_hsva_f(float *out_h, float *out_s, float *out_v, float *out_a, struct nk_color in) { struct nk_colorf col; nk_color_f(&col.r,&col.g,&col.b,&col.a, in); nk_colorf_hsva_f(out_h, out_s, out_v, out_a, col); } NK_API void nk_color_hsva_fv(float *out, struct nk_color in) { nk_color_hsva_f(&out[0], &out[1], &out[2], &out[3], in); } NK_API void nk_color_hsva_i(int *out_h, int *out_s, int *out_v, int *out_a, struct nk_color in) { float h,s,v,a; nk_color_hsva_f(&h, &s, &v, &a, in); *out_h = (nk_byte)(h * 255.0f); *out_s = (nk_byte)(s * 255.0f); *out_v = (nk_byte)(v * 255.0f); *out_a = (nk_byte)(a * 255.0f); } NK_API void nk_color_hsva_iv(int *out, struct nk_color in) { nk_color_hsva_i(&out[0], &out[1], &out[2], &out[3], in); } NK_API void nk_color_hsva_bv(nk_byte *out, struct nk_color in) { int tmp[4]; nk_color_hsva_i(&tmp[0], &tmp[1], &tmp[2], &tmp[3], in); out[0] = (nk_byte)tmp[0]; out[1] = (nk_byte)tmp[1]; out[2] = (nk_byte)tmp[2]; out[3] = (nk_byte)tmp[3]; } NK_API void nk_color_hsva_b(nk_byte *h, nk_byte *s, nk_byte *v, nk_byte *a, struct nk_color in) { int tmp[4]; nk_color_hsva_i(&tmp[0], &tmp[1], &tmp[2], &tmp[3], in); *h = (nk_byte)tmp[0]; *s = (nk_byte)tmp[1]; *v = (nk_byte)tmp[2]; *a = (nk_byte)tmp[3]; } NK_API void nk_color_hsv_i(int *out_h, int *out_s, int *out_v, struct nk_color in) { int a; nk_color_hsva_i(out_h, out_s, out_v, &a, in); } NK_API void nk_color_hsv_b(nk_byte *out_h, nk_byte *out_s, nk_byte *out_v, struct nk_color in) { int tmp[4]; nk_color_hsva_i(&tmp[0], &tmp[1], &tmp[2], &tmp[3], in); *out_h = (nk_byte)tmp[0]; *out_s = (nk_byte)tmp[1]; *out_v = (nk_byte)tmp[2]; } NK_API void nk_color_hsv_iv(int *out, struct nk_color in) { nk_color_hsv_i(&out[0], &out[1], &out[2], in); } NK_API void nk_color_hsv_bv(nk_byte *out, struct nk_color in) { int tmp[4]; nk_color_hsv_i(&tmp[0], &tmp[1], &tmp[2], in); out[0] = (nk_byte)tmp[0]; out[1] = (nk_byte)tmp[1]; out[2] = (nk_byte)tmp[2]; } /* =============================================================== * * UTF-8 * * ===============================================================*/ NK_GLOBAL const nk_byte nk_utfbyte[NK_UTF_SIZE+1] = {0x80, 0, 0xC0, 0xE0, 0xF0}; NK_GLOBAL const nk_byte nk_utfmask[NK_UTF_SIZE+1] = {0xC0, 0x80, 0xE0, 0xF0, 0xF8}; NK_GLOBAL const nk_uint nk_utfmin[NK_UTF_SIZE+1] = {0, 0, 0x80, 0x800, 0x10000}; NK_GLOBAL const nk_uint nk_utfmax[NK_UTF_SIZE+1] = {0x10FFFF, 0x7F, 0x7FF, 0xFFFF, 0x10FFFF}; NK_INTERN int nk_utf_validate(nk_rune *u, int i) { NK_ASSERT(u); if (!u) return 0; if (!NK_BETWEEN(*u, nk_utfmin[i], nk_utfmax[i]) || NK_BETWEEN(*u, 0xD800, 0xDFFF)) *u = NK_UTF_INVALID; for (i = 1; *u > nk_utfmax[i]; ++i); return i; } NK_INTERN nk_rune nk_utf_decode_byte(char c, int *i) { NK_ASSERT(i); if (!i) return 0; for(*i = 0; *i < (int)NK_LEN(nk_utfmask); ++(*i)) { if (((nk_byte)c & nk_utfmask[*i]) == nk_utfbyte[*i]) return (nk_byte)(c & ~nk_utfmask[*i]); } return 0; } NK_API int nk_utf_decode(const char *c, nk_rune *u, int clen) { int i, j, len, type=0; nk_rune udecoded; NK_ASSERT(c); NK_ASSERT(u); if (!c || !u) return 0; if (!clen) return 0; *u = NK_UTF_INVALID; udecoded = nk_utf_decode_byte(c[0], &len); if (!NK_BETWEEN(len, 1, NK_UTF_SIZE)) return 1; for (i = 1, j = 1; i < clen && j < len; ++i, ++j) { udecoded = (udecoded << 6) | nk_utf_decode_byte(c[i], &type); if (type != 0) return j; } if (j < len) return 0; *u = udecoded; nk_utf_validate(u, len); return len; } NK_INTERN char nk_utf_encode_byte(nk_rune u, int i) { return (char)((nk_utfbyte[i]) | ((nk_byte)u & ~nk_utfmask[i])); } NK_API int nk_utf_encode(nk_rune u, char *c, int clen) { int len, i; len = nk_utf_validate(&u, 0); if (clen < len || !len || len > NK_UTF_SIZE) return 0; for (i = len - 1; i != 0; --i) { c[i] = nk_utf_encode_byte(u, 0); u >>= 6; } c[0] = nk_utf_encode_byte(u, len); return len; } NK_API int nk_utf_len(const char *str, int len) { const char *text; int glyphs = 0; int text_len; int glyph_len; int src_len = 0; nk_rune unicode; NK_ASSERT(str); if (!str || !len) return 0; text = str; text_len = len; glyph_len = nk_utf_decode(text, &unicode, text_len); while (glyph_len && src_len < len) { glyphs++; src_len = src_len + glyph_len; glyph_len = nk_utf_decode(text + src_len, &unicode, text_len - src_len); } return glyphs; } NK_API const char* nk_utf_at(const char *buffer, int length, int index, nk_rune *unicode, int *len) { int i = 0; int src_len = 0; int glyph_len = 0; const char *text; int text_len; NK_ASSERT(buffer); NK_ASSERT(unicode); NK_ASSERT(len); if (!buffer || !unicode || !len) return 0; if (index < 0) { *unicode = NK_UTF_INVALID; *len = 0; return 0; } text = buffer; text_len = length; glyph_len = nk_utf_decode(text, unicode, text_len); while (glyph_len) { if (i == index) { *len = glyph_len; break; } i++; src_len = src_len + glyph_len; glyph_len = nk_utf_decode(text + src_len, unicode, text_len - src_len); } if (i != index) return 0; return buffer + src_len; } /* ============================================================== * * BUFFER * * ===============================================================*/ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_LIB void* nk_malloc(nk_handle unused, void *old,nk_size size) { NK_UNUSED(unused); NK_UNUSED(old); return malloc(size); } NK_LIB void nk_mfree(nk_handle unused, void *ptr) { NK_UNUSED(unused); free(ptr); } NK_API void nk_buffer_init_default(struct nk_buffer *buffer) { struct nk_allocator alloc; alloc.userdata.ptr = 0; alloc.alloc = nk_malloc; alloc.free = nk_mfree; nk_buffer_init(buffer, &alloc, NK_BUFFER_DEFAULT_INITIAL_SIZE); } #endif NK_API void nk_buffer_init(struct nk_buffer *b, const struct nk_allocator *a, nk_size initial_size) { NK_ASSERT(b); NK_ASSERT(a); NK_ASSERT(initial_size); if (!b || !a || !initial_size) return; nk_zero(b, sizeof(*b)); b->type = NK_BUFFER_DYNAMIC; b->memory.ptr = a->alloc(a->userdata,0, initial_size); b->memory.size = initial_size; b->size = initial_size; b->grow_factor = 2.0f; b->pool = *a; } NK_API void nk_buffer_init_fixed(struct nk_buffer *b, void *m, nk_size size) { NK_ASSERT(b); NK_ASSERT(m); NK_ASSERT(size); if (!b || !m || !size) return; nk_zero(b, sizeof(*b)); b->type = NK_BUFFER_FIXED; b->memory.ptr = m; b->memory.size = size; b->size = size; } NK_LIB void* nk_buffer_align(void *unaligned, nk_size align, nk_size *alignment, enum nk_buffer_allocation_type type) { void *memory = 0; switch (type) { default: case NK_BUFFER_MAX: case NK_BUFFER_FRONT: if (align) { memory = NK_ALIGN_PTR(unaligned, align); *alignment = (nk_size)((nk_byte*)memory - (nk_byte*)unaligned); } else { memory = unaligned; *alignment = 0; } break; case NK_BUFFER_BACK: if (align) { memory = NK_ALIGN_PTR_BACK(unaligned, align); *alignment = (nk_size)((nk_byte*)unaligned - (nk_byte*)memory); } else { memory = unaligned; *alignment = 0; } break; } return memory; } NK_LIB void* nk_buffer_realloc(struct nk_buffer *b, nk_size capacity, nk_size *size) { void *temp; nk_size buffer_size; NK_ASSERT(b); NK_ASSERT(size); if (!b || !size || !b->pool.alloc || !b->pool.free) return 0; buffer_size = b->memory.size; temp = b->pool.alloc(b->pool.userdata, b->memory.ptr, capacity); NK_ASSERT(temp); if (!temp) return 0; *size = capacity; if (temp != b->memory.ptr) { NK_MEMCPY(temp, b->memory.ptr, buffer_size); b->pool.free(b->pool.userdata, b->memory.ptr); } if (b->size == buffer_size) { /* no back buffer so just set correct size */ b->size = capacity; return temp; } else { /* copy back buffer to the end of the new buffer */ void *dst, *src; nk_size back_size; back_size = buffer_size - b->size; dst = nk_ptr_add(void, temp, capacity - back_size); src = nk_ptr_add(void, temp, b->size); NK_MEMCPY(dst, src, back_size); b->size = capacity - back_size; } return temp; } NK_LIB void* nk_buffer_alloc(struct nk_buffer *b, enum nk_buffer_allocation_type type, nk_size size, nk_size align) { int full; nk_size alignment; void *unaligned; void *memory; NK_ASSERT(b); NK_ASSERT(size); if (!b || !size) return 0; b->needed += size; /* calculate total size with needed alignment + size */ if (type == NK_BUFFER_FRONT) unaligned = nk_ptr_add(void, b->memory.ptr, b->allocated); else unaligned = nk_ptr_add(void, b->memory.ptr, b->size - size); memory = nk_buffer_align(unaligned, align, &alignment, type); /* check if buffer has enough memory*/ if (type == NK_BUFFER_FRONT) full = ((b->allocated + size + alignment) > b->size); else full = ((b->size - NK_MIN(b->size,(size + alignment))) <= b->allocated); if (full) { nk_size capacity; if (b->type != NK_BUFFER_DYNAMIC) return 0; NK_ASSERT(b->pool.alloc && b->pool.free); if (b->type != NK_BUFFER_DYNAMIC || !b->pool.alloc || !b->pool.free) return 0; /* buffer is full so allocate bigger buffer if dynamic */ capacity = (nk_size)((float)b->memory.size * b->grow_factor); capacity = NK_MAX(capacity, nk_round_up_pow2((nk_uint)(b->allocated + size))); b->memory.ptr = nk_buffer_realloc(b, capacity, &b->memory.size); if (!b->memory.ptr) return 0; /* align newly allocated pointer */ if (type == NK_BUFFER_FRONT) unaligned = nk_ptr_add(void, b->memory.ptr, b->allocated); else unaligned = nk_ptr_add(void, b->memory.ptr, b->size - size); memory = nk_buffer_align(unaligned, align, &alignment, type); } if (type == NK_BUFFER_FRONT) b->allocated += size + alignment; else b->size -= (size + alignment); b->needed += alignment; b->calls++; return memory; } NK_API void nk_buffer_push(struct nk_buffer *b, enum nk_buffer_allocation_type type, const void *memory, nk_size size, nk_size align) { void *mem = nk_buffer_alloc(b, type, size, align); if (!mem) return; NK_MEMCPY(mem, memory, size); } NK_API void nk_buffer_mark(struct nk_buffer *buffer, enum nk_buffer_allocation_type type) { NK_ASSERT(buffer); if (!buffer) return; buffer->marker[type].active = nk_true; if (type == NK_BUFFER_BACK) buffer->marker[type].offset = buffer->size; else buffer->marker[type].offset = buffer->allocated; } NK_API void nk_buffer_reset(struct nk_buffer *buffer, enum nk_buffer_allocation_type type) { NK_ASSERT(buffer); if (!buffer) return; if (type == NK_BUFFER_BACK) { /* reset back buffer either back to marker or empty */ buffer->needed -= (buffer->memory.size - buffer->marker[type].offset); if (buffer->marker[type].active) buffer->size = buffer->marker[type].offset; else buffer->size = buffer->memory.size; buffer->marker[type].active = nk_false; } else { /* reset front buffer either back to back marker or empty */ buffer->needed -= (buffer->allocated - buffer->marker[type].offset); if (buffer->marker[type].active) buffer->allocated = buffer->marker[type].offset; else buffer->allocated = 0; buffer->marker[type].active = nk_false; } } NK_API void nk_buffer_clear(struct nk_buffer *b) { NK_ASSERT(b); if (!b) return; b->allocated = 0; b->size = b->memory.size; b->calls = 0; b->needed = 0; } NK_API void nk_buffer_free(struct nk_buffer *b) { NK_ASSERT(b); if (!b || !b->memory.ptr) return; if (b->type == NK_BUFFER_FIXED) return; if (!b->pool.free) return; NK_ASSERT(b->pool.free); b->pool.free(b->pool.userdata, b->memory.ptr); } NK_API void nk_buffer_info(struct nk_memory_status *s, struct nk_buffer *b) { NK_ASSERT(b); NK_ASSERT(s); if (!s || !b) return; s->allocated = b->allocated; s->size = b->memory.size; s->needed = b->needed; s->memory = b->memory.ptr; s->calls = b->calls; } NK_API void* nk_buffer_memory(struct nk_buffer *buffer) { NK_ASSERT(buffer); if (!buffer) return 0; return buffer->memory.ptr; } NK_API const void* nk_buffer_memory_const(const struct nk_buffer *buffer) { NK_ASSERT(buffer); if (!buffer) return 0; return buffer->memory.ptr; } NK_API nk_size nk_buffer_total(struct nk_buffer *buffer) { NK_ASSERT(buffer); if (!buffer) return 0; return buffer->memory.size; } /* =============================================================== * * STRING * * ===============================================================*/ #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_str_init_default(struct nk_str *str) { struct nk_allocator alloc; alloc.userdata.ptr = 0; alloc.alloc = nk_malloc; alloc.free = nk_mfree; nk_buffer_init(&str->buffer, &alloc, 32); str->len = 0; } #endif NK_API void nk_str_init(struct nk_str *str, const struct nk_allocator *alloc, nk_size size) { nk_buffer_init(&str->buffer, alloc, size); str->len = 0; } NK_API void nk_str_init_fixed(struct nk_str *str, void *memory, nk_size size) { nk_buffer_init_fixed(&str->buffer, memory, size); str->len = 0; } NK_API int nk_str_append_text_char(struct nk_str *s, const char *str, int len) { char *mem; NK_ASSERT(s); NK_ASSERT(str); if (!s || !str || !len) return 0; mem = (char*)nk_buffer_alloc(&s->buffer, NK_BUFFER_FRONT, (nk_size)len * sizeof(char), 0); if (!mem) return 0; NK_MEMCPY(mem, str, (nk_size)len * sizeof(char)); s->len += nk_utf_len(str, len); return len; } NK_API int nk_str_append_str_char(struct nk_str *s, const char *str) { return nk_str_append_text_char(s, str, nk_strlen(str)); } NK_API int nk_str_append_text_utf8(struct nk_str *str, const char *text, int len) { int i = 0; int byte_len = 0; nk_rune unicode; if (!str || !text || !len) return 0; for (i = 0; i < len; ++i) byte_len += nk_utf_decode(text+byte_len, &unicode, 4); nk_str_append_text_char(str, text, byte_len); return len; } NK_API int nk_str_append_str_utf8(struct nk_str *str, const char *text) { int runes = 0; int byte_len = 0; int num_runes = 0; int glyph_len = 0; nk_rune unicode; if (!str || !text) return 0; glyph_len = byte_len = nk_utf_decode(text+byte_len, &unicode, 4); while (unicode != '\0' && glyph_len) { glyph_len = nk_utf_decode(text+byte_len, &unicode, 4); byte_len += glyph_len; num_runes++; } nk_str_append_text_char(str, text, byte_len); return runes; } NK_API int nk_str_append_text_runes(struct nk_str *str, const nk_rune *text, int len) { int i = 0; int byte_len = 0; nk_glyph glyph; NK_ASSERT(str); if (!str || !text || !len) return 0; for (i = 0; i < len; ++i) { byte_len = nk_utf_encode(text[i], glyph, NK_UTF_SIZE); if (!byte_len) break; nk_str_append_text_char(str, glyph, byte_len); } return len; } NK_API int nk_str_append_str_runes(struct nk_str *str, const nk_rune *runes) { int i = 0; nk_glyph glyph; int byte_len; NK_ASSERT(str); if (!str || !runes) return 0; while (runes[i] != '\0') { byte_len = nk_utf_encode(runes[i], glyph, NK_UTF_SIZE); nk_str_append_text_char(str, glyph, byte_len); i++; } return i; } NK_API int nk_str_insert_at_char(struct nk_str *s, int pos, const char *str, int len) { int i; void *mem; char *src; char *dst; int copylen; NK_ASSERT(s); NK_ASSERT(str); NK_ASSERT(len >= 0); if (!s || !str || !len || (nk_size)pos > s->buffer.allocated) return 0; if ((s->buffer.allocated + (nk_size)len >= s->buffer.memory.size) && (s->buffer.type == NK_BUFFER_FIXED)) return 0; copylen = (int)s->buffer.allocated - pos; if (!copylen) { nk_str_append_text_char(s, str, len); return 1; } mem = nk_buffer_alloc(&s->buffer, NK_BUFFER_FRONT, (nk_size)len * sizeof(char), 0); if (!mem) return 0; /* memmove */ NK_ASSERT(((int)pos + (int)len + ((int)copylen - 1)) >= 0); NK_ASSERT(((int)pos + ((int)copylen - 1)) >= 0); dst = nk_ptr_add(char, s->buffer.memory.ptr, pos + len + (copylen - 1)); src = nk_ptr_add(char, s->buffer.memory.ptr, pos + (copylen-1)); for (i = 0; i < copylen; ++i) *dst-- = *src--; mem = nk_ptr_add(void, s->buffer.memory.ptr, pos); NK_MEMCPY(mem, str, (nk_size)len * sizeof(char)); s->len = nk_utf_len((char *)s->buffer.memory.ptr, (int)s->buffer.allocated); return 1; } NK_API int nk_str_insert_at_rune(struct nk_str *str, int pos, const char *cstr, int len) { int glyph_len; nk_rune unicode; const char *begin; const char *buffer; NK_ASSERT(str); NK_ASSERT(cstr); NK_ASSERT(len); if (!str || !cstr || !len) return 0; begin = nk_str_at_rune(str, pos, &unicode, &glyph_len); if (!str->len) return nk_str_append_text_char(str, cstr, len); buffer = nk_str_get_const(str); if (!begin) return 0; return nk_str_insert_at_char(str, (int)(begin - buffer), cstr, len); } NK_API int nk_str_insert_text_char(struct nk_str *str, int pos, const char *text, int len) { return nk_str_insert_text_utf8(str, pos, text, len); } NK_API int nk_str_insert_str_char(struct nk_str *str, int pos, const char *text) { return nk_str_insert_text_utf8(str, pos, text, nk_strlen(text)); } NK_API int nk_str_insert_text_utf8(struct nk_str *str, int pos, const char *text, int len) { int i = 0; int byte_len = 0; nk_rune unicode; NK_ASSERT(str); NK_ASSERT(text); if (!str || !text || !len) return 0; for (i = 0; i < len; ++i) byte_len += nk_utf_decode(text+byte_len, &unicode, 4); nk_str_insert_at_rune(str, pos, text, byte_len); return len; } NK_API int nk_str_insert_str_utf8(struct nk_str *str, int pos, const char *text) { int runes = 0; int byte_len = 0; int num_runes = 0; int glyph_len = 0; nk_rune unicode; if (!str || !text) return 0; glyph_len = byte_len = nk_utf_decode(text+byte_len, &unicode, 4); while (unicode != '\0' && glyph_len) { glyph_len = nk_utf_decode(text+byte_len, &unicode, 4); byte_len += glyph_len; num_runes++; } nk_str_insert_at_rune(str, pos, text, byte_len); return runes; } NK_API int nk_str_insert_text_runes(struct nk_str *str, int pos, const nk_rune *runes, int len) { int i = 0; int byte_len = 0; nk_glyph glyph; NK_ASSERT(str); if (!str || !runes || !len) return 0; for (i = 0; i < len; ++i) { byte_len = nk_utf_encode(runes[i], glyph, NK_UTF_SIZE); if (!byte_len) break; nk_str_insert_at_rune(str, pos+i, glyph, byte_len); } return len; } NK_API int nk_str_insert_str_runes(struct nk_str *str, int pos, const nk_rune *runes) { int i = 0; nk_glyph glyph; int byte_len; NK_ASSERT(str); if (!str || !runes) return 0; while (runes[i] != '\0') { byte_len = nk_utf_encode(runes[i], glyph, NK_UTF_SIZE); nk_str_insert_at_rune(str, pos+i, glyph, byte_len); i++; } return i; } NK_API void nk_str_remove_chars(struct nk_str *s, int len) { NK_ASSERT(s); NK_ASSERT(len >= 0); if (!s || len < 0 || (nk_size)len > s->buffer.allocated) return; NK_ASSERT(((int)s->buffer.allocated - (int)len) >= 0); s->buffer.allocated -= (nk_size)len; s->len = nk_utf_len((char *)s->buffer.memory.ptr, (int)s->buffer.allocated); } NK_API void nk_str_remove_runes(struct nk_str *str, int len) { int index; const char *begin; const char *end; nk_rune unicode; NK_ASSERT(str); NK_ASSERT(len >= 0); if (!str || len < 0) return; if (len >= str->len) { str->len = 0; return; } index = str->len - len; begin = nk_str_at_rune(str, index, &unicode, &len); end = (const char*)str->buffer.memory.ptr + str->buffer.allocated; nk_str_remove_chars(str, (int)(end-begin)+1); } NK_API void nk_str_delete_chars(struct nk_str *s, int pos, int len) { NK_ASSERT(s); if (!s || !len || (nk_size)pos > s->buffer.allocated || (nk_size)(pos + len) > s->buffer.allocated) return; if ((nk_size)(pos + len) < s->buffer.allocated) { /* memmove */ char *dst = nk_ptr_add(char, s->buffer.memory.ptr, pos); char *src = nk_ptr_add(char, s->buffer.memory.ptr, pos + len); NK_MEMCPY(dst, src, s->buffer.allocated - (nk_size)(pos + len)); NK_ASSERT(((int)s->buffer.allocated - (int)len) >= 0); s->buffer.allocated -= (nk_size)len; } else nk_str_remove_chars(s, len); s->len = nk_utf_len((char *)s->buffer.memory.ptr, (int)s->buffer.allocated); } NK_API void nk_str_delete_runes(struct nk_str *s, int pos, int len) { char *temp; nk_rune unicode; char *begin; char *end; int unused; NK_ASSERT(s); NK_ASSERT(s->len >= pos + len); if (s->len < pos + len) len = NK_CLAMP(0, (s->len - pos), s->len); if (!len) return; temp = (char *)s->buffer.memory.ptr; begin = nk_str_at_rune(s, pos, &unicode, &unused); if (!begin) return; s->buffer.memory.ptr = begin; end = nk_str_at_rune(s, len, &unicode, &unused); s->buffer.memory.ptr = temp; if (!end) return; nk_str_delete_chars(s, (int)(begin - temp), (int)(end - begin)); } NK_API char* nk_str_at_char(struct nk_str *s, int pos) { NK_ASSERT(s); if (!s || pos > (int)s->buffer.allocated) return 0; return nk_ptr_add(char, s->buffer.memory.ptr, pos); } NK_API char* nk_str_at_rune(struct nk_str *str, int pos, nk_rune *unicode, int *len) { int i = 0; int src_len = 0; int glyph_len = 0; char *text; int text_len; NK_ASSERT(str); NK_ASSERT(unicode); NK_ASSERT(len); if (!str || !unicode || !len) return 0; if (pos < 0) { *unicode = 0; *len = 0; return 0; } text = (char*)str->buffer.memory.ptr; text_len = (int)str->buffer.allocated; glyph_len = nk_utf_decode(text, unicode, text_len); while (glyph_len) { if (i == pos) { *len = glyph_len; break; } i++; src_len = src_len + glyph_len; glyph_len = nk_utf_decode(text + src_len, unicode, text_len - src_len); } if (i != pos) return 0; return text + src_len; } NK_API const char* nk_str_at_char_const(const struct nk_str *s, int pos) { NK_ASSERT(s); if (!s || pos > (int)s->buffer.allocated) return 0; return nk_ptr_add(char, s->buffer.memory.ptr, pos); } NK_API const char* nk_str_at_const(const struct nk_str *str, int pos, nk_rune *unicode, int *len) { int i = 0; int src_len = 0; int glyph_len = 0; char *text; int text_len; NK_ASSERT(str); NK_ASSERT(unicode); NK_ASSERT(len); if (!str || !unicode || !len) return 0; if (pos < 0) { *unicode = 0; *len = 0; return 0; } text = (char*)str->buffer.memory.ptr; text_len = (int)str->buffer.allocated; glyph_len = nk_utf_decode(text, unicode, text_len); while (glyph_len) { if (i == pos) { *len = glyph_len; break; } i++; src_len = src_len + glyph_len; glyph_len = nk_utf_decode(text + src_len, unicode, text_len - src_len); } if (i != pos) return 0; return text + src_len; } NK_API nk_rune nk_str_rune_at(const struct nk_str *str, int pos) { int len; nk_rune unicode = 0; nk_str_at_const(str, pos, &unicode, &len); return unicode; } NK_API char* nk_str_get(struct nk_str *s) { NK_ASSERT(s); if (!s || !s->len || !s->buffer.allocated) return 0; return (char*)s->buffer.memory.ptr; } NK_API const char* nk_str_get_const(const struct nk_str *s) { NK_ASSERT(s); if (!s || !s->len || !s->buffer.allocated) return 0; return (const char*)s->buffer.memory.ptr; } NK_API int nk_str_len(struct nk_str *s) { NK_ASSERT(s); if (!s || !s->len || !s->buffer.allocated) return 0; return s->len; } NK_API int nk_str_len_char(struct nk_str *s) { NK_ASSERT(s); if (!s || !s->len || !s->buffer.allocated) return 0; return (int)s->buffer.allocated; } NK_API void nk_str_clear(struct nk_str *str) { NK_ASSERT(str); nk_buffer_clear(&str->buffer); str->len = 0; } NK_API void nk_str_free(struct nk_str *str) { NK_ASSERT(str); nk_buffer_free(&str->buffer); str->len = 0; } /* ============================================================== * * DRAW * * ===============================================================*/ NK_LIB void nk_command_buffer_init(struct nk_command_buffer *cb, struct nk_buffer *b, enum nk_command_clipping clip) { NK_ASSERT(cb); NK_ASSERT(b); if (!cb || !b) return; cb->base = b; cb->use_clipping = (int)clip; cb->begin = b->allocated; cb->end = b->allocated; cb->last = b->allocated; } NK_LIB void nk_command_buffer_reset(struct nk_command_buffer *b) { NK_ASSERT(b); if (!b) return; b->begin = 0; b->end = 0; b->last = 0; b->clip = nk_null_rect; #ifdef NK_INCLUDE_COMMAND_USERDATA b->userdata.ptr = 0; #endif } NK_LIB void* nk_command_buffer_push(struct nk_command_buffer* b, enum nk_command_type t, nk_size size) { NK_STORAGE const nk_size align = NK_ALIGNOF(struct nk_command); struct nk_command *cmd; nk_size alignment; void *unaligned; void *memory; NK_ASSERT(b); NK_ASSERT(b->base); if (!b) return 0; cmd = (struct nk_command*)nk_buffer_alloc(b->base,NK_BUFFER_FRONT,size,align); if (!cmd) return 0; /* make sure the offset to the next command is aligned */ b->last = (nk_size)((nk_byte*)cmd - (nk_byte*)b->base->memory.ptr); unaligned = (nk_byte*)cmd + size; memory = NK_ALIGN_PTR(unaligned, align); alignment = (nk_size)((nk_byte*)memory - (nk_byte*)unaligned); #ifdef NK_ZERO_COMMAND_MEMORY NK_MEMSET(cmd, 0, size + alignment); #endif cmd->type = t; cmd->next = b->base->allocated + alignment; #ifdef NK_INCLUDE_COMMAND_USERDATA cmd->userdata = b->userdata; #endif b->end = cmd->next; return cmd; } NK_API void nk_push_scissor(struct nk_command_buffer *b, struct nk_rect r) { struct nk_command_scissor *cmd; NK_ASSERT(b); if (!b) return; b->clip.x = r.x; b->clip.y = r.y; b->clip.w = r.w; b->clip.h = r.h; cmd = (struct nk_command_scissor*) nk_command_buffer_push(b, NK_COMMAND_SCISSOR, sizeof(*cmd)); if (!cmd) return; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)NK_MAX(0, r.w); cmd->h = (unsigned short)NK_MAX(0, r.h); } NK_API void nk_stroke_line(struct nk_command_buffer *b, float x0, float y0, float x1, float y1, float line_thickness, struct nk_color c) { struct nk_command_line *cmd; NK_ASSERT(b); if (!b || line_thickness <= 0) return; cmd = (struct nk_command_line*) nk_command_buffer_push(b, NK_COMMAND_LINE, sizeof(*cmd)); if (!cmd) return; cmd->line_thickness = (unsigned short)line_thickness; cmd->begin.x = (short)x0; cmd->begin.y = (short)y0; cmd->end.x = (short)x1; cmd->end.y = (short)y1; cmd->color = c; } NK_API void nk_stroke_curve(struct nk_command_buffer *b, float ax, float ay, float ctrl0x, float ctrl0y, float ctrl1x, float ctrl1y, float bx, float by, float line_thickness, struct nk_color col) { struct nk_command_curve *cmd; NK_ASSERT(b); if (!b || col.a == 0 || line_thickness <= 0) return; cmd = (struct nk_command_curve*) nk_command_buffer_push(b, NK_COMMAND_CURVE, sizeof(*cmd)); if (!cmd) return; cmd->line_thickness = (unsigned short)line_thickness; cmd->begin.x = (short)ax; cmd->begin.y = (short)ay; cmd->ctrl[0].x = (short)ctrl0x; cmd->ctrl[0].y = (short)ctrl0y; cmd->ctrl[1].x = (short)ctrl1x; cmd->ctrl[1].y = (short)ctrl1y; cmd->end.x = (short)bx; cmd->end.y = (short)by; cmd->color = col; } NK_API void nk_stroke_rect(struct nk_command_buffer *b, struct nk_rect rect, float rounding, float line_thickness, struct nk_color c) { struct nk_command_rect *cmd; NK_ASSERT(b); if (!b || c.a == 0 || rect.w == 0 || rect.h == 0 || line_thickness <= 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_rect*) nk_command_buffer_push(b, NK_COMMAND_RECT, sizeof(*cmd)); if (!cmd) return; cmd->rounding = (unsigned short)rounding; cmd->line_thickness = (unsigned short)line_thickness; cmd->x = (short)rect.x; cmd->y = (short)rect.y; cmd->w = (unsigned short)NK_MAX(0, rect.w); cmd->h = (unsigned short)NK_MAX(0, rect.h); cmd->color = c; } NK_API void nk_fill_rect(struct nk_command_buffer *b, struct nk_rect rect, float rounding, struct nk_color c) { struct nk_command_rect_filled *cmd; NK_ASSERT(b); if (!b || c.a == 0 || rect.w == 0 || rect.h == 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_rect_filled*) nk_command_buffer_push(b, NK_COMMAND_RECT_FILLED, sizeof(*cmd)); if (!cmd) return; cmd->rounding = (unsigned short)rounding; cmd->x = (short)rect.x; cmd->y = (short)rect.y; cmd->w = (unsigned short)NK_MAX(0, rect.w); cmd->h = (unsigned short)NK_MAX(0, rect.h); cmd->color = c; } NK_API void nk_fill_rect_multi_color(struct nk_command_buffer *b, struct nk_rect rect, struct nk_color left, struct nk_color top, struct nk_color right, struct nk_color bottom) { struct nk_command_rect_multi_color *cmd; NK_ASSERT(b); if (!b || rect.w == 0 || rect.h == 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_rect_multi_color*) nk_command_buffer_push(b, NK_COMMAND_RECT_MULTI_COLOR, sizeof(*cmd)); if (!cmd) return; cmd->x = (short)rect.x; cmd->y = (short)rect.y; cmd->w = (unsigned short)NK_MAX(0, rect.w); cmd->h = (unsigned short)NK_MAX(0, rect.h); cmd->left = left; cmd->top = top; cmd->right = right; cmd->bottom = bottom; } NK_API void nk_stroke_circle(struct nk_command_buffer *b, struct nk_rect r, float line_thickness, struct nk_color c) { struct nk_command_circle *cmd; if (!b || r.w == 0 || r.h == 0 || line_thickness <= 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INTERSECT(r.x, r.y, r.w, r.h, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_circle*) nk_command_buffer_push(b, NK_COMMAND_CIRCLE, sizeof(*cmd)); if (!cmd) return; cmd->line_thickness = (unsigned short)line_thickness; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)NK_MAX(r.w, 0); cmd->h = (unsigned short)NK_MAX(r.h, 0); cmd->color = c; } NK_API void nk_fill_circle(struct nk_command_buffer *b, struct nk_rect r, struct nk_color c) { struct nk_command_circle_filled *cmd; NK_ASSERT(b); if (!b || c.a == 0 || r.w == 0 || r.h == 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INTERSECT(r.x, r.y, r.w, r.h, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_circle_filled*) nk_command_buffer_push(b, NK_COMMAND_CIRCLE_FILLED, sizeof(*cmd)); if (!cmd) return; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)NK_MAX(r.w, 0); cmd->h = (unsigned short)NK_MAX(r.h, 0); cmd->color = c; } NK_API void nk_stroke_arc(struct nk_command_buffer *b, float cx, float cy, float radius, float a_min, float a_max, float line_thickness, struct nk_color c) { struct nk_command_arc *cmd; if (!b || c.a == 0 || line_thickness <= 0) return; cmd = (struct nk_command_arc*) nk_command_buffer_push(b, NK_COMMAND_ARC, sizeof(*cmd)); if (!cmd) return; cmd->line_thickness = (unsigned short)line_thickness; cmd->cx = (short)cx; cmd->cy = (short)cy; cmd->r = (unsigned short)radius; cmd->a[0] = a_min; cmd->a[1] = a_max; cmd->color = c; } NK_API void nk_fill_arc(struct nk_command_buffer *b, float cx, float cy, float radius, float a_min, float a_max, struct nk_color c) { struct nk_command_arc_filled *cmd; NK_ASSERT(b); if (!b || c.a == 0) return; cmd = (struct nk_command_arc_filled*) nk_command_buffer_push(b, NK_COMMAND_ARC_FILLED, sizeof(*cmd)); if (!cmd) return; cmd->cx = (short)cx; cmd->cy = (short)cy; cmd->r = (unsigned short)radius; cmd->a[0] = a_min; cmd->a[1] = a_max; cmd->color = c; } NK_API void nk_stroke_triangle(struct nk_command_buffer *b, float x0, float y0, float x1, float y1, float x2, float y2, float line_thickness, struct nk_color c) { struct nk_command_triangle *cmd; NK_ASSERT(b); if (!b || c.a == 0 || line_thickness <= 0) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INBOX(x0, y0, clip->x, clip->y, clip->w, clip->h) && !NK_INBOX(x1, y1, clip->x, clip->y, clip->w, clip->h) && !NK_INBOX(x2, y2, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_triangle*) nk_command_buffer_push(b, NK_COMMAND_TRIANGLE, sizeof(*cmd)); if (!cmd) return; cmd->line_thickness = (unsigned short)line_thickness; cmd->a.x = (short)x0; cmd->a.y = (short)y0; cmd->b.x = (short)x1; cmd->b.y = (short)y1; cmd->c.x = (short)x2; cmd->c.y = (short)y2; cmd->color = c; } NK_API void nk_fill_triangle(struct nk_command_buffer *b, float x0, float y0, float x1, float y1, float x2, float y2, struct nk_color c) { struct nk_command_triangle_filled *cmd; NK_ASSERT(b); if (!b || c.a == 0) return; if (!b) return; if (b->use_clipping) { const struct nk_rect *clip = &b->clip; if (!NK_INBOX(x0, y0, clip->x, clip->y, clip->w, clip->h) && !NK_INBOX(x1, y1, clip->x, clip->y, clip->w, clip->h) && !NK_INBOX(x2, y2, clip->x, clip->y, clip->w, clip->h)) return; } cmd = (struct nk_command_triangle_filled*) nk_command_buffer_push(b, NK_COMMAND_TRIANGLE_FILLED, sizeof(*cmd)); if (!cmd) return; cmd->a.x = (short)x0; cmd->a.y = (short)y0; cmd->b.x = (short)x1; cmd->b.y = (short)y1; cmd->c.x = (short)x2; cmd->c.y = (short)y2; cmd->color = c; } NK_API void nk_stroke_polygon(struct nk_command_buffer *b, float *points, int point_count, float line_thickness, struct nk_color col) { int i; nk_size size = 0; struct nk_command_polygon *cmd; NK_ASSERT(b); if (!b || col.a == 0 || line_thickness <= 0) return; size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count; cmd = (struct nk_command_polygon*) nk_command_buffer_push(b, NK_COMMAND_POLYGON, size); if (!cmd) return; cmd->color = col; cmd->line_thickness = (unsigned short)line_thickness; cmd->point_count = (unsigned short)point_count; for (i = 0; i < point_count; ++i) { cmd->points[i].x = (short)points[i*2]; cmd->points[i].y = (short)points[i*2+1]; } } NK_API void nk_fill_polygon(struct nk_command_buffer *b, float *points, int point_count, struct nk_color col) { int i; nk_size size = 0; struct nk_command_polygon_filled *cmd; NK_ASSERT(b); if (!b || col.a == 0) return; size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count; cmd = (struct nk_command_polygon_filled*) nk_command_buffer_push(b, NK_COMMAND_POLYGON_FILLED, size); if (!cmd) return; cmd->color = col; cmd->point_count = (unsigned short)point_count; for (i = 0; i < point_count; ++i) { cmd->points[i].x = (short)points[i*2+0]; cmd->points[i].y = (short)points[i*2+1]; } } NK_API void nk_stroke_polyline(struct nk_command_buffer *b, float *points, int point_count, float line_thickness, struct nk_color col) { int i; nk_size size = 0; struct nk_command_polyline *cmd; NK_ASSERT(b); if (!b || col.a == 0 || line_thickness <= 0) return; size = sizeof(*cmd) + sizeof(short) * 2 * (nk_size)point_count; cmd = (struct nk_command_polyline*) nk_command_buffer_push(b, NK_COMMAND_POLYLINE, size); if (!cmd) return; cmd->color = col; cmd->point_count = (unsigned short)point_count; cmd->line_thickness = (unsigned short)line_thickness; for (i = 0; i < point_count; ++i) { cmd->points[i].x = (short)points[i*2]; cmd->points[i].y = (short)points[i*2+1]; } } NK_API void nk_draw_image(struct nk_command_buffer *b, struct nk_rect r, const struct nk_image *img, struct nk_color col) { struct nk_command_image *cmd; NK_ASSERT(b); if (!b) return; if (b->use_clipping) { const struct nk_rect *c = &b->clip; if (c->w == 0 || c->h == 0 || !NK_INTERSECT(r.x, r.y, r.w, r.h, c->x, c->y, c->w, c->h)) return; } cmd = (struct nk_command_image*) nk_command_buffer_push(b, NK_COMMAND_IMAGE, sizeof(*cmd)); if (!cmd) return; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)NK_MAX(0, r.w); cmd->h = (unsigned short)NK_MAX(0, r.h); cmd->img = *img; cmd->col = col; } NK_API void nk_push_custom(struct nk_command_buffer *b, struct nk_rect r, nk_command_custom_callback cb, nk_handle usr) { struct nk_command_custom *cmd; NK_ASSERT(b); if (!b) return; if (b->use_clipping) { const struct nk_rect *c = &b->clip; if (c->w == 0 || c->h == 0 || !NK_INTERSECT(r.x, r.y, r.w, r.h, c->x, c->y, c->w, c->h)) return; } cmd = (struct nk_command_custom*) nk_command_buffer_push(b, NK_COMMAND_CUSTOM, sizeof(*cmd)); if (!cmd) return; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)NK_MAX(0, r.w); cmd->h = (unsigned short)NK_MAX(0, r.h); cmd->callback_data = usr; cmd->callback = cb; } NK_API void nk_draw_text(struct nk_command_buffer *b, struct nk_rect r, const char *string, int length, const struct nk_user_font *font, struct nk_color bg, struct nk_color fg) { float text_width = 0; struct nk_command_text *cmd; NK_ASSERT(b); NK_ASSERT(font); if (!b || !string || !length || (bg.a == 0 && fg.a == 0)) return; if (b->use_clipping) { const struct nk_rect *c = &b->clip; if (c->w == 0 || c->h == 0 || !NK_INTERSECT(r.x, r.y, r.w, r.h, c->x, c->y, c->w, c->h)) return; } /* make sure text fits inside bounds */ text_width = font->width(font->userdata, font->height, string, length); if (text_width > r.w){ int glyphs = 0; float txt_width = (float)text_width; length = nk_text_clamp(font, string, length, r.w, &glyphs, &txt_width, 0,0); } if (!length) return; cmd = (struct nk_command_text*) nk_command_buffer_push(b, NK_COMMAND_TEXT, sizeof(*cmd) + (nk_size)(length + 1)); if (!cmd) return; cmd->x = (short)r.x; cmd->y = (short)r.y; cmd->w = (unsigned short)r.w; cmd->h = (unsigned short)r.h; cmd->background = bg; cmd->foreground = fg; cmd->font = font; cmd->length = length; cmd->height = font->height; NK_MEMCPY(cmd->string, string, (nk_size)length); cmd->string[length] = '\0'; } /* =============================================================== * * VERTEX * * ===============================================================*/ #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT NK_API void nk_draw_list_init(struct nk_draw_list *list) { nk_size i = 0; NK_ASSERT(list); if (!list) return; nk_zero(list, sizeof(*list)); for (i = 0; i < NK_LEN(list->circle_vtx); ++i) { const float a = ((float)i / (float)NK_LEN(list->circle_vtx)) * 2 * NK_PI; list->circle_vtx[i].x = (float)NK_COS(a); list->circle_vtx[i].y = (float)NK_SIN(a); } } NK_API void nk_draw_list_setup(struct nk_draw_list *canvas, const struct nk_convert_config *config, struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements, enum nk_anti_aliasing line_aa, enum nk_anti_aliasing shape_aa) { NK_ASSERT(canvas); NK_ASSERT(config); NK_ASSERT(cmds); NK_ASSERT(vertices); NK_ASSERT(elements); if (!canvas || !config || !cmds || !vertices || !elements) return; canvas->buffer = cmds; canvas->config = *config; canvas->elements = elements; canvas->vertices = vertices; canvas->line_AA = line_aa; canvas->shape_AA = shape_aa; canvas->clip_rect = nk_null_rect; canvas->cmd_offset = 0; canvas->element_count = 0; canvas->vertex_count = 0; canvas->cmd_offset = 0; canvas->cmd_count = 0; canvas->path_count = 0; } NK_API const struct nk_draw_command* nk__draw_list_begin(const struct nk_draw_list *canvas, const struct nk_buffer *buffer) { nk_byte *memory; nk_size offset; const struct nk_draw_command *cmd; NK_ASSERT(buffer); if (!buffer || !buffer->size || !canvas->cmd_count) return 0; memory = (nk_byte*)buffer->memory.ptr; offset = buffer->memory.size - canvas->cmd_offset; cmd = nk_ptr_add(const struct nk_draw_command, memory, offset); return cmd; } NK_API const struct nk_draw_command* nk__draw_list_end(const struct nk_draw_list *canvas, const struct nk_buffer *buffer) { nk_size size; nk_size offset; nk_byte *memory; const struct nk_draw_command *end; NK_ASSERT(buffer); NK_ASSERT(canvas); if (!buffer || !canvas) return 0; memory = (nk_byte*)buffer->memory.ptr; size = buffer->memory.size; offset = size - canvas->cmd_offset; end = nk_ptr_add(const struct nk_draw_command, memory, offset); end -= (canvas->cmd_count-1); return end; } NK_API const struct nk_draw_command* nk__draw_list_next(const struct nk_draw_command *cmd, const struct nk_buffer *buffer, const struct nk_draw_list *canvas) { const struct nk_draw_command *end; NK_ASSERT(buffer); NK_ASSERT(canvas); if (!cmd || !buffer || !canvas) return 0; end = nk__draw_list_end(canvas, buffer); if (cmd <= end) return 0; return (cmd-1); } NK_INTERN struct nk_vec2* nk_draw_list_alloc_path(struct nk_draw_list *list, int count) { struct nk_vec2 *points; NK_STORAGE const nk_size point_align = NK_ALIGNOF(struct nk_vec2); NK_STORAGE const nk_size point_size = sizeof(struct nk_vec2); points = (struct nk_vec2*) nk_buffer_alloc(list->buffer, NK_BUFFER_FRONT, point_size * (nk_size)count, point_align); if (!points) return 0; if (!list->path_offset) { void *memory = nk_buffer_memory(list->buffer); list->path_offset = (unsigned int)((nk_byte*)points - (nk_byte*)memory); } list->path_count += (unsigned int)count; return points; } NK_INTERN struct nk_vec2 nk_draw_list_path_last(struct nk_draw_list *list) { void *memory; struct nk_vec2 *point; NK_ASSERT(list->path_count); memory = nk_buffer_memory(list->buffer); point = nk_ptr_add(struct nk_vec2, memory, list->path_offset); point += (list->path_count-1); return *point; } NK_INTERN struct nk_draw_command* nk_draw_list_push_command(struct nk_draw_list *list, struct nk_rect clip, nk_handle texture) { NK_STORAGE const nk_size cmd_align = NK_ALIGNOF(struct nk_draw_command); NK_STORAGE const nk_size cmd_size = sizeof(struct nk_draw_command); struct nk_draw_command *cmd; NK_ASSERT(list); cmd = (struct nk_draw_command*) nk_buffer_alloc(list->buffer, NK_BUFFER_BACK, cmd_size, cmd_align); if (!cmd) return 0; if (!list->cmd_count) { nk_byte *memory = (nk_byte*)nk_buffer_memory(list->buffer); nk_size total = nk_buffer_total(list->buffer); memory = nk_ptr_add(nk_byte, memory, total); list->cmd_offset = (nk_size)(memory - (nk_byte*)cmd); } cmd->elem_count = 0; cmd->clip_rect = clip; cmd->texture = texture; #ifdef NK_INCLUDE_COMMAND_USERDATA cmd->userdata = list->userdata; #endif list->cmd_count++; list->clip_rect = clip; return cmd; } NK_INTERN struct nk_draw_command* nk_draw_list_command_last(struct nk_draw_list *list) { void *memory; nk_size size; struct nk_draw_command *cmd; NK_ASSERT(list->cmd_count); memory = nk_buffer_memory(list->buffer); size = nk_buffer_total(list->buffer); cmd = nk_ptr_add(struct nk_draw_command, memory, size - list->cmd_offset); return (cmd - (list->cmd_count-1)); } NK_INTERN void nk_draw_list_add_clip(struct nk_draw_list *list, struct nk_rect rect) { NK_ASSERT(list); if (!list) return; if (!list->cmd_count) { nk_draw_list_push_command(list, rect, list->config.null.texture); } else { struct nk_draw_command *prev = nk_draw_list_command_last(list); if (prev->elem_count == 0) prev->clip_rect = rect; nk_draw_list_push_command(list, rect, prev->texture); } } NK_INTERN void nk_draw_list_push_image(struct nk_draw_list *list, nk_handle texture) { NK_ASSERT(list); if (!list) return; if (!list->cmd_count) { nk_draw_list_push_command(list, nk_null_rect, texture); } else { struct nk_draw_command *prev = nk_draw_list_command_last(list); if (prev->elem_count == 0) { prev->texture = texture; #ifdef NK_INCLUDE_COMMAND_USERDATA prev->userdata = list->userdata; #endif } else if (prev->texture.id != texture.id #ifdef NK_INCLUDE_COMMAND_USERDATA || prev->userdata.id != list->userdata.id #endif ) nk_draw_list_push_command(list, prev->clip_rect, texture); } } #ifdef NK_INCLUDE_COMMAND_USERDATA NK_API void nk_draw_list_push_userdata(struct nk_draw_list *list, nk_handle userdata) { list->userdata = userdata; } #endif NK_INTERN void* nk_draw_list_alloc_vertices(struct nk_draw_list *list, nk_size count) { void *vtx; NK_ASSERT(list); if (!list) return 0; vtx = nk_buffer_alloc(list->vertices, NK_BUFFER_FRONT, list->config.vertex_size*count, list->config.vertex_alignment); if (!vtx) return 0; list->vertex_count += (unsigned int)count; /* This assert triggers because your are drawing a lot of stuff and nuklear * defined `nk_draw_index` as `nk_ushort` to safe space be default. * * So you reached the maximum number of indicies or rather vertexes. * To solve this issue please change typdef `nk_draw_index` to `nk_uint` * and don't forget to specify the new element size in your drawing * backend (OpenGL, DirectX, ...). For example in OpenGL for `glDrawElements` * instead of specifing `GL_UNSIGNED_SHORT` you have to define `GL_UNSIGNED_INT`. * Sorry for the inconvenience. */ if(sizeof(nk_draw_index)==2) NK_ASSERT((list->vertex_count < NK_USHORT_MAX && "To many verticies for 16-bit vertex indicies. Please read comment above on how to solve this problem")); return vtx; } NK_INTERN nk_draw_index* nk_draw_list_alloc_elements(struct nk_draw_list *list, nk_size count) { nk_draw_index *ids; struct nk_draw_command *cmd; NK_STORAGE const nk_size elem_align = NK_ALIGNOF(nk_draw_index); NK_STORAGE const nk_size elem_size = sizeof(nk_draw_index); NK_ASSERT(list); if (!list) return 0; ids = (nk_draw_index*) nk_buffer_alloc(list->elements, NK_BUFFER_FRONT, elem_size*count, elem_align); if (!ids) return 0; cmd = nk_draw_list_command_last(list); list->element_count += (unsigned int)count; cmd->elem_count += (unsigned int)count; return ids; } NK_INTERN int nk_draw_vertex_layout_element_is_end_of_layout( const struct nk_draw_vertex_layout_element *element) { return (element->attribute == NK_VERTEX_ATTRIBUTE_COUNT || element->format == NK_FORMAT_COUNT); } NK_INTERN void nk_draw_vertex_color(void *attr, const float *vals, enum nk_draw_vertex_layout_format format) { /* if this triggers you tried to provide a value format for a color */ float val[4]; NK_ASSERT(format >= NK_FORMAT_COLOR_BEGIN); NK_ASSERT(format <= NK_FORMAT_COLOR_END); if (format < NK_FORMAT_COLOR_BEGIN || format > NK_FORMAT_COLOR_END) return; val[0] = NK_SATURATE(vals[0]); val[1] = NK_SATURATE(vals[1]); val[2] = NK_SATURATE(vals[2]); val[3] = NK_SATURATE(vals[3]); switch (format) { default: NK_ASSERT(0 && "Invalid vertex layout color format"); break; case NK_FORMAT_R8G8B8A8: case NK_FORMAT_R8G8B8: { struct nk_color col = nk_rgba_fv(val); NK_MEMCPY(attr, &col.r, sizeof(col)); } break; case NK_FORMAT_B8G8R8A8: { struct nk_color col = nk_rgba_fv(val); struct nk_color bgra = nk_rgba(col.b, col.g, col.r, col.a); NK_MEMCPY(attr, &bgra, sizeof(bgra)); } break; case NK_FORMAT_R16G15B16: { nk_ushort col[3]; col[0] = (nk_ushort)(val[0]*(float)NK_USHORT_MAX); col[1] = (nk_ushort)(val[1]*(float)NK_USHORT_MAX); col[2] = (nk_ushort)(val[2]*(float)NK_USHORT_MAX); NK_MEMCPY(attr, col, sizeof(col)); } break; case NK_FORMAT_R16G15B16A16: { nk_ushort col[4]; col[0] = (nk_ushort)(val[0]*(float)NK_USHORT_MAX); col[1] = (nk_ushort)(val[1]*(float)NK_USHORT_MAX); col[2] = (nk_ushort)(val[2]*(float)NK_USHORT_MAX); col[3] = (nk_ushort)(val[3]*(float)NK_USHORT_MAX); NK_MEMCPY(attr, col, sizeof(col)); } break; case NK_FORMAT_R32G32B32: { nk_uint col[3]; col[0] = (nk_uint)(val[0]*(float)NK_UINT_MAX); col[1] = (nk_uint)(val[1]*(float)NK_UINT_MAX); col[2] = (nk_uint)(val[2]*(float)NK_UINT_MAX); NK_MEMCPY(attr, col, sizeof(col)); } break; case NK_FORMAT_R32G32B32A32: { nk_uint col[4]; col[0] = (nk_uint)(val[0]*(float)NK_UINT_MAX); col[1] = (nk_uint)(val[1]*(float)NK_UINT_MAX); col[2] = (nk_uint)(val[2]*(float)NK_UINT_MAX); col[3] = (nk_uint)(val[3]*(float)NK_UINT_MAX); NK_MEMCPY(attr, col, sizeof(col)); } break; case NK_FORMAT_R32G32B32A32_FLOAT: NK_MEMCPY(attr, val, sizeof(float)*4); break; case NK_FORMAT_R32G32B32A32_DOUBLE: { double col[4]; col[0] = (double)val[0]; col[1] = (double)val[1]; col[2] = (double)val[2]; col[3] = (double)val[3]; NK_MEMCPY(attr, col, sizeof(col)); } break; case NK_FORMAT_RGB32: case NK_FORMAT_RGBA32: { struct nk_color col = nk_rgba_fv(val); nk_uint color = nk_color_u32(col); NK_MEMCPY(attr, &color, sizeof(color)); } break; } } NK_INTERN void nk_draw_vertex_element(void *dst, const float *values, int value_count, enum nk_draw_vertex_layout_format format) { int value_index; void *attribute = dst; /* if this triggers you tried to provide a color format for a value */ NK_ASSERT(format < NK_FORMAT_COLOR_BEGIN); if (format >= NK_FORMAT_COLOR_BEGIN && format <= NK_FORMAT_COLOR_END) return; for (value_index = 0; value_index < value_count; ++value_index) { switch (format) { default: NK_ASSERT(0 && "invalid vertex layout format"); break; case NK_FORMAT_SCHAR: { char value = (char)NK_CLAMP((float)NK_SCHAR_MIN, values[value_index], (float)NK_SCHAR_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(char)); } break; case NK_FORMAT_SSHORT: { nk_short value = (nk_short)NK_CLAMP((float)NK_SSHORT_MIN, values[value_index], (float)NK_SSHORT_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(value)); } break; case NK_FORMAT_SINT: { nk_int value = (nk_int)NK_CLAMP((float)NK_SINT_MIN, values[value_index], (float)NK_SINT_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(nk_int)); } break; case NK_FORMAT_UCHAR: { unsigned char value = (unsigned char)NK_CLAMP((float)NK_UCHAR_MIN, values[value_index], (float)NK_UCHAR_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(unsigned char)); } break; case NK_FORMAT_USHORT: { nk_ushort value = (nk_ushort)NK_CLAMP((float)NK_USHORT_MIN, values[value_index], (float)NK_USHORT_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(value)); } break; case NK_FORMAT_UINT: { nk_uint value = (nk_uint)NK_CLAMP((float)NK_UINT_MIN, values[value_index], (float)NK_UINT_MAX); NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(nk_uint)); } break; case NK_FORMAT_FLOAT: NK_MEMCPY(attribute, &values[value_index], sizeof(values[value_index])); attribute = (void*)((char*)attribute + sizeof(float)); break; case NK_FORMAT_DOUBLE: { double value = (double)values[value_index]; NK_MEMCPY(attribute, &value, sizeof(value)); attribute = (void*)((char*)attribute + sizeof(double)); } break; } } } NK_INTERN void* nk_draw_vertex(void *dst, const struct nk_convert_config *config, struct nk_vec2 pos, struct nk_vec2 uv, struct nk_colorf color) { void *result = (void*)((char*)dst + config->vertex_size); const struct nk_draw_vertex_layout_element *elem_iter = config->vertex_layout; while (!nk_draw_vertex_layout_element_is_end_of_layout(elem_iter)) { void *address = (void*)((char*)dst + elem_iter->offset); switch (elem_iter->attribute) { case NK_VERTEX_ATTRIBUTE_COUNT: default: NK_ASSERT(0 && "wrong element attribute"); break; case NK_VERTEX_POSITION: nk_draw_vertex_element(address, &pos.x, 2, elem_iter->format); break; case NK_VERTEX_TEXCOORD: nk_draw_vertex_element(address, &uv.x, 2, elem_iter->format); break; case NK_VERTEX_COLOR: nk_draw_vertex_color(address, &color.r, elem_iter->format); break; } elem_iter++; } return result; } NK_API void nk_draw_list_stroke_poly_line(struct nk_draw_list *list, const struct nk_vec2 *points, const unsigned int points_count, struct nk_color color, enum nk_draw_list_stroke closed, float thickness, enum nk_anti_aliasing aliasing) { nk_size count; int thick_line; struct nk_colorf col; struct nk_colorf col_trans; NK_ASSERT(list); if (!list || points_count < 2) return; color.a = (nk_byte)((float)color.a * list->config.global_alpha); count = points_count; if (!closed) count = points_count-1; thick_line = thickness > 1.0f; #ifdef NK_INCLUDE_COMMAND_USERDATA nk_draw_list_push_userdata(list, list->userdata); #endif color.a = (nk_byte)((float)color.a * list->config.global_alpha); nk_color_fv(&col.r, color); col_trans = col; col_trans.a = 0; if (aliasing == NK_ANTI_ALIASING_ON) { /* ANTI-ALIASED STROKE */ const float AA_SIZE = 1.0f; NK_STORAGE const nk_size pnt_align = NK_ALIGNOF(struct nk_vec2); NK_STORAGE const nk_size pnt_size = sizeof(struct nk_vec2); /* allocate vertices and elements */ nk_size i1 = 0; nk_size vertex_offset; nk_size index = list->vertex_count; const nk_size idx_count = (thick_line) ? (count * 18) : (count * 12); const nk_size vtx_count = (thick_line) ? (points_count * 4): (points_count *3); void *vtx = nk_draw_list_alloc_vertices(list, vtx_count); nk_draw_index *ids = nk_draw_list_alloc_elements(list, idx_count); nk_size size; struct nk_vec2 *normals, *temp; if (!vtx || !ids) return; /* temporary allocate normals + points */ vertex_offset = (nk_size)((nk_byte*)vtx - (nk_byte*)list->vertices->memory.ptr); nk_buffer_mark(list->vertices, NK_BUFFER_FRONT); size = pnt_size * ((thick_line) ? 5 : 3) * points_count; normals = (struct nk_vec2*) nk_buffer_alloc(list->vertices, NK_BUFFER_FRONT, size, pnt_align); if (!normals) return; temp = normals + points_count; /* make sure vertex pointer is still correct */ vtx = (void*)((nk_byte*)list->vertices->memory.ptr + vertex_offset); /* calculate normals */ for (i1 = 0; i1 < count; ++i1) { const nk_size i2 = ((i1 + 1) == points_count) ? 0 : (i1 + 1); struct nk_vec2 diff = nk_vec2_sub(points[i2], points[i1]); float len; /* vec2 inverted length */ len = nk_vec2_len_sqr(diff); if (len != 0.0f) len = nk_inv_sqrt(len); else len = 1.0f; diff = nk_vec2_muls(diff, len); normals[i1].x = diff.y; normals[i1].y = -diff.x; } if (!closed) normals[points_count-1] = normals[points_count-2]; if (!thick_line) { nk_size idx1, i; if (!closed) { struct nk_vec2 d; temp[0] = nk_vec2_add(points[0], nk_vec2_muls(normals[0], AA_SIZE)); temp[1] = nk_vec2_sub(points[0], nk_vec2_muls(normals[0], AA_SIZE)); d = nk_vec2_muls(normals[points_count-1], AA_SIZE); temp[(points_count-1) * 2 + 0] = nk_vec2_add(points[points_count-1], d); temp[(points_count-1) * 2 + 1] = nk_vec2_sub(points[points_count-1], d); } /* fill elements */ idx1 = index; for (i1 = 0; i1 < count; i1++) { struct nk_vec2 dm; float dmr2; nk_size i2 = ((i1 + 1) == points_count) ? 0 : (i1 + 1); nk_size idx2 = ((i1+1) == points_count) ? index: (idx1 + 3); /* average normals */ dm = nk_vec2_muls(nk_vec2_add(normals[i1], normals[i2]), 0.5f); dmr2 = dm.x * dm.x + dm.y* dm.y; if (dmr2 > 0.000001f) { float scale = 1.0f/dmr2; scale = NK_MIN(100.0f, scale); dm = nk_vec2_muls(dm, scale); } dm = nk_vec2_muls(dm, AA_SIZE); temp[i2*2+0] = nk_vec2_add(points[i2], dm); temp[i2*2+1] = nk_vec2_sub(points[i2], dm); ids[0] = (nk_draw_index)(idx2 + 0); ids[1] = (nk_draw_index)(idx1+0); ids[2] = (nk_draw_index)(idx1 + 2); ids[3] = (nk_draw_index)(idx1+2); ids[4] = (nk_draw_index)(idx2 + 2); ids[5] = (nk_draw_index)(idx2+0); ids[6] = (nk_draw_index)(idx2 + 1); ids[7] = (nk_draw_index)(idx1+1); ids[8] = (nk_draw_index)(idx1 + 0); ids[9] = (nk_draw_index)(idx1+0); ids[10]= (nk_draw_index)(idx2 + 0); ids[11]= (nk_draw_index)(idx2+1); ids += 12; idx1 = idx2; } /* fill vertices */ for (i = 0; i < points_count; ++i) { const struct nk_vec2 uv = list->config.null.uv; vtx = nk_draw_vertex(vtx, &list->config, points[i], uv, col); vtx = nk_draw_vertex(vtx, &list->config, temp[i*2+0], uv, col_trans); vtx = nk_draw_vertex(vtx, &list->config, temp[i*2+1], uv, col_trans); } } else { nk_size idx1, i; const float half_inner_thickness = (thickness - AA_SIZE) * 0.5f; if (!closed) { struct nk_vec2 d1 = nk_vec2_muls(normals[0], half_inner_thickness + AA_SIZE); struct nk_vec2 d2 = nk_vec2_muls(normals[0], half_inner_thickness); temp[0] = nk_vec2_add(points[0], d1); temp[1] = nk_vec2_add(points[0], d2); temp[2] = nk_vec2_sub(points[0], d2); temp[3] = nk_vec2_sub(points[0], d1); d1 = nk_vec2_muls(normals[points_count-1], half_inner_thickness + AA_SIZE); d2 = nk_vec2_muls(normals[points_count-1], half_inner_thickness); temp[(points_count-1)*4+0] = nk_vec2_add(points[points_count-1], d1); temp[(points_count-1)*4+1] = nk_vec2_add(points[points_count-1], d2); temp[(points_count-1)*4+2] = nk_vec2_sub(points[points_count-1], d2); temp[(points_count-1)*4+3] = nk_vec2_sub(points[points_count-1], d1); } /* add all elements */ idx1 = index; for (i1 = 0; i1 < count; ++i1) { struct nk_vec2 dm_out, dm_in; const nk_size i2 = ((i1+1) == points_count) ? 0: (i1 + 1); nk_size idx2 = ((i1+1) == points_count) ? index: (idx1 + 4); /* average normals */ struct nk_vec2 dm = nk_vec2_muls(nk_vec2_add(normals[i1], normals[i2]), 0.5f); float dmr2 = dm.x * dm.x + dm.y* dm.y; if (dmr2 > 0.000001f) { float scale = 1.0f/dmr2; scale = NK_MIN(100.0f, scale); dm = nk_vec2_muls(dm, scale); } dm_out = nk_vec2_muls(dm, ((half_inner_thickness) + AA_SIZE)); dm_in = nk_vec2_muls(dm, half_inner_thickness); temp[i2*4+0] = nk_vec2_add(points[i2], dm_out); temp[i2*4+1] = nk_vec2_add(points[i2], dm_in); temp[i2*4+2] = nk_vec2_sub(points[i2], dm_in); temp[i2*4+3] = nk_vec2_sub(points[i2], dm_out); /* add indexes */ ids[0] = (nk_draw_index)(idx2 + 1); ids[1] = (nk_draw_index)(idx1+1); ids[2] = (nk_draw_index)(idx1 + 2); ids[3] = (nk_draw_index)(idx1+2); ids[4] = (nk_draw_index)(idx2 + 2); ids[5] = (nk_draw_index)(idx2+1); ids[6] = (nk_draw_index)(idx2 + 1); ids[7] = (nk_draw_index)(idx1+1); ids[8] = (nk_draw_index)(idx1 + 0); ids[9] = (nk_draw_index)(idx1+0); ids[10]= (nk_draw_index)(idx2 + 0); ids[11] = (nk_draw_index)(idx2+1); ids[12]= (nk_draw_index)(idx2 + 2); ids[13] = (nk_draw_index)(idx1+2); ids[14]= (nk_draw_index)(idx1 + 3); ids[15] = (nk_draw_index)(idx1+3); ids[16]= (nk_draw_index)(idx2 + 3); ids[17] = (nk_draw_index)(idx2+2); ids += 18; idx1 = idx2; } /* add vertices */ for (i = 0; i < points_count; ++i) { const struct nk_vec2 uv = list->config.null.uv; vtx = nk_draw_vertex(vtx, &list->config, temp[i*4+0], uv, col_trans); vtx = nk_draw_vertex(vtx, &list->config, temp[i*4+1], uv, col); vtx = nk_draw_vertex(vtx, &list->config, temp[i*4+2], uv, col); vtx = nk_draw_vertex(vtx, &list->config, temp[i*4+3], uv, col_trans); } } /* free temporary normals + points */ nk_buffer_reset(list->vertices, NK_BUFFER_FRONT); } else { /* NON ANTI-ALIASED STROKE */ nk_size i1 = 0; nk_size idx = list->vertex_count; const nk_size idx_count = count * 6; const nk_size vtx_count = count * 4; void *vtx = nk_draw_list_alloc_vertices(list, vtx_count); nk_draw_index *ids = nk_draw_list_alloc_elements(list, idx_count); if (!vtx || !ids) return; for (i1 = 0; i1 < count; ++i1) { float dx, dy; const struct nk_vec2 uv = list->config.null.uv; const nk_size i2 = ((i1+1) == points_count) ? 0 : i1 + 1; const struct nk_vec2 p1 = points[i1]; const struct nk_vec2 p2 = points[i2]; struct nk_vec2 diff = nk_vec2_sub(p2, p1); float len; /* vec2 inverted length */ len = nk_vec2_len_sqr(diff); if (len != 0.0f) len = nk_inv_sqrt(len); else len = 1.0f; diff = nk_vec2_muls(diff, len); /* add vertices */ dx = diff.x * (thickness * 0.5f); dy = diff.y * (thickness * 0.5f); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(p1.x + dy, p1.y - dx), uv, col); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(p2.x + dy, p2.y - dx), uv, col); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(p2.x - dy, p2.y + dx), uv, col); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(p1.x - dy, p1.y + dx), uv, col); ids[0] = (nk_draw_index)(idx+0); ids[1] = (nk_draw_index)(idx+1); ids[2] = (nk_draw_index)(idx+2); ids[3] = (nk_draw_index)(idx+0); ids[4] = (nk_draw_index)(idx+2); ids[5] = (nk_draw_index)(idx+3); ids += 6; idx += 4; } } } NK_API void nk_draw_list_fill_poly_convex(struct nk_draw_list *list, const struct nk_vec2 *points, const unsigned int points_count, struct nk_color color, enum nk_anti_aliasing aliasing) { struct nk_colorf col; struct nk_colorf col_trans; NK_STORAGE const nk_size pnt_align = NK_ALIGNOF(struct nk_vec2); NK_STORAGE const nk_size pnt_size = sizeof(struct nk_vec2); NK_ASSERT(list); if (!list || points_count < 3) return; #ifdef NK_INCLUDE_COMMAND_USERDATA nk_draw_list_push_userdata(list, list->userdata); #endif color.a = (nk_byte)((float)color.a * list->config.global_alpha); nk_color_fv(&col.r, color); col_trans = col; col_trans.a = 0; if (aliasing == NK_ANTI_ALIASING_ON) { nk_size i = 0; nk_size i0 = 0; nk_size i1 = 0; const float AA_SIZE = 1.0f; nk_size vertex_offset = 0; nk_size index = list->vertex_count; const nk_size idx_count = (points_count-2)*3 + points_count*6; const nk_size vtx_count = (points_count*2); void *vtx = nk_draw_list_alloc_vertices(list, vtx_count); nk_draw_index *ids = nk_draw_list_alloc_elements(list, idx_count); nk_size size = 0; struct nk_vec2 *normals = 0; unsigned int vtx_inner_idx = (unsigned int)(index + 0); unsigned int vtx_outer_idx = (unsigned int)(index + 1); if (!vtx || !ids) return; /* temporary allocate normals */ vertex_offset = (nk_size)((nk_byte*)vtx - (nk_byte*)list->vertices->memory.ptr); nk_buffer_mark(list->vertices, NK_BUFFER_FRONT); size = pnt_size * points_count; normals = (struct nk_vec2*) nk_buffer_alloc(list->vertices, NK_BUFFER_FRONT, size, pnt_align); if (!normals) return; vtx = (void*)((nk_byte*)list->vertices->memory.ptr + vertex_offset); /* add elements */ for (i = 2; i < points_count; i++) { ids[0] = (nk_draw_index)(vtx_inner_idx); ids[1] = (nk_draw_index)(vtx_inner_idx + ((i-1) << 1)); ids[2] = (nk_draw_index)(vtx_inner_idx + (i << 1)); ids += 3; } /* compute normals */ for (i0 = points_count-1, i1 = 0; i1 < points_count; i0 = i1++) { struct nk_vec2 p0 = points[i0]; struct nk_vec2 p1 = points[i1]; struct nk_vec2 diff = nk_vec2_sub(p1, p0); /* vec2 inverted length */ float len = nk_vec2_len_sqr(diff); if (len != 0.0f) len = nk_inv_sqrt(len); else len = 1.0f; diff = nk_vec2_muls(diff, len); normals[i0].x = diff.y; normals[i0].y = -diff.x; } /* add vertices + indexes */ for (i0 = points_count-1, i1 = 0; i1 < points_count; i0 = i1++) { const struct nk_vec2 uv = list->config.null.uv; struct nk_vec2 n0 = normals[i0]; struct nk_vec2 n1 = normals[i1]; struct nk_vec2 dm = nk_vec2_muls(nk_vec2_add(n0, n1), 0.5f); float dmr2 = dm.x*dm.x + dm.y*dm.y; if (dmr2 > 0.000001f) { float scale = 1.0f / dmr2; scale = NK_MIN(scale, 100.0f); dm = nk_vec2_muls(dm, scale); } dm = nk_vec2_muls(dm, AA_SIZE * 0.5f); /* add vertices */ vtx = nk_draw_vertex(vtx, &list->config, nk_vec2_sub(points[i1], dm), uv, col); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2_add(points[i1], dm), uv, col_trans); /* add indexes */ ids[0] = (nk_draw_index)(vtx_inner_idx+(i1<<1)); ids[1] = (nk_draw_index)(vtx_inner_idx+(i0<<1)); ids[2] = (nk_draw_index)(vtx_outer_idx+(i0<<1)); ids[3] = (nk_draw_index)(vtx_outer_idx+(i0<<1)); ids[4] = (nk_draw_index)(vtx_outer_idx+(i1<<1)); ids[5] = (nk_draw_index)(vtx_inner_idx+(i1<<1)); ids += 6; } /* free temporary normals + points */ nk_buffer_reset(list->vertices, NK_BUFFER_FRONT); } else { nk_size i = 0; nk_size index = list->vertex_count; const nk_size idx_count = (points_count-2)*3; const nk_size vtx_count = points_count; void *vtx = nk_draw_list_alloc_vertices(list, vtx_count); nk_draw_index *ids = nk_draw_list_alloc_elements(list, idx_count); if (!vtx || !ids) return; for (i = 0; i < vtx_count; ++i) vtx = nk_draw_vertex(vtx, &list->config, points[i], list->config.null.uv, col); for (i = 2; i < points_count; ++i) { ids[0] = (nk_draw_index)index; ids[1] = (nk_draw_index)(index+ i - 1); ids[2] = (nk_draw_index)(index+i); ids += 3; } } } NK_API void nk_draw_list_path_clear(struct nk_draw_list *list) { NK_ASSERT(list); if (!list) return; nk_buffer_reset(list->buffer, NK_BUFFER_FRONT); list->path_count = 0; list->path_offset = 0; } NK_API void nk_draw_list_path_line_to(struct nk_draw_list *list, struct nk_vec2 pos) { struct nk_vec2 *points = 0; struct nk_draw_command *cmd = 0; NK_ASSERT(list); if (!list) return; if (!list->cmd_count) nk_draw_list_add_clip(list, nk_null_rect); cmd = nk_draw_list_command_last(list); if (cmd && cmd->texture.ptr != list->config.null.texture.ptr) nk_draw_list_push_image(list, list->config.null.texture); points = nk_draw_list_alloc_path(list, 1); if (!points) return; points[0] = pos; } NK_API void nk_draw_list_path_arc_to_fast(struct nk_draw_list *list, struct nk_vec2 center, float radius, int a_min, int a_max) { int a = 0; NK_ASSERT(list); if (!list) return; if (a_min <= a_max) { for (a = a_min; a <= a_max; a++) { const struct nk_vec2 c = list->circle_vtx[(nk_size)a % NK_LEN(list->circle_vtx)]; const float x = center.x + c.x * radius; const float y = center.y + c.y * radius; nk_draw_list_path_line_to(list, nk_vec2(x, y)); } } } NK_API void nk_draw_list_path_arc_to(struct nk_draw_list *list, struct nk_vec2 center, float radius, float a_min, float a_max, unsigned int segments) { unsigned int i = 0; NK_ASSERT(list); if (!list) return; if (radius == 0.0f) return; /* This algorithm for arc drawing relies on these two trigonometric identities[1]: sin(a + b) = sin(a) * cos(b) + cos(a) * sin(b) cos(a + b) = cos(a) * cos(b) - sin(a) * sin(b) Two coordinates (x, y) of a point on a circle centered on the origin can be written in polar form as: x = r * cos(a) y = r * sin(a) where r is the radius of the circle, a is the angle between (x, y) and the origin. This allows us to rotate the coordinates around the origin by an angle b using the following transformation: x' = r * cos(a + b) = x * cos(b) - y * sin(b) y' = r * sin(a + b) = y * cos(b) + x * sin(b) [1] https://en.wikipedia.org/wiki/List_of_trigonometric_identities#Angle_sum_and_difference_identities */ {const float d_angle = (a_max - a_min) / (float)segments; const float sin_d = (float)NK_SIN(d_angle); const float cos_d = (float)NK_COS(d_angle); float cx = (float)NK_COS(a_min) * radius; float cy = (float)NK_SIN(a_min) * radius; for(i = 0; i <= segments; ++i) { float new_cx, new_cy; const float x = center.x + cx; const float y = center.y + cy; nk_draw_list_path_line_to(list, nk_vec2(x, y)); new_cx = cx * cos_d - cy * sin_d; new_cy = cy * cos_d + cx * sin_d; cx = new_cx; cy = new_cy; }} } NK_API void nk_draw_list_path_rect_to(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, float rounding) { float r; NK_ASSERT(list); if (!list) return; r = rounding; r = NK_MIN(r, ((b.x-a.x) < 0) ? -(b.x-a.x): (b.x-a.x)); r = NK_MIN(r, ((b.y-a.y) < 0) ? -(b.y-a.y): (b.y-a.y)); if (r == 0.0f) { nk_draw_list_path_line_to(list, a); nk_draw_list_path_line_to(list, nk_vec2(b.x,a.y)); nk_draw_list_path_line_to(list, b); nk_draw_list_path_line_to(list, nk_vec2(a.x,b.y)); } else { nk_draw_list_path_arc_to_fast(list, nk_vec2(a.x + r, a.y + r), r, 6, 9); nk_draw_list_path_arc_to_fast(list, nk_vec2(b.x - r, a.y + r), r, 9, 12); nk_draw_list_path_arc_to_fast(list, nk_vec2(b.x - r, b.y - r), r, 0, 3); nk_draw_list_path_arc_to_fast(list, nk_vec2(a.x + r, b.y - r), r, 3, 6); } } NK_API void nk_draw_list_path_curve_to(struct nk_draw_list *list, struct nk_vec2 p2, struct nk_vec2 p3, struct nk_vec2 p4, unsigned int num_segments) { float t_step; unsigned int i_step; struct nk_vec2 p1; NK_ASSERT(list); NK_ASSERT(list->path_count); if (!list || !list->path_count) return; num_segments = NK_MAX(num_segments, 1); p1 = nk_draw_list_path_last(list); t_step = 1.0f/(float)num_segments; for (i_step = 1; i_step <= num_segments; ++i_step) { float t = t_step * (float)i_step; float u = 1.0f - t; float w1 = u*u*u; float w2 = 3*u*u*t; float w3 = 3*u*t*t; float w4 = t * t *t; float x = w1 * p1.x + w2 * p2.x + w3 * p3.x + w4 * p4.x; float y = w1 * p1.y + w2 * p2.y + w3 * p3.y + w4 * p4.y; nk_draw_list_path_line_to(list, nk_vec2(x,y)); } } NK_API void nk_draw_list_path_fill(struct nk_draw_list *list, struct nk_color color) { struct nk_vec2 *points; NK_ASSERT(list); if (!list) return; points = (struct nk_vec2*)nk_buffer_memory(list->buffer); nk_draw_list_fill_poly_convex(list, points, list->path_count, color, list->config.shape_AA); nk_draw_list_path_clear(list); } NK_API void nk_draw_list_path_stroke(struct nk_draw_list *list, struct nk_color color, enum nk_draw_list_stroke closed, float thickness) { struct nk_vec2 *points; NK_ASSERT(list); if (!list) return; points = (struct nk_vec2*)nk_buffer_memory(list->buffer); nk_draw_list_stroke_poly_line(list, points, list->path_count, color, closed, thickness, list->config.line_AA); nk_draw_list_path_clear(list); } NK_API void nk_draw_list_stroke_line(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, struct nk_color col, float thickness) { NK_ASSERT(list); if (!list || !col.a) return; if (list->line_AA == NK_ANTI_ALIASING_ON) { nk_draw_list_path_line_to(list, a); nk_draw_list_path_line_to(list, b); } else { nk_draw_list_path_line_to(list, nk_vec2_sub(a,nk_vec2(0.5f,0.5f))); nk_draw_list_path_line_to(list, nk_vec2_sub(b,nk_vec2(0.5f,0.5f))); } nk_draw_list_path_stroke(list, col, NK_STROKE_OPEN, thickness); } NK_API void nk_draw_list_fill_rect(struct nk_draw_list *list, struct nk_rect rect, struct nk_color col, float rounding) { NK_ASSERT(list); if (!list || !col.a) return; if (list->line_AA == NK_ANTI_ALIASING_ON) { nk_draw_list_path_rect_to(list, nk_vec2(rect.x, rect.y), nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding); } else { nk_draw_list_path_rect_to(list, nk_vec2(rect.x-0.5f, rect.y-0.5f), nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding); } nk_draw_list_path_fill(list, col); } NK_API void nk_draw_list_stroke_rect(struct nk_draw_list *list, struct nk_rect rect, struct nk_color col, float rounding, float thickness) { NK_ASSERT(list); if (!list || !col.a) return; if (list->line_AA == NK_ANTI_ALIASING_ON) { nk_draw_list_path_rect_to(list, nk_vec2(rect.x, rect.y), nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding); } else { nk_draw_list_path_rect_to(list, nk_vec2(rect.x-0.5f, rect.y-0.5f), nk_vec2(rect.x + rect.w, rect.y + rect.h), rounding); } nk_draw_list_path_stroke(list, col, NK_STROKE_CLOSED, thickness); } NK_API void nk_draw_list_fill_rect_multi_color(struct nk_draw_list *list, struct nk_rect rect, struct nk_color left, struct nk_color top, struct nk_color right, struct nk_color bottom) { void *vtx; struct nk_colorf col_left, col_top; struct nk_colorf col_right, col_bottom; nk_draw_index *idx; nk_draw_index index; nk_color_fv(&col_left.r, left); nk_color_fv(&col_right.r, right); nk_color_fv(&col_top.r, top); nk_color_fv(&col_bottom.r, bottom); NK_ASSERT(list); if (!list) return; nk_draw_list_push_image(list, list->config.null.texture); index = (nk_draw_index)list->vertex_count; vtx = nk_draw_list_alloc_vertices(list, 4); idx = nk_draw_list_alloc_elements(list, 6); if (!vtx || !idx) return; idx[0] = (nk_draw_index)(index+0); idx[1] = (nk_draw_index)(index+1); idx[2] = (nk_draw_index)(index+2); idx[3] = (nk_draw_index)(index+0); idx[4] = (nk_draw_index)(index+2); idx[5] = (nk_draw_index)(index+3); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x, rect.y), list->config.null.uv, col_left); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x + rect.w, rect.y), list->config.null.uv, col_top); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x + rect.w, rect.y + rect.h), list->config.null.uv, col_right); vtx = nk_draw_vertex(vtx, &list->config, nk_vec2(rect.x, rect.y + rect.h), list->config.null.uv, col_bottom); } NK_API void nk_draw_list_fill_triangle(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color col) { NK_ASSERT(list); if (!list || !col.a) return; nk_draw_list_path_line_to(list, a); nk_draw_list_path_line_to(list, b); nk_draw_list_path_line_to(list, c); nk_draw_list_path_fill(list, col); } NK_API void nk_draw_list_stroke_triangle(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 b, struct nk_vec2 c, struct nk_color col, float thickness) { NK_ASSERT(list); if (!list || !col.a) return; nk_draw_list_path_line_to(list, a); nk_draw_list_path_line_to(list, b); nk_draw_list_path_line_to(list, c); nk_draw_list_path_stroke(list, col, NK_STROKE_CLOSED, thickness); } NK_API void nk_draw_list_fill_circle(struct nk_draw_list *list, struct nk_vec2 center, float radius, struct nk_color col, unsigned int segs) { float a_max; NK_ASSERT(list); if (!list || !col.a) return; a_max = NK_PI * 2.0f * ((float)segs - 1.0f) / (float)segs; nk_draw_list_path_arc_to(list, center, radius, 0.0f, a_max, segs); nk_draw_list_path_fill(list, col); } NK_API void nk_draw_list_stroke_circle(struct nk_draw_list *list, struct nk_vec2 center, float radius, struct nk_color col, unsigned int segs, float thickness) { float a_max; NK_ASSERT(list); if (!list || !col.a) return; a_max = NK_PI * 2.0f * ((float)segs - 1.0f) / (float)segs; nk_draw_list_path_arc_to(list, center, radius, 0.0f, a_max, segs); nk_draw_list_path_stroke(list, col, NK_STROKE_CLOSED, thickness); } NK_API void nk_draw_list_stroke_curve(struct nk_draw_list *list, struct nk_vec2 p0, struct nk_vec2 cp0, struct nk_vec2 cp1, struct nk_vec2 p1, struct nk_color col, unsigned int segments, float thickness) { NK_ASSERT(list); if (!list || !col.a) return; nk_draw_list_path_line_to(list, p0); nk_draw_list_path_curve_to(list, cp0, cp1, p1, segments); nk_draw_list_path_stroke(list, col, NK_STROKE_OPEN, thickness); } NK_INTERN void nk_draw_list_push_rect_uv(struct nk_draw_list *list, struct nk_vec2 a, struct nk_vec2 c, struct nk_vec2 uva, struct nk_vec2 uvc, struct nk_color color) { void *vtx; struct nk_vec2 uvb; struct nk_vec2 uvd; struct nk_vec2 b; struct nk_vec2 d; struct nk_colorf col; nk_draw_index *idx; nk_draw_index index; NK_ASSERT(list); if (!list) return; nk_color_fv(&col.r, color); uvb = nk_vec2(uvc.x, uva.y); uvd = nk_vec2(uva.x, uvc.y); b = nk_vec2(c.x, a.y); d = nk_vec2(a.x, c.y); index = (nk_draw_index)list->vertex_count; vtx = nk_draw_list_alloc_vertices(list, 4); idx = nk_draw_list_alloc_elements(list, 6); if (!vtx || !idx) return; idx[0] = (nk_draw_index)(index+0); idx[1] = (nk_draw_index)(index+1); idx[2] = (nk_draw_index)(index+2); idx[3] = (nk_draw_index)(index+0); idx[4] = (nk_draw_index)(index+2); idx[5] = (nk_draw_index)(index+3); vtx = nk_draw_vertex(vtx, &list->config, a, uva, col); vtx = nk_draw_vertex(vtx, &list->config, b, uvb, col); vtx = nk_draw_vertex(vtx, &list->config, c, uvc, col); vtx = nk_draw_vertex(vtx, &list->config, d, uvd, col); } NK_API void nk_draw_list_add_image(struct nk_draw_list *list, struct nk_image texture, struct nk_rect rect, struct nk_color color) { NK_ASSERT(list); if (!list) return; /* push new command with given texture */ nk_draw_list_push_image(list, texture.handle); if (nk_image_is_subimage(&texture)) { /* add region inside of the texture */ struct nk_vec2 uv[2]; uv[0].x = (float)texture.region[0]/(float)texture.w; uv[0].y = (float)texture.region[1]/(float)texture.h; uv[1].x = (float)(texture.region[0] + texture.region[2])/(float)texture.w; uv[1].y = (float)(texture.region[1] + texture.region[3])/(float)texture.h; nk_draw_list_push_rect_uv(list, nk_vec2(rect.x, rect.y), nk_vec2(rect.x + rect.w, rect.y + rect.h), uv[0], uv[1], color); } else nk_draw_list_push_rect_uv(list, nk_vec2(rect.x, rect.y), nk_vec2(rect.x + rect.w, rect.y + rect.h), nk_vec2(0.0f, 0.0f), nk_vec2(1.0f, 1.0f),color); } NK_API void nk_draw_list_add_text(struct nk_draw_list *list, const struct nk_user_font *font, struct nk_rect rect, const char *text, int len, float font_height, struct nk_color fg) { float x = 0; int text_len = 0; nk_rune unicode = 0; nk_rune next = 0; int glyph_len = 0; int next_glyph_len = 0; struct nk_user_font_glyph g; NK_ASSERT(list); if (!list || !len || !text) return; if (!NK_INTERSECT(rect.x, rect.y, rect.w, rect.h, list->clip_rect.x, list->clip_rect.y, list->clip_rect.w, list->clip_rect.h)) return; nk_draw_list_push_image(list, font->texture); x = rect.x; glyph_len = nk_utf_decode(text, &unicode, len); if (!glyph_len) return; /* draw every glyph image */ fg.a = (nk_byte)((float)fg.a * list->config.global_alpha); while (text_len < len && glyph_len) { float gx, gy, gh, gw; float char_width = 0; if (unicode == NK_UTF_INVALID) break; /* query currently drawn glyph information */ next_glyph_len = nk_utf_decode(text + text_len + glyph_len, &next, (int)len - text_len); font->query(font->userdata, font_height, &g, unicode, (next == NK_UTF_INVALID) ? '\0' : next); /* calculate and draw glyph drawing rectangle and image */ gx = x + g.offset.x; gy = rect.y + g.offset.y; gw = g.width; gh = g.height; char_width = g.xadvance; nk_draw_list_push_rect_uv(list, nk_vec2(gx,gy), nk_vec2(gx + gw, gy+ gh), g.uv[0], g.uv[1], fg); /* offset next glyph */ text_len += glyph_len; x += char_width; glyph_len = next_glyph_len; unicode = next; } } NK_API nk_flags nk_convert(struct nk_context *ctx, struct nk_buffer *cmds, struct nk_buffer *vertices, struct nk_buffer *elements, const struct nk_convert_config *config) { nk_flags res = NK_CONVERT_SUCCESS; const struct nk_command *cmd; NK_ASSERT(ctx); NK_ASSERT(cmds); NK_ASSERT(vertices); NK_ASSERT(elements); NK_ASSERT(config); NK_ASSERT(config->vertex_layout); NK_ASSERT(config->vertex_size); if (!ctx || !cmds || !vertices || !elements || !config || !config->vertex_layout) return NK_CONVERT_INVALID_PARAM; nk_draw_list_setup(&ctx->draw_list, config, cmds, vertices, elements, config->line_AA, config->shape_AA); nk_foreach(cmd, ctx) { #ifdef NK_INCLUDE_COMMAND_USERDATA ctx->draw_list.userdata = cmd->userdata; #endif switch (cmd->type) { case NK_COMMAND_NOP: break; case NK_COMMAND_SCISSOR: { const struct nk_command_scissor *s = (const struct nk_command_scissor*)cmd; nk_draw_list_add_clip(&ctx->draw_list, nk_rect(s->x, s->y, s->w, s->h)); } break; case NK_COMMAND_LINE: { const struct nk_command_line *l = (const struct nk_command_line*)cmd; nk_draw_list_stroke_line(&ctx->draw_list, nk_vec2(l->begin.x, l->begin.y), nk_vec2(l->end.x, l->end.y), l->color, l->line_thickness); } break; case NK_COMMAND_CURVE: { const struct nk_command_curve *q = (const struct nk_command_curve*)cmd; nk_draw_list_stroke_curve(&ctx->draw_list, nk_vec2(q->begin.x, q->begin.y), nk_vec2(q->ctrl[0].x, q->ctrl[0].y), nk_vec2(q->ctrl[1].x, q->ctrl[1].y), nk_vec2(q->end.x, q->end.y), q->color, config->curve_segment_count, q->line_thickness); } break; case NK_COMMAND_RECT: { const struct nk_command_rect *r = (const struct nk_command_rect*)cmd; nk_draw_list_stroke_rect(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h), r->color, (float)r->rounding, r->line_thickness); } break; case NK_COMMAND_RECT_FILLED: { const struct nk_command_rect_filled *r = (const struct nk_command_rect_filled*)cmd; nk_draw_list_fill_rect(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h), r->color, (float)r->rounding); } break; case NK_COMMAND_RECT_MULTI_COLOR: { const struct nk_command_rect_multi_color *r = (const struct nk_command_rect_multi_color*)cmd; nk_draw_list_fill_rect_multi_color(&ctx->draw_list, nk_rect(r->x, r->y, r->w, r->h), r->left, r->top, r->right, r->bottom); } break; case NK_COMMAND_CIRCLE: { const struct nk_command_circle *c = (const struct nk_command_circle*)cmd; nk_draw_list_stroke_circle(&ctx->draw_list, nk_vec2((float)c->x + (float)c->w/2, (float)c->y + (float)c->h/2), (float)c->w/2, c->color, config->circle_segment_count, c->line_thickness); } break; case NK_COMMAND_CIRCLE_FILLED: { const struct nk_command_circle_filled *c = (const struct nk_command_circle_filled *)cmd; nk_draw_list_fill_circle(&ctx->draw_list, nk_vec2((float)c->x + (float)c->w/2, (float)c->y + (float)c->h/2), (float)c->w/2, c->color, config->circle_segment_count); } break; case NK_COMMAND_ARC: { const struct nk_command_arc *c = (const struct nk_command_arc*)cmd; nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy)); nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r, c->a[0], c->a[1], config->arc_segment_count); nk_draw_list_path_stroke(&ctx->draw_list, c->color, NK_STROKE_CLOSED, c->line_thickness); } break; case NK_COMMAND_ARC_FILLED: { const struct nk_command_arc_filled *c = (const struct nk_command_arc_filled*)cmd; nk_draw_list_path_line_to(&ctx->draw_list, nk_vec2(c->cx, c->cy)); nk_draw_list_path_arc_to(&ctx->draw_list, nk_vec2(c->cx, c->cy), c->r, c->a[0], c->a[1], config->arc_segment_count); nk_draw_list_path_fill(&ctx->draw_list, c->color); } break; case NK_COMMAND_TRIANGLE: { const struct nk_command_triangle *t = (const struct nk_command_triangle*)cmd; nk_draw_list_stroke_triangle(&ctx->draw_list, nk_vec2(t->a.x, t->a.y), nk_vec2(t->b.x, t->b.y), nk_vec2(t->c.x, t->c.y), t->color, t->line_thickness); } break; case NK_COMMAND_TRIANGLE_FILLED: { const struct nk_command_triangle_filled *t = (const struct nk_command_triangle_filled*)cmd; nk_draw_list_fill_triangle(&ctx->draw_list, nk_vec2(t->a.x, t->a.y), nk_vec2(t->b.x, t->b.y), nk_vec2(t->c.x, t->c.y), t->color); } break; case NK_COMMAND_POLYGON: { int i; const struct nk_command_polygon*p = (const struct nk_command_polygon*)cmd; for (i = 0; i < p->point_count; ++i) { struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y); nk_draw_list_path_line_to(&ctx->draw_list, pnt); } nk_draw_list_path_stroke(&ctx->draw_list, p->color, NK_STROKE_CLOSED, p->line_thickness); } break; case NK_COMMAND_POLYGON_FILLED: { int i; const struct nk_command_polygon_filled *p = (const struct nk_command_polygon_filled*)cmd; for (i = 0; i < p->point_count; ++i) { struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y); nk_draw_list_path_line_to(&ctx->draw_list, pnt); } nk_draw_list_path_fill(&ctx->draw_list, p->color); } break; case NK_COMMAND_POLYLINE: { int i; const struct nk_command_polyline *p = (const struct nk_command_polyline*)cmd; for (i = 0; i < p->point_count; ++i) { struct nk_vec2 pnt = nk_vec2((float)p->points[i].x, (float)p->points[i].y); nk_draw_list_path_line_to(&ctx->draw_list, pnt); } nk_draw_list_path_stroke(&ctx->draw_list, p->color, NK_STROKE_OPEN, p->line_thickness); } break; case NK_COMMAND_TEXT: { const struct nk_command_text *t = (const struct nk_command_text*)cmd; nk_draw_list_add_text(&ctx->draw_list, t->font, nk_rect(t->x, t->y, t->w, t->h), t->string, t->length, t->height, t->foreground); } break; case NK_COMMAND_IMAGE: { const struct nk_command_image *i = (const struct nk_command_image*)cmd; nk_draw_list_add_image(&ctx->draw_list, i->img, nk_rect(i->x, i->y, i->w, i->h), i->col); } break; case NK_COMMAND_CUSTOM: { const struct nk_command_custom *c = (const struct nk_command_custom*)cmd; c->callback(&ctx->draw_list, c->x, c->y, c->w, c->h, c->callback_data); } break; default: break; } } res |= (cmds->needed > cmds->allocated + (cmds->memory.size - cmds->size)) ? NK_CONVERT_COMMAND_BUFFER_FULL: 0; res |= (vertices->needed > vertices->allocated) ? NK_CONVERT_VERTEX_BUFFER_FULL: 0; res |= (elements->needed > elements->allocated) ? NK_CONVERT_ELEMENT_BUFFER_FULL: 0; return res; } NK_API const struct nk_draw_command* nk__draw_begin(const struct nk_context *ctx, const struct nk_buffer *buffer) { return nk__draw_list_begin(&ctx->draw_list, buffer); } NK_API const struct nk_draw_command* nk__draw_end(const struct nk_context *ctx, const struct nk_buffer *buffer) { return nk__draw_list_end(&ctx->draw_list, buffer); } NK_API const struct nk_draw_command* nk__draw_next(const struct nk_draw_command *cmd, const struct nk_buffer *buffer, const struct nk_context *ctx) { return nk__draw_list_next(cmd, buffer, &ctx->draw_list); } #endif /* stb_rect_pack.h - v1.00 - public domain - rectangle packing */ /* Sean Barrett 2014 */ /* */ /* Useful for e.g. packing rectangular textures into an atlas. */ /* Does not do rotation. */ /* */ /* Not necessarily the awesomest packing method, but better than */ /* the totally naive one in stb_truetype (which is primarily what */ /* this is meant to replace). */ /* */ /* Has only had a few tests run, may have issues. */ /* */ /* More docs to come. */ /* */ /* No memory allocations; uses qsort() and assert() from stdlib. */ /* Can override those by defining STBRP_SORT and STBRP_ASSERT. */ /* */ /* This library currently uses the Skyline Bottom-Left algorithm. */ /* */ /* Please note: better rectangle packers are welcome! Please */ /* implement them to the same API, but with a different init */ /* function. */ /* */ /* Credits */ /* */ /* Library */ /* Sean Barrett */ /* Minor features */ /* Martins Mozeiko */ /* github:IntellectualKitty */ /* */ /* Bugfixes / warning fixes */ /* Jeremy Jaussaud */ /* Fabian Giesen */ /* */ /* Version history: */ /* */ /* 1.00 (2019-02-25) avoid small space waste; gracefully fail too-wide rectangles */ /* 0.99 (2019-02-07) warning fixes */ /* 0.11 (2017-03-03) return packing success/fail result */ /* 0.10 (2016-10-25) remove cast-away-const to avoid warnings */ /* 0.09 (2016-08-27) fix compiler warnings */ /* 0.08 (2015-09-13) really fix bug with empty rects (w=0 or h=0) */ /* 0.07 (2015-09-13) fix bug with empty rects (w=0 or h=0) */ /* 0.06 (2015-04-15) added STBRP_SORT to allow replacing qsort */ /* 0.05: added STBRP_ASSERT to allow replacing assert */ /* 0.04: fixed minor bug in STBRP_LARGE_RECTS support */ /* 0.01: initial release */ /* */ /* LICENSE */ /* */ /* See end of file for license information. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* INCLUDE SECTION */ /* */ #ifndef STB_INCLUDE_STB_RECT_PACK_H #define STB_INCLUDE_STB_RECT_PACK_H #define STB_RECT_PACK_VERSION 1 #ifdef STBRP_STATIC #define STBRP_DEF static #else #define STBRP_DEF extern #endif #ifdef __cplusplus extern "C" { #endif typedef struct stbrp_context stbrp_context; typedef struct stbrp_node stbrp_node; typedef struct stbrp_rect stbrp_rect; #ifdef STBRP_LARGE_RECTS typedef int stbrp_coord; #else typedef unsigned short stbrp_coord; #endif STBRP_DEF int stbrp_pack_rects (stbrp_context *context, stbrp_rect *rects, int num_rects); /* Assign packed locations to rectangles. The rectangles are of type */ /* 'stbrp_rect' defined below, stored in the array 'rects', and there */ /* are 'num_rects' many of them. */ /* */ /* Rectangles which are successfully packed have the 'was_packed' flag */ /* set to a non-zero value and 'x' and 'y' store the minimum location */ /* on each axis (i.e. bottom-left in cartesian coordinates, top-left */ /* if you imagine y increasing downwards). Rectangles which do not fit */ /* have the 'was_packed' flag set to 0. */ /* */ /* You should not try to access the 'rects' array from another thread */ /* while this function is running, as the function temporarily reorders */ /* the array while it executes. */ /* */ /* To pack into another rectangle, you need to call stbrp_init_target */ /* again. To continue packing into the same rectangle, you can call */ /* this function again. Calling this multiple times with multiple rect */ /* arrays will probably produce worse packing results than calling it */ /* a single time with the full rectangle array, but the option is */ /* available. */ /* */ /* The function returns 1 if all of the rectangles were successfully */ /* packed and 0 otherwise. */ struct stbrp_rect { /* reserved for your use: */ int id; /* input: */ stbrp_coord w, h; /* output: */ stbrp_coord x, y; int was_packed; /* non-zero if valid packing */ }; /* 16 bytes, nominally */ STBRP_DEF void stbrp_init_target (stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes); /* Initialize a rectangle packer to: */ /* pack a rectangle that is 'width' by 'height' in dimensions */ /* using temporary storage provided by the array 'nodes', which is 'num_nodes' long */ /* */ /* You must call this function every time you start packing into a new target. */ /* */ /* There is no "shutdown" function. The 'nodes' memory must stay valid for */ /* the following stbrp_pack_rects() call (or calls), but can be freed after */ /* the call (or calls) finish. */ /* */ /* Note: to guarantee best results, either: */ /* 1. make sure 'num_nodes' >= 'width' */ /* or 2. call stbrp_allow_out_of_mem() defined below with 'allow_out_of_mem = 1' */ /* */ /* If you don't do either of the above things, widths will be quantized to multiples */ /* of small integers to guarantee the algorithm doesn't run out of temporary storage. */ /* */ /* If you do #2, then the non-quantized algorithm will be used, but the algorithm */ /* may run out of temporary storage and be unable to pack some rectangles. */ STBRP_DEF void stbrp_setup_allow_out_of_mem (stbrp_context *context, int allow_out_of_mem); /* Optionally call this function after init but before doing any packing to */ /* change the handling of the out-of-temp-memory scenario, described above. */ /* If you call init again, this will be reset to the default (false). */ STBRP_DEF void stbrp_setup_heuristic (stbrp_context *context, int heuristic); /* Optionally select which packing heuristic the library should use. Different */ /* heuristics will produce better/worse results for different data sets. */ /* If you call init again, this will be reset to the default. */ enum { STBRP_HEURISTIC_Skyline_default=0, STBRP_HEURISTIC_Skyline_BL_sortHeight = STBRP_HEURISTIC_Skyline_default, STBRP_HEURISTIC_Skyline_BF_sortHeight }; /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* the details of the following structures don't matter to you, but they must */ /* be visible so you can handle the memory allocations for them */ struct stbrp_node { stbrp_coord x,y; stbrp_node *next; }; struct stbrp_context { int width; int height; int align; int init_mode; int heuristic; int num_nodes; stbrp_node *active_head; stbrp_node *free_head; stbrp_node extra[2]; /* we allocate two extra nodes so optimal user-node-count is 'width' not 'width+2' */ }; #ifdef __cplusplus } #endif #endif /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* IMPLEMENTATION SECTION */ /* */ #ifdef STB_RECT_PACK_IMPLEMENTATION #ifndef STBRP_SORT #include <stdlib.h> #define STBRP_SORT qsort #endif #ifndef STBRP_ASSERT #include <assert.h> #define STBRP_ASSERT assert #endif #ifdef _MSC_VER #define STBRP__NOTUSED(v) (void)(v) #else #define STBRP__NOTUSED(v) (void)sizeof(v) #endif enum { STBRP__INIT_skyline = 1 }; STBRP_DEF void stbrp_setup_heuristic(stbrp_context *context, int heuristic) { switch (context->init_mode) { case STBRP__INIT_skyline: STBRP_ASSERT(heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight || heuristic == STBRP_HEURISTIC_Skyline_BF_sortHeight); context->heuristic = heuristic; break; default: STBRP_ASSERT(0); } } STBRP_DEF void stbrp_setup_allow_out_of_mem(stbrp_context *context, int allow_out_of_mem) { if (allow_out_of_mem) /* if it's ok to run out of memory, then don't bother aligning them; */ /* this gives better packing, but may fail due to OOM (even though */ /* the rectangles easily fit). @TODO a smarter approach would be to only */ /* quantize once we've hit OOM, then we could get rid of this parameter. */ context->align = 1; else { /* if it's not ok to run out of memory, then quantize the widths */ /* so that num_nodes is always enough nodes. */ /* */ /* I.e. num_nodes * align >= width */ /* align >= width / num_nodes */ /* align = ceil(width/num_nodes) */ context->align = (context->width + context->num_nodes-1) / context->num_nodes; } } STBRP_DEF void stbrp_init_target(stbrp_context *context, int width, int height, stbrp_node *nodes, int num_nodes) { int i; #ifndef STBRP_LARGE_RECTS STBRP_ASSERT(width <= 0xffff && height <= 0xffff); #endif for (i=0; i < num_nodes-1; ++i) nodes[i].next = &nodes[i+1]; nodes[i].next = NULL; context->init_mode = STBRP__INIT_skyline; context->heuristic = STBRP_HEURISTIC_Skyline_default; context->free_head = &nodes[0]; context->active_head = &context->extra[0]; context->width = width; context->height = height; context->num_nodes = num_nodes; stbrp_setup_allow_out_of_mem(context, 0); /* node 0 is the full width, node 1 is the sentinel (lets us not store width explicitly) */ context->extra[0].x = 0; context->extra[0].y = 0; context->extra[0].next = &context->extra[1]; context->extra[1].x = (stbrp_coord) width; #ifdef STBRP_LARGE_RECTS context->extra[1].y = (1<<30); #else context->extra[1].y = 65535; #endif context->extra[1].next = NULL; } /* find minimum y position if it starts at x1 */ static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0, int width, int *pwaste) { stbrp_node *node = first; int x1 = x0 + width; int min_y, visited_width, waste_area; STBRP__NOTUSED(c); STBRP_ASSERT(first->x <= x0); #if 0 /* skip in case we're past the node */ while (node->next->x <= x0) ++node; #else STBRP_ASSERT(node->next->x > x0); /* we ended up handling this in the caller for efficiency */ #endif STBRP_ASSERT(node->x <= x0); min_y = 0; waste_area = 0; visited_width = 0; while (node->x < x1) { if (node->y > min_y) { /* raise min_y higher. */ /* we've accounted for all waste up to min_y, */ /* but we'll now add more waste for everything we've visted */ waste_area += visited_width * (node->y - min_y); min_y = node->y; /* the first time through, visited_width might be reduced */ if (node->x < x0) visited_width += node->next->x - x0; else visited_width += node->next->x - node->x; } else { /* add waste area */ int under_width = node->next->x - node->x; if (under_width + visited_width > width) under_width = width - visited_width; waste_area += under_width * (min_y - node->y); visited_width += under_width; } node = node->next; } *pwaste = waste_area; return min_y; } typedef struct { int x,y; stbrp_node **prev_link; } stbrp__findresult; static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int width, int height) { int best_waste = (1<<30), best_x, best_y = (1 << 30); stbrp__findresult fr; stbrp_node **prev, *node, *tail, **best = NULL; /* align to multiple of c->align */ width = (width + c->align - 1); width -= width % c->align; STBRP_ASSERT(width % c->align == 0); /* if it can't possibly fit, bail immediately */ if (width > c->width || height > c->height) { fr.prev_link = NULL; fr.x = fr.y = 0; return fr; } node = c->active_head; prev = &c->active_head; while (node->x + width <= c->width) { int y,waste; y = stbrp__skyline_find_min_y(c, node, node->x, width, &waste); if (c->heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight) { /* actually just want to test BL */ /* bottom left */ if (y < best_y) { best_y = y; best = prev; } } else { /* best-fit */ if (y + height <= c->height) { /* can only use it if it first vertically */ if (y < best_y || (y == best_y && waste < best_waste)) { best_y = y; best_waste = waste; best = prev; } } } prev = &node->next; node = node->next; } best_x = (best == NULL) ? 0 : (*best)->x; /* if doing best-fit (BF), we also have to try aligning right edge to each node position */ /* */ /* e.g, if fitting */ /* */ /* ____________________ */ /* |____________________| */ /* */ /* into */ /* */ /* | | */ /* | ____________| */ /* |____________| */ /* */ /* then right-aligned reduces waste, but bottom-left BL is always chooses left-aligned */ /* */ /* This makes BF take about 2x the time */ if (c->heuristic == STBRP_HEURISTIC_Skyline_BF_sortHeight) { tail = c->active_head; node = c->active_head; prev = &c->active_head; /* find first node that's admissible */ while (tail->x < width) tail = tail->next; while (tail) { int xpos = tail->x - width; int y,waste; STBRP_ASSERT(xpos >= 0); /* find the left position that matches this */ while (node->next->x <= xpos) { prev = &node->next; node = node->next; } STBRP_ASSERT(node->next->x > xpos && node->x <= xpos); y = stbrp__skyline_find_min_y(c, node, xpos, width, &waste); if (y + height <= c->height) { if (y <= best_y) { if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { best_x = xpos; STBRP_ASSERT(y <= best_y); best_y = y; best_waste = waste; best = prev; } } } tail = tail->next; } } fr.prev_link = best; fr.x = best_x; fr.y = best_y; return fr; } static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, int width, int height) { /* find best position according to heuristic */ stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height); stbrp_node *node, *cur; /* bail if: */ /* 1. it failed */ /* 2. the best node doesn't fit (we don't always check this) */ /* 3. we're out of memory */ if (res.prev_link == NULL || res.y + height > context->height || context->free_head == NULL) { res.prev_link = NULL; return res; } /* on success, create new node */ node = context->free_head; node->x = (stbrp_coord) res.x; node->y = (stbrp_coord) (res.y + height); context->free_head = node->next; /* insert the new node into the right starting point, and */ /* let 'cur' point to the remaining nodes needing to be */ /* stiched back in */ cur = *res.prev_link; if (cur->x < res.x) { /* preserve the existing one, so start testing with the next one */ stbrp_node *next = cur->next; cur->next = node; cur = next; } else { *res.prev_link = node; } /* from here, traverse cur and free the nodes, until we get to one */ /* that shouldn't be freed */ while (cur->next && cur->next->x <= res.x + width) { stbrp_node *next = cur->next; /* move the current node to the free list */ cur->next = context->free_head; context->free_head = cur; cur = next; } /* stitch the list back in */ node->next = cur; if (cur->x < res.x + width) cur->x = (stbrp_coord) (res.x + width); #ifdef _DEBUG cur = context->active_head; while (cur->x < context->width) { STBRP_ASSERT(cur->x < cur->next->x); cur = cur->next; } STBRP_ASSERT(cur->next == NULL); { int count=0; cur = context->active_head; while (cur) { cur = cur->next; ++count; } cur = context->free_head; while (cur) { cur = cur->next; ++count; } STBRP_ASSERT(count == context->num_nodes+2); } #endif return res; } static int rect_height_compare(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; const stbrp_rect *q = (const stbrp_rect *) b; if (p->h > q->h) return -1; if (p->h < q->h) return 1; return (p->w > q->w) ? -1 : (p->w < q->w); } static int rect_original_order(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; const stbrp_rect *q = (const stbrp_rect *) b; return (p->was_packed < q->was_packed) ? -1 : (p->was_packed > q->was_packed); } #ifdef STBRP_LARGE_RECTS #define STBRP__MAXVAL 0xffffffff #else #define STBRP__MAXVAL 0xffff #endif STBRP_DEF int stbrp_pack_rects(stbrp_context *context, stbrp_rect *rects, int num_rects) { int i, all_rects_packed = 1; /* we use the 'was_packed' field internally to allow sorting/unsorting */ for (i=0; i < num_rects; ++i) { rects[i].was_packed = i; } /* sort according to heuristic */ STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_height_compare); for (i=0; i < num_rects; ++i) { if (rects[i].w == 0 || rects[i].h == 0) { rects[i].x = rects[i].y = 0; /* empty rect needs no space */ } else { stbrp__findresult fr = stbrp__skyline_pack_rectangle(context, rects[i].w, rects[i].h); if (fr.prev_link) { rects[i].x = (stbrp_coord) fr.x; rects[i].y = (stbrp_coord) fr.y; } else { rects[i].x = rects[i].y = STBRP__MAXVAL; } } } /* unsort */ STBRP_SORT(rects, num_rects, sizeof(rects[0]), rect_original_order); /* set was_packed flags and all_rects_packed status */ for (i=0; i < num_rects; ++i) { rects[i].was_packed = !(rects[i].x == STBRP__MAXVAL && rects[i].y == STBRP__MAXVAL); if (!rects[i].was_packed) all_rects_packed = 0; } /* return the all_rects_packed status */ return all_rects_packed; } #endif /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */ /* stb_truetype.h - v1.24 - public domain */ /* authored from 2009-2020 by Sean Barrett / RAD Game Tools */ /* */ /* ======================================================================= */ /* */ /* NO SECURITY GUARANTEE -- DO NOT USE THIS ON UNTRUSTED FONT FILES */ /* */ /* This library does no range checking of the offsets found in the file, */ /* meaning an attacker can use it to read arbitrary memory. */ /* */ /* ======================================================================= */ /* */ /* This library processes TrueType files: */ /* parse files */ /* extract glyph metrics */ /* extract glyph shapes */ /* render glyphs to one-channel bitmaps with antialiasing (box filter) */ /* render glyphs to one-channel SDF bitmaps (signed-distance field/function) */ /* */ /* Todo: */ /* non-MS cmaps */ /* crashproof on bad data */ /* hinting? (no longer patented) */ /* cleartype-style AA? */ /* optimize: use simple memory allocator for intermediates */ /* optimize: build edge-list directly from curves */ /* optimize: rasterize directly from curves? */ /* */ /* ADDITIONAL CONTRIBUTORS */ /* */ /* Mikko Mononen: compound shape support, more cmap formats */ /* Tor Andersson: kerning, subpixel rendering */ /* Dougall Johnson: OpenType / Type 2 font handling */ /* Daniel Ribeiro Maciel: basic GPOS-based kerning */ /* */ /* Misc other: */ /* Ryan Gordon */ /* Simon Glass */ /* github:IntellectualKitty */ /* Imanol Celaya */ /* Daniel Ribeiro Maciel */ /* */ /* Bug/warning reports/fixes: */ /* "Zer" on mollyrocket Fabian "ryg" Giesen github:NiLuJe */ /* Cass Everitt Martins Mozeiko github:aloucks */ /* stoiko (Haemimont Games) Cap Petschulat github:oyvindjam */ /* Brian Hook Omar Cornut github:vassvik */ /* Walter van Niftrik Ryan Griege */ /* David Gow Peter LaValle */ /* David Given Sergey Popov */ /* Ivan-Assen Ivanov Giumo X. Clanjor */ /* Anthony Pesch Higor Euripedes */ /* Johan Duparc Thomas Fields */ /* Hou Qiming Derek Vinyard */ /* Rob Loach Cort Stratton */ /* Kenney Phillis Jr. Brian Costabile */ /* Ken Voskuil (kaesve) */ /* */ /* VERSION HISTORY */ /* */ /* 1.24 (2020-02-05) fix warning */ /* 1.23 (2020-02-02) query SVG data for glyphs; query whole kerning table (but only kern not GPOS) */ /* 1.22 (2019-08-11) minimize missing-glyph duplication; fix kerning if both 'GPOS' and 'kern' are defined */ /* 1.21 (2019-02-25) fix warning */ /* 1.20 (2019-02-07) PackFontRange skips missing codepoints; GetScaleFontVMetrics() */ /* 1.19 (2018-02-11) GPOS kerning, STBTT_fmod */ /* 1.18 (2018-01-29) add missing function */ /* 1.17 (2017-07-23) make more arguments const; doc fix */ /* 1.16 (2017-07-12) SDF support */ /* 1.15 (2017-03-03) make more arguments const */ /* 1.14 (2017-01-16) num-fonts-in-TTC function */ /* 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts */ /* 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual */ /* 1.11 (2016-04-02) fix unused-variable warning */ /* 1.10 (2016-04-02) user-defined fabs(); rare memory leak; remove duplicate typedef */ /* 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use allocation userdata properly */ /* 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges */ /* 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; */ /* variant PackFontRanges to pack and render in separate phases; */ /* fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); */ /* fixed an assert() bug in the new rasterizer */ /* replace assert() with STBTT_assert() in new rasterizer */ /* */ /* Full history can be found at the end of this file. */ /* */ /* LICENSE */ /* */ /* See end of file for license information. */ /* */ /* USAGE */ /* */ /* Include this file in whatever places need to refer to it. In ONE C/C++ */ /* file, write: */ /* #define STB_TRUETYPE_IMPLEMENTATION */ /* before the #include of this file. This expands out the actual */ /* implementation into that C/C++ file. */ /* */ /* To make the implementation private to the file that generates the implementation, */ /* #define STBTT_STATIC */ /* */ /* Simple 3D API (don't ship this, but it's fine for tools and quick start) */ /* stbtt_BakeFontBitmap() -- bake a font to a bitmap for use as texture */ /* stbtt_GetBakedQuad() -- compute quad to draw for a given char */ /* */ /* Improved 3D API (more shippable): */ /* #include "stb_rect_pack.h" -- optional, but you really want it */ /* stbtt_PackBegin() */ /* stbtt_PackSetOversampling() -- for improved quality on small fonts */ /* stbtt_PackFontRanges() -- pack and renders */ /* stbtt_PackEnd() */ /* stbtt_GetPackedQuad() */ /* */ /* "Load" a font file from a memory buffer (you have to keep the buffer loaded) */ /* stbtt_InitFont() */ /* stbtt_GetFontOffsetForIndex() -- indexing for TTC font collections */ /* stbtt_GetNumberOfFonts() -- number of fonts for TTC font collections */ /* */ /* Render a unicode codepoint to a bitmap */ /* stbtt_GetCodepointBitmap() -- allocates and returns a bitmap */ /* stbtt_MakeCodepointBitmap() -- renders into bitmap you provide */ /* stbtt_GetCodepointBitmapBox() -- how big the bitmap must be */ /* */ /* Character advance/positioning */ /* stbtt_GetCodepointHMetrics() */ /* stbtt_GetFontVMetrics() */ /* stbtt_GetFontVMetricsOS2() */ /* stbtt_GetCodepointKernAdvance() */ /* */ /* Starting with version 1.06, the rasterizer was replaced with a new, */ /* faster and generally-more-precise rasterizer. The new rasterizer more */ /* accurately measures pixel coverage for anti-aliasing, except in the case */ /* where multiple shapes overlap, in which case it overestimates the AA pixel */ /* coverage. Thus, anti-aliasing of intersecting shapes may look wrong. If */ /* this turns out to be a problem, you can re-enable the old rasterizer with */ /* #define STBTT_RASTERIZER_VERSION 1 */ /* which will incur about a 15% speed hit. */ /* */ /* ADDITIONAL DOCUMENTATION */ /* */ /* Immediately after this block comment are a series of sample programs. */ /* */ /* After the sample programs is the "header file" section. This section */ /* includes documentation for each API function. */ /* */ /* Some important concepts to understand to use this library: */ /* */ /* Codepoint */ /* Characters are defined by unicode codepoints, e.g. 65 is */ /* uppercase A, 231 is lowercase c with a cedilla, 0x7e30 is */ /* the hiragana for "ma". */ /* */ /* Glyph */ /* A visual character shape (every codepoint is rendered as */ /* some glyph) */ /* */ /* Glyph index */ /* A font-specific integer ID representing a glyph */ /* */ /* Baseline */ /* Glyph shapes are defined relative to a baseline, which is the */ /* bottom of uppercase characters. Characters extend both above */ /* and below the baseline. */ /* */ /* Current Point */ /* As you draw text to the screen, you keep track of a "current point" */ /* which is the origin of each character. The current point's vertical */ /* position is the baseline. Even "baked fonts" use this model. */ /* */ /* Vertical Font Metrics */ /* The vertical qualities of the font, used to vertically position */ /* and space the characters. See docs for stbtt_GetFontVMetrics. */ /* */ /* Font Size in Pixels or Points */ /* The preferred interface for specifying font sizes in stb_truetype */ /* is to specify how tall the font's vertical extent should be in pixels. */ /* If that sounds good enough, skip the next paragraph. */ /* */ /* Most font APIs instead use "points", which are a common typographic */ /* measurement for describing font size, defined as 72 points per inch. */ /* stb_truetype provides a point API for compatibility. However, true */ /* "per inch" conventions don't make much sense on computer displays */ /* since different monitors have different number of pixels per */ /* inch. For example, Windows traditionally uses a convention that */ /* there are 96 pixels per inch, thus making 'inch' measurements have */ /* nothing to do with inches, and thus effectively defining a point to */ /* be 1.333 pixels. Additionally, the TrueType font data provides */ /* an explicit scale factor to scale a given font's glyphs to points, */ /* but the author has observed that this scale factor is often wrong */ /* for non-commercial fonts, thus making fonts scaled in points */ /* according to the TrueType spec incoherently sized in practice. */ /* */ /* DETAILED USAGE: */ /* */ /* Scale: */ /* Select how high you want the font to be, in points or pixels. */ /* Call ScaleForPixelHeight or ScaleForMappingEmToPixels to compute */ /* a scale factor SF that will be used by all other functions. */ /* */ /* Baseline: */ /* You need to select a y-coordinate that is the baseline of where */ /* your text will appear. Call GetFontBoundingBox to get the baseline-relative */ /* bounding box for all characters. SF*-y0 will be the distance in pixels */ /* that the worst-case character could extend above the baseline, so if */ /* you want the top edge of characters to appear at the top of the */ /* screen where y=0, then you would set the baseline to SF*-y0. */ /* */ /* Current point: */ /* Set the current point where the first character will appear. The */ /* first character could extend left of the current point; this is font */ /* dependent. You can either choose a current point that is the leftmost */ /* point and hope, or add some padding, or check the bounding box or */ /* left-side-bearing of the first character to be displayed and set */ /* the current point based on that. */ /* */ /* Displaying a character: */ /* Compute the bounding box of the character. It will contain signed values */ /* relative to <current_point, baseline>. I.e. if it returns x0,y0,x1,y1, */ /* then the character should be displayed in the rectangle from */ /* <current_point+SF*x0, baseline+SF*y0> to <current_point+SF*x1,baseline+SF*y1). */ /* */ /* Advancing for the next character: */ /* Call GlyphHMetrics, and compute 'current_point += SF * advance'. */ /* */ /* */ /* ADVANCED USAGE */ /* */ /* Quality: */ /* */ /* - Use the functions with Subpixel at the end to allow your characters */ /* to have subpixel positioning. Since the font is anti-aliased, not */ /* hinted, this is very import for quality. (This is not possible with */ /* baked fonts.) */ /* */ /* - Kerning is now supported, and if you're supporting subpixel rendering */ /* then kerning is worth using to give your text a polished look. */ /* */ /* Performance: */ /* */ /* - Convert Unicode codepoints to glyph indexes and operate on the glyphs; */ /* if you don't do this, stb_truetype is forced to do the conversion on */ /* every call. */ /* */ /* - There are a lot of memory allocations. We should modify it to take */ /* a temp buffer and allocate from the temp buffer (without freeing), */ /* should help performance a lot. */ /* */ /* NOTES */ /* */ /* The system uses the raw data found in the .ttf file without changing it */ /* and without building auxiliary data structures. This is a bit inefficient */ /* on little-endian systems (the data is big-endian), but assuming you're */ /* caching the bitmaps or glyph shapes this shouldn't be a big deal. */ /* */ /* It appears to be very hard to programmatically determine what font a */ /* given file is in a general way. I provide an API for this, but I don't */ /* recommend it. */ /* */ /* */ /* PERFORMANCE MEASUREMENTS FOR 1.06: */ /* */ /* 32-bit 64-bit */ /* Previous release: 8.83 s 7.68 s */ /* Pool allocations: 7.72 s 6.34 s */ /* Inline sort : 6.54 s 5.65 s */ /* New rasterizer : 5.63 s 5.00 s */ /* //////////////////////////////////////////////////////////////////////////// */ /* //////////////////////////////////////////////////////////////////////////// */ /* // */ /* // SAMPLE PROGRAMS */ /* // */ /* */ /* Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless */ /* */ #if 0 #define STB_TRUETYPE_IMPLEMENTATION /* force following include to generate implementation */ #include "stb_truetype.h" unsigned char ttf_buffer[1<<20]; unsigned char temp_bitmap[512*512]; stbtt_bakedchar cdata[96]; /* ASCII 32..126 is 95 glyphs */ GLuint ftex; void my_stbtt_initfont(void) { fread(ttf_buffer, 1, 1<<20, fopen("c:/windows/fonts/times.ttf", "rb")); stbtt_BakeFontBitmap(ttf_buffer,0, 32.0, temp_bitmap,512,512, 32,96, cdata); /* no guarantee this fits! */ /* can free ttf_buffer at this point */ glGenTextures(1, &ftex); glBindTexture(GL_TEXTURE_2D, ftex); glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, 512,512, 0, GL_ALPHA, GL_UNSIGNED_BYTE, temp_bitmap); /* can free temp_bitmap at this point */ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); } void my_stbtt_print(float x, float y, char *text) { /* assume orthographic projection with units = screen pixels, origin at top left */ glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, ftex); glBegin(GL_QUADS); while (*text) { if (*text >= 32 && *text < 128) { stbtt_aligned_quad q; stbtt_GetBakedQuad(cdata, 512,512, *text-32, &x,&y,&q,1);/* 1=opengl & d3d10+,0=d3d9 */ glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y0); glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y0); glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y1); glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y1); } ++text; } glEnd(); } #endif /* */ /* */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* Complete program (this compiles): get a single bitmap, print as ASCII art */ /* */ #if 0 #include <stdio.h> #define STB_TRUETYPE_IMPLEMENTATION /* force following include to generate implementation */ #include "stb_truetype.h" char ttf_buffer[1<<25]; int main(int argc, char **argv) { stbtt_fontinfo font; unsigned char *bitmap; int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20); fread(ttf_buffer, 1, 1<<25, fopen(argc > 3 ? argv[3] : "c:/windows/fonts/arialbd.ttf", "rb")); stbtt_InitFont(&font, ttf_buffer, stbtt_GetFontOffsetForIndex(ttf_buffer,0)); bitmap = stbtt_GetCodepointBitmap(&font, 0,stbtt_ScaleForPixelHeight(&font, s), c, &w, &h, 0,0); for (j=0; j < h; ++j) { for (i=0; i < w; ++i) putchar(" .:ioVM@"[bitmap[j*w+i]>>5]); putchar('\n'); } return 0; } #endif /* */ /* Output: */ /* */ /* .ii. */ /* @@@@@@. */ /* V@Mio@@o */ /* :i. V@V */ /* :oM@@M */ /* :@@@MM@M */ /* @@o o@M */ /* :@@. M@M */ /* @@@o@@@@ */ /* :M@@V:@@. */ /* */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* Complete program: print "Hello World!" banner, with bugs */ /* */ #if 0 char buffer[24<<20]; unsigned char screen[20][79]; int main(int arg, char **argv) { stbtt_fontinfo font; int i,j,ascent,baseline,ch=0; float scale, xpos=2; /* leave a little padding in case the character extends left */ char *text = "Heljo World!"; /* intentionally misspelled to show 'lj' brokenness */ fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb")); stbtt_InitFont(&font, buffer, 0); scale = stbtt_ScaleForPixelHeight(&font, 15); stbtt_GetFontVMetrics(&font, &ascent,0,0); baseline = (int) (ascent*scale); while (text[ch]) { int advance,lsb,x0,y0,x1,y1; float x_shift = xpos - (float) floor(xpos); stbtt_GetCodepointHMetrics(&font, text[ch], &advance, &lsb); stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1); stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]); /* note that this stomps the old data, so where character boxes overlap (e.g. 'lj') it's wrong */ /* because this API is really for baking character bitmaps into textures. if you want to render */ /* a sequence of characters, you really need to render each bitmap to a temp buffer, then */ /* "alpha blend" that into the working buffer */ xpos += (advance * scale); if (text[ch+1]) xpos += scale*stbtt_GetCodepointKernAdvance(&font, text[ch],text[ch+1]); ++ch; } for (j=0; j < 20; ++j) { for (i=0; i < 78; ++i) putchar(" .:ioVM@"[screen[j][i]>>5]); putchar('\n'); } return 0; } #endif /* //////////////////////////////////////////////////////////////////////////// */ /* //////////////////////////////////////////////////////////////////////////// */ /* // */ /* // INTEGRATION WITH YOUR CODEBASE */ /* // */ /* // The following sections allow you to supply alternate definitions */ /* // of C library functions used by stb_truetype, e.g. if you don't */ /* // link with the C runtime library. */ #ifdef STB_TRUETYPE_IMPLEMENTATION /* #define your own (u)stbtt_int8/16/32 before including to override this */ #ifndef stbtt_uint8 typedef unsigned char stbtt_uint8; typedef signed char stbtt_int8; typedef unsigned short stbtt_uint16; typedef signed short stbtt_int16; typedef unsigned int stbtt_uint32; typedef signed int stbtt_int32; #endif typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 : -1]; typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 : -1]; /* e.g. #define your own STBTT_ifloor/STBTT_iceil() to avoid math.h */ #ifndef STBTT_ifloor #include <math.h> #define STBTT_ifloor(x) ((int) floor(x)) #define STBTT_iceil(x) ((int) ceil(x)) #endif #ifndef STBTT_sqrt #include <math.h> #define STBTT_sqrt(x) sqrt(x) #define STBTT_pow(x,y) pow(x,y) #endif #ifndef STBTT_fmod #include <math.h> #define STBTT_fmod(x,y) fmod(x,y) #endif #ifndef STBTT_cos #include <math.h> #define STBTT_cos(x) cos(x) #define STBTT_acos(x) acos(x) #endif #ifndef STBTT_fabs #include <math.h> #define STBTT_fabs(x) fabs(x) #endif /* #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h */ #ifndef STBTT_malloc #include <stdlib.h> #define STBTT_malloc(x,u) ((void)(u),malloc(x)) #define STBTT_free(x,u) ((void)(u),free(x)) #endif #ifndef STBTT_assert #include <assert.h> #define STBTT_assert(x) assert(x) #endif #ifndef STBTT_strlen #include <string.h> #define STBTT_strlen(x) strlen(x) #endif #ifndef STBTT_memcpy #include <string.h> #define STBTT_memcpy memcpy #define STBTT_memset memset #endif #endif /* ///////////////////////////////////////////////////////////////////////////// */ /* ///////////////////////////////////////////////////////////////////////////// */ /* // */ /* // INTERFACE */ /* // */ /* // */ #ifndef __STB_INCLUDE_STB_TRUETYPE_H__ #define __STB_INCLUDE_STB_TRUETYPE_H__ #ifdef STBTT_STATIC #define STBTT_DEF static #else #define STBTT_DEF extern #endif #ifdef __cplusplus extern "C" { #endif /* private structure */ typedef struct { unsigned char *data; int cursor; int size; } stbtt__buf; /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* TEXTURE BAKING API */ /* */ /* If you use this API, you only have to call two functions ever. */ /* */ typedef struct { unsigned short x0,y0,x1,y1; /* coordinates of bbox in bitmap */ float xoff,yoff,xadvance; } stbtt_bakedchar; STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, /* font location (use offset=0 for plain .ttf) */ float pixel_height, /* height of font in pixels */ unsigned char *pixels, int pw, int ph, /* bitmap to be filled in */ int first_char, int num_chars, /* characters to bake */ stbtt_bakedchar *chardata); /* you allocate this, it's num_chars long */ /* if return is positive, the first unused row of the bitmap */ /* if return is negative, returns the negative of the number of characters that fit */ /* if return is 0, no characters fit and no rows were used */ /* This uses a very crappy packing. */ typedef struct { float x0,y0,s0,t0; /* top-left */ float x1,y1,s1,t1; /* bottom-right */ } stbtt_aligned_quad; STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, /* same data as above */ int char_index, /* character to display */ float *xpos, float *ypos, /* pointers to current position in screen pixel space */ stbtt_aligned_quad *q, /* output: quad to draw */ int opengl_fillrule); /* true if opengl fill rule; false if DX9 or earlier */ /* Call GetBakedQuad with char_index = 'character - first_char', and it */ /* creates the quad you need to draw and advances the current position. */ /* */ /* The coordinate system used assumes y increases downwards. */ /* */ /* Characters will extend both above and below the current position; */ /* see discussion of "BASELINE" above. */ /* */ /* It's inefficient; you might want to c&p it and optimize it. */ STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap); /* Query the font vertical metrics without having to create a font first. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* NEW TEXTURE BAKING API */ /* */ /* This provides options for packing multiple fonts into one atlas, not */ /* perfectly but better than nothing. */ typedef struct { unsigned short x0,y0,x1,y1; /* coordinates of bbox in bitmap */ float xoff,yoff,xadvance; float xoff2,yoff2; } stbtt_packedchar; typedef struct stbtt_pack_context stbtt_pack_context; typedef struct stbtt_fontinfo stbtt_fontinfo; #ifndef STB_RECT_PACK_VERSION typedef struct stbrp_rect stbrp_rect; #endif STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int height, int stride_in_bytes, int padding, void *alloc_context); /* Initializes a packing context stored in the passed-in stbtt_pack_context. */ /* Future calls using this context will pack characters into the bitmap passed */ /* in here: a 1-channel bitmap that is width * height. stride_in_bytes is */ /* the distance from one row to the next (or 0 to mean they are packed tightly */ /* together). "padding" is the amount of padding to leave between each */ /* character (normally you want '1' for bitmaps you'll use as textures with */ /* bilinear filtering). */ /* */ /* Returns 0 on failure, 1 on success. */ STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc); /* Cleans up the packing context and frees all memory. */ #define STBTT_POINT_SIZE(x) (-(x)) STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range); /* Creates character bitmaps from the font_index'th font found in fontdata (use */ /* font_index=0 if you don't know what that is). It creates num_chars_in_range */ /* bitmaps for characters with unicode values starting at first_unicode_char_in_range */ /* and increasing. Data for how to render them is stored in chardata_for_range; */ /* pass these to stbtt_GetPackedQuad to get back renderable quads. */ /* */ /* font_size is the full height of the character from ascender to descender, */ /* as computed by stbtt_ScaleForPixelHeight. To use a point size as computed */ /* by stbtt_ScaleForMappingEmToPixels, wrap the point size in STBTT_POINT_SIZE() */ /* and pass that result as 'font_size': */ /* ..., 20 , ... // font max minus min y is 20 pixels tall */ /* ..., STBTT_POINT_SIZE(20), ... // 'M' is 20 pixels tall */ typedef struct { float font_size; int first_unicode_codepoint_in_range; /* if non-zero, then the chars are continuous, and this is the first codepoint */ int *array_of_unicode_codepoints; /* if non-zero, then this is an array of unicode codepoints */ int num_chars; stbtt_packedchar *chardata_for_range; /* output */ unsigned char h_oversample, v_oversample; /* don't set these, they're used internally */ } stbtt_pack_range; STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges); /* Creates character bitmaps from multiple ranges of characters stored in */ /* ranges. This will usually create a better-packed bitmap than multiple */ /* calls to stbtt_PackFontRange. Note that you can call this multiple */ /* times within a single PackBegin/PackEnd. */ STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample); /* Oversampling a font increases the quality by allowing higher-quality subpixel */ /* positioning, and is especially valuable at smaller text sizes. */ /* */ /* This function sets the amount of oversampling for all following calls to */ /* stbtt_PackFontRange(s) or stbtt_PackFontRangesGatherRects for a given */ /* pack context. The default (no oversampling) is achieved by h_oversample=1 */ /* and v_oversample=1. The total number of pixels required is */ /* h_oversample*v_oversample larger than the default; for example, 2x2 */ /* oversampling requires 4x the storage of 1x1. For best results, render */ /* oversampled textures with bilinear filtering. Look at the readme in */ /* stb/tests/oversample for information about oversampled fonts */ /* */ /* To use with PackFontRangesGather etc., you must set it before calls */ /* call to PackFontRangesGatherRects. */ STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip); /* If skip != 0, this tells stb_truetype to skip any codepoints for which */ /* there is no corresponding glyph. If skip=0, which is the default, then */ /* codepoints without a glyph recived the font's "missing character" glyph, */ /* typically an empty box by convention. */ STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, /* same data as above */ int char_index, /* character to display */ float *xpos, float *ypos, /* pointers to current position in screen pixel space */ stbtt_aligned_quad *q, /* output: quad to draw */ int align_to_integer); STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects); STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); /* Calling these functions in sequence is roughly equivalent to calling */ /* stbtt_PackFontRanges(). If you more control over the packing of multiple */ /* fonts, or if you want to pack custom data into a font texture, take a look */ /* at the source to of stbtt_PackFontRanges() and create a custom version */ /* using these functions, e.g. call GatherRects multiple times, */ /* building up a single array of rects, then call PackRects once, */ /* then call RenderIntoRects repeatedly. This may result in a */ /* better packing than calling PackFontRanges multiple times */ /* (or it may not). */ /* this is an opaque structure that you shouldn't mess with which holds */ /* all the context needed from PackBegin to PackEnd. */ struct stbtt_pack_context { void *user_allocator_context; void *pack_info; int width; int height; int stride_in_bytes; int padding; int skip_missing; unsigned int h_oversample, v_oversample; unsigned char *pixels; void *nodes; }; /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* FONT LOADING */ /* */ /* */ STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data); /* This function will determine the number of fonts in a font file. TrueType */ /* collection (.ttc) files may contain multiple fonts, while TrueType font */ /* (.ttf) files only contain one font. The number of fonts can be used for */ /* indexing with the previous function where the index is between zero and one */ /* less than the total fonts. If an error occurs, -1 is returned. */ STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index); /* Each .ttf/.ttc file may have more than one font. Each font has a sequential */ /* index number starting from 0. Call this function to get the font offset for */ /* a given index; it returns -1 if the index is out of range. A regular .ttf */ /* file will only define one font and it always be at offset 0, so it will */ /* return '0' for index 0, and -1 for all other indices. */ /* The following structure is defined publicly so you can declare one on */ /* the stack or as a global or etc, but you should treat it as opaque. */ struct stbtt_fontinfo { void * userdata; unsigned char * data; /* pointer to .ttf file */ int fontstart; /* offset of start of font */ int numGlyphs; /* number of glyphs, needed for range checking */ int loca,head,glyf,hhea,hmtx,kern,gpos,svg; /* table locations as offset from start of .ttf */ int index_map; /* a cmap mapping for our chosen character encoding */ int indexToLocFormat; /* format needed to map from glyph index to glyph */ stbtt__buf cff; /* cff font data */ stbtt__buf charstrings; /* the charstring index */ stbtt__buf gsubrs; /* global charstring subroutines index */ stbtt__buf subrs; /* private charstring subroutines index */ stbtt__buf fontdicts; /* array of font dicts */ stbtt__buf fdselect; /* map from glyph to fontdict */ }; STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset); /* Given an offset into the file that defines a font, this function builds */ /* the necessary cached info for the rest of the system. You must allocate */ /* the stbtt_fontinfo yourself, and stbtt_InitFont will fill it out. You don't */ /* need to do anything special to free it, because the contents are pure */ /* value data with no additional data structures. Returns 0 on failure. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* CHARACTER TO GLYPH-INDEX CONVERSIOn */ STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint); /* If you're going to perform multiple operations on the same character */ /* and you want a speed-up, call this function with the character you're */ /* going to process, then use glyph-based functions instead of the */ /* codepoint-based functions. */ /* Returns 0 if the character codepoint is not defined in the font. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* CHARACTER PROPERTIES */ /* */ STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); /* computes a scale factor to produce a font whose "height" is 'pixels' tall. */ /* Height is measured as the distance from the highest ascender to the lowest */ /* descender; in other words, it's equivalent to calling stbtt_GetFontVMetrics */ /* and computing: */ /* scale = pixels / (ascent - descent) */ /* so if you prefer to measure height by the ascent only, use a similar calculation. */ STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); /* computes a scale factor to produce a font whose EM size is mapped to */ /* 'pixels' tall. This is probably what traditional APIs compute, but */ /* I'm not positive. */ STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap); /* ascent is the coordinate above the baseline the font extends; descent */ /* is the coordinate below the baseline the font extends (i.e. it is typically negative) */ /* lineGap is the spacing between one row's descent and the next row's ascent... */ /* so you should advance the vertical position by "*ascent - *descent + *lineGap" */ /* these are expressed in unscaled coordinates, so you must multiply by */ /* the scale factor for a given size */ STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap); /* analogous to GetFontVMetrics, but returns the "typographic" values from the OS/2 */ /* table (specific to MS/Windows TTF files). */ /* */ /* Returns 1 on success (table present), 0 on failure. */ STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1); /* the bounding box around all possible characters */ STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing); /* leftSideBearing is the offset from the current horizontal position to the left edge of the character */ /* advanceWidth is the offset from the current horizontal position to the next horizontal position */ /* these are expressed in unscaled coordinates */ STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2); /* an additional amount to add to the 'advance' value between ch1 and ch2 */ STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1); /* Gets the bounding box of the visible part of the glyph, in unscaled coordinates */ STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing); STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2); STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); /* as above, but takes one or more glyph indices for greater efficiency */ typedef struct stbtt_kerningentry { int glyph1; /* use stbtt_FindGlyphIndex */ int glyph2; int advance; } stbtt_kerningentry; STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info); STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length); /* Retrieves a complete list of all of the kerning pairs provided by the font */ /* stbtt_GetKerningTable never writes more than table_length entries and returns how many entries it did write. */ /* The table will be sorted by (a.glyph1 == b.glyph1)?(a.glyph2 < b.glyph2):(a.glyph1 < b.glyph1) */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* GLYPH SHAPES (you probably don't need these, but they have to go before */ /* the bitmaps for C declaration-order reasons) */ /* */ #ifndef STBTT_vmove /* you can predefine these to use different values (but why?) */ enum { STBTT_vmove=1, STBTT_vline, STBTT_vcurve, STBTT_vcubic }; #endif #ifndef stbtt_vertex /* you can predefine this to use different values */ /* (we share this with other code at RAD) */ #define stbtt_vertex_type short /* can't use stbtt_int16 because that's not visible in the header file */ typedef struct { stbtt_vertex_type x,y,cx,cy,cx1,cy1; unsigned char type,padding; } stbtt_vertex; #endif STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index); /* returns non-zero if nothing is drawn for this glyph */ STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices); STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **vertices); /* returns # of vertices and fills *vertices with the pointer to them */ /* these are expressed in "unscaled" coordinates */ /* */ /* The shape is a series of contours. Each one starts with */ /* a STBTT_moveto, then consists of a series of mixed */ /* STBTT_lineto and STBTT_curveto segments. A lineto */ /* draws a line from previous endpoint to its x,y; a curveto */ /* draws a quadratic bezier from previous endpoint to */ /* its x,y, using cx,cy as the bezier control point. */ STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices); /* frees the data allocated above */ STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg); STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg); /* fills svg with the character's SVG data. */ /* returns data size or 0 if SVG not found. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* BITMAP RENDERING */ /* */ STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata); /* frees the bitmap allocated below */ STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff); /* allocates a large-enough single-channel 8bpp bitmap and renders the */ /* specified character/glyph at the specified scale into it, with */ /* antialiasing. 0 is no coverage (transparent), 255 is fully covered (opaque). */ /* *width & *height are filled out with the width & height of the bitmap, */ /* which is stored left-to-right, top-to-bottom. */ /* */ /* xoff/yoff are the offset it pixel space from the glyph origin to the top-left of the bitmap */ STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff); /* the same as stbtt_GetCodepoitnBitmap, but you can specify a subpixel */ /* shift for the character */ STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint); /* the same as stbtt_GetCodepointBitmap, but you pass in storage for the bitmap */ /* in the form of 'output', with row spacing of 'out_stride' bytes. the bitmap */ /* is clipped to out_w/out_h bytes. Call stbtt_GetCodepointBitmapBox to get the */ /* width and height and positioning info for it first. */ STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint); /* same as stbtt_MakeCodepointBitmap, but you can specify a subpixel */ /* shift for the character */ STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint); /* same as stbtt_MakeCodepointBitmapSubpixel, but prefiltering */ /* is performed (see stbtt_PackSetOversampling) */ STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); /* get the bbox of the bitmap centered around the glyph origin; so the */ /* bitmap width is ix1-ix0, height is iy1-iy0, and location to place */ /* the bitmap top left is (leftSideBearing*scale,iy0). */ /* (Note that the bitmap uses y-increases-down, but the shape uses */ /* y-increases-up, so CodepointBitmapBox and CodepointBox are inverted.) */ STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); /* same as stbtt_GetCodepointBitmapBox, but you can specify a subpixel */ /* shift for the character */ /* the following functions are equivalent to the above functions, but operate */ /* on glyph indices instead of Unicode codepoints (for efficiency) */ STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff); STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff); STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph); STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph); STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int glyph); STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); /* @TODO: don't expose this structure */ typedef struct { int w,h,stride; unsigned char *pixels; } stbtt__bitmap; /* rasterize a shape with quadratic beziers into a bitmap */ STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, /* 1-channel bitmap to draw into */ float flatness_in_pixels, /* allowable error of curve in pixels */ stbtt_vertex *vertices, /* array of vertices defining shape */ int num_verts, /* number of vertices in above array */ float scale_x, float scale_y, /* scale applied to input vertices */ float shift_x, float shift_y, /* translation applied to input vertices */ int x_off, int y_off, /* another translation applied to input */ int invert, /* if non-zero, vertically flip shape */ void *userdata); /* context for to STBTT_MALLOC */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* Signed Distance Function (or Field) rendering */ STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata); /* frees the SDF bitmap allocated below */ STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); /* These functions compute a discretized SDF field for a single character, suitable for storing */ /* in a single-channel texture, sampling with bilinear filtering, and testing against */ /* larger than some threshold to produce scalable fonts. */ /* info -- the font */ /* scale -- controls the size of the resulting SDF bitmap, same as it would be creating a regular bitmap */ /* glyph/codepoint -- the character to generate the SDF for */ /* padding -- extra "pixels" around the character which are filled with the distance to the character (not 0), */ /* which allows effects like bit outlines */ /* onedge_value -- value 0-255 to test the SDF against to reconstruct the character (i.e. the isocontour of the character) */ /* pixel_dist_scale -- what value the SDF should increase by when moving one SDF "pixel" away from the edge (on the 0..255 scale) */ /* if positive, > onedge_value is inside; if negative, < onedge_value is inside */ /* width,height -- output height & width of the SDF bitmap (including padding) */ /* xoff,yoff -- output origin of the character */ /* return value -- a 2D array of bytes 0..255, width*height in size */ /* */ /* pixel_dist_scale & onedge_value are a scale & bias that allows you to make */ /* optimal use of the limited 0..255 for your application, trading off precision */ /* and special effects. SDF values outside the range 0..255 are clamped to 0..255. */ /* */ /* Example: */ /* scale = stbtt_ScaleForPixelHeight(22) */ /* padding = 5 */ /* onedge_value = 180 */ /* pixel_dist_scale = 180/5.0 = 36.0 */ /* */ /* This will create an SDF bitmap in which the character is about 22 pixels */ /* high but the whole bitmap is about 22+5+5=32 pixels high. To produce a filled */ /* shape, sample the SDF at each pixel and fill the pixel if the SDF value */ /* is greater than or equal to 180/255. (You'll actually want to antialias, */ /* which is beyond the scope of this example.) Additionally, you can compute */ /* offset outlines (e.g. to stroke the character border inside & outside, */ /* or only outside). For example, to fill outside the character up to 3 SDF */ /* pixels, you would compare against (180-36.0*3)/255 = 72/255. The above */ /* choice of variables maps a range from 5 pixels outside the shape to */ /* 2 pixels inside the shape to 0..255; this is intended primarily for apply */ /* outside effects only (the interior range is needed to allow proper */ /* antialiasing of the font at *smaller* sizes) */ /* */ /* The function computes the SDF analytically at each SDF pixel, not by e.g. */ /* building a higher-res bitmap and approximating it. In theory the quality */ /* should be as high as possible for an SDF of this size & representation, but */ /* unclear if this is true in practice (perhaps building a higher-res bitmap */ /* and computing from that can allow drop-out prevention). */ /* */ /* The algorithm has not been optimized at all, so expect it to be slow */ /* if computing lots of characters or very large sizes. */ /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* Finding the right font... */ /* */ /* You should really just solve this offline, keep your own tables */ /* of what font is what, and don't try to get it out of the .ttf file. */ /* That's because getting it out of the .ttf file is really hard, because */ /* the names in the file can appear in many possible encodings, in many */ /* possible languages, and e.g. if you need a case-insensitive comparison, */ /* the details of that depend on the encoding & language in a complex way */ /* (actually underspecified in truetype, but also gigantic). */ /* */ /* But you can use the provided functions in two possible ways: */ /* stbtt_FindMatchingFont() will use *case-sensitive* comparisons on */ /* unicode-encoded names to try to find the font you want; */ /* you can run this before calling stbtt_InitFont() */ /* */ /* stbtt_GetFontNameString() lets you get any of the various strings */ /* from the file yourself and do your own comparisons on them. */ /* You have to have called stbtt_InitFont() first. */ STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags); /* returns the offset (not index) of the font that matches, or -1 if none */ /* if you use STBTT_MACSTYLE_DONTCARE, use a font name like "Arial Bold". */ /* if you use any other flag, use a font name like "Arial"; this checks */ /* the 'macStyle' header field; i don't know if fonts set this consistently */ #define STBTT_MACSTYLE_DONTCARE 0 #define STBTT_MACSTYLE_BOLD 1 #define STBTT_MACSTYLE_ITALIC 2 #define STBTT_MACSTYLE_UNDERSCORE 4 #define STBTT_MACSTYLE_NONE 8 /* <= not same as 0, this makes us check the bitfield is 0 */ STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2); /* returns 1/0 whether the first string interpreted as utf8 is identical to */ /* the second string interpreted as big-endian utf16... useful for strings from next func */ STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID); /* returns the string (which may be big-endian double byte, e.g. for unicode) */ /* and puts the length in bytes in *length. */ /* */ /* some of the values for the IDs are below; for more see the truetype spec: */ /* http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6name.html */ /* http://www.microsoft.com/typography/otspec/name.htm */ enum { /* platformID */ STBTT_PLATFORM_ID_UNICODE =0, STBTT_PLATFORM_ID_MAC =1, STBTT_PLATFORM_ID_ISO =2, STBTT_PLATFORM_ID_MICROSOFT =3 }; enum { /* encodingID for STBTT_PLATFORM_ID_UNICODE */ STBTT_UNICODE_EID_UNICODE_1_0 =0, STBTT_UNICODE_EID_UNICODE_1_1 =1, STBTT_UNICODE_EID_ISO_10646 =2, STBTT_UNICODE_EID_UNICODE_2_0_BMP=3, STBTT_UNICODE_EID_UNICODE_2_0_FULL=4 }; enum { /* encodingID for STBTT_PLATFORM_ID_MICROSOFT */ STBTT_MS_EID_SYMBOL =0, STBTT_MS_EID_UNICODE_BMP =1, STBTT_MS_EID_SHIFTJIS =2, STBTT_MS_EID_UNICODE_FULL =10 }; enum { /* encodingID for STBTT_PLATFORM_ID_MAC; same as Script Manager codes */ STBTT_MAC_EID_ROMAN =0, STBTT_MAC_EID_ARABIC =4, STBTT_MAC_EID_JAPANESE =1, STBTT_MAC_EID_HEBREW =5, STBTT_MAC_EID_CHINESE_TRAD =2, STBTT_MAC_EID_GREEK =6, STBTT_MAC_EID_KOREAN =3, STBTT_MAC_EID_RUSSIAN =7 }; enum { /* languageID for STBTT_PLATFORM_ID_MICROSOFT; same as LCID... */ /* problematic because there are e.g. 16 english LCIDs and 16 arabic LCIDs */ STBTT_MS_LANG_ENGLISH =0x0409, STBTT_MS_LANG_ITALIAN =0x0410, STBTT_MS_LANG_CHINESE =0x0804, STBTT_MS_LANG_JAPANESE =0x0411, STBTT_MS_LANG_DUTCH =0x0413, STBTT_MS_LANG_KOREAN =0x0412, STBTT_MS_LANG_FRENCH =0x040c, STBTT_MS_LANG_RUSSIAN =0x0419, STBTT_MS_LANG_GERMAN =0x0407, STBTT_MS_LANG_SPANISH =0x0409, STBTT_MS_LANG_HEBREW =0x040d, STBTT_MS_LANG_SWEDISH =0x041D }; enum { /* languageID for STBTT_PLATFORM_ID_MAC */ STBTT_MAC_LANG_ENGLISH =0 , STBTT_MAC_LANG_JAPANESE =11, STBTT_MAC_LANG_ARABIC =12, STBTT_MAC_LANG_KOREAN =23, STBTT_MAC_LANG_DUTCH =4 , STBTT_MAC_LANG_RUSSIAN =32, STBTT_MAC_LANG_FRENCH =1 , STBTT_MAC_LANG_SPANISH =6 , STBTT_MAC_LANG_GERMAN =2 , STBTT_MAC_LANG_SWEDISH =5 , STBTT_MAC_LANG_HEBREW =10, STBTT_MAC_LANG_CHINESE_SIMPLIFIED =33, STBTT_MAC_LANG_ITALIAN =3 , STBTT_MAC_LANG_CHINESE_TRAD =19 }; #ifdef __cplusplus } #endif #endif /* __STB_INCLUDE_STB_TRUETYPE_H__ */ /* ///////////////////////////////////////////////////////////////////////////// */ /* ///////////////////////////////////////////////////////////////////////////// */ /* // */ /* // IMPLEMENTATION */ /* // */ /* // */ #ifdef STB_TRUETYPE_IMPLEMENTATION #ifndef STBTT_MAX_OVERSAMPLE #define STBTT_MAX_OVERSAMPLE 8 #endif #if STBTT_MAX_OVERSAMPLE > 255 #error "STBTT_MAX_OVERSAMPLE cannot be > 255" #endif typedef int stbtt__test_oversample_pow2[(STBTT_MAX_OVERSAMPLE & (STBTT_MAX_OVERSAMPLE-1)) == 0 ? 1 : -1]; #ifndef STBTT_RASTERIZER_VERSION #define STBTT_RASTERIZER_VERSION 2 #endif #ifdef _MSC_VER #define STBTT__NOTUSED(v) (void)(v) #else #define STBTT__NOTUSED(v) (void)sizeof(v) #endif /* //////////////////////////////////////////////////////////////////////// */ /* */ /* stbtt__buf helpers to parse data from file */ /* */ static stbtt_uint8 stbtt__buf_get8(stbtt__buf *b) { if (b->cursor >= b->size) return 0; return b->data[b->cursor++]; } static stbtt_uint8 stbtt__buf_peek8(stbtt__buf *b) { if (b->cursor >= b->size) return 0; return b->data[b->cursor]; } static void stbtt__buf_seek(stbtt__buf *b, int o) { STBTT_assert(!(o > b->size || o < 0)); b->cursor = (o > b->size || o < 0) ? b->size : o; } static void stbtt__buf_skip(stbtt__buf *b, int o) { stbtt__buf_seek(b, b->cursor + o); } static stbtt_uint32 stbtt__buf_get(stbtt__buf *b, int n) { stbtt_uint32 v = 0; int i; STBTT_assert(n >= 1 && n <= 4); for (i = 0; i < n; i++) v = (v << 8) | stbtt__buf_get8(b); return v; } static stbtt__buf stbtt__new_buf(const void *p, size_t size) { stbtt__buf r; STBTT_assert(size < 0x40000000); r.data = (stbtt_uint8*) p; r.size = (int) size; r.cursor = 0; return r; } #define stbtt__buf_get16(b) stbtt__buf_get((b), 2) #define stbtt__buf_get32(b) stbtt__buf_get((b), 4) static stbtt__buf stbtt__buf_range(const stbtt__buf *b, int o, int s) { stbtt__buf r = stbtt__new_buf(NULL, 0); if (o < 0 || s < 0 || o > b->size || s > b->size - o) return r; r.data = b->data + o; r.size = s; return r; } static stbtt__buf stbtt__cff_get_index(stbtt__buf *b) { int count, start, offsize; start = b->cursor; count = stbtt__buf_get16(b); if (count) { offsize = stbtt__buf_get8(b); STBTT_assert(offsize >= 1 && offsize <= 4); stbtt__buf_skip(b, offsize * count); stbtt__buf_skip(b, stbtt__buf_get(b, offsize) - 1); } return stbtt__buf_range(b, start, b->cursor - start); } static stbtt_uint32 stbtt__cff_int(stbtt__buf *b) { int b0 = stbtt__buf_get8(b); if (b0 >= 32 && b0 <= 246) return b0 - 139; else if (b0 >= 247 && b0 <= 250) return (b0 - 247)*256 + stbtt__buf_get8(b) + 108; else if (b0 >= 251 && b0 <= 254) return -(b0 - 251)*256 - stbtt__buf_get8(b) - 108; else if (b0 == 28) return stbtt__buf_get16(b); else if (b0 == 29) return stbtt__buf_get32(b); STBTT_assert(0); return 0; } static void stbtt__cff_skip_operand(stbtt__buf *b) { int v, b0 = stbtt__buf_peek8(b); STBTT_assert(b0 >= 28); if (b0 == 30) { stbtt__buf_skip(b, 1); while (b->cursor < b->size) { v = stbtt__buf_get8(b); if ((v & 0xF) == 0xF || (v >> 4) == 0xF) break; } } else { stbtt__cff_int(b); } } static stbtt__buf stbtt__dict_get(stbtt__buf *b, int key) { stbtt__buf_seek(b, 0); while (b->cursor < b->size) { int start = b->cursor, end, op; while (stbtt__buf_peek8(b) >= 28) stbtt__cff_skip_operand(b); end = b->cursor; op = stbtt__buf_get8(b); if (op == 12) op = stbtt__buf_get8(b) | 0x100; if (op == key) return stbtt__buf_range(b, start, end-start); } return stbtt__buf_range(b, 0, 0); } static void stbtt__dict_get_ints(stbtt__buf *b, int key, int outcount, stbtt_uint32 *out) { int i; stbtt__buf operands = stbtt__dict_get(b, key); for (i = 0; i < outcount && operands.cursor < operands.size; i++) out[i] = stbtt__cff_int(&operands); } static int stbtt__cff_index_count(stbtt__buf *b) { stbtt__buf_seek(b, 0); return stbtt__buf_get16(b); } static stbtt__buf stbtt__cff_index_get(stbtt__buf b, int i) { int count, offsize, start, end; stbtt__buf_seek(&b, 0); count = stbtt__buf_get16(&b); offsize = stbtt__buf_get8(&b); STBTT_assert(i >= 0 && i < count); STBTT_assert(offsize >= 1 && offsize <= 4); stbtt__buf_skip(&b, i*offsize); start = stbtt__buf_get(&b, offsize); end = stbtt__buf_get(&b, offsize); return stbtt__buf_range(&b, 2+(count+1)*offsize+start, end - start); } /* //////////////////////////////////////////////////////////////////////// */ /* */ /* accessors to parse data from file */ /* */ /* on platforms that don't allow misaligned reads, if we want to allow */ /* truetype fonts that aren't padded to alignment, define ALLOW_UNALIGNED_TRUETYPE */ #define ttBYTE(p) (* (stbtt_uint8 *) (p)) #define ttCHAR(p) (* (stbtt_int8 *) (p)) #define ttFixed(p) ttLONG(p) static stbtt_uint16 ttUSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } static stbtt_int16 ttSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } static stbtt_uint32 ttULONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } static stbtt_int32 ttLONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } #define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3)) #define stbtt_tag(p,str) stbtt_tag4(p,str[0],str[1],str[2],str[3]) static int stbtt__isfont(stbtt_uint8 *font) { /* check the version number */ if (stbtt_tag4(font, '1',0,0,0)) return 1; /* TrueType 1 */ if (stbtt_tag(font, "typ1")) return 1; /* TrueType with type 1 font -- we don't support this! */ if (stbtt_tag(font, "OTTO")) return 1; /* OpenType with CFF */ if (stbtt_tag4(font, 0,1,0,0)) return 1; /* OpenType 1.0 */ if (stbtt_tag(font, "true")) return 1; /* Apple specification for TrueType fonts */ return 0; } /* @OPTIMIZE: binary search */ static stbtt_uint32 stbtt__find_table(stbtt_uint8 *data, stbtt_uint32 fontstart, const char *tag) { stbtt_int32 num_tables = ttUSHORT(data+fontstart+4); stbtt_uint32 tabledir = fontstart + 12; stbtt_int32 i; for (i=0; i < num_tables; ++i) { stbtt_uint32 loc = tabledir + 16*i; if (stbtt_tag(data+loc+0, tag)) return ttULONG(data+loc+8); } return 0; } static int stbtt_GetFontOffsetForIndex_internal(unsigned char *font_collection, int index) { /* if it's just a font, there's only one valid index */ if (stbtt__isfont(font_collection)) return index == 0 ? 0 : -1; /* check if it's a TTC */ if (stbtt_tag(font_collection, "ttcf")) { /* version 1? */ if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { stbtt_int32 n = ttLONG(font_collection+8); if (index >= n) return -1; return ttULONG(font_collection+12+index*4); } } return -1; } static int stbtt_GetNumberOfFonts_internal(unsigned char *font_collection) { /* if it's just a font, there's only one valid font */ if (stbtt__isfont(font_collection)) return 1; /* check if it's a TTC */ if (stbtt_tag(font_collection, "ttcf")) { /* version 1? */ if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { return ttLONG(font_collection+8); } } return 0; } static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) { stbtt_uint32 subrsoff = 0, private_loc[2] = { 0, 0 }; stbtt__buf pdict; stbtt__dict_get_ints(&fontdict, 18, 2, private_loc); if (!private_loc[1] || !private_loc[0]) return stbtt__new_buf(NULL, 0); pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]); stbtt__dict_get_ints(&pdict, 19, 1, &subrsoff); if (!subrsoff) return stbtt__new_buf(NULL, 0); stbtt__buf_seek(&cff, private_loc[1]+subrsoff); return stbtt__cff_get_index(&cff); } /* since most people won't use this, find this table the first time it's needed */ static int stbtt__get_svg(stbtt_fontinfo *info) { stbtt_uint32 t; if (info->svg < 0) { t = stbtt__find_table(info->data, info->fontstart, "SVG "); if (t) { stbtt_uint32 offset = ttULONG(info->data + t + 2); info->svg = t + offset; } else { info->svg = 0; } } return info->svg; } static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) { stbtt_uint32 cmap, t; stbtt_int32 i,numTables; info->data = data; info->fontstart = fontstart; info->cff = stbtt__new_buf(NULL, 0); cmap = stbtt__find_table(data, fontstart, "cmap"); /* required */ info->loca = stbtt__find_table(data, fontstart, "loca"); /* required */ info->head = stbtt__find_table(data, fontstart, "head"); /* required */ info->glyf = stbtt__find_table(data, fontstart, "glyf"); /* required */ info->hhea = stbtt__find_table(data, fontstart, "hhea"); /* required */ info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); /* required */ info->kern = stbtt__find_table(data, fontstart, "kern"); /* not required */ info->gpos = stbtt__find_table(data, fontstart, "GPOS"); /* not required */ if (!cmap || !info->head || !info->hhea || !info->hmtx) return 0; if (info->glyf) { /* required for truetype */ if (!info->loca) return 0; } else { /* initialization for CFF / Type2 fonts (OTF) */ stbtt__buf b, topdict, topdictidx; stbtt_uint32 cstype = 2, charstrings = 0, fdarrayoff = 0, fdselectoff = 0; stbtt_uint32 cff; cff = stbtt__find_table(data, fontstart, "CFF "); if (!cff) return 0; info->fontdicts = stbtt__new_buf(NULL, 0); info->fdselect = stbtt__new_buf(NULL, 0); /* @TODO this should use size from table (not 512MB) */ info->cff = stbtt__new_buf(data+cff, 512*1024*1024); b = info->cff; /* read the header */ stbtt__buf_skip(&b, 2); stbtt__buf_seek(&b, stbtt__buf_get8(&b)); /* hdrsize */ /* @TODO the name INDEX could list multiple fonts, */ /* but we just use the first one. */ stbtt__cff_get_index(&b); /* name INDEX */ topdictidx = stbtt__cff_get_index(&b); topdict = stbtt__cff_index_get(topdictidx, 0); stbtt__cff_get_index(&b); /* string INDEX */ info->gsubrs = stbtt__cff_get_index(&b); stbtt__dict_get_ints(&topdict, 17, 1, &charstrings); stbtt__dict_get_ints(&topdict, 0x100 | 6, 1, &cstype); stbtt__dict_get_ints(&topdict, 0x100 | 36, 1, &fdarrayoff); stbtt__dict_get_ints(&topdict, 0x100 | 37, 1, &fdselectoff); info->subrs = stbtt__get_subrs(b, topdict); /* we only support Type 2 charstrings */ if (cstype != 2) return 0; if (charstrings == 0) return 0; if (fdarrayoff) { /* looks like a CID font */ if (!fdselectoff) return 0; stbtt__buf_seek(&b, fdarrayoff); info->fontdicts = stbtt__cff_get_index(&b); info->fdselect = stbtt__buf_range(&b, fdselectoff, b.size-fdselectoff); } stbtt__buf_seek(&b, charstrings); info->charstrings = stbtt__cff_get_index(&b); } t = stbtt__find_table(data, fontstart, "maxp"); if (t) info->numGlyphs = ttUSHORT(data+t+4); else info->numGlyphs = 0xffff; info->svg = -1; /* find a cmap encoding table we understand *now* to avoid searching */ /* later. (todo: could make this installable) */ /* the same regardless of glyph. */ numTables = ttUSHORT(data + cmap + 2); info->index_map = 0; for (i=0; i < numTables; ++i) { stbtt_uint32 encoding_record = cmap + 4 + 8 * i; /* find an encoding we understand: */ switch(ttUSHORT(data+encoding_record)) { case STBTT_PLATFORM_ID_MICROSOFT: switch (ttUSHORT(data+encoding_record+2)) { case STBTT_MS_EID_UNICODE_BMP: case STBTT_MS_EID_UNICODE_FULL: /* MS/Unicode */ info->index_map = cmap + ttULONG(data+encoding_record+4); break; } break; case STBTT_PLATFORM_ID_UNICODE: /* Mac/iOS has these */ /* all the encodingIDs are unicode, so we don't bother to check it */ info->index_map = cmap + ttULONG(data+encoding_record+4); break; } } if (info->index_map == 0) return 0; info->indexToLocFormat = ttUSHORT(data+info->head + 50); return 1; } STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint) { stbtt_uint8 *data = info->data; stbtt_uint32 index_map = info->index_map; stbtt_uint16 format = ttUSHORT(data + index_map + 0); if (format == 0) { /* apple byte encoding */ stbtt_int32 bytes = ttUSHORT(data + index_map + 2); if (unicode_codepoint < bytes-6) return ttBYTE(data + index_map + 6 + unicode_codepoint); return 0; } else if (format == 6) { stbtt_uint32 first = ttUSHORT(data + index_map + 6); stbtt_uint32 count = ttUSHORT(data + index_map + 8); if ((stbtt_uint32) unicode_codepoint >= first && (stbtt_uint32) unicode_codepoint < first+count) return ttUSHORT(data + index_map + 10 + (unicode_codepoint - first)*2); return 0; } else if (format == 2) { STBTT_assert(0); /* @TODO: high-byte mapping for japanese/chinese/korean */ return 0; } else if (format == 4) { /* standard mapping for windows fonts: binary search collection of ranges */ stbtt_uint16 segcount = ttUSHORT(data+index_map+6) >> 1; stbtt_uint16 searchRange = ttUSHORT(data+index_map+8) >> 1; stbtt_uint16 entrySelector = ttUSHORT(data+index_map+10); stbtt_uint16 rangeShift = ttUSHORT(data+index_map+12) >> 1; /* do a binary search of the segments */ stbtt_uint32 endCount = index_map + 14; stbtt_uint32 search = endCount; if (unicode_codepoint > 0xffff) return 0; /* they lie from endCount .. endCount + segCount */ /* but searchRange is the nearest power of two, so... */ if (unicode_codepoint >= ttUSHORT(data + search + rangeShift*2)) search += rangeShift*2; /* now decrement to bias correctly to find smallest */ search -= 2; while (entrySelector) { stbtt_uint16 end; searchRange >>= 1; end = ttUSHORT(data + search + searchRange*2); if (unicode_codepoint > end) search += searchRange*2; --entrySelector; } search += 2; { stbtt_uint16 offset, start; stbtt_uint16 item = (stbtt_uint16) ((search - endCount) >> 1); STBTT_assert(unicode_codepoint <= ttUSHORT(data + endCount + 2*item)); start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); if (unicode_codepoint < start) return 0; offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); if (offset == 0) return (stbtt_uint16) (unicode_codepoint + ttSHORT(data + index_map + 14 + segcount*4 + 2 + 2*item)); return ttUSHORT(data + offset + (unicode_codepoint-start)*2 + index_map + 14 + segcount*6 + 2 + 2*item); } } else if (format == 12 || format == 13) { stbtt_uint32 ngroups = ttULONG(data+index_map+12); stbtt_int32 low,high; low = 0; high = (stbtt_int32)ngroups; /* Binary search the right group. */ while (low < high) { stbtt_int32 mid = low + ((high-low) >> 1); /* rounds down, so low <= mid < high */ stbtt_uint32 start_char = ttULONG(data+index_map+16+mid*12); stbtt_uint32 end_char = ttULONG(data+index_map+16+mid*12+4); if ((stbtt_uint32) unicode_codepoint < start_char) high = mid; else if ((stbtt_uint32) unicode_codepoint > end_char) low = mid+1; else { stbtt_uint32 start_glyph = ttULONG(data+index_map+16+mid*12+8); if (format == 12) return start_glyph + unicode_codepoint-start_char; else /* format == 13 */ return start_glyph; } } return 0; /* not found */ } /* @TODO */ STBTT_assert(0); return 0; } STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) { return stbtt_GetGlyphShape(info, stbtt_FindGlyphIndex(info, unicode_codepoint), vertices); } static void stbtt_setvertex(stbtt_vertex *v, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy) { v->type = type; v->x = (stbtt_int16) x; v->y = (stbtt_int16) y; v->cx = (stbtt_int16) cx; v->cy = (stbtt_int16) cy; } static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) { int g1,g2; STBTT_assert(!info->cff.size); if (glyph_index >= info->numGlyphs) return -1; /* glyph index out of range */ if (info->indexToLocFormat >= 2) return -1; /* unknown index->glyph map format */ if (info->indexToLocFormat == 0) { g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2; } else { g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); } return g1==g2 ? -1 : g1; /* if length is 0, return -1 */ } static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) { if (info->cff.size) { stbtt__GetGlyphInfoT2(info, glyph_index, x0, y0, x1, y1); } else { int g = stbtt__GetGlyfOffset(info, glyph_index); if (g < 0) return 0; if (x0) *x0 = ttSHORT(info->data + g + 2); if (y0) *y0 = ttSHORT(info->data + g + 4); if (x1) *x1 = ttSHORT(info->data + g + 6); if (y1) *y1 = ttSHORT(info->data + g + 8); } return 1; } STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) { return stbtt_GetGlyphBox(info, stbtt_FindGlyphIndex(info,codepoint), x0,y0,x1,y1); } STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) { stbtt_int16 numberOfContours; int g; if (info->cff.size) return stbtt__GetGlyphInfoT2(info, glyph_index, NULL, NULL, NULL, NULL) == 0; g = stbtt__GetGlyfOffset(info, glyph_index); if (g < 0) return 1; numberOfContours = ttSHORT(info->data + g); return numberOfContours == 0; } static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off, stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy) { if (start_off) { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+scx)>>1, (cy+scy)>>1, cx,cy); stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, sx,sy,scx,scy); } else { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve,sx,sy,cx,cy); else stbtt_setvertex(&vertices[num_vertices++], STBTT_vline,sx,sy,0,0); } return num_vertices; } static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { stbtt_int16 numberOfContours; stbtt_uint8 *endPtsOfContours; stbtt_uint8 *data = info->data; stbtt_vertex *vertices=0; int num_vertices=0; int g = stbtt__GetGlyfOffset(info, glyph_index); *pvertices = NULL; if (g < 0) return 0; numberOfContours = ttSHORT(data + g); if (numberOfContours > 0) { stbtt_uint8 flags=0,flagcount; stbtt_int32 ins, i,j=0,m,n, next_move, was_off=0, off, start_off=0; stbtt_int32 x,y,cx,cy,sx,sy, scx,scy; stbtt_uint8 *points; endPtsOfContours = (data + g + 10); ins = ttUSHORT(data + g + 10 + numberOfContours * 2); points = data + g + 10 + numberOfContours * 2 + 2 + ins; n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); m = n + 2*numberOfContours; /* a loose bound on how many vertices we might need */ vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata); if (vertices == 0) return 0; next_move = 0; flagcount=0; /* in first pass, we load uninterpreted data into the allocated array */ /* above, shifted to the end of the array so we won't overwrite it when */ /* we create our final data starting from the front */ off = m - n; /* starting offset for uninterpreted data, regardless of how m ends up being calculated */ /* first load flags */ for (i=0; i < n; ++i) { if (flagcount == 0) { flags = *points++; if (flags & 8) flagcount = *points++; } else --flagcount; vertices[off+i].type = flags; } /* now load x coordinates */ x=0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; if (flags & 2) { stbtt_int16 dx = *points++; x += (flags & 16) ? dx : -dx; /* ??? */ } else { if (!(flags & 16)) { x = x + (stbtt_int16) (points[0]*256 + points[1]); points += 2; } } vertices[off+i].x = (stbtt_int16) x; } /* now load y coordinates */ y=0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; if (flags & 4) { stbtt_int16 dy = *points++; y += (flags & 32) ? dy : -dy; /* ??? */ } else { if (!(flags & 32)) { y = y + (stbtt_int16) (points[0]*256 + points[1]); points += 2; } } vertices[off+i].y = (stbtt_int16) y; } /* now convert them to our format */ num_vertices=0; sx = sy = cx = cy = scx = scy = 0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; x = (stbtt_int16) vertices[off+i].x; y = (stbtt_int16) vertices[off+i].y; if (next_move == i) { if (i != 0) num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); /* now start the new one */ start_off = !(flags & 1); if (start_off) { /* if we start off with an off-curve point, then when we need to find a point on the curve */ /* where we can start, and we need to save some state for when we wraparound. */ scx = x; scy = y; if (!(vertices[off+i+1].type & 1)) { /* next point is also a curve point, so interpolate an on-point curve */ sx = (x + (stbtt_int32) vertices[off+i+1].x) >> 1; sy = (y + (stbtt_int32) vertices[off+i+1].y) >> 1; } else { /* otherwise just use the next point as our start point */ sx = (stbtt_int32) vertices[off+i+1].x; sy = (stbtt_int32) vertices[off+i+1].y; ++i; /* we're using point i+1 as the starting point, so skip it */ } } else { sx = x; sy = y; } stbtt_setvertex(&vertices[num_vertices++], STBTT_vmove,sx,sy,0,0); was_off = 0; next_move = 1 + ttUSHORT(endPtsOfContours+j*2); ++j; } else { if (!(flags & 1)) { /* if it's a curve */ if (was_off) /* two off-curve control points in a row means interpolate an on-curve midpoint */ stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+x)>>1, (cy+y)>>1, cx, cy); cx = x; cy = y; was_off = 1; } else { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, x,y, cx, cy); else stbtt_setvertex(&vertices[num_vertices++], STBTT_vline, x,y,0,0); was_off = 0; } } } num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); } else if (numberOfContours < 0) { /* Compound shapes. */ int more = 1; stbtt_uint8 *comp = data + g + 10; num_vertices = 0; vertices = 0; while (more) { stbtt_uint16 flags, gidx; int comp_num_verts = 0, i; stbtt_vertex *comp_verts = 0, *tmp = 0; float mtx[6] = {1,0,0,1,0,0}, m, n; flags = ttSHORT(comp); comp+=2; gidx = ttSHORT(comp); comp+=2; if (flags & 2) { /* XY values */ if (flags & 1) { /* shorts */ mtx[4] = ttSHORT(comp); comp+=2; mtx[5] = ttSHORT(comp); comp+=2; } else { mtx[4] = ttCHAR(comp); comp+=1; mtx[5] = ttCHAR(comp); comp+=1; } } else { /* @TODO handle matching point */ STBTT_assert(0); } if (flags & (1<<3)) { /* WE_HAVE_A_SCALE */ mtx[0] = mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = mtx[2] = 0; } else if (flags & (1<<6)) { /* WE_HAVE_AN_X_AND_YSCALE */ mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = mtx[2] = 0; mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; } else if (flags & (1<<7)) { /* WE_HAVE_A_TWO_BY_TWO */ mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = ttSHORT(comp)/16384.0f; comp+=2; mtx[2] = ttSHORT(comp)/16384.0f; comp+=2; mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; } /* Find transformation scales. */ m = (float) STBTT_sqrt(mtx[0]*mtx[0] + mtx[1]*mtx[1]); n = (float) STBTT_sqrt(mtx[2]*mtx[2] + mtx[3]*mtx[3]); /* Get indexed glyph. */ comp_num_verts = stbtt_GetGlyphShape(info, gidx, &comp_verts); if (comp_num_verts > 0) { /* Transform vertices. */ for (i = 0; i < comp_num_verts; ++i) { stbtt_vertex* v = &comp_verts[i]; stbtt_vertex_type x,y; x=v->x; y=v->y; v->x = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); v->y = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); x=v->cx; y=v->cy; v->cx = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); v->cy = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); } /* Append vertices. */ tmp = (stbtt_vertex*)STBTT_malloc((num_vertices+comp_num_verts)*sizeof(stbtt_vertex), info->userdata); if (!tmp) { if (vertices) STBTT_free(vertices, info->userdata); if (comp_verts) STBTT_free(comp_verts, info->userdata); return 0; } if (num_vertices > 0) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex)); if (vertices) STBTT_free(vertices, info->userdata); vertices = tmp; STBTT_free(comp_verts, info->userdata); num_vertices += comp_num_verts; } /* More components ? */ more = flags & (1<<5); } } else { /* numberOfCounters == 0, do nothing */ } *pvertices = vertices; return num_vertices; } typedef struct { int bounds; int started; float first_x, first_y; float x, y; stbtt_int32 min_x, max_x, min_y, max_y; stbtt_vertex *pvertices; int num_vertices; } stbtt__csctx; #define STBTT__CSCTX_INIT(bounds) {bounds,0, 0,0, 0,0, 0,0,0,0, NULL, 0} static void stbtt__track_vertex(stbtt__csctx *c, stbtt_int32 x, stbtt_int32 y) { if (x > c->max_x || !c->started) c->max_x = x; if (y > c->max_y || !c->started) c->max_y = y; if (x < c->min_x || !c->started) c->min_x = x; if (y < c->min_y || !c->started) c->min_y = y; c->started = 1; } static void stbtt__csctx_v(stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1) { if (c->bounds) { stbtt__track_vertex(c, x, y); if (type == STBTT_vcubic) { stbtt__track_vertex(c, cx, cy); stbtt__track_vertex(c, cx1, cy1); } } else { stbtt_setvertex(&c->pvertices[c->num_vertices], type, x, y, cx, cy); c->pvertices[c->num_vertices].cx1 = (stbtt_int16) cx1; c->pvertices[c->num_vertices].cy1 = (stbtt_int16) cy1; } c->num_vertices++; } static void stbtt__csctx_close_shape(stbtt__csctx *ctx) { if (ctx->first_x != ctx->x || ctx->first_y != ctx->y) stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->first_x, (int)ctx->first_y, 0, 0, 0, 0); } static void stbtt__csctx_rmove_to(stbtt__csctx *ctx, float dx, float dy) { stbtt__csctx_close_shape(ctx); ctx->first_x = ctx->x = ctx->x + dx; ctx->first_y = ctx->y = ctx->y + dy; stbtt__csctx_v(ctx, STBTT_vmove, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); } static void stbtt__csctx_rline_to(stbtt__csctx *ctx, float dx, float dy) { ctx->x += dx; ctx->y += dy; stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); } static void stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) { float cx1 = ctx->x + dx1; float cy1 = ctx->y + dy1; float cx2 = cx1 + dx2; float cy2 = cy1 + dy2; ctx->x = cx2 + dx3; ctx->y = cy2 + dy3; stbtt__csctx_v(ctx, STBTT_vcubic, (int)ctx->x, (int)ctx->y, (int)cx1, (int)cy1, (int)cx2, (int)cy2); } static stbtt__buf stbtt__get_subr(stbtt__buf idx, int n) { int count = stbtt__cff_index_count(&idx); int bias = 107; if (count >= 33900) bias = 32768; else if (count >= 1240) bias = 1131; n += bias; if (n < 0 || n >= count) return stbtt__new_buf(NULL, 0); return stbtt__cff_index_get(idx, n); } static stbtt__buf stbtt__cid_get_glyph_subrs(const stbtt_fontinfo *info, int glyph_index) { stbtt__buf fdselect = info->fdselect; int nranges, start, end, v, fmt, fdselector = -1, i; stbtt__buf_seek(&fdselect, 0); fmt = stbtt__buf_get8(&fdselect); if (fmt == 0) { /* untested */ stbtt__buf_skip(&fdselect, glyph_index); fdselector = stbtt__buf_get8(&fdselect); } else if (fmt == 3) { nranges = stbtt__buf_get16(&fdselect); start = stbtt__buf_get16(&fdselect); for (i = 0; i < nranges; i++) { v = stbtt__buf_get8(&fdselect); end = stbtt__buf_get16(&fdselect); if (glyph_index >= start && glyph_index < end) { fdselector = v; break; } start = end; } } if (fdselector == -1) stbtt__new_buf(NULL, 0); return stbtt__get_subrs(info->cff, stbtt__cff_index_get(info->fontdicts, fdselector)); } static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c) { int in_header = 1, maskbits = 0, subr_stack_height = 0, sp = 0, v, i, b0; int has_subrs = 0, clear_stack; float s[48]; stbtt__buf subr_stack[10], subrs = info->subrs, b; float f; #define STBTT__CSERR(s) (0) /* this currently ignores the initial width value, which isn't needed if we have hmtx */ b = stbtt__cff_index_get(info->charstrings, glyph_index); while (b.cursor < b.size) { i = 0; clear_stack = 1; b0 = stbtt__buf_get8(&b); switch (b0) { /* @TODO implement hinting */ case 0x13: /* hintmask */ case 0x14: /* cntrmask */ if (in_header) maskbits += (sp / 2); /* implicit "vstem" */ in_header = 0; stbtt__buf_skip(&b, (maskbits + 7) / 8); break; case 0x01: /* hstem */ case 0x03: /* vstem */ case 0x12: /* hstemhm */ case 0x17: /* vstemhm */ maskbits += (sp / 2); break; case 0x15: /* rmoveto */ in_header = 0; if (sp < 2) return STBTT__CSERR("rmoveto stack"); stbtt__csctx_rmove_to(c, s[sp-2], s[sp-1]); break; case 0x04: /* vmoveto */ in_header = 0; if (sp < 1) return STBTT__CSERR("vmoveto stack"); stbtt__csctx_rmove_to(c, 0, s[sp-1]); break; case 0x16: /* hmoveto */ in_header = 0; if (sp < 1) return STBTT__CSERR("hmoveto stack"); stbtt__csctx_rmove_to(c, s[sp-1], 0); break; case 0x05: /* rlineto */ if (sp < 2) return STBTT__CSERR("rlineto stack"); for (; i + 1 < sp; i += 2) stbtt__csctx_rline_to(c, s[i], s[i+1]); break; /* hlineto/vlineto and vhcurveto/hvcurveto alternate horizontal and vertical */ /* starting from a different place. */ case 0x07: /* vlineto */ if (sp < 1) return STBTT__CSERR("vlineto stack"); goto vlineto; case 0x06: /* hlineto */ if (sp < 1) return STBTT__CSERR("hlineto stack"); for (;;) { if (i >= sp) break; stbtt__csctx_rline_to(c, s[i], 0); i++; vlineto: if (i >= sp) break; stbtt__csctx_rline_to(c, 0, s[i]); i++; } break; case 0x1F: /* hvcurveto */ if (sp < 4) return STBTT__CSERR("hvcurveto stack"); goto hvcurveto; case 0x1E: /* vhcurveto */ if (sp < 4) return STBTT__CSERR("vhcurveto stack"); for (;;) { if (i + 3 >= sp) break; stbtt__csctx_rccurve_to(c, 0, s[i], s[i+1], s[i+2], s[i+3], (sp - i == 5) ? s[i + 4] : 0.0f); i += 4; hvcurveto: if (i + 3 >= sp) break; stbtt__csctx_rccurve_to(c, s[i], 0, s[i+1], s[i+2], (sp - i == 5) ? s[i+4] : 0.0f, s[i+3]); i += 4; } break; case 0x08: /* rrcurveto */ if (sp < 6) return STBTT__CSERR("rcurveline stack"); for (; i + 5 < sp; i += 6) stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); break; case 0x18: /* rcurveline */ if (sp < 8) return STBTT__CSERR("rcurveline stack"); for (; i + 5 < sp - 2; i += 6) stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); if (i + 1 >= sp) return STBTT__CSERR("rcurveline stack"); stbtt__csctx_rline_to(c, s[i], s[i+1]); break; case 0x19: /* rlinecurve */ if (sp < 8) return STBTT__CSERR("rlinecurve stack"); for (; i + 1 < sp - 6; i += 2) stbtt__csctx_rline_to(c, s[i], s[i+1]); if (i + 5 >= sp) return STBTT__CSERR("rlinecurve stack"); stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); break; case 0x1A: /* vvcurveto */ case 0x1B: /* hhcurveto */ if (sp < 4) return STBTT__CSERR("(vv|hh)curveto stack"); f = 0.0; if (sp & 1) { f = s[i]; i++; } for (; i + 3 < sp; i += 4) { if (b0 == 0x1B) stbtt__csctx_rccurve_to(c, s[i], f, s[i+1], s[i+2], s[i+3], 0.0); else stbtt__csctx_rccurve_to(c, f, s[i], s[i+1], s[i+2], 0.0, s[i+3]); f = 0.0; } break; case 0x0A: /* callsubr */ if (!has_subrs) { if (info->fdselect.size) subrs = stbtt__cid_get_glyph_subrs(info, glyph_index); has_subrs = 1; } /* fallthrough */ case 0x1D: /* callgsubr */ if (sp < 1) return STBTT__CSERR("call(g|)subr stack"); v = (int) s[--sp]; if (subr_stack_height >= 10) return STBTT__CSERR("recursion limit"); subr_stack[subr_stack_height++] = b; b = stbtt__get_subr(b0 == 0x0A ? subrs : info->gsubrs, v); if (b.size == 0) return STBTT__CSERR("subr not found"); b.cursor = 0; clear_stack = 0; break; case 0x0B: /* return */ if (subr_stack_height <= 0) return STBTT__CSERR("return outside subr"); b = subr_stack[--subr_stack_height]; clear_stack = 0; break; case 0x0E: /* endchar */ stbtt__csctx_close_shape(c); return 1; case 0x0C: { /* two-byte escape */ float dx1, dx2, dx3, dx4, dx5, dx6, dy1, dy2, dy3, dy4, dy5, dy6; float dx, dy; int b1 = stbtt__buf_get8(&b); switch (b1) { /* @TODO These "flex" implementations ignore the flex-depth and resolution, */ /* and always draw beziers. */ case 0x22: /* hflex */ if (sp < 7) return STBTT__CSERR("hflex stack"); dx1 = s[0]; dx2 = s[1]; dy2 = s[2]; dx3 = s[3]; dx4 = s[4]; dx5 = s[5]; dx6 = s[6]; stbtt__csctx_rccurve_to(c, dx1, 0, dx2, dy2, dx3, 0); stbtt__csctx_rccurve_to(c, dx4, 0, dx5, -dy2, dx6, 0); break; case 0x23: /* flex */ if (sp < 13) return STBTT__CSERR("flex stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dy3 = s[5]; dx4 = s[6]; dy4 = s[7]; dx5 = s[8]; dy5 = s[9]; dx6 = s[10]; dy6 = s[11]; /* fd is s[12] */ stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); break; case 0x24: /* hflex1 */ if (sp < 9) return STBTT__CSERR("hflex1 stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dx4 = s[5]; dx5 = s[6]; dy5 = s[7]; dx6 = s[8]; stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, 0); stbtt__csctx_rccurve_to(c, dx4, 0, dx5, dy5, dx6, -(dy1+dy2+dy5)); break; case 0x25: /* flex1 */ if (sp < 11) return STBTT__CSERR("flex1 stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dy3 = s[5]; dx4 = s[6]; dy4 = s[7]; dx5 = s[8]; dy5 = s[9]; dx6 = dy6 = s[10]; dx = dx1+dx2+dx3+dx4+dx5; dy = dy1+dy2+dy3+dy4+dy5; if (STBTT_fabs(dx) > STBTT_fabs(dy)) dy6 = -dy; else dx6 = -dx; stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); break; default: return STBTT__CSERR("unimplemented"); } } break; default: if (b0 != 255 && b0 != 28 && (b0 < 32 || b0 > 254)) return STBTT__CSERR("reserved operator"); /* push immediate */ if (b0 == 255) { f = (float)(stbtt_int32)stbtt__buf_get32(&b) / 0x10000; } else { stbtt__buf_skip(&b, -1); f = (float)(stbtt_int16)stbtt__cff_int(&b); } if (sp >= 48) return STBTT__CSERR("push stack overflow"); s[sp++] = f; clear_stack = 0; break; } if (clear_stack) sp = 0; } return STBTT__CSERR("no endchar"); #undef STBTT__CSERR } static int stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { /* runs the charstring twice, once to count and once to output (to avoid realloc) */ stbtt__csctx count_ctx = STBTT__CSCTX_INIT(1); stbtt__csctx output_ctx = STBTT__CSCTX_INIT(0); if (stbtt__run_charstring(info, glyph_index, &count_ctx)) { *pvertices = (stbtt_vertex*)STBTT_malloc(count_ctx.num_vertices*sizeof(stbtt_vertex), info->userdata); output_ctx.pvertices = *pvertices; if (stbtt__run_charstring(info, glyph_index, &output_ctx)) { STBTT_assert(output_ctx.num_vertices == count_ctx.num_vertices); return output_ctx.num_vertices; } } *pvertices = NULL; return 0; } static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) { stbtt__csctx c = STBTT__CSCTX_INIT(1); int r = stbtt__run_charstring(info, glyph_index, &c); if (x0) *x0 = r ? c.min_x : 0; if (y0) *y0 = r ? c.min_y : 0; if (x1) *x1 = r ? c.max_x : 0; if (y1) *y1 = r ? c.max_y : 0; return r ? c.num_vertices : 0; } STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { if (!info->cff.size) return stbtt__GetGlyphShapeTT(info, glyph_index, pvertices); else return stbtt__GetGlyphShapeT2(info, glyph_index, pvertices); } STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing) { stbtt_uint16 numOfLongHorMetrics = ttUSHORT(info->data+info->hhea + 34); if (glyph_index < numOfLongHorMetrics) { if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); } else { if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-1)); if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics + 2*(glyph_index - numOfLongHorMetrics)); } } STBTT_DEF int stbtt_GetKerningTableLength(const stbtt_fontinfo *info) { stbtt_uint8 *data = info->data + info->kern; /* we only look at the first table. it must be 'horizontal' and format 0. */ if (!info->kern) return 0; if (ttUSHORT(data+2) < 1) /* number of tables, need at least 1 */ return 0; if (ttUSHORT(data+8) != 1) /* horizontal flag must be set in format */ return 0; return ttUSHORT(data+10); } STBTT_DEF int stbtt_GetKerningTable(const stbtt_fontinfo *info, stbtt_kerningentry* table, int table_length) { stbtt_uint8 *data = info->data + info->kern; int k, length; /* we only look at the first table. it must be 'horizontal' and format 0. */ if (!info->kern) return 0; if (ttUSHORT(data+2) < 1) /* number of tables, need at least 1 */ return 0; if (ttUSHORT(data+8) != 1) /* horizontal flag must be set in format */ return 0; length = ttUSHORT(data+10); if (table_length < length) length = table_length; for (k = 0; k < length; k++) { table[k].glyph1 = ttUSHORT(data+18+(k*6)); table[k].glyph2 = ttUSHORT(data+20+(k*6)); table[k].advance = ttSHORT(data+22+(k*6)); } return length; } static int stbtt__GetGlyphKernInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { stbtt_uint8 *data = info->data + info->kern; stbtt_uint32 needle, straw; int l, r, m; /* we only look at the first table. it must be 'horizontal' and format 0. */ if (!info->kern) return 0; if (ttUSHORT(data+2) < 1) /* number of tables, need at least 1 */ return 0; if (ttUSHORT(data+8) != 1) /* horizontal flag must be set in format */ return 0; l = 0; r = ttUSHORT(data+10) - 1; needle = glyph1 << 16 | glyph2; while (l <= r) { m = (l + r) >> 1; straw = ttULONG(data+18+(m*6)); /* note: unaligned read */ if (needle < straw) r = m - 1; else if (needle > straw) l = m + 1; else return ttSHORT(data+22+(m*6)); } return 0; } static stbtt_int32 stbtt__GetCoverageIndex(stbtt_uint8 *coverageTable, int glyph) { stbtt_uint16 coverageFormat = ttUSHORT(coverageTable); switch(coverageFormat) { case 1: { stbtt_uint16 glyphCount = ttUSHORT(coverageTable + 2); /* Binary search. */ stbtt_int32 l=0, r=glyphCount-1, m; int straw, needle=glyph; while (l <= r) { stbtt_uint8 *glyphArray = coverageTable + 4; stbtt_uint16 glyphID; m = (l + r) >> 1; glyphID = ttUSHORT(glyphArray + 2 * m); straw = glyphID; if (needle < straw) r = m - 1; else if (needle > straw) l = m + 1; else { return m; } } } break; case 2: { stbtt_uint16 rangeCount = ttUSHORT(coverageTable + 2); stbtt_uint8 *rangeArray = coverageTable + 4; /* Binary search. */ stbtt_int32 l=0, r=rangeCount-1, m; int strawStart, strawEnd, needle=glyph; while (l <= r) { stbtt_uint8 *rangeRecord; m = (l + r) >> 1; rangeRecord = rangeArray + 6 * m; strawStart = ttUSHORT(rangeRecord); strawEnd = ttUSHORT(rangeRecord + 2); if (needle < strawStart) r = m - 1; else if (needle > strawEnd) l = m + 1; else { stbtt_uint16 startCoverageIndex = ttUSHORT(rangeRecord + 4); return startCoverageIndex + glyph - strawStart; } } } break; default: { /* There are no other cases. */ STBTT_assert(0); } break; } return -1; } static stbtt_int32 stbtt__GetGlyphClass(stbtt_uint8 *classDefTable, int glyph) { stbtt_uint16 classDefFormat = ttUSHORT(classDefTable); switch(classDefFormat) { case 1: { stbtt_uint16 startGlyphID = ttUSHORT(classDefTable + 2); stbtt_uint16 glyphCount = ttUSHORT(classDefTable + 4); stbtt_uint8 *classDef1ValueArray = classDefTable + 6; if (glyph >= startGlyphID && glyph < startGlyphID + glyphCount) return (stbtt_int32)ttUSHORT(classDef1ValueArray + 2 * (glyph - startGlyphID)); classDefTable = classDef1ValueArray + 2 * glyphCount; } break; case 2: { stbtt_uint16 classRangeCount = ttUSHORT(classDefTable + 2); stbtt_uint8 *classRangeRecords = classDefTable + 4; /* Binary search. */ stbtt_int32 l=0, r=classRangeCount-1, m; int strawStart, strawEnd, needle=glyph; while (l <= r) { stbtt_uint8 *classRangeRecord; m = (l + r) >> 1; classRangeRecord = classRangeRecords + 6 * m; strawStart = ttUSHORT(classRangeRecord); strawEnd = ttUSHORT(classRangeRecord + 2); if (needle < strawStart) r = m - 1; else if (needle > strawEnd) l = m + 1; else return (stbtt_int32)ttUSHORT(classRangeRecord + 4); } classDefTable = classRangeRecords + 6 * classRangeCount; } break; default: { /* There are no other cases. */ STBTT_assert(0); } break; } return -1; } /* Define to STBTT_assert(x) if you want to break on unimplemented formats. */ #define STBTT_GPOS_TODO_assert(x) static stbtt_int32 stbtt__GetGlyphGPOSInfoAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { stbtt_uint16 lookupListOffset; stbtt_uint8 *lookupList; stbtt_uint16 lookupCount; stbtt_uint8 *data; stbtt_int32 i; if (!info->gpos) return 0; data = info->data + info->gpos; if (ttUSHORT(data+0) != 1) return 0; /* Major version 1 */ if (ttUSHORT(data+2) != 0) return 0; /* Minor version 0 */ lookupListOffset = ttUSHORT(data+8); lookupList = data + lookupListOffset; lookupCount = ttUSHORT(lookupList); for (i=0; i<lookupCount; ++i) { stbtt_uint16 lookupOffset = ttUSHORT(lookupList + 2 + 2 * i); stbtt_uint8 *lookupTable = lookupList + lookupOffset; stbtt_uint16 lookupType = ttUSHORT(lookupTable); stbtt_uint16 subTableCount = ttUSHORT(lookupTable + 4); stbtt_uint8 *subTableOffsets = lookupTable + 6; switch(lookupType) { case 2: { /* Pair Adjustment Positioning Subtable */ stbtt_int32 sti; for (sti=0; sti<subTableCount; sti++) { stbtt_uint16 subtableOffset = ttUSHORT(subTableOffsets + 2 * sti); stbtt_uint8 *table = lookupTable + subtableOffset; stbtt_uint16 posFormat = ttUSHORT(table); stbtt_uint16 coverageOffset = ttUSHORT(table + 2); stbtt_int32 coverageIndex = stbtt__GetCoverageIndex(table + coverageOffset, glyph1); if (coverageIndex == -1) continue; switch (posFormat) { case 1: { stbtt_int32 l, r, m; int straw, needle; stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); stbtt_int32 valueRecordPairSizeInBytes = 2; stbtt_uint16 pairSetCount = ttUSHORT(table + 8); stbtt_uint16 pairPosOffset = ttUSHORT(table + 10 + 2 * coverageIndex); stbtt_uint8 *pairValueTable = table + pairPosOffset; stbtt_uint16 pairValueCount = ttUSHORT(pairValueTable); stbtt_uint8 *pairValueArray = pairValueTable + 2; /* TODO: Support more formats. */ STBTT_GPOS_TODO_assert(valueFormat1 == 4); if (valueFormat1 != 4) return 0; STBTT_GPOS_TODO_assert(valueFormat2 == 0); if (valueFormat2 != 0) return 0; STBTT_assert(coverageIndex < pairSetCount); STBTT__NOTUSED(pairSetCount); needle=glyph2; r=pairValueCount-1; l=0; /* Binary search. */ while (l <= r) { stbtt_uint16 secondGlyph; stbtt_uint8 *pairValue; m = (l + r) >> 1; pairValue = pairValueArray + (2 + valueRecordPairSizeInBytes) * m; secondGlyph = ttUSHORT(pairValue); straw = secondGlyph; if (needle < straw) r = m - 1; else if (needle > straw) l = m + 1; else { stbtt_int16 xAdvance = ttSHORT(pairValue + 2); return xAdvance; } } } break; case 2: { stbtt_uint16 valueFormat1 = ttUSHORT(table + 4); stbtt_uint16 valueFormat2 = ttUSHORT(table + 6); stbtt_uint16 classDef1Offset = ttUSHORT(table + 8); stbtt_uint16 classDef2Offset = ttUSHORT(table + 10); int glyph1class = stbtt__GetGlyphClass(table + classDef1Offset, glyph1); int glyph2class = stbtt__GetGlyphClass(table + classDef2Offset, glyph2); stbtt_uint16 class1Count = ttUSHORT(table + 12); stbtt_uint16 class2Count = ttUSHORT(table + 14); STBTT_assert(glyph1class < class1Count); STBTT_assert(glyph2class < class2Count); /* TODO: Support more formats. */ STBTT_GPOS_TODO_assert(valueFormat1 == 4); if (valueFormat1 != 4) return 0; STBTT_GPOS_TODO_assert(valueFormat2 == 0); if (valueFormat2 != 0) return 0; if (glyph1class >= 0 && glyph1class < class1Count && glyph2class >= 0 && glyph2class < class2Count) { stbtt_uint8 *class1Records = table + 16; stbtt_uint8 *class2Records = class1Records + 2 * (glyph1class * class2Count); stbtt_int16 xAdvance = ttSHORT(class2Records + 2 * glyph2class); return xAdvance; } } break; default: { /* There are no other cases. */ STBTT_assert(0); break; }; } } break; }; default: /* TODO: Implement other stuff. */ break; } } return 0; } STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int g1, int g2) { int xAdvance = 0; if (info->gpos) xAdvance += stbtt__GetGlyphGPOSInfoAdvance(info, g1, g2); else if (info->kern) xAdvance += stbtt__GetGlyphKernInfoAdvance(info, g1, g2); return xAdvance; } STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) { if (!info->kern && !info->gpos) /* if no kerning table, don't waste time looking up both codepoint->glyphs */ return 0; return stbtt_GetGlyphKernAdvance(info, stbtt_FindGlyphIndex(info,ch1), stbtt_FindGlyphIndex(info,ch2)); } STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing) { stbtt_GetGlyphHMetrics(info, stbtt_FindGlyphIndex(info,codepoint), advanceWidth, leftSideBearing); } STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap) { if (ascent ) *ascent = ttSHORT(info->data+info->hhea + 4); if (descent) *descent = ttSHORT(info->data+info->hhea + 6); if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); } STBTT_DEF int stbtt_GetFontVMetricsOS2(const stbtt_fontinfo *info, int *typoAscent, int *typoDescent, int *typoLineGap) { int tab = stbtt__find_table(info->data, info->fontstart, "OS/2"); if (!tab) return 0; if (typoAscent ) *typoAscent = ttSHORT(info->data+tab + 68); if (typoDescent) *typoDescent = ttSHORT(info->data+tab + 70); if (typoLineGap) *typoLineGap = ttSHORT(info->data+tab + 72); return 1; } STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) { *x0 = ttSHORT(info->data + info->head + 36); *y0 = ttSHORT(info->data + info->head + 38); *x1 = ttSHORT(info->data + info->head + 40); *y1 = ttSHORT(info->data + info->head + 42); } STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float height) { int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea + 6); return (float) height / fheight; } STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels) { int unitsPerEm = ttUSHORT(info->data + info->head + 18); return pixels / unitsPerEm; } STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) { STBTT_free(v, info->userdata); } STBTT_DEF stbtt_uint8 *stbtt_FindSVGDoc(const stbtt_fontinfo *info, int gl) { int i; stbtt_uint8 *data = info->data; stbtt_uint8 *svg_doc_list = data + stbtt__get_svg((stbtt_fontinfo *) info); int numEntries = ttUSHORT(svg_doc_list); stbtt_uint8 *svg_docs = svg_doc_list + 2; for(i=0; i<numEntries; i++) { stbtt_uint8 *svg_doc = svg_docs + (12 * i); if ((gl >= ttUSHORT(svg_doc)) && (gl <= ttUSHORT(svg_doc + 2))) return svg_doc; } return 0; } STBTT_DEF int stbtt_GetGlyphSVG(const stbtt_fontinfo *info, int gl, const char **svg) { stbtt_uint8 *data = info->data; stbtt_uint8 *svg_doc; if (info->svg == 0) return 0; svg_doc = stbtt_FindSVGDoc(info, gl); if (svg_doc != NULL) { *svg = (char *) data + info->svg + ttULONG(svg_doc + 4); return ttULONG(svg_doc + 8); } else { return 0; } } STBTT_DEF int stbtt_GetCodepointSVG(const stbtt_fontinfo *info, int unicode_codepoint, const char **svg) { return stbtt_GetGlyphSVG(info, stbtt_FindGlyphIndex(info, unicode_codepoint), svg); } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* antialiasing software rasterizer */ /* */ STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) { int x0=0,y0=0,x1,y1; /* =0 suppresses compiler warning */ if (!stbtt_GetGlyphBox(font, glyph, &x0,&y0,&x1,&y1)) { /* e.g. space character */ if (ix0) *ix0 = 0; if (iy0) *iy0 = 0; if (ix1) *ix1 = 0; if (iy1) *iy1 = 0; } else { /* move to integral bboxes (treating pixels as little squares, what pixels get touched)? */ if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); if (iy0) *iy0 = STBTT_ifloor(-y1 * scale_y + shift_y); if (ix1) *ix1 = STBTT_iceil ( x1 * scale_x + shift_x); if (iy1) *iy1 = STBTT_iceil (-y0 * scale_y + shift_y); } } STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); } STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetGlyphBitmapBoxSubpixel(font, stbtt_FindGlyphIndex(font,codepoint), scale_x, scale_y,shift_x,shift_y, ix0,iy0,ix1,iy1); } STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetCodepointBitmapBoxSubpixel(font, codepoint, scale_x, scale_y,0.0f,0.0f, ix0,iy0,ix1,iy1); } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* Rasterizer */ typedef struct stbtt__hheap_chunk { struct stbtt__hheap_chunk *next; } stbtt__hheap_chunk; typedef struct stbtt__hheap { struct stbtt__hheap_chunk *head; void *first_free; int num_remaining_in_head_chunk; } stbtt__hheap; static void *stbtt__hheap_alloc(stbtt__hheap *hh, size_t size, void *userdata) { if (hh->first_free) { void *p = hh->first_free; hh->first_free = * (void **) p; return p; } else { if (hh->num_remaining_in_head_chunk == 0) { int count = (size < 32 ? 2000 : size < 128 ? 800 : 100); stbtt__hheap_chunk *c = (stbtt__hheap_chunk *) STBTT_malloc(sizeof(stbtt__hheap_chunk) + size * count, userdata); if (c == NULL) return NULL; c->next = hh->head; hh->head = c; hh->num_remaining_in_head_chunk = count; } --hh->num_remaining_in_head_chunk; return (char *) (hh->head) + sizeof(stbtt__hheap_chunk) + size * hh->num_remaining_in_head_chunk; } } static void stbtt__hheap_free(stbtt__hheap *hh, void *p) { *(void **) p = hh->first_free; hh->first_free = p; } static void stbtt__hheap_cleanup(stbtt__hheap *hh, void *userdata) { stbtt__hheap_chunk *c = hh->head; while (c) { stbtt__hheap_chunk *n = c->next; STBTT_free(c, userdata); c = n; } } typedef struct stbtt__edge { float x0,y0, x1,y1; int invert; } stbtt__edge; typedef struct stbtt__active_edge { struct stbtt__active_edge *next; #if STBTT_RASTERIZER_VERSION==1 int x,dx; float ey; int direction; #elif STBTT_RASTERIZER_VERSION==2 float fx,fdx,fdy; float direction; float sy; float ey; #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif } stbtt__active_edge; #if STBTT_RASTERIZER_VERSION == 1 #define STBTT_FIXSHIFT 10 #define STBTT_FIX (1 << STBTT_FIXSHIFT) #define STBTT_FIXMASK (STBTT_FIX-1) static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) { stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); STBTT_assert(z != NULL); if (!z) return z; /* round dx down to avoid overshooting */ if (dxdy < 0) z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); else z->dx = STBTT_ifloor(STBTT_FIX * dxdy); z->x = STBTT_ifloor(STBTT_FIX * e->x0 + z->dx * (start_point - e->y0)); /* use z->dx so when we offset later it's by the same amount */ z->x -= off_x * STBTT_FIX; z->ey = e->y1; z->next = 0; z->direction = e->invert ? 1 : -1; return z; } #elif STBTT_RASTERIZER_VERSION == 2 static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) { stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); STBTT_assert(z != NULL); /* STBTT_assert(e->y0 <= start_point); */ if (!z) return z; z->fdx = dxdy; z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; z->fx = e->x0 + dxdy * (start_point - e->y0); z->fx -= off_x; z->direction = e->invert ? 1.0f : -1.0f; z->sy = e->y0; z->ey = e->y1; z->next = 0; return z; } #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif #if STBTT_RASTERIZER_VERSION == 1 /* note: this routine clips fills that extend off the edges... ideally this */ /* wouldn't happen, but it could happen if the truetype glyph bounding boxes */ /* are wrong, or if the user supplies a too-small bitmap */ static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) { /* non-zero winding fill */ int x0=0, w=0; while (e) { if (w == 0) { /* if we're currently at zero, we need to record the edge start point */ x0 = e->x; w += e->direction; } else { int x1 = e->x; w += e->direction; /* if we went to zero, we need to draw */ if (w == 0) { int i = x0 >> STBTT_FIXSHIFT; int j = x1 >> STBTT_FIXSHIFT; if (i < len && j >= 0) { if (i == j) { /* x0,x1 are the same pixel, so compute combined coverage */ scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); } else { if (i >= 0) /* add antialiasing for x0 */ scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT); else i = -1; /* clip */ if (j < len) /* add antialiasing for x1 */ scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); else j = len; /* clip */ for (++i; i < j; ++i) /* fill pixels between x0 and x1 */ scanline[i] = scanline[i] + (stbtt_uint8) max_weight; } } } } e = e->next; } } static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) { stbtt__hheap hh = { 0, 0, 0 }; stbtt__active_edge *active = NULL; int y,j=0; int max_weight = (255 / vsubsample); /* weight per vertical scanline */ int s; /* vertical subsample index */ unsigned char scanline_data[512], *scanline; if (result->w > 512) scanline = (unsigned char *) STBTT_malloc(result->w, userdata); else scanline = scanline_data; y = off_y * vsubsample; e[n].y0 = (off_y + result->h) * (float) vsubsample + 1; while (j < result->h) { STBTT_memset(scanline, 0, result->w); for (s=0; s < vsubsample; ++s) { /* find center of pixel for this scanline */ float scan_y = y + 0.5f; stbtt__active_edge **step = &active; /* update all active edges; */ /* remove all active edges that terminate before the center of this scanline */ while (*step) { stbtt__active_edge * z = *step; if (z->ey <= scan_y) { *step = z->next; /* delete from list */ STBTT_assert(z->direction); z->direction = 0; stbtt__hheap_free(&hh, z); } else { z->x += z->dx; /* advance to position for current scanline */ step = &((*step)->next); /* advance through list */ } } /* resort the list if needed */ for(;;) { int changed=0; step = &active; while (*step && (*step)->next) { if ((*step)->x > (*step)->next->x) { stbtt__active_edge *t = *step; stbtt__active_edge *q = t->next; t->next = q->next; q->next = t; *step = q; changed = 1; } step = &(*step)->next; } if (!changed) break; } /* insert all edges that start before the center of this scanline -- omit ones that also end on this scanline */ while (e->y0 <= scan_y) { if (e->y1 > scan_y) { stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y, userdata); if (z != NULL) { /* find insertion point */ if (active == NULL) active = z; else if (z->x < active->x) { /* insert at front */ z->next = active; active = z; } else { /* find thing to insert AFTER */ stbtt__active_edge *p = active; while (p->next && p->next->x < z->x) p = p->next; /* at this point, p->next->x is NOT < z->x */ z->next = p->next; p->next = z; } } } ++e; } /* now process all active edges in XOR fashion */ if (active) stbtt__fill_active_edges(scanline, result->w, active, max_weight); ++y; } STBTT_memcpy(result->pixels + j * result->stride, scanline, result->w); ++j; } stbtt__hheap_cleanup(&hh, userdata); if (scanline != scanline_data) STBTT_free(scanline, userdata); } #elif STBTT_RASTERIZER_VERSION == 2 /* the edge passed in here does not cross the vertical line at x or the vertical line at x+1 */ /* (i.e. it has already been clipped to those) */ static void stbtt__handle_clipped_edge(float *scanline, int x, stbtt__active_edge *e, float x0, float y0, float x1, float y1) { if (y0 == y1) return; STBTT_assert(y0 < y1); STBTT_assert(e->sy <= e->ey); if (y0 > e->ey) return; if (y1 < e->sy) return; if (y0 < e->sy) { x0 += (x1-x0) * (e->sy - y0) / (y1-y0); y0 = e->sy; } if (y1 > e->ey) { x1 += (x1-x0) * (e->ey - y1) / (y1-y0); y1 = e->ey; } if (x0 == x) STBTT_assert(x1 <= x+1); else if (x0 == x+1) STBTT_assert(x1 >= x); else if (x0 <= x) STBTT_assert(x1 <= x); else if (x0 >= x+1) STBTT_assert(x1 >= x+1); else STBTT_assert(x1 >= x && x1 <= x+1); if (x0 <= x && x1 <= x) scanline[x] += e->direction * (y1-y0); else if (x0 >= x+1 && x1 >= x+1) ; else { STBTT_assert(x0 >= x && x0 <= x+1 && x1 >= x && x1 <= x+1); scanline[x] += e->direction * (y1-y0) * (1-((x0-x)+(x1-x))/2); /* coverage = 1 - average x position */ } } static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; while (e) { /* brute force every pixel */ /* compute intersection points with top & bottom */ STBTT_assert(e->ey >= y_top); if (e->fdx == 0) { float x0 = e->fx; if (x0 < len) { if (x0 >= 0) { stbtt__handle_clipped_edge(scanline,(int) x0,e, x0,y_top, x0,y_bottom); stbtt__handle_clipped_edge(scanline_fill-1,(int) x0+1,e, x0,y_top, x0,y_bottom); } else { stbtt__handle_clipped_edge(scanline_fill-1,0,e, x0,y_top, x0,y_bottom); } } } else { float x0 = e->fx; float dx = e->fdx; float xb = x0 + dx; float x_top, x_bottom; float sy0,sy1; float dy = e->fdy; STBTT_assert(e->sy <= y_bottom && e->ey >= y_top); /* compute endpoints of line segment clipped to this scanline (if the */ /* line segment starts on this scanline. x0 is the intersection of the */ /* line with y_top, but that may be off the line segment. */ if (e->sy > y_top) { x_top = x0 + dx * (e->sy - y_top); sy0 = e->sy; } else { x_top = x0; sy0 = y_top; } if (e->ey < y_bottom) { x_bottom = x0 + dx * (e->ey - y_top); sy1 = e->ey; } else { x_bottom = xb; sy1 = y_bottom; } if (x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) { /* from here on, we don't have to range check x values */ if ((int) x_top == (int) x_bottom) { float height; /* simple case, only spans one pixel */ int x = (int) x_top; height = sy1 - sy0; STBTT_assert(x >= 0 && x < len); scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; scanline_fill[x] += e->direction * height; /* everything right of this pixel is filled */ } else { int x,x1,x2; float y_crossing, step, sign, area; /* covers 2+ pixels */ if (x_top > x_bottom) { /* flip scanline vertically; signed area is the same */ float t; sy0 = y_bottom - (sy0 - y_top); sy1 = y_bottom - (sy1 - y_top); t = sy0, sy0 = sy1, sy1 = t; t = x_bottom, x_bottom = x_top, x_top = t; dx = -dx; dy = -dy; t = x0, x0 = xb, xb = t; } x1 = (int) x_top; x2 = (int) x_bottom; /* compute intersection with y axis at x1+1 */ y_crossing = (x1+1 - x0) * dy + y_top; sign = e->direction; /* area of the rectangle covered from y0..y_crossing */ area = sign * (y_crossing-sy0); /* area of the triangle (x_top,y0), (x+1,y0), (x+1,y_crossing) */ scanline[x1] += area * (1-((x_top - x1)+(x1+1-x1))/2); step = sign * dy; for (x = x1+1; x < x2; ++x) { scanline[x] += area + step/2; area += step; } y_crossing += dy * (x2 - (x1+1)); STBTT_assert(STBTT_fabs(area) <= 1.01f); scanline[x2] += area + sign * (1-((x2-x2)+(x_bottom-x2))/2) * (sy1-y_crossing); scanline_fill[x2] += sign * (sy1-sy0); } } else { /* if edge goes outside of box we're drawing, we require */ /* clipping logic. since this does not match the intended use */ /* of this library, we use a different, very slow brute */ /* force implementation */ int x; for (x=0; x < len; ++x) { /* cases: */ /* */ /* there can be up to two intersections with the pixel. any intersection */ /* with left or right edges can be handled by splitting into two (or three) */ /* regions. intersections with top & bottom do not necessitate case-wise logic. */ /* */ /* the old way of doing this found the intersections with the left & right edges, */ /* then used some simple logic to produce up to three segments in sorted order */ /* from top-to-bottom. however, this had a problem: if an x edge was epsilon */ /* across the x border, then the corresponding y position might not be distinct */ /* from the other y segment, and it might ignored as an empty segment. to avoid */ /* that, we need to explicitly produce segments based on x positions. */ /* rename variables to clearly-defined pairs */ float y0 = y_top; float x1 = (float) (x); float x2 = (float) (x+1); float x3 = xb; float y3 = y_bottom; /* x = e->x + e->dx * (y-y_top) */ /* (y-y_top) = (x - e->x) / e->dx */ /* y = (x - e->x) / e->dx + y_top */ float y1 = (x - x0) / dx + y_top; float y2 = (x+1 - x0) / dx + y_top; if (x0 < x1 && x3 > x2) { /* three segments descending down-right */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else if (x3 < x1 && x0 > x2) { /* three segments descending down-left */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x0 < x1 && x3 > x1) { /* two segments across x, down-right */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x3 < x1 && x0 > x1) { /* two segments across x, down-left */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x0 < x2 && x3 > x2) { /* two segments across x+1, down-right */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else if (x3 < x2 && x0 > x2) { /* two segments across x+1, down-left */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else { /* one segment */ stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x3,y3); } } } } e = e->next; } } /* directly AA rasterize edges w/o supersampling */ static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) { stbtt__hheap hh = { 0, 0, 0 }; stbtt__active_edge *active = NULL; int y,j=0, i; float scanline_data[129], *scanline, *scanline2; STBTT__NOTUSED(vsubsample); if (result->w > 64) scanline = (float *) STBTT_malloc((result->w*2+1) * sizeof(float), userdata); else scanline = scanline_data; scanline2 = scanline + result->w; y = off_y; e[n].y0 = (float) (off_y + result->h) + 1; while (j < result->h) { /* find center of pixel for this scanline */ float scan_y_top = y + 0.0f; float scan_y_bottom = y + 1.0f; stbtt__active_edge **step = &active; STBTT_memset(scanline , 0, result->w*sizeof(scanline[0])); STBTT_memset(scanline2, 0, (result->w+1)*sizeof(scanline[0])); /* update all active edges; */ /* remove all active edges that terminate before the top of this scanline */ while (*step) { stbtt__active_edge * z = *step; if (z->ey <= scan_y_top) { *step = z->next; /* delete from list */ STBTT_assert(z->direction); z->direction = 0; stbtt__hheap_free(&hh, z); } else { step = &((*step)->next); /* advance through list */ } } /* insert all edges that start before the bottom of this scanline */ while (e->y0 <= scan_y_bottom) { if (e->y0 != e->y1) { stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y_top, userdata); if (z != NULL) { if (j == 0 && off_y != 0) { if (z->ey < scan_y_top) { /* this can happen due to subpixel positioning and some kind of fp rounding error i think */ z->ey = scan_y_top; } } STBTT_assert(z->ey >= scan_y_top); /* if we get really unlucky a tiny bit of an edge can be out of bounds */ /* insert at front */ z->next = active; active = z; } } ++e; } /* now process all active edges */ if (active) stbtt__fill_active_edges_new(scanline, scanline2+1, result->w, active, scan_y_top); { float sum = 0; for (i=0; i < result->w; ++i) { float k; int m; sum += scanline2[i]; k = scanline[i] + sum; k = (float) STBTT_fabs(k)*255 + 0.5f; m = (int) k; if (m > 255) m = 255; result->pixels[j*result->stride + i] = (unsigned char) m; } } /* advance all the edges */ step = &active; while (*step) { stbtt__active_edge *z = *step; z->fx += z->fdx; /* advance to position for current scanline */ step = &((*step)->next); /* advance through list */ } ++y; ++j; } stbtt__hheap_cleanup(&hh, userdata); if (scanline != scanline_data) STBTT_free(scanline, userdata); } #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif #define STBTT__COMPARE(a,b) ((a)->y0 < (b)->y0) static void stbtt__sort_edges_ins_sort(stbtt__edge *p, int n) { int i,j; for (i=1; i < n; ++i) { stbtt__edge t = p[i], *a = &t; j = i; while (j > 0) { stbtt__edge *b = &p[j-1]; int c = STBTT__COMPARE(a,b); if (!c) break; p[j] = p[j-1]; --j; } if (i != j) p[j] = t; } } static void stbtt__sort_edges_quicksort(stbtt__edge *p, int n) { /* threshold for transitioning to insertion sort */ while (n > 12) { stbtt__edge t; int c01,c12,c,m,i,j; /* compute median of three */ m = n >> 1; c01 = STBTT__COMPARE(&p[0],&p[m]); c12 = STBTT__COMPARE(&p[m],&p[n-1]); /* if 0 >= mid >= end, or 0 < mid < end, then use mid */ if (c01 != c12) { /* otherwise, we'll need to swap something else to middle */ int z; c = STBTT__COMPARE(&p[0],&p[n-1]); /* 0>mid && mid<n: 0>n => n; 0<n => 0 */ /* 0<mid && mid>n: 0>n => 0; 0<n => n */ z = (c == c12) ? 0 : n-1; t = p[z]; p[z] = p[m]; p[m] = t; } /* now p[m] is the median-of-three */ /* swap it to the beginning so it won't move around */ t = p[0]; p[0] = p[m]; p[m] = t; /* partition loop */ i=1; j=n-1; for(;;) { /* handling of equality is crucial here */ /* for sentinels & efficiency with duplicates */ for (;;++i) { if (!STBTT__COMPARE(&p[i], &p[0])) break; } for (;;--j) { if (!STBTT__COMPARE(&p[0], &p[j])) break; } /* make sure we haven't crossed */ if (i >= j) break; t = p[i]; p[i] = p[j]; p[j] = t; ++i; --j; } /* recurse on smaller side, iterate on larger */ if (j < (n-i)) { stbtt__sort_edges_quicksort(p,j); p = p+i; n = n-i; } else { stbtt__sort_edges_quicksort(p+i, n-i); n = j; } } } static void stbtt__sort_edges(stbtt__edge *p, int n) { stbtt__sort_edges_quicksort(p, n); stbtt__sort_edges_ins_sort(p, n); } typedef struct { float x,y; } stbtt__point; static void stbtt__rasterize(stbtt__bitmap *result, stbtt__point *pts, int *wcount, int windings, float scale_x, float scale_y, float shift_x, float shift_y, int off_x, int off_y, int invert, void *userdata) { float y_scale_inv = invert ? -scale_y : scale_y; stbtt__edge *e; int n,i,j,k,m; #if STBTT_RASTERIZER_VERSION == 1 int vsubsample = result->h < 8 ? 15 : 5; #elif STBTT_RASTERIZER_VERSION == 2 int vsubsample = 1; #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif /* vsubsample should divide 255 evenly; otherwise we won't reach full opacity */ /* now we have to blow out the windings into explicit edge lists */ n = 0; for (i=0; i < windings; ++i) n += wcount[i]; e = (stbtt__edge *) STBTT_malloc(sizeof(*e) * (n+1), userdata); /* add an extra one as a sentinel */ if (e == 0) return; n = 0; m=0; for (i=0; i < windings; ++i) { stbtt__point *p = pts + m; m += wcount[i]; j = wcount[i]-1; for (k=0; k < wcount[i]; j=k++) { int a=k,b=j; /* skip the edge if horizontal */ if (p[j].y == p[k].y) continue; /* add edge from j to k to the list */ e[n].invert = 0; if (invert ? p[j].y > p[k].y : p[j].y < p[k].y) { e[n].invert = 1; a=j,b=k; } e[n].x0 = p[a].x * scale_x + shift_x; e[n].y0 = (p[a].y * y_scale_inv + shift_y) * vsubsample; e[n].x1 = p[b].x * scale_x + shift_x; e[n].y1 = (p[b].y * y_scale_inv + shift_y) * vsubsample; ++n; } } /* now sort the edges by their highest point (should snap to integer, and then by x) */ /* STBTT_sort(e, n, sizeof(e[0]), stbtt__edge_compare); */ stbtt__sort_edges(e, n); /* now, traverse the scanlines and find the intersections on each scanline, use xor winding rule */ stbtt__rasterize_sorted_edges(result, e, n, vsubsample, off_x, off_y, userdata); STBTT_free(e, userdata); } static void stbtt__add_point(stbtt__point *points, int n, float x, float y) { if (!points) return; /* during first pass, it's unallocated */ points[n].x = x; points[n].y = y; } /* tessellate until threshold p is happy... @TODO warped to compensate for non-linear stretching */ static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) { /* midpoint */ float mx = (x0 + 2*x1 + x2)/4; float my = (y0 + 2*y1 + y2)/4; /* versus directly drawn line */ float dx = (x0+x2)/2 - mx; float dy = (y0+y2)/2 - my; if (n > 16) /* 65536 segments on one curve better be enough! */ return 1; if (dx*dx+dy*dy > objspace_flatness_squared) { /* half-pixel error allowed... need to be smaller if AA */ stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1); stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1); } else { stbtt__add_point(points, *num_points,x2,y2); *num_points = *num_points+1; } return 1; } static void stbtt__tesselate_cubic(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float objspace_flatness_squared, int n) { /* @TODO this "flatness" calculation is just made-up nonsense that seems to work well enough */ float dx0 = x1-x0; float dy0 = y1-y0; float dx1 = x2-x1; float dy1 = y2-y1; float dx2 = x3-x2; float dy2 = y3-y2; float dx = x3-x0; float dy = y3-y0; float longlen = (float) (STBTT_sqrt(dx0*dx0+dy0*dy0)+STBTT_sqrt(dx1*dx1+dy1*dy1)+STBTT_sqrt(dx2*dx2+dy2*dy2)); float shortlen = (float) STBTT_sqrt(dx*dx+dy*dy); float flatness_squared = longlen*longlen-shortlen*shortlen; if (n > 16) /* 65536 segments on one curve better be enough! */ return; if (flatness_squared > objspace_flatness_squared) { float x01 = (x0+x1)/2; float y01 = (y0+y1)/2; float x12 = (x1+x2)/2; float y12 = (y1+y2)/2; float x23 = (x2+x3)/2; float y23 = (y2+y3)/2; float xa = (x01+x12)/2; float ya = (y01+y12)/2; float xb = (x12+x23)/2; float yb = (y12+y23)/2; float mx = (xa+xb)/2; float my = (ya+yb)/2; stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1); stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1); } else { stbtt__add_point(points, *num_points,x3,y3); *num_points = *num_points+1; } } /* returns number of contours */ static stbtt__point *stbtt_FlattenCurves(stbtt_vertex *vertices, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) { stbtt__point *points=0; int num_points=0; float objspace_flatness_squared = objspace_flatness * objspace_flatness; int i,n=0,start=0, pass; /* count how many "moves" there are to get the contour count */ for (i=0; i < num_verts; ++i) if (vertices[i].type == STBTT_vmove) ++n; *num_contours = n; if (n == 0) return 0; *contour_lengths = (int *) STBTT_malloc(sizeof(**contour_lengths) * n, userdata); if (*contour_lengths == 0) { *num_contours = 0; return 0; } /* make two passes through the points so we don't need to realloc */ for (pass=0; pass < 2; ++pass) { float x=0,y=0; if (pass == 1) { points = (stbtt__point *) STBTT_malloc(num_points * sizeof(points[0]), userdata); if (points == NULL) goto error; } num_points = 0; n= -1; for (i=0; i < num_verts; ++i) { switch (vertices[i].type) { case STBTT_vmove: /* start the next contour */ if (n >= 0) (*contour_lengths)[n] = num_points - start; ++n; start = num_points; x = vertices[i].x, y = vertices[i].y; stbtt__add_point(points, num_points++, x,y); break; case STBTT_vline: x = vertices[i].x, y = vertices[i].y; stbtt__add_point(points, num_points++, x, y); break; case STBTT_vcurve: stbtt__tesselate_curve(points, &num_points, x,y, vertices[i].cx, vertices[i].cy, vertices[i].x, vertices[i].y, objspace_flatness_squared, 0); x = vertices[i].x, y = vertices[i].y; break; case STBTT_vcubic: stbtt__tesselate_cubic(points, &num_points, x,y, vertices[i].cx, vertices[i].cy, vertices[i].cx1, vertices[i].cy1, vertices[i].x, vertices[i].y, objspace_flatness_squared, 0); x = vertices[i].x, y = vertices[i].y; break; } } (*contour_lengths)[n] = num_points - start; } return points; error: STBTT_free(points, userdata); STBTT_free(*contour_lengths, userdata); *contour_lengths = 0; *num_contours = 0; return NULL; } STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, float flatness_in_pixels, stbtt_vertex *vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void *userdata) { float scale = scale_x > scale_y ? scale_y : scale_x; int winding_count = 0; int *winding_lengths = NULL; stbtt__point *windings = stbtt_FlattenCurves(vertices, num_verts, flatness_in_pixels / scale, &winding_lengths, &winding_count, userdata); if (windings) { stbtt__rasterize(result, windings, winding_lengths, winding_count, scale_x, scale_y, shift_x, shift_y, x_off, y_off, invert, userdata); STBTT_free(winding_lengths, userdata); STBTT_free(windings, userdata); } } STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) { STBTT_free(bitmap, userdata); } STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) { int ix0,iy0,ix1,iy1; stbtt__bitmap gbm; stbtt_vertex *vertices; int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); if (scale_x == 0) scale_x = scale_y; if (scale_y == 0) { if (scale_x == 0) { STBTT_free(vertices, info->userdata); return NULL; } scale_y = scale_x; } stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,&ix1,&iy1); /* now we get the size */ gbm.w = (ix1 - ix0); gbm.h = (iy1 - iy0); gbm.pixels = NULL; /* in case we error */ if (width ) *width = gbm.w; if (height) *height = gbm.h; if (xoff ) *xoff = ix0; if (yoff ) *yoff = iy0; if (gbm.w && gbm.h) { gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); if (gbm.pixels) { gbm.stride = gbm.w; stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0, iy0, 1, info->userdata); } } STBTT_free(vertices, info->userdata); return gbm.pixels; } STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, 0.0f, 0.0f, glyph, width, height, xoff, yoff); } STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph) { int ix0,iy0; stbtt_vertex *vertices; int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); stbtt__bitmap gbm; stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,0,0); gbm.pixels = output; gbm.w = out_w; gbm.h = out_h; gbm.stride = out_stride; if (gbm.w && gbm.h) stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0,iy0, 1, info->userdata); STBTT_free(vertices, info->userdata); } STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, glyph); } STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y,shift_x,shift_y, stbtt_FindGlyphIndex(info,codepoint), width,height,xoff,yoff); } STBTT_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint) { stbtt_MakeGlyphBitmapSubpixelPrefilter(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, oversample_x, oversample_y, sub_x, sub_y, stbtt_FindGlyphIndex(info,codepoint)); } STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, stbtt_FindGlyphIndex(info,codepoint)); } STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, 0.0f,0.0f, codepoint, width,height,xoff,yoff); } STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint) { stbtt_MakeCodepointBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, codepoint); } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* bitmap baking */ /* */ /* This is SUPER-CRAPPY packing to keep source code small */ static int stbtt_BakeFontBitmap_internal(unsigned char *data, int offset, /* font location (use offset=0 for plain .ttf) */ float pixel_height, /* height of font in pixels */ unsigned char *pixels, int pw, int ph, /* bitmap to be filled in */ int first_char, int num_chars, /* characters to bake */ stbtt_bakedchar *chardata) { float scale; int x,y,bottom_y, i; stbtt_fontinfo f; f.userdata = NULL; if (!stbtt_InitFont(&f, data, offset)) return -1; STBTT_memset(pixels, 0, pw*ph); /* background of 0 around pixels */ x=y=1; bottom_y = 1; scale = stbtt_ScaleForPixelHeight(&f, pixel_height); for (i=0; i < num_chars; ++i) { int advance, lsb, x0,y0,x1,y1,gw,gh; int g = stbtt_FindGlyphIndex(&f, first_char + i); stbtt_GetGlyphHMetrics(&f, g, &advance, &lsb); stbtt_GetGlyphBitmapBox(&f, g, scale,scale, &x0,&y0,&x1,&y1); gw = x1-x0; gh = y1-y0; if (x + gw + 1 >= pw) y = bottom_y, x = 1; /* advance to next row */ if (y + gh + 1 >= ph) /* check if it fits vertically AFTER potentially moving to next row */ return -i; STBTT_assert(x+gw < pw); STBTT_assert(y+gh < ph); stbtt_MakeGlyphBitmap(&f, pixels+x+y*pw, gw,gh,pw, scale,scale, g); chardata[i].x0 = (stbtt_int16) x; chardata[i].y0 = (stbtt_int16) y; chardata[i].x1 = (stbtt_int16) (x + gw); chardata[i].y1 = (stbtt_int16) (y + gh); chardata[i].xadvance = scale * advance; chardata[i].xoff = (float) x0; chardata[i].yoff = (float) y0; x = x + gw + 1; if (y+gh+1 > bottom_y) bottom_y = y+gh+1; } return bottom_y; } STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule) { float d3d_bias = opengl_fillrule ? 0 : -0.5f; float ipw = 1.0f / pw, iph = 1.0f / ph; const stbtt_bakedchar *b = chardata + char_index; int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); int round_y = STBTT_ifloor((*ypos + b->yoff) + 0.5f); q->x0 = round_x + d3d_bias; q->y0 = round_y + d3d_bias; q->x1 = round_x + b->x1 - b->x0 + d3d_bias; q->y1 = round_y + b->y1 - b->y0 + d3d_bias; q->s0 = b->x0 * ipw; q->t0 = b->y0 * iph; q->s1 = b->x1 * ipw; q->t1 = b->y1 * iph; *xpos += b->xadvance; } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* rectangle packing replacement routines if you don't have stb_rect_pack.h */ /* */ #ifndef STB_RECT_PACK_VERSION typedef int stbrp_coord; /* ////////////////////////////////////////////////////////////////////////////////// */ /* // */ /* // */ /* COMPILER WARNING ?!?!? // */ /* // */ /* // */ /* if you get a compile warning due to these symbols being defined more than // */ /* once, move #include "stb_rect_pack.h" before #include "stb_truetype.h" // */ /* // */ /* ////////////////////////////////////////////////////////////////////////////////// */ typedef struct { int width,height; int x,y,bottom_y; } stbrp_context; typedef struct { unsigned char x; } stbrp_node; struct stbrp_rect { stbrp_coord x,y; int id,w,h,was_packed; }; static void stbrp_init_target(stbrp_context *con, int pw, int ph, stbrp_node *nodes, int num_nodes) { con->width = pw; con->height = ph; con->x = 0; con->y = 0; con->bottom_y = 0; STBTT__NOTUSED(nodes); STBTT__NOTUSED(num_nodes); } static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) { int i; for (i=0; i < num_rects; ++i) { if (con->x + rects[i].w > con->width) { con->x = 0; con->y = con->bottom_y; } if (con->y + rects[i].h > con->height) break; rects[i].x = con->x; rects[i].y = con->y; rects[i].was_packed = 1; con->x += rects[i].w; if (con->y + rects[i].h > con->bottom_y) con->bottom_y = con->y + rects[i].h; } for ( ; i < num_rects; ++i) rects[i].was_packed = 0; } #endif /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* bitmap baking */ /* */ /* This is SUPER-AWESOME (tm Ryan Gordon) packing using stb_rect_pack.h. If */ /* stb_rect_pack.h isn't available, it uses the BakeFontBitmap strategy. */ STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) { stbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context); int num_nodes = pw - padding; stbrp_node *nodes = (stbrp_node *) STBTT_malloc(sizeof(*nodes ) * num_nodes,alloc_context); if (context == NULL || nodes == NULL) { if (context != NULL) STBTT_free(context, alloc_context); if (nodes != NULL) STBTT_free(nodes , alloc_context); return 0; } spc->user_allocator_context = alloc_context; spc->width = pw; spc->height = ph; spc->pixels = pixels; spc->pack_info = context; spc->nodes = nodes; spc->padding = padding; spc->stride_in_bytes = stride_in_bytes != 0 ? stride_in_bytes : pw; spc->h_oversample = 1; spc->v_oversample = 1; spc->skip_missing = 0; stbrp_init_target(context, pw-padding, ph-padding, nodes, num_nodes); if (pixels) STBTT_memset(pixels, 0, pw*ph); /* background of 0 around pixels */ return 1; } STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) { STBTT_free(spc->nodes , spc->user_allocator_context); STBTT_free(spc->pack_info, spc->user_allocator_context); } STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) { STBTT_assert(h_oversample <= STBTT_MAX_OVERSAMPLE); STBTT_assert(v_oversample <= STBTT_MAX_OVERSAMPLE); if (h_oversample <= STBTT_MAX_OVERSAMPLE) spc->h_oversample = h_oversample; if (v_oversample <= STBTT_MAX_OVERSAMPLE) spc->v_oversample = v_oversample; } STBTT_DEF void stbtt_PackSetSkipMissingCodepoints(stbtt_pack_context *spc, int skip) { spc->skip_missing = skip; } #define STBTT__OVER_MASK (STBTT_MAX_OVERSAMPLE-1) static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_w = w - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); /* suppress bogus warning from VS2013 -analyze */ for (j=0; j < h; ++j) { int i; unsigned int total; STBTT_memset(buffer, 0, kernel_width); total = 0; /* make kernel_width a constant in common cases so compiler can optimize out the divide */ switch (kernel_width) { case 2: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 2); } break; case 3: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 3); } break; case 4: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 4); } break; case 5: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 5); } break; default: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / kernel_width); } break; } for (; i < w; ++i) { STBTT_assert(pixels[i] == 0); total -= buffer[i & STBTT__OVER_MASK]; pixels[i] = (unsigned char) (total / kernel_width); } pixels += stride_in_bytes; } } static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_h = h - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); /* suppress bogus warning from VS2013 -analyze */ for (j=0; j < w; ++j) { int i; unsigned int total; STBTT_memset(buffer, 0, kernel_width); total = 0; /* make kernel_width a constant in common cases so compiler can optimize out the divide */ switch (kernel_width) { case 2: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 2); } break; case 3: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 3); } break; case 4: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 4); } break; case 5: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 5); } break; default: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); } break; } for (; i < h; ++i) { STBTT_assert(pixels[i*stride_in_bytes] == 0); total -= buffer[i & STBTT__OVER_MASK]; pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); } pixels += 1; } } static float stbtt__oversample_shift(int oversample) { if (!oversample) return 0.0f; /* The prefilter is a box filter of width "oversample", */ /* which shifts phase by (oversample - 1)/2 pixels in */ /* oversampled space. We want to shift in the opposite */ /* direction to counter this. */ return (float)-(oversample - 1) / (2.0f * (float)oversample); } /* rects array must be big enough to accommodate all characters in the given ranges */ STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k; int missing_glyph_added = 0; k=0; for (i=0; i < num_ranges; ++i) { float fh = ranges[i].font_size; float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); ranges[i].h_oversample = (unsigned char) spc->h_oversample; ranges[i].v_oversample = (unsigned char) spc->v_oversample; for (j=0; j < ranges[i].num_chars; ++j) { int x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); if (glyph == 0 && (spc->skip_missing || missing_glyph_added)) { rects[k].w = rects[k].h = 0; } else { stbtt_GetGlyphBitmapBoxSubpixel(info,glyph, scale * spc->h_oversample, scale * spc->v_oversample, 0,0, &x0,&y0,&x1,&y1); rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1); rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1); if (glyph == 0) missing_glyph_added = 1; } ++k; } } return k; } STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int prefilter_x, int prefilter_y, float *sub_x, float *sub_y, int glyph) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w - (prefilter_x - 1), out_h - (prefilter_y - 1), out_stride, scale_x, scale_y, shift_x, shift_y, glyph); if (prefilter_x > 1) stbtt__h_prefilter(output, out_w, out_h, out_stride, prefilter_x); if (prefilter_y > 1) stbtt__v_prefilter(output, out_w, out_h, out_stride, prefilter_y); *sub_x = stbtt__oversample_shift(prefilter_x); *sub_y = stbtt__oversample_shift(prefilter_y); } /* rects array must be big enough to accommodate all characters in the given ranges */ STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k, missing_glyph = -1, return_value = 1; /* save current values */ int old_h_over = spc->h_oversample; int old_v_over = spc->v_oversample; k = 0; for (i=0; i < num_ranges; ++i) { float fh = ranges[i].font_size; float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); float recip_h,recip_v,sub_x,sub_y; spc->h_oversample = ranges[i].h_oversample; spc->v_oversample = ranges[i].v_oversample; recip_h = 1.0f / spc->h_oversample; recip_v = 1.0f / spc->v_oversample; sub_x = stbtt__oversample_shift(spc->h_oversample); sub_y = stbtt__oversample_shift(spc->v_oversample); for (j=0; j < ranges[i].num_chars; ++j) { stbrp_rect *r = &rects[k]; if (r->was_packed && r->w != 0 && r->h != 0) { stbtt_packedchar *bc = &ranges[i].chardata_for_range[j]; int advance, lsb, x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); stbrp_coord pad = (stbrp_coord) spc->padding; /* pad on left and top */ r->x += pad; r->y += pad; r->w -= pad; r->h -= pad; stbtt_GetGlyphHMetrics(info, glyph, &advance, &lsb); stbtt_GetGlyphBitmapBox(info, glyph, scale * spc->h_oversample, scale * spc->v_oversample, &x0,&y0,&x1,&y1); stbtt_MakeGlyphBitmapSubpixel(info, spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w - spc->h_oversample+1, r->h - spc->v_oversample+1, spc->stride_in_bytes, scale * spc->h_oversample, scale * spc->v_oversample, 0,0, glyph); if (spc->h_oversample > 1) stbtt__h_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w, r->h, spc->stride_in_bytes, spc->h_oversample); if (spc->v_oversample > 1) stbtt__v_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w, r->h, spc->stride_in_bytes, spc->v_oversample); bc->x0 = (stbtt_int16) r->x; bc->y0 = (stbtt_int16) r->y; bc->x1 = (stbtt_int16) (r->x + r->w); bc->y1 = (stbtt_int16) (r->y + r->h); bc->xadvance = scale * advance; bc->xoff = (float) x0 * recip_h + sub_x; bc->yoff = (float) y0 * recip_v + sub_y; bc->xoff2 = (x0 + r->w) * recip_h + sub_x; bc->yoff2 = (y0 + r->h) * recip_v + sub_y; if (glyph == 0) missing_glyph = j; } else if (spc->skip_missing) { return_value = 0; } else if (r->was_packed && r->w == 0 && r->h == 0 && missing_glyph >= 0) { ranges[i].chardata_for_range[j] = ranges[i].chardata_for_range[missing_glyph]; } else { return_value = 0; /* if any fail, report failure */ } ++k; } } /* restore original values */ spc->h_oversample = old_h_over; spc->v_oversample = old_v_over; return return_value; } STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects) { stbrp_pack_rects((stbrp_context *) spc->pack_info, rects, num_rects); } STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges) { stbtt_fontinfo info; int i,j,n, return_value = 1; /* stbrp_context *context = (stbrp_context *) spc->pack_info; */ stbrp_rect *rects; /* flag all characters as NOT packed */ for (i=0; i < num_ranges; ++i) for (j=0; j < ranges[i].num_chars; ++j) ranges[i].chardata_for_range[j].x0 = ranges[i].chardata_for_range[j].y0 = ranges[i].chardata_for_range[j].x1 = ranges[i].chardata_for_range[j].y1 = 0; n = 0; for (i=0; i < num_ranges; ++i) n += ranges[i].num_chars; rects = (stbrp_rect *) STBTT_malloc(sizeof(*rects) * n, spc->user_allocator_context); if (rects == NULL) return 0; info.userdata = spc->user_allocator_context; stbtt_InitFont(&info, fontdata, stbtt_GetFontOffsetForIndex(fontdata,font_index)); n = stbtt_PackFontRangesGatherRects(spc, &info, ranges, num_ranges, rects); stbtt_PackFontRangesPackRects(spc, rects, n); return_value = stbtt_PackFontRangesRenderIntoRects(spc, &info, ranges, num_ranges, rects); STBTT_free(rects, spc->user_allocator_context); return return_value; } STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, const unsigned char *fontdata, int font_index, float font_size, int first_unicode_codepoint_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range) { stbtt_pack_range range; range.first_unicode_codepoint_in_range = first_unicode_codepoint_in_range; range.array_of_unicode_codepoints = NULL; range.num_chars = num_chars_in_range; range.chardata_for_range = chardata_for_range; range.font_size = font_size; return stbtt_PackFontRanges(spc, fontdata, font_index, &range, 1); } STBTT_DEF void stbtt_GetScaledFontVMetrics(const unsigned char *fontdata, int index, float size, float *ascent, float *descent, float *lineGap) { int i_ascent, i_descent, i_lineGap; float scale; stbtt_fontinfo info; stbtt_InitFont(&info, fontdata, stbtt_GetFontOffsetForIndex(fontdata, index)); scale = size > 0 ? stbtt_ScaleForPixelHeight(&info, size) : stbtt_ScaleForMappingEmToPixels(&info, -size); stbtt_GetFontVMetrics(&info, &i_ascent, &i_descent, &i_lineGap); *ascent = (float) i_ascent * scale; *descent = (float) i_descent * scale; *lineGap = (float) i_lineGap * scale; } STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) { float ipw = 1.0f / pw, iph = 1.0f / ph; const stbtt_packedchar *b = chardata + char_index; if (align_to_integer) { float x = (float) STBTT_ifloor((*xpos + b->xoff) + 0.5f); float y = (float) STBTT_ifloor((*ypos + b->yoff) + 0.5f); q->x0 = x; q->y0 = y; q->x1 = x + b->xoff2 - b->xoff; q->y1 = y + b->yoff2 - b->yoff; } else { q->x0 = *xpos + b->xoff; q->y0 = *ypos + b->yoff; q->x1 = *xpos + b->xoff2; q->y1 = *ypos + b->yoff2; } q->s0 = b->x0 * ipw; q->t0 = b->y0 * iph; q->s1 = b->x1 * ipw; q->t1 = b->y1 * iph; *xpos += b->xadvance; } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* sdf computation */ /* */ #define STBTT_min(a,b) ((a) < (b) ? (a) : (b)) #define STBTT_max(a,b) ((a) < (b) ? (b) : (a)) static int stbtt__ray_intersect_bezier(float orig[2], float ray[2], float q0[2], float q1[2], float q2[2], float hits[2][2]) { float q0perp = q0[1]*ray[0] - q0[0]*ray[1]; float q1perp = q1[1]*ray[0] - q1[0]*ray[1]; float q2perp = q2[1]*ray[0] - q2[0]*ray[1]; float roperp = orig[1]*ray[0] - orig[0]*ray[1]; float a = q0perp - 2*q1perp + q2perp; float b = q1perp - q0perp; float c = q0perp - roperp; float s0 = 0., s1 = 0.; int num_s = 0; if (a != 0.0) { float discr = b*b - a*c; if (discr > 0.0) { float rcpna = -1 / a; float d = (float) STBTT_sqrt(discr); s0 = (b+d) * rcpna; s1 = (b-d) * rcpna; if (s0 >= 0.0 && s0 <= 1.0) num_s = 1; if (d > 0.0 && s1 >= 0.0 && s1 <= 1.0) { if (num_s == 0) s0 = s1; ++num_s; } } } else { /* 2*b*s + c = 0 */ /* s = -c / (2*b) */ s0 = c / (-2 * b); if (s0 >= 0.0 && s0 <= 1.0) num_s = 1; } if (num_s == 0) return 0; else { float rcp_len2 = 1 / (ray[0]*ray[0] + ray[1]*ray[1]); float rayn_x = ray[0] * rcp_len2, rayn_y = ray[1] * rcp_len2; float q0d = q0[0]*rayn_x + q0[1]*rayn_y; float q1d = q1[0]*rayn_x + q1[1]*rayn_y; float q2d = q2[0]*rayn_x + q2[1]*rayn_y; float rod = orig[0]*rayn_x + orig[1]*rayn_y; float q10d = q1d - q0d; float q20d = q2d - q0d; float q0rd = q0d - rod; hits[0][0] = q0rd + s0*(2.0f - 2.0f*s0)*q10d + s0*s0*q20d; hits[0][1] = a*s0+b; if (num_s > 1) { hits[1][0] = q0rd + s1*(2.0f - 2.0f*s1)*q10d + s1*s1*q20d; hits[1][1] = a*s1+b; return 2; } else { return 1; } } } static int equal(float *a, float *b) { return (a[0] == b[0] && a[1] == b[1]); } static int stbtt__compute_crossings_x(float x, float y, int nverts, stbtt_vertex *verts) { int i; float orig[2], ray[2] = { 1, 0 }; float y_frac; int winding = 0; orig[0] = x; orig[1] = y; /* make sure y never passes through a vertex of the shape */ y_frac = (float) STBTT_fmod(y, 1.0f); if (y_frac < 0.01f) y += 0.01f; else if (y_frac > 0.99f) y -= 0.01f; orig[1] = y; /* test a ray from (-infinity,y) to (x,y) */ for (i=0; i < nverts; ++i) { if (verts[i].type == STBTT_vline) { int x0 = (int) verts[i-1].x, y0 = (int) verts[i-1].y; int x1 = (int) verts[i ].x, y1 = (int) verts[i ].y; if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; if (x_inter < x) winding += (y0 < y1) ? 1 : -1; } } if (verts[i].type == STBTT_vcurve) { int x0 = (int) verts[i-1].x , y0 = (int) verts[i-1].y ; int x1 = (int) verts[i ].cx, y1 = (int) verts[i ].cy; int x2 = (int) verts[i ].x , y2 = (int) verts[i ].y ; int ax = STBTT_min(x0,STBTT_min(x1,x2)), ay = STBTT_min(y0,STBTT_min(y1,y2)); int by = STBTT_max(y0,STBTT_max(y1,y2)); if (y > ay && y < by && x > ax) { float q0[2],q1[2],q2[2]; float hits[2][2]; q0[0] = (float)x0; q0[1] = (float)y0; q1[0] = (float)x1; q1[1] = (float)y1; q2[0] = (float)x2; q2[1] = (float)y2; if (equal(q0,q1) || equal(q1,q2)) { x0 = (int)verts[i-1].x; y0 = (int)verts[i-1].y; x1 = (int)verts[i ].x; y1 = (int)verts[i ].y; if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; if (x_inter < x) winding += (y0 < y1) ? 1 : -1; } } else { int num_hits = stbtt__ray_intersect_bezier(orig, ray, q0, q1, q2, hits); if (num_hits >= 1) if (hits[0][0] < 0) winding += (hits[0][1] < 0 ? -1 : 1); if (num_hits >= 2) if (hits[1][0] < 0) winding += (hits[1][1] < 0 ? -1 : 1); } } } } return winding; } static float stbtt__cuberoot( float x ) { if (x<0) return -(float) STBTT_pow(-x,1.0f/3.0f); else return (float) STBTT_pow( x,1.0f/3.0f); } /* x^3 + c*x^2 + b*x + a = 0 */ static int stbtt__solve_cubic(float a, float b, float c, float* r) { float s = -a / 3; float p = b - a*a / 3; float q = a * (2*a*a - 9*b) / 27 + c; float p3 = p*p*p; float d = q*q + 4*p3 / 27; if (d >= 0) { float z = (float) STBTT_sqrt(d); float u = (-q + z) / 2; float v = (-q - z) / 2; u = stbtt__cuberoot(u); v = stbtt__cuberoot(v); r[0] = s + u + v; return 1; } else { float u = (float) STBTT_sqrt(-p/3); float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; /* p3 must be negative, since d is negative */ float m = (float) STBTT_cos(v); float n = (float) STBTT_cos(v-3.141592/2)*1.732050808f; r[0] = s + u * 2 * m; r[1] = s - u * (m + n); r[2] = s - u * (m - n); /* STBTT_assert( STBTT_fabs(((r[0]+a)*r[0]+b)*r[0]+c) < 0.05f); // these asserts may not be safe at all scales, though they're in bezier t parameter units so maybe? */ /* STBTT_assert( STBTT_fabs(((r[1]+a)*r[1]+b)*r[1]+c) < 0.05f); */ /* STBTT_assert( STBTT_fabs(((r[2]+a)*r[2]+b)*r[2]+c) < 0.05f); */ return 3; } } STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) { float scale_x = scale, scale_y = scale; int ix0,iy0,ix1,iy1; int w,h; unsigned char *data; if (scale == 0) return NULL; stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale, scale, 0.0f,0.0f, &ix0,&iy0,&ix1,&iy1); /* if empty, return NULL */ if (ix0 == ix1 || iy0 == iy1) return NULL; ix0 -= padding; iy0 -= padding; ix1 += padding; iy1 += padding; w = (ix1 - ix0); h = (iy1 - iy0); if (width ) *width = w; if (height) *height = h; if (xoff ) *xoff = ix0; if (yoff ) *yoff = iy0; /* invert for y-downwards bitmaps */ scale_y = -scale_y; { int x,y,i,j; float *precompute; stbtt_vertex *verts; int num_verts = stbtt_GetGlyphShape(info, glyph, &verts); data = (unsigned char *) STBTT_malloc(w * h, info->userdata); precompute = (float *) STBTT_malloc(num_verts * sizeof(float), info->userdata); for (i=0,j=num_verts-1; i < num_verts; j=i++) { if (verts[i].type == STBTT_vline) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; float x1 = verts[j].x*scale_x, y1 = verts[j].y*scale_y; float dist = (float) STBTT_sqrt((x1-x0)*(x1-x0) + (y1-y0)*(y1-y0)); precompute[i] = (dist == 0) ? 0.0f : 1.0f / dist; } else if (verts[i].type == STBTT_vcurve) { float x2 = verts[j].x *scale_x, y2 = verts[j].y *scale_y; float x1 = verts[i].cx*scale_x, y1 = verts[i].cy*scale_y; float x0 = verts[i].x *scale_x, y0 = verts[i].y *scale_y; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float len2 = bx*bx + by*by; if (len2 != 0.0f) precompute[i] = 1.0f / (bx*bx + by*by); else precompute[i] = 0.0f; } else precompute[i] = 0.0f; } for (y=iy0; y < iy1; ++y) { for (x=ix0; x < ix1; ++x) { float val; float min_dist = 999999.0f; float sx = (float) x + 0.5f; float sy = (float) y + 0.5f; float x_gspace = (sx / scale_x); float y_gspace = (sy / scale_y); int winding = stbtt__compute_crossings_x(x_gspace, y_gspace, num_verts, verts); /* @OPTIMIZE: this could just be a rasterization, but needs to be line vs. non-tesselated curves so a new path */ for (i=0; i < num_verts; ++i) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; /* check against every point here rather than inside line/curve primitives -- @TODO: wrong if multiple 'moves' in a row produce a garbage point, and given culling, probably more efficient to do within line/curve */ float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); if (dist2 < min_dist*min_dist) min_dist = (float) STBTT_sqrt(dist2); if (verts[i].type == STBTT_vline) { float x1 = verts[i-1].x*scale_x, y1 = verts[i-1].y*scale_y; /* coarse culling against bbox */ /* if (sx > STBTT_min(x0,x1)-min_dist && sx < STBTT_max(x0,x1)+min_dist && */ /* sy > STBTT_min(y0,y1)-min_dist && sy < STBTT_max(y0,y1)+min_dist) */ float dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; STBTT_assert(i != 0); if (dist < min_dist) { /* check position along line */ /* x' = x0 + t*(x1-x0), y' = y0 + t*(y1-y0) */ /* minimize (x'-sx)*(x'-sx)+(y'-sy)*(y'-sy) */ float dx = x1-x0, dy = y1-y0; float px = x0-sx, py = y0-sy; /* minimize (px+t*dx)^2 + (py+t*dy)^2 = px*px + 2*px*dx*t + t^2*dx*dx + py*py + 2*py*dy*t + t^2*dy*dy */ /* derivative: 2*px*dx + 2*py*dy + (2*dx*dx+2*dy*dy)*t, set to 0 and solve */ float t = -(px*dx + py*dy) / (dx*dx + dy*dy); if (t >= 0.0f && t <= 1.0f) min_dist = dist; } } else if (verts[i].type == STBTT_vcurve) { float x2 = verts[i-1].x *scale_x, y2 = verts[i-1].y *scale_y; float x1 = verts[i ].cx*scale_x, y1 = verts[i ].cy*scale_y; float box_x0 = STBTT_min(STBTT_min(x0,x1),x2); float box_y0 = STBTT_min(STBTT_min(y0,y1),y2); float box_x1 = STBTT_max(STBTT_max(x0,x1),x2); float box_y1 = STBTT_max(STBTT_max(y0,y1),y2); /* coarse culling against bbox to avoid computing cubic unnecessarily */ if (sx > box_x0-min_dist && sx < box_x1+min_dist && sy > box_y0-min_dist && sy < box_y1+min_dist) { int num=0; float ax = x1-x0, ay = y1-y0; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float mx = x0 - sx, my = y0 - sy; float res[3],px,py,t,it; float a_inv = precompute[i]; if (a_inv == 0.0) { /* if a_inv is 0, it's 2nd degree so use quadratic formula */ float a = 3*(ax*bx + ay*by); float b = 2*(ax*ax + ay*ay) + (mx*bx+my*by); float c = mx*ax+my*ay; if (a == 0.0) { /* if a is 0, it's linear */ if (b != 0.0) { res[num++] = -c/b; } } else { float discriminant = b*b - 4*a*c; if (discriminant < 0) num = 0; else { float root = (float) STBTT_sqrt(discriminant); res[0] = (-b - root)/(2*a); res[1] = (-b + root)/(2*a); num = 2; /* don't bother distinguishing 1-solution case, as code below will still work */ } } } else { float b = 3*(ax*bx + ay*by) * a_inv; /* could precompute this as it doesn't depend on sample point */ float c = (2*(ax*ax + ay*ay) + (mx*bx+my*by)) * a_inv; float d = (mx*ax+my*ay) * a_inv; num = stbtt__solve_cubic(b, c, d, res); } if (num >= 1 && res[0] >= 0.0f && res[0] <= 1.0f) { t = res[0], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } if (num >= 2 && res[1] >= 0.0f && res[1] <= 1.0f) { t = res[1], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } if (num >= 3 && res[2] >= 0.0f && res[2] <= 1.0f) { t = res[2], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } } } } if (winding == 0) min_dist = -min_dist; /* if outside the shape, value is negative */ val = onedge_value + pixel_dist_scale * min_dist; if (val < 0) val = 0; else if (val > 255) val = 255; data[(y-iy0)*w+(x-ix0)] = (unsigned char) val; } } STBTT_free(precompute, info->userdata); STBTT_free(verts, info->userdata); } return data; } STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphSDF(info, scale, stbtt_FindGlyphIndex(info, codepoint), padding, onedge_value, pixel_dist_scale, width, height, xoff, yoff); } STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) { STBTT_free(bitmap, userdata); } /* //////////////////////////////////////////////////////////////////////////// */ /* */ /* font name matching -- recommended not to use this */ /* */ /* check if a utf8 string contains a prefix which is the utf16 string; if so return length of matching utf8 string */ static stbtt_int32 stbtt__CompareUTF8toUTF16_bigendian_prefix(stbtt_uint8 *s1, stbtt_int32 len1, stbtt_uint8 *s2, stbtt_int32 len2) { stbtt_int32 i=0; /* convert utf16 to utf8 and compare the results while converting */ while (len2) { stbtt_uint16 ch = s2[0]*256 + s2[1]; if (ch < 0x80) { if (i >= len1) return -1; if (s1[i++] != ch) return -1; } else if (ch < 0x800) { if (i+1 >= len1) return -1; if (s1[i++] != 0xc0 + (ch >> 6)) return -1; if (s1[i++] != 0x80 + (ch & 0x3f)) return -1; } else if (ch >= 0xd800 && ch < 0xdc00) { stbtt_uint32 c; stbtt_uint16 ch2 = s2[2]*256 + s2[3]; if (i+3 >= len1) return -1; c = ((ch - 0xd800) << 10) + (ch2 - 0xdc00) + 0x10000; if (s1[i++] != 0xf0 + (c >> 18)) return -1; if (s1[i++] != 0x80 + ((c >> 12) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((c >> 6) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((c ) & 0x3f)) return -1; s2 += 2; /* plus another 2 below */ len2 -= 2; } else if (ch >= 0xdc00 && ch < 0xe000) { return -1; } else { if (i+2 >= len1) return -1; if (s1[i++] != 0xe0 + (ch >> 12)) return -1; if (s1[i++] != 0x80 + ((ch >> 6) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((ch ) & 0x3f)) return -1; } s2 += 2; len2 -= 2; } return i; } static int stbtt_CompareUTF8toUTF16_bigendian_internal(char *s1, int len1, char *s2, int len2) { return len1 == stbtt__CompareUTF8toUTF16_bigendian_prefix((stbtt_uint8*) s1, len1, (stbtt_uint8*) s2, len2); } /* returns results in whatever encoding you request... but note that 2-byte encodings */ /* will be BIG-ENDIAN... use stbtt_CompareUTF8toUTF16_bigendian() to compare */ STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) { stbtt_int32 i,count,stringOffset; stbtt_uint8 *fc = font->data; stbtt_uint32 offset = font->fontstart; stbtt_uint32 nm = stbtt__find_table(fc, offset, "name"); if (!nm) return NULL; count = ttUSHORT(fc+nm+2); stringOffset = nm + ttUSHORT(fc+nm+4); for (i=0; i < count; ++i) { stbtt_uint32 loc = nm + 6 + 12 * i; if (platformID == ttUSHORT(fc+loc+0) && encodingID == ttUSHORT(fc+loc+2) && languageID == ttUSHORT(fc+loc+4) && nameID == ttUSHORT(fc+loc+6)) { *length = ttUSHORT(fc+loc+8); return (const char *) (fc+stringOffset+ttUSHORT(fc+loc+10)); } } return NULL; } static int stbtt__matchpair(stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, stbtt_int32 target_id, stbtt_int32 next_id) { stbtt_int32 i; stbtt_int32 count = ttUSHORT(fc+nm+2); stbtt_int32 stringOffset = nm + ttUSHORT(fc+nm+4); for (i=0; i < count; ++i) { stbtt_uint32 loc = nm + 6 + 12 * i; stbtt_int32 id = ttUSHORT(fc+loc+6); if (id == target_id) { /* find the encoding */ stbtt_int32 platform = ttUSHORT(fc+loc+0), encoding = ttUSHORT(fc+loc+2), language = ttUSHORT(fc+loc+4); /* is this a Unicode encoding? */ if (platform == 0 || (platform == 3 && encoding == 1) || (platform == 3 && encoding == 10)) { stbtt_int32 slen = ttUSHORT(fc+loc+8); stbtt_int32 off = ttUSHORT(fc+loc+10); /* check if there's a prefix match */ stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen); if (matchlen >= 0) { /* check for target_id+1 immediately following, with same encoding & language */ if (i+1 < count && ttUSHORT(fc+loc+12+6) == next_id && ttUSHORT(fc+loc+12) == platform && ttUSHORT(fc+loc+12+2) == encoding && ttUSHORT(fc+loc+12+4) == language) { slen = ttUSHORT(fc+loc+12+8); off = ttUSHORT(fc+loc+12+10); if (slen == 0) { if (matchlen == nlen) return 1; } else if (matchlen < nlen && name[matchlen] == ' ') { ++matchlen; if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen)) return 1; } } else { /* if nothing immediately following */ if (matchlen == nlen) return 1; } } } /* @TODO handle other encodings */ } } return 0; } static int stbtt__matches(stbtt_uint8 *fc, stbtt_uint32 offset, stbtt_uint8 *name, stbtt_int32 flags) { stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); stbtt_uint32 nm,hd; if (!stbtt__isfont(fc+offset)) return 0; /* check italics/bold/underline flags in macStyle... */ if (flags) { hd = stbtt__find_table(fc, offset, "head"); if ((ttUSHORT(fc+hd+44) & 7) != (flags & 7)) return 0; } nm = stbtt__find_table(fc, offset, "name"); if (!nm) return 0; if (flags) { /* if we checked the macStyle flags, then just check the family and ignore the subfamily */ if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; } else { if (stbtt__matchpair(fc, nm, name, nlen, 16, 17)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 1, 2)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; } return 0; } static int stbtt_FindMatchingFont_internal(unsigned char *font_collection, char *name_utf8, stbtt_int32 flags) { stbtt_int32 i; for (i=0;;++i) { stbtt_int32 off = stbtt_GetFontOffsetForIndex(font_collection, i); if (off < 0) return off; if (stbtt__matches((stbtt_uint8 *) font_collection, off, (stbtt_uint8*) name_utf8, flags)) return off; } } #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" #endif STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, float pixel_height, unsigned char *pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar *chardata) { return stbtt_BakeFontBitmap_internal((unsigned char *) data, offset, pixel_height, pixels, pw, ph, first_char, num_chars, chardata); } STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index) { return stbtt_GetFontOffsetForIndex_internal((unsigned char *) data, index); } STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) { return stbtt_GetNumberOfFonts_internal((unsigned char *) data); } STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset) { return stbtt_InitFont_internal(info, (unsigned char *) data, offset); } STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) { return stbtt_FindMatchingFont_internal((unsigned char *) fontdata, (char *) name, flags); } STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) { return stbtt_CompareUTF8toUTF16_bigendian_internal((char *) s1, len1, (char *) s2, len2); } #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif #endif /* STB_TRUETYPE_IMPLEMENTATION */ /* FULL VERSION HISTORY */ /* */ /* 1.19 (2018-02-11) OpenType GPOS kerning (horizontal only), STBTT_fmod */ /* 1.18 (2018-01-29) add missing function */ /* 1.17 (2017-07-23) make more arguments const; doc fix */ /* 1.16 (2017-07-12) SDF support */ /* 1.15 (2017-03-03) make more arguments const */ /* 1.14 (2017-01-16) num-fonts-in-TTC function */ /* 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts */ /* 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual */ /* 1.11 (2016-04-02) fix unused-variable warning */ /* 1.10 (2016-04-02) allow user-defined fabs() replacement */ /* fix memory leak if fontsize=0.0 */ /* fix warning from duplicate typedef */ /* 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use alloc userdata for PackFontRanges */ /* 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges */ /* 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; */ /* allow PackFontRanges to pack and render in separate phases; */ /* fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); */ /* fixed an assert() bug in the new rasterizer */ /* replace assert() with STBTT_assert() in new rasterizer */ /* 1.06 (2015-07-14) performance improvements (~35% faster on x86 and x64 on test machine) */ /* also more precise AA rasterizer, except if shapes overlap */ /* remove need for STBTT_sort */ /* 1.05 (2015-04-15) fix misplaced definitions for STBTT_STATIC */ /* 1.04 (2015-04-15) typo in example */ /* 1.03 (2015-04-12) STBTT_STATIC, fix memory leak in new packing, various fixes */ /* 1.02 (2014-12-10) fix various warnings & compile issues w/ stb_rect_pack, C++ */ /* 1.01 (2014-12-08) fix subpixel position when oversampling to exactly match */ /* non-oversampled; STBTT_POINT_SIZE for packed case only */ /* 1.00 (2014-12-06) add new PackBegin etc. API, w/ support for oversampling */ /* 0.99 (2014-09-18) fix multiple bugs with subpixel rendering (ryg) */ /* 0.9 (2014-08-07) support certain mac/iOS fonts without an MS platformID */ /* 0.8b (2014-07-07) fix a warning */ /* 0.8 (2014-05-25) fix a few more warnings */ /* 0.7 (2013-09-25) bugfix: subpixel glyph bug fixed in 0.5 had come back */ /* 0.6c (2012-07-24) improve documentation */ /* 0.6b (2012-07-20) fix a few more warnings */ /* 0.6 (2012-07-17) fix warnings; added stbtt_ScaleForMappingEmToPixels, */ /* stbtt_GetFontBoundingBox, stbtt_IsGlyphEmpty */ /* 0.5 (2011-12-09) bugfixes: */ /* subpixel glyph renderer computed wrong bounding box */ /* first vertex of shape can be off-curve (FreeSans) */ /* 0.4b (2011-12-03) fixed an error in the font baking example */ /* 0.4 (2011-12-01) kerning, subpixel rendering (tor) */ /* bugfixes for: */ /* codepoint-to-glyph conversion using table fmt=12 */ /* codepoint-to-glyph conversion using table fmt=4 */ /* stbtt_GetBakedQuad with non-square texture (Zer) */ /* updated Hello World! sample to use kerning and subpixel */ /* fixed some warnings */ /* 0.3 (2009-06-24) cmap fmt=12, compound shapes (MM) */ /* userdata, malloc-from-userdata, non-zero fill (stb) */ /* 0.2 (2009-03-11) Fix unsigned/signed char warnings */ /* 0.1 (2009-03-09) First public release */ /* */ /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */ #ifdef NK_INCLUDE_FONT_BAKING /* ------------------------------------------------------------- * * RECT PACK * * --------------------------------------------------------------*/ /* * ============================================================== * * TRUETYPE * * =============================================================== */ #define STBTT_MAX_OVERSAMPLE 8 /* ------------------------------------------------------------- * * FONT BAKING * * --------------------------------------------------------------*/ struct nk_font_bake_data { struct stbtt_fontinfo info; struct stbrp_rect *rects; stbtt_pack_range *ranges; nk_rune range_count; }; struct nk_font_baker { struct nk_allocator alloc; struct stbtt_pack_context spc; struct nk_font_bake_data *build; stbtt_packedchar *packed_chars; struct stbrp_rect *rects; stbtt_pack_range *ranges; }; NK_GLOBAL const nk_size nk_rect_align = NK_ALIGNOF(struct stbrp_rect); NK_GLOBAL const nk_size nk_range_align = NK_ALIGNOF(stbtt_pack_range); NK_GLOBAL const nk_size nk_char_align = NK_ALIGNOF(stbtt_packedchar); NK_GLOBAL const nk_size nk_build_align = NK_ALIGNOF(struct nk_font_bake_data); NK_GLOBAL const nk_size nk_baker_align = NK_ALIGNOF(struct nk_font_baker); NK_INTERN int nk_range_count(const nk_rune *range) { const nk_rune *iter = range; NK_ASSERT(range); if (!range) return 0; while (*(iter++) != 0); return (iter == range) ? 0 : (int)((iter - range)/2); } NK_INTERN int nk_range_glyph_count(const nk_rune *range, int count) { int i = 0; int total_glyphs = 0; for (i = 0; i < count; ++i) { int diff; nk_rune f = range[(i*2)+0]; nk_rune t = range[(i*2)+1]; NK_ASSERT(t >= f); diff = (int)((t - f) + 1); total_glyphs += diff; } return total_glyphs; } NK_API const nk_rune* nk_font_default_glyph_ranges(void) { NK_STORAGE const nk_rune ranges[] = {0x0020, 0x00FF, 0}; return ranges; } NK_API const nk_rune* nk_font_chinese_glyph_ranges(void) { NK_STORAGE const nk_rune ranges[] = { 0x0020, 0x00FF, 0x3000, 0x30FF, 0x31F0, 0x31FF, 0xFF00, 0xFFEF, 0x4e00, 0x9FAF, 0 }; return ranges; } NK_API const nk_rune* nk_font_cyrillic_glyph_ranges(void) { NK_STORAGE const nk_rune ranges[] = { 0x0020, 0x00FF, 0x0400, 0x052F, 0x2DE0, 0x2DFF, 0xA640, 0xA69F, 0 }; return ranges; } NK_API const nk_rune* nk_font_korean_glyph_ranges(void) { NK_STORAGE const nk_rune ranges[] = { 0x0020, 0x00FF, 0x3131, 0x3163, 0xAC00, 0xD79D, 0 }; return ranges; } NK_INTERN void nk_font_baker_memory(nk_size *temp, int *glyph_count, struct nk_font_config *config_list, int count) { int range_count = 0; int total_range_count = 0; struct nk_font_config *iter, *i; NK_ASSERT(config_list); NK_ASSERT(glyph_count); if (!config_list) { *temp = 0; *glyph_count = 0; return; } *glyph_count = 0; for (iter = config_list; iter; iter = iter->next) { i = iter; do {if (!i->range) iter->range = nk_font_default_glyph_ranges(); range_count = nk_range_count(i->range); total_range_count += range_count; *glyph_count += nk_range_glyph_count(i->range, range_count); } while ((i = i->n) != iter); } *temp = (nk_size)*glyph_count * sizeof(struct stbrp_rect); *temp += (nk_size)total_range_count * sizeof(stbtt_pack_range); *temp += (nk_size)*glyph_count * sizeof(stbtt_packedchar); *temp += (nk_size)count * sizeof(struct nk_font_bake_data); *temp += sizeof(struct nk_font_baker); *temp += nk_rect_align + nk_range_align + nk_char_align; *temp += nk_build_align + nk_baker_align; } NK_INTERN struct nk_font_baker* nk_font_baker(void *memory, int glyph_count, int count, struct nk_allocator *alloc) { struct nk_font_baker *baker; if (!memory) return 0; /* setup baker inside a memory block */ baker = (struct nk_font_baker*)NK_ALIGN_PTR(memory, nk_baker_align); baker->build = (struct nk_font_bake_data*)NK_ALIGN_PTR((baker + 1), nk_build_align); baker->packed_chars = (stbtt_packedchar*)NK_ALIGN_PTR((baker->build + count), nk_char_align); baker->rects = (struct stbrp_rect*)NK_ALIGN_PTR((baker->packed_chars + glyph_count), nk_rect_align); baker->ranges = (stbtt_pack_range*)NK_ALIGN_PTR((baker->rects + glyph_count), nk_range_align); baker->alloc = *alloc; return baker; } NK_INTERN int nk_font_bake_pack(struct nk_font_baker *baker, nk_size *image_memory, int *width, int *height, struct nk_recti *custom, const struct nk_font_config *config_list, int count, struct nk_allocator *alloc) { NK_STORAGE const nk_size max_height = 1024 * 32; const struct nk_font_config *config_iter, *it; int total_glyph_count = 0; int total_range_count = 0; int range_count = 0; int i = 0; NK_ASSERT(image_memory); NK_ASSERT(width); NK_ASSERT(height); NK_ASSERT(config_list); NK_ASSERT(count); NK_ASSERT(alloc); if (!image_memory || !width || !height || !config_list || !count) return nk_false; for (config_iter = config_list; config_iter; config_iter = config_iter->next) { it = config_iter; do {range_count = nk_range_count(it->range); total_range_count += range_count; total_glyph_count += nk_range_glyph_count(it->range, range_count); } while ((it = it->n) != config_iter); } /* setup font baker from temporary memory */ for (config_iter = config_list; config_iter; config_iter = config_iter->next) { struct stbtt_fontinfo *font_info = &baker->build[i++].info; it = config_iter; font_info->userdata = alloc; do {if (!stbtt_InitFont(font_info, (const unsigned char*)it->ttf_blob, 0)) return nk_false; } while ((it = it->n) != config_iter); } *height = 0; *width = (total_glyph_count > 1000) ? 1024 : 512; stbtt_PackBegin(&baker->spc, 0, (int)*width, (int)max_height, 0, 1, alloc); { int input_i = 0; int range_n = 0; int rect_n = 0; int char_n = 0; if (custom) { /* pack custom user data first so it will be in the upper left corner*/ struct stbrp_rect custom_space; nk_zero(&custom_space, sizeof(custom_space)); custom_space.w = (stbrp_coord)(custom->w); custom_space.h = (stbrp_coord)(custom->h); stbtt_PackSetOversampling(&baker->spc, 1, 1); stbrp_pack_rects((struct stbrp_context*)baker->spc.pack_info, &custom_space, 1); *height = NK_MAX(*height, (int)(custom_space.y + custom_space.h)); custom->x = (short)custom_space.x; custom->y = (short)custom_space.y; custom->w = (short)custom_space.w; custom->h = (short)custom_space.h; } /* first font pass: pack all glyphs */ for (input_i = 0, config_iter = config_list; input_i < count && config_iter; config_iter = config_iter->next) { it = config_iter; do {int n = 0; int glyph_count; const nk_rune *in_range; const struct nk_font_config *cfg = it; struct nk_font_bake_data *tmp = &baker->build[input_i++]; /* count glyphs + ranges in current font */ glyph_count = 0; range_count = 0; for (in_range = cfg->range; in_range[0] && in_range[1]; in_range += 2) { glyph_count += (int)(in_range[1] - in_range[0]) + 1; range_count++; } /* setup ranges */ tmp->ranges = baker->ranges + range_n; tmp->range_count = (nk_rune)range_count; range_n += range_count; for (i = 0; i < range_count; ++i) { in_range = &cfg->range[i * 2]; tmp->ranges[i].font_size = cfg->size; tmp->ranges[i].first_unicode_codepoint_in_range = (int)in_range[0]; tmp->ranges[i].num_chars = (int)(in_range[1]- in_range[0]) + 1; tmp->ranges[i].chardata_for_range = baker->packed_chars + char_n; char_n += tmp->ranges[i].num_chars; } /* pack */ tmp->rects = baker->rects + rect_n; rect_n += glyph_count; stbtt_PackSetOversampling(&baker->spc, cfg->oversample_h, cfg->oversample_v); n = stbtt_PackFontRangesGatherRects(&baker->spc, &tmp->info, tmp->ranges, (int)tmp->range_count, tmp->rects); stbrp_pack_rects((struct stbrp_context*)baker->spc.pack_info, tmp->rects, (int)n); /* texture height */ for (i = 0; i < n; ++i) { if (tmp->rects[i].was_packed) *height = NK_MAX(*height, tmp->rects[i].y + tmp->rects[i].h); } } while ((it = it->n) != config_iter); } NK_ASSERT(rect_n == total_glyph_count); NK_ASSERT(char_n == total_glyph_count); NK_ASSERT(range_n == total_range_count); } *height = (int)nk_round_up_pow2((nk_uint)*height); *image_memory = (nk_size)(*width) * (nk_size)(*height); return nk_true; } NK_INTERN void nk_font_bake(struct nk_font_baker *baker, void *image_memory, int width, int height, struct nk_font_glyph *glyphs, int glyphs_count, const struct nk_font_config *config_list, int font_count) { int input_i = 0; nk_rune glyph_n = 0; const struct nk_font_config *config_iter; const struct nk_font_config *it; NK_ASSERT(image_memory); NK_ASSERT(width); NK_ASSERT(height); NK_ASSERT(config_list); NK_ASSERT(baker); NK_ASSERT(font_count); NK_ASSERT(glyphs_count); if (!image_memory || !width || !height || !config_list || !font_count || !glyphs || !glyphs_count) return; /* second font pass: render glyphs */ nk_zero(image_memory, (nk_size)((nk_size)width * (nk_size)height)); baker->spc.pixels = (unsigned char*)image_memory; baker->spc.height = (int)height; for (input_i = 0, config_iter = config_list; input_i < font_count && config_iter; config_iter = config_iter->next) { it = config_iter; do {const struct nk_font_config *cfg = it; struct nk_font_bake_data *tmp = &baker->build[input_i++]; stbtt_PackSetOversampling(&baker->spc, cfg->oversample_h, cfg->oversample_v); stbtt_PackFontRangesRenderIntoRects(&baker->spc, &tmp->info, tmp->ranges, (int)tmp->range_count, tmp->rects); } while ((it = it->n) != config_iter); } stbtt_PackEnd(&baker->spc); /* third pass: setup font and glyphs */ for (input_i = 0, config_iter = config_list; input_i < font_count && config_iter; config_iter = config_iter->next) { it = config_iter; do {nk_size i = 0; int char_idx = 0; nk_rune glyph_count = 0; const struct nk_font_config *cfg = it; struct nk_font_bake_data *tmp = &baker->build[input_i++]; struct nk_baked_font *dst_font = cfg->font; float font_scale = stbtt_ScaleForPixelHeight(&tmp->info, cfg->size); int unscaled_ascent, unscaled_descent, unscaled_line_gap; stbtt_GetFontVMetrics(&tmp->info, &unscaled_ascent, &unscaled_descent, &unscaled_line_gap); /* fill baked font */ if (!cfg->merge_mode) { dst_font->ranges = cfg->range; dst_font->height = cfg->size; dst_font->ascent = ((float)unscaled_ascent * font_scale); dst_font->descent = ((float)unscaled_descent * font_scale); dst_font->glyph_offset = glyph_n; /* Need to zero this, or it will carry over from a previous bake, and cause a segfault when accessing glyphs[]. */ dst_font->glyph_count = 0; } /* fill own baked font glyph array */ for (i = 0; i < tmp->range_count; ++i) { stbtt_pack_range *range = &tmp->ranges[i]; for (char_idx = 0; char_idx < range->num_chars; char_idx++) { nk_rune codepoint = 0; float dummy_x = 0, dummy_y = 0; stbtt_aligned_quad q; struct nk_font_glyph *glyph; /* query glyph bounds from stb_truetype */ const stbtt_packedchar *pc = &range->chardata_for_range[char_idx]; if (!pc->x0 && !pc->x1 && !pc->y0 && !pc->y1) continue; codepoint = (nk_rune)(range->first_unicode_codepoint_in_range + char_idx); stbtt_GetPackedQuad(range->chardata_for_range, (int)width, (int)height, char_idx, &dummy_x, &dummy_y, &q, 0); /* fill own glyph type with data */ glyph = &glyphs[dst_font->glyph_offset + dst_font->glyph_count + (unsigned int)glyph_count]; glyph->codepoint = codepoint; glyph->x0 = q.x0; glyph->y0 = q.y0; glyph->x1 = q.x1; glyph->y1 = q.y1; glyph->y0 += (dst_font->ascent + 0.5f); glyph->y1 += (dst_font->ascent + 0.5f); glyph->w = glyph->x1 - glyph->x0 + 0.5f; glyph->h = glyph->y1 - glyph->y0; if (cfg->coord_type == NK_COORD_PIXEL) { glyph->u0 = q.s0 * (float)width; glyph->v0 = q.t0 * (float)height; glyph->u1 = q.s1 * (float)width; glyph->v1 = q.t1 * (float)height; } else { glyph->u0 = q.s0; glyph->v0 = q.t0; glyph->u1 = q.s1; glyph->v1 = q.t1; } glyph->xadvance = (pc->xadvance + cfg->spacing.x); if (cfg->pixel_snap) glyph->xadvance = (float)(int)(glyph->xadvance + 0.5f); glyph_count++; } } dst_font->glyph_count += glyph_count; glyph_n += glyph_count; } while ((it = it->n) != config_iter); } } NK_INTERN void nk_font_bake_custom_data(void *img_memory, int img_width, int img_height, struct nk_recti img_dst, const char *texture_data_mask, int tex_width, int tex_height, char white, char black) { nk_byte *pixels; int y = 0; int x = 0; int n = 0; NK_ASSERT(img_memory); NK_ASSERT(img_width); NK_ASSERT(img_height); NK_ASSERT(texture_data_mask); NK_UNUSED(tex_height); if (!img_memory || !img_width || !img_height || !texture_data_mask) return; pixels = (nk_byte*)img_memory; for (y = 0, n = 0; y < tex_height; ++y) { for (x = 0; x < tex_width; ++x, ++n) { const int off0 = ((img_dst.x + x) + (img_dst.y + y) * img_width); const int off1 = off0 + 1 + tex_width; pixels[off0] = (texture_data_mask[n] == white) ? 0xFF : 0x00; pixels[off1] = (texture_data_mask[n] == black) ? 0xFF : 0x00; } } } NK_INTERN void nk_font_bake_convert(void *out_memory, int img_width, int img_height, const void *in_memory) { int n = 0; nk_rune *dst; const nk_byte *src; NK_ASSERT(out_memory); NK_ASSERT(in_memory); NK_ASSERT(img_width); NK_ASSERT(img_height); if (!out_memory || !in_memory || !img_height || !img_width) return; dst = (nk_rune*)out_memory; src = (const nk_byte*)in_memory; for (n = (int)(img_width * img_height); n > 0; n--) *dst++ = ((nk_rune)(*src++) << 24) | 0x00FFFFFF; } /* ------------------------------------------------------------- * * FONT * * --------------------------------------------------------------*/ NK_INTERN float nk_font_text_width(nk_handle handle, float height, const char *text, int len) { nk_rune unicode; int text_len = 0; float text_width = 0; int glyph_len = 0; float scale = 0; struct nk_font *font = (struct nk_font*)handle.ptr; NK_ASSERT(font); NK_ASSERT(font->glyphs); if (!font || !text || !len) return 0; scale = height/font->info.height; glyph_len = text_len = nk_utf_decode(text, &unicode, (int)len); if (!glyph_len) return 0; while (text_len <= (int)len && glyph_len) { const struct nk_font_glyph *g; if (unicode == NK_UTF_INVALID) break; /* query currently drawn glyph information */ g = nk_font_find_glyph(font, unicode); text_width += g->xadvance * scale; /* offset next glyph */ glyph_len = nk_utf_decode(text + text_len, &unicode, (int)len - text_len); text_len += glyph_len; } return text_width; } #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT NK_INTERN void nk_font_query_font_glyph(nk_handle handle, float height, struct nk_user_font_glyph *glyph, nk_rune codepoint, nk_rune next_codepoint) { float scale; const struct nk_font_glyph *g; struct nk_font *font; NK_ASSERT(glyph); NK_UNUSED(next_codepoint); font = (struct nk_font*)handle.ptr; NK_ASSERT(font); NK_ASSERT(font->glyphs); if (!font || !glyph) return; scale = height/font->info.height; g = nk_font_find_glyph(font, codepoint); glyph->width = (g->x1 - g->x0) * scale; glyph->height = (g->y1 - g->y0) * scale; glyph->offset = nk_vec2(g->x0 * scale, g->y0 * scale); glyph->xadvance = (g->xadvance * scale); glyph->uv[0] = nk_vec2(g->u0, g->v0); glyph->uv[1] = nk_vec2(g->u1, g->v1); } #endif NK_API const struct nk_font_glyph* nk_font_find_glyph(struct nk_font *font, nk_rune unicode) { int i = 0; int count; int total_glyphs = 0; const struct nk_font_glyph *glyph = 0; const struct nk_font_config *iter = 0; NK_ASSERT(font); NK_ASSERT(font->glyphs); NK_ASSERT(font->info.ranges); if (!font || !font->glyphs) return 0; glyph = font->fallback; iter = font->config; do {count = nk_range_count(iter->range); for (i = 0; i < count; ++i) { nk_rune f = iter->range[(i*2)+0]; nk_rune t = iter->range[(i*2)+1]; int diff = (int)((t - f) + 1); if (unicode >= f && unicode <= t) return &font->glyphs[((nk_rune)total_glyphs + (unicode - f))]; total_glyphs += diff; } } while ((iter = iter->n) != font->config); return glyph; } NK_INTERN void nk_font_init(struct nk_font *font, float pixel_height, nk_rune fallback_codepoint, struct nk_font_glyph *glyphs, const struct nk_baked_font *baked_font, nk_handle atlas) { struct nk_baked_font baked; NK_ASSERT(font); NK_ASSERT(glyphs); NK_ASSERT(baked_font); if (!font || !glyphs || !baked_font) return; baked = *baked_font; font->fallback = 0; font->info = baked; font->scale = (float)pixel_height / (float)font->info.height; font->glyphs = &glyphs[baked_font->glyph_offset]; font->texture = atlas; font->fallback_codepoint = fallback_codepoint; font->fallback = nk_font_find_glyph(font, fallback_codepoint); font->handle.height = font->info.height * font->scale; font->handle.width = nk_font_text_width; font->handle.userdata.ptr = font; #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT font->handle.query = nk_font_query_font_glyph; font->handle.texture = font->texture; #endif } /* --------------------------------------------------------------------------- * * DEFAULT FONT * * ProggyClean.ttf * Copyright (c) 2004, 2005 Tristan Grimmer * MIT license (see License.txt in http://www.upperbounds.net/download/ProggyClean.ttf.zip) * Download and more information at http://upperbounds.net *-----------------------------------------------------------------------------*/ #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Woverlength-strings" #elif defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Woverlength-strings" #endif #ifdef NK_INCLUDE_DEFAULT_FONT NK_GLOBAL const char nk_proggy_clean_ttf_compressed_data_base85[11980+1] = "7])#######hV0qs'/###[),##/l:$#Q6>##5[n42>c-TH`->>#/e>11NNV=Bv(*:.F?uu#(gRU.o0XGH`$vhLG1hxt9?W`#,5LsCp#-i>.r$<$6pD>Lb';9Crc6tgXmKVeU2cD4Eo3R/" "2*>]b(MC;$jPfY.;h^`IWM9<Lh2TlS+f-s$o6Q<BWH`YiU.xfLq$N;$0iR/GX:U(jcW2p/W*q?-qmnUCI;jHSAiFWM.R*kU@C=GH?a9wp8f$e.-4^Qg1)Q-GL(lf(r/7GrRgwV%MS=C#" "`8ND>Qo#t'X#(v#Y9w0#1D$CIf;W'#pWUPXOuxXuU(H9M(1<q-UE31#^-V'8IRUo7Qf./L>=Ke$$'5F%)]0^#[email protected]<r:QLtFsLcL6##lOj)#.Y5<-R&KgLwqJfLgN&;Q?gI^#DY2uL" "i@^rMl9t=cWq6##weg>$FBjVQTSDgEKnIS7EM9>ZY9w0#L;>>#Mx&4Mvt//L[MkA#[email protected]'[0#7RL_&#w+F%HtG9M#XL`N&.,GM4Pg;-<nLENhvx>-VsM.M0rJfLH2eTM`*oJMHRC`N" "kfimM2J,W-jXS:)r0wK#@Fge$U>`w'N7G#$#fB#$E^$#:9:hk+eOe--6x)F7*E%?76%^GMHePW-Z5l'&GiF#$956:rS?dA#fiK:)Yr+`&#0j@'DbG&#^$PG.Ll+DNa<XCMKEV*N)LN/N" "*b=%Q6pia-Xg8I$<MR&,VdJe$<(7G;Ckl'&hF;;$<_=X(b.RS%%)###MPBuuE1V:v&cX&#2m#(&cV]`k9OhLMbn%s$G2,B$BfD3X*sp5#l,$R#]x_X1xKX%b5U*[r5iMfUo9U`N99hG)" "tm+/Us9pG)XPu`<0s-)WTt(gCRxIg(%6sfh=ktMKn3j)<6<b5Sk_/0(^]AaN#(p/L>&VZ>1i%h1S9u5o@YaaW$e+b<TWFn/Z:Oh(Cx2$lNEoN^e)#CFY@@I;BOQ*sRwZtZxRcU7uW6CX" "ow0i(?$Q[cjOd[P4d)]>ROPOpxTO7Stwi1::iB1q)C_=dV26J;2,]7op$]uQr@_V7$q^%lQwtuHY]=DX,n3L#0PHDO4f9>dC@O>HBuKPpP*E,N+b3L#lpR/MrTEH.IAQk.a>D[.e;mc." "x]Ip.PH^'/aqUO/$1WxLoW0[iLA<QT;5HKD+@qQ'NQ(3_PLhE48R.qAPSwQ0/WK?Z,[x?-J;jQTWA0X@KJ(_Y8N-:/M74:/-ZpKrUss?d#dZq]DAbkU*JqkL+nwX@@47`5>w=4h(9.`G" "CRUxHPeR`5Mjol(dUWxZa(>STrPkrJiWx`5U7F#.g*jrohGg`cg:lSTvEY/EV_7H4Q9[Z%cnv;JQYZ5q.l7Zeas:HOIZOB?G<Nald$qs]@]L<J7bR*>gv:[7MI2k).'2($5FNP&EQ(,)" "U]W]+fh18.vsai00);D3@4ku5P?DP8aJt+;qUM]=+b'8@;mViBKx0DE[-auGl8:PJ&Dj+M6OC]O^((##]`0i)drT;-7X`=-H3[igUnPG-NZlo.#k@h#=Ork$m>a>$-?Tm$UV(?#P6YY#" "'/###xe7q.73rI3*pP/$1>s9)W,JrM7SN]'/4C#v$U`0#V.[0>xQsH$fEmPMgY2u7Kh(G%siIfLSoS+MK2eTM$=5,M8p`A.;_R%#u[K#$x4AG8.kK/HSB==-'Ie/QTtG?-.*^N-4B/ZM" "_3YlQC7(p7q)&](`6_c)$/*JL(L-^(]$wIM`dPtOdGA,U3:w2M-0<q-]L_?^)1vw'.,MRsqVr.L;aN&#/EgJ)PBc[-f>+WomX2u7lqM2iEumMTcsF?-aT=Z-97UEnXglEn1K-bnEO`gu" "Ft(c%=;Am_Qs@jLooI&NX;]0#j4#F14;gl8-GQpgwhrq8'=l_f-b49'UOqkLu7-##oDY2L(te+Mch&gLYtJ,MEtJfLh'x'M=$CS-ZZ%P]8bZ>#S?YY#%Q&q'3^Fw&?D)UDNrocM3A76/" "/oL?#h7gl85[qW/NDOk%16ij;+:1a'iNIdb-ou8.P*w,v5#EI$TWS>Pot-R*H'-SEpA:g)f+O$%%`kA#G=8RMmG1&O`>to8bC]T&$,n.LoO>29sp3dt-52U%VM#q7'DHpg+#Z9%H[K<L" "%a2E-grWVM3@2=-k22tL]4$##6We'8UJCKE[d_=%wI;'6X-GsLX4j^SgJ$##R*w,vP3wK#iiW&#*h^D&R?jp7+/u&#(AP##XU8c$fSYW-J95_-Dp[g9wcO&#M-h1OcJlc-*vpw0xUX&#" "OQFKNX@QI'IoPp7nb,QU//MQ&ZDkKP)X<WSVL(68uVl&#c'[0#(s1X&xm$Y%B7*K:eDA323j998GXbA#pwMs-jgD$9QISB-A_(aN4xoFM^@C58D0+Q+q3n0#3U1InDjF682-SjMXJK)(" "h$hxua_K]ul92%'BOU&#BRRh-slg8KDlr:%L71Ka:.A;%YULjDPmL<LYs8i#XwJOYaKPKc1h:'9Ke,g)b),78=I39B;xiY$bgGw-&.Zi9InXDuYa%G*f2Bq7mn9^#p1vv%#(Wi-;/Z5h" "o;#2:;%d&#x9v68C5g?ntX0X)pT`;%pB3q7mgGN)3%(P8nTd5L7GeA-GL@+%J3u2:(Yf>et`e;)f#Km8&+DC$I46>#Kr]]u-[=99tts1.qb#q72g1WJO81q+eN'03'eM>&1XxY-caEnO" "j%2n8)),?ILR5^.Ibn<-X-Mq7[a82Lq:F&#ce+S9wsCK*x`569E8ew'He]h:sI[2LM$[guka3ZRd6:t%IG:;$%YiJ:Nq=?eAw;/:nnDq0(CYcMpG)qLN4$##&J<j$UpK<Q4a1]MupW^-" "sj_$%[HK%'F####QRZJ::Y3EGl4'@%FkiAOg#p[##O`gukTfBHagL<LHw%q&OV0##F=6/:chIm0@eCP8X]:kFI%hl8hgO@RcBhS-@Qb$%+m=hPDLg*%K8ln(wcf3/'DW-$.lR?n[nCH-" "eXOONTJlh:.RYF%3'p6sq:UIMA945&^HFS87@$EP2iG<-lCO$%c`uKGD3rC$x0BL8aFn--`ke%#HMP'vh1/R&O_J9'um,.<tx[@%wsJk&bUT2`0uMv7gg#qp/ij.L56'hl;.s5CUrxjO" "M7-##.l+Au'A&O:-T72L]P`&=;ctp'XScX*rU.>-XTt,%OVU4)S1+R-#dg0/Nn?Ku1^0f$B*P:Rowwm-`0PKjYDDM'3]d39VZHEl4,.j']Pk-M.h^&:0FACm$maq-&sgw0t7/6(^xtk%" "LuH88Fj-ekm>GA#_>568x6(OFRl-IZp`&b,_P'$M<Jnq79VsJW/mWS*PUiq76;]/NM_>hLbxfc$mj`,O;&%W2m`Zh:/)Uetw:aJ%]K9h:TcF]u_-Sj9,VK3M.*'&0D[Ca]J9gp8,kAW]" "%(?A%R$f<->Zts'^kn=-^@c4%-pY6qI%J%1IGxfLU9CP8cbPlXv);C=b),<2mOvP8up,UVf3839acAWAW-W?#ao/^#%KYo8fRULNd2.>%m]UK:n%r$'sw]J;5pAoO_#2mO3n,'=H5(et" "Hg*`+RLgv>=4U8guD$I%D:W>-r5V*%j*W:Kvej.Lp$<M-SGZ':+Q_k+uvOSLiEo(<aD/K<CCc`'Lx>'?;++O'>()jLR-^u68PHm8ZFWe+ej8h:9r6L*0//c&iH&R8pRbA#Kjm%upV1g:" "a_#Ur7FuA#(tRh#.Y5K+@?3<-8m0$PEn;J:rh6?I6uG<-`wMU'ircp0LaE_OtlMb&1#6T.#FDKu#1Lw%u%+GM+X'e?YLfjM[VO0MbuFp7;>Q&#WIo)0@F%q7c#4XAXN-U&VB<HFF*qL(" "$/V,;(kXZejWO`<[5?\?ewY(*9=%wDc;,u<'9t3W-(H1th3+G]ucQ]kLs7df($/*JL]@*t7Bu_G3_7mp7<[email protected];x3B0lqp7Hf,^Ze7-##@/c58Mo(3;knp0%)A7?-W+eI'o8)b<" "nKnw'Ho8C=Y>pqB>0ie&jhZ[?iLR@@_AvA-iQC(=ksRZRVp7`.=+NpBC%rh&3]R:8XDmE5^V8O(x<<aG/1N$#FX$0V5Y6x'aErI3I$7x%E`v<-BY,)%-?Psf*l?%C3.mM(=/M0:JxG'?" "7WhH%o'a<-80g0NBxoO(GH<dM]n.+%q@jH?f.UsJ2Ggs&4<-e47&Kl+f//9@`b+?.TeN_&B8Ss?v;^Trk;f#YvJkl&w$]>-+k?'(<S:68tq*WoDfZu';mM?8X[ma8W%*`-=;D.(nc7/;" ")g:T1=^J$&BRV(-lTmNB6xqB[@0*o.erM*<SWF]u2=st-*(6v>^](H.aREZSi,#1:[IXaZFOm<-ui#qUq2$##Ri;u75OK#(RtaW-K-F`S+cF]uN`-KMQ%rP/Xri.LRcB##=YL3BgM/3M" "D?@f&1'BW-)Ju<L25gl8uhVm1hL$##*8###'A3/LkKW+(^rWX?5W_8g)a(m&K8P>#bmmWCMkk&#TR`C,5d>g)F;t,4:@_l8G/5h4vUd%&%950:VXD'QdWoY-F$BtUwmfe$YqL'8(PWX(" "P?^@Po3$##`MSs?DWBZ/S>+4%>fX,VWv/w'KD`LP5IbH;rTV>n3cEK8U#bX]l-/V+^lj3;vlMb&[5YQ8#pekX9JP3XUC72L,,?+Ni&co7ApnO*5NK,((W-i:$,kp'UDAO(G0Sq7MVjJs" "bIu)'Z,*[>br5fX^:FPAWr-m2KgL<LUN098kTF&#lvo58=/vjDo;.;)Ka*hLR#/k=rKbxuV`>Q_nN6'8uTG&#1T5g)uLv:873UpTLgH+#FgpH'_o1780Ph8KmxQJ8#H72L4@768@Tm&Q" "h4CB/5OvmA&,Q&QbUoi$a_%3M01H)4x7I^&KQVgtFnV+;[Pc>[m4k//,]1?#`VY[Jr*3&&slRfLiVZJ:]?=K3Sw=[$=uRB?3xk48@aeg<Z'<$#4H)6,>e0jT6'N#(q%.O=?2S]u*(m<-" "V8J'(1)G][68hW$5'q[GC&5j`TE?m'esFGNRM)j,ffZ?-qx8;->g4t*:CIP/[Qap7/9'#(1sao7w-.qNUdkJ)tCF&#B^;[email protected]$m%#QvQS8U@)2Z+3K:AKM5i" "sZ88+dKQ)W6>J%CL<KE>`.d*(B`-n8D9oK<Up]c$X$(,)M8Zt7/[rdkqTgl-0cuGMv'?>-XV1q['-5k'cAZ69e;D_?$ZPP&s^+7])$*$#@QYi9,5P&#9r+$%CE=68>K8r0=dSC%%(@p7" ".m7jilQ02'0-VWAg<a/''3u.=4L$Y)6k/K:_[3=&jvL<L0C/2'v:^;-DIBW,B4E68:kZ;%?8(Q8BH=kO65BW?xSG&#@uU,DS*,?.+(o(#1vCS8#CHF>TlGW'b)Tq7VT9q^*^$$.:&N@@" "$&)WHtPm*5_rO0&e%K&#-30j(E4#'Zb.o/(Tpm$>K'f@[PvFl,hfINTNU6u'0pao7%XUp9]5.>%h`8_=VYbxuel.NTSsJfLacFu3B'lQSu/m6-Oqem8T+oE--$0a/k]uj9EwsG>%veR*" "hv^BFpQj:K'#SJ,sB-'#](j.Lg92rTw-*n%@/;39rrJF,l#qV%OrtBeC6/,;qB3ebNW[?,Hqj2L.1NP&GjUR=1D8QaS3Up&@*9wP?+lo7b?@%'k4`p0Z$22%K3+iCZj?XJN4Nm&+YF]u" "@-W$U%VEQ/,,>>#)D<h#`)h0:<Q6909ua+&VU%n2:cG3FJ-%@Bj-DgLr`Hw&HAKjKjseK</xKT*)B,N9X3]krc12t'pgTV(Lv-tL[xg_%=M_q7a^x?7Ubd>#%8cY#YZ?=,`Wdxu/ae&#" "w6)R89tI#6@s'(6Bf7a&?S=^ZI_kS&ai`&=tE72L_D,;^R)7[$s<Eh#c&)q.MXI%#v9ROa5FZO%sF7q7Nwb&#ptUJ:aqJe$Sl68%.D###EC><?-aF&#RNQv>o8lKN%5/$(vdfq7+ebA#" "u1p]ovUKW&Y%q]'>$1@-[xfn$7ZTp7mM,G,Ko7a&Gu%G[RMxJs[0MM%wci.LFDK)(<c`Q8N)jEIF*+?P2a8g%)$q]o2aH8C&<SibC/q,(e:v;-b#6[$NtDZ84Je2KNvB#$P5?tQ3nt(0" "d=j.LQf./Ll33+(;q3L-w=8dX$#WF&uIJ@-bfI>%:_i2B5CsR8&9Z&#=mPEnm0f`<&c)QL5uJ#%u%lJj+D-r;BoF&#4DoS97h5g)E#o:&S4weDF,9^Hoe`h*L+_a*NrLW-1pG_&2UdB8" "6e%B/:=>)N4xeW.*wft-;$'58-ESqr<b?UI(_%@[P46>#U`'6AQ]m&6/`Z>#S?YY#Vc;r7U2&326d=w&H####?TZ`*4?&.MK?LP8Vxg>$[QXc%QJv92.(Db*B)gb*BM9dM*hJMAo*c&#" "b0v=Pjer]$gG&JXDf->'StvU7505l9$AFvgYRI^&<^b68?j#q9QX4SM'RO#&sL1IM.rJfLUAj221]d##DW=m83u5;'bYx,*Sl0hL(W;;$doB&O/TQ:(Z^xBdLjL<Lni;''X.`$#8+1GD" ":k$YUWsbn8ogh6rxZ2Z9]%nd+>V#*8U_72Lh+2Q8Cj0i:6hp&$C/:p(HK>T8Y[gHQ4`4)'$Ab(Nof%V'8hL&#<NEdtg(n'=S1A(Q1/I&4([%dM`,Iu'1:_hL>SfD07&6D<fp8dHM7/g+" "tlPN9J*rKaPct&?'uBCem^jn%9_K)<,C5K3s=5g&GmJb*[SYq7K;TRLGCsM-$$;S%:Y@r7AK0pprpL<Lrh,q7e/%KWK:50I^+m'vi`3?%Zp+<-d+$L-Sv:@.o19n$s0&39;kn;S%BSq*" "$3WoJSCLweV[aZ'MQIjO<7;X-X;&+dMLvu#^UsGEC9WEc[X(wI7#2.(F0jV*eZf<-Qv3J-c+J5AlrB#$p(H68LvEA'q3n0#m,[`*8Ft)FcYgEud]CWfm68,(aLA$@EFTgLXoBq/UPlp7" ":d[/;r_ix=:TF`S5H-b<LI&HY(K=h#)]Lk$K14lVfm:x$H<3^Ql<M`$OhapBnkup'D#L$Pb_`N*g]2e;X/Dtg,bsj&K#2[-:iYr'_wgH)NUIR8a1n#S?Yej'h8^58UbZd+^FKD*T@;6A" "7aQC[K8d-(v6GI$x:T<&'Gp5Uf>@M.*J:;$-rv29'M]8qMv-tLp,'886iaC=Hb*YJoKJ,(j%K=H`K.v9HggqBIiZu'QvBT.#=)0ukruV&.)3=(^1`o*Pj4<-<aN((^7('#Z0wK#5GX@7" "u][`*S^43933A4rl][`*O4CgLEl]v$1Q3AeF37dbXk,.)vj#x'd`;qgbQR%FW,2(?LO=s%Sc68%NP'##Aotl8x=BE#j1UD([3$M(]UI2LX3RpKN@;/#f'f/&_mt&F)XdF<9t4)Qa.*kT" "LwQ'(TTB9.xH'>#MJ+gLq9-##@HuZPN0]u:h7.T..G:;$/Usj(T7`Q8tT72LnYl<-qx8;-HV7Q-&Xdx%1a,hC=0u+HlsV>nuIQL-5<N?)NBS)QN*_I,?&)2'IM%L3I)X((e/dl2&8'<M" ":^#M*Q+[T.Xri.LYS3v%fF`68h;b-X[/En'CR.q7E)p'/kle2HM,u;^%OKC-N+Ll%F9CF<Nf'^#t2L,;27W:0O@6##U6W7:$rJfLWHj$#)woqBefIZ.PK<b*t7ed;p*_m;4ExK#h@&]>" "_>@kXQtMacfD.m-VAb8;IReM3$wf0''hra*so568'Ip&vRs849'MRYSp%:t:h5qSgwpEr$B>Q,;s(C#$)`svQuF$##-D,##,g68@2[T;.XSdN9Qe)rpt._K-#5wF)sP'##p#C0c%-Gb%" "hd+<-j'Ai*x&&HMkT]C'OSl##5RG[JXaHN;d'uA#x._U;.`PU@(Z3dt4r152@:v,'R.Sj'w#0<-;kPI)FfJ&#AYJ&#//)>-k=m=*XnK$>=)72L]0I%>.G690a:$##<,);?;72#?x9+d;" "^V'9;jY@;)br#q^YQpx:X#Te$Z^'=-=bGhLf:D6&bNwZ9-ZD#n^9HhLMr5G;']d&6'wYmTFmL<LD)F^%[tC'8;+9E#C$g%#5Y>q9wI>P(9mI[>kC-ekLC/R&CH+s'B;K-M6$EB%is00:" "+A4[7xks.LrNk0&E)wILYF@2L'0Nb$+pv<(2.768/FrY&h$^3i&@+G%JT'<-,v`3;_)I9M^AE]CN?Cl2AZg+%4iTpT3<n-&%H%b<FDj2M<hH=&Eh<2Len$b*aTX=-8QxN)k11IM1c^j%" "9s<L<NFSo)B?+<-(GxsF,^-Eh@$4dXhN$+#rxK8'je'D7k`e;)2pYwPA'_p9&@^18ml1^[@g4t*[JOa*[=Qp7(qJ_oOL^('7fB&Hq-:sf,sNj8xq^>$U4O]GKx'm9)b@p7YsvK3w^YR-" "CdQ*:Ir<($u&)#(&?L9Rg3H)4fiEp^iI9O8KnTj,]H?D*r7'M;PwZ9K0E^k&-cpI;.p/6_vwoFMV<->#%Xi.LxVnrU(4&8/P+:hLSKj$#U%]49t'I:rgMi'FL@a:0Y-uA[39',(vbma*" "hU%<-SRF`Tt:542R_VV$p@[p8DV[A,?1839FWdF<TddF<9Ah-6&9tWoDlh]&1SpGMq>Ti1O*H&#(AL8[_P%.M>v^-))qOT*F5Cq0`Ye%+$B6i:7@0IX<N+T+0MlMBPQ*Vj>SsD<U4JHY" "8kD2)2fU/M#$e.)T4,_=8hLim[&);?UkK'-x?'(:siIfL<$pFM`i<?%W(mGDHM%>iWP,##P`%/L<eXi:@Z9C.7o=@(pXdAO/NLQ8lPl+HPOQa8wD8=^GlPa8TKI1CjhsCTSLJM'/Wl>-" "S(qw%sf/@%#B6;/U7K]uZbi^Oc^2n<bhPmUkMw>%t<)'mEVE''n`WnJra$^TKvX5B>;_aSEK',(hwa0:i4G?.Bci.(X[?b*($,=-n<.Q%`(X=?+@Am*Js0&=3bh8K]mL<LoNs'6,'85`" "0?t/'_U59@]ddF<#LdF<eWdF<OuN/45rY<-L@&#+fm>69=Lb,OcZV/);TTm8VI;?%OtJ<(b4mq7M6:u?KRdF<gR@2L=FNU-<b[(9c/ML3m;Z[$oF3g)GAWqpARc=<ROu7cL5l;-[A]%/" "+fsd;l#SafT/f*W]0=O'$(Tb<[)*@e775R-:Yob%g*>l*:xP?Yb.5)%w_I?7uk5JC+FS(m#i'k.'a0i)9<7b'fs'59hq$*5Uhv##pi^8+hIEBF`nvo`;'l0.^S1<-wUK2/Coh58KKhLj" "M=SO*rfO`+qC`W-On.=AJ56>>i2@2LH6A:&5q`?9I3@@'04&p2/LVa*T-4<-i3;M9UvZd+N7>b*eIwg:CC)c<>nO&#<IGe;__.thjZl<%w(Wk2xmp4Q@I#I9,DF]u7-P=.-_:YJ]aS@V" "?6*C()dOp7:WL,b&3Rg/.cmM9&r^>$(>.Z-I&J(Q0Hd5Q%7Co-b`-c<N(6r@ip+AurK<m86QIth*#v;-OBqi+L7wDE-Ir8K['m+DDSLwK&/.?-V%U_%3:qKNu$_b*B-kp7NaD'QdWQPK" "Yq[@>P)hI;*_F]u`Rb[.j8_Q/<&>uu+VsH$sM9TA%?)(vmJ80),P7E>)tjD%2L=-t#fK[%`v=Q8<FfNkgg^oIbah*#8/Qt$F&:K*-(N/'+1vMB,u()-a.VUU*#[e%gAAO(S>WlA2);Sa" ">gXm8YB`1d@K#n]76-a$U,mF<fX]idqd)<3,]J7JmW4`6]uks=4-72L(jEk+:bJ0M^q-8Dm_Z?0olP1C9Sa&H[d&c$ooQUj]Exd*3ZM@-WGW2%s',B-_M%>%Ul:#/'xoFM9QX-$.QN'>" "[%$Z$uF6pA6Ki2O5:8w*vP1<-1`[G,)-m#>0`P&#eb#.3i)rtB61(o'$?X3B</R90;eZ]%Ncq;-Tl]#F>2Qft^ae_5tKL9MUe9b*sLEQ95C&`=G?@Mj=wh*'3E>=-<)Gt*Iw)'QG:`@I" "wOf7&]1i'S01B+Ev/Nac#9S;=;YQpg_6U`*kVY39xK,[/6Aj7:'1Bm-_1EYfa1+o&o4hp7KN_Q(OlIo@S%;jVdn0'1<Vc52=u`3^o-n1'g4v58Hj&6_t7$##?M)c<$bgQ_'SY((-xkA#" "Y(,p'H9rIVY-b,'%bCPF7.J<Up^,(dU1VY*5#WkTU>h19w,WQhLI)3S#f$2(eb,jr*b;3Vw]*7NH%$c4Vs,eD9>XW8?N]o+(*pgC%/72LV-u<Hp,3@e^9UB1J+ak9-TN/mhKPg+AJYd$" "MlvAF_jCK*.O-^(63adMT->W%iewS8W6m2rtCpo'RS1R84=@paTKt)>=%&1[)*vp'u+x,VrwN;&]kuO9JDbg=pO$J*.jVe;u'm0dr9l,<*wMK*Oe=g8lV_KEBFkO'oU]^=[-792#ok,)" "i]lR8qQ2oA8wcRCZ^7w/Njh;?.stX?Q1>S1q4Bn$)K1<-rGdO'$Wr.Lc.CG)$/*JL4tNR/,SVO3,aUw'DJN:)Ss;wGn9A32ijw%FL+Z0Fn.U9;reSq)bmI32U==5ALuG&#Vf1398/pVo" "1*c-(aY168o<`JsSbk-,1N;$>0:OUas(3:8Z972LSfF8eb=c-;>SPw7.6hn3m`9^Xkn(r.qS[0;T%&Qc=+STRxX'q1BNk3&*eu2;&8q$&x>Q#Q7^Tf+6<(d%ZVmj2bDi%.3L2n+4W'$P" "iDDG)g,r%+?,$@?uou5tSe2aN_AQU*<h`e-GI7)?OK2A.d7_c)?wQ5AS@DL3r#7fSkgl6-++D:'A,uq7SvlB$pcpH'q3n0#_%dY#xCpr-l<F0NR@-##FEV6NTF6##$l84N1w?AO>'IAO" "URQ##V^Fv-XFbGM7Fl(N<3DhLGF%q.1rC$#:T__&Pi68%0xi_&[qFJ(77j_&JWoF.V735&T,[R*:xFR*K5>>#`bW-?4Ne_&6Ne_&6Ne_&n`kr-#GJcM6X;uM6X;uM(.a..^2TkL%oR(#" ";u.T%fAr%4tJ8&><1=GHZ_+m9/#H1F^R#SC#*N=BA9(D?v[UiFY>>^8p,KKF.W]L29uLkLlu/+4T<XoIB&hx=T1PcDaB&;HH+-AFr?(m9HZV)FKS8JCw;SD=6[^/DZUL`EUDf]GGlG&>" "w$)F./^n3+rlo+DB;5sIYGNk+i1t-69Jg--0pao7Sm#K)pdHW&;LuDNH@H>#/X-TI(;P>#,Gc>#0Su>#4`1?#8lC?#<xU?#@.i?#D:%@#HF7@#LRI@#P_[@#Tkn@#Xw*A#]-=A#a9OA#" "d<F&#*;G##.GY##2Sl##6`($#:l:$#>xL$#B.`$#F:r$#JF.%#NR@%#R_R%#Vke%#Zww%#_-4&#3^Rh%Sflr-k'MS.o?.5/sWel/wpEM0%3'/1)K^f1-d>G21&v(35>V`39V7A4=onx4" "A1OY5EI0;6Ibgr6M$HS7Q<)58C5w,;WoA*#[%T*#`1g*#d=#+#hI5+#lUG+#pbY+#tnl+#x$),#&1;,#*=M,#.I`,#2Ur,#6b.-#;w[H#iQtA#m^0B#qjBB#uvTB##-hB#'9$C#+E6C#" "/QHC#3^ZC#7jmC#;v)D#?,<D#C8ND#GDaD#KPsD#O]/E#g1A5#KA*1#gC17#MGd;#8(02#L-d3#rWM4#Hga1#,<w0#T.j<#O#'2#CYN1#qa^:#_4m3#o@/=#eG8=#t8J5#`+78#4uI-#" "m3B2#SB[8#Q0@8#i[*9#iOn8#1Nm;#^sN9#qh<9#:=x-#P;K2#$%X9#bC+.#Rg;<#mN=.#MTF.#RZO.#2?)4#Y#(/#[)1/#b;L/#dAU/#0Sv;#lY$0#n`-0#sf60#(F24#wrH0#%/e0#" "TmD<#%JSMFove:CTBEXI:<eh2g)B,3h2^G3i;#d3jD>)4kMYD4lVu`4m`:&5niUA5@(A5BA1]PBB:xlBCC=2CDLXMCEUtiCf&0g2'tN?PGT4CPGT4CPGT4CPGT4CPGT4CPGT4CPGT4CP" "GT4CPGT4CPGT4CPGT4CPGT4CPGT4CP-qekC`.9kEg^+F$kwViFJTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5KTB&5o,^<-28ZI'O?;xp" "O?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xpO?;xp;7q-#lLYI:xvD=#"; #endif /* NK_INCLUDE_DEFAULT_FONT */ #define NK_CURSOR_DATA_W 90 #define NK_CURSOR_DATA_H 27 NK_GLOBAL const char nk_custom_cursor_data[NK_CURSOR_DATA_W * NK_CURSOR_DATA_H + 1] = { "..- -XXXXXXX- X - X -XXXXXXX - XXXXXXX" "..- -X.....X- X.X - X.X -X.....X - X.....X" "--- -XXX.XXX- X...X - X...X -X....X - X....X" "X - X.X - X.....X - X.....X -X...X - X...X" "XX - X.X -X.......X- X.......X -X..X.X - X.X..X" "X.X - X.X -XXXX.XXXX- XXXX.XXXX -X.X X.X - X.X X.X" "X..X - X.X - X.X - X.X -XX X.X - X.X XX" "X...X - X.X - X.X - XX X.X XX - X.X - X.X " "X....X - X.X - X.X - X.X X.X X.X - X.X - X.X " "X.....X - X.X - X.X - X..X X.X X..X - X.X - X.X " "X......X - X.X - X.X - X...XXXXXX.XXXXXX...X - X.X XX-XX X.X " "X.......X - X.X - X.X -X.....................X- X.X X.X-X.X X.X " "X........X - X.X - X.X - X...XXXXXX.XXXXXX...X - X.X..X-X..X.X " "X.........X -XXX.XXX- X.X - X..X X.X X..X - X...X-X...X " "X..........X-X.....X- X.X - X.X X.X X.X - X....X-X....X " "X......XXXXX-XXXXXXX- X.X - XX X.X XX - X.....X-X.....X " "X...X..X --------- X.X - X.X - XXXXXXX-XXXXXXX " "X..X X..X - -XXXX.XXXX- XXXX.XXXX ------------------------------------" "X.X X..X - -X.......X- X.......X - XX XX - " "XX X..X - - X.....X - X.....X - X.X X.X - " " X..X - X...X - X...X - X..X X..X - " " XX - X.X - X.X - X...XXXXXXXXXXXXX...X - " "------------ - X - X -X.....................X- " " ----------------------------------- X...XXXXXXXXXXXXX...X - " " - X..X X..X - " " - X.X X.X - " " - XX XX - " }; #ifdef __clang__ #pragma clang diagnostic pop #elif defined(__GNUC__) || defined(__GNUG__) #pragma GCC diagnostic pop #endif NK_GLOBAL unsigned char *nk__barrier; NK_GLOBAL unsigned char *nk__barrier2; NK_GLOBAL unsigned char *nk__barrier3; NK_GLOBAL unsigned char *nk__barrier4; NK_GLOBAL unsigned char *nk__dout; NK_INTERN unsigned int nk_decompress_length(unsigned char *input) { return (unsigned int)((input[8] << 24) + (input[9] << 16) + (input[10] << 8) + input[11]); } NK_INTERN void nk__match(unsigned char *data, unsigned int length) { /* INVERSE of memmove... write each byte before copying the next...*/ NK_ASSERT (nk__dout + length <= nk__barrier); if (nk__dout + length > nk__barrier) { nk__dout += length; return; } if (data < nk__barrier4) { nk__dout = nk__barrier+1; return; } while (length--) *nk__dout++ = *data++; } NK_INTERN void nk__lit(unsigned char *data, unsigned int length) { NK_ASSERT (nk__dout + length <= nk__barrier); if (nk__dout + length > nk__barrier) { nk__dout += length; return; } if (data < nk__barrier2) { nk__dout = nk__barrier+1; return; } NK_MEMCPY(nk__dout, data, length); nk__dout += length; } NK_INTERN unsigned char* nk_decompress_token(unsigned char *i) { #define nk__in2(x) ((i[x] << 8) + i[(x)+1]) #define nk__in3(x) ((i[x] << 16) + nk__in2((x)+1)) #define nk__in4(x) ((i[x] << 24) + nk__in3((x)+1)) if (*i >= 0x20) { /* use fewer if's for cases that expand small */ if (*i >= 0x80) nk__match(nk__dout-i[1]-1, (unsigned int)i[0] - 0x80 + 1), i += 2; else if (*i >= 0x40) nk__match(nk__dout-(nk__in2(0) - 0x4000 + 1), (unsigned int)i[2]+1), i += 3; else /* *i >= 0x20 */ nk__lit(i+1, (unsigned int)i[0] - 0x20 + 1), i += 1 + (i[0] - 0x20 + 1); } else { /* more ifs for cases that expand large, since overhead is amortized */ if (*i >= 0x18) nk__match(nk__dout-(unsigned int)(nk__in3(0) - 0x180000 + 1), (unsigned int)i[3]+1), i += 4; else if (*i >= 0x10) nk__match(nk__dout-(unsigned int)(nk__in3(0) - 0x100000 + 1), (unsigned int)nk__in2(3)+1), i += 5; else if (*i >= 0x08) nk__lit(i+2, (unsigned int)nk__in2(0) - 0x0800 + 1), i += 2 + (nk__in2(0) - 0x0800 + 1); else if (*i == 0x07) nk__lit(i+3, (unsigned int)nk__in2(1) + 1), i += 3 + (nk__in2(1) + 1); else if (*i == 0x06) nk__match(nk__dout-(unsigned int)(nk__in3(1)+1), i[4]+1u), i += 5; else if (*i == 0x04) nk__match(nk__dout-(unsigned int)(nk__in3(1)+1), (unsigned int)nk__in2(4)+1u), i += 6; } return i; } NK_INTERN unsigned int nk_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) { const unsigned long ADLER_MOD = 65521; unsigned long s1 = adler32 & 0xffff, s2 = adler32 >> 16; unsigned long blocklen, i; blocklen = buflen % 5552; while (buflen) { for (i=0; i + 7 < blocklen; i += 8) { s1 += buffer[0]; s2 += s1; s1 += buffer[1]; s2 += s1; s1 += buffer[2]; s2 += s1; s1 += buffer[3]; s2 += s1; s1 += buffer[4]; s2 += s1; s1 += buffer[5]; s2 += s1; s1 += buffer[6]; s2 += s1; s1 += buffer[7]; s2 += s1; buffer += 8; } for (; i < blocklen; ++i) { s1 += *buffer++; s2 += s1; } s1 %= ADLER_MOD; s2 %= ADLER_MOD; buflen -= (unsigned int)blocklen; blocklen = 5552; } return (unsigned int)(s2 << 16) + (unsigned int)s1; } NK_INTERN unsigned int nk_decompress(unsigned char *output, unsigned char *i, unsigned int length) { unsigned int olen; if (nk__in4(0) != 0x57bC0000) return 0; if (nk__in4(4) != 0) return 0; /* error! stream is > 4GB */ olen = nk_decompress_length(i); nk__barrier2 = i; nk__barrier3 = i+length; nk__barrier = output + olen; nk__barrier4 = output; i += 16; nk__dout = output; for (;;) { unsigned char *old_i = i; i = nk_decompress_token(i); if (i == old_i) { if (*i == 0x05 && i[1] == 0xfa) { NK_ASSERT(nk__dout == output + olen); if (nk__dout != output + olen) return 0; if (nk_adler32(1, output, olen) != (unsigned int) nk__in4(2)) return 0; return olen; } else { NK_ASSERT(0); /* NOTREACHED */ return 0; } } NK_ASSERT(nk__dout <= output + olen); if (nk__dout > output + olen) return 0; } } NK_INTERN unsigned int nk_decode_85_byte(char c) { return (unsigned int)((c >= '\\') ? c-36 : c-35); } NK_INTERN void nk_decode_85(unsigned char* dst, const unsigned char* src) { while (*src) { unsigned int tmp = nk_decode_85_byte((char)src[0]) + 85 * (nk_decode_85_byte((char)src[1]) + 85 * (nk_decode_85_byte((char)src[2]) + 85 * (nk_decode_85_byte((char)src[3]) + 85 * nk_decode_85_byte((char)src[4])))); /* we can't assume little-endianess. */ dst[0] = (unsigned char)((tmp >> 0) & 0xFF); dst[1] = (unsigned char)((tmp >> 8) & 0xFF); dst[2] = (unsigned char)((tmp >> 16) & 0xFF); dst[3] = (unsigned char)((tmp >> 24) & 0xFF); src += 5; dst += 4; } } /* ------------------------------------------------------------- * * FONT ATLAS * * --------------------------------------------------------------*/ NK_API struct nk_font_config nk_font_config(float pixel_height) { struct nk_font_config cfg; nk_zero_struct(cfg); cfg.ttf_blob = 0; cfg.ttf_size = 0; cfg.ttf_data_owned_by_atlas = 0; cfg.size = pixel_height; cfg.oversample_h = 3; cfg.oversample_v = 1; cfg.pixel_snap = 0; cfg.coord_type = NK_COORD_UV; cfg.spacing = nk_vec2(0,0); cfg.range = nk_font_default_glyph_ranges(); cfg.merge_mode = 0; cfg.fallback_glyph = '?'; cfg.font = 0; cfg.n = 0; return cfg; } #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_font_atlas_init_default(struct nk_font_atlas *atlas) { NK_ASSERT(atlas); if (!atlas) return; nk_zero_struct(*atlas); atlas->temporary.userdata.ptr = 0; atlas->temporary.alloc = nk_malloc; atlas->temporary.free = nk_mfree; atlas->permanent.userdata.ptr = 0; atlas->permanent.alloc = nk_malloc; atlas->permanent.free = nk_mfree; } #endif NK_API void nk_font_atlas_init(struct nk_font_atlas *atlas, struct nk_allocator *alloc) { NK_ASSERT(atlas); NK_ASSERT(alloc); if (!atlas || !alloc) return; nk_zero_struct(*atlas); atlas->permanent = *alloc; atlas->temporary = *alloc; } NK_API void nk_font_atlas_init_custom(struct nk_font_atlas *atlas, struct nk_allocator *permanent, struct nk_allocator *temporary) { NK_ASSERT(atlas); NK_ASSERT(permanent); NK_ASSERT(temporary); if (!atlas || !permanent || !temporary) return; nk_zero_struct(*atlas); atlas->permanent = *permanent; atlas->temporary = *temporary; } NK_API void nk_font_atlas_begin(struct nk_font_atlas *atlas) { NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc && atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc && atlas->permanent.free); if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free || !atlas->temporary.alloc || !atlas->temporary.free) return; if (atlas->glyphs) { atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs); atlas->glyphs = 0; } if (atlas->pixel) { atlas->permanent.free(atlas->permanent.userdata, atlas->pixel); atlas->pixel = 0; } } NK_API struct nk_font* nk_font_atlas_add(struct nk_font_atlas *atlas, const struct nk_font_config *config) { struct nk_font *font = 0; struct nk_font_config *cfg; NK_ASSERT(atlas); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(config); NK_ASSERT(config->ttf_blob); NK_ASSERT(config->ttf_size); NK_ASSERT(config->size > 0.0f); if (!atlas || !config || !config->ttf_blob || !config->ttf_size || config->size <= 0.0f|| !atlas->permanent.alloc || !atlas->permanent.free || !atlas->temporary.alloc || !atlas->temporary.free) return 0; /* allocate font config */ cfg = (struct nk_font_config*) atlas->permanent.alloc(atlas->permanent.userdata,0, sizeof(struct nk_font_config)); NK_MEMCPY(cfg, config, sizeof(*config)); cfg->n = cfg; cfg->p = cfg; if (!config->merge_mode) { /* insert font config into list */ if (!atlas->config) { atlas->config = cfg; cfg->next = 0; } else { struct nk_font_config *i = atlas->config; while (i->next) i = i->next; i->next = cfg; cfg->next = 0; } /* allocate new font */ font = (struct nk_font*) atlas->permanent.alloc(atlas->permanent.userdata,0, sizeof(struct nk_font)); NK_ASSERT(font); nk_zero(font, sizeof(*font)); if (!font) return 0; font->config = cfg; /* insert font into list */ if (!atlas->fonts) { atlas->fonts = font; font->next = 0; } else { struct nk_font *i = atlas->fonts; while (i->next) i = i->next; i->next = font; font->next = 0; } cfg->font = &font->info; } else { /* extend previously added font */ struct nk_font *f = 0; struct nk_font_config *c = 0; NK_ASSERT(atlas->font_num); f = atlas->fonts; c = f->config; cfg->font = &f->info; cfg->n = c; cfg->p = c->p; c->p->n = cfg; c->p = cfg; } /* create own copy of .TTF font blob */ if (!config->ttf_data_owned_by_atlas) { cfg->ttf_blob = atlas->permanent.alloc(atlas->permanent.userdata,0, cfg->ttf_size); NK_ASSERT(cfg->ttf_blob); if (!cfg->ttf_blob) { atlas->font_num++; return 0; } NK_MEMCPY(cfg->ttf_blob, config->ttf_blob, cfg->ttf_size); cfg->ttf_data_owned_by_atlas = 1; } atlas->font_num++; return font; } NK_API struct nk_font* nk_font_atlas_add_from_memory(struct nk_font_atlas *atlas, void *memory, nk_size size, float height, const struct nk_font_config *config) { struct nk_font_config cfg; NK_ASSERT(memory); NK_ASSERT(size); NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); if (!atlas || !atlas->temporary.alloc || !atlas->temporary.free || !memory || !size || !atlas->permanent.alloc || !atlas->permanent.free) return 0; cfg = (config) ? *config: nk_font_config(height); cfg.ttf_blob = memory; cfg.ttf_size = size; cfg.size = height; cfg.ttf_data_owned_by_atlas = 0; return nk_font_atlas_add(atlas, &cfg); } #ifdef NK_INCLUDE_STANDARD_IO NK_API struct nk_font* nk_font_atlas_add_from_file(struct nk_font_atlas *atlas, const char *file_path, float height, const struct nk_font_config *config) { nk_size size; char *memory; struct nk_font_config cfg; NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); if (!atlas || !file_path) return 0; memory = nk_file_load(file_path, &size, &atlas->permanent); if (!memory) return 0; cfg = (config) ? *config: nk_font_config(height); cfg.ttf_blob = memory; cfg.ttf_size = size; cfg.size = height; cfg.ttf_data_owned_by_atlas = 1; return nk_font_atlas_add(atlas, &cfg); } #endif NK_API struct nk_font* nk_font_atlas_add_compressed(struct nk_font_atlas *atlas, void *compressed_data, nk_size compressed_size, float height, const struct nk_font_config *config) { unsigned int decompressed_size; void *decompressed_data; struct nk_font_config cfg; NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); NK_ASSERT(compressed_data); NK_ASSERT(compressed_size); if (!atlas || !compressed_data || !atlas->temporary.alloc || !atlas->temporary.free || !atlas->permanent.alloc || !atlas->permanent.free) return 0; decompressed_size = nk_decompress_length((unsigned char*)compressed_data); decompressed_data = atlas->permanent.alloc(atlas->permanent.userdata,0,decompressed_size); NK_ASSERT(decompressed_data); if (!decompressed_data) return 0; nk_decompress((unsigned char*)decompressed_data, (unsigned char*)compressed_data, (unsigned int)compressed_size); cfg = (config) ? *config: nk_font_config(height); cfg.ttf_blob = decompressed_data; cfg.ttf_size = decompressed_size; cfg.size = height; cfg.ttf_data_owned_by_atlas = 1; return nk_font_atlas_add(atlas, &cfg); } NK_API struct nk_font* nk_font_atlas_add_compressed_base85(struct nk_font_atlas *atlas, const char *data_base85, float height, const struct nk_font_config *config) { int compressed_size; void *compressed_data; struct nk_font *font; NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); NK_ASSERT(data_base85); if (!atlas || !data_base85 || !atlas->temporary.alloc || !atlas->temporary.free || !atlas->permanent.alloc || !atlas->permanent.free) return 0; compressed_size = (((int)nk_strlen(data_base85) + 4) / 5) * 4; compressed_data = atlas->temporary.alloc(atlas->temporary.userdata,0, (nk_size)compressed_size); NK_ASSERT(compressed_data); if (!compressed_data) return 0; nk_decode_85((unsigned char*)compressed_data, (const unsigned char*)data_base85); font = nk_font_atlas_add_compressed(atlas, compressed_data, (nk_size)compressed_size, height, config); atlas->temporary.free(atlas->temporary.userdata, compressed_data); return font; } #ifdef NK_INCLUDE_DEFAULT_FONT NK_API struct nk_font* nk_font_atlas_add_default(struct nk_font_atlas *atlas, float pixel_height, const struct nk_font_config *config) { NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); return nk_font_atlas_add_compressed_base85(atlas, nk_proggy_clean_ttf_compressed_data_base85, pixel_height, config); } #endif NK_API const void* nk_font_atlas_bake(struct nk_font_atlas *atlas, int *width, int *height, enum nk_font_atlas_format fmt) { int i = 0; void *tmp = 0; nk_size tmp_size, img_size; struct nk_font *font_iter; struct nk_font_baker *baker; NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); NK_ASSERT(width); NK_ASSERT(height); if (!atlas || !width || !height || !atlas->temporary.alloc || !atlas->temporary.free || !atlas->permanent.alloc || !atlas->permanent.free) return 0; #ifdef NK_INCLUDE_DEFAULT_FONT /* no font added so just use default font */ if (!atlas->font_num) atlas->default_font = nk_font_atlas_add_default(atlas, 13.0f, 0); #endif NK_ASSERT(atlas->font_num); if (!atlas->font_num) return 0; /* allocate temporary baker memory required for the baking process */ nk_font_baker_memory(&tmp_size, &atlas->glyph_count, atlas->config, atlas->font_num); tmp = atlas->temporary.alloc(atlas->temporary.userdata,0, tmp_size); NK_ASSERT(tmp); if (!tmp) goto failed; memset(tmp,0,tmp_size); /* allocate glyph memory for all fonts */ baker = nk_font_baker(tmp, atlas->glyph_count, atlas->font_num, &atlas->temporary); atlas->glyphs = (struct nk_font_glyph*)atlas->permanent.alloc( atlas->permanent.userdata,0, sizeof(struct nk_font_glyph)*(nk_size)atlas->glyph_count); NK_ASSERT(atlas->glyphs); if (!atlas->glyphs) goto failed; /* pack all glyphs into a tight fit space */ atlas->custom.w = (NK_CURSOR_DATA_W*2)+1; atlas->custom.h = NK_CURSOR_DATA_H + 1; if (!nk_font_bake_pack(baker, &img_size, width, height, &atlas->custom, atlas->config, atlas->font_num, &atlas->temporary)) goto failed; /* allocate memory for the baked image font atlas */ atlas->pixel = atlas->temporary.alloc(atlas->temporary.userdata,0, img_size); NK_ASSERT(atlas->pixel); if (!atlas->pixel) goto failed; /* bake glyphs and custom white pixel into image */ nk_font_bake(baker, atlas->pixel, *width, *height, atlas->glyphs, atlas->glyph_count, atlas->config, atlas->font_num); nk_font_bake_custom_data(atlas->pixel, *width, *height, atlas->custom, nk_custom_cursor_data, NK_CURSOR_DATA_W, NK_CURSOR_DATA_H, '.', 'X'); if (fmt == NK_FONT_ATLAS_RGBA32) { /* convert alpha8 image into rgba32 image */ void *img_rgba = atlas->temporary.alloc(atlas->temporary.userdata,0, (nk_size)(*width * *height * 4)); NK_ASSERT(img_rgba); if (!img_rgba) goto failed; nk_font_bake_convert(img_rgba, *width, *height, atlas->pixel); atlas->temporary.free(atlas->temporary.userdata, atlas->pixel); atlas->pixel = img_rgba; } atlas->tex_width = *width; atlas->tex_height = *height; /* initialize each font */ for (font_iter = atlas->fonts; font_iter; font_iter = font_iter->next) { struct nk_font *font = font_iter; struct nk_font_config *config = font->config; nk_font_init(font, config->size, config->fallback_glyph, atlas->glyphs, config->font, nk_handle_ptr(0)); } /* initialize each cursor */ {NK_STORAGE const struct nk_vec2 nk_cursor_data[NK_CURSOR_COUNT][3] = { /* Pos Size Offset */ {{ 0, 3}, {12,19}, { 0, 0}}, {{13, 0}, { 7,16}, { 4, 8}}, {{31, 0}, {23,23}, {11,11}}, {{21, 0}, { 9, 23}, { 5,11}}, {{55,18}, {23, 9}, {11, 5}}, {{73, 0}, {17,17}, { 9, 9}}, {{55, 0}, {17,17}, { 9, 9}} }; for (i = 0; i < NK_CURSOR_COUNT; ++i) { struct nk_cursor *cursor = &atlas->cursors[i]; cursor->img.w = (unsigned short)*width; cursor->img.h = (unsigned short)*height; cursor->img.region[0] = (unsigned short)(atlas->custom.x + nk_cursor_data[i][0].x); cursor->img.region[1] = (unsigned short)(atlas->custom.y + nk_cursor_data[i][0].y); cursor->img.region[2] = (unsigned short)nk_cursor_data[i][1].x; cursor->img.region[3] = (unsigned short)nk_cursor_data[i][1].y; cursor->size = nk_cursor_data[i][1]; cursor->offset = nk_cursor_data[i][2]; }} /* free temporary memory */ atlas->temporary.free(atlas->temporary.userdata, tmp); return atlas->pixel; failed: /* error so cleanup all memory */ if (tmp) atlas->temporary.free(atlas->temporary.userdata, tmp); if (atlas->glyphs) { atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs); atlas->glyphs = 0; } if (atlas->pixel) { atlas->temporary.free(atlas->temporary.userdata, atlas->pixel); atlas->pixel = 0; } return 0; } NK_API void nk_font_atlas_end(struct nk_font_atlas *atlas, nk_handle texture, struct nk_draw_null_texture *null) { int i = 0; struct nk_font *font_iter; NK_ASSERT(atlas); if (!atlas) { if (!null) return; null->texture = texture; null->uv = nk_vec2(0.5f,0.5f); } if (null) { null->texture = texture; null->uv.x = (atlas->custom.x + 0.5f)/(float)atlas->tex_width; null->uv.y = (atlas->custom.y + 0.5f)/(float)atlas->tex_height; } for (font_iter = atlas->fonts; font_iter; font_iter = font_iter->next) { font_iter->texture = texture; #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT font_iter->handle.texture = texture; #endif } for (i = 0; i < NK_CURSOR_COUNT; ++i) atlas->cursors[i].img.handle = texture; atlas->temporary.free(atlas->temporary.userdata, atlas->pixel); atlas->pixel = 0; atlas->tex_width = 0; atlas->tex_height = 0; atlas->custom.x = 0; atlas->custom.y = 0; atlas->custom.w = 0; atlas->custom.h = 0; } NK_API void nk_font_atlas_cleanup(struct nk_font_atlas *atlas) { NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free) return; if (atlas->config) { struct nk_font_config *iter; for (iter = atlas->config; iter; iter = iter->next) { struct nk_font_config *i; for (i = iter->n; i != iter; i = i->n) { atlas->permanent.free(atlas->permanent.userdata, i->ttf_blob); i->ttf_blob = 0; } atlas->permanent.free(atlas->permanent.userdata, iter->ttf_blob); iter->ttf_blob = 0; } } } NK_API void nk_font_atlas_clear(struct nk_font_atlas *atlas) { NK_ASSERT(atlas); NK_ASSERT(atlas->temporary.alloc); NK_ASSERT(atlas->temporary.free); NK_ASSERT(atlas->permanent.alloc); NK_ASSERT(atlas->permanent.free); if (!atlas || !atlas->permanent.alloc || !atlas->permanent.free) return; if (atlas->config) { struct nk_font_config *iter, *next; for (iter = atlas->config; iter; iter = next) { struct nk_font_config *i, *n; for (i = iter->n; i != iter; i = n) { n = i->n; if (i->ttf_blob) atlas->permanent.free(atlas->permanent.userdata, i->ttf_blob); atlas->permanent.free(atlas->permanent.userdata, i); } next = iter->next; if (i->ttf_blob) atlas->permanent.free(atlas->permanent.userdata, iter->ttf_blob); atlas->permanent.free(atlas->permanent.userdata, iter); } atlas->config = 0; } if (atlas->fonts) { struct nk_font *iter, *next; for (iter = atlas->fonts; iter; iter = next) { next = iter->next; atlas->permanent.free(atlas->permanent.userdata, iter); } atlas->fonts = 0; } if (atlas->glyphs) atlas->permanent.free(atlas->permanent.userdata, atlas->glyphs); nk_zero_struct(*atlas); } #endif /* =============================================================== * * INPUT * * ===============================================================*/ NK_API void nk_input_begin(struct nk_context *ctx) { int i; struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; for (i = 0; i < NK_BUTTON_MAX; ++i) in->mouse.buttons[i].clicked = 0; in->keyboard.text_len = 0; in->mouse.scroll_delta = nk_vec2(0,0); in->mouse.prev.x = in->mouse.pos.x; in->mouse.prev.y = in->mouse.pos.y; in->mouse.delta.x = 0; in->mouse.delta.y = 0; for (i = 0; i < NK_KEY_MAX; i++) in->keyboard.keys[i].clicked = 0; } NK_API void nk_input_end(struct nk_context *ctx) { struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; if (in->mouse.grab) in->mouse.grab = 0; if (in->mouse.ungrab) { in->mouse.grabbed = 0; in->mouse.ungrab = 0; in->mouse.grab = 0; } } NK_API void nk_input_motion(struct nk_context *ctx, int x, int y) { struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; in->mouse.pos.x = (float)x; in->mouse.pos.y = (float)y; in->mouse.delta.x = in->mouse.pos.x - in->mouse.prev.x; in->mouse.delta.y = in->mouse.pos.y - in->mouse.prev.y; } NK_API void nk_input_key(struct nk_context *ctx, enum nk_keys key, nk_bool down) { struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; #ifdef NK_KEYSTATE_BASED_INPUT if (in->keyboard.keys[key].down != down) in->keyboard.keys[key].clicked++; #else in->keyboard.keys[key].clicked++; #endif in->keyboard.keys[key].down = down; } NK_API void nk_input_button(struct nk_context *ctx, enum nk_buttons id, int x, int y, nk_bool down) { struct nk_mouse_button *btn; struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; if (in->mouse.buttons[id].down == down) return; btn = &in->mouse.buttons[id]; btn->clicked_pos.x = (float)x; btn->clicked_pos.y = (float)y; btn->down = down; btn->clicked++; } NK_API void nk_input_scroll(struct nk_context *ctx, struct nk_vec2 val) { NK_ASSERT(ctx); if (!ctx) return; ctx->input.mouse.scroll_delta.x += val.x; ctx->input.mouse.scroll_delta.y += val.y; } NK_API void nk_input_glyph(struct nk_context *ctx, const nk_glyph glyph) { int len = 0; nk_rune unicode; struct nk_input *in; NK_ASSERT(ctx); if (!ctx) return; in = &ctx->input; len = nk_utf_decode(glyph, &unicode, NK_UTF_SIZE); if (len && ((in->keyboard.text_len + len) < NK_INPUT_MAX)) { nk_utf_encode(unicode, &in->keyboard.text[in->keyboard.text_len], NK_INPUT_MAX - in->keyboard.text_len); in->keyboard.text_len += len; } } NK_API void nk_input_char(struct nk_context *ctx, char c) { nk_glyph glyph; NK_ASSERT(ctx); if (!ctx) return; glyph[0] = c; nk_input_glyph(ctx, glyph); } NK_API void nk_input_unicode(struct nk_context *ctx, nk_rune unicode) { nk_glyph rune; NK_ASSERT(ctx); if (!ctx) return; nk_utf_encode(unicode, rune, NK_UTF_SIZE); nk_input_glyph(ctx, rune); } NK_API nk_bool nk_input_has_mouse_click(const struct nk_input *i, enum nk_buttons id) { const struct nk_mouse_button *btn; if (!i) return nk_false; btn = &i->mouse.buttons[id]; return (btn->clicked && btn->down == nk_false) ? nk_true : nk_false; } NK_API nk_bool nk_input_has_mouse_click_in_rect(const struct nk_input *i, enum nk_buttons id, struct nk_rect b) { const struct nk_mouse_button *btn; if (!i) return nk_false; btn = &i->mouse.buttons[id]; if (!NK_INBOX(btn->clicked_pos.x,btn->clicked_pos.y,b.x,b.y,b.w,b.h)) return nk_false; return nk_true; } NK_API nk_bool nk_input_has_mouse_click_down_in_rect(const struct nk_input *i, enum nk_buttons id, struct nk_rect b, nk_bool down) { const struct nk_mouse_button *btn; if (!i) return nk_false; btn = &i->mouse.buttons[id]; return nk_input_has_mouse_click_in_rect(i, id, b) && (btn->down == down); } NK_API nk_bool nk_input_is_mouse_click_in_rect(const struct nk_input *i, enum nk_buttons id, struct nk_rect b) { const struct nk_mouse_button *btn; if (!i) return nk_false; btn = &i->mouse.buttons[id]; return (nk_input_has_mouse_click_down_in_rect(i, id, b, nk_false) && btn->clicked) ? nk_true : nk_false; } NK_API nk_bool nk_input_is_mouse_click_down_in_rect(const struct nk_input *i, enum nk_buttons id, struct nk_rect b, nk_bool down) { const struct nk_mouse_button *btn; if (!i) return nk_false; btn = &i->mouse.buttons[id]; return (nk_input_has_mouse_click_down_in_rect(i, id, b, down) && btn->clicked) ? nk_true : nk_false; } NK_API nk_bool nk_input_any_mouse_click_in_rect(const struct nk_input *in, struct nk_rect b) { int i, down = 0; for (i = 0; i < NK_BUTTON_MAX; ++i) down = down || nk_input_is_mouse_click_in_rect(in, (enum nk_buttons)i, b); return down; } NK_API nk_bool nk_input_is_mouse_hovering_rect(const struct nk_input *i, struct nk_rect rect) { if (!i) return nk_false; return NK_INBOX(i->mouse.pos.x, i->mouse.pos.y, rect.x, rect.y, rect.w, rect.h); } NK_API nk_bool nk_input_is_mouse_prev_hovering_rect(const struct nk_input *i, struct nk_rect rect) { if (!i) return nk_false; return NK_INBOX(i->mouse.prev.x, i->mouse.prev.y, rect.x, rect.y, rect.w, rect.h); } NK_API nk_bool nk_input_mouse_clicked(const struct nk_input *i, enum nk_buttons id, struct nk_rect rect) { if (!i) return nk_false; if (!nk_input_is_mouse_hovering_rect(i, rect)) return nk_false; return nk_input_is_mouse_click_in_rect(i, id, rect); } NK_API nk_bool nk_input_is_mouse_down(const struct nk_input *i, enum nk_buttons id) { if (!i) return nk_false; return i->mouse.buttons[id].down; } NK_API nk_bool nk_input_is_mouse_pressed(const struct nk_input *i, enum nk_buttons id) { const struct nk_mouse_button *b; if (!i) return nk_false; b = &i->mouse.buttons[id]; if (b->down && b->clicked) return nk_true; return nk_false; } NK_API nk_bool nk_input_is_mouse_released(const struct nk_input *i, enum nk_buttons id) { if (!i) return nk_false; return (!i->mouse.buttons[id].down && i->mouse.buttons[id].clicked); } NK_API nk_bool nk_input_is_key_pressed(const struct nk_input *i, enum nk_keys key) { const struct nk_key *k; if (!i) return nk_false; k = &i->keyboard.keys[key]; if ((k->down && k->clicked) || (!k->down && k->clicked >= 2)) return nk_true; return nk_false; } NK_API nk_bool nk_input_is_key_released(const struct nk_input *i, enum nk_keys key) { const struct nk_key *k; if (!i) return nk_false; k = &i->keyboard.keys[key]; if ((!k->down && k->clicked) || (k->down && k->clicked >= 2)) return nk_true; return nk_false; } NK_API nk_bool nk_input_is_key_down(const struct nk_input *i, enum nk_keys key) { const struct nk_key *k; if (!i) return nk_false; k = &i->keyboard.keys[key]; if (k->down) return nk_true; return nk_false; } /* =============================================================== * * STYLE * * ===============================================================*/ NK_API void nk_style_default(struct nk_context *ctx){nk_style_from_table(ctx, 0);} #define NK_COLOR_MAP(NK_COLOR)\ NK_COLOR(NK_COLOR_TEXT, 175,175,175,255) \ NK_COLOR(NK_COLOR_WINDOW, 45, 45, 45, 255) \ NK_COLOR(NK_COLOR_HEADER, 40, 40, 40, 255) \ NK_COLOR(NK_COLOR_BORDER, 65, 65, 65, 255) \ NK_COLOR(NK_COLOR_BUTTON, 50, 50, 50, 255) \ NK_COLOR(NK_COLOR_BUTTON_HOVER, 40, 40, 40, 255) \ NK_COLOR(NK_COLOR_BUTTON_ACTIVE, 35, 35, 35, 255) \ NK_COLOR(NK_COLOR_TOGGLE, 100,100,100,255) \ NK_COLOR(NK_COLOR_TOGGLE_HOVER, 120,120,120,255) \ NK_COLOR(NK_COLOR_TOGGLE_CURSOR, 45, 45, 45, 255) \ NK_COLOR(NK_COLOR_SELECT, 45, 45, 45, 255) \ NK_COLOR(NK_COLOR_SELECT_ACTIVE, 35, 35, 35,255) \ NK_COLOR(NK_COLOR_SLIDER, 38, 38, 38, 255) \ NK_COLOR(NK_COLOR_SLIDER_CURSOR, 100,100,100,255) \ NK_COLOR(NK_COLOR_SLIDER_CURSOR_HOVER, 120,120,120,255) \ NK_COLOR(NK_COLOR_SLIDER_CURSOR_ACTIVE, 150,150,150,255) \ NK_COLOR(NK_COLOR_PROPERTY, 38, 38, 38, 255) \ NK_COLOR(NK_COLOR_EDIT, 38, 38, 38, 255) \ NK_COLOR(NK_COLOR_EDIT_CURSOR, 175,175,175,255) \ NK_COLOR(NK_COLOR_COMBO, 45, 45, 45, 255) \ NK_COLOR(NK_COLOR_CHART, 120,120,120,255) \ NK_COLOR(NK_COLOR_CHART_COLOR, 45, 45, 45, 255) \ NK_COLOR(NK_COLOR_CHART_COLOR_HIGHLIGHT, 255, 0, 0, 255) \ NK_COLOR(NK_COLOR_SCROLLBAR, 40, 40, 40, 255) \ NK_COLOR(NK_COLOR_SCROLLBAR_CURSOR, 100,100,100,255) \ NK_COLOR(NK_COLOR_SCROLLBAR_CURSOR_HOVER, 120,120,120,255) \ NK_COLOR(NK_COLOR_SCROLLBAR_CURSOR_ACTIVE, 150,150,150,255) \ NK_COLOR(NK_COLOR_TAB_HEADER, 40, 40, 40,255) NK_GLOBAL const struct nk_color nk_default_color_style[NK_COLOR_COUNT] = { #define NK_COLOR(a,b,c,d,e) {b,c,d,e}, NK_COLOR_MAP(NK_COLOR) #undef NK_COLOR }; NK_GLOBAL const char *nk_color_names[NK_COLOR_COUNT] = { #define NK_COLOR(a,b,c,d,e) #a, NK_COLOR_MAP(NK_COLOR) #undef NK_COLOR }; NK_API const char* nk_style_get_color_by_name(enum nk_style_colors c) { return nk_color_names[c]; } NK_API struct nk_style_item nk_style_item_image(struct nk_image img) { struct nk_style_item i; i.type = NK_STYLE_ITEM_IMAGE; i.data.image = img; return i; } NK_API struct nk_style_item nk_style_item_color(struct nk_color col) { struct nk_style_item i; i.type = NK_STYLE_ITEM_COLOR; i.data.color = col; return i; } NK_API struct nk_style_item nk_style_item_hide(void) { struct nk_style_item i; i.type = NK_STYLE_ITEM_COLOR; i.data.color = nk_rgba(0,0,0,0); return i; } NK_API void nk_style_from_table(struct nk_context *ctx, const struct nk_color *table) { struct nk_style *style; struct nk_style_text *text; struct nk_style_button *button; struct nk_style_toggle *toggle; struct nk_style_selectable *select; struct nk_style_slider *slider; struct nk_style_progress *prog; struct nk_style_scrollbar *scroll; struct nk_style_edit *edit; struct nk_style_property *property; struct nk_style_combo *combo; struct nk_style_chart *chart; struct nk_style_tab *tab; struct nk_style_window *win; NK_ASSERT(ctx); if (!ctx) return; style = &ctx->style; table = (!table) ? nk_default_color_style: table; /* default text */ text = &style->text; text->color = table[NK_COLOR_TEXT]; text->padding = nk_vec2(0,0); /* default button */ button = &style->button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_BUTTON]); button->hover = nk_style_item_color(table[NK_COLOR_BUTTON_HOVER]); button->active = nk_style_item_color(table[NK_COLOR_BUTTON_ACTIVE]); button->border_color = table[NK_COLOR_BORDER]; button->text_background = table[NK_COLOR_BUTTON]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->image_padding = nk_vec2(0.0f,0.0f); button->touch_padding = nk_vec2(0.0f, 0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 1.0f; button->rounding = 4.0f; button->draw_begin = 0; button->draw_end = 0; /* contextual button */ button = &style->contextual_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]); button->hover = nk_style_item_color(table[NK_COLOR_BUTTON_HOVER]); button->active = nk_style_item_color(table[NK_COLOR_BUTTON_ACTIVE]); button->border_color = table[NK_COLOR_WINDOW]; button->text_background = table[NK_COLOR_WINDOW]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; /* menu button */ button = &style->menu_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]); button->hover = nk_style_item_color(table[NK_COLOR_WINDOW]); button->active = nk_style_item_color(table[NK_COLOR_WINDOW]); button->border_color = table[NK_COLOR_WINDOW]; button->text_background = table[NK_COLOR_WINDOW]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 1.0f; button->draw_begin = 0; button->draw_end = 0; /* checkbox toggle */ toggle = &style->checkbox; nk_zero_struct(*toggle); toggle->normal = nk_style_item_color(table[NK_COLOR_TOGGLE]); toggle->hover = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]); toggle->active = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]); toggle->cursor_normal = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]); toggle->cursor_hover = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]); toggle->userdata = nk_handle_ptr(0); toggle->text_background = table[NK_COLOR_WINDOW]; toggle->text_normal = table[NK_COLOR_TEXT]; toggle->text_hover = table[NK_COLOR_TEXT]; toggle->text_active = table[NK_COLOR_TEXT]; toggle->padding = nk_vec2(2.0f, 2.0f); toggle->touch_padding = nk_vec2(0,0); toggle->border_color = nk_rgba(0,0,0,0); toggle->border = 0.0f; toggle->spacing = 4; /* option toggle */ toggle = &style->option; nk_zero_struct(*toggle); toggle->normal = nk_style_item_color(table[NK_COLOR_TOGGLE]); toggle->hover = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]); toggle->active = nk_style_item_color(table[NK_COLOR_TOGGLE_HOVER]); toggle->cursor_normal = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]); toggle->cursor_hover = nk_style_item_color(table[NK_COLOR_TOGGLE_CURSOR]); toggle->userdata = nk_handle_ptr(0); toggle->text_background = table[NK_COLOR_WINDOW]; toggle->text_normal = table[NK_COLOR_TEXT]; toggle->text_hover = table[NK_COLOR_TEXT]; toggle->text_active = table[NK_COLOR_TEXT]; toggle->padding = nk_vec2(3.0f, 3.0f); toggle->touch_padding = nk_vec2(0,0); toggle->border_color = nk_rgba(0,0,0,0); toggle->border = 0.0f; toggle->spacing = 4; /* selectable */ select = &style->selectable; nk_zero_struct(*select); select->normal = nk_style_item_color(table[NK_COLOR_SELECT]); select->hover = nk_style_item_color(table[NK_COLOR_SELECT]); select->pressed = nk_style_item_color(table[NK_COLOR_SELECT]); select->normal_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]); select->hover_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]); select->pressed_active = nk_style_item_color(table[NK_COLOR_SELECT_ACTIVE]); select->text_normal = table[NK_COLOR_TEXT]; select->text_hover = table[NK_COLOR_TEXT]; select->text_pressed = table[NK_COLOR_TEXT]; select->text_normal_active = table[NK_COLOR_TEXT]; select->text_hover_active = table[NK_COLOR_TEXT]; select->text_pressed_active = table[NK_COLOR_TEXT]; select->padding = nk_vec2(2.0f,2.0f); select->image_padding = nk_vec2(2.0f,2.0f); select->touch_padding = nk_vec2(0,0); select->userdata = nk_handle_ptr(0); select->rounding = 0.0f; select->draw_begin = 0; select->draw_end = 0; /* slider */ slider = &style->slider; nk_zero_struct(*slider); slider->normal = nk_style_item_hide(); slider->hover = nk_style_item_hide(); slider->active = nk_style_item_hide(); slider->bar_normal = table[NK_COLOR_SLIDER]; slider->bar_hover = table[NK_COLOR_SLIDER]; slider->bar_active = table[NK_COLOR_SLIDER]; slider->bar_filled = table[NK_COLOR_SLIDER_CURSOR]; slider->cursor_normal = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR]); slider->cursor_hover = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_HOVER]); slider->cursor_active = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_ACTIVE]); slider->inc_symbol = NK_SYMBOL_TRIANGLE_RIGHT; slider->dec_symbol = NK_SYMBOL_TRIANGLE_LEFT; slider->cursor_size = nk_vec2(16,16); slider->padding = nk_vec2(2,2); slider->spacing = nk_vec2(2,2); slider->userdata = nk_handle_ptr(0); slider->show_buttons = nk_false; slider->bar_height = 8; slider->rounding = 0; slider->draw_begin = 0; slider->draw_end = 0; /* slider buttons */ button = &style->slider.inc_button; button->normal = nk_style_item_color(nk_rgb(40,40,40)); button->hover = nk_style_item_color(nk_rgb(42,42,42)); button->active = nk_style_item_color(nk_rgb(44,44,44)); button->border_color = nk_rgb(65,65,65); button->text_background = nk_rgb(40,40,40); button->text_normal = nk_rgb(175,175,175); button->text_hover = nk_rgb(175,175,175); button->text_active = nk_rgb(175,175,175); button->padding = nk_vec2(8.0f,8.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 1.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; style->slider.dec_button = style->slider.inc_button; /* progressbar */ prog = &style->progress; nk_zero_struct(*prog); prog->normal = nk_style_item_color(table[NK_COLOR_SLIDER]); prog->hover = nk_style_item_color(table[NK_COLOR_SLIDER]); prog->active = nk_style_item_color(table[NK_COLOR_SLIDER]); prog->cursor_normal = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR]); prog->cursor_hover = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_HOVER]); prog->cursor_active = nk_style_item_color(table[NK_COLOR_SLIDER_CURSOR_ACTIVE]); prog->border_color = nk_rgba(0,0,0,0); prog->cursor_border_color = nk_rgba(0,0,0,0); prog->userdata = nk_handle_ptr(0); prog->padding = nk_vec2(4,4); prog->rounding = 0; prog->border = 0; prog->cursor_rounding = 0; prog->cursor_border = 0; prog->draw_begin = 0; prog->draw_end = 0; /* scrollbars */ scroll = &style->scrollh; nk_zero_struct(*scroll); scroll->normal = nk_style_item_color(table[NK_COLOR_SCROLLBAR]); scroll->hover = nk_style_item_color(table[NK_COLOR_SCROLLBAR]); scroll->active = nk_style_item_color(table[NK_COLOR_SCROLLBAR]); scroll->cursor_normal = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR]); scroll->cursor_hover = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR_HOVER]); scroll->cursor_active = nk_style_item_color(table[NK_COLOR_SCROLLBAR_CURSOR_ACTIVE]); scroll->dec_symbol = NK_SYMBOL_CIRCLE_SOLID; scroll->inc_symbol = NK_SYMBOL_CIRCLE_SOLID; scroll->userdata = nk_handle_ptr(0); scroll->border_color = table[NK_COLOR_SCROLLBAR]; scroll->cursor_border_color = table[NK_COLOR_SCROLLBAR]; scroll->padding = nk_vec2(0,0); scroll->show_buttons = nk_false; scroll->border = 0; scroll->rounding = 0; scroll->border_cursor = 0; scroll->rounding_cursor = 0; scroll->draw_begin = 0; scroll->draw_end = 0; style->scrollv = style->scrollh; /* scrollbars buttons */ button = &style->scrollh.inc_button; button->normal = nk_style_item_color(nk_rgb(40,40,40)); button->hover = nk_style_item_color(nk_rgb(42,42,42)); button->active = nk_style_item_color(nk_rgb(44,44,44)); button->border_color = nk_rgb(65,65,65); button->text_background = nk_rgb(40,40,40); button->text_normal = nk_rgb(175,175,175); button->text_hover = nk_rgb(175,175,175); button->text_active = nk_rgb(175,175,175); button->padding = nk_vec2(4.0f,4.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 1.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; style->scrollh.dec_button = style->scrollh.inc_button; style->scrollv.inc_button = style->scrollh.inc_button; style->scrollv.dec_button = style->scrollh.inc_button; /* edit */ edit = &style->edit; nk_zero_struct(*edit); edit->normal = nk_style_item_color(table[NK_COLOR_EDIT]); edit->hover = nk_style_item_color(table[NK_COLOR_EDIT]); edit->active = nk_style_item_color(table[NK_COLOR_EDIT]); edit->cursor_normal = table[NK_COLOR_TEXT]; edit->cursor_hover = table[NK_COLOR_TEXT]; edit->cursor_text_normal= table[NK_COLOR_EDIT]; edit->cursor_text_hover = table[NK_COLOR_EDIT]; edit->border_color = table[NK_COLOR_BORDER]; edit->text_normal = table[NK_COLOR_TEXT]; edit->text_hover = table[NK_COLOR_TEXT]; edit->text_active = table[NK_COLOR_TEXT]; edit->selected_normal = table[NK_COLOR_TEXT]; edit->selected_hover = table[NK_COLOR_TEXT]; edit->selected_text_normal = table[NK_COLOR_EDIT]; edit->selected_text_hover = table[NK_COLOR_EDIT]; edit->scrollbar_size = nk_vec2(10,10); edit->scrollbar = style->scrollv; edit->padding = nk_vec2(4,4); edit->row_padding = 2; edit->cursor_size = 4; edit->border = 1; edit->rounding = 0; /* property */ property = &style->property; nk_zero_struct(*property); property->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]); property->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]); property->active = nk_style_item_color(table[NK_COLOR_PROPERTY]); property->border_color = table[NK_COLOR_BORDER]; property->label_normal = table[NK_COLOR_TEXT]; property->label_hover = table[NK_COLOR_TEXT]; property->label_active = table[NK_COLOR_TEXT]; property->sym_left = NK_SYMBOL_TRIANGLE_LEFT; property->sym_right = NK_SYMBOL_TRIANGLE_RIGHT; property->userdata = nk_handle_ptr(0); property->padding = nk_vec2(4,4); property->border = 1; property->rounding = 10; property->draw_begin = 0; property->draw_end = 0; /* property buttons */ button = &style->property.dec_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]); button->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]); button->active = nk_style_item_color(table[NK_COLOR_PROPERTY]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_PROPERTY]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(0.0f,0.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; style->property.inc_button = style->property.dec_button; /* property edit */ edit = &style->property.edit; nk_zero_struct(*edit); edit->normal = nk_style_item_color(table[NK_COLOR_PROPERTY]); edit->hover = nk_style_item_color(table[NK_COLOR_PROPERTY]); edit->active = nk_style_item_color(table[NK_COLOR_PROPERTY]); edit->border_color = nk_rgba(0,0,0,0); edit->cursor_normal = table[NK_COLOR_TEXT]; edit->cursor_hover = table[NK_COLOR_TEXT]; edit->cursor_text_normal= table[NK_COLOR_EDIT]; edit->cursor_text_hover = table[NK_COLOR_EDIT]; edit->text_normal = table[NK_COLOR_TEXT]; edit->text_hover = table[NK_COLOR_TEXT]; edit->text_active = table[NK_COLOR_TEXT]; edit->selected_normal = table[NK_COLOR_TEXT]; edit->selected_hover = table[NK_COLOR_TEXT]; edit->selected_text_normal = table[NK_COLOR_EDIT]; edit->selected_text_hover = table[NK_COLOR_EDIT]; edit->padding = nk_vec2(0,0); edit->cursor_size = 8; edit->border = 0; edit->rounding = 0; /* chart */ chart = &style->chart; nk_zero_struct(*chart); chart->background = nk_style_item_color(table[NK_COLOR_CHART]); chart->border_color = table[NK_COLOR_BORDER]; chart->selected_color = table[NK_COLOR_CHART_COLOR_HIGHLIGHT]; chart->color = table[NK_COLOR_CHART_COLOR]; chart->padding = nk_vec2(4,4); chart->border = 0; chart->rounding = 0; /* combo */ combo = &style->combo; combo->normal = nk_style_item_color(table[NK_COLOR_COMBO]); combo->hover = nk_style_item_color(table[NK_COLOR_COMBO]); combo->active = nk_style_item_color(table[NK_COLOR_COMBO]); combo->border_color = table[NK_COLOR_BORDER]; combo->label_normal = table[NK_COLOR_TEXT]; combo->label_hover = table[NK_COLOR_TEXT]; combo->label_active = table[NK_COLOR_TEXT]; combo->sym_normal = NK_SYMBOL_TRIANGLE_DOWN; combo->sym_hover = NK_SYMBOL_TRIANGLE_DOWN; combo->sym_active = NK_SYMBOL_TRIANGLE_DOWN; combo->content_padding = nk_vec2(4,4); combo->button_padding = nk_vec2(0,4); combo->spacing = nk_vec2(4,0); combo->border = 1; combo->rounding = 0; /* combo button */ button = &style->combo.button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_COMBO]); button->hover = nk_style_item_color(table[NK_COLOR_COMBO]); button->active = nk_style_item_color(table[NK_COLOR_COMBO]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_COMBO]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; /* tab */ tab = &style->tab; tab->background = nk_style_item_color(table[NK_COLOR_TAB_HEADER]); tab->border_color = table[NK_COLOR_BORDER]; tab->text = table[NK_COLOR_TEXT]; tab->sym_minimize = NK_SYMBOL_TRIANGLE_RIGHT; tab->sym_maximize = NK_SYMBOL_TRIANGLE_DOWN; tab->padding = nk_vec2(4,4); tab->spacing = nk_vec2(4,4); tab->indent = 10.0f; tab->border = 1; tab->rounding = 0; /* tab button */ button = &style->tab.tab_minimize_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_TAB_HEADER]); button->hover = nk_style_item_color(table[NK_COLOR_TAB_HEADER]); button->active = nk_style_item_color(table[NK_COLOR_TAB_HEADER]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_TAB_HEADER]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; style->tab.tab_maximize_button =*button; /* node button */ button = &style->tab.node_minimize_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_WINDOW]); button->hover = nk_style_item_color(table[NK_COLOR_WINDOW]); button->active = nk_style_item_color(table[NK_COLOR_WINDOW]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_TAB_HEADER]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(2.0f,2.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; style->tab.node_maximize_button =*button; /* window header */ win = &style->window; win->header.align = NK_HEADER_RIGHT; win->header.close_symbol = NK_SYMBOL_X; win->header.minimize_symbol = NK_SYMBOL_MINUS; win->header.maximize_symbol = NK_SYMBOL_PLUS; win->header.normal = nk_style_item_color(table[NK_COLOR_HEADER]); win->header.hover = nk_style_item_color(table[NK_COLOR_HEADER]); win->header.active = nk_style_item_color(table[NK_COLOR_HEADER]); win->header.label_normal = table[NK_COLOR_TEXT]; win->header.label_hover = table[NK_COLOR_TEXT]; win->header.label_active = table[NK_COLOR_TEXT]; win->header.label_padding = nk_vec2(4,4); win->header.padding = nk_vec2(4,4); win->header.spacing = nk_vec2(0,0); /* window header close button */ button = &style->window.header.close_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_HEADER]); button->hover = nk_style_item_color(table[NK_COLOR_HEADER]); button->active = nk_style_item_color(table[NK_COLOR_HEADER]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_HEADER]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(0.0f,0.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; /* window header minimize button */ button = &style->window.header.minimize_button; nk_zero_struct(*button); button->normal = nk_style_item_color(table[NK_COLOR_HEADER]); button->hover = nk_style_item_color(table[NK_COLOR_HEADER]); button->active = nk_style_item_color(table[NK_COLOR_HEADER]); button->border_color = nk_rgba(0,0,0,0); button->text_background = table[NK_COLOR_HEADER]; button->text_normal = table[NK_COLOR_TEXT]; button->text_hover = table[NK_COLOR_TEXT]; button->text_active = table[NK_COLOR_TEXT]; button->padding = nk_vec2(0.0f,0.0f); button->touch_padding = nk_vec2(0.0f,0.0f); button->userdata = nk_handle_ptr(0); button->text_alignment = NK_TEXT_CENTERED; button->border = 0.0f; button->rounding = 0.0f; button->draw_begin = 0; button->draw_end = 0; /* window */ win->background = table[NK_COLOR_WINDOW]; win->fixed_background = nk_style_item_color(table[NK_COLOR_WINDOW]); win->border_color = table[NK_COLOR_BORDER]; win->popup_border_color = table[NK_COLOR_BORDER]; win->combo_border_color = table[NK_COLOR_BORDER]; win->contextual_border_color = table[NK_COLOR_BORDER]; win->menu_border_color = table[NK_COLOR_BORDER]; win->group_border_color = table[NK_COLOR_BORDER]; win->tooltip_border_color = table[NK_COLOR_BORDER]; win->scaler = nk_style_item_color(table[NK_COLOR_TEXT]); win->rounding = 0.0f; win->spacing = nk_vec2(4,4); win->scrollbar_size = nk_vec2(10,10); win->min_size = nk_vec2(64,64); win->combo_border = 1.0f; win->contextual_border = 1.0f; win->menu_border = 1.0f; win->group_border = 1.0f; win->tooltip_border = 1.0f; win->popup_border = 1.0f; win->border = 2.0f; win->min_row_height_padding = 8; win->padding = nk_vec2(4,4); win->group_padding = nk_vec2(4,4); win->popup_padding = nk_vec2(4,4); win->combo_padding = nk_vec2(4,4); win->contextual_padding = nk_vec2(4,4); win->menu_padding = nk_vec2(4,4); win->tooltip_padding = nk_vec2(4,4); } NK_API void nk_style_set_font(struct nk_context *ctx, const struct nk_user_font *font) { struct nk_style *style; NK_ASSERT(ctx); if (!ctx) return; style = &ctx->style; style->font = font; ctx->stacks.fonts.head = 0; if (ctx->current) nk_layout_reset_min_row_height(ctx); } NK_API nk_bool nk_style_push_font(struct nk_context *ctx, const struct nk_user_font *font) { struct nk_config_stack_user_font *font_stack; struct nk_config_stack_user_font_element *element; NK_ASSERT(ctx); if (!ctx) return 0; font_stack = &ctx->stacks.fonts; NK_ASSERT(font_stack->head < (int)NK_LEN(font_stack->elements)); if (font_stack->head >= (int)NK_LEN(font_stack->elements)) return 0; element = &font_stack->elements[font_stack->head++]; element->address = &ctx->style.font; element->old_value = ctx->style.font; ctx->style.font = font; return 1; } NK_API nk_bool nk_style_pop_font(struct nk_context *ctx) { struct nk_config_stack_user_font *font_stack; struct nk_config_stack_user_font_element *element; NK_ASSERT(ctx); if (!ctx) return 0; font_stack = &ctx->stacks.fonts; NK_ASSERT(font_stack->head > 0); if (font_stack->head < 1) return 0; element = &font_stack->elements[--font_stack->head]; *element->address = element->old_value; return 1; } #define NK_STYLE_PUSH_IMPLEMENATION(prefix, type, stack) \ nk_style_push_##type(struct nk_context *ctx, prefix##_##type *address, prefix##_##type value)\ {\ struct nk_config_stack_##type * type_stack;\ struct nk_config_stack_##type##_element *element;\ NK_ASSERT(ctx);\ if (!ctx) return 0;\ type_stack = &ctx->stacks.stack;\ NK_ASSERT(type_stack->head < (int)NK_LEN(type_stack->elements));\ if (type_stack->head >= (int)NK_LEN(type_stack->elements))\ return 0;\ element = &type_stack->elements[type_stack->head++];\ element->address = address;\ element->old_value = *address;\ *address = value;\ return 1;\ } #define NK_STYLE_POP_IMPLEMENATION(type, stack) \ nk_style_pop_##type(struct nk_context *ctx)\ {\ struct nk_config_stack_##type *type_stack;\ struct nk_config_stack_##type##_element *element;\ NK_ASSERT(ctx);\ if (!ctx) return 0;\ type_stack = &ctx->stacks.stack;\ NK_ASSERT(type_stack->head > 0);\ if (type_stack->head < 1)\ return 0;\ element = &type_stack->elements[--type_stack->head];\ *element->address = element->old_value;\ return 1;\ } NK_API nk_bool NK_STYLE_PUSH_IMPLEMENATION(struct nk, style_item, style_items) NK_API nk_bool NK_STYLE_PUSH_IMPLEMENATION(nk,float, floats) NK_API nk_bool NK_STYLE_PUSH_IMPLEMENATION(struct nk, vec2, vectors) NK_API nk_bool NK_STYLE_PUSH_IMPLEMENATION(nk,flags, flags) NK_API nk_bool NK_STYLE_PUSH_IMPLEMENATION(struct nk,color, colors) NK_API nk_bool NK_STYLE_POP_IMPLEMENATION(style_item, style_items) NK_API nk_bool NK_STYLE_POP_IMPLEMENATION(float,floats) NK_API nk_bool NK_STYLE_POP_IMPLEMENATION(vec2, vectors) NK_API nk_bool NK_STYLE_POP_IMPLEMENATION(flags,flags) NK_API nk_bool NK_STYLE_POP_IMPLEMENATION(color,colors) NK_API nk_bool nk_style_set_cursor(struct nk_context *ctx, enum nk_style_cursor c) { struct nk_style *style; NK_ASSERT(ctx); if (!ctx) return 0; style = &ctx->style; if (style->cursors[c]) { style->cursor_active = style->cursors[c]; return 1; } return 0; } NK_API void nk_style_show_cursor(struct nk_context *ctx) { ctx->style.cursor_visible = nk_true; } NK_API void nk_style_hide_cursor(struct nk_context *ctx) { ctx->style.cursor_visible = nk_false; } NK_API void nk_style_load_cursor(struct nk_context *ctx, enum nk_style_cursor cursor, const struct nk_cursor *c) { struct nk_style *style; NK_ASSERT(ctx); if (!ctx) return; style = &ctx->style; style->cursors[cursor] = c; } NK_API void nk_style_load_all_cursors(struct nk_context *ctx, struct nk_cursor *cursors) { int i = 0; struct nk_style *style; NK_ASSERT(ctx); if (!ctx) return; style = &ctx->style; for (i = 0; i < NK_CURSOR_COUNT; ++i) style->cursors[i] = &cursors[i]; style->cursor_visible = nk_true; } /* ============================================================== * * CONTEXT * * ===============================================================*/ NK_INTERN void nk_setup(struct nk_context *ctx, const struct nk_user_font *font) { NK_ASSERT(ctx); if (!ctx) return; nk_zero_struct(*ctx); nk_style_default(ctx); ctx->seq = 1; if (font) ctx->style.font = font; #ifdef NK_INCLUDE_VERTEX_BUFFER_OUTPUT nk_draw_list_init(&ctx->draw_list); #endif } #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API nk_bool nk_init_default(struct nk_context *ctx, const struct nk_user_font *font) { struct nk_allocator alloc; alloc.userdata.ptr = 0; alloc.alloc = nk_malloc; alloc.free = nk_mfree; return nk_init(ctx, &alloc, font); } #endif NK_API nk_bool nk_init_fixed(struct nk_context *ctx, void *memory, nk_size size, const struct nk_user_font *font) { NK_ASSERT(memory); if (!memory) return 0; nk_setup(ctx, font); nk_buffer_init_fixed(&ctx->memory, memory, size); ctx->use_pool = nk_false; return 1; } NK_API nk_bool nk_init_custom(struct nk_context *ctx, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font *font) { NK_ASSERT(cmds); NK_ASSERT(pool); if (!cmds || !pool) return 0; nk_setup(ctx, font); ctx->memory = *cmds; if (pool->type == NK_BUFFER_FIXED) { /* take memory from buffer and alloc fixed pool */ nk_pool_init_fixed(&ctx->pool, pool->memory.ptr, pool->memory.size); } else { /* create dynamic pool from buffer allocator */ struct nk_allocator *alloc = &pool->pool; nk_pool_init(&ctx->pool, alloc, NK_POOL_DEFAULT_CAPACITY); } ctx->use_pool = nk_true; return 1; } NK_API nk_bool nk_init(struct nk_context *ctx, struct nk_allocator *alloc, const struct nk_user_font *font) { NK_ASSERT(alloc); if (!alloc) return 0; nk_setup(ctx, font); nk_buffer_init(&ctx->memory, alloc, NK_DEFAULT_COMMAND_BUFFER_SIZE); nk_pool_init(&ctx->pool, alloc, NK_POOL_DEFAULT_CAPACITY); ctx->use_pool = nk_true; return 1; } #ifdef NK_INCLUDE_COMMAND_USERDATA NK_API void nk_set_user_data(struct nk_context *ctx, nk_handle handle) { if (!ctx) return; ctx->userdata = handle; if (ctx->current) ctx->current->buffer.userdata = handle; } #endif NK_API void nk_free(struct nk_context *ctx) { NK_ASSERT(ctx); if (!ctx) return; nk_buffer_free(&ctx->memory); if (ctx->use_pool) nk_pool_free(&ctx->pool); nk_zero(&ctx->input, sizeof(ctx->input)); nk_zero(&ctx->style, sizeof(ctx->style)); nk_zero(&ctx->memory, sizeof(ctx->memory)); ctx->seq = 0; ctx->build = 0; ctx->begin = 0; ctx->end = 0; ctx->active = 0; ctx->current = 0; ctx->freelist = 0; ctx->count = 0; } NK_API void nk_clear(struct nk_context *ctx) { struct nk_window *iter; struct nk_window *next; NK_ASSERT(ctx); if (!ctx) return; if (ctx->use_pool) nk_buffer_clear(&ctx->memory); else nk_buffer_reset(&ctx->memory, NK_BUFFER_FRONT); ctx->build = 0; ctx->memory.calls = 0; ctx->last_widget_state = 0; ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_ARROW]; NK_MEMSET(&ctx->overlay, 0, sizeof(ctx->overlay)); /* garbage collector */ iter = ctx->begin; while (iter) { /* make sure valid minimized windows do not get removed */ if ((iter->flags & NK_WINDOW_MINIMIZED) && !(iter->flags & NK_WINDOW_CLOSED) && iter->seq == ctx->seq) { iter = iter->next; continue; } /* remove hotness from hidden or closed windows*/ if (((iter->flags & NK_WINDOW_HIDDEN) || (iter->flags & NK_WINDOW_CLOSED)) && iter == ctx->active) { ctx->active = iter->prev; ctx->end = iter->prev; if (!ctx->end) ctx->begin = 0; if (ctx->active) ctx->active->flags &= ~(unsigned)NK_WINDOW_ROM; } /* free unused popup windows */ if (iter->popup.win && iter->popup.win->seq != ctx->seq) { nk_free_window(ctx, iter->popup.win); iter->popup.win = 0; } /* remove unused window state tables */ {struct nk_table *n, *it = iter->tables; while (it) { n = it->next; if (it->seq != ctx->seq) { nk_remove_table(iter, it); nk_zero(it, sizeof(union nk_page_data)); nk_free_table(ctx, it); if (it == iter->tables) iter->tables = n; } it = n; }} /* window itself is not used anymore so free */ if (iter->seq != ctx->seq || iter->flags & NK_WINDOW_CLOSED) { next = iter->next; nk_remove_window(ctx, iter); nk_free_window(ctx, iter); iter = next; } else iter = iter->next; } ctx->seq++; } NK_LIB void nk_start_buffer(struct nk_context *ctx, struct nk_command_buffer *buffer) { NK_ASSERT(ctx); NK_ASSERT(buffer); if (!ctx || !buffer) return; buffer->begin = ctx->memory.allocated; buffer->end = buffer->begin; buffer->last = buffer->begin; buffer->clip = nk_null_rect; } NK_LIB void nk_start(struct nk_context *ctx, struct nk_window *win) { NK_ASSERT(ctx); NK_ASSERT(win); nk_start_buffer(ctx, &win->buffer); } NK_LIB void nk_start_popup(struct nk_context *ctx, struct nk_window *win) { struct nk_popup_buffer *buf; NK_ASSERT(ctx); NK_ASSERT(win); if (!ctx || !win) return; /* save buffer fill state for popup */ buf = &win->popup.buf; buf->begin = win->buffer.end; buf->end = win->buffer.end; buf->parent = win->buffer.last; buf->last = buf->begin; buf->active = nk_true; } NK_LIB void nk_finish_popup(struct nk_context *ctx, struct nk_window *win) { struct nk_popup_buffer *buf; NK_ASSERT(ctx); NK_ASSERT(win); if (!ctx || !win) return; buf = &win->popup.buf; buf->last = win->buffer.last; buf->end = win->buffer.end; } NK_LIB void nk_finish_buffer(struct nk_context *ctx, struct nk_command_buffer *buffer) { NK_ASSERT(ctx); NK_ASSERT(buffer); if (!ctx || !buffer) return; buffer->end = ctx->memory.allocated; } NK_LIB void nk_finish(struct nk_context *ctx, struct nk_window *win) { struct nk_popup_buffer *buf; struct nk_command *parent_last; void *memory; NK_ASSERT(ctx); NK_ASSERT(win); if (!ctx || !win) return; nk_finish_buffer(ctx, &win->buffer); if (!win->popup.buf.active) return; buf = &win->popup.buf; memory = ctx->memory.memory.ptr; parent_last = nk_ptr_add(struct nk_command, memory, buf->parent); parent_last->next = buf->end; } NK_LIB void nk_build(struct nk_context *ctx) { struct nk_window *it = 0; struct nk_command *cmd = 0; nk_byte *buffer = 0; /* draw cursor overlay */ if (!ctx->style.cursor_active) ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_ARROW]; if (ctx->style.cursor_active && !ctx->input.mouse.grabbed && ctx->style.cursor_visible) { struct nk_rect mouse_bounds; const struct nk_cursor *cursor = ctx->style.cursor_active; nk_command_buffer_init(&ctx->overlay, &ctx->memory, NK_CLIPPING_OFF); nk_start_buffer(ctx, &ctx->overlay); mouse_bounds.x = ctx->input.mouse.pos.x - cursor->offset.x; mouse_bounds.y = ctx->input.mouse.pos.y - cursor->offset.y; mouse_bounds.w = cursor->size.x; mouse_bounds.h = cursor->size.y; nk_draw_image(&ctx->overlay, mouse_bounds, &cursor->img, nk_white); nk_finish_buffer(ctx, &ctx->overlay); } /* build one big draw command list out of all window buffers */ it = ctx->begin; buffer = (nk_byte*)ctx->memory.memory.ptr; while (it != 0) { struct nk_window *next = it->next; if (it->buffer.last == it->buffer.begin || (it->flags & NK_WINDOW_HIDDEN)|| it->seq != ctx->seq) goto cont; cmd = nk_ptr_add(struct nk_command, buffer, it->buffer.last); while (next && ((next->buffer.last == next->buffer.begin) || (next->flags & NK_WINDOW_HIDDEN) || next->seq != ctx->seq)) next = next->next; /* skip empty command buffers */ if (next) cmd->next = next->buffer.begin; cont: it = next; } /* append all popup draw commands into lists */ it = ctx->begin; while (it != 0) { struct nk_window *next = it->next; struct nk_popup_buffer *buf; if (!it->popup.buf.active) goto skip; buf = &it->popup.buf; cmd->next = buf->begin; cmd = nk_ptr_add(struct nk_command, buffer, buf->last); buf->active = nk_false; skip: it = next; } if (cmd) { /* append overlay commands */ if (ctx->overlay.end != ctx->overlay.begin) cmd->next = ctx->overlay.begin; else cmd->next = ctx->memory.allocated; } } NK_API const struct nk_command* nk__begin(struct nk_context *ctx) { struct nk_window *iter; nk_byte *buffer; NK_ASSERT(ctx); if (!ctx) return 0; if (!ctx->count) return 0; buffer = (nk_byte*)ctx->memory.memory.ptr; if (!ctx->build) { nk_build(ctx); ctx->build = nk_true; } iter = ctx->begin; while (iter && ((iter->buffer.begin == iter->buffer.end) || (iter->flags & NK_WINDOW_HIDDEN) || iter->seq != ctx->seq)) iter = iter->next; if (!iter) return 0; return nk_ptr_add_const(struct nk_command, buffer, iter->buffer.begin); } NK_API const struct nk_command* nk__next(struct nk_context *ctx, const struct nk_command *cmd) { nk_byte *buffer; const struct nk_command *next; NK_ASSERT(ctx); if (!ctx || !cmd || !ctx->count) return 0; if (cmd->next >= ctx->memory.allocated) return 0; buffer = (nk_byte*)ctx->memory.memory.ptr; next = nk_ptr_add_const(struct nk_command, buffer, cmd->next); return next; } /* =============================================================== * * POOL * * ===============================================================*/ NK_LIB void nk_pool_init(struct nk_pool *pool, struct nk_allocator *alloc, unsigned int capacity) { NK_ASSERT(capacity >= 1); nk_zero(pool, sizeof(*pool)); pool->alloc = *alloc; pool->capacity = capacity; pool->type = NK_BUFFER_DYNAMIC; pool->pages = 0; } NK_LIB void nk_pool_free(struct nk_pool *pool) { struct nk_page *iter; if (!pool) return; iter = pool->pages; if (pool->type == NK_BUFFER_FIXED) return; while (iter) { struct nk_page *next = iter->next; pool->alloc.free(pool->alloc.userdata, iter); iter = next; } } NK_LIB void nk_pool_init_fixed(struct nk_pool *pool, void *memory, nk_size size) { nk_zero(pool, sizeof(*pool)); NK_ASSERT(size >= sizeof(struct nk_page)); if (size < sizeof(struct nk_page)) return; /* first nk_page_element is embedded in nk_page, additional elements follow in adjacent space */ pool->capacity = 1 + (unsigned)(size - sizeof(struct nk_page)) / sizeof(struct nk_page_element); pool->pages = (struct nk_page*)memory; pool->type = NK_BUFFER_FIXED; pool->size = size; } NK_LIB struct nk_page_element* nk_pool_alloc(struct nk_pool *pool) { if (!pool->pages || pool->pages->size >= pool->capacity) { /* allocate new page */ struct nk_page *page; if (pool->type == NK_BUFFER_FIXED) { NK_ASSERT(pool->pages); if (!pool->pages) return 0; NK_ASSERT(pool->pages->size < pool->capacity); return 0; } else { nk_size size = sizeof(struct nk_page); size += (pool->capacity - 1) * sizeof(struct nk_page_element); page = (struct nk_page*)pool->alloc.alloc(pool->alloc.userdata,0, size); page->next = pool->pages; pool->pages = page; page->size = 0; } } return &pool->pages->win[pool->pages->size++]; } /* =============================================================== * * PAGE ELEMENT * * ===============================================================*/ NK_LIB struct nk_page_element* nk_create_page_element(struct nk_context *ctx) { struct nk_page_element *elem; if (ctx->freelist) { /* unlink page element from free list */ elem = ctx->freelist; ctx->freelist = elem->next; } else if (ctx->use_pool) { /* allocate page element from memory pool */ elem = nk_pool_alloc(&ctx->pool); NK_ASSERT(elem); if (!elem) return 0; } else { /* allocate new page element from back of fixed size memory buffer */ NK_STORAGE const nk_size size = sizeof(struct nk_page_element); NK_STORAGE const nk_size align = NK_ALIGNOF(struct nk_page_element); elem = (struct nk_page_element*)nk_buffer_alloc(&ctx->memory, NK_BUFFER_BACK, size, align); NK_ASSERT(elem); if (!elem) return 0; } nk_zero_struct(*elem); elem->next = 0; elem->prev = 0; return elem; } NK_LIB void nk_link_page_element_into_freelist(struct nk_context *ctx, struct nk_page_element *elem) { /* link table into freelist */ if (!ctx->freelist) { ctx->freelist = elem; } else { elem->next = ctx->freelist; ctx->freelist = elem; } } NK_LIB void nk_free_page_element(struct nk_context *ctx, struct nk_page_element *elem) { /* we have a pool so just add to free list */ if (ctx->use_pool) { nk_link_page_element_into_freelist(ctx, elem); return; } /* if possible remove last element from back of fixed memory buffer */ {void *elem_end = (void*)(elem + 1); void *buffer_end = (nk_byte*)ctx->memory.memory.ptr + ctx->memory.size; if (elem_end == buffer_end) ctx->memory.size -= sizeof(struct nk_page_element); else nk_link_page_element_into_freelist(ctx, elem);} } /* =============================================================== * * TABLE * * ===============================================================*/ NK_LIB struct nk_table* nk_create_table(struct nk_context *ctx) { struct nk_page_element *elem; elem = nk_create_page_element(ctx); if (!elem) return 0; nk_zero_struct(*elem); return &elem->data.tbl; } NK_LIB void nk_free_table(struct nk_context *ctx, struct nk_table *tbl) { union nk_page_data *pd = NK_CONTAINER_OF(tbl, union nk_page_data, tbl); struct nk_page_element *pe = NK_CONTAINER_OF(pd, struct nk_page_element, data); nk_free_page_element(ctx, pe); } NK_LIB void nk_push_table(struct nk_window *win, struct nk_table *tbl) { if (!win->tables) { win->tables = tbl; tbl->next = 0; tbl->prev = 0; tbl->size = 0; win->table_count = 1; return; } win->tables->prev = tbl; tbl->next = win->tables; tbl->prev = 0; tbl->size = 0; win->tables = tbl; win->table_count++; } NK_LIB void nk_remove_table(struct nk_window *win, struct nk_table *tbl) { if (win->tables == tbl) win->tables = tbl->next; if (tbl->next) tbl->next->prev = tbl->prev; if (tbl->prev) tbl->prev->next = tbl->next; tbl->next = 0; tbl->prev = 0; } NK_LIB nk_uint* nk_add_value(struct nk_context *ctx, struct nk_window *win, nk_hash name, nk_uint value) { NK_ASSERT(ctx); NK_ASSERT(win); if (!win || !ctx) return 0; if (!win->tables || win->tables->size >= NK_VALUE_PAGE_CAPACITY) { struct nk_table *tbl = nk_create_table(ctx); NK_ASSERT(tbl); if (!tbl) return 0; nk_push_table(win, tbl); } win->tables->seq = win->seq; win->tables->keys[win->tables->size] = name; win->tables->values[win->tables->size] = value; return &win->tables->values[win->tables->size++]; } NK_LIB nk_uint* nk_find_value(struct nk_window *win, nk_hash name) { struct nk_table *iter = win->tables; while (iter) { unsigned int i = 0; unsigned int size = iter->size; for (i = 0; i < size; ++i) { if (iter->keys[i] == name) { iter->seq = win->seq; return &iter->values[i]; } } size = NK_VALUE_PAGE_CAPACITY; iter = iter->next; } return 0; } /* =============================================================== * * PANEL * * ===============================================================*/ NK_LIB void* nk_create_panel(struct nk_context *ctx) { struct nk_page_element *elem; elem = nk_create_page_element(ctx); if (!elem) return 0; nk_zero_struct(*elem); return &elem->data.pan; } NK_LIB void nk_free_panel(struct nk_context *ctx, struct nk_panel *pan) { union nk_page_data *pd = NK_CONTAINER_OF(pan, union nk_page_data, pan); struct nk_page_element *pe = NK_CONTAINER_OF(pd, struct nk_page_element, data); nk_free_page_element(ctx, pe); } NK_LIB nk_bool nk_panel_has_header(nk_flags flags, const char *title) { nk_bool active = 0; active = (flags & (NK_WINDOW_CLOSABLE|NK_WINDOW_MINIMIZABLE)); active = active || (flags & NK_WINDOW_TITLE); active = active && !(flags & NK_WINDOW_HIDDEN) && title; return active; } NK_LIB struct nk_vec2 nk_panel_get_padding(const struct nk_style *style, enum nk_panel_type type) { switch (type) { default: case NK_PANEL_WINDOW: return style->window.padding; case NK_PANEL_GROUP: return style->window.group_padding; case NK_PANEL_POPUP: return style->window.popup_padding; case NK_PANEL_CONTEXTUAL: return style->window.contextual_padding; case NK_PANEL_COMBO: return style->window.combo_padding; case NK_PANEL_MENU: return style->window.menu_padding; case NK_PANEL_TOOLTIP: return style->window.menu_padding;} } NK_LIB float nk_panel_get_border(const struct nk_style *style, nk_flags flags, enum nk_panel_type type) { if (flags & NK_WINDOW_BORDER) { switch (type) { default: case NK_PANEL_WINDOW: return style->window.border; case NK_PANEL_GROUP: return style->window.group_border; case NK_PANEL_POPUP: return style->window.popup_border; case NK_PANEL_CONTEXTUAL: return style->window.contextual_border; case NK_PANEL_COMBO: return style->window.combo_border; case NK_PANEL_MENU: return style->window.menu_border; case NK_PANEL_TOOLTIP: return style->window.menu_border; }} else return 0; } NK_LIB struct nk_color nk_panel_get_border_color(const struct nk_style *style, enum nk_panel_type type) { switch (type) { default: case NK_PANEL_WINDOW: return style->window.border_color; case NK_PANEL_GROUP: return style->window.group_border_color; case NK_PANEL_POPUP: return style->window.popup_border_color; case NK_PANEL_CONTEXTUAL: return style->window.contextual_border_color; case NK_PANEL_COMBO: return style->window.combo_border_color; case NK_PANEL_MENU: return style->window.menu_border_color; case NK_PANEL_TOOLTIP: return style->window.menu_border_color;} } NK_LIB nk_bool nk_panel_is_sub(enum nk_panel_type type) { return (type & NK_PANEL_SET_SUB)?1:0; } NK_LIB nk_bool nk_panel_is_nonblock(enum nk_panel_type type) { return (type & NK_PANEL_SET_NONBLOCK)?1:0; } NK_LIB nk_bool nk_panel_begin(struct nk_context *ctx, const char *title, enum nk_panel_type panel_type) { struct nk_input *in; struct nk_window *win; struct nk_panel *layout; struct nk_command_buffer *out; const struct nk_style *style; const struct nk_user_font *font; struct nk_vec2 scrollbar_size; struct nk_vec2 panel_padding; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; nk_zero(ctx->current->layout, sizeof(*ctx->current->layout)); if ((ctx->current->flags & NK_WINDOW_HIDDEN) || (ctx->current->flags & NK_WINDOW_CLOSED)) { nk_zero(ctx->current->layout, sizeof(struct nk_panel)); ctx->current->layout->type = panel_type; return 0; } /* pull state into local stack */ style = &ctx->style; font = style->font; win = ctx->current; layout = win->layout; out = &win->buffer; in = (win->flags & NK_WINDOW_NO_INPUT) ? 0: &ctx->input; #ifdef NK_INCLUDE_COMMAND_USERDATA win->buffer.userdata = ctx->userdata; #endif /* pull style configuration into local stack */ scrollbar_size = style->window.scrollbar_size; panel_padding = nk_panel_get_padding(style, panel_type); /* window movement */ if ((win->flags & NK_WINDOW_MOVABLE) && !(win->flags & NK_WINDOW_ROM)) { int left_mouse_down; int left_mouse_clicked; int left_mouse_click_in_cursor; /* calculate draggable window space */ struct nk_rect header; header.x = win->bounds.x; header.y = win->bounds.y; header.w = win->bounds.w; if (nk_panel_has_header(win->flags, title)) { header.h = font->height + 2.0f * style->window.header.padding.y; header.h += 2.0f * style->window.header.label_padding.y; } else header.h = panel_padding.y; /* window movement by dragging */ left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down; left_mouse_clicked = (int)in->mouse.buttons[NK_BUTTON_LEFT].clicked; left_mouse_click_in_cursor = nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, header, nk_true); if (left_mouse_down && left_mouse_click_in_cursor && !left_mouse_clicked) { win->bounds.x = win->bounds.x + in->mouse.delta.x; win->bounds.y = win->bounds.y + in->mouse.delta.y; in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x += in->mouse.delta.x; in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.y += in->mouse.delta.y; ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_MOVE]; } } /* setup panel */ layout->type = panel_type; layout->flags = win->flags; layout->bounds = win->bounds; layout->bounds.x += panel_padding.x; layout->bounds.w -= 2*panel_padding.x; if (win->flags & NK_WINDOW_BORDER) { layout->border = nk_panel_get_border(style, win->flags, panel_type); layout->bounds = nk_shrink_rect(layout->bounds, layout->border); } else layout->border = 0; layout->at_y = layout->bounds.y; layout->at_x = layout->bounds.x; layout->max_x = 0; layout->header_height = 0; layout->footer_height = 0; nk_layout_reset_min_row_height(ctx); layout->row.index = 0; layout->row.columns = 0; layout->row.ratio = 0; layout->row.item_width = 0; layout->row.tree_depth = 0; layout->row.height = panel_padding.y; layout->has_scrolling = nk_true; if (!(win->flags & NK_WINDOW_NO_SCROLLBAR)) layout->bounds.w -= scrollbar_size.x; if (!nk_panel_is_nonblock(panel_type)) { layout->footer_height = 0; if (!(win->flags & NK_WINDOW_NO_SCROLLBAR) || win->flags & NK_WINDOW_SCALABLE) layout->footer_height = scrollbar_size.y; layout->bounds.h -= layout->footer_height; } /* panel header */ if (nk_panel_has_header(win->flags, title)) { struct nk_text text; struct nk_rect header; const struct nk_style_item *background = 0; /* calculate header bounds */ header.x = win->bounds.x; header.y = win->bounds.y; header.w = win->bounds.w; header.h = font->height + 2.0f * style->window.header.padding.y; header.h += (2.0f * style->window.header.label_padding.y); /* shrink panel by header */ layout->header_height = header.h; layout->bounds.y += header.h; layout->bounds.h -= header.h; layout->at_y += header.h; /* select correct header background and text color */ if (ctx->active == win) { background = &style->window.header.active; text.text = style->window.header.label_active; } else if (nk_input_is_mouse_hovering_rect(&ctx->input, header)) { background = &style->window.header.hover; text.text = style->window.header.label_hover; } else { background = &style->window.header.normal; text.text = style->window.header.label_normal; } /* draw header background */ header.h += 1.0f; if (background->type == NK_STYLE_ITEM_IMAGE) { text.background = nk_rgba(0,0,0,0); nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { text.background = background->data.color; nk_fill_rect(out, header, 0, background->data.color); } /* window close button */ {struct nk_rect button; button.y = header.y + style->window.header.padding.y; button.h = header.h - 2 * style->window.header.padding.y; button.w = button.h; if (win->flags & NK_WINDOW_CLOSABLE) { nk_flags ws = 0; if (style->window.header.align == NK_HEADER_RIGHT) { button.x = (header.w + header.x) - (button.w + style->window.header.padding.x); header.w -= button.w + style->window.header.spacing.x + style->window.header.padding.x; } else { button.x = header.x + style->window.header.padding.x; header.x += button.w + style->window.header.spacing.x + style->window.header.padding.x; } if (nk_do_button_symbol(&ws, &win->buffer, button, style->window.header.close_symbol, NK_BUTTON_DEFAULT, &style->window.header.close_button, in, style->font) && !(win->flags & NK_WINDOW_ROM)) { layout->flags |= NK_WINDOW_HIDDEN; layout->flags &= (nk_flags)~NK_WINDOW_MINIMIZED; } } /* window minimize button */ if (win->flags & NK_WINDOW_MINIMIZABLE) { nk_flags ws = 0; if (style->window.header.align == NK_HEADER_RIGHT) { button.x = (header.w + header.x) - button.w; if (!(win->flags & NK_WINDOW_CLOSABLE)) { button.x -= style->window.header.padding.x; header.w -= style->window.header.padding.x; } header.w -= button.w + style->window.header.spacing.x; } else { button.x = header.x; header.x += button.w + style->window.header.spacing.x + style->window.header.padding.x; } if (nk_do_button_symbol(&ws, &win->buffer, button, (layout->flags & NK_WINDOW_MINIMIZED)? style->window.header.maximize_symbol: style->window.header.minimize_symbol, NK_BUTTON_DEFAULT, &style->window.header.minimize_button, in, style->font) && !(win->flags & NK_WINDOW_ROM)) layout->flags = (layout->flags & NK_WINDOW_MINIMIZED) ? layout->flags & (nk_flags)~NK_WINDOW_MINIMIZED: layout->flags | NK_WINDOW_MINIMIZED; }} {/* window header title */ int text_len = nk_strlen(title); struct nk_rect label = {0,0,0,0}; float t = font->width(font->userdata, font->height, title, text_len); text.padding = nk_vec2(0,0); label.x = header.x + style->window.header.padding.x; label.x += style->window.header.label_padding.x; label.y = header.y + style->window.header.label_padding.y; label.h = font->height + 2 * style->window.header.label_padding.y; label.w = t + 2 * style->window.header.spacing.x; label.w = NK_CLAMP(0, label.w, header.x + header.w - label.x); nk_widget_text(out, label,(const char*)title, text_len, &text, NK_TEXT_LEFT, font);} } /* draw window background */ if (!(layout->flags & NK_WINDOW_MINIMIZED) && !(layout->flags & NK_WINDOW_DYNAMIC)) { struct nk_rect body; body.x = win->bounds.x; body.w = win->bounds.w; body.y = (win->bounds.y + layout->header_height); body.h = (win->bounds.h - layout->header_height); if (style->window.fixed_background.type == NK_STYLE_ITEM_IMAGE) nk_draw_image(out, body, &style->window.fixed_background.data.image, nk_white); else nk_fill_rect(out, body, 0, style->window.fixed_background.data.color); } /* set clipping rectangle */ {struct nk_rect clip; layout->clip = layout->bounds; nk_unify(&clip, &win->buffer.clip, layout->clip.x, layout->clip.y, layout->clip.x + layout->clip.w, layout->clip.y + layout->clip.h); nk_push_scissor(out, clip); layout->clip = clip;} return !(layout->flags & NK_WINDOW_HIDDEN) && !(layout->flags & NK_WINDOW_MINIMIZED); } NK_LIB void nk_panel_end(struct nk_context *ctx) { struct nk_input *in; struct nk_window *window; struct nk_panel *layout; const struct nk_style *style; struct nk_command_buffer *out; struct nk_vec2 scrollbar_size; struct nk_vec2 panel_padding; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; window = ctx->current; layout = window->layout; style = &ctx->style; out = &window->buffer; in = (layout->flags & NK_WINDOW_ROM || layout->flags & NK_WINDOW_NO_INPUT) ? 0 :&ctx->input; if (!nk_panel_is_sub(layout->type)) nk_push_scissor(out, nk_null_rect); /* cache configuration data */ scrollbar_size = style->window.scrollbar_size; panel_padding = nk_panel_get_padding(style, layout->type); /* update the current cursor Y-position to point over the last added widget */ layout->at_y += layout->row.height; /* dynamic panels */ if (layout->flags & NK_WINDOW_DYNAMIC && !(layout->flags & NK_WINDOW_MINIMIZED)) { /* update panel height to fit dynamic growth */ struct nk_rect empty_space; if (layout->at_y < (layout->bounds.y + layout->bounds.h)) layout->bounds.h = layout->at_y - layout->bounds.y; /* fill top empty space */ empty_space.x = window->bounds.x; empty_space.y = layout->bounds.y; empty_space.h = panel_padding.y; empty_space.w = window->bounds.w; nk_fill_rect(out, empty_space, 0, style->window.background); /* fill left empty space */ empty_space.x = window->bounds.x; empty_space.y = layout->bounds.y; empty_space.w = panel_padding.x + layout->border; empty_space.h = layout->bounds.h; nk_fill_rect(out, empty_space, 0, style->window.background); /* fill right empty space */ empty_space.x = layout->bounds.x + layout->bounds.w; empty_space.y = layout->bounds.y; empty_space.w = panel_padding.x + layout->border; empty_space.h = layout->bounds.h; if (*layout->offset_y == 0 && !(layout->flags & NK_WINDOW_NO_SCROLLBAR)) empty_space.w += scrollbar_size.x; nk_fill_rect(out, empty_space, 0, style->window.background); /* fill bottom empty space */ if (layout->footer_height > 0) { empty_space.x = window->bounds.x; empty_space.y = layout->bounds.y + layout->bounds.h; empty_space.w = window->bounds.w; empty_space.h = layout->footer_height; nk_fill_rect(out, empty_space, 0, style->window.background); } } /* scrollbars */ if (!(layout->flags & NK_WINDOW_NO_SCROLLBAR) && !(layout->flags & NK_WINDOW_MINIMIZED) && window->scrollbar_hiding_timer < NK_SCROLLBAR_HIDING_TIMEOUT) { struct nk_rect scroll; int scroll_has_scrolling; float scroll_target; float scroll_offset; float scroll_step; float scroll_inc; /* mouse wheel scrolling */ if (nk_panel_is_sub(layout->type)) { /* sub-window mouse wheel scrolling */ struct nk_window *root_window = window; struct nk_panel *root_panel = window->layout; while (root_panel->parent) root_panel = root_panel->parent; while (root_window->parent) root_window = root_window->parent; /* only allow scrolling if parent window is active */ scroll_has_scrolling = 0; if ((root_window == ctx->active) && layout->has_scrolling) { /* and panel is being hovered and inside clip rect*/ if (nk_input_is_mouse_hovering_rect(in, layout->bounds) && NK_INTERSECT(layout->bounds.x, layout->bounds.y, layout->bounds.w, layout->bounds.h, root_panel->clip.x, root_panel->clip.y, root_panel->clip.w, root_panel->clip.h)) { /* deactivate all parent scrolling */ root_panel = window->layout; while (root_panel->parent) { root_panel->has_scrolling = nk_false; root_panel = root_panel->parent; } root_panel->has_scrolling = nk_false; scroll_has_scrolling = nk_true; } } } else if (!nk_panel_is_sub(layout->type)) { /* window mouse wheel scrolling */ scroll_has_scrolling = (window == ctx->active) && layout->has_scrolling; if (in && (in->mouse.scroll_delta.y > 0 || in->mouse.scroll_delta.x > 0) && scroll_has_scrolling) window->scrolled = nk_true; else window->scrolled = nk_false; } else scroll_has_scrolling = nk_false; { /* vertical scrollbar */ nk_flags state = 0; scroll.x = layout->bounds.x + layout->bounds.w + panel_padding.x; scroll.y = layout->bounds.y; scroll.w = scrollbar_size.x; scroll.h = layout->bounds.h; scroll_offset = (float)*layout->offset_y; scroll_step = scroll.h * 0.10f; scroll_inc = scroll.h * 0.01f; scroll_target = (float)(int)(layout->at_y - scroll.y); scroll_offset = nk_do_scrollbarv(&state, out, scroll, scroll_has_scrolling, scroll_offset, scroll_target, scroll_step, scroll_inc, &ctx->style.scrollv, in, style->font); *layout->offset_y = (nk_uint)scroll_offset; if (in && scroll_has_scrolling) in->mouse.scroll_delta.y = 0; } { /* horizontal scrollbar */ nk_flags state = 0; scroll.x = layout->bounds.x; scroll.y = layout->bounds.y + layout->bounds.h; scroll.w = layout->bounds.w; scroll.h = scrollbar_size.y; scroll_offset = (float)*layout->offset_x; scroll_target = (float)(int)(layout->max_x - scroll.x); scroll_step = layout->max_x * 0.05f; scroll_inc = layout->max_x * 0.005f; scroll_offset = nk_do_scrollbarh(&state, out, scroll, scroll_has_scrolling, scroll_offset, scroll_target, scroll_step, scroll_inc, &ctx->style.scrollh, in, style->font); *layout->offset_x = (nk_uint)scroll_offset; } } /* hide scroll if no user input */ if (window->flags & NK_WINDOW_SCROLL_AUTO_HIDE) { int has_input = ctx->input.mouse.delta.x != 0 || ctx->input.mouse.delta.y != 0 || ctx->input.mouse.scroll_delta.y != 0; int is_window_hovered = nk_window_is_hovered(ctx); int any_item_active = (ctx->last_widget_state & NK_WIDGET_STATE_MODIFIED); if ((!has_input && is_window_hovered) || (!is_window_hovered && !any_item_active)) window->scrollbar_hiding_timer += ctx->delta_time_seconds; else window->scrollbar_hiding_timer = 0; } else window->scrollbar_hiding_timer = 0; /* window border */ if (layout->flags & NK_WINDOW_BORDER) { struct nk_color border_color = nk_panel_get_border_color(style, layout->type); const float padding_y = (layout->flags & NK_WINDOW_MINIMIZED) ? (style->window.border + window->bounds.y + layout->header_height) : ((layout->flags & NK_WINDOW_DYNAMIC) ? (layout->bounds.y + layout->bounds.h + layout->footer_height) : (window->bounds.y + window->bounds.h)); struct nk_rect b = window->bounds; b.h = padding_y - window->bounds.y; nk_stroke_rect(out, b, 0, layout->border, border_color); } /* scaler */ if ((layout->flags & NK_WINDOW_SCALABLE) && in && !(layout->flags & NK_WINDOW_MINIMIZED)) { /* calculate scaler bounds */ struct nk_rect scaler; scaler.w = scrollbar_size.x; scaler.h = scrollbar_size.y; scaler.y = layout->bounds.y + layout->bounds.h; if (layout->flags & NK_WINDOW_SCALE_LEFT) scaler.x = layout->bounds.x - panel_padding.x * 0.5f; else scaler.x = layout->bounds.x + layout->bounds.w + panel_padding.x; if (layout->flags & NK_WINDOW_NO_SCROLLBAR) scaler.x -= scaler.w; /* draw scaler */ {const struct nk_style_item *item = &style->window.scaler; if (item->type == NK_STYLE_ITEM_IMAGE) nk_draw_image(out, scaler, &item->data.image, nk_white); else { if (layout->flags & NK_WINDOW_SCALE_LEFT) { nk_fill_triangle(out, scaler.x, scaler.y, scaler.x, scaler.y + scaler.h, scaler.x + scaler.w, scaler.y + scaler.h, item->data.color); } else { nk_fill_triangle(out, scaler.x + scaler.w, scaler.y, scaler.x + scaler.w, scaler.y + scaler.h, scaler.x, scaler.y + scaler.h, item->data.color); } }} /* do window scaling */ if (!(window->flags & NK_WINDOW_ROM)) { struct nk_vec2 window_size = style->window.min_size; int left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down; int left_mouse_click_in_scaler = nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, scaler, nk_true); if (left_mouse_down && left_mouse_click_in_scaler) { float delta_x = in->mouse.delta.x; if (layout->flags & NK_WINDOW_SCALE_LEFT) { delta_x = -delta_x; window->bounds.x += in->mouse.delta.x; } /* dragging in x-direction */ if (window->bounds.w + delta_x >= window_size.x) { if ((delta_x < 0) || (delta_x > 0 && in->mouse.pos.x >= scaler.x)) { window->bounds.w = window->bounds.w + delta_x; scaler.x += in->mouse.delta.x; } } /* dragging in y-direction (only possible if static window) */ if (!(layout->flags & NK_WINDOW_DYNAMIC)) { if (window_size.y < window->bounds.h + in->mouse.delta.y) { if ((in->mouse.delta.y < 0) || (in->mouse.delta.y > 0 && in->mouse.pos.y >= scaler.y)) { window->bounds.h = window->bounds.h + in->mouse.delta.y; scaler.y += in->mouse.delta.y; } } } ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_RESIZE_TOP_RIGHT_DOWN_LEFT]; in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x = scaler.x + scaler.w/2.0f; in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.y = scaler.y + scaler.h/2.0f; } } } if (!nk_panel_is_sub(layout->type)) { /* window is hidden so clear command buffer */ if (layout->flags & NK_WINDOW_HIDDEN) nk_command_buffer_reset(&window->buffer); /* window is visible and not tab */ else nk_finish(ctx, window); } /* NK_WINDOW_REMOVE_ROM flag was set so remove NK_WINDOW_ROM */ if (layout->flags & NK_WINDOW_REMOVE_ROM) { layout->flags &= ~(nk_flags)NK_WINDOW_ROM; layout->flags &= ~(nk_flags)NK_WINDOW_REMOVE_ROM; } window->flags = layout->flags; /* property garbage collector */ if (window->property.active && window->property.old != window->property.seq && window->property.active == window->property.prev) { nk_zero(&window->property, sizeof(window->property)); } else { window->property.old = window->property.seq; window->property.prev = window->property.active; window->property.seq = 0; } /* edit garbage collector */ if (window->edit.active && window->edit.old != window->edit.seq && window->edit.active == window->edit.prev) { nk_zero(&window->edit, sizeof(window->edit)); } else { window->edit.old = window->edit.seq; window->edit.prev = window->edit.active; window->edit.seq = 0; } /* contextual garbage collector */ if (window->popup.active_con && window->popup.con_old != window->popup.con_count) { window->popup.con_count = 0; window->popup.con_old = 0; window->popup.active_con = 0; } else { window->popup.con_old = window->popup.con_count; window->popup.con_count = 0; } window->popup.combo_count = 0; /* helper to make sure you have a 'nk_tree_push' for every 'nk_tree_pop' */ NK_ASSERT(!layout->row.tree_depth); } /* =============================================================== * * WINDOW * * ===============================================================*/ NK_LIB void* nk_create_window(struct nk_context *ctx) { struct nk_page_element *elem; elem = nk_create_page_element(ctx); if (!elem) return 0; elem->data.win.seq = ctx->seq; return &elem->data.win; } NK_LIB void nk_free_window(struct nk_context *ctx, struct nk_window *win) { /* unlink windows from list */ struct nk_table *it = win->tables; if (win->popup.win) { nk_free_window(ctx, win->popup.win); win->popup.win = 0; } win->next = 0; win->prev = 0; while (it) { /*free window state tables */ struct nk_table *n = it->next; nk_remove_table(win, it); nk_free_table(ctx, it); if (it == win->tables) win->tables = n; it = n; } /* link windows into freelist */ {union nk_page_data *pd = NK_CONTAINER_OF(win, union nk_page_data, win); struct nk_page_element *pe = NK_CONTAINER_OF(pd, struct nk_page_element, data); nk_free_page_element(ctx, pe);} } NK_LIB struct nk_window* nk_find_window(struct nk_context *ctx, nk_hash hash, const char *name) { struct nk_window *iter; iter = ctx->begin; while (iter) { NK_ASSERT(iter != iter->next); if (iter->name == hash) { int max_len = nk_strlen(iter->name_string); if (!nk_stricmpn(iter->name_string, name, max_len)) return iter; } iter = iter->next; } return 0; } NK_LIB void nk_insert_window(struct nk_context *ctx, struct nk_window *win, enum nk_window_insert_location loc) { const struct nk_window *iter; NK_ASSERT(ctx); NK_ASSERT(win); if (!win || !ctx) return; iter = ctx->begin; while (iter) { NK_ASSERT(iter != iter->next); NK_ASSERT(iter != win); if (iter == win) return; iter = iter->next; } if (!ctx->begin) { win->next = 0; win->prev = 0; ctx->begin = win; ctx->end = win; ctx->count = 1; return; } if (loc == NK_INSERT_BACK) { struct nk_window *end; end = ctx->end; end->flags |= NK_WINDOW_ROM; end->next = win; win->prev = ctx->end; win->next = 0; ctx->end = win; ctx->active = ctx->end; ctx->end->flags &= ~(nk_flags)NK_WINDOW_ROM; } else { /*ctx->end->flags |= NK_WINDOW_ROM;*/ ctx->begin->prev = win; win->next = ctx->begin; win->prev = 0; ctx->begin = win; ctx->begin->flags &= ~(nk_flags)NK_WINDOW_ROM; } ctx->count++; } NK_LIB void nk_remove_window(struct nk_context *ctx, struct nk_window *win) { if (win == ctx->begin || win == ctx->end) { if (win == ctx->begin) { ctx->begin = win->next; if (win->next) win->next->prev = 0; } if (win == ctx->end) { ctx->end = win->prev; if (win->prev) win->prev->next = 0; } } else { if (win->next) win->next->prev = win->prev; if (win->prev) win->prev->next = win->next; } if (win == ctx->active || !ctx->active) { ctx->active = ctx->end; if (ctx->end) ctx->end->flags &= ~(nk_flags)NK_WINDOW_ROM; } win->next = 0; win->prev = 0; ctx->count--; } NK_API nk_bool nk_begin(struct nk_context *ctx, const char *title, struct nk_rect bounds, nk_flags flags) { return nk_begin_titled(ctx, title, title, bounds, flags); } NK_API nk_bool nk_begin_titled(struct nk_context *ctx, const char *name, const char *title, struct nk_rect bounds, nk_flags flags) { struct nk_window *win; struct nk_style *style; nk_hash name_hash; int name_len; int ret = 0; NK_ASSERT(ctx); NK_ASSERT(name); NK_ASSERT(title); NK_ASSERT(ctx->style.font && ctx->style.font->width && "if this triggers you forgot to add a font"); NK_ASSERT(!ctx->current && "if this triggers you missed a `nk_end` call"); if (!ctx || ctx->current || !title || !name) return 0; /* find or create window */ style = &ctx->style; name_len = (int)nk_strlen(name); name_hash = nk_murmur_hash(name, (int)name_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, name_hash, name); if (!win) { /* create new window */ nk_size name_length = (nk_size)name_len; win = (struct nk_window*)nk_create_window(ctx); NK_ASSERT(win); if (!win) return 0; if (flags & NK_WINDOW_BACKGROUND) nk_insert_window(ctx, win, NK_INSERT_FRONT); else nk_insert_window(ctx, win, NK_INSERT_BACK); nk_command_buffer_init(&win->buffer, &ctx->memory, NK_CLIPPING_ON); win->flags = flags; win->bounds = bounds; win->name = name_hash; name_length = NK_MIN(name_length, NK_WINDOW_MAX_NAME-1); NK_MEMCPY(win->name_string, name, name_length); win->name_string[name_length] = 0; win->popup.win = 0; if (!ctx->active) ctx->active = win; } else { /* update window */ win->flags &= ~(nk_flags)(NK_WINDOW_PRIVATE-1); win->flags |= flags; if (!(win->flags & (NK_WINDOW_MOVABLE | NK_WINDOW_SCALABLE))) win->bounds = bounds; /* If this assert triggers you either: * * I.) Have more than one window with the same name or * II.) You forgot to actually draw the window. * More specific you did not call `nk_clear` (nk_clear will be * automatically called for you if you are using one of the * provided demo backends). */ NK_ASSERT(win->seq != ctx->seq); win->seq = ctx->seq; if (!ctx->active && !(win->flags & NK_WINDOW_HIDDEN)) { ctx->active = win; ctx->end = win; } } if (win->flags & NK_WINDOW_HIDDEN) { ctx->current = win; win->layout = 0; return 0; } else nk_start(ctx, win); /* window overlapping */ if (!(win->flags & NK_WINDOW_HIDDEN) && !(win->flags & NK_WINDOW_NO_INPUT)) { int inpanel, ishovered; struct nk_window *iter = win; float h = ctx->style.font->height + 2.0f * style->window.header.padding.y + (2.0f * style->window.header.label_padding.y); struct nk_rect win_bounds = (!(win->flags & NK_WINDOW_MINIMIZED))? win->bounds: nk_rect(win->bounds.x, win->bounds.y, win->bounds.w, h); /* activate window if hovered and no other window is overlapping this window */ inpanel = nk_input_has_mouse_click_down_in_rect(&ctx->input, NK_BUTTON_LEFT, win_bounds, nk_true); inpanel = inpanel && ctx->input.mouse.buttons[NK_BUTTON_LEFT].clicked; ishovered = nk_input_is_mouse_hovering_rect(&ctx->input, win_bounds); if ((win != ctx->active) && ishovered && !ctx->input.mouse.buttons[NK_BUTTON_LEFT].down) { iter = win->next; while (iter) { struct nk_rect iter_bounds = (!(iter->flags & NK_WINDOW_MINIMIZED))? iter->bounds: nk_rect(iter->bounds.x, iter->bounds.y, iter->bounds.w, h); if (NK_INTERSECT(win_bounds.x, win_bounds.y, win_bounds.w, win_bounds.h, iter_bounds.x, iter_bounds.y, iter_bounds.w, iter_bounds.h) && (!(iter->flags & NK_WINDOW_HIDDEN))) break; if (iter->popup.win && iter->popup.active && !(iter->flags & NK_WINDOW_HIDDEN) && NK_INTERSECT(win->bounds.x, win_bounds.y, win_bounds.w, win_bounds.h, iter->popup.win->bounds.x, iter->popup.win->bounds.y, iter->popup.win->bounds.w, iter->popup.win->bounds.h)) break; iter = iter->next; } } /* activate window if clicked */ if (iter && inpanel && (win != ctx->end)) { iter = win->next; while (iter) { /* try to find a panel with higher priority in the same position */ struct nk_rect iter_bounds = (!(iter->flags & NK_WINDOW_MINIMIZED))? iter->bounds: nk_rect(iter->bounds.x, iter->bounds.y, iter->bounds.w, h); if (NK_INBOX(ctx->input.mouse.pos.x, ctx->input.mouse.pos.y, iter_bounds.x, iter_bounds.y, iter_bounds.w, iter_bounds.h) && !(iter->flags & NK_WINDOW_HIDDEN)) break; if (iter->popup.win && iter->popup.active && !(iter->flags & NK_WINDOW_HIDDEN) && NK_INTERSECT(win_bounds.x, win_bounds.y, win_bounds.w, win_bounds.h, iter->popup.win->bounds.x, iter->popup.win->bounds.y, iter->popup.win->bounds.w, iter->popup.win->bounds.h)) break; iter = iter->next; } } if (iter && !(win->flags & NK_WINDOW_ROM) && (win->flags & NK_WINDOW_BACKGROUND)) { win->flags |= (nk_flags)NK_WINDOW_ROM; iter->flags &= ~(nk_flags)NK_WINDOW_ROM; ctx->active = iter; if (!(iter->flags & NK_WINDOW_BACKGROUND)) { /* current window is active in that position so transfer to top * at the highest priority in stack */ nk_remove_window(ctx, iter); nk_insert_window(ctx, iter, NK_INSERT_BACK); } } else { if (!iter && ctx->end != win) { if (!(win->flags & NK_WINDOW_BACKGROUND)) { /* current window is active in that position so transfer to top * at the highest priority in stack */ nk_remove_window(ctx, win); nk_insert_window(ctx, win, NK_INSERT_BACK); } win->flags &= ~(nk_flags)NK_WINDOW_ROM; ctx->active = win; } if (ctx->end != win && !(win->flags & NK_WINDOW_BACKGROUND)) win->flags |= NK_WINDOW_ROM; } } win->layout = (struct nk_panel*)nk_create_panel(ctx); ctx->current = win; ret = nk_panel_begin(ctx, title, NK_PANEL_WINDOW); win->layout->offset_x = &win->scrollbar.x; win->layout->offset_y = &win->scrollbar.y; return ret; } NK_API void nk_end(struct nk_context *ctx) { struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current && "if this triggers you forgot to call `nk_begin`"); if (!ctx || !ctx->current) return; layout = ctx->current->layout; if (!layout || (layout->type == NK_PANEL_WINDOW && (ctx->current->flags & NK_WINDOW_HIDDEN))) { ctx->current = 0; return; } nk_panel_end(ctx); nk_free_panel(ctx, ctx->current->layout); ctx->current = 0; } NK_API struct nk_rect nk_window_get_bounds(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_rect(0,0,0,0); return ctx->current->bounds; } NK_API struct nk_vec2 nk_window_get_position(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_vec2(0,0); return nk_vec2(ctx->current->bounds.x, ctx->current->bounds.y); } NK_API struct nk_vec2 nk_window_get_size(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_vec2(0,0); return nk_vec2(ctx->current->bounds.w, ctx->current->bounds.h); } NK_API float nk_window_get_width(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; return ctx->current->bounds.w; } NK_API float nk_window_get_height(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; return ctx->current->bounds.h; } NK_API struct nk_rect nk_window_get_content_region(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_rect(0,0,0,0); return ctx->current->layout->clip; } NK_API struct nk_vec2 nk_window_get_content_region_min(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current) return nk_vec2(0,0); return nk_vec2(ctx->current->layout->clip.x, ctx->current->layout->clip.y); } NK_API struct nk_vec2 nk_window_get_content_region_max(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current) return nk_vec2(0,0); return nk_vec2(ctx->current->layout->clip.x + ctx->current->layout->clip.w, ctx->current->layout->clip.y + ctx->current->layout->clip.h); } NK_API struct nk_vec2 nk_window_get_content_region_size(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current) return nk_vec2(0,0); return nk_vec2(ctx->current->layout->clip.w, ctx->current->layout->clip.h); } NK_API struct nk_command_buffer* nk_window_get_canvas(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current) return 0; return &ctx->current->buffer; } NK_API struct nk_panel* nk_window_get_panel(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; return ctx->current->layout; } NK_API void nk_window_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y) { struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return ; win = ctx->current; if (offset_x) *offset_x = win->scrollbar.x; if (offset_y) *offset_y = win->scrollbar.y; } NK_API nk_bool nk_window_has_focus(const struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current) return 0; return ctx->current == ctx->active; } NK_API nk_bool nk_window_is_hovered(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; if(ctx->current->flags & NK_WINDOW_HIDDEN) return 0; return nk_input_is_mouse_hovering_rect(&ctx->input, ctx->current->bounds); } NK_API nk_bool nk_window_is_any_hovered(struct nk_context *ctx) { struct nk_window *iter; NK_ASSERT(ctx); if (!ctx) return 0; iter = ctx->begin; while (iter) { /* check if window is being hovered */ if(!(iter->flags & NK_WINDOW_HIDDEN)) { /* check if window popup is being hovered */ if (iter->popup.active && iter->popup.win && nk_input_is_mouse_hovering_rect(&ctx->input, iter->popup.win->bounds)) return 1; if (iter->flags & NK_WINDOW_MINIMIZED) { struct nk_rect header = iter->bounds; header.h = ctx->style.font->height + 2 * ctx->style.window.header.padding.y; if (nk_input_is_mouse_hovering_rect(&ctx->input, header)) return 1; } else if (nk_input_is_mouse_hovering_rect(&ctx->input, iter->bounds)) { return 1; } } iter = iter->next; } return 0; } NK_API nk_bool nk_item_is_any_active(struct nk_context *ctx) { int any_hovered = nk_window_is_any_hovered(ctx); int any_active = (ctx->last_widget_state & NK_WIDGET_STATE_MODIFIED); return any_hovered || any_active; } NK_API nk_bool nk_window_is_collapsed(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return 0; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return 0; return win->flags & NK_WINDOW_MINIMIZED; } NK_API nk_bool nk_window_is_closed(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return 1; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return 1; return (win->flags & NK_WINDOW_CLOSED); } NK_API nk_bool nk_window_is_hidden(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return 1; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return 1; return (win->flags & NK_WINDOW_HIDDEN); } NK_API nk_bool nk_window_is_active(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return 0; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return 0; return win == ctx->active; } NK_API struct nk_window* nk_window_find(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); return nk_find_window(ctx, title_hash, name); } NK_API void nk_window_close(struct nk_context *ctx, const char *name) { struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return; win = nk_window_find(ctx, name); if (!win) return; NK_ASSERT(ctx->current != win && "You cannot close a currently active window"); if (ctx->current == win) return; win->flags |= NK_WINDOW_HIDDEN; win->flags |= NK_WINDOW_CLOSED; } NK_API void nk_window_set_bounds(struct nk_context *ctx, const char *name, struct nk_rect bounds) { struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return; win = nk_window_find(ctx, name); if (!win) return; NK_ASSERT(ctx->current != win && "You cannot update a currently in procecss window"); win->bounds = bounds; } NK_API void nk_window_set_position(struct nk_context *ctx, const char *name, struct nk_vec2 pos) { struct nk_window *win = nk_window_find(ctx, name); if (!win) return; win->bounds.x = pos.x; win->bounds.y = pos.y; } NK_API void nk_window_set_size(struct nk_context *ctx, const char *name, struct nk_vec2 size) { struct nk_window *win = nk_window_find(ctx, name); if (!win) return; win->bounds.w = size.x; win->bounds.h = size.y; } NK_API void nk_window_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y) { struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; win = ctx->current; win->scrollbar.x = offset_x; win->scrollbar.y = offset_y; } NK_API void nk_window_collapse(struct nk_context *ctx, const char *name, enum nk_collapse_states c) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return; if (c == NK_MINIMIZED) win->flags |= NK_WINDOW_MINIMIZED; else win->flags &= ~(nk_flags)NK_WINDOW_MINIMIZED; } NK_API void nk_window_collapse_if(struct nk_context *ctx, const char *name, enum nk_collapse_states c, int cond) { NK_ASSERT(ctx); if (!ctx || !cond) return; nk_window_collapse(ctx, name, c); } NK_API void nk_window_show(struct nk_context *ctx, const char *name, enum nk_show_states s) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (!win) return; if (s == NK_HIDDEN) { win->flags |= NK_WINDOW_HIDDEN; } else win->flags &= ~(nk_flags)NK_WINDOW_HIDDEN; } NK_API void nk_window_show_if(struct nk_context *ctx, const char *name, enum nk_show_states s, int cond) { NK_ASSERT(ctx); if (!ctx || !cond) return; nk_window_show(ctx, name, s); } NK_API void nk_window_set_focus(struct nk_context *ctx, const char *name) { int title_len; nk_hash title_hash; struct nk_window *win; NK_ASSERT(ctx); if (!ctx) return; title_len = (int)nk_strlen(name); title_hash = nk_murmur_hash(name, (int)title_len, NK_WINDOW_TITLE); win = nk_find_window(ctx, title_hash, name); if (win && ctx->end != win) { nk_remove_window(ctx, win); nk_insert_window(ctx, win, NK_INSERT_BACK); } ctx->active = win; } /* =============================================================== * * POPUP * * ===============================================================*/ NK_API nk_bool nk_popup_begin(struct nk_context *ctx, enum nk_popup_type type, const char *title, nk_flags flags, struct nk_rect rect) { struct nk_window *popup; struct nk_window *win; struct nk_panel *panel; int title_len; nk_hash title_hash; nk_size allocated; NK_ASSERT(ctx); NK_ASSERT(title); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; panel = win->layout; NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP) && "popups are not allowed to have popups"); (void)panel; title_len = (int)nk_strlen(title); title_hash = nk_murmur_hash(title, (int)title_len, NK_PANEL_POPUP); popup = win->popup.win; if (!popup) { popup = (struct nk_window*)nk_create_window(ctx); popup->parent = win; win->popup.win = popup; win->popup.active = 0; win->popup.type = NK_PANEL_POPUP; } /* make sure we have correct popup */ if (win->popup.name != title_hash) { if (!win->popup.active) { nk_zero(popup, sizeof(*popup)); win->popup.name = title_hash; win->popup.active = 1; win->popup.type = NK_PANEL_POPUP; } else return 0; } /* popup position is local to window */ ctx->current = popup; rect.x += win->layout->clip.x; rect.y += win->layout->clip.y; /* setup popup data */ popup->parent = win; popup->bounds = rect; popup->seq = ctx->seq; popup->layout = (struct nk_panel*)nk_create_panel(ctx); popup->flags = flags; popup->flags |= NK_WINDOW_BORDER; if (type == NK_POPUP_DYNAMIC) popup->flags |= NK_WINDOW_DYNAMIC; popup->buffer = win->buffer; nk_start_popup(ctx, win); allocated = ctx->memory.allocated; nk_push_scissor(&popup->buffer, nk_null_rect); if (nk_panel_begin(ctx, title, NK_PANEL_POPUP)) { /* popup is running therefore invalidate parent panels */ struct nk_panel *root; root = win->layout; while (root) { root->flags |= NK_WINDOW_ROM; root->flags &= ~(nk_flags)NK_WINDOW_REMOVE_ROM; root = root->parent; } win->popup.active = 1; popup->layout->offset_x = &popup->scrollbar.x; popup->layout->offset_y = &popup->scrollbar.y; popup->layout->parent = win->layout; return 1; } else { /* popup was closed/is invalid so cleanup */ struct nk_panel *root; root = win->layout; while (root) { root->flags |= NK_WINDOW_REMOVE_ROM; root = root->parent; } win->popup.buf.active = 0; win->popup.active = 0; ctx->memory.allocated = allocated; ctx->current = win; nk_free_panel(ctx, popup->layout); popup->layout = 0; return 0; } } NK_LIB nk_bool nk_nonblock_begin(struct nk_context *ctx, nk_flags flags, struct nk_rect body, struct nk_rect header, enum nk_panel_type panel_type) { struct nk_window *popup; struct nk_window *win; struct nk_panel *panel; int is_active = nk_true; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; /* popups cannot have popups */ win = ctx->current; panel = win->layout; NK_ASSERT(!(panel->type & NK_PANEL_SET_POPUP)); (void)panel; popup = win->popup.win; if (!popup) { /* create window for nonblocking popup */ popup = (struct nk_window*)nk_create_window(ctx); popup->parent = win; win->popup.win = popup; win->popup.type = panel_type; nk_command_buffer_init(&popup->buffer, &ctx->memory, NK_CLIPPING_ON); } else { /* close the popup if user pressed outside or in the header */ int pressed, in_body, in_header; #ifdef NK_BUTTON_TRIGGER_ON_RELEASE pressed = nk_input_is_mouse_released(&ctx->input, NK_BUTTON_LEFT); #else pressed = nk_input_is_mouse_pressed(&ctx->input, NK_BUTTON_LEFT); #endif in_body = nk_input_is_mouse_hovering_rect(&ctx->input, body); in_header = nk_input_is_mouse_hovering_rect(&ctx->input, header); if (pressed && (!in_body || in_header)) is_active = nk_false; } win->popup.header = header; if (!is_active) { /* remove read only mode from all parent panels */ struct nk_panel *root = win->layout; while (root) { root->flags |= NK_WINDOW_REMOVE_ROM; root = root->parent; } return is_active; } popup->bounds = body; popup->parent = win; popup->layout = (struct nk_panel*)nk_create_panel(ctx); popup->flags = flags; popup->flags |= NK_WINDOW_BORDER; popup->flags |= NK_WINDOW_DYNAMIC; popup->seq = ctx->seq; win->popup.active = 1; NK_ASSERT(popup->layout); nk_start_popup(ctx, win); popup->buffer = win->buffer; nk_push_scissor(&popup->buffer, nk_null_rect); ctx->current = popup; nk_panel_begin(ctx, 0, panel_type); win->buffer = popup->buffer; popup->layout->parent = win->layout; popup->layout->offset_x = &popup->scrollbar.x; popup->layout->offset_y = &popup->scrollbar.y; /* set read only mode to all parent panels */ {struct nk_panel *root; root = win->layout; while (root) { root->flags |= NK_WINDOW_ROM; root = root->parent; }} return is_active; } NK_API void nk_popup_close(struct nk_context *ctx) { struct nk_window *popup; NK_ASSERT(ctx); if (!ctx || !ctx->current) return; popup = ctx->current; NK_ASSERT(popup->parent); NK_ASSERT(popup->layout->type & NK_PANEL_SET_POPUP); popup->flags |= NK_WINDOW_HIDDEN; } NK_API void nk_popup_end(struct nk_context *ctx) { struct nk_window *win; struct nk_window *popup; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; popup = ctx->current; if (!popup->parent) return; win = popup->parent; if (popup->flags & NK_WINDOW_HIDDEN) { struct nk_panel *root; root = win->layout; while (root) { root->flags |= NK_WINDOW_REMOVE_ROM; root = root->parent; } win->popup.active = 0; } nk_push_scissor(&popup->buffer, nk_null_rect); nk_end(ctx); win->buffer = popup->buffer; nk_finish_popup(ctx, win); ctx->current = win; nk_push_scissor(&win->buffer, win->layout->clip); } NK_API void nk_popup_get_scroll(struct nk_context *ctx, nk_uint *offset_x, nk_uint *offset_y) { struct nk_window *popup; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; popup = ctx->current; if (offset_x) *offset_x = popup->scrollbar.x; if (offset_y) *offset_y = popup->scrollbar.y; } NK_API void nk_popup_set_scroll(struct nk_context *ctx, nk_uint offset_x, nk_uint offset_y) { struct nk_window *popup; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; popup = ctx->current; popup->scrollbar.x = offset_x; popup->scrollbar.y = offset_y; } /* ============================================================== * * CONTEXTUAL * * ===============================================================*/ NK_API nk_bool nk_contextual_begin(struct nk_context *ctx, nk_flags flags, struct nk_vec2 size, struct nk_rect trigger_bounds) { struct nk_window *win; struct nk_window *popup; struct nk_rect body; NK_STORAGE const struct nk_rect null_rect = {-1,-1,0,0}; int is_clicked = 0; int is_open = 0; int ret = 0; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; ++win->popup.con_count; if (ctx->current != ctx->active) return 0; /* check if currently active contextual is active */ popup = win->popup.win; is_open = (popup && win->popup.type == NK_PANEL_CONTEXTUAL); is_clicked = nk_input_mouse_clicked(&ctx->input, NK_BUTTON_RIGHT, trigger_bounds); if (win->popup.active_con && win->popup.con_count != win->popup.active_con) return 0; if (!is_open && win->popup.active_con) win->popup.active_con = 0; if ((!is_open && !is_clicked)) return 0; /* calculate contextual position on click */ win->popup.active_con = win->popup.con_count; if (is_clicked) { body.x = ctx->input.mouse.pos.x; body.y = ctx->input.mouse.pos.y; } else { body.x = popup->bounds.x; body.y = popup->bounds.y; } body.w = size.x; body.h = size.y; /* start nonblocking contextual popup */ ret = nk_nonblock_begin(ctx, flags|NK_WINDOW_NO_SCROLLBAR, body, null_rect, NK_PANEL_CONTEXTUAL); if (ret) win->popup.type = NK_PANEL_CONTEXTUAL; else { win->popup.active_con = 0; win->popup.type = NK_PANEL_NONE; if (win->popup.win) win->popup.win->flags = 0; } return ret; } NK_API nk_bool nk_contextual_item_text(struct nk_context *ctx, const char *text, int len, nk_flags alignment) { struct nk_window *win; const struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; state = nk_widget_fitting(&bounds, ctx, style->contextual_button.padding); if (!state) return nk_false; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text(&ctx->last_widget_state, &win->buffer, bounds, text, len, alignment, NK_BUTTON_DEFAULT, &style->contextual_button, in, style->font)) { nk_contextual_close(ctx); return nk_true; } return nk_false; } NK_API nk_bool nk_contextual_item_label(struct nk_context *ctx, const char *label, nk_flags align) { return nk_contextual_item_text(ctx, label, nk_strlen(label), align); } NK_API nk_bool nk_contextual_item_image_text(struct nk_context *ctx, struct nk_image img, const char *text, int len, nk_flags align) { struct nk_window *win; const struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; state = nk_widget_fitting(&bounds, ctx, style->contextual_button.padding); if (!state) return nk_false; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text_image(&ctx->last_widget_state, &win->buffer, bounds, img, text, len, align, NK_BUTTON_DEFAULT, &style->contextual_button, style->font, in)){ nk_contextual_close(ctx); return nk_true; } return nk_false; } NK_API nk_bool nk_contextual_item_image_label(struct nk_context *ctx, struct nk_image img, const char *label, nk_flags align) { return nk_contextual_item_image_text(ctx, img, label, nk_strlen(label), align); } NK_API nk_bool nk_contextual_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type symbol, const char *text, int len, nk_flags align) { struct nk_window *win; const struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; state = nk_widget_fitting(&bounds, ctx, style->contextual_button.padding); if (!state) return nk_false; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text_symbol(&ctx->last_widget_state, &win->buffer, bounds, symbol, text, len, align, NK_BUTTON_DEFAULT, &style->contextual_button, style->font, in)) { nk_contextual_close(ctx); return nk_true; } return nk_false; } NK_API nk_bool nk_contextual_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type symbol, const char *text, nk_flags align) { return nk_contextual_item_symbol_text(ctx, symbol, text, nk_strlen(text), align); } NK_API void nk_contextual_close(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; nk_popup_close(ctx); } NK_API void nk_contextual_end(struct nk_context *ctx) { struct nk_window *popup; struct nk_panel *panel; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; popup = ctx->current; panel = popup->layout; NK_ASSERT(popup->parent); NK_ASSERT(panel->type & NK_PANEL_SET_POPUP); if (panel->flags & NK_WINDOW_DYNAMIC) { /* Close behavior This is a bit of a hack solution since we do not know before we end our popup how big it will be. We therefore do not directly know when a click outside the non-blocking popup must close it at that direct frame. Instead it will be closed in the next frame.*/ struct nk_rect body = {0,0,0,0}; if (panel->at_y < (panel->bounds.y + panel->bounds.h)) { struct nk_vec2 padding = nk_panel_get_padding(&ctx->style, panel->type); body = panel->bounds; body.y = (panel->at_y + panel->footer_height + panel->border + padding.y + panel->row.height); body.h = (panel->bounds.y + panel->bounds.h) - body.y; } {int pressed = nk_input_is_mouse_pressed(&ctx->input, NK_BUTTON_LEFT); int in_body = nk_input_is_mouse_hovering_rect(&ctx->input, body); if (pressed && in_body) popup->flags |= NK_WINDOW_HIDDEN; } } if (popup->flags & NK_WINDOW_HIDDEN) popup->seq = 0; nk_popup_end(ctx); return; } /* =============================================================== * * MENU * * ===============================================================*/ NK_API void nk_menubar_begin(struct nk_context *ctx) { struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; layout = ctx->current->layout; NK_ASSERT(layout->at_y == layout->bounds.y); /* if this assert triggers you allocated space between nk_begin and nk_menubar_begin. If you want a menubar the first nuklear function after `nk_begin` has to be a `nk_menubar_begin` call. Inside the menubar you then have to allocate space for widgets (also supports multiple rows). Example: if (nk_begin(...)) { nk_menubar_begin(...); nk_layout_xxxx(...); nk_button(...); nk_layout_xxxx(...); nk_button(...); nk_menubar_end(...); } nk_end(...); */ if (layout->flags & NK_WINDOW_HIDDEN || layout->flags & NK_WINDOW_MINIMIZED) return; layout->menu.x = layout->at_x; layout->menu.y = layout->at_y + layout->row.height; layout->menu.w = layout->bounds.w; layout->menu.offset.x = *layout->offset_x; layout->menu.offset.y = *layout->offset_y; *layout->offset_y = 0; } NK_API void nk_menubar_end(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; struct nk_command_buffer *out; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; out = &win->buffer; layout = win->layout; if (layout->flags & NK_WINDOW_HIDDEN || layout->flags & NK_WINDOW_MINIMIZED) return; layout->menu.h = layout->at_y - layout->menu.y; layout->menu.h += layout->row.height + ctx->style.window.spacing.y; layout->bounds.y += layout->menu.h; layout->bounds.h -= layout->menu.h; *layout->offset_x = layout->menu.offset.x; *layout->offset_y = layout->menu.offset.y; layout->at_y = layout->bounds.y - layout->row.height; layout->clip.y = layout->bounds.y; layout->clip.h = layout->bounds.h; nk_push_scissor(out, layout->clip); } NK_INTERN int nk_menu_begin(struct nk_context *ctx, struct nk_window *win, const char *id, int is_clicked, struct nk_rect header, struct nk_vec2 size) { int is_open = 0; int is_active = 0; struct nk_rect body; struct nk_window *popup; nk_hash hash = nk_murmur_hash(id, (int)nk_strlen(id), NK_PANEL_MENU); NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; body.x = header.x; body.w = size.x; body.y = header.y + header.h; body.h = size.y; popup = win->popup.win; is_open = popup ? nk_true : nk_false; is_active = (popup && (win->popup.name == hash) && win->popup.type == NK_PANEL_MENU); if ((is_clicked && is_open && !is_active) || (is_open && !is_active) || (!is_open && !is_active && !is_clicked)) return 0; if (!nk_nonblock_begin(ctx, NK_WINDOW_NO_SCROLLBAR, body, header, NK_PANEL_MENU)) return 0; win->popup.type = NK_PANEL_MENU; win->popup.name = hash; return 1; } NK_API nk_bool nk_menu_begin_text(struct nk_context *ctx, const char *title, int len, nk_flags align, struct nk_vec2 size) { struct nk_window *win; const struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; nk_flags state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; state = nk_widget(&header, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || win->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text(&ctx->last_widget_state, &win->buffer, header, title, len, align, NK_BUTTON_DEFAULT, &ctx->style.menu_button, in, ctx->style.font)) is_clicked = nk_true; return nk_menu_begin(ctx, win, title, is_clicked, header, size); } NK_API nk_bool nk_menu_begin_label(struct nk_context *ctx, const char *text, nk_flags align, struct nk_vec2 size) { return nk_menu_begin_text(ctx, text, nk_strlen(text), align, size); } NK_API nk_bool nk_menu_begin_image(struct nk_context *ctx, const char *id, struct nk_image img, struct nk_vec2 size) { struct nk_window *win; struct nk_rect header; const struct nk_input *in; int is_clicked = nk_false; nk_flags state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; state = nk_widget(&header, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_image(&ctx->last_widget_state, &win->buffer, header, img, NK_BUTTON_DEFAULT, &ctx->style.menu_button, in)) is_clicked = nk_true; return nk_menu_begin(ctx, win, id, is_clicked, header, size); } NK_API nk_bool nk_menu_begin_symbol(struct nk_context *ctx, const char *id, enum nk_symbol_type sym, struct nk_vec2 size) { struct nk_window *win; const struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; nk_flags state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; state = nk_widget(&header, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_symbol(&ctx->last_widget_state, &win->buffer, header, sym, NK_BUTTON_DEFAULT, &ctx->style.menu_button, in, ctx->style.font)) is_clicked = nk_true; return nk_menu_begin(ctx, win, id, is_clicked, header, size); } NK_API nk_bool nk_menu_begin_image_text(struct nk_context *ctx, const char *title, int len, nk_flags align, struct nk_image img, struct nk_vec2 size) { struct nk_window *win; struct nk_rect header; const struct nk_input *in; int is_clicked = nk_false; nk_flags state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; state = nk_widget(&header, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text_image(&ctx->last_widget_state, &win->buffer, header, img, title, len, align, NK_BUTTON_DEFAULT, &ctx->style.menu_button, ctx->style.font, in)) is_clicked = nk_true; return nk_menu_begin(ctx, win, title, is_clicked, header, size); } NK_API nk_bool nk_menu_begin_image_label(struct nk_context *ctx, const char *title, nk_flags align, struct nk_image img, struct nk_vec2 size) { return nk_menu_begin_image_text(ctx, title, nk_strlen(title), align, img, size); } NK_API nk_bool nk_menu_begin_symbol_text(struct nk_context *ctx, const char *title, int len, nk_flags align, enum nk_symbol_type sym, struct nk_vec2 size) { struct nk_window *win; struct nk_rect header; const struct nk_input *in; int is_clicked = nk_false; nk_flags state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; state = nk_widget(&header, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; if (nk_do_button_text_symbol(&ctx->last_widget_state, &win->buffer, header, sym, title, len, align, NK_BUTTON_DEFAULT, &ctx->style.menu_button, ctx->style.font, in)) is_clicked = nk_true; return nk_menu_begin(ctx, win, title, is_clicked, header, size); } NK_API nk_bool nk_menu_begin_symbol_label(struct nk_context *ctx, const char *title, nk_flags align, enum nk_symbol_type sym, struct nk_vec2 size ) { return nk_menu_begin_symbol_text(ctx, title, nk_strlen(title), align,sym,size); } NK_API nk_bool nk_menu_item_text(struct nk_context *ctx, const char *title, int len, nk_flags align) { return nk_contextual_item_text(ctx, title, len, align); } NK_API nk_bool nk_menu_item_label(struct nk_context *ctx, const char *label, nk_flags align) { return nk_contextual_item_label(ctx, label, align); } NK_API nk_bool nk_menu_item_image_label(struct nk_context *ctx, struct nk_image img, const char *label, nk_flags align) { return nk_contextual_item_image_label(ctx, img, label, align); } NK_API nk_bool nk_menu_item_image_text(struct nk_context *ctx, struct nk_image img, const char *text, int len, nk_flags align) { return nk_contextual_item_image_text(ctx, img, text, len, align); } NK_API nk_bool nk_menu_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym, const char *text, int len, nk_flags align) { return nk_contextual_item_symbol_text(ctx, sym, text, len, align); } NK_API nk_bool nk_menu_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym, const char *label, nk_flags align) { return nk_contextual_item_symbol_label(ctx, sym, label, align); } NK_API void nk_menu_close(struct nk_context *ctx) { nk_contextual_close(ctx); } NK_API void nk_menu_end(struct nk_context *ctx) { nk_contextual_end(ctx); } /* =============================================================== * * LAYOUT * * ===============================================================*/ NK_API void nk_layout_set_min_row_height(struct nk_context *ctx, float height) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; layout->row.min_height = height; } NK_API void nk_layout_reset_min_row_height(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; layout->row.min_height = ctx->style.font->height; layout->row.min_height += ctx->style.text.padding.y*2; layout->row.min_height += ctx->style.window.min_row_height_padding*2; } NK_LIB float nk_layout_row_calculate_usable_space(const struct nk_style *style, enum nk_panel_type type, float total_space, int columns) { float panel_spacing; float panel_space; struct nk_vec2 spacing; spacing = style->window.spacing; /* calculate the usable panel space */ panel_spacing = (float)NK_MAX(columns - 1, 0) * spacing.x; panel_space = total_space - panel_spacing; return panel_space; } NK_LIB void nk_panel_layout(const struct nk_context *ctx, struct nk_window *win, float height, int cols) { struct nk_panel *layout; const struct nk_style *style; struct nk_command_buffer *out; struct nk_vec2 item_spacing; struct nk_color color; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; /* prefetch some configuration data */ layout = win->layout; style = &ctx->style; out = &win->buffer; color = style->window.background; item_spacing = style->window.spacing; /* if one of these triggers you forgot to add an `if` condition around either a window, group, popup, combobox or contextual menu `begin` and `end` block. Example: if (nk_begin(...) {...} nk_end(...); or if (nk_group_begin(...) { nk_group_end(...);} */ NK_ASSERT(!(layout->flags & NK_WINDOW_MINIMIZED)); NK_ASSERT(!(layout->flags & NK_WINDOW_HIDDEN)); NK_ASSERT(!(layout->flags & NK_WINDOW_CLOSED)); /* update the current row and set the current row layout */ layout->row.index = 0; layout->at_y += layout->row.height; layout->row.columns = cols; if (height == 0.0f) layout->row.height = NK_MAX(height, layout->row.min_height) + item_spacing.y; else layout->row.height = height + item_spacing.y; layout->row.item_offset = 0; if (layout->flags & NK_WINDOW_DYNAMIC) { /* draw background for dynamic panels */ struct nk_rect background; background.x = win->bounds.x; background.w = win->bounds.w; background.y = layout->at_y - 1.0f; background.h = layout->row.height + 1.0f; nk_fill_rect(out, background, 0, color); } } NK_LIB void nk_row_layout(struct nk_context *ctx, enum nk_layout_format fmt, float height, int cols, int width) { /* update the current row and set the current row layout */ struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; nk_panel_layout(ctx, win, height, cols); if (fmt == NK_DYNAMIC) win->layout->row.type = NK_LAYOUT_DYNAMIC_FIXED; else win->layout->row.type = NK_LAYOUT_STATIC_FIXED; win->layout->row.ratio = 0; win->layout->row.filled = 0; win->layout->row.item_offset = 0; win->layout->row.item_width = (float)width; } NK_API float nk_layout_ratio_from_pixel(struct nk_context *ctx, float pixel_width) { struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(pixel_width); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; return NK_CLAMP(0.0f, pixel_width/win->bounds.x, 1.0f); } NK_API void nk_layout_row_dynamic(struct nk_context *ctx, float height, int cols) { nk_row_layout(ctx, NK_DYNAMIC, height, cols, 0); } NK_API void nk_layout_row_static(struct nk_context *ctx, float height, int item_width, int cols) { nk_row_layout(ctx, NK_STATIC, height, cols, item_width); } NK_API void nk_layout_row_begin(struct nk_context *ctx, enum nk_layout_format fmt, float row_height, int cols) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; nk_panel_layout(ctx, win, row_height, cols); if (fmt == NK_DYNAMIC) layout->row.type = NK_LAYOUT_DYNAMIC_ROW; else layout->row.type = NK_LAYOUT_STATIC_ROW; layout->row.ratio = 0; layout->row.filled = 0; layout->row.item_width = 0; layout->row.item_offset = 0; layout->row.columns = cols; } NK_API void nk_layout_row_push(struct nk_context *ctx, float ratio_or_width) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_STATIC_ROW || layout->row.type == NK_LAYOUT_DYNAMIC_ROW); if (layout->row.type != NK_LAYOUT_STATIC_ROW && layout->row.type != NK_LAYOUT_DYNAMIC_ROW) return; if (layout->row.type == NK_LAYOUT_DYNAMIC_ROW) { float ratio = ratio_or_width; if ((ratio + layout->row.filled) > 1.0f) return; if (ratio > 0.0f) layout->row.item_width = NK_SATURATE(ratio); else layout->row.item_width = 1.0f - layout->row.filled; } else layout->row.item_width = ratio_or_width; } NK_API void nk_layout_row_end(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_STATIC_ROW || layout->row.type == NK_LAYOUT_DYNAMIC_ROW); if (layout->row.type != NK_LAYOUT_STATIC_ROW && layout->row.type != NK_LAYOUT_DYNAMIC_ROW) return; layout->row.item_width = 0; layout->row.item_offset = 0; } NK_API void nk_layout_row(struct nk_context *ctx, enum nk_layout_format fmt, float height, int cols, const float *ratio) { int i; int n_undef = 0; struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; nk_panel_layout(ctx, win, height, cols); if (fmt == NK_DYNAMIC) { /* calculate width of undefined widget ratios */ float r = 0; layout->row.ratio = ratio; for (i = 0; i < cols; ++i) { if (ratio[i] < 0.0f) n_undef++; else r += ratio[i]; } r = NK_SATURATE(1.0f - r); layout->row.type = NK_LAYOUT_DYNAMIC; layout->row.item_width = (r > 0 && n_undef > 0) ? (r / (float)n_undef):0; } else { layout->row.ratio = ratio; layout->row.type = NK_LAYOUT_STATIC; layout->row.item_width = 0; layout->row.item_offset = 0; } layout->row.item_offset = 0; layout->row.filled = 0; } NK_API void nk_layout_row_template_begin(struct nk_context *ctx, float height) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; nk_panel_layout(ctx, win, height, 1); layout->row.type = NK_LAYOUT_TEMPLATE; layout->row.columns = 0; layout->row.ratio = 0; layout->row.item_width = 0; layout->row.item_height = 0; layout->row.item_offset = 0; layout->row.filled = 0; layout->row.item.x = 0; layout->row.item.y = 0; layout->row.item.w = 0; layout->row.item.h = 0; } NK_API void nk_layout_row_template_push_dynamic(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_TEMPLATE); NK_ASSERT(layout->row.columns < NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS); if (layout->row.type != NK_LAYOUT_TEMPLATE) return; if (layout->row.columns >= NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS) return; layout->row.templates[layout->row.columns++] = -1.0f; } NK_API void nk_layout_row_template_push_variable(struct nk_context *ctx, float min_width) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_TEMPLATE); NK_ASSERT(layout->row.columns < NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS); if (layout->row.type != NK_LAYOUT_TEMPLATE) return; if (layout->row.columns >= NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS) return; layout->row.templates[layout->row.columns++] = -min_width; } NK_API void nk_layout_row_template_push_static(struct nk_context *ctx, float width) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_TEMPLATE); NK_ASSERT(layout->row.columns < NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS); if (layout->row.type != NK_LAYOUT_TEMPLATE) return; if (layout->row.columns >= NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS) return; layout->row.templates[layout->row.columns++] = width; } NK_API void nk_layout_row_template_end(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; int i = 0; int variable_count = 0; int min_variable_count = 0; float min_fixed_width = 0.0f; float total_fixed_width = 0.0f; float max_variable_width = 0.0f; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; NK_ASSERT(layout->row.type == NK_LAYOUT_TEMPLATE); if (layout->row.type != NK_LAYOUT_TEMPLATE) return; for (i = 0; i < layout->row.columns; ++i) { float width = layout->row.templates[i]; if (width >= 0.0f) { total_fixed_width += width; min_fixed_width += width; } else if (width < -1.0f) { width = -width; total_fixed_width += width; max_variable_width = NK_MAX(max_variable_width, width); variable_count++; } else { min_variable_count++; variable_count++; } } if (variable_count) { float space = nk_layout_row_calculate_usable_space(&ctx->style, layout->type, layout->bounds.w, layout->row.columns); float var_width = (NK_MAX(space-min_fixed_width,0.0f)) / (float)variable_count; int enough_space = var_width >= max_variable_width; if (!enough_space) var_width = (NK_MAX(space-total_fixed_width,0)) / (float)min_variable_count; for (i = 0; i < layout->row.columns; ++i) { float *width = &layout->row.templates[i]; *width = (*width >= 0.0f)? *width: (*width < -1.0f && !enough_space)? -(*width): var_width; } } } NK_API void nk_layout_space_begin(struct nk_context *ctx, enum nk_layout_format fmt, float height, int widget_count) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; nk_panel_layout(ctx, win, height, widget_count); if (fmt == NK_STATIC) layout->row.type = NK_LAYOUT_STATIC_FREE; else layout->row.type = NK_LAYOUT_DYNAMIC_FREE; layout->row.ratio = 0; layout->row.filled = 0; layout->row.item_width = 0; layout->row.item_offset = 0; } NK_API void nk_layout_space_end(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; layout->row.item_width = 0; layout->row.item_height = 0; layout->row.item_offset = 0; nk_zero(&layout->row.item, sizeof(layout->row.item)); } NK_API void nk_layout_space_push(struct nk_context *ctx, struct nk_rect rect) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; layout->row.item = rect; } NK_API struct nk_rect nk_layout_space_bounds(struct nk_context *ctx) { struct nk_rect ret; struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x = layout->clip.x; ret.y = layout->clip.y; ret.w = layout->clip.w; ret.h = layout->row.height; return ret; } NK_API struct nk_rect nk_layout_widget_bounds(struct nk_context *ctx) { struct nk_rect ret; struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x = layout->at_x; ret.y = layout->at_y; ret.w = layout->bounds.w - NK_MAX(layout->at_x - layout->bounds.x,0); ret.h = layout->row.height; return ret; } NK_API struct nk_vec2 nk_layout_space_to_screen(struct nk_context *ctx, struct nk_vec2 ret) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x += layout->at_x - (float)*layout->offset_x; ret.y += layout->at_y - (float)*layout->offset_y; return ret; } NK_API struct nk_vec2 nk_layout_space_to_local(struct nk_context *ctx, struct nk_vec2 ret) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x += -layout->at_x + (float)*layout->offset_x; ret.y += -layout->at_y + (float)*layout->offset_y; return ret; } NK_API struct nk_rect nk_layout_space_rect_to_screen(struct nk_context *ctx, struct nk_rect ret) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x += layout->at_x - (float)*layout->offset_x; ret.y += layout->at_y - (float)*layout->offset_y; return ret; } NK_API struct nk_rect nk_layout_space_rect_to_local(struct nk_context *ctx, struct nk_rect ret) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); win = ctx->current; layout = win->layout; ret.x += -layout->at_x + (float)*layout->offset_x; ret.y += -layout->at_y + (float)*layout->offset_y; return ret; } NK_LIB void nk_panel_alloc_row(const struct nk_context *ctx, struct nk_window *win) { struct nk_panel *layout = win->layout; struct nk_vec2 spacing = ctx->style.window.spacing; const float row_height = layout->row.height - spacing.y; nk_panel_layout(ctx, win, row_height, layout->row.columns); } NK_LIB void nk_layout_widget_space(struct nk_rect *bounds, const struct nk_context *ctx, struct nk_window *win, int modify) { struct nk_panel *layout; const struct nk_style *style; struct nk_vec2 spacing; float item_offset = 0; float item_width = 0; float item_spacing = 0; float panel_space = 0; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; style = &ctx->style; NK_ASSERT(bounds); spacing = style->window.spacing; panel_space = nk_layout_row_calculate_usable_space(&ctx->style, layout->type, layout->bounds.w, layout->row.columns); #define NK_FRAC(x) (x - (int)x) /* will be used to remove fookin gaps */ /* calculate the width of one item inside the current layout space */ switch (layout->row.type) { case NK_LAYOUT_DYNAMIC_FIXED: { /* scaling fixed size widgets item width */ float w = NK_MAX(1.0f,panel_space) / (float)layout->row.columns; item_offset = (float)layout->row.index * w; item_width = w + NK_FRAC(item_offset); item_spacing = (float)layout->row.index * spacing.x; } break; case NK_LAYOUT_DYNAMIC_ROW: { /* scaling single ratio widget width */ float w = layout->row.item_width * panel_space; item_offset = layout->row.item_offset; item_width = w + NK_FRAC(item_offset); item_spacing = 0; if (modify) { layout->row.item_offset += w + spacing.x; layout->row.filled += layout->row.item_width; layout->row.index = 0; } } break; case NK_LAYOUT_DYNAMIC_FREE: { /* panel width depended free widget placing */ bounds->x = layout->at_x + (layout->bounds.w * layout->row.item.x); bounds->x -= (float)*layout->offset_x; bounds->y = layout->at_y + (layout->row.height * layout->row.item.y); bounds->y -= (float)*layout->offset_y; bounds->w = layout->bounds.w * layout->row.item.w + NK_FRAC(bounds->x); bounds->h = layout->row.height * layout->row.item.h + NK_FRAC(bounds->y); return; } case NK_LAYOUT_DYNAMIC: { /* scaling arrays of panel width ratios for every widget */ float ratio, w; NK_ASSERT(layout->row.ratio); ratio = (layout->row.ratio[layout->row.index] < 0) ? layout->row.item_width : layout->row.ratio[layout->row.index]; w = (ratio * panel_space); item_spacing = (float)layout->row.index * spacing.x; item_offset = layout->row.item_offset; item_width = w + NK_FRAC(item_offset); if (modify) { layout->row.item_offset += w; layout->row.filled += ratio; } } break; case NK_LAYOUT_STATIC_FIXED: { /* non-scaling fixed widgets item width */ item_width = layout->row.item_width; item_offset = (float)layout->row.index * item_width; item_spacing = (float)layout->row.index * spacing.x; } break; case NK_LAYOUT_STATIC_ROW: { /* scaling single ratio widget width */ item_width = layout->row.item_width; item_offset = layout->row.item_offset; item_spacing = (float)layout->row.index * spacing.x; if (modify) layout->row.item_offset += item_width; } break; case NK_LAYOUT_STATIC_FREE: { /* free widget placing */ bounds->x = layout->at_x + layout->row.item.x; bounds->w = layout->row.item.w; if (((bounds->x + bounds->w) > layout->max_x) && modify) layout->max_x = (bounds->x + bounds->w); bounds->x -= (float)*layout->offset_x; bounds->y = layout->at_y + layout->row.item.y; bounds->y -= (float)*layout->offset_y; bounds->h = layout->row.item.h; return; } case NK_LAYOUT_STATIC: { /* non-scaling array of panel pixel width for every widget */ item_spacing = (float)layout->row.index * spacing.x; item_width = layout->row.ratio[layout->row.index]; item_offset = layout->row.item_offset; if (modify) layout->row.item_offset += item_width; } break; case NK_LAYOUT_TEMPLATE: { /* stretchy row layout with combined dynamic/static widget width*/ float w; NK_ASSERT(layout->row.index < layout->row.columns); NK_ASSERT(layout->row.index < NK_MAX_LAYOUT_ROW_TEMPLATE_COLUMNS); w = layout->row.templates[layout->row.index]; item_offset = layout->row.item_offset; item_width = w + NK_FRAC(item_offset); item_spacing = (float)layout->row.index * spacing.x; if (modify) layout->row.item_offset += w; } break; #undef NK_FRAC default: NK_ASSERT(0); break; }; /* set the bounds of the newly allocated widget */ bounds->w = item_width; bounds->h = layout->row.height - spacing.y; bounds->y = layout->at_y - (float)*layout->offset_y; bounds->x = layout->at_x + item_offset + item_spacing; if (((bounds->x + bounds->w) > layout->max_x) && modify) layout->max_x = bounds->x + bounds->w; bounds->x -= (float)*layout->offset_x; } NK_LIB void nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx) { struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; /* check if the end of the row has been hit and begin new row if so */ win = ctx->current; layout = win->layout; if (layout->row.index >= layout->row.columns) nk_panel_alloc_row(ctx, win); /* calculate widget position and size */ nk_layout_widget_space(bounds, ctx, win, nk_true); layout->row.index++; } NK_LIB void nk_layout_peek(struct nk_rect *bounds, struct nk_context *ctx) { float y; int index; struct nk_window *win; struct nk_panel *layout; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; y = layout->at_y; index = layout->row.index; if (layout->row.index >= layout->row.columns) { layout->at_y += layout->row.height; layout->row.index = 0; } nk_layout_widget_space(bounds, ctx, win, nk_false); if (!layout->row.index) { bounds->x -= layout->row.item_offset; } layout->at_y = y; layout->row.index = index; } /* =============================================================== * * TREE * * ===============================================================*/ NK_INTERN int nk_tree_state_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, enum nk_collapse_states *state) { struct nk_window *win; struct nk_panel *layout; const struct nk_style *style; struct nk_command_buffer *out; const struct nk_input *in; const struct nk_style_button *button; enum nk_symbol_type symbol; float row_height; struct nk_vec2 item_spacing; struct nk_rect header = {0,0,0,0}; struct nk_rect sym = {0,0,0,0}; struct nk_text text; nk_flags ws = 0; enum nk_widget_layout_states widget_state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; /* cache some data */ win = ctx->current; layout = win->layout; out = &win->buffer; style = &ctx->style; item_spacing = style->window.spacing; /* calculate header bounds and draw background */ row_height = style->font->height + 2 * style->tab.padding.y; nk_layout_set_min_row_height(ctx, row_height); nk_layout_row_dynamic(ctx, row_height, 1); nk_layout_reset_min_row_height(ctx); widget_state = nk_widget(&header, ctx); if (type == NK_TREE_TAB) { const struct nk_style_item *background = &style->tab.background; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, header, &background->data.image, nk_white); text.background = nk_rgba(0,0,0,0); } else { text.background = background->data.color; nk_fill_rect(out, header, 0, style->tab.border_color); nk_fill_rect(out, nk_shrink_rect(header, style->tab.border), style->tab.rounding, background->data.color); } } else text.background = style->window.background; /* update node state */ in = (!(layout->flags & NK_WINDOW_ROM)) ? &ctx->input: 0; in = (in && widget_state == NK_WIDGET_VALID) ? &ctx->input : 0; if (nk_button_behavior(&ws, header, in, NK_BUTTON_DEFAULT)) *state = (*state == NK_MAXIMIZED) ? NK_MINIMIZED : NK_MAXIMIZED; /* select correct button style */ if (*state == NK_MAXIMIZED) { symbol = style->tab.sym_maximize; if (type == NK_TREE_TAB) button = &style->tab.tab_maximize_button; else button = &style->tab.node_maximize_button; } else { symbol = style->tab.sym_minimize; if (type == NK_TREE_TAB) button = &style->tab.tab_minimize_button; else button = &style->tab.node_minimize_button; } {/* draw triangle button */ sym.w = sym.h = style->font->height; sym.y = header.y + style->tab.padding.y; sym.x = header.x + style->tab.padding.x; nk_do_button_symbol(&ws, &win->buffer, sym, symbol, NK_BUTTON_DEFAULT, button, 0, style->font); if (img) { /* draw optional image icon */ sym.x = sym.x + sym.w + 4 * item_spacing.x; nk_draw_image(&win->buffer, sym, img, nk_white); sym.w = style->font->height + style->tab.spacing.x;} } {/* draw label */ struct nk_rect label; header.w = NK_MAX(header.w, sym.w + item_spacing.x); label.x = sym.x + sym.w + item_spacing.x; label.y = sym.y; label.w = header.w - (sym.w + item_spacing.y + style->tab.indent); label.h = style->font->height; text.text = style->tab.text; text.padding = nk_vec2(0,0); nk_widget_text(out, label, title, nk_strlen(title), &text, NK_TEXT_LEFT, style->font);} /* increase x-axis cursor widget position pointer */ if (*state == NK_MAXIMIZED) { layout->at_x = header.x + (float)*layout->offset_x + style->tab.indent; layout->bounds.w = NK_MAX(layout->bounds.w, style->tab.indent); layout->bounds.w -= (style->tab.indent + style->window.padding.x); layout->row.tree_depth++; return nk_true; } else return nk_false; } NK_INTERN int nk_tree_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, enum nk_collapse_states initial_state, const char *hash, int len, int line) { struct nk_window *win = ctx->current; int title_len = 0; nk_hash tree_hash = 0; nk_uint *state = 0; /* retrieve tree state from internal widget state tables */ if (!hash) { title_len = (int)nk_strlen(title); tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line); } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line); state = nk_find_value(win, tree_hash); if (!state) { state = nk_add_value(ctx, win, tree_hash, 0); *state = initial_state; } return nk_tree_state_base(ctx, type, img, title, (enum nk_collapse_states*)state); } NK_API nk_bool nk_tree_state_push(struct nk_context *ctx, enum nk_tree_type type, const char *title, enum nk_collapse_states *state) { return nk_tree_state_base(ctx, type, 0, title, state); } NK_API nk_bool nk_tree_state_image_push(struct nk_context *ctx, enum nk_tree_type type, struct nk_image img, const char *title, enum nk_collapse_states *state) { return nk_tree_state_base(ctx, type, &img, title, state); } NK_API void nk_tree_state_pop(struct nk_context *ctx) { struct nk_window *win = 0; struct nk_panel *layout = 0; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; layout->at_x -= ctx->style.tab.indent + (float)*layout->offset_x; layout->bounds.w += ctx->style.tab.indent + ctx->style.window.padding.x; NK_ASSERT(layout->row.tree_depth); layout->row.tree_depth--; } NK_API nk_bool nk_tree_push_hashed(struct nk_context *ctx, enum nk_tree_type type, const char *title, enum nk_collapse_states initial_state, const char *hash, int len, int line) { return nk_tree_base(ctx, type, 0, title, initial_state, hash, len, line); } NK_API nk_bool nk_tree_image_push_hashed(struct nk_context *ctx, enum nk_tree_type type, struct nk_image img, const char *title, enum nk_collapse_states initial_state, const char *hash, int len,int seed) { return nk_tree_base(ctx, type, &img, title, initial_state, hash, len, seed); } NK_API void nk_tree_pop(struct nk_context *ctx) { nk_tree_state_pop(ctx); } NK_INTERN int nk_tree_element_image_push_hashed_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, int title_len, enum nk_collapse_states *state, nk_bool *selected) { struct nk_window *win; struct nk_panel *layout; const struct nk_style *style; struct nk_command_buffer *out; const struct nk_input *in; const struct nk_style_button *button; enum nk_symbol_type symbol; float row_height; struct nk_vec2 padding; int text_len; float text_width; struct nk_vec2 item_spacing; struct nk_rect header = {0,0,0,0}; struct nk_rect sym = {0,0,0,0}; nk_flags ws = 0; enum nk_widget_layout_states widget_state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; /* cache some data */ win = ctx->current; layout = win->layout; out = &win->buffer; style = &ctx->style; item_spacing = style->window.spacing; padding = style->selectable.padding; /* calculate header bounds and draw background */ row_height = style->font->height + 2 * style->tab.padding.y; nk_layout_set_min_row_height(ctx, row_height); nk_layout_row_dynamic(ctx, row_height, 1); nk_layout_reset_min_row_height(ctx); widget_state = nk_widget(&header, ctx); if (type == NK_TREE_TAB) { const struct nk_style_item *background = &style->tab.background; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, header, &background->data.image, nk_white); } else { nk_fill_rect(out, header, 0, style->tab.border_color); nk_fill_rect(out, nk_shrink_rect(header, style->tab.border), style->tab.rounding, background->data.color); } } in = (!(layout->flags & NK_WINDOW_ROM)) ? &ctx->input: 0; in = (in && widget_state == NK_WIDGET_VALID) ? &ctx->input : 0; /* select correct button style */ if (*state == NK_MAXIMIZED) { symbol = style->tab.sym_maximize; if (type == NK_TREE_TAB) button = &style->tab.tab_maximize_button; else button = &style->tab.node_maximize_button; } else { symbol = style->tab.sym_minimize; if (type == NK_TREE_TAB) button = &style->tab.tab_minimize_button; else button = &style->tab.node_minimize_button; } {/* draw triangle button */ sym.w = sym.h = style->font->height; sym.y = header.y + style->tab.padding.y; sym.x = header.x + style->tab.padding.x; if (nk_do_button_symbol(&ws, &win->buffer, sym, symbol, NK_BUTTON_DEFAULT, button, in, style->font)) *state = (*state == NK_MAXIMIZED) ? NK_MINIMIZED : NK_MAXIMIZED;} /* draw label */ {nk_flags dummy = 0; struct nk_rect label; /* calculate size of the text and tooltip */ text_len = nk_strlen(title); text_width = style->font->width(style->font->userdata, style->font->height, title, text_len); text_width += (4 * padding.x); header.w = NK_MAX(header.w, sym.w + item_spacing.x); label.x = sym.x + sym.w + item_spacing.x; label.y = sym.y; label.w = NK_MIN(header.w - (sym.w + item_spacing.y + style->tab.indent), text_width); label.h = style->font->height; if (img) { nk_do_selectable_image(&dummy, &win->buffer, label, title, title_len, NK_TEXT_LEFT, selected, img, &style->selectable, in, style->font); } else nk_do_selectable(&dummy, &win->buffer, label, title, title_len, NK_TEXT_LEFT, selected, &style->selectable, in, style->font); } /* increase x-axis cursor widget position pointer */ if (*state == NK_MAXIMIZED) { layout->at_x = header.x + (float)*layout->offset_x + style->tab.indent; layout->bounds.w = NK_MAX(layout->bounds.w, style->tab.indent); layout->bounds.w -= (style->tab.indent + style->window.padding.x); layout->row.tree_depth++; return nk_true; } else return nk_false; } NK_INTERN int nk_tree_element_base(struct nk_context *ctx, enum nk_tree_type type, struct nk_image *img, const char *title, enum nk_collapse_states initial_state, nk_bool *selected, const char *hash, int len, int line) { struct nk_window *win = ctx->current; int title_len = 0; nk_hash tree_hash = 0; nk_uint *state = 0; /* retrieve tree state from internal widget state tables */ if (!hash) { title_len = (int)nk_strlen(title); tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line); } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line); state = nk_find_value(win, tree_hash); if (!state) { state = nk_add_value(ctx, win, tree_hash, 0); *state = initial_state; } return nk_tree_element_image_push_hashed_base(ctx, type, img, title, nk_strlen(title), (enum nk_collapse_states*)state, selected); } NK_API nk_bool nk_tree_element_push_hashed(struct nk_context *ctx, enum nk_tree_type type, const char *title, enum nk_collapse_states initial_state, nk_bool *selected, const char *hash, int len, int seed) { return nk_tree_element_base(ctx, type, 0, title, initial_state, selected, hash, len, seed); } NK_API nk_bool nk_tree_element_image_push_hashed(struct nk_context *ctx, enum nk_tree_type type, struct nk_image img, const char *title, enum nk_collapse_states initial_state, nk_bool *selected, const char *hash, int len,int seed) { return nk_tree_element_base(ctx, type, &img, title, initial_state, selected, hash, len, seed); } NK_API void nk_tree_element_pop(struct nk_context *ctx) { nk_tree_state_pop(ctx); } /* =============================================================== * * GROUP * * ===============================================================*/ NK_API nk_bool nk_group_scrolled_offset_begin(struct nk_context *ctx, nk_uint *x_offset, nk_uint *y_offset, const char *title, nk_flags flags) { struct nk_rect bounds; struct nk_window panel; struct nk_window *win; win = ctx->current; nk_panel_alloc_space(&bounds, ctx); {const struct nk_rect *c = &win->layout->clip; if (!NK_INTERSECT(c->x, c->y, c->w, c->h, bounds.x, bounds.y, bounds.w, bounds.h) && !(flags & NK_WINDOW_MOVABLE)) { return 0; }} if (win->flags & NK_WINDOW_ROM) flags |= NK_WINDOW_ROM; /* initialize a fake window to create the panel from */ nk_zero(&panel, sizeof(panel)); panel.bounds = bounds; panel.flags = flags; panel.scrollbar.x = *x_offset; panel.scrollbar.y = *y_offset; panel.buffer = win->buffer; panel.layout = (struct nk_panel*)nk_create_panel(ctx); ctx->current = &panel; nk_panel_begin(ctx, (flags & NK_WINDOW_TITLE) ? title: 0, NK_PANEL_GROUP); win->buffer = panel.buffer; win->buffer.clip = panel.layout->clip; panel.layout->offset_x = x_offset; panel.layout->offset_y = y_offset; panel.layout->parent = win->layout; win->layout = panel.layout; ctx->current = win; if ((panel.layout->flags & NK_WINDOW_CLOSED) || (panel.layout->flags & NK_WINDOW_MINIMIZED)) { nk_flags f = panel.layout->flags; nk_group_scrolled_end(ctx); if (f & NK_WINDOW_CLOSED) return NK_WINDOW_CLOSED; if (f & NK_WINDOW_MINIMIZED) return NK_WINDOW_MINIMIZED; } return 1; } NK_API void nk_group_scrolled_end(struct nk_context *ctx) { struct nk_window *win; struct nk_panel *parent; struct nk_panel *g; struct nk_rect clip; struct nk_window pan; struct nk_vec2 panel_padding; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; /* make sure nk_group_begin was called correctly */ NK_ASSERT(ctx->current); win = ctx->current; NK_ASSERT(win->layout); g = win->layout; NK_ASSERT(g->parent); parent = g->parent; /* dummy window */ nk_zero_struct(pan); panel_padding = nk_panel_get_padding(&ctx->style, NK_PANEL_GROUP); pan.bounds.y = g->bounds.y - (g->header_height + g->menu.h); pan.bounds.x = g->bounds.x - panel_padding.x; pan.bounds.w = g->bounds.w + 2 * panel_padding.x; pan.bounds.h = g->bounds.h + g->header_height + g->menu.h; if (g->flags & NK_WINDOW_BORDER) { pan.bounds.x -= g->border; pan.bounds.y -= g->border; pan.bounds.w += 2*g->border; pan.bounds.h += 2*g->border; } if (!(g->flags & NK_WINDOW_NO_SCROLLBAR)) { pan.bounds.w += ctx->style.window.scrollbar_size.x; pan.bounds.h += ctx->style.window.scrollbar_size.y; } pan.scrollbar.x = *g->offset_x; pan.scrollbar.y = *g->offset_y; pan.flags = g->flags; pan.buffer = win->buffer; pan.layout = g; pan.parent = win; ctx->current = &pan; /* make sure group has correct clipping rectangle */ nk_unify(&clip, &parent->clip, pan.bounds.x, pan.bounds.y, pan.bounds.x + pan.bounds.w, pan.bounds.y + pan.bounds.h + panel_padding.x); nk_push_scissor(&pan.buffer, clip); nk_end(ctx); win->buffer = pan.buffer; nk_push_scissor(&win->buffer, parent->clip); ctx->current = win; win->layout = parent; g->bounds = pan.bounds; return; } NK_API nk_bool nk_group_scrolled_begin(struct nk_context *ctx, struct nk_scroll *scroll, const char *title, nk_flags flags) { return nk_group_scrolled_offset_begin(ctx, &scroll->x, &scroll->y, title, flags); } NK_API nk_bool nk_group_begin_titled(struct nk_context *ctx, const char *id, const char *title, nk_flags flags) { int id_len; nk_hash id_hash; struct nk_window *win; nk_uint *x_offset; nk_uint *y_offset; NK_ASSERT(ctx); NK_ASSERT(id); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !id) return 0; /* find persistent group scrollbar value */ win = ctx->current; id_len = (int)nk_strlen(id); id_hash = nk_murmur_hash(id, (int)id_len, NK_PANEL_GROUP); x_offset = nk_find_value(win, id_hash); if (!x_offset) { x_offset = nk_add_value(ctx, win, id_hash, 0); y_offset = nk_add_value(ctx, win, id_hash+1, 0); NK_ASSERT(x_offset); NK_ASSERT(y_offset); if (!x_offset || !y_offset) return 0; *x_offset = *y_offset = 0; } else y_offset = nk_find_value(win, id_hash+1); return nk_group_scrolled_offset_begin(ctx, x_offset, y_offset, title, flags); } NK_API nk_bool nk_group_begin(struct nk_context *ctx, const char *title, nk_flags flags) { return nk_group_begin_titled(ctx, title, title, flags); } NK_API void nk_group_end(struct nk_context *ctx) { nk_group_scrolled_end(ctx); } NK_API void nk_group_get_scroll(struct nk_context *ctx, const char *id, nk_uint *x_offset, nk_uint *y_offset) { int id_len; nk_hash id_hash; struct nk_window *win; nk_uint *x_offset_ptr; nk_uint *y_offset_ptr; NK_ASSERT(ctx); NK_ASSERT(id); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !id) return; /* find persistent group scrollbar value */ win = ctx->current; id_len = (int)nk_strlen(id); id_hash = nk_murmur_hash(id, (int)id_len, NK_PANEL_GROUP); x_offset_ptr = nk_find_value(win, id_hash); if (!x_offset_ptr) { x_offset_ptr = nk_add_value(ctx, win, id_hash, 0); y_offset_ptr = nk_add_value(ctx, win, id_hash+1, 0); NK_ASSERT(x_offset_ptr); NK_ASSERT(y_offset_ptr); if (!x_offset_ptr || !y_offset_ptr) return; *x_offset_ptr = *y_offset_ptr = 0; } else y_offset_ptr = nk_find_value(win, id_hash+1); if (x_offset) *x_offset = *x_offset_ptr; if (y_offset) *y_offset = *y_offset_ptr; } NK_API void nk_group_set_scroll(struct nk_context *ctx, const char *id, nk_uint x_offset, nk_uint y_offset) { int id_len; nk_hash id_hash; struct nk_window *win; nk_uint *x_offset_ptr; nk_uint *y_offset_ptr; NK_ASSERT(ctx); NK_ASSERT(id); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !id) return; /* find persistent group scrollbar value */ win = ctx->current; id_len = (int)nk_strlen(id); id_hash = nk_murmur_hash(id, (int)id_len, NK_PANEL_GROUP); x_offset_ptr = nk_find_value(win, id_hash); if (!x_offset_ptr) { x_offset_ptr = nk_add_value(ctx, win, id_hash, 0); y_offset_ptr = nk_add_value(ctx, win, id_hash+1, 0); NK_ASSERT(x_offset_ptr); NK_ASSERT(y_offset_ptr); if (!x_offset_ptr || !y_offset_ptr) return; *x_offset_ptr = *y_offset_ptr = 0; } else y_offset_ptr = nk_find_value(win, id_hash+1); *x_offset_ptr = x_offset; *y_offset_ptr = y_offset; } /* =============================================================== * * LIST VIEW * * ===============================================================*/ NK_API nk_bool nk_list_view_begin(struct nk_context *ctx, struct nk_list_view *view, const char *title, nk_flags flags, int row_height, int row_count) { int title_len; nk_hash title_hash; nk_uint *x_offset; nk_uint *y_offset; int result; struct nk_window *win; struct nk_panel *layout; const struct nk_style *style; struct nk_vec2 item_spacing; NK_ASSERT(ctx); NK_ASSERT(view); NK_ASSERT(title); if (!ctx || !view || !title) return 0; win = ctx->current; style = &ctx->style; item_spacing = style->window.spacing; row_height += NK_MAX(0, (int)item_spacing.y); /* find persistent list view scrollbar offset */ title_len = (int)nk_strlen(title); title_hash = nk_murmur_hash(title, (int)title_len, NK_PANEL_GROUP); x_offset = nk_find_value(win, title_hash); if (!x_offset) { x_offset = nk_add_value(ctx, win, title_hash, 0); y_offset = nk_add_value(ctx, win, title_hash+1, 0); NK_ASSERT(x_offset); NK_ASSERT(y_offset); if (!x_offset || !y_offset) return 0; *x_offset = *y_offset = 0; } else y_offset = nk_find_value(win, title_hash+1); view->scroll_value = *y_offset; view->scroll_pointer = y_offset; *y_offset = 0; result = nk_group_scrolled_offset_begin(ctx, x_offset, y_offset, title, flags); win = ctx->current; layout = win->layout; view->total_height = row_height * NK_MAX(row_count,1); view->begin = (int)NK_MAX(((float)view->scroll_value / (float)row_height), 0.0f); view->count = (int)NK_MAX(nk_iceilf((layout->clip.h)/(float)row_height),0); view->count = NK_MIN(view->count, row_count - view->begin); view->end = view->begin + view->count; view->ctx = ctx; return result; } NK_API void nk_list_view_end(struct nk_list_view *view) { struct nk_context *ctx; struct nk_window *win; struct nk_panel *layout; NK_ASSERT(view); NK_ASSERT(view->ctx); NK_ASSERT(view->scroll_pointer); if (!view || !view->ctx) return; ctx = view->ctx; win = ctx->current; layout = win->layout; layout->at_y = layout->bounds.y + (float)view->total_height; *view->scroll_pointer = *view->scroll_pointer + view->scroll_value; nk_group_end(view->ctx); } /* =============================================================== * * WIDGET * * ===============================================================*/ NK_API struct nk_rect nk_widget_bounds(struct nk_context *ctx) { struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_rect(0,0,0,0); nk_layout_peek(&bounds, ctx); return bounds; } NK_API struct nk_vec2 nk_widget_position(struct nk_context *ctx) { struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_vec2(0,0); nk_layout_peek(&bounds, ctx); return nk_vec2(bounds.x, bounds.y); } NK_API struct nk_vec2 nk_widget_size(struct nk_context *ctx) { struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return nk_vec2(0,0); nk_layout_peek(&bounds, ctx); return nk_vec2(bounds.w, bounds.h); } NK_API float nk_widget_width(struct nk_context *ctx) { struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; nk_layout_peek(&bounds, ctx); return bounds.w; } NK_API float nk_widget_height(struct nk_context *ctx) { struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return 0; nk_layout_peek(&bounds, ctx); return bounds.h; } NK_API nk_bool nk_widget_is_hovered(struct nk_context *ctx) { struct nk_rect c, v; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current || ctx->active != ctx->current) return 0; c = ctx->current->layout->clip; c.x = (float)((int)c.x); c.y = (float)((int)c.y); c.w = (float)((int)c.w); c.h = (float)((int)c.h); nk_layout_peek(&bounds, ctx); nk_unify(&v, &c, bounds.x, bounds.y, bounds.x + bounds.w, bounds.y + bounds.h); if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds.x, bounds.y, bounds.w, bounds.h)) return 0; return nk_input_is_mouse_hovering_rect(&ctx->input, bounds); } NK_API nk_bool nk_widget_is_mouse_clicked(struct nk_context *ctx, enum nk_buttons btn) { struct nk_rect c, v; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current || ctx->active != ctx->current) return 0; c = ctx->current->layout->clip; c.x = (float)((int)c.x); c.y = (float)((int)c.y); c.w = (float)((int)c.w); c.h = (float)((int)c.h); nk_layout_peek(&bounds, ctx); nk_unify(&v, &c, bounds.x, bounds.y, bounds.x + bounds.w, bounds.y + bounds.h); if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds.x, bounds.y, bounds.w, bounds.h)) return 0; return nk_input_mouse_clicked(&ctx->input, btn, bounds); } NK_API nk_bool nk_widget_has_mouse_click_down(struct nk_context *ctx, enum nk_buttons btn, nk_bool down) { struct nk_rect c, v; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current || ctx->active != ctx->current) return 0; c = ctx->current->layout->clip; c.x = (float)((int)c.x); c.y = (float)((int)c.y); c.w = (float)((int)c.w); c.h = (float)((int)c.h); nk_layout_peek(&bounds, ctx); nk_unify(&v, &c, bounds.x, bounds.y, bounds.x + bounds.w, bounds.y + bounds.h); if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds.x, bounds.y, bounds.w, bounds.h)) return 0; return nk_input_has_mouse_click_down_in_rect(&ctx->input, btn, bounds, down); } NK_API enum nk_widget_layout_states nk_widget(struct nk_rect *bounds, const struct nk_context *ctx) { struct nk_rect c, v; struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return NK_WIDGET_INVALID; /* allocate space and check if the widget needs to be updated and drawn */ nk_panel_alloc_space(bounds, ctx); win = ctx->current; layout = win->layout; in = &ctx->input; c = layout->clip; /* if one of these triggers you forgot to add an `if` condition around either a window, group, popup, combobox or contextual menu `begin` and `end` block. Example: if (nk_begin(...) {...} nk_end(...); or if (nk_group_begin(...) { nk_group_end(...);} */ NK_ASSERT(!(layout->flags & NK_WINDOW_MINIMIZED)); NK_ASSERT(!(layout->flags & NK_WINDOW_HIDDEN)); NK_ASSERT(!(layout->flags & NK_WINDOW_CLOSED)); /* need to convert to int here to remove floating point errors */ bounds->x = (float)((int)bounds->x); bounds->y = (float)((int)bounds->y); bounds->w = (float)((int)bounds->w); bounds->h = (float)((int)bounds->h); c.x = (float)((int)c.x); c.y = (float)((int)c.y); c.w = (float)((int)c.w); c.h = (float)((int)c.h); nk_unify(&v, &c, bounds->x, bounds->y, bounds->x + bounds->w, bounds->y + bounds->h); if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds->x, bounds->y, bounds->w, bounds->h)) return NK_WIDGET_INVALID; if (!NK_INBOX(in->mouse.pos.x, in->mouse.pos.y, v.x, v.y, v.w, v.h)) return NK_WIDGET_ROM; return NK_WIDGET_VALID; } NK_API enum nk_widget_layout_states nk_widget_fitting(struct nk_rect *bounds, struct nk_context *ctx, struct nk_vec2 item_padding) { /* update the bounds to stand without padding */ enum nk_widget_layout_states state; NK_UNUSED(item_padding); NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return NK_WIDGET_INVALID; state = nk_widget(bounds, ctx); return state; } NK_API void nk_spacing(struct nk_context *ctx, int cols) { struct nk_window *win; struct nk_panel *layout; struct nk_rect none; int i, index, rows; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; /* spacing over row boundaries */ win = ctx->current; layout = win->layout; index = (layout->row.index + cols) % layout->row.columns; rows = (layout->row.index + cols) / layout->row.columns; if (rows) { for (i = 0; i < rows; ++i) nk_panel_alloc_row(ctx, win); cols = index; } /* non table layout need to allocate space */ if (layout->row.type != NK_LAYOUT_DYNAMIC_FIXED && layout->row.type != NK_LAYOUT_STATIC_FIXED) { for (i = 0; i < cols; ++i) nk_panel_alloc_space(&none, ctx); } layout->row.index = index; } /* =============================================================== * * TEXT * * ===============================================================*/ NK_LIB void nk_widget_text(struct nk_command_buffer *o, struct nk_rect b, const char *string, int len, const struct nk_text *t, nk_flags a, const struct nk_user_font *f) { struct nk_rect label; float text_width; NK_ASSERT(o); NK_ASSERT(t); if (!o || !t) return; b.h = NK_MAX(b.h, 2 * t->padding.y); label.x = 0; label.w = 0; label.y = b.y + t->padding.y; label.h = NK_MIN(f->height, b.h - 2 * t->padding.y); text_width = f->width(f->userdata, f->height, (const char*)string, len); text_width += (2.0f * t->padding.x); /* align in x-axis */ if (a & NK_TEXT_ALIGN_LEFT) { label.x = b.x + t->padding.x; label.w = NK_MAX(0, b.w - 2 * t->padding.x); } else if (a & NK_TEXT_ALIGN_CENTERED) { label.w = NK_MAX(1, 2 * t->padding.x + (float)text_width); label.x = (b.x + t->padding.x + ((b.w - 2 * t->padding.x) - label.w) / 2); label.x = NK_MAX(b.x + t->padding.x, label.x); label.w = NK_MIN(b.x + b.w, label.x + label.w); if (label.w >= label.x) label.w -= label.x; } else if (a & NK_TEXT_ALIGN_RIGHT) { label.x = NK_MAX(b.x + t->padding.x, (b.x + b.w) - (2 * t->padding.x + (float)text_width)); label.w = (float)text_width + 2 * t->padding.x; } else return; /* align in y-axis */ if (a & NK_TEXT_ALIGN_MIDDLE) { label.y = b.y + b.h/2.0f - (float)f->height/2.0f; label.h = NK_MAX(b.h/2.0f, b.h - (b.h/2.0f + f->height/2.0f)); } else if (a & NK_TEXT_ALIGN_BOTTOM) { label.y = b.y + b.h - f->height; label.h = f->height; } nk_draw_text(o, label, (const char*)string, len, f, t->background, t->text); } NK_LIB void nk_widget_text_wrap(struct nk_command_buffer *o, struct nk_rect b, const char *string, int len, const struct nk_text *t, const struct nk_user_font *f) { float width; int glyphs = 0; int fitting = 0; int done = 0; struct nk_rect line; struct nk_text text; NK_INTERN nk_rune seperator[] = {' '}; NK_ASSERT(o); NK_ASSERT(t); if (!o || !t) return; text.padding = nk_vec2(0,0); text.background = t->background; text.text = t->text; b.w = NK_MAX(b.w, 2 * t->padding.x); b.h = NK_MAX(b.h, 2 * t->padding.y); b.h = b.h - 2 * t->padding.y; line.x = b.x + t->padding.x; line.y = b.y + t->padding.y; line.w = b.w - 2 * t->padding.x; line.h = 2 * t->padding.y + f->height; fitting = nk_text_clamp(f, string, len, line.w, &glyphs, &width, seperator,NK_LEN(seperator)); while (done < len) { if (!fitting || line.y + line.h >= (b.y + b.h)) break; nk_widget_text(o, line, &string[done], fitting, &text, NK_TEXT_LEFT, f); done += fitting; line.y += f->height + 2 * t->padding.y; fitting = nk_text_clamp(f, &string[done], len - done, line.w, &glyphs, &width, seperator,NK_LEN(seperator)); } } NK_API void nk_text_colored(struct nk_context *ctx, const char *str, int len, nk_flags alignment, struct nk_color color) { struct nk_window *win; const struct nk_style *style; struct nk_vec2 item_padding; struct nk_rect bounds; struct nk_text text; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; style = &ctx->style; nk_panel_alloc_space(&bounds, ctx); item_padding = style->text.padding; text.padding.x = item_padding.x; text.padding.y = item_padding.y; text.background = style->window.background; text.text = color; nk_widget_text(&win->buffer, bounds, str, len, &text, alignment, style->font); } NK_API void nk_text_wrap_colored(struct nk_context *ctx, const char *str, int len, struct nk_color color) { struct nk_window *win; const struct nk_style *style; struct nk_vec2 item_padding; struct nk_rect bounds; struct nk_text text; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; style = &ctx->style; nk_panel_alloc_space(&bounds, ctx); item_padding = style->text.padding; text.padding.x = item_padding.x; text.padding.y = item_padding.y; text.background = style->window.background; text.text = color; nk_widget_text_wrap(&win->buffer, bounds, str, len, &text, style->font); } #ifdef NK_INCLUDE_STANDARD_VARARGS NK_API void nk_labelf_colored(struct nk_context *ctx, nk_flags flags, struct nk_color color, const char *fmt, ...) { va_list args; va_start(args, fmt); nk_labelfv_colored(ctx, flags, color, fmt, args); va_end(args); } NK_API void nk_labelf_colored_wrap(struct nk_context *ctx, struct nk_color color, const char *fmt, ...) { va_list args; va_start(args, fmt); nk_labelfv_colored_wrap(ctx, color, fmt, args); va_end(args); } NK_API void nk_labelf(struct nk_context *ctx, nk_flags flags, const char *fmt, ...) { va_list args; va_start(args, fmt); nk_labelfv(ctx, flags, fmt, args); va_end(args); } NK_API void nk_labelf_wrap(struct nk_context *ctx, const char *fmt,...) { va_list args; va_start(args, fmt); nk_labelfv_wrap(ctx, fmt, args); va_end(args); } NK_API void nk_labelfv_colored(struct nk_context *ctx, nk_flags flags, struct nk_color color, const char *fmt, va_list args) { char buf[256]; nk_strfmt(buf, NK_LEN(buf), fmt, args); nk_label_colored(ctx, buf, flags, color); } NK_API void nk_labelfv_colored_wrap(struct nk_context *ctx, struct nk_color color, const char *fmt, va_list args) { char buf[256]; nk_strfmt(buf, NK_LEN(buf), fmt, args); nk_label_colored_wrap(ctx, buf, color); } NK_API void nk_labelfv(struct nk_context *ctx, nk_flags flags, const char *fmt, va_list args) { char buf[256]; nk_strfmt(buf, NK_LEN(buf), fmt, args); nk_label(ctx, buf, flags); } NK_API void nk_labelfv_wrap(struct nk_context *ctx, const char *fmt, va_list args) { char buf[256]; nk_strfmt(buf, NK_LEN(buf), fmt, args); nk_label_wrap(ctx, buf); } NK_API void nk_value_bool(struct nk_context *ctx, const char *prefix, int value) { nk_labelf(ctx, NK_TEXT_LEFT, "%s: %s", prefix, ((value) ? "true": "false")); } NK_API void nk_value_int(struct nk_context *ctx, const char *prefix, int value) { nk_labelf(ctx, NK_TEXT_LEFT, "%s: %d", prefix, value); } NK_API void nk_value_uint(struct nk_context *ctx, const char *prefix, unsigned int value) { nk_labelf(ctx, NK_TEXT_LEFT, "%s: %u", prefix, value); } NK_API void nk_value_float(struct nk_context *ctx, const char *prefix, float value) { double double_value = (double)value; nk_labelf(ctx, NK_TEXT_LEFT, "%s: %.3f", prefix, double_value); } NK_API void nk_value_color_byte(struct nk_context *ctx, const char *p, struct nk_color c) { nk_labelf(ctx, NK_TEXT_LEFT, "%s: (%d, %d, %d, %d)", p, c.r, c.g, c.b, c.a); } NK_API void nk_value_color_float(struct nk_context *ctx, const char *p, struct nk_color color) { double c[4]; nk_color_dv(c, color); nk_labelf(ctx, NK_TEXT_LEFT, "%s: (%.2f, %.2f, %.2f, %.2f)", p, c[0], c[1], c[2], c[3]); } NK_API void nk_value_color_hex(struct nk_context *ctx, const char *prefix, struct nk_color color) { char hex[16]; nk_color_hex_rgba(hex, color); nk_labelf(ctx, NK_TEXT_LEFT, "%s: %s", prefix, hex); } #endif NK_API void nk_text(struct nk_context *ctx, const char *str, int len, nk_flags alignment) { NK_ASSERT(ctx); if (!ctx) return; nk_text_colored(ctx, str, len, alignment, ctx->style.text.color); } NK_API void nk_text_wrap(struct nk_context *ctx, const char *str, int len) { NK_ASSERT(ctx); if (!ctx) return; nk_text_wrap_colored(ctx, str, len, ctx->style.text.color); } NK_API void nk_label(struct nk_context *ctx, const char *str, nk_flags alignment) { nk_text(ctx, str, nk_strlen(str), alignment); } NK_API void nk_label_colored(struct nk_context *ctx, const char *str, nk_flags align, struct nk_color color) { nk_text_colored(ctx, str, nk_strlen(str), align, color); } NK_API void nk_label_wrap(struct nk_context *ctx, const char *str) { nk_text_wrap(ctx, str, nk_strlen(str)); } NK_API void nk_label_colored_wrap(struct nk_context *ctx, const char *str, struct nk_color color) { nk_text_wrap_colored(ctx, str, nk_strlen(str), color); } /* =============================================================== * * IMAGE * * ===============================================================*/ NK_API nk_handle nk_handle_ptr(void *ptr) { nk_handle handle = {0}; handle.ptr = ptr; return handle; } NK_API nk_handle nk_handle_id(int id) { nk_handle handle; nk_zero_struct(handle); handle.id = id; return handle; } NK_API struct nk_image nk_subimage_ptr(void *ptr, unsigned short w, unsigned short h, struct nk_rect r) { struct nk_image s; nk_zero(&s, sizeof(s)); s.handle.ptr = ptr; s.w = w; s.h = h; s.region[0] = (unsigned short)r.x; s.region[1] = (unsigned short)r.y; s.region[2] = (unsigned short)r.w; s.region[3] = (unsigned short)r.h; return s; } NK_API struct nk_image nk_subimage_id(int id, unsigned short w, unsigned short h, struct nk_rect r) { struct nk_image s; nk_zero(&s, sizeof(s)); s.handle.id = id; s.w = w; s.h = h; s.region[0] = (unsigned short)r.x; s.region[1] = (unsigned short)r.y; s.region[2] = (unsigned short)r.w; s.region[3] = (unsigned short)r.h; return s; } NK_API struct nk_image nk_subimage_handle(nk_handle handle, unsigned short w, unsigned short h, struct nk_rect r) { struct nk_image s; nk_zero(&s, sizeof(s)); s.handle = handle; s.w = w; s.h = h; s.region[0] = (unsigned short)r.x; s.region[1] = (unsigned short)r.y; s.region[2] = (unsigned short)r.w; s.region[3] = (unsigned short)r.h; return s; } NK_API struct nk_image nk_image_handle(nk_handle handle) { struct nk_image s; nk_zero(&s, sizeof(s)); s.handle = handle; s.w = 0; s.h = 0; s.region[0] = 0; s.region[1] = 0; s.region[2] = 0; s.region[3] = 0; return s; } NK_API struct nk_image nk_image_ptr(void *ptr) { struct nk_image s; nk_zero(&s, sizeof(s)); NK_ASSERT(ptr); s.handle.ptr = ptr; s.w = 0; s.h = 0; s.region[0] = 0; s.region[1] = 0; s.region[2] = 0; s.region[3] = 0; return s; } NK_API struct nk_image nk_image_id(int id) { struct nk_image s; nk_zero(&s, sizeof(s)); s.handle.id = id; s.w = 0; s.h = 0; s.region[0] = 0; s.region[1] = 0; s.region[2] = 0; s.region[3] = 0; return s; } NK_API nk_bool nk_image_is_subimage(const struct nk_image* img) { NK_ASSERT(img); return !(img->w == 0 && img->h == 0); } NK_API void nk_image(struct nk_context *ctx, struct nk_image img) { struct nk_window *win; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; if (!nk_widget(&bounds, ctx)) return; nk_draw_image(&win->buffer, bounds, &img, nk_white); } NK_API void nk_image_color(struct nk_context *ctx, struct nk_image img, struct nk_color col) { struct nk_window *win; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; if (!nk_widget(&bounds, ctx)) return; nk_draw_image(&win->buffer, bounds, &img, col); } /* ============================================================== * * BUTTON * * ===============================================================*/ NK_LIB void nk_draw_symbol(struct nk_command_buffer *out, enum nk_symbol_type type, struct nk_rect content, struct nk_color background, struct nk_color foreground, float border_width, const struct nk_user_font *font) { switch (type) { case NK_SYMBOL_X: case NK_SYMBOL_UNDERSCORE: case NK_SYMBOL_PLUS: case NK_SYMBOL_MINUS: { /* single character text symbol */ const char *X = (type == NK_SYMBOL_X) ? "x": (type == NK_SYMBOL_UNDERSCORE) ? "_": (type == NK_SYMBOL_PLUS) ? "+": "-"; struct nk_text text; text.padding = nk_vec2(0,0); text.background = background; text.text = foreground; nk_widget_text(out, content, X, 1, &text, NK_TEXT_CENTERED, font); } break; case NK_SYMBOL_CIRCLE_SOLID: case NK_SYMBOL_CIRCLE_OUTLINE: case NK_SYMBOL_RECT_SOLID: case NK_SYMBOL_RECT_OUTLINE: { /* simple empty/filled shapes */ if (type == NK_SYMBOL_RECT_SOLID || type == NK_SYMBOL_RECT_OUTLINE) { nk_fill_rect(out, content, 0, foreground); if (type == NK_SYMBOL_RECT_OUTLINE) nk_fill_rect(out, nk_shrink_rect(content, border_width), 0, background); } else { nk_fill_circle(out, content, foreground); if (type == NK_SYMBOL_CIRCLE_OUTLINE) nk_fill_circle(out, nk_shrink_rect(content, 1), background); } } break; case NK_SYMBOL_TRIANGLE_UP: case NK_SYMBOL_TRIANGLE_DOWN: case NK_SYMBOL_TRIANGLE_LEFT: case NK_SYMBOL_TRIANGLE_RIGHT: { enum nk_heading heading; struct nk_vec2 points[3]; heading = (type == NK_SYMBOL_TRIANGLE_RIGHT) ? NK_RIGHT : (type == NK_SYMBOL_TRIANGLE_LEFT) ? NK_LEFT: (type == NK_SYMBOL_TRIANGLE_UP) ? NK_UP: NK_DOWN; nk_triangle_from_direction(points, content, 0, 0, heading); nk_fill_triangle(out, points[0].x, points[0].y, points[1].x, points[1].y, points[2].x, points[2].y, foreground); } break; default: case NK_SYMBOL_NONE: case NK_SYMBOL_MAX: break; } } NK_LIB nk_bool nk_button_behavior(nk_flags *state, struct nk_rect r, const struct nk_input *i, enum nk_button_behavior behavior) { int ret = 0; nk_widget_state_reset(state); if (!i) return 0; if (nk_input_is_mouse_hovering_rect(i, r)) { *state = NK_WIDGET_STATE_HOVERED; if (nk_input_is_mouse_down(i, NK_BUTTON_LEFT)) *state = NK_WIDGET_STATE_ACTIVE; if (nk_input_has_mouse_click_in_rect(i, NK_BUTTON_LEFT, r)) { ret = (behavior != NK_BUTTON_DEFAULT) ? nk_input_is_mouse_down(i, NK_BUTTON_LEFT): #ifdef NK_BUTTON_TRIGGER_ON_RELEASE nk_input_is_mouse_released(i, NK_BUTTON_LEFT); #else nk_input_is_mouse_pressed(i, NK_BUTTON_LEFT); #endif } } if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(i, r)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(i, r)) *state |= NK_WIDGET_STATE_LEFT; return ret; } NK_LIB const struct nk_style_item* nk_draw_button(struct nk_command_buffer *out, const struct nk_rect *bounds, nk_flags state, const struct nk_style_button *style) { const struct nk_style_item *background; if (state & NK_WIDGET_STATE_HOVER) background = &style->hover; else if (state & NK_WIDGET_STATE_ACTIVED) background = &style->active; else background = &style->normal; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, *bounds, &background->data.image, nk_white); } else { nk_fill_rect(out, *bounds, style->rounding, background->data.color); nk_stroke_rect(out, *bounds, style->rounding, style->border, style->border_color); } return background; } NK_LIB nk_bool nk_do_button(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, const struct nk_style_button *style, const struct nk_input *in, enum nk_button_behavior behavior, struct nk_rect *content) { struct nk_rect bounds; NK_ASSERT(style); NK_ASSERT(state); NK_ASSERT(out); if (!out || !style) return nk_false; /* calculate button content space */ content->x = r.x + style->padding.x + style->border + style->rounding; content->y = r.y + style->padding.y + style->border + style->rounding; content->w = r.w - (2 * style->padding.x + style->border + style->rounding*2); content->h = r.h - (2 * style->padding.y + style->border + style->rounding*2); /* execute button behavior */ bounds.x = r.x - style->touch_padding.x; bounds.y = r.y - style->touch_padding.y; bounds.w = r.w + 2 * style->touch_padding.x; bounds.h = r.h + 2 * style->touch_padding.y; return nk_button_behavior(state, bounds, in, behavior); } NK_LIB void nk_draw_button_text(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const char *txt, int len, nk_flags text_alignment, const struct nk_user_font *font) { struct nk_text text; const struct nk_style_item *background; background = nk_draw_button(out, bounds, state, style); /* select correct colors/images */ if (background->type == NK_STYLE_ITEM_COLOR) text.background = background->data.color; else text.background = style->text_background; if (state & NK_WIDGET_STATE_HOVER) text.text = style->text_hover; else if (state & NK_WIDGET_STATE_ACTIVED) text.text = style->text_active; else text.text = style->text_normal; text.padding = nk_vec2(0,0); nk_widget_text(out, *content, txt, len, &text, text_alignment, font); } NK_LIB nk_bool nk_do_button_text(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *string, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) { struct nk_rect content; int ret = nk_false; NK_ASSERT(state); NK_ASSERT(style); NK_ASSERT(out); NK_ASSERT(string); NK_ASSERT(font); if (!out || !style || !font || !string) return nk_false; ret = nk_do_button(state, out, bounds, style, in, behavior, &content); if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_button_text(out, &bounds, &content, *state, style, string, len, align, font); if (style->draw_end) style->draw_end(out, style->userdata); return ret; } NK_LIB void nk_draw_button_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, enum nk_symbol_type type, const struct nk_user_font *font) { struct nk_color sym, bg; const struct nk_style_item *background; /* select correct colors/images */ background = nk_draw_button(out, bounds, state, style); if (background->type == NK_STYLE_ITEM_COLOR) bg = background->data.color; else bg = style->text_background; if (state & NK_WIDGET_STATE_HOVER) sym = style->text_hover; else if (state & NK_WIDGET_STATE_ACTIVED) sym = style->text_active; else sym = style->text_normal; nk_draw_symbol(out, type, *content, bg, sym, 1, font); } NK_LIB nk_bool nk_do_button_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) { int ret; struct nk_rect content; NK_ASSERT(state); NK_ASSERT(style); NK_ASSERT(font); NK_ASSERT(out); if (!out || !style || !font || !state) return nk_false; ret = nk_do_button(state, out, bounds, style, in, behavior, &content); if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_button_symbol(out, &bounds, &content, *state, style, symbol, font); if (style->draw_end) style->draw_end(out, style->userdata); return ret; } NK_LIB void nk_draw_button_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const struct nk_image *img) { nk_draw_button(out, bounds, state, style); nk_draw_image(out, *content, img, nk_white); } NK_LIB nk_bool nk_do_button_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, enum nk_button_behavior b, const struct nk_style_button *style, const struct nk_input *in) { int ret; struct nk_rect content; NK_ASSERT(state); NK_ASSERT(style); NK_ASSERT(out); if (!out || !style || !state) return nk_false; ret = nk_do_button(state, out, bounds, style, in, b, &content); content.x += style->image_padding.x; content.y += style->image_padding.y; content.w -= 2 * style->image_padding.x; content.h -= 2 * style->image_padding.y; if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_button_image(out, &bounds, &content, *state, style, &img); if (style->draw_end) style->draw_end(out, style->userdata); return ret; } NK_LIB void nk_draw_button_text_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *symbol, nk_flags state, const struct nk_style_button *style, const char *str, int len, enum nk_symbol_type type, const struct nk_user_font *font) { struct nk_color sym; struct nk_text text; const struct nk_style_item *background; /* select correct background colors/images */ background = nk_draw_button(out, bounds, state, style); if (background->type == NK_STYLE_ITEM_COLOR) text.background = background->data.color; else text.background = style->text_background; /* select correct text colors */ if (state & NK_WIDGET_STATE_HOVER) { sym = style->text_hover; text.text = style->text_hover; } else if (state & NK_WIDGET_STATE_ACTIVED) { sym = style->text_active; text.text = style->text_active; } else { sym = style->text_normal; text.text = style->text_normal; } text.padding = nk_vec2(0,0); nk_draw_symbol(out, type, *symbol, style->text_background, sym, 0, font); nk_widget_text(out, *label, str, len, &text, NK_TEXT_CENTERED, font); } NK_LIB nk_bool nk_do_button_text_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, const char *str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) { int ret; struct nk_rect tri = {0,0,0,0}; struct nk_rect content; NK_ASSERT(style); NK_ASSERT(out); NK_ASSERT(font); if (!out || !style || !font) return nk_false; ret = nk_do_button(state, out, bounds, style, in, behavior, &content); tri.y = content.y + (content.h/2) - font->height/2; tri.w = font->height; tri.h = font->height; if (align & NK_TEXT_ALIGN_LEFT) { tri.x = (content.x + content.w) - (2 * style->padding.x + tri.w); tri.x = NK_MAX(tri.x, 0); } else tri.x = content.x + 2 * style->padding.x; /* draw button */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_button_text_symbol(out, &bounds, &content, &tri, *state, style, str, len, symbol, font); if (style->draw_end) style->draw_end(out, style->userdata); return ret; } NK_LIB void nk_draw_button_text_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *image, nk_flags state, const struct nk_style_button *style, const char *str, int len, const struct nk_user_font *font, const struct nk_image *img) { struct nk_text text; const struct nk_style_item *background; background = nk_draw_button(out, bounds, state, style); /* select correct colors */ if (background->type == NK_STYLE_ITEM_COLOR) text.background = background->data.color; else text.background = style->text_background; if (state & NK_WIDGET_STATE_HOVER) text.text = style->text_hover; else if (state & NK_WIDGET_STATE_ACTIVED) text.text = style->text_active; else text.text = style->text_normal; text.padding = nk_vec2(0,0); nk_widget_text(out, *label, str, len, &text, NK_TEXT_CENTERED, font); nk_draw_image(out, *image, img, nk_white); } NK_LIB nk_bool nk_do_button_text_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, const char* str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) { int ret; struct nk_rect icon; struct nk_rect content; NK_ASSERT(style); NK_ASSERT(state); NK_ASSERT(font); NK_ASSERT(out); if (!out || !font || !style || !str) return nk_false; ret = nk_do_button(state, out, bounds, style, in, behavior, &content); icon.y = bounds.y + style->padding.y; icon.w = icon.h = bounds.h - 2 * style->padding.y; if (align & NK_TEXT_ALIGN_LEFT) { icon.x = (bounds.x + bounds.w) - (2 * style->padding.x + icon.w); icon.x = NK_MAX(icon.x, 0); } else icon.x = bounds.x + 2 * style->padding.x; icon.x += style->image_padding.x; icon.y += style->image_padding.y; icon.w -= 2 * style->image_padding.x; icon.h -= 2 * style->image_padding.y; if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_button_text_image(out, &bounds, &content, &icon, *state, style, str, len, font, &img); if (style->draw_end) style->draw_end(out, style->userdata); return ret; } NK_API void nk_button_set_behavior(struct nk_context *ctx, enum nk_button_behavior behavior) { NK_ASSERT(ctx); if (!ctx) return; ctx->button_behavior = behavior; } NK_API nk_bool nk_button_push_behavior(struct nk_context *ctx, enum nk_button_behavior behavior) { struct nk_config_stack_button_behavior *button_stack; struct nk_config_stack_button_behavior_element *element; NK_ASSERT(ctx); if (!ctx) return 0; button_stack = &ctx->stacks.button_behaviors; NK_ASSERT(button_stack->head < (int)NK_LEN(button_stack->elements)); if (button_stack->head >= (int)NK_LEN(button_stack->elements)) return 0; element = &button_stack->elements[button_stack->head++]; element->address = &ctx->button_behavior; element->old_value = ctx->button_behavior; ctx->button_behavior = behavior; return 1; } NK_API nk_bool nk_button_pop_behavior(struct nk_context *ctx) { struct nk_config_stack_button_behavior *button_stack; struct nk_config_stack_button_behavior_element *element; NK_ASSERT(ctx); if (!ctx) return 0; button_stack = &ctx->stacks.button_behaviors; NK_ASSERT(button_stack->head > 0); if (button_stack->head < 1) return 0; element = &button_stack->elements[--button_stack->head]; *element->address = element->old_value; return 1; } NK_API nk_bool nk_button_text_styled(struct nk_context *ctx, const struct nk_style_button *style, const char *title, int len) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(style); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!style || !ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_button_text(&ctx->last_widget_state, &win->buffer, bounds, title, len, style->text_alignment, ctx->button_behavior, style, in, ctx->style.font); } NK_API nk_bool nk_button_text(struct nk_context *ctx, const char *title, int len) { NK_ASSERT(ctx); if (!ctx) return 0; return nk_button_text_styled(ctx, &ctx->style.button, title, len); } NK_API nk_bool nk_button_label_styled(struct nk_context *ctx, const struct nk_style_button *style, const char *title) { return nk_button_text_styled(ctx, style, title, nk_strlen(title)); } NK_API nk_bool nk_button_label(struct nk_context *ctx, const char *title) { return nk_button_text(ctx, title, nk_strlen(title)); } NK_API nk_bool nk_button_color(struct nk_context *ctx, struct nk_color color) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_style_button button; int ret = 0; struct nk_rect bounds; struct nk_rect content; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; button = ctx->style.button; button.normal = nk_style_item_color(color); button.hover = nk_style_item_color(color); button.active = nk_style_item_color(color); ret = nk_do_button(&ctx->last_widget_state, &win->buffer, bounds, &button, in, ctx->button_behavior, &content); nk_draw_button(&win->buffer, &bounds, ctx->last_widget_state, &button); return ret; } NK_API nk_bool nk_button_symbol_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_button_symbol(&ctx->last_widget_state, &win->buffer, bounds, symbol, ctx->button_behavior, style, in, ctx->style.font); } NK_API nk_bool nk_button_symbol(struct nk_context *ctx, enum nk_symbol_type symbol) { NK_ASSERT(ctx); if (!ctx) return 0; return nk_button_symbol_styled(ctx, &ctx->style.button, symbol); } NK_API nk_bool nk_button_image_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_button_image(&ctx->last_widget_state, &win->buffer, bounds, img, ctx->button_behavior, style, in); } NK_API nk_bool nk_button_image(struct nk_context *ctx, struct nk_image img) { NK_ASSERT(ctx); if (!ctx) return 0; return nk_button_image_styled(ctx, &ctx->style.button, img); } NK_API nk_bool nk_button_symbol_text_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *text, int len, nk_flags align) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_button_text_symbol(&ctx->last_widget_state, &win->buffer, bounds, symbol, text, len, align, ctx->button_behavior, style, ctx->style.font, in); } NK_API nk_bool nk_button_symbol_text(struct nk_context *ctx, enum nk_symbol_type symbol, const char* text, int len, nk_flags align) { NK_ASSERT(ctx); if (!ctx) return 0; return nk_button_symbol_text_styled(ctx, &ctx->style.button, symbol, text, len, align); } NK_API nk_bool nk_button_symbol_label(struct nk_context *ctx, enum nk_symbol_type symbol, const char *label, nk_flags align) { return nk_button_symbol_text(ctx, symbol, label, nk_strlen(label), align); } NK_API nk_bool nk_button_symbol_label_styled(struct nk_context *ctx, const struct nk_style_button *style, enum nk_symbol_type symbol, const char *title, nk_flags align) { return nk_button_symbol_text_styled(ctx, style, symbol, title, nk_strlen(title), align); } NK_API nk_bool nk_button_image_text_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img, const char *text, int len, nk_flags align) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_button_text_image(&ctx->last_widget_state, &win->buffer, bounds, img, text, len, align, ctx->button_behavior, style, ctx->style.font, in); } NK_API nk_bool nk_button_image_text(struct nk_context *ctx, struct nk_image img, const char *text, int len, nk_flags align) { return nk_button_image_text_styled(ctx, &ctx->style.button,img, text, len, align); } NK_API nk_bool nk_button_image_label(struct nk_context *ctx, struct nk_image img, const char *label, nk_flags align) { return nk_button_image_text(ctx, img, label, nk_strlen(label), align); } NK_API nk_bool nk_button_image_label_styled(struct nk_context *ctx, const struct nk_style_button *style, struct nk_image img, const char *label, nk_flags text_alignment) { return nk_button_image_text_styled(ctx, style, img, label, nk_strlen(label), text_alignment); } /* =============================================================== * * TOGGLE * * ===============================================================*/ NK_LIB nk_bool nk_toggle_behavior(const struct nk_input *in, struct nk_rect select, nk_flags *state, nk_bool active) { nk_widget_state_reset(state); if (nk_button_behavior(state, select, in, NK_BUTTON_DEFAULT)) { *state = NK_WIDGET_STATE_ACTIVE; active = !active; } if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, select)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, select)) *state |= NK_WIDGET_STATE_LEFT; return active; } NK_LIB void nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, nk_bool active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) { const struct nk_style_item *background; const struct nk_style_item *cursor; struct nk_text text; /* select correct colors/images */ if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; cursor = &style->cursor_hover; text.text = style->text_hover; } else if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->hover; cursor = &style->cursor_hover; text.text = style->text_active; } else { background = &style->normal; cursor = &style->cursor_normal; text.text = style->text_normal; } /* draw background and cursor */ if (background->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, *selector, 0, style->border_color); nk_fill_rect(out, nk_shrink_rect(*selector, style->border), 0, background->data.color); } else nk_draw_image(out, *selector, &background->data.image, nk_white); if (active) { if (cursor->type == NK_STYLE_ITEM_IMAGE) nk_draw_image(out, *cursors, &cursor->data.image, nk_white); else nk_fill_rect(out, *cursors, 0, cursor->data.color); } text.padding.x = 0; text.padding.y = 0; text.background = style->text_background; nk_widget_text(out, *label, string, len, &text, NK_TEXT_LEFT, font); } NK_LIB void nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, nk_bool active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) { const struct nk_style_item *background; const struct nk_style_item *cursor; struct nk_text text; /* select correct colors/images */ if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; cursor = &style->cursor_hover; text.text = style->text_hover; } else if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->hover; cursor = &style->cursor_hover; text.text = style->text_active; } else { background = &style->normal; cursor = &style->cursor_normal; text.text = style->text_normal; } /* draw background and cursor */ if (background->type == NK_STYLE_ITEM_COLOR) { nk_fill_circle(out, *selector, style->border_color); nk_fill_circle(out, nk_shrink_rect(*selector, style->border), background->data.color); } else nk_draw_image(out, *selector, &background->data.image, nk_white); if (active) { if (cursor->type == NK_STYLE_ITEM_IMAGE) nk_draw_image(out, *cursors, &cursor->data.image, nk_white); else nk_fill_circle(out, *cursors, cursor->data.color); } text.padding.x = 0; text.padding.y = 0; text.background = style->text_background; nk_widget_text(out, *label, string, len, &text, NK_TEXT_LEFT, font); } NK_LIB nk_bool nk_do_toggle(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, nk_bool *active, const char *str, int len, enum nk_toggle_type type, const struct nk_style_toggle *style, const struct nk_input *in, const struct nk_user_font *font) { int was_active; struct nk_rect bounds; struct nk_rect select; struct nk_rect cursor; struct nk_rect label; NK_ASSERT(style); NK_ASSERT(out); NK_ASSERT(font); if (!out || !style || !font || !active) return 0; r.w = NK_MAX(r.w, font->height + 2 * style->padding.x); r.h = NK_MAX(r.h, font->height + 2 * style->padding.y); /* add additional touch padding for touch screen devices */ bounds.x = r.x - style->touch_padding.x; bounds.y = r.y - style->touch_padding.y; bounds.w = r.w + 2 * style->touch_padding.x; bounds.h = r.h + 2 * style->touch_padding.y; /* calculate the selector space */ select.w = font->height; select.h = select.w; select.y = r.y + r.h/2.0f - select.h/2.0f; select.x = r.x; /* calculate the bounds of the cursor inside the selector */ cursor.x = select.x + style->padding.x + style->border; cursor.y = select.y + style->padding.y + style->border; cursor.w = select.w - (2 * style->padding.x + 2 * style->border); cursor.h = select.h - (2 * style->padding.y + 2 * style->border); /* label behind the selector */ label.x = select.x + select.w + style->spacing; label.y = select.y; label.w = NK_MAX(r.x + r.w, label.x) - label.x; label.h = select.w; /* update selector */ was_active = *active; *active = nk_toggle_behavior(in, bounds, state, *active); /* draw selector */ if (style->draw_begin) style->draw_begin(out, style->userdata); if (type == NK_TOGGLE_CHECK) { nk_draw_checkbox(out, *state, style, *active, &label, &select, &cursor, str, len, font); } else { nk_draw_option(out, *state, style, *active, &label, &select, &cursor, str, len, font); } if (style->draw_end) style->draw_end(out, style->userdata); return (was_active != *active); } /*---------------------------------------------------------------- * * CHECKBOX * * --------------------------------------------------------------*/ NK_API nk_bool nk_check_text(struct nk_context *ctx, const char *text, int len, nk_bool active) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return active; win = ctx->current; style = &ctx->style; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return active; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &active, text, len, NK_TOGGLE_CHECK, &style->checkbox, in, style->font); return active; } NK_API unsigned int nk_check_flags_text(struct nk_context *ctx, const char *text, int len, unsigned int flags, unsigned int value) { int old_active; NK_ASSERT(ctx); NK_ASSERT(text); if (!ctx || !text) return flags; old_active = (int)((flags & value) & value); if (nk_check_text(ctx, text, len, old_active)) flags |= value; else flags &= ~value; return flags; } NK_API nk_bool nk_checkbox_text(struct nk_context *ctx, const char *text, int len, nk_bool *active) { int old_val; NK_ASSERT(ctx); NK_ASSERT(text); NK_ASSERT(active); if (!ctx || !text || !active) return 0; old_val = *active; *active = nk_check_text(ctx, text, len, *active); return old_val != *active; } NK_API nk_bool nk_checkbox_flags_text(struct nk_context *ctx, const char *text, int len, unsigned int *flags, unsigned int value) { nk_bool active; NK_ASSERT(ctx); NK_ASSERT(text); NK_ASSERT(flags); if (!ctx || !text || !flags) return 0; active = (int)((*flags & value) & value); if (nk_checkbox_text(ctx, text, len, &active)) { if (active) *flags |= value; else *flags &= ~value; return 1; } return 0; } NK_API nk_bool nk_check_label(struct nk_context *ctx, const char *label, nk_bool active) { return nk_check_text(ctx, label, nk_strlen(label), active); } NK_API unsigned int nk_check_flags_label(struct nk_context *ctx, const char *label, unsigned int flags, unsigned int value) { return nk_check_flags_text(ctx, label, nk_strlen(label), flags, value); } NK_API nk_bool nk_checkbox_label(struct nk_context *ctx, const char *label, nk_bool *active) { return nk_checkbox_text(ctx, label, nk_strlen(label), active); } NK_API nk_bool nk_checkbox_flags_label(struct nk_context *ctx, const char *label, unsigned int *flags, unsigned int value) { return nk_checkbox_flags_text(ctx, label, nk_strlen(label), flags, value); } /*---------------------------------------------------------------- * * OPTION * * --------------------------------------------------------------*/ NK_API nk_bool nk_option_text(struct nk_context *ctx, const char *text, int len, nk_bool is_active) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return is_active; win = ctx->current; style = &ctx->style; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return (int)state; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; nk_do_toggle(&ctx->last_widget_state, &win->buffer, bounds, &is_active, text, len, NK_TOGGLE_OPTION, &style->option, in, style->font); return is_active; } NK_API nk_bool nk_radio_text(struct nk_context *ctx, const char *text, int len, nk_bool *active) { int old_value; NK_ASSERT(ctx); NK_ASSERT(text); NK_ASSERT(active); if (!ctx || !text || !active) return 0; old_value = *active; *active = nk_option_text(ctx, text, len, old_value); return old_value != *active; } NK_API nk_bool nk_option_label(struct nk_context *ctx, const char *label, nk_bool active) { return nk_option_text(ctx, label, nk_strlen(label), active); } NK_API nk_bool nk_radio_label(struct nk_context *ctx, const char *label, nk_bool *active) { return nk_radio_text(ctx, label, nk_strlen(label), active); } /* =============================================================== * * SELECTABLE * * ===============================================================*/ NK_LIB void nk_draw_selectable(struct nk_command_buffer *out, nk_flags state, const struct nk_style_selectable *style, nk_bool active, const struct nk_rect *bounds, const struct nk_rect *icon, const struct nk_image *img, enum nk_symbol_type sym, const char *string, int len, nk_flags align, const struct nk_user_font *font) { const struct nk_style_item *background; struct nk_text text; text.padding = style->padding; /* select correct colors/images */ if (!active) { if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->pressed; text.text = style->text_pressed; } else if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; text.text = style->text_hover; } else { background = &style->normal; text.text = style->text_normal; } } else { if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->pressed_active; text.text = style->text_pressed_active; } else if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover_active; text.text = style->text_hover_active; } else { background = &style->normal_active; text.text = style->text_normal_active; } } /* draw selectable background and text */ if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, *bounds, &background->data.image, nk_white); text.background = nk_rgba(0,0,0,0); } else { nk_fill_rect(out, *bounds, style->rounding, background->data.color); text.background = background->data.color; } if (icon) { if (img) nk_draw_image(out, *icon, img, nk_white); else nk_draw_symbol(out, sym, *icon, text.background, text.text, 1, font); } nk_widget_text(out, *bounds, string, len, &text, align, font); } NK_LIB nk_bool nk_do_selectable(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, nk_bool *value, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) { int old_value; struct nk_rect touch; NK_ASSERT(state); NK_ASSERT(out); NK_ASSERT(str); NK_ASSERT(len); NK_ASSERT(value); NK_ASSERT(style); NK_ASSERT(font); if (!state || !out || !str || !len || !value || !style || !font) return 0; old_value = *value; /* remove padding */ touch.x = bounds.x - style->touch_padding.x; touch.y = bounds.y - style->touch_padding.y; touch.w = bounds.w + style->touch_padding.x * 2; touch.h = bounds.h + style->touch_padding.y * 2; /* update button */ if (nk_button_behavior(state, touch, in, NK_BUTTON_DEFAULT)) *value = !(*value); /* draw selectable */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_selectable(out, *state, style, *value, &bounds, 0,0,NK_SYMBOL_NONE, str, len, align, font); if (style->draw_end) style->draw_end(out, style->userdata); return old_value != *value; } NK_LIB nk_bool nk_do_selectable_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, nk_bool *value, const struct nk_image *img, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) { nk_bool old_value; struct nk_rect touch; struct nk_rect icon; NK_ASSERT(state); NK_ASSERT(out); NK_ASSERT(str); NK_ASSERT(len); NK_ASSERT(value); NK_ASSERT(style); NK_ASSERT(font); if (!state || !out || !str || !len || !value || !style || !font) return 0; old_value = *value; /* toggle behavior */ touch.x = bounds.x - style->touch_padding.x; touch.y = bounds.y - style->touch_padding.y; touch.w = bounds.w + style->touch_padding.x * 2; touch.h = bounds.h + style->touch_padding.y * 2; if (nk_button_behavior(state, touch, in, NK_BUTTON_DEFAULT)) *value = !(*value); icon.y = bounds.y + style->padding.y; icon.w = icon.h = bounds.h - 2 * style->padding.y; if (align & NK_TEXT_ALIGN_LEFT) { icon.x = (bounds.x + bounds.w) - (2 * style->padding.x + icon.w); icon.x = NK_MAX(icon.x, 0); } else icon.x = bounds.x + 2 * style->padding.x; icon.x += style->image_padding.x; icon.y += style->image_padding.y; icon.w -= 2 * style->image_padding.x; icon.h -= 2 * style->image_padding.y; /* draw selectable */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_selectable(out, *state, style, *value, &bounds, &icon, img, NK_SYMBOL_NONE, str, len, align, font); if (style->draw_end) style->draw_end(out, style->userdata); return old_value != *value; } NK_LIB nk_bool nk_do_selectable_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, nk_bool *value, enum nk_symbol_type sym, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) { int old_value; struct nk_rect touch; struct nk_rect icon; NK_ASSERT(state); NK_ASSERT(out); NK_ASSERT(str); NK_ASSERT(len); NK_ASSERT(value); NK_ASSERT(style); NK_ASSERT(font); if (!state || !out || !str || !len || !value || !style || !font) return 0; old_value = *value; /* toggle behavior */ touch.x = bounds.x - style->touch_padding.x; touch.y = bounds.y - style->touch_padding.y; touch.w = bounds.w + style->touch_padding.x * 2; touch.h = bounds.h + style->touch_padding.y * 2; if (nk_button_behavior(state, touch, in, NK_BUTTON_DEFAULT)) *value = !(*value); icon.y = bounds.y + style->padding.y; icon.w = icon.h = bounds.h - 2 * style->padding.y; if (align & NK_TEXT_ALIGN_LEFT) { icon.x = (bounds.x + bounds.w) - (2 * style->padding.x + icon.w); icon.x = NK_MAX(icon.x, 0); } else icon.x = bounds.x + 2 * style->padding.x; icon.x += style->image_padding.x; icon.y += style->image_padding.y; icon.w -= 2 * style->image_padding.x; icon.h -= 2 * style->image_padding.y; /* draw selectable */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_selectable(out, *state, style, *value, &bounds, &icon, 0, sym, str, len, align, font); if (style->draw_end) style->draw_end(out, style->userdata); return old_value != *value; } NK_API nk_bool nk_selectable_text(struct nk_context *ctx, const char *str, int len, nk_flags align, nk_bool *value) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; const struct nk_style *style; enum nk_widget_layout_states state; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(value); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !value) return 0; win = ctx->current; layout = win->layout; style = &ctx->style; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_selectable(&ctx->last_widget_state, &win->buffer, bounds, str, len, align, value, &style->selectable, in, style->font); } NK_API nk_bool nk_selectable_image_text(struct nk_context *ctx, struct nk_image img, const char *str, int len, nk_flags align, nk_bool *value) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; const struct nk_style *style; enum nk_widget_layout_states state; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(value); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !value) return 0; win = ctx->current; layout = win->layout; style = &ctx->style; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_selectable_image(&ctx->last_widget_state, &win->buffer, bounds, str, len, align, value, &img, &style->selectable, in, style->font); } NK_API nk_bool nk_selectable_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym, const char *str, int len, nk_flags align, nk_bool *value) { struct nk_window *win; struct nk_panel *layout; const struct nk_input *in; const struct nk_style *style; enum nk_widget_layout_states state; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(value); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !value) return 0; win = ctx->current; layout = win->layout; style = &ctx->style; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_selectable_symbol(&ctx->last_widget_state, &win->buffer, bounds, str, len, align, value, sym, &style->selectable, in, style->font); } NK_API nk_bool nk_selectable_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym, const char *title, nk_flags align, nk_bool *value) { return nk_selectable_symbol_text(ctx, sym, title, nk_strlen(title), align, value); } NK_API nk_bool nk_select_text(struct nk_context *ctx, const char *str, int len, nk_flags align, nk_bool value) { nk_selectable_text(ctx, str, len, align, &value);return value; } NK_API nk_bool nk_selectable_label(struct nk_context *ctx, const char *str, nk_flags align, nk_bool *value) { return nk_selectable_text(ctx, str, nk_strlen(str), align, value); } NK_API nk_bool nk_selectable_image_label(struct nk_context *ctx,struct nk_image img, const char *str, nk_flags align, nk_bool *value) { return nk_selectable_image_text(ctx, img, str, nk_strlen(str), align, value); } NK_API nk_bool nk_select_label(struct nk_context *ctx, const char *str, nk_flags align, nk_bool value) { nk_selectable_text(ctx, str, nk_strlen(str), align, &value);return value; } NK_API nk_bool nk_select_image_label(struct nk_context *ctx, struct nk_image img, const char *str, nk_flags align, nk_bool value) { nk_selectable_image_text(ctx, img, str, nk_strlen(str), align, &value);return value; } NK_API nk_bool nk_select_image_text(struct nk_context *ctx, struct nk_image img, const char *str, int len, nk_flags align, nk_bool value) { nk_selectable_image_text(ctx, img, str, len, align, &value);return value; } NK_API nk_bool nk_select_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym, const char *title, int title_len, nk_flags align, nk_bool value) { nk_selectable_symbol_text(ctx, sym, title, title_len, align, &value);return value; } NK_API nk_bool nk_select_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym, const char *title, nk_flags align, nk_bool value) { return nk_select_symbol_text(ctx, sym, title, nk_strlen(title), align, value); } /* =============================================================== * * SLIDER * * ===============================================================*/ NK_LIB float nk_slider_behavior(nk_flags *state, struct nk_rect *logical_cursor, struct nk_rect *visual_cursor, struct nk_input *in, struct nk_rect bounds, float slider_min, float slider_max, float slider_value, float slider_step, float slider_steps) { int left_mouse_down; int left_mouse_click_in_cursor; /* check if visual cursor is being dragged */ nk_widget_state_reset(state); left_mouse_down = in && in->mouse.buttons[NK_BUTTON_LEFT].down; left_mouse_click_in_cursor = in && nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, *visual_cursor, nk_true); if (left_mouse_down && left_mouse_click_in_cursor) { float ratio = 0; const float d = in->mouse.pos.x - (visual_cursor->x+visual_cursor->w*0.5f); const float pxstep = bounds.w / slider_steps; /* only update value if the next slider step is reached */ *state = NK_WIDGET_STATE_ACTIVE; if (NK_ABS(d) >= pxstep) { const float steps = (float)((int)(NK_ABS(d) / pxstep)); slider_value += (d > 0) ? (slider_step*steps) : -(slider_step*steps); slider_value = NK_CLAMP(slider_min, slider_value, slider_max); ratio = (slider_value - slider_min)/slider_step; logical_cursor->x = bounds.x + (logical_cursor->w * ratio); in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x = logical_cursor->x; } } /* slider widget state */ if (nk_input_is_mouse_hovering_rect(in, bounds)) *state = NK_WIDGET_STATE_HOVERED; if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, bounds)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, bounds)) *state |= NK_WIDGET_STATE_LEFT; return slider_value; } NK_LIB void nk_draw_slider(struct nk_command_buffer *out, nk_flags state, const struct nk_style_slider *style, const struct nk_rect *bounds, const struct nk_rect *visual_cursor, float min, float value, float max) { struct nk_rect fill; struct nk_rect bar; const struct nk_style_item *background; /* select correct slider images/colors */ struct nk_color bar_color; const struct nk_style_item *cursor; NK_UNUSED(min); NK_UNUSED(max); NK_UNUSED(value); if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; bar_color = style->bar_active; cursor = &style->cursor_active; } else if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; bar_color = style->bar_hover; cursor = &style->cursor_hover; } else { background = &style->normal; bar_color = style->bar_normal; cursor = &style->cursor_normal; } /* calculate slider background bar */ bar.x = bounds->x; bar.y = (visual_cursor->y + visual_cursor->h/2) - bounds->h/12; bar.w = bounds->w; bar.h = bounds->h/6; /* filled background bar style */ fill.w = (visual_cursor->x + (visual_cursor->w/2.0f)) - bar.x; fill.x = bar.x; fill.y = bar.y; fill.h = bar.h; /* draw background */ if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, *bounds, &background->data.image, nk_white); } else { nk_fill_rect(out, *bounds, style->rounding, background->data.color); nk_stroke_rect(out, *bounds, style->rounding, style->border, style->border_color); } /* draw slider bar */ nk_fill_rect(out, bar, style->rounding, bar_color); nk_fill_rect(out, fill, style->rounding, style->bar_filled); /* draw cursor */ if (cursor->type == NK_STYLE_ITEM_IMAGE) nk_draw_image(out, *visual_cursor, &cursor->data.image, nk_white); else nk_fill_circle(out, *visual_cursor, cursor->data.color); } NK_LIB float nk_do_slider(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, float min, float val, float max, float step, const struct nk_style_slider *style, struct nk_input *in, const struct nk_user_font *font) { float slider_range; float slider_min; float slider_max; float slider_value; float slider_steps; float cursor_offset; struct nk_rect visual_cursor; struct nk_rect logical_cursor; NK_ASSERT(style); NK_ASSERT(out); if (!out || !style) return 0; /* remove padding from slider bounds */ bounds.x = bounds.x + style->padding.x; bounds.y = bounds.y + style->padding.y; bounds.h = NK_MAX(bounds.h, 2*style->padding.y); bounds.w = NK_MAX(bounds.w, 2*style->padding.x + style->cursor_size.x); bounds.w -= 2 * style->padding.x; bounds.h -= 2 * style->padding.y; /* optional buttons */ if (style->show_buttons) { nk_flags ws; struct nk_rect button; button.y = bounds.y; button.w = bounds.h; button.h = bounds.h; /* decrement button */ button.x = bounds.x; if (nk_do_button_symbol(&ws, out, button, style->dec_symbol, NK_BUTTON_DEFAULT, &style->dec_button, in, font)) val -= step; /* increment button */ button.x = (bounds.x + bounds.w) - button.w; if (nk_do_button_symbol(&ws, out, button, style->inc_symbol, NK_BUTTON_DEFAULT, &style->inc_button, in, font)) val += step; bounds.x = bounds.x + button.w + style->spacing.x; bounds.w = bounds.w - (2*button.w + 2*style->spacing.x); } /* remove one cursor size to support visual cursor */ bounds.x += style->cursor_size.x*0.5f; bounds.w -= style->cursor_size.x; /* make sure the provided values are correct */ slider_max = NK_MAX(min, max); slider_min = NK_MIN(min, max); slider_value = NK_CLAMP(slider_min, val, slider_max); slider_range = slider_max - slider_min; slider_steps = slider_range / step; cursor_offset = (slider_value - slider_min) / step; /* calculate cursor Basically you have two cursors. One for visual representation and interaction and one for updating the actual cursor value. */ logical_cursor.h = bounds.h; logical_cursor.w = bounds.w / slider_steps; logical_cursor.x = bounds.x + (logical_cursor.w * cursor_offset); logical_cursor.y = bounds.y; visual_cursor.h = style->cursor_size.y; visual_cursor.w = style->cursor_size.x; visual_cursor.y = (bounds.y + bounds.h*0.5f) - visual_cursor.h*0.5f; visual_cursor.x = logical_cursor.x - visual_cursor.w*0.5f; slider_value = nk_slider_behavior(state, &logical_cursor, &visual_cursor, in, bounds, slider_min, slider_max, slider_value, step, slider_steps); visual_cursor.x = logical_cursor.x - visual_cursor.w*0.5f; /* draw slider */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_slider(out, *state, style, &bounds, &visual_cursor, slider_min, slider_value, slider_max); if (style->draw_end) style->draw_end(out, style->userdata); return slider_value; } NK_API nk_bool nk_slider_float(struct nk_context *ctx, float min_value, float *value, float max_value, float value_step) { struct nk_window *win; struct nk_panel *layout; struct nk_input *in; const struct nk_style *style; int ret = 0; float old_value; struct nk_rect bounds; enum nk_widget_layout_states state; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); NK_ASSERT(value); if (!ctx || !ctx->current || !ctx->current->layout || !value) return ret; win = ctx->current; style = &ctx->style; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return ret; in = (/*state == NK_WIDGET_ROM || */ layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; old_value = *value; *value = nk_do_slider(&ctx->last_widget_state, &win->buffer, bounds, min_value, old_value, max_value, value_step, &style->slider, in, style->font); return (old_value > *value || old_value < *value); } NK_API float nk_slide_float(struct nk_context *ctx, float min, float val, float max, float step) { nk_slider_float(ctx, min, &val, max, step); return val; } NK_API int nk_slide_int(struct nk_context *ctx, int min, int val, int max, int step) { float value = (float)val; nk_slider_float(ctx, (float)min, &value, (float)max, (float)step); return (int)value; } NK_API nk_bool nk_slider_int(struct nk_context *ctx, int min, int *val, int max, int step) { int ret; float value = (float)*val; ret = nk_slider_float(ctx, (float)min, &value, (float)max, (float)step); *val = (int)value; return ret; } /* =============================================================== * * PROGRESS * * ===============================================================*/ NK_LIB nk_size nk_progress_behavior(nk_flags *state, struct nk_input *in, struct nk_rect r, struct nk_rect cursor, nk_size max, nk_size value, nk_bool modifiable) { int left_mouse_down = 0; int left_mouse_click_in_cursor = 0; nk_widget_state_reset(state); if (!in || !modifiable) return value; left_mouse_down = in && in->mouse.buttons[NK_BUTTON_LEFT].down; left_mouse_click_in_cursor = in && nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, cursor, nk_true); if (nk_input_is_mouse_hovering_rect(in, r)) *state = NK_WIDGET_STATE_HOVERED; if (in && left_mouse_down && left_mouse_click_in_cursor) { if (left_mouse_down && left_mouse_click_in_cursor) { float ratio = NK_MAX(0, (float)(in->mouse.pos.x - cursor.x)) / (float)cursor.w; value = (nk_size)NK_CLAMP(0, (float)max * ratio, (float)max); in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x = cursor.x + cursor.w/2.0f; *state |= NK_WIDGET_STATE_ACTIVE; } } /* set progressbar widget state */ if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, r)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, r)) *state |= NK_WIDGET_STATE_LEFT; return value; } NK_LIB void nk_draw_progress(struct nk_command_buffer *out, nk_flags state, const struct nk_style_progress *style, const struct nk_rect *bounds, const struct nk_rect *scursor, nk_size value, nk_size max) { const struct nk_style_item *background; const struct nk_style_item *cursor; NK_UNUSED(max); NK_UNUSED(value); /* select correct colors/images to draw */ if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; cursor = &style->cursor_active; } else if (state & NK_WIDGET_STATE_HOVER){ background = &style->hover; cursor = &style->cursor_hover; } else { background = &style->normal; cursor = &style->cursor_normal; } /* draw background */ if (background->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, *bounds, style->rounding, background->data.color); nk_stroke_rect(out, *bounds, style->rounding, style->border, style->border_color); } else nk_draw_image(out, *bounds, &background->data.image, nk_white); /* draw cursor */ if (cursor->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, *scursor, style->rounding, cursor->data.color); nk_stroke_rect(out, *scursor, style->rounding, style->border, style->border_color); } else nk_draw_image(out, *scursor, &cursor->data.image, nk_white); } NK_LIB nk_size nk_do_progress(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_size value, nk_size max, nk_bool modifiable, const struct nk_style_progress *style, struct nk_input *in) { float prog_scale; nk_size prog_value; struct nk_rect cursor; NK_ASSERT(style); NK_ASSERT(out); if (!out || !style) return 0; /* calculate progressbar cursor */ cursor.w = NK_MAX(bounds.w, 2 * style->padding.x + 2 * style->border); cursor.h = NK_MAX(bounds.h, 2 * style->padding.y + 2 * style->border); cursor = nk_pad_rect(bounds, nk_vec2(style->padding.x + style->border, style->padding.y + style->border)); prog_scale = (float)value / (float)max; /* update progressbar */ prog_value = NK_MIN(value, max); prog_value = nk_progress_behavior(state, in, bounds, cursor,max, prog_value, modifiable); cursor.w = cursor.w * prog_scale; /* draw progressbar */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_progress(out, *state, style, &bounds, &cursor, value, max); if (style->draw_end) style->draw_end(out, style->userdata); return prog_value; } NK_API nk_bool nk_progress(struct nk_context *ctx, nk_size *cur, nk_size max, nk_bool is_modifyable) { struct nk_window *win; struct nk_panel *layout; const struct nk_style *style; struct nk_input *in; struct nk_rect bounds; enum nk_widget_layout_states state; nk_size old_value; NK_ASSERT(ctx); NK_ASSERT(cur); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !cur) return 0; win = ctx->current; style = &ctx->style; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; old_value = *cur; *cur = nk_do_progress(&ctx->last_widget_state, &win->buffer, bounds, *cur, max, is_modifyable, &style->progress, in); return (*cur != old_value); } NK_API nk_size nk_prog(struct nk_context *ctx, nk_size cur, nk_size max, nk_bool modifyable) { nk_progress(ctx, &cur, max, modifyable); return cur; } /* =============================================================== * * SCROLLBAR * * ===============================================================*/ NK_LIB float nk_scrollbar_behavior(nk_flags *state, struct nk_input *in, int has_scrolling, const struct nk_rect *scroll, const struct nk_rect *cursor, const struct nk_rect *empty0, const struct nk_rect *empty1, float scroll_offset, float target, float scroll_step, enum nk_orientation o) { nk_flags ws = 0; int left_mouse_down; int left_mouse_clicked; int left_mouse_click_in_cursor; float scroll_delta; nk_widget_state_reset(state); if (!in) return scroll_offset; left_mouse_down = in->mouse.buttons[NK_BUTTON_LEFT].down; left_mouse_clicked = in->mouse.buttons[NK_BUTTON_LEFT].clicked; left_mouse_click_in_cursor = nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, *cursor, nk_true); if (nk_input_is_mouse_hovering_rect(in, *scroll)) *state = NK_WIDGET_STATE_HOVERED; scroll_delta = (o == NK_VERTICAL) ? in->mouse.scroll_delta.y: in->mouse.scroll_delta.x; if (left_mouse_down && left_mouse_click_in_cursor && !left_mouse_clicked) { /* update cursor by mouse dragging */ float pixel, delta; *state = NK_WIDGET_STATE_ACTIVE; if (o == NK_VERTICAL) { float cursor_y; pixel = in->mouse.delta.y; delta = (pixel / scroll->h) * target; scroll_offset = NK_CLAMP(0, scroll_offset + delta, target - scroll->h); cursor_y = scroll->y + ((scroll_offset/target) * scroll->h); in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.y = cursor_y + cursor->h/2.0f; } else { float cursor_x; pixel = in->mouse.delta.x; delta = (pixel / scroll->w) * target; scroll_offset = NK_CLAMP(0, scroll_offset + delta, target - scroll->w); cursor_x = scroll->x + ((scroll_offset/target) * scroll->w); in->mouse.buttons[NK_BUTTON_LEFT].clicked_pos.x = cursor_x + cursor->w/2.0f; } } else if ((nk_input_is_key_pressed(in, NK_KEY_SCROLL_UP) && o == NK_VERTICAL && has_scrolling)|| nk_button_behavior(&ws, *empty0, in, NK_BUTTON_DEFAULT)) { /* scroll page up by click on empty space or shortcut */ if (o == NK_VERTICAL) scroll_offset = NK_MAX(0, scroll_offset - scroll->h); else scroll_offset = NK_MAX(0, scroll_offset - scroll->w); } else if ((nk_input_is_key_pressed(in, NK_KEY_SCROLL_DOWN) && o == NK_VERTICAL && has_scrolling) || nk_button_behavior(&ws, *empty1, in, NK_BUTTON_DEFAULT)) { /* scroll page down by click on empty space or shortcut */ if (o == NK_VERTICAL) scroll_offset = NK_MIN(scroll_offset + scroll->h, target - scroll->h); else scroll_offset = NK_MIN(scroll_offset + scroll->w, target - scroll->w); } else if (has_scrolling) { if ((scroll_delta < 0 || (scroll_delta > 0))) { /* update cursor by mouse scrolling */ scroll_offset = scroll_offset + scroll_step * (-scroll_delta); if (o == NK_VERTICAL) scroll_offset = NK_CLAMP(0, scroll_offset, target - scroll->h); else scroll_offset = NK_CLAMP(0, scroll_offset, target - scroll->w); } else if (nk_input_is_key_pressed(in, NK_KEY_SCROLL_START)) { /* update cursor to the beginning */ if (o == NK_VERTICAL) scroll_offset = 0; } else if (nk_input_is_key_pressed(in, NK_KEY_SCROLL_END)) { /* update cursor to the end */ if (o == NK_VERTICAL) scroll_offset = target - scroll->h; } } if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, *scroll)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, *scroll)) *state |= NK_WIDGET_STATE_LEFT; return scroll_offset; } NK_LIB void nk_draw_scrollbar(struct nk_command_buffer *out, nk_flags state, const struct nk_style_scrollbar *style, const struct nk_rect *bounds, const struct nk_rect *scroll) { const struct nk_style_item *background; const struct nk_style_item *cursor; /* select correct colors/images to draw */ if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; cursor = &style->cursor_active; } else if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; cursor = &style->cursor_hover; } else { background = &style->normal; cursor = &style->cursor_normal; } /* draw background */ if (background->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, *bounds, style->rounding, background->data.color); nk_stroke_rect(out, *bounds, style->rounding, style->border, style->border_color); } else { nk_draw_image(out, *bounds, &background->data.image, nk_white); } /* draw cursor */ if (cursor->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, *scroll, style->rounding_cursor, cursor->data.color); nk_stroke_rect(out, *scroll, style->rounding_cursor, style->border_cursor, style->cursor_border_color); } else nk_draw_image(out, *scroll, &cursor->data.image, nk_white); } NK_LIB float nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) { struct nk_rect empty_north; struct nk_rect empty_south; struct nk_rect cursor; float scroll_step; float scroll_offset; float scroll_off; float scroll_ratio; NK_ASSERT(out); NK_ASSERT(style); NK_ASSERT(state); if (!out || !style) return 0; scroll.w = NK_MAX(scroll.w, 1); scroll.h = NK_MAX(scroll.h, 0); if (target <= scroll.h) return 0; /* optional scrollbar buttons */ if (style->show_buttons) { nk_flags ws; float scroll_h; struct nk_rect button; button.x = scroll.x; button.w = scroll.w; button.h = scroll.w; scroll_h = NK_MAX(scroll.h - 2 * button.h,0); scroll_step = NK_MIN(step, button_pixel_inc); /* decrement button */ button.y = scroll.y; if (nk_do_button_symbol(&ws, out, button, style->dec_symbol, NK_BUTTON_REPEATER, &style->dec_button, in, font)) offset = offset - scroll_step; /* increment button */ button.y = scroll.y + scroll.h - button.h; if (nk_do_button_symbol(&ws, out, button, style->inc_symbol, NK_BUTTON_REPEATER, &style->inc_button, in, font)) offset = offset + scroll_step; scroll.y = scroll.y + button.h; scroll.h = scroll_h; } /* calculate scrollbar constants */ scroll_step = NK_MIN(step, scroll.h); scroll_offset = NK_CLAMP(0, offset, target - scroll.h); scroll_ratio = scroll.h / target; scroll_off = scroll_offset / target; /* calculate scrollbar cursor bounds */ cursor.h = NK_MAX((scroll_ratio * scroll.h) - (2*style->border + 2*style->padding.y), 0); cursor.y = scroll.y + (scroll_off * scroll.h) + style->border + style->padding.y; cursor.w = scroll.w - (2 * style->border + 2 * style->padding.x); cursor.x = scroll.x + style->border + style->padding.x; /* calculate empty space around cursor */ empty_north.x = scroll.x; empty_north.y = scroll.y; empty_north.w = scroll.w; empty_north.h = NK_MAX(cursor.y - scroll.y, 0); empty_south.x = scroll.x; empty_south.y = cursor.y + cursor.h; empty_south.w = scroll.w; empty_south.h = NK_MAX((scroll.y + scroll.h) - (cursor.y + cursor.h), 0); /* update scrollbar */ scroll_offset = nk_scrollbar_behavior(state, in, has_scrolling, &scroll, &cursor, &empty_north, &empty_south, scroll_offset, target, scroll_step, NK_VERTICAL); scroll_off = scroll_offset / target; cursor.y = scroll.y + (scroll_off * scroll.h) + style->border_cursor + style->padding.y; /* draw scrollbar */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_scrollbar(out, *state, style, &scroll, &cursor); if (style->draw_end) style->draw_end(out, style->userdata); return scroll_offset; } NK_LIB float nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) { struct nk_rect cursor; struct nk_rect empty_west; struct nk_rect empty_east; float scroll_step; float scroll_offset; float scroll_off; float scroll_ratio; NK_ASSERT(out); NK_ASSERT(style); if (!out || !style) return 0; /* scrollbar background */ scroll.h = NK_MAX(scroll.h, 1); scroll.w = NK_MAX(scroll.w, 2 * scroll.h); if (target <= scroll.w) return 0; /* optional scrollbar buttons */ if (style->show_buttons) { nk_flags ws; float scroll_w; struct nk_rect button; button.y = scroll.y; button.w = scroll.h; button.h = scroll.h; scroll_w = scroll.w - 2 * button.w; scroll_step = NK_MIN(step, button_pixel_inc); /* decrement button */ button.x = scroll.x; if (nk_do_button_symbol(&ws, out, button, style->dec_symbol, NK_BUTTON_REPEATER, &style->dec_button, in, font)) offset = offset - scroll_step; /* increment button */ button.x = scroll.x + scroll.w - button.w; if (nk_do_button_symbol(&ws, out, button, style->inc_symbol, NK_BUTTON_REPEATER, &style->inc_button, in, font)) offset = offset + scroll_step; scroll.x = scroll.x + button.w; scroll.w = scroll_w; } /* calculate scrollbar constants */ scroll_step = NK_MIN(step, scroll.w); scroll_offset = NK_CLAMP(0, offset, target - scroll.w); scroll_ratio = scroll.w / target; scroll_off = scroll_offset / target; /* calculate cursor bounds */ cursor.w = (scroll_ratio * scroll.w) - (2*style->border + 2*style->padding.x); cursor.x = scroll.x + (scroll_off * scroll.w) + style->border + style->padding.x; cursor.h = scroll.h - (2 * style->border + 2 * style->padding.y); cursor.y = scroll.y + style->border + style->padding.y; /* calculate empty space around cursor */ empty_west.x = scroll.x; empty_west.y = scroll.y; empty_west.w = cursor.x - scroll.x; empty_west.h = scroll.h; empty_east.x = cursor.x + cursor.w; empty_east.y = scroll.y; empty_east.w = (scroll.x + scroll.w) - (cursor.x + cursor.w); empty_east.h = scroll.h; /* update scrollbar */ scroll_offset = nk_scrollbar_behavior(state, in, has_scrolling, &scroll, &cursor, &empty_west, &empty_east, scroll_offset, target, scroll_step, NK_HORIZONTAL); scroll_off = scroll_offset / target; cursor.x = scroll.x + (scroll_off * scroll.w); /* draw scrollbar */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_scrollbar(out, *state, style, &scroll, &cursor); if (style->draw_end) style->draw_end(out, style->userdata); return scroll_offset; } /* =============================================================== * * TEXT EDITOR * * ===============================================================*/ /* stb_textedit.h - v1.8 - public domain - Sean Barrett */ struct nk_text_find { float x,y; /* position of n'th character */ float height; /* height of line */ int first_char, length; /* first char of row, and length */ int prev_first; /*_ first char of previous row */ }; struct nk_text_edit_row { float x0,x1; /* starting x location, end x location (allows for align=right, etc) */ float baseline_y_delta; /* position of baseline relative to previous row's baseline*/ float ymin,ymax; /* height of row above and below baseline */ int num_chars; }; /* forward declarations */ NK_INTERN void nk_textedit_makeundo_delete(struct nk_text_edit*, int, int); NK_INTERN void nk_textedit_makeundo_insert(struct nk_text_edit*, int, int); NK_INTERN void nk_textedit_makeundo_replace(struct nk_text_edit*, int, int, int); #define NK_TEXT_HAS_SELECTION(s) ((s)->select_start != (s)->select_end) NK_INTERN float nk_textedit_get_width(const struct nk_text_edit *edit, int line_start, int char_id, const struct nk_user_font *font) { int len = 0; nk_rune unicode = 0; const char *str = nk_str_at_const(&edit->string, line_start + char_id, &unicode, &len); return font->width(font->userdata, font->height, str, len); } NK_INTERN void nk_textedit_layout_row(struct nk_text_edit_row *r, struct nk_text_edit *edit, int line_start_id, float row_height, const struct nk_user_font *font) { int l; int glyphs = 0; nk_rune unicode; const char *remaining; int len = nk_str_len_char(&edit->string); const char *end = nk_str_get_const(&edit->string) + len; const char *text = nk_str_at_const(&edit->string, line_start_id, &unicode, &l); const struct nk_vec2 size = nk_text_calculate_text_bounds(font, text, (int)(end - text), row_height, &remaining, 0, &glyphs, NK_STOP_ON_NEW_LINE); r->x0 = 0.0f; r->x1 = size.x; r->baseline_y_delta = size.y; r->ymin = 0.0f; r->ymax = size.y; r->num_chars = glyphs; } NK_INTERN int nk_textedit_locate_coord(struct nk_text_edit *edit, float x, float y, const struct nk_user_font *font, float row_height) { struct nk_text_edit_row r; int n = edit->string.len; float base_y = 0, prev_x; int i=0, k; r.x0 = r.x1 = 0; r.ymin = r.ymax = 0; r.num_chars = 0; /* search rows to find one that straddles 'y' */ while (i < n) { nk_textedit_layout_row(&r, edit, i, row_height, font); if (r.num_chars <= 0) return n; if (i==0 && y < base_y + r.ymin) return 0; if (y < base_y + r.ymax) break; i += r.num_chars; base_y += r.baseline_y_delta; } /* below all text, return 'after' last character */ if (i >= n) return n; /* check if it's before the beginning of the line */ if (x < r.x0) return i; /* check if it's before the end of the line */ if (x < r.x1) { /* search characters in row for one that straddles 'x' */ k = i; prev_x = r.x0; for (i=0; i < r.num_chars; ++i) { float w = nk_textedit_get_width(edit, k, i, font); if (x < prev_x+w) { if (x < prev_x+w/2) return k+i; else return k+i+1; } prev_x += w; } /* shouldn't happen, but if it does, fall through to end-of-line case */ } /* if the last character is a newline, return that. * otherwise return 'after' the last character */ if (nk_str_rune_at(&edit->string, i+r.num_chars-1) == '\n') return i+r.num_chars-1; else return i+r.num_chars; } NK_LIB void nk_textedit_click(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) { /* API click: on mouse down, move the cursor to the clicked location, * and reset the selection */ state->cursor = nk_textedit_locate_coord(state, x, y, font, row_height); state->select_start = state->cursor; state->select_end = state->cursor; state->has_preferred_x = 0; } NK_LIB void nk_textedit_drag(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) { /* API drag: on mouse drag, move the cursor and selection endpoint * to the clicked location */ int p = nk_textedit_locate_coord(state, x, y, font, row_height); if (state->select_start == state->select_end) state->select_start = state->cursor; state->cursor = state->select_end = p; } NK_INTERN void nk_textedit_find_charpos(struct nk_text_find *find, struct nk_text_edit *state, int n, int single_line, const struct nk_user_font *font, float row_height) { /* find the x/y location of a character, and remember info about the previous * row in case we get a move-up event (for page up, we'll have to rescan) */ struct nk_text_edit_row r; int prev_start = 0; int z = state->string.len; int i=0, first; nk_zero_struct(r); if (n == z) { /* if it's at the end, then find the last line -- simpler than trying to explicitly handle this case in the regular code */ nk_textedit_layout_row(&r, state, 0, row_height, font); if (single_line) { find->first_char = 0; find->length = z; } else { while (i < z) { prev_start = i; i += r.num_chars; nk_textedit_layout_row(&r, state, i, row_height, font); } find->first_char = i; find->length = r.num_chars; } find->x = r.x1; find->y = r.ymin; find->height = r.ymax - r.ymin; find->prev_first = prev_start; return; } /* search rows to find the one that straddles character n */ find->y = 0; for(;;) { nk_textedit_layout_row(&r, state, i, row_height, font); if (n < i + r.num_chars) break; prev_start = i; i += r.num_chars; find->y += r.baseline_y_delta; } find->first_char = first = i; find->length = r.num_chars; find->height = r.ymax - r.ymin; find->prev_first = prev_start; /* now scan to find xpos */ find->x = r.x0; for (i=0; first+i < n; ++i) find->x += nk_textedit_get_width(state, first, i, font); } NK_INTERN void nk_textedit_clamp(struct nk_text_edit *state) { /* make the selection/cursor state valid if client altered the string */ int n = state->string.len; if (NK_TEXT_HAS_SELECTION(state)) { if (state->select_start > n) state->select_start = n; if (state->select_end > n) state->select_end = n; /* if clamping forced them to be equal, move the cursor to match */ if (state->select_start == state->select_end) state->cursor = state->select_start; } if (state->cursor > n) state->cursor = n; } NK_API void nk_textedit_delete(struct nk_text_edit *state, int where, int len) { /* delete characters while updating undo */ nk_textedit_makeundo_delete(state, where, len); nk_str_delete_runes(&state->string, where, len); state->has_preferred_x = 0; } NK_API void nk_textedit_delete_selection(struct nk_text_edit *state) { /* delete the section */ nk_textedit_clamp(state); if (NK_TEXT_HAS_SELECTION(state)) { if (state->select_start < state->select_end) { nk_textedit_delete(state, state->select_start, state->select_end - state->select_start); state->select_end = state->cursor = state->select_start; } else { nk_textedit_delete(state, state->select_end, state->select_start - state->select_end); state->select_start = state->cursor = state->select_end; } state->has_preferred_x = 0; } } NK_INTERN void nk_textedit_sortselection(struct nk_text_edit *state) { /* canonicalize the selection so start <= end */ if (state->select_end < state->select_start) { int temp = state->select_end; state->select_end = state->select_start; state->select_start = temp; } } NK_INTERN void nk_textedit_move_to_first(struct nk_text_edit *state) { /* move cursor to first character of selection */ if (NK_TEXT_HAS_SELECTION(state)) { nk_textedit_sortselection(state); state->cursor = state->select_start; state->select_end = state->select_start; state->has_preferred_x = 0; } } NK_INTERN void nk_textedit_move_to_last(struct nk_text_edit *state) { /* move cursor to last character of selection */ if (NK_TEXT_HAS_SELECTION(state)) { nk_textedit_sortselection(state); nk_textedit_clamp(state); state->cursor = state->select_end; state->select_start = state->select_end; state->has_preferred_x = 0; } } NK_INTERN int nk_is_word_boundary( struct nk_text_edit *state, int idx) { int len; nk_rune c; if (idx <= 0) return 1; if (!nk_str_at_rune(&state->string, idx, &c, &len)) return 1; return (c == ' ' || c == '\t' ||c == 0x3000 || c == ',' || c == ';' || c == '(' || c == ')' || c == '{' || c == '}' || c == '[' || c == ']' || c == '|'); } NK_INTERN int nk_textedit_move_to_word_previous(struct nk_text_edit *state) { int c = state->cursor - 1; while( c >= 0 && !nk_is_word_boundary(state, c)) --c; if( c < 0 ) c = 0; return c; } NK_INTERN int nk_textedit_move_to_word_next(struct nk_text_edit *state) { const int len = state->string.len; int c = state->cursor+1; while( c < len && !nk_is_word_boundary(state, c)) ++c; if( c > len ) c = len; return c; } NK_INTERN void nk_textedit_prep_selection_at_cursor(struct nk_text_edit *state) { /* update selection and cursor to match each other */ if (!NK_TEXT_HAS_SELECTION(state)) state->select_start = state->select_end = state->cursor; else state->cursor = state->select_end; } NK_API nk_bool nk_textedit_cut(struct nk_text_edit *state) { /* API cut: delete selection */ if (state->mode == NK_TEXT_EDIT_MODE_VIEW) return 0; if (NK_TEXT_HAS_SELECTION(state)) { nk_textedit_delete_selection(state); /* implicitly clamps */ state->has_preferred_x = 0; return 1; } return 0; } NK_API nk_bool nk_textedit_paste(struct nk_text_edit *state, char const *ctext, int len) { /* API paste: replace existing selection with passed-in text */ int glyphs; const char *text = (const char *) ctext; if (state->mode == NK_TEXT_EDIT_MODE_VIEW) return 0; /* if there's a selection, the paste should delete it */ nk_textedit_clamp(state); nk_textedit_delete_selection(state); /* try to insert the characters */ glyphs = nk_utf_len(ctext, len); if (nk_str_insert_text_char(&state->string, state->cursor, text, len)) { nk_textedit_makeundo_insert(state, state->cursor, glyphs); state->cursor += len; state->has_preferred_x = 0; return 1; } /* remove the undo since we didn't actually insert the characters */ if (state->undo.undo_point) --state->undo.undo_point; return 0; } NK_API void nk_textedit_text(struct nk_text_edit *state, const char *text, int total_len) { nk_rune unicode; int glyph_len; int text_len = 0; NK_ASSERT(state); NK_ASSERT(text); if (!text || !total_len || state->mode == NK_TEXT_EDIT_MODE_VIEW) return; glyph_len = nk_utf_decode(text, &unicode, total_len); while ((text_len < total_len) && glyph_len) { /* don't insert a backward delete, just process the event */ if (unicode == 127) goto next; /* can't add newline in single-line mode */ if (unicode == '\n' && state->single_line) goto next; /* filter incoming text */ if (state->filter && !state->filter(state, unicode)) goto next; if (!NK_TEXT_HAS_SELECTION(state) && state->cursor < state->string.len) { if (state->mode == NK_TEXT_EDIT_MODE_REPLACE) { nk_textedit_makeundo_replace(state, state->cursor, 1, 1); nk_str_delete_runes(&state->string, state->cursor, 1); } if (nk_str_insert_text_utf8(&state->string, state->cursor, text+text_len, 1)) { ++state->cursor; state->has_preferred_x = 0; } } else { nk_textedit_delete_selection(state); /* implicitly clamps */ if (nk_str_insert_text_utf8(&state->string, state->cursor, text+text_len, 1)) { nk_textedit_makeundo_insert(state, state->cursor, 1); ++state->cursor; state->has_preferred_x = 0; } } next: text_len += glyph_len; glyph_len = nk_utf_decode(text + text_len, &unicode, total_len-text_len); } } NK_LIB void nk_textedit_key(struct nk_text_edit *state, enum nk_keys key, int shift_mod, const struct nk_user_font *font, float row_height) { retry: switch (key) { case NK_KEY_NONE: case NK_KEY_CTRL: case NK_KEY_ENTER: case NK_KEY_SHIFT: case NK_KEY_TAB: case NK_KEY_COPY: case NK_KEY_CUT: case NK_KEY_PASTE: case NK_KEY_MAX: default: break; case NK_KEY_TEXT_UNDO: nk_textedit_undo(state); state->has_preferred_x = 0; break; case NK_KEY_TEXT_REDO: nk_textedit_redo(state); state->has_preferred_x = 0; break; case NK_KEY_TEXT_SELECT_ALL: nk_textedit_select_all(state); state->has_preferred_x = 0; break; case NK_KEY_TEXT_INSERT_MODE: if (state->mode == NK_TEXT_EDIT_MODE_VIEW) state->mode = NK_TEXT_EDIT_MODE_INSERT; break; case NK_KEY_TEXT_REPLACE_MODE: if (state->mode == NK_TEXT_EDIT_MODE_VIEW) state->mode = NK_TEXT_EDIT_MODE_REPLACE; break; case NK_KEY_TEXT_RESET_MODE: if (state->mode == NK_TEXT_EDIT_MODE_INSERT || state->mode == NK_TEXT_EDIT_MODE_REPLACE) state->mode = NK_TEXT_EDIT_MODE_VIEW; break; case NK_KEY_LEFT: if (shift_mod) { nk_textedit_clamp(state); nk_textedit_prep_selection_at_cursor(state); /* move selection left */ if (state->select_end > 0) --state->select_end; state->cursor = state->select_end; state->has_preferred_x = 0; } else { /* if currently there's a selection, * move cursor to start of selection */ if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_first(state); else if (state->cursor > 0) --state->cursor; state->has_preferred_x = 0; } break; case NK_KEY_RIGHT: if (shift_mod) { nk_textedit_prep_selection_at_cursor(state); /* move selection right */ ++state->select_end; nk_textedit_clamp(state); state->cursor = state->select_end; state->has_preferred_x = 0; } else { /* if currently there's a selection, * move cursor to end of selection */ if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_last(state); else ++state->cursor; nk_textedit_clamp(state); state->has_preferred_x = 0; } break; case NK_KEY_TEXT_WORD_LEFT: if (shift_mod) { if( !NK_TEXT_HAS_SELECTION( state ) ) nk_textedit_prep_selection_at_cursor(state); state->cursor = nk_textedit_move_to_word_previous(state); state->select_end = state->cursor; nk_textedit_clamp(state ); } else { if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_first(state); else { state->cursor = nk_textedit_move_to_word_previous(state); nk_textedit_clamp(state ); } } break; case NK_KEY_TEXT_WORD_RIGHT: if (shift_mod) { if( !NK_TEXT_HAS_SELECTION( state ) ) nk_textedit_prep_selection_at_cursor(state); state->cursor = nk_textedit_move_to_word_next(state); state->select_end = state->cursor; nk_textedit_clamp(state); } else { if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_last(state); else { state->cursor = nk_textedit_move_to_word_next(state); nk_textedit_clamp(state ); } } break; case NK_KEY_DOWN: { struct nk_text_find find; struct nk_text_edit_row row; int i, sel = shift_mod; if (state->single_line) { /* on windows, up&down in single-line behave like left&right */ key = NK_KEY_RIGHT; goto retry; } if (sel) nk_textedit_prep_selection_at_cursor(state); else if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_last(state); /* compute current position of cursor point */ nk_textedit_clamp(state); nk_textedit_find_charpos(&find, state, state->cursor, state->single_line, font, row_height); /* now find character position down a row */ if (find.length) { float x; float goal_x = state->has_preferred_x ? state->preferred_x : find.x; int start = find.first_char + find.length; state->cursor = start; nk_textedit_layout_row(&row, state, state->cursor, row_height, font); x = row.x0; for (i=0; i < row.num_chars && x < row.x1; ++i) { float dx = nk_textedit_get_width(state, start, i, font); x += dx; if (x > goal_x) break; ++state->cursor; } nk_textedit_clamp(state); state->has_preferred_x = 1; state->preferred_x = goal_x; if (sel) state->select_end = state->cursor; } } break; case NK_KEY_UP: { struct nk_text_find find; struct nk_text_edit_row row; int i, sel = shift_mod; if (state->single_line) { /* on windows, up&down become left&right */ key = NK_KEY_LEFT; goto retry; } if (sel) nk_textedit_prep_selection_at_cursor(state); else if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_move_to_first(state); /* compute current position of cursor point */ nk_textedit_clamp(state); nk_textedit_find_charpos(&find, state, state->cursor, state->single_line, font, row_height); /* can only go up if there's a previous row */ if (find.prev_first != find.first_char) { /* now find character position up a row */ float x; float goal_x = state->has_preferred_x ? state->preferred_x : find.x; state->cursor = find.prev_first; nk_textedit_layout_row(&row, state, state->cursor, row_height, font); x = row.x0; for (i=0; i < row.num_chars && x < row.x1; ++i) { float dx = nk_textedit_get_width(state, find.prev_first, i, font); x += dx; if (x > goal_x) break; ++state->cursor; } nk_textedit_clamp(state); state->has_preferred_x = 1; state->preferred_x = goal_x; if (sel) state->select_end = state->cursor; } } break; case NK_KEY_DEL: if (state->mode == NK_TEXT_EDIT_MODE_VIEW) break; if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_delete_selection(state); else { int n = state->string.len; if (state->cursor < n) nk_textedit_delete(state, state->cursor, 1); } state->has_preferred_x = 0; break; case NK_KEY_BACKSPACE: if (state->mode == NK_TEXT_EDIT_MODE_VIEW) break; if (NK_TEXT_HAS_SELECTION(state)) nk_textedit_delete_selection(state); else { nk_textedit_clamp(state); if (state->cursor > 0) { nk_textedit_delete(state, state->cursor-1, 1); --state->cursor; } } state->has_preferred_x = 0; break; case NK_KEY_TEXT_START: if (shift_mod) { nk_textedit_prep_selection_at_cursor(state); state->cursor = state->select_end = 0; state->has_preferred_x = 0; } else { state->cursor = state->select_start = state->select_end = 0; state->has_preferred_x = 0; } break; case NK_KEY_TEXT_END: if (shift_mod) { nk_textedit_prep_selection_at_cursor(state); state->cursor = state->select_end = state->string.len; state->has_preferred_x = 0; } else { state->cursor = state->string.len; state->select_start = state->select_end = 0; state->has_preferred_x = 0; } break; case NK_KEY_TEXT_LINE_START: { if (shift_mod) { struct nk_text_find find; nk_textedit_clamp(state); nk_textedit_prep_selection_at_cursor(state); if (state->string.len && state->cursor == state->string.len) --state->cursor; nk_textedit_find_charpos(&find, state,state->cursor, state->single_line, font, row_height); state->cursor = state->select_end = find.first_char; state->has_preferred_x = 0; } else { struct nk_text_find find; if (state->string.len && state->cursor == state->string.len) --state->cursor; nk_textedit_clamp(state); nk_textedit_move_to_first(state); nk_textedit_find_charpos(&find, state, state->cursor, state->single_line, font, row_height); state->cursor = find.first_char; state->has_preferred_x = 0; } } break; case NK_KEY_TEXT_LINE_END: { if (shift_mod) { struct nk_text_find find; nk_textedit_clamp(state); nk_textedit_prep_selection_at_cursor(state); nk_textedit_find_charpos(&find, state, state->cursor, state->single_line, font, row_height); state->has_preferred_x = 0; state->cursor = find.first_char + find.length; if (find.length > 0 && nk_str_rune_at(&state->string, state->cursor-1) == '\n') --state->cursor; state->select_end = state->cursor; } else { struct nk_text_find find; nk_textedit_clamp(state); nk_textedit_move_to_first(state); nk_textedit_find_charpos(&find, state, state->cursor, state->single_line, font, row_height); state->has_preferred_x = 0; state->cursor = find.first_char + find.length; if (find.length > 0 && nk_str_rune_at(&state->string, state->cursor-1) == '\n') --state->cursor; }} break; } } NK_INTERN void nk_textedit_flush_redo(struct nk_text_undo_state *state) { state->redo_point = NK_TEXTEDIT_UNDOSTATECOUNT; state->redo_char_point = NK_TEXTEDIT_UNDOCHARCOUNT; } NK_INTERN void nk_textedit_discard_undo(struct nk_text_undo_state *state) { /* discard the oldest entry in the undo list */ if (state->undo_point > 0) { /* if the 0th undo state has characters, clean those up */ if (state->undo_rec[0].char_storage >= 0) { int n = state->undo_rec[0].insert_length, i; /* delete n characters from all other records */ state->undo_char_point = (short)(state->undo_char_point - n); NK_MEMCPY(state->undo_char, state->undo_char + n, (nk_size)state->undo_char_point*sizeof(nk_rune)); for (i=0; i < state->undo_point; ++i) { if (state->undo_rec[i].char_storage >= 0) state->undo_rec[i].char_storage = (short) (state->undo_rec[i].char_storage - n); } } --state->undo_point; NK_MEMCPY(state->undo_rec, state->undo_rec+1, (nk_size)((nk_size)state->undo_point * sizeof(state->undo_rec[0]))); } } NK_INTERN void nk_textedit_discard_redo(struct nk_text_undo_state *state) { /* discard the oldest entry in the redo list--it's bad if this ever happens, but because undo & redo have to store the actual characters in different cases, the redo character buffer can fill up even though the undo buffer didn't */ nk_size num; int k = NK_TEXTEDIT_UNDOSTATECOUNT-1; if (state->redo_point <= k) { /* if the k'th undo state has characters, clean those up */ if (state->undo_rec[k].char_storage >= 0) { int n = state->undo_rec[k].insert_length, i; /* delete n characters from all other records */ state->redo_char_point = (short)(state->redo_char_point + n); num = (nk_size)(NK_TEXTEDIT_UNDOCHARCOUNT - state->redo_char_point); NK_MEMCPY(state->undo_char + state->redo_char_point, state->undo_char + state->redo_char_point-n, num * sizeof(char)); for (i = state->redo_point; i < k; ++i) { if (state->undo_rec[i].char_storage >= 0) { state->undo_rec[i].char_storage = (short) (state->undo_rec[i].char_storage + n); } } } ++state->redo_point; num = (nk_size)(NK_TEXTEDIT_UNDOSTATECOUNT - state->redo_point); if (num) NK_MEMCPY(state->undo_rec + state->redo_point-1, state->undo_rec + state->redo_point, num * sizeof(state->undo_rec[0])); } } NK_INTERN struct nk_text_undo_record* nk_textedit_create_undo_record(struct nk_text_undo_state *state, int numchars) { /* any time we create a new undo record, we discard redo*/ nk_textedit_flush_redo(state); /* if we have no free records, we have to make room, * by sliding the existing records down */ if (state->undo_point == NK_TEXTEDIT_UNDOSTATECOUNT) nk_textedit_discard_undo(state); /* if the characters to store won't possibly fit in the buffer, * we can't undo */ if (numchars > NK_TEXTEDIT_UNDOCHARCOUNT) { state->undo_point = 0; state->undo_char_point = 0; return 0; } /* if we don't have enough free characters in the buffer, * we have to make room */ while (state->undo_char_point + numchars > NK_TEXTEDIT_UNDOCHARCOUNT) nk_textedit_discard_undo(state); return &state->undo_rec[state->undo_point++]; } NK_INTERN nk_rune* nk_textedit_createundo(struct nk_text_undo_state *state, int pos, int insert_len, int delete_len) { struct nk_text_undo_record *r = nk_textedit_create_undo_record(state, insert_len); if (r == 0) return 0; r->where = pos; r->insert_length = (short) insert_len; r->delete_length = (short) delete_len; if (insert_len == 0) { r->char_storage = -1; return 0; } else { r->char_storage = state->undo_char_point; state->undo_char_point = (short)(state->undo_char_point + insert_len); return &state->undo_char[r->char_storage]; } } NK_API void nk_textedit_undo(struct nk_text_edit *state) { struct nk_text_undo_state *s = &state->undo; struct nk_text_undo_record u, *r; if (s->undo_point == 0) return; /* we need to do two things: apply the undo record, and create a redo record */ u = s->undo_rec[s->undo_point-1]; r = &s->undo_rec[s->redo_point-1]; r->char_storage = -1; r->insert_length = u.delete_length; r->delete_length = u.insert_length; r->where = u.where; if (u.delete_length) { /* if the undo record says to delete characters, then the redo record will need to re-insert the characters that get deleted, so we need to store them. there are three cases: - there's enough room to store the characters - characters stored for *redoing* don't leave room for redo - characters stored for *undoing* don't leave room for redo if the last is true, we have to bail */ if (s->undo_char_point + u.delete_length >= NK_TEXTEDIT_UNDOCHARCOUNT) { /* the undo records take up too much character space; there's no space * to store the redo characters */ r->insert_length = 0; } else { int i; /* there's definitely room to store the characters eventually */ while (s->undo_char_point + u.delete_length > s->redo_char_point) { /* there's currently not enough room, so discard a redo record */ nk_textedit_discard_redo(s); /* should never happen: */ if (s->redo_point == NK_TEXTEDIT_UNDOSTATECOUNT) return; } r = &s->undo_rec[s->redo_point-1]; r->char_storage = (short)(s->redo_char_point - u.delete_length); s->redo_char_point = (short)(s->redo_char_point - u.delete_length); /* now save the characters */ for (i=0; i < u.delete_length; ++i) s->undo_char[r->char_storage + i] = nk_str_rune_at(&state->string, u.where + i); } /* now we can carry out the deletion */ nk_str_delete_runes(&state->string, u.where, u.delete_length); } /* check type of recorded action: */ if (u.insert_length) { /* easy case: was a deletion, so we need to insert n characters */ nk_str_insert_text_runes(&state->string, u.where, &s->undo_char[u.char_storage], u.insert_length); s->undo_char_point = (short)(s->undo_char_point - u.insert_length); } state->cursor = (short)(u.where + u.insert_length); s->undo_point--; s->redo_point--; } NK_API void nk_textedit_redo(struct nk_text_edit *state) { struct nk_text_undo_state *s = &state->undo; struct nk_text_undo_record *u, r; if (s->redo_point == NK_TEXTEDIT_UNDOSTATECOUNT) return; /* we need to do two things: apply the redo record, and create an undo record */ u = &s->undo_rec[s->undo_point]; r = s->undo_rec[s->redo_point]; /* we KNOW there must be room for the undo record, because the redo record was derived from an undo record */ u->delete_length = r.insert_length; u->insert_length = r.delete_length; u->where = r.where; u->char_storage = -1; if (r.delete_length) { /* the redo record requires us to delete characters, so the undo record needs to store the characters */ if (s->undo_char_point + u->insert_length > s->redo_char_point) { u->insert_length = 0; u->delete_length = 0; } else { int i; u->char_storage = s->undo_char_point; s->undo_char_point = (short)(s->undo_char_point + u->insert_length); /* now save the characters */ for (i=0; i < u->insert_length; ++i) { s->undo_char[u->char_storage + i] = nk_str_rune_at(&state->string, u->where + i); } } nk_str_delete_runes(&state->string, r.where, r.delete_length); } if (r.insert_length) { /* easy case: need to insert n characters */ nk_str_insert_text_runes(&state->string, r.where, &s->undo_char[r.char_storage], r.insert_length); } state->cursor = r.where + r.insert_length; s->undo_point++; s->redo_point++; } NK_INTERN void nk_textedit_makeundo_insert(struct nk_text_edit *state, int where, int length) { nk_textedit_createundo(&state->undo, where, 0, length); } NK_INTERN void nk_textedit_makeundo_delete(struct nk_text_edit *state, int where, int length) { int i; nk_rune *p = nk_textedit_createundo(&state->undo, where, length, 0); if (p) { for (i=0; i < length; ++i) p[i] = nk_str_rune_at(&state->string, where+i); } } NK_INTERN void nk_textedit_makeundo_replace(struct nk_text_edit *state, int where, int old_length, int new_length) { int i; nk_rune *p = nk_textedit_createundo(&state->undo, where, old_length, new_length); if (p) { for (i=0; i < old_length; ++i) p[i] = nk_str_rune_at(&state->string, where+i); } } NK_LIB void nk_textedit_clear_state(struct nk_text_edit *state, enum nk_text_edit_type type, nk_plugin_filter filter) { /* reset the state to default */ state->undo.undo_point = 0; state->undo.undo_char_point = 0; state->undo.redo_point = NK_TEXTEDIT_UNDOSTATECOUNT; state->undo.redo_char_point = NK_TEXTEDIT_UNDOCHARCOUNT; state->select_end = state->select_start = 0; state->cursor = 0; state->has_preferred_x = 0; state->preferred_x = 0; state->cursor_at_end_of_line = 0; state->initialized = 1; state->single_line = (unsigned char)(type == NK_TEXT_EDIT_SINGLE_LINE); state->mode = NK_TEXT_EDIT_MODE_VIEW; state->filter = filter; state->scrollbar = nk_vec2(0,0); } NK_API void nk_textedit_init_fixed(struct nk_text_edit *state, void *memory, nk_size size) { NK_ASSERT(state); NK_ASSERT(memory); if (!state || !memory || !size) return; NK_MEMSET(state, 0, sizeof(struct nk_text_edit)); nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0); nk_str_init_fixed(&state->string, memory, size); } NK_API void nk_textedit_init(struct nk_text_edit *state, struct nk_allocator *alloc, nk_size size) { NK_ASSERT(state); NK_ASSERT(alloc); if (!state || !alloc) return; NK_MEMSET(state, 0, sizeof(struct nk_text_edit)); nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0); nk_str_init(&state->string, alloc, size); } #ifdef NK_INCLUDE_DEFAULT_ALLOCATOR NK_API void nk_textedit_init_default(struct nk_text_edit *state) { NK_ASSERT(state); if (!state) return; NK_MEMSET(state, 0, sizeof(struct nk_text_edit)); nk_textedit_clear_state(state, NK_TEXT_EDIT_SINGLE_LINE, 0); nk_str_init_default(&state->string); } #endif NK_API void nk_textedit_select_all(struct nk_text_edit *state) { NK_ASSERT(state); state->select_start = 0; state->select_end = state->string.len; } NK_API void nk_textedit_free(struct nk_text_edit *state) { NK_ASSERT(state); if (!state) return; nk_str_free(&state->string); } /* =============================================================== * * FILTER * * ===============================================================*/ NK_API nk_bool nk_filter_default(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(unicode); NK_UNUSED(box); return nk_true; } NK_API nk_bool nk_filter_ascii(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if (unicode > 128) return nk_false; else return nk_true; } NK_API nk_bool nk_filter_float(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if ((unicode < '0' || unicode > '9') && unicode != '.' && unicode != '-') return nk_false; else return nk_true; } NK_API nk_bool nk_filter_decimal(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if ((unicode < '0' || unicode > '9') && unicode != '-') return nk_false; else return nk_true; } NK_API nk_bool nk_filter_hex(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if ((unicode < '0' || unicode > '9') && (unicode < 'a' || unicode > 'f') && (unicode < 'A' || unicode > 'F')) return nk_false; else return nk_true; } NK_API nk_bool nk_filter_oct(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if (unicode < '0' || unicode > '7') return nk_false; else return nk_true; } NK_API nk_bool nk_filter_binary(const struct nk_text_edit *box, nk_rune unicode) { NK_UNUSED(box); if (unicode != '0' && unicode != '1') return nk_false; else return nk_true; } /* =============================================================== * * EDIT * * ===============================================================*/ NK_LIB void nk_edit_draw_text(struct nk_command_buffer *out, const struct nk_style_edit *style, float pos_x, float pos_y, float x_offset, const char *text, int byte_len, float row_height, const struct nk_user_font *font, struct nk_color background, struct nk_color foreground, nk_bool is_selected) { NK_ASSERT(out); NK_ASSERT(font); NK_ASSERT(style); if (!text || !byte_len || !out || !style) return; {int glyph_len = 0; nk_rune unicode = 0; int text_len = 0; float line_width = 0; float glyph_width; const char *line = text; float line_offset = 0; int line_count = 0; struct nk_text txt; txt.padding = nk_vec2(0,0); txt.background = background; txt.text = foreground; glyph_len = nk_utf_decode(text+text_len, &unicode, byte_len-text_len); if (!glyph_len) return; while ((text_len < byte_len) && glyph_len) { if (unicode == '\n') { /* new line separator so draw previous line */ struct nk_rect label; label.y = pos_y + line_offset; label.h = row_height; label.w = line_width; label.x = pos_x; if (!line_count) label.x += x_offset; if (is_selected) /* selection needs to draw different background color */ nk_fill_rect(out, label, 0, background); nk_widget_text(out, label, line, (int)((text + text_len) - line), &txt, NK_TEXT_CENTERED, font); text_len++; line_count++; line_width = 0; line = text + text_len; line_offset += row_height; glyph_len = nk_utf_decode(text + text_len, &unicode, (int)(byte_len-text_len)); continue; } if (unicode == '\r') { text_len++; glyph_len = nk_utf_decode(text + text_len, &unicode, byte_len-text_len); continue; } glyph_width = font->width(font->userdata, font->height, text+text_len, glyph_len); line_width += (float)glyph_width; text_len += glyph_len; glyph_len = nk_utf_decode(text + text_len, &unicode, byte_len-text_len); continue; } if (line_width > 0) { /* draw last line */ struct nk_rect label; label.y = pos_y + line_offset; label.h = row_height; label.w = line_width; label.x = pos_x; if (!line_count) label.x += x_offset; if (is_selected) nk_fill_rect(out, label, 0, background); nk_widget_text(out, label, line, (int)((text + text_len) - line), &txt, NK_TEXT_LEFT, font); }} } NK_LIB nk_flags nk_do_edit(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_flags flags, nk_plugin_filter filter, struct nk_text_edit *edit, const struct nk_style_edit *style, struct nk_input *in, const struct nk_user_font *font) { struct nk_rect area; nk_flags ret = 0; float row_height; char prev_state = 0; char is_hovered = 0; char select_all = 0; char cursor_follow = 0; struct nk_rect old_clip; struct nk_rect clip; NK_ASSERT(state); NK_ASSERT(out); NK_ASSERT(style); if (!state || !out || !style) return ret; /* visible text area calculation */ area.x = bounds.x + style->padding.x + style->border; area.y = bounds.y + style->padding.y + style->border; area.w = bounds.w - (2.0f * style->padding.x + 2 * style->border); area.h = bounds.h - (2.0f * style->padding.y + 2 * style->border); if (flags & NK_EDIT_MULTILINE) area.w = NK_MAX(0, area.w - style->scrollbar_size.x); row_height = (flags & NK_EDIT_MULTILINE)? font->height + style->row_padding: area.h; /* calculate clipping rectangle */ old_clip = out->clip; nk_unify(&clip, &old_clip, area.x, area.y, area.x + area.w, area.y + area.h); /* update edit state */ prev_state = (char)edit->active; is_hovered = (char)nk_input_is_mouse_hovering_rect(in, bounds); if (in && in->mouse.buttons[NK_BUTTON_LEFT].clicked && in->mouse.buttons[NK_BUTTON_LEFT].down) { edit->active = NK_INBOX(in->mouse.pos.x, in->mouse.pos.y, bounds.x, bounds.y, bounds.w, bounds.h); } /* (de)activate text editor */ if (!prev_state && edit->active) { const enum nk_text_edit_type type = (flags & NK_EDIT_MULTILINE) ? NK_TEXT_EDIT_MULTI_LINE: NK_TEXT_EDIT_SINGLE_LINE; /* keep scroll position when re-activating edit widget */ struct nk_vec2 oldscrollbar = edit->scrollbar; nk_textedit_clear_state(edit, type, filter); edit->scrollbar = oldscrollbar; if (flags & NK_EDIT_AUTO_SELECT) select_all = nk_true; if (flags & NK_EDIT_GOTO_END_ON_ACTIVATE) { edit->cursor = edit->string.len; in = 0; } } else if (!edit->active) edit->mode = NK_TEXT_EDIT_MODE_VIEW; if (flags & NK_EDIT_READ_ONLY) edit->mode = NK_TEXT_EDIT_MODE_VIEW; else if (flags & NK_EDIT_ALWAYS_INSERT_MODE) edit->mode = NK_TEXT_EDIT_MODE_INSERT; ret = (edit->active) ? NK_EDIT_ACTIVE: NK_EDIT_INACTIVE; if (prev_state != edit->active) ret |= (edit->active) ? NK_EDIT_ACTIVATED: NK_EDIT_DEACTIVATED; /* handle user input */ if (edit->active && in) { int shift_mod = in->keyboard.keys[NK_KEY_SHIFT].down; const float mouse_x = (in->mouse.pos.x - area.x) + edit->scrollbar.x; const float mouse_y = (in->mouse.pos.y - area.y) + edit->scrollbar.y; /* mouse click handler */ is_hovered = (char)nk_input_is_mouse_hovering_rect(in, area); if (select_all) { nk_textedit_select_all(edit); } else if (is_hovered && in->mouse.buttons[NK_BUTTON_LEFT].down && in->mouse.buttons[NK_BUTTON_LEFT].clicked) { nk_textedit_click(edit, mouse_x, mouse_y, font, row_height); } else if (is_hovered && in->mouse.buttons[NK_BUTTON_LEFT].down && (in->mouse.delta.x != 0.0f || in->mouse.delta.y != 0.0f)) { nk_textedit_drag(edit, mouse_x, mouse_y, font, row_height); cursor_follow = nk_true; } else if (is_hovered && in->mouse.buttons[NK_BUTTON_RIGHT].clicked && in->mouse.buttons[NK_BUTTON_RIGHT].down) { nk_textedit_key(edit, NK_KEY_TEXT_WORD_LEFT, nk_false, font, row_height); nk_textedit_key(edit, NK_KEY_TEXT_WORD_RIGHT, nk_true, font, row_height); cursor_follow = nk_true; } {int i; /* keyboard input */ int old_mode = edit->mode; for (i = 0; i < NK_KEY_MAX; ++i) { if (i == NK_KEY_ENTER || i == NK_KEY_TAB) continue; /* special case */ if (nk_input_is_key_pressed(in, (enum nk_keys)i)) { nk_textedit_key(edit, (enum nk_keys)i, shift_mod, font, row_height); cursor_follow = nk_true; } } if (old_mode != edit->mode) { in->keyboard.text_len = 0; }} /* text input */ edit->filter = filter; if (in->keyboard.text_len) { nk_textedit_text(edit, in->keyboard.text, in->keyboard.text_len); cursor_follow = nk_true; in->keyboard.text_len = 0; } /* enter key handler */ if (nk_input_is_key_pressed(in, NK_KEY_ENTER)) { cursor_follow = nk_true; if (flags & NK_EDIT_CTRL_ENTER_NEWLINE && shift_mod) nk_textedit_text(edit, "\n", 1); else if (flags & NK_EDIT_SIG_ENTER) ret |= NK_EDIT_COMMITED; else nk_textedit_text(edit, "\n", 1); } /* cut & copy handler */ {int copy= nk_input_is_key_pressed(in, NK_KEY_COPY); int cut = nk_input_is_key_pressed(in, NK_KEY_CUT); if ((copy || cut) && (flags & NK_EDIT_CLIPBOARD)) { int glyph_len; nk_rune unicode; const char *text; int b = edit->select_start; int e = edit->select_end; int begin = NK_MIN(b, e); int end = NK_MAX(b, e); text = nk_str_at_const(&edit->string, begin, &unicode, &glyph_len); if (edit->clip.copy) edit->clip.copy(edit->clip.userdata, text, end - begin); if (cut && !(flags & NK_EDIT_READ_ONLY)){ nk_textedit_cut(edit); cursor_follow = nk_true; } }} /* paste handler */ {int paste = nk_input_is_key_pressed(in, NK_KEY_PASTE); if (paste && (flags & NK_EDIT_CLIPBOARD) && edit->clip.paste) { edit->clip.paste(edit->clip.userdata, edit); cursor_follow = nk_true; }} /* tab handler */ {int tab = nk_input_is_key_pressed(in, NK_KEY_TAB); if (tab && (flags & NK_EDIT_ALLOW_TAB)) { nk_textedit_text(edit, " ", 4); cursor_follow = nk_true; }} } /* set widget state */ if (edit->active) *state = NK_WIDGET_STATE_ACTIVE; else nk_widget_state_reset(state); if (is_hovered) *state |= NK_WIDGET_STATE_HOVERED; /* DRAW EDIT */ {const char *text = nk_str_get_const(&edit->string); int len = nk_str_len_char(&edit->string); {/* select background colors/images */ const struct nk_style_item *background; if (*state & NK_WIDGET_STATE_ACTIVED) background = &style->active; else if (*state & NK_WIDGET_STATE_HOVER) background = &style->hover; else background = &style->normal; /* draw background frame */ if (background->type == NK_STYLE_ITEM_COLOR) { nk_fill_rect(out, bounds, style->rounding, background->data.color); nk_stroke_rect(out, bounds, style->rounding, style->border, style->border_color); } else nk_draw_image(out, bounds, &background->data.image, nk_white);} area.w = NK_MAX(0, area.w - style->cursor_size); if (edit->active) { int total_lines = 1; struct nk_vec2 text_size = nk_vec2(0,0); /* text pointer positions */ const char *cursor_ptr = 0; const char *select_begin_ptr = 0; const char *select_end_ptr = 0; /* 2D pixel positions */ struct nk_vec2 cursor_pos = nk_vec2(0,0); struct nk_vec2 selection_offset_start = nk_vec2(0,0); struct nk_vec2 selection_offset_end = nk_vec2(0,0); int selection_begin = NK_MIN(edit->select_start, edit->select_end); int selection_end = NK_MAX(edit->select_start, edit->select_end); /* calculate total line count + total space + cursor/selection position */ float line_width = 0.0f; if (text && len) { /* utf8 encoding */ float glyph_width; int glyph_len = 0; nk_rune unicode = 0; int text_len = 0; int glyphs = 0; int row_begin = 0; glyph_len = nk_utf_decode(text, &unicode, len); glyph_width = font->width(font->userdata, font->height, text, glyph_len); line_width = 0; /* iterate all lines */ while ((text_len < len) && glyph_len) { /* set cursor 2D position and line */ if (!cursor_ptr && glyphs == edit->cursor) { int glyph_offset; struct nk_vec2 out_offset; struct nk_vec2 row_size; const char *remaining; /* calculate 2d position */ cursor_pos.y = (float)(total_lines-1) * row_height; row_size = nk_text_calculate_text_bounds(font, text+row_begin, text_len-row_begin, row_height, &remaining, &out_offset, &glyph_offset, NK_STOP_ON_NEW_LINE); cursor_pos.x = row_size.x; cursor_ptr = text + text_len; } /* set start selection 2D position and line */ if (!select_begin_ptr && edit->select_start != edit->select_end && glyphs == selection_begin) { int glyph_offset; struct nk_vec2 out_offset; struct nk_vec2 row_size; const char *remaining; /* calculate 2d position */ selection_offset_start.y = (float)(NK_MAX(total_lines-1,0)) * row_height; row_size = nk_text_calculate_text_bounds(font, text+row_begin, text_len-row_begin, row_height, &remaining, &out_offset, &glyph_offset, NK_STOP_ON_NEW_LINE); selection_offset_start.x = row_size.x; select_begin_ptr = text + text_len; } /* set end selection 2D position and line */ if (!select_end_ptr && edit->select_start != edit->select_end && glyphs == selection_end) { int glyph_offset; struct nk_vec2 out_offset; struct nk_vec2 row_size; const char *remaining; /* calculate 2d position */ selection_offset_end.y = (float)(total_lines-1) * row_height; row_size = nk_text_calculate_text_bounds(font, text+row_begin, text_len-row_begin, row_height, &remaining, &out_offset, &glyph_offset, NK_STOP_ON_NEW_LINE); selection_offset_end.x = row_size.x; select_end_ptr = text + text_len; } if (unicode == '\n') { text_size.x = NK_MAX(text_size.x, line_width); total_lines++; line_width = 0; text_len++; glyphs++; row_begin = text_len; glyph_len = nk_utf_decode(text + text_len, &unicode, len-text_len); glyph_width = font->width(font->userdata, font->height, text+text_len, glyph_len); continue; } glyphs++; text_len += glyph_len; line_width += (float)glyph_width; glyph_len = nk_utf_decode(text + text_len, &unicode, len-text_len); glyph_width = font->width(font->userdata, font->height, text+text_len, glyph_len); continue; } text_size.y = (float)total_lines * row_height; /* handle case when cursor is at end of text buffer */ if (!cursor_ptr && edit->cursor == edit->string.len) { cursor_pos.x = line_width; cursor_pos.y = text_size.y - row_height; } } { /* scrollbar */ if (cursor_follow) { /* update scrollbar to follow cursor */ if (!(flags & NK_EDIT_NO_HORIZONTAL_SCROLL)) { /* horizontal scroll */ const float scroll_increment = area.w * 0.25f; if (cursor_pos.x < edit->scrollbar.x) edit->scrollbar.x = (float)(int)NK_MAX(0.0f, cursor_pos.x - scroll_increment); if (cursor_pos.x >= edit->scrollbar.x + area.w) edit->scrollbar.x = (float)(int)NK_MAX(0.0f, cursor_pos.x - area.w + scroll_increment); } else edit->scrollbar.x = 0; if (flags & NK_EDIT_MULTILINE) { /* vertical scroll */ if (cursor_pos.y < edit->scrollbar.y) edit->scrollbar.y = NK_MAX(0.0f, cursor_pos.y - row_height); if (cursor_pos.y >= edit->scrollbar.y + area.h) edit->scrollbar.y = edit->scrollbar.y + row_height; } else edit->scrollbar.y = 0; } /* scrollbar widget */ if (flags & NK_EDIT_MULTILINE) { nk_flags ws; struct nk_rect scroll; float scroll_target; float scroll_offset; float scroll_step; float scroll_inc; scroll = area; scroll.x = (bounds.x + bounds.w - style->border) - style->scrollbar_size.x; scroll.w = style->scrollbar_size.x; scroll_offset = edit->scrollbar.y; scroll_step = scroll.h * 0.10f; scroll_inc = scroll.h * 0.01f; scroll_target = text_size.y; edit->scrollbar.y = nk_do_scrollbarv(&ws, out, scroll, 0, scroll_offset, scroll_target, scroll_step, scroll_inc, &style->scrollbar, in, font); } } /* draw text */ {struct nk_color background_color; struct nk_color text_color; struct nk_color sel_background_color; struct nk_color sel_text_color; struct nk_color cursor_color; struct nk_color cursor_text_color; const struct nk_style_item *background; nk_push_scissor(out, clip); /* select correct colors to draw */ if (*state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; text_color = style->text_active; sel_text_color = style->selected_text_hover; sel_background_color = style->selected_hover; cursor_color = style->cursor_hover; cursor_text_color = style->cursor_text_hover; } else if (*state & NK_WIDGET_STATE_HOVER) { background = &style->hover; text_color = style->text_hover; sel_text_color = style->selected_text_hover; sel_background_color = style->selected_hover; cursor_text_color = style->cursor_text_hover; cursor_color = style->cursor_hover; } else { background = &style->normal; text_color = style->text_normal; sel_text_color = style->selected_text_normal; sel_background_color = style->selected_normal; cursor_color = style->cursor_normal; cursor_text_color = style->cursor_text_normal; } if (background->type == NK_STYLE_ITEM_IMAGE) background_color = nk_rgba(0,0,0,0); else background_color = background->data.color; if (edit->select_start == edit->select_end) { /* no selection so just draw the complete text */ const char *begin = nk_str_get_const(&edit->string); int l = nk_str_len_char(&edit->string); nk_edit_draw_text(out, style, area.x - edit->scrollbar.x, area.y - edit->scrollbar.y, 0, begin, l, row_height, font, background_color, text_color, nk_false); } else { /* edit has selection so draw 1-3 text chunks */ if (edit->select_start != edit->select_end && selection_begin > 0){ /* draw unselected text before selection */ const char *begin = nk_str_get_const(&edit->string); NK_ASSERT(select_begin_ptr); nk_edit_draw_text(out, style, area.x - edit->scrollbar.x, area.y - edit->scrollbar.y, 0, begin, (int)(select_begin_ptr - begin), row_height, font, background_color, text_color, nk_false); } if (edit->select_start != edit->select_end) { /* draw selected text */ NK_ASSERT(select_begin_ptr); if (!select_end_ptr) { const char *begin = nk_str_get_const(&edit->string); select_end_ptr = begin + nk_str_len_char(&edit->string); } nk_edit_draw_text(out, style, area.x - edit->scrollbar.x, area.y + selection_offset_start.y - edit->scrollbar.y, selection_offset_start.x, select_begin_ptr, (int)(select_end_ptr - select_begin_ptr), row_height, font, sel_background_color, sel_text_color, nk_true); } if ((edit->select_start != edit->select_end && selection_end < edit->string.len)) { /* draw unselected text after selected text */ const char *begin = select_end_ptr; const char *end = nk_str_get_const(&edit->string) + nk_str_len_char(&edit->string); NK_ASSERT(select_end_ptr); nk_edit_draw_text(out, style, area.x - edit->scrollbar.x, area.y + selection_offset_end.y - edit->scrollbar.y, selection_offset_end.x, begin, (int)(end - begin), row_height, font, background_color, text_color, nk_true); } } /* cursor */ if (edit->select_start == edit->select_end) { if (edit->cursor >= nk_str_len(&edit->string) || (cursor_ptr && *cursor_ptr == '\n')) { /* draw cursor at end of line */ struct nk_rect cursor; cursor.w = style->cursor_size; cursor.h = font->height; cursor.x = area.x + cursor_pos.x - edit->scrollbar.x; cursor.y = area.y + cursor_pos.y + row_height/2.0f - cursor.h/2.0f; cursor.y -= edit->scrollbar.y; nk_fill_rect(out, cursor, 0, cursor_color); } else { /* draw cursor inside text */ int glyph_len; struct nk_rect label; struct nk_text txt; nk_rune unicode; NK_ASSERT(cursor_ptr); glyph_len = nk_utf_decode(cursor_ptr, &unicode, 4); label.x = area.x + cursor_pos.x - edit->scrollbar.x; label.y = area.y + cursor_pos.y - edit->scrollbar.y; label.w = font->width(font->userdata, font->height, cursor_ptr, glyph_len); label.h = row_height; txt.padding = nk_vec2(0,0); txt.background = cursor_color;; txt.text = cursor_text_color; nk_fill_rect(out, label, 0, cursor_color); nk_widget_text(out, label, cursor_ptr, glyph_len, &txt, NK_TEXT_LEFT, font); } }} } else { /* not active so just draw text */ int l = nk_str_len_char(&edit->string); const char *begin = nk_str_get_const(&edit->string); const struct nk_style_item *background; struct nk_color background_color; struct nk_color text_color; nk_push_scissor(out, clip); if (*state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; text_color = style->text_active; } else if (*state & NK_WIDGET_STATE_HOVER) { background = &style->hover; text_color = style->text_hover; } else { background = &style->normal; text_color = style->text_normal; } if (background->type == NK_STYLE_ITEM_IMAGE) background_color = nk_rgba(0,0,0,0); else background_color = background->data.color; nk_edit_draw_text(out, style, area.x - edit->scrollbar.x, area.y - edit->scrollbar.y, 0, begin, l, row_height, font, background_color, text_color, nk_false); } nk_push_scissor(out, old_clip);} return ret; } NK_API void nk_edit_focus(struct nk_context *ctx, nk_flags flags) { nk_hash hash; struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; win = ctx->current; hash = win->edit.seq; win->edit.active = nk_true; win->edit.name = hash; if (flags & NK_EDIT_ALWAYS_INSERT_MODE) win->edit.mode = NK_TEXT_EDIT_MODE_INSERT; } NK_API void nk_edit_unfocus(struct nk_context *ctx) { struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; win = ctx->current; win->edit.active = nk_false; win->edit.name = 0; } NK_API nk_flags nk_edit_string(struct nk_context *ctx, nk_flags flags, char *memory, int *len, int max, nk_plugin_filter filter) { nk_hash hash; nk_flags state; struct nk_text_edit *edit; struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(memory); NK_ASSERT(len); if (!ctx || !memory || !len) return 0; filter = (!filter) ? nk_filter_default: filter; win = ctx->current; hash = win->edit.seq; edit = &ctx->text_edit; nk_textedit_clear_state(&ctx->text_edit, (flags & NK_EDIT_MULTILINE)? NK_TEXT_EDIT_MULTI_LINE: NK_TEXT_EDIT_SINGLE_LINE, filter); if (win->edit.active && hash == win->edit.name) { if (flags & NK_EDIT_NO_CURSOR) edit->cursor = nk_utf_len(memory, *len); else edit->cursor = win->edit.cursor; if (!(flags & NK_EDIT_SELECTABLE)) { edit->select_start = win->edit.cursor; edit->select_end = win->edit.cursor; } else { edit->select_start = win->edit.sel_start; edit->select_end = win->edit.sel_end; } edit->mode = win->edit.mode; edit->scrollbar.x = (float)win->edit.scrollbar.x; edit->scrollbar.y = (float)win->edit.scrollbar.y; edit->active = nk_true; } else edit->active = nk_false; max = NK_MAX(1, max); *len = NK_MIN(*len, max-1); nk_str_init_fixed(&edit->string, memory, (nk_size)max); edit->string.buffer.allocated = (nk_size)*len; edit->string.len = nk_utf_len(memory, *len); state = nk_edit_buffer(ctx, flags, edit, filter); *len = (int)edit->string.buffer.allocated; if (edit->active) { win->edit.cursor = edit->cursor; win->edit.sel_start = edit->select_start; win->edit.sel_end = edit->select_end; win->edit.mode = edit->mode; win->edit.scrollbar.x = (nk_uint)edit->scrollbar.x; win->edit.scrollbar.y = (nk_uint)edit->scrollbar.y; } return state; } NK_API nk_flags nk_edit_buffer(struct nk_context *ctx, nk_flags flags, struct nk_text_edit *edit, nk_plugin_filter filter) { struct nk_window *win; struct nk_style *style; struct nk_input *in; enum nk_widget_layout_states state; struct nk_rect bounds; nk_flags ret_flags = 0; unsigned char prev_state; nk_hash hash; /* make sure correct values */ NK_ASSERT(ctx); NK_ASSERT(edit); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; state = nk_widget(&bounds, ctx); if (!state) return state; in = (win->layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; /* check if edit is currently hot item */ hash = win->edit.seq++; if (win->edit.active && hash == win->edit.name) { if (flags & NK_EDIT_NO_CURSOR) edit->cursor = edit->string.len; if (!(flags & NK_EDIT_SELECTABLE)) { edit->select_start = edit->cursor; edit->select_end = edit->cursor; } if (flags & NK_EDIT_CLIPBOARD) edit->clip = ctx->clip; edit->active = (unsigned char)win->edit.active; } else edit->active = nk_false; edit->mode = win->edit.mode; filter = (!filter) ? nk_filter_default: filter; prev_state = (unsigned char)edit->active; in = (flags & NK_EDIT_READ_ONLY) ? 0: in; ret_flags = nk_do_edit(&ctx->last_widget_state, &win->buffer, bounds, flags, filter, edit, &style->edit, in, style->font); if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) ctx->style.cursor_active = ctx->style.cursors[NK_CURSOR_TEXT]; if (edit->active && prev_state != edit->active) { /* current edit is now hot */ win->edit.active = nk_true; win->edit.name = hash; } else if (prev_state && !edit->active) { /* current edit is now cold */ win->edit.active = nk_false; } return ret_flags; } NK_API nk_flags nk_edit_string_zero_terminated(struct nk_context *ctx, nk_flags flags, char *buffer, int max, nk_plugin_filter filter) { nk_flags result; int len = nk_strlen(buffer); result = nk_edit_string(ctx, flags, buffer, &len, max, filter); buffer[NK_MIN(NK_MAX(max-1,0), len)] = '\0'; return result; } /* =============================================================== * * PROPERTY * * ===============================================================*/ NK_LIB void nk_drag_behavior(nk_flags *state, const struct nk_input *in, struct nk_rect drag, struct nk_property_variant *variant, float inc_per_pixel) { int left_mouse_down = in && in->mouse.buttons[NK_BUTTON_LEFT].down; int left_mouse_click_in_cursor = in && nk_input_has_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, drag, nk_true); nk_widget_state_reset(state); if (nk_input_is_mouse_hovering_rect(in, drag)) *state = NK_WIDGET_STATE_HOVERED; if (left_mouse_down && left_mouse_click_in_cursor) { float delta, pixels; pixels = in->mouse.delta.x; delta = pixels * inc_per_pixel; switch (variant->kind) { default: break; case NK_PROPERTY_INT: variant->value.i = variant->value.i + (int)delta; variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i, variant->max_value.i); break; case NK_PROPERTY_FLOAT: variant->value.f = variant->value.f + (float)delta; variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f, variant->max_value.f); break; case NK_PROPERTY_DOUBLE: variant->value.d = variant->value.d + (double)delta; variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d, variant->max_value.d); break; } *state = NK_WIDGET_STATE_ACTIVE; } if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, drag)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, drag)) *state |= NK_WIDGET_STATE_LEFT; } NK_LIB void nk_property_behavior(nk_flags *ws, const struct nk_input *in, struct nk_rect property, struct nk_rect label, struct nk_rect edit, struct nk_rect empty, int *state, struct nk_property_variant *variant, float inc_per_pixel) { if (in && *state == NK_PROPERTY_DEFAULT) { if (nk_button_behavior(ws, edit, in, NK_BUTTON_DEFAULT)) *state = NK_PROPERTY_EDIT; else if (nk_input_is_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, label, nk_true)) *state = NK_PROPERTY_DRAG; else if (nk_input_is_mouse_click_down_in_rect(in, NK_BUTTON_LEFT, empty, nk_true)) *state = NK_PROPERTY_DRAG; } if (*state == NK_PROPERTY_DRAG) { nk_drag_behavior(ws, in, property, variant, inc_per_pixel); if (!(*ws & NK_WIDGET_STATE_ACTIVED)) *state = NK_PROPERTY_DEFAULT; } } NK_LIB void nk_draw_property(struct nk_command_buffer *out, const struct nk_style_property *style, const struct nk_rect *bounds, const struct nk_rect *label, nk_flags state, const char *name, int len, const struct nk_user_font *font) { struct nk_text text; const struct nk_style_item *background; /* select correct background and text color */ if (state & NK_WIDGET_STATE_ACTIVED) { background = &style->active; text.text = style->label_active; } else if (state & NK_WIDGET_STATE_HOVER) { background = &style->hover; text.text = style->label_hover; } else { background = &style->normal; text.text = style->label_normal; } /* draw background */ if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(out, *bounds, &background->data.image, nk_white); text.background = nk_rgba(0,0,0,0); } else { text.background = background->data.color; nk_fill_rect(out, *bounds, style->rounding, background->data.color); nk_stroke_rect(out, *bounds, style->rounding, style->border, background->data.color); } /* draw label */ text.padding = nk_vec2(0,0); nk_widget_text(out, *label, name, len, &text, NK_TEXT_CENTERED, font); } NK_LIB void nk_do_property(nk_flags *ws, struct nk_command_buffer *out, struct nk_rect property, const char *name, struct nk_property_variant *variant, float inc_per_pixel, char *buffer, int *len, int *state, int *cursor, int *select_begin, int *select_end, const struct nk_style_property *style, enum nk_property_filter filter, struct nk_input *in, const struct nk_user_font *font, struct nk_text_edit *text_edit, enum nk_button_behavior behavior) { const nk_plugin_filter filters[] = { nk_filter_decimal, nk_filter_float }; nk_bool active, old; int num_len, name_len; char string[NK_MAX_NUMBER_BUFFER]; float size; char *dst = 0; int *length; struct nk_rect left; struct nk_rect right; struct nk_rect label; struct nk_rect edit; struct nk_rect empty; /* left decrement button */ left.h = font->height/2; left.w = left.h; left.x = property.x + style->border + style->padding.x; left.y = property.y + style->border + property.h/2.0f - left.h/2; /* text label */ name_len = nk_strlen(name); size = font->width(font->userdata, font->height, name, name_len); label.x = left.x + left.w + style->padding.x; label.w = (float)size + 2 * style->padding.x; label.y = property.y + style->border + style->padding.y; label.h = property.h - (2 * style->border + 2 * style->padding.y); /* right increment button */ right.y = left.y; right.w = left.w; right.h = left.h; right.x = property.x + property.w - (right.w + style->padding.x); /* edit */ if (*state == NK_PROPERTY_EDIT) { size = font->width(font->userdata, font->height, buffer, *len); size += style->edit.cursor_size; length = len; dst = buffer; } else { switch (variant->kind) { default: break; case NK_PROPERTY_INT: nk_itoa(string, variant->value.i); num_len = nk_strlen(string); break; case NK_PROPERTY_FLOAT: NK_DTOA(string, (double)variant->value.f); num_len = nk_string_float_limit(string, NK_MAX_FLOAT_PRECISION); break; case NK_PROPERTY_DOUBLE: NK_DTOA(string, variant->value.d); num_len = nk_string_float_limit(string, NK_MAX_FLOAT_PRECISION); break; } size = font->width(font->userdata, font->height, string, num_len); dst = string; length = &num_len; } edit.w = (float)size + 2 * style->padding.x; edit.w = NK_MIN(edit.w, right.x - (label.x + label.w)); edit.x = right.x - (edit.w + style->padding.x); edit.y = property.y + style->border; edit.h = property.h - (2 * style->border); /* empty left space activator */ empty.w = edit.x - (label.x + label.w); empty.x = label.x + label.w; empty.y = property.y; empty.h = property.h; /* update property */ old = (*state == NK_PROPERTY_EDIT); nk_property_behavior(ws, in, property, label, edit, empty, state, variant, inc_per_pixel); /* draw property */ if (style->draw_begin) style->draw_begin(out, style->userdata); nk_draw_property(out, style, &property, &label, *ws, name, name_len, font); if (style->draw_end) style->draw_end(out, style->userdata); /* execute right button */ if (nk_do_button_symbol(ws, out, left, style->sym_left, behavior, &style->dec_button, in, font)) { switch (variant->kind) { default: break; case NK_PROPERTY_INT: variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i - variant->step.i, variant->max_value.i); break; case NK_PROPERTY_FLOAT: variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f - variant->step.f, variant->max_value.f); break; case NK_PROPERTY_DOUBLE: variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d - variant->step.d, variant->max_value.d); break; } } /* execute left button */ if (nk_do_button_symbol(ws, out, right, style->sym_right, behavior, &style->inc_button, in, font)) { switch (variant->kind) { default: break; case NK_PROPERTY_INT: variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i + variant->step.i, variant->max_value.i); break; case NK_PROPERTY_FLOAT: variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f + variant->step.f, variant->max_value.f); break; case NK_PROPERTY_DOUBLE: variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d + variant->step.d, variant->max_value.d); break; } } if (old != NK_PROPERTY_EDIT && (*state == NK_PROPERTY_EDIT)) { /* property has been activated so setup buffer */ NK_MEMCPY(buffer, dst, (nk_size)*length); *cursor = nk_utf_len(buffer, *length); *len = *length; length = len; dst = buffer; active = 0; } else active = (*state == NK_PROPERTY_EDIT); /* execute and run text edit field */ nk_textedit_clear_state(text_edit, NK_TEXT_EDIT_SINGLE_LINE, filters[filter]); text_edit->active = (unsigned char)active; text_edit->string.len = *length; text_edit->cursor = NK_CLAMP(0, *cursor, *length); text_edit->select_start = NK_CLAMP(0,*select_begin, *length); text_edit->select_end = NK_CLAMP(0,*select_end, *length); text_edit->string.buffer.allocated = (nk_size)*length; text_edit->string.buffer.memory.size = NK_MAX_NUMBER_BUFFER; text_edit->string.buffer.memory.ptr = dst; text_edit->string.buffer.size = NK_MAX_NUMBER_BUFFER; text_edit->mode = NK_TEXT_EDIT_MODE_INSERT; nk_do_edit(ws, out, edit, NK_EDIT_FIELD|NK_EDIT_AUTO_SELECT, filters[filter], text_edit, &style->edit, (*state == NK_PROPERTY_EDIT) ? in: 0, font); *length = text_edit->string.len; *cursor = text_edit->cursor; *select_begin = text_edit->select_start; *select_end = text_edit->select_end; if (text_edit->active && nk_input_is_key_pressed(in, NK_KEY_ENTER)) text_edit->active = nk_false; if (active && !text_edit->active) { /* property is now not active so convert edit text to value*/ *state = NK_PROPERTY_DEFAULT; buffer[*len] = '\0'; switch (variant->kind) { default: break; case NK_PROPERTY_INT: variant->value.i = nk_strtoi(buffer, 0); variant->value.i = NK_CLAMP(variant->min_value.i, variant->value.i, variant->max_value.i); break; case NK_PROPERTY_FLOAT: nk_string_float_limit(buffer, NK_MAX_FLOAT_PRECISION); variant->value.f = nk_strtof(buffer, 0); variant->value.f = NK_CLAMP(variant->min_value.f, variant->value.f, variant->max_value.f); break; case NK_PROPERTY_DOUBLE: nk_string_float_limit(buffer, NK_MAX_FLOAT_PRECISION); variant->value.d = nk_strtod(buffer, 0); variant->value.d = NK_CLAMP(variant->min_value.d, variant->value.d, variant->max_value.d); break; } } } NK_LIB struct nk_property_variant nk_property_variant_int(int value, int min_value, int max_value, int step) { struct nk_property_variant result; result.kind = NK_PROPERTY_INT; result.value.i = value; result.min_value.i = min_value; result.max_value.i = max_value; result.step.i = step; return result; } NK_LIB struct nk_property_variant nk_property_variant_float(float value, float min_value, float max_value, float step) { struct nk_property_variant result; result.kind = NK_PROPERTY_FLOAT; result.value.f = value; result.min_value.f = min_value; result.max_value.f = max_value; result.step.f = step; return result; } NK_LIB struct nk_property_variant nk_property_variant_double(double value, double min_value, double max_value, double step) { struct nk_property_variant result; result.kind = NK_PROPERTY_DOUBLE; result.value.d = value; result.min_value.d = min_value; result.max_value.d = max_value; result.step.d = step; return result; } NK_LIB void nk_property(struct nk_context *ctx, const char *name, struct nk_property_variant *variant, float inc_per_pixel, const enum nk_property_filter filter) { struct nk_window *win; struct nk_panel *layout; struct nk_input *in; const struct nk_style *style; struct nk_rect bounds; enum nk_widget_layout_states s; int *state = 0; nk_hash hash = 0; char *buffer = 0; int *len = 0; int *cursor = 0; int *select_begin = 0; int *select_end = 0; int old_state; char dummy_buffer[NK_MAX_NUMBER_BUFFER]; int dummy_state = NK_PROPERTY_DEFAULT; int dummy_length = 0; int dummy_cursor = 0; int dummy_select_begin = 0; int dummy_select_end = 0; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return; win = ctx->current; layout = win->layout; style = &ctx->style; s = nk_widget(&bounds, ctx); if (!s) return; /* calculate hash from name */ if (name[0] == '#') { hash = nk_murmur_hash(name, (int)nk_strlen(name), win->property.seq++); name++; /* special number hash */ } else hash = nk_murmur_hash(name, (int)nk_strlen(name), 42); /* check if property is currently hot item */ if (win->property.active && hash == win->property.name) { buffer = win->property.buffer; len = &win->property.length; cursor = &win->property.cursor; state = &win->property.state; select_begin = &win->property.select_start; select_end = &win->property.select_end; } else { buffer = dummy_buffer; len = &dummy_length; cursor = &dummy_cursor; state = &dummy_state; select_begin = &dummy_select_begin; select_end = &dummy_select_end; } /* execute property widget */ old_state = *state; ctx->text_edit.clip = ctx->clip; in = ((s == NK_WIDGET_ROM && !win->property.active) || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; nk_do_property(&ctx->last_widget_state, &win->buffer, bounds, name, variant, inc_per_pixel, buffer, len, state, cursor, select_begin, select_end, &style->property, filter, in, style->font, &ctx->text_edit, ctx->button_behavior); if (in && *state != NK_PROPERTY_DEFAULT && !win->property.active) { /* current property is now hot */ win->property.active = 1; NK_MEMCPY(win->property.buffer, buffer, (nk_size)*len); win->property.length = *len; win->property.cursor = *cursor; win->property.state = *state; win->property.name = hash; win->property.select_start = *select_begin; win->property.select_end = *select_end; if (*state == NK_PROPERTY_DRAG) { ctx->input.mouse.grab = nk_true; ctx->input.mouse.grabbed = nk_true; } } /* check if previously active property is now inactive */ if (*state == NK_PROPERTY_DEFAULT && old_state != NK_PROPERTY_DEFAULT) { if (old_state == NK_PROPERTY_DRAG) { ctx->input.mouse.grab = nk_false; ctx->input.mouse.grabbed = nk_false; ctx->input.mouse.ungrab = nk_true; } win->property.select_start = 0; win->property.select_end = 0; win->property.active = 0; } } NK_API void nk_property_int(struct nk_context *ctx, const char *name, int min, int *val, int max, int step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); NK_ASSERT(val); if (!ctx || !ctx->current || !name || !val) return; variant = nk_property_variant_int(*val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_INT); *val = variant.value.i; } NK_API void nk_property_float(struct nk_context *ctx, const char *name, float min, float *val, float max, float step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); NK_ASSERT(val); if (!ctx || !ctx->current || !name || !val) return; variant = nk_property_variant_float(*val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT); *val = variant.value.f; } NK_API void nk_property_double(struct nk_context *ctx, const char *name, double min, double *val, double max, double step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); NK_ASSERT(val); if (!ctx || !ctx->current || !name || !val) return; variant = nk_property_variant_double(*val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT); *val = variant.value.d; } NK_API nk_bool nk_propertyi(struct nk_context *ctx, const char *name, int min, int val, int max, int step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); if (!ctx || !ctx->current || !name) return val; variant = nk_property_variant_int(val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_INT); val = variant.value.i; return val; } NK_API float nk_propertyf(struct nk_context *ctx, const char *name, float min, float val, float max, float step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); if (!ctx || !ctx->current || !name) return val; variant = nk_property_variant_float(val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT); val = variant.value.f; return val; } NK_API double nk_propertyd(struct nk_context *ctx, const char *name, double min, double val, double max, double step, float inc_per_pixel) { struct nk_property_variant variant; NK_ASSERT(ctx); NK_ASSERT(name); if (!ctx || !ctx->current || !name) return val; variant = nk_property_variant_double(val, min, max, step); nk_property(ctx, name, &variant, inc_per_pixel, NK_FILTER_FLOAT); val = variant.value.d; return val; } /* ============================================================== * * CHART * * ===============================================================*/ NK_API nk_bool nk_chart_begin_colored(struct nk_context *ctx, enum nk_chart_type type, struct nk_color color, struct nk_color highlight, int count, float min_value, float max_value) { struct nk_window *win; struct nk_chart *chart; const struct nk_style *config; const struct nk_style_chart *style; const struct nk_style_item *background; struct nk_rect bounds = {0, 0, 0, 0}; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; if (!nk_widget(&bounds, ctx)) { chart = &ctx->current->layout->chart; nk_zero(chart, sizeof(*chart)); return 0; } win = ctx->current; config = &ctx->style; chart = &win->layout->chart; style = &config->chart; /* setup basic generic chart */ nk_zero(chart, sizeof(*chart)); chart->x = bounds.x + style->padding.x; chart->y = bounds.y + style->padding.y; chart->w = bounds.w - 2 * style->padding.x; chart->h = bounds.h - 2 * style->padding.y; chart->w = NK_MAX(chart->w, 2 * style->padding.x); chart->h = NK_MAX(chart->h, 2 * style->padding.y); /* add first slot into chart */ {struct nk_chart_slot *slot = &chart->slots[chart->slot++]; slot->type = type; slot->count = count; slot->color = color; slot->highlight = highlight; slot->min = NK_MIN(min_value, max_value); slot->max = NK_MAX(min_value, max_value); slot->range = slot->max - slot->min;} /* draw chart background */ background = &style->background; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(&win->buffer, bounds, &background->data.image, nk_white); } else { nk_fill_rect(&win->buffer, bounds, style->rounding, style->border_color); nk_fill_rect(&win->buffer, nk_shrink_rect(bounds, style->border), style->rounding, style->background.data.color); } return 1; } NK_API nk_bool nk_chart_begin(struct nk_context *ctx, const enum nk_chart_type type, int count, float min_value, float max_value) { return nk_chart_begin_colored(ctx, type, ctx->style.chart.color, ctx->style.chart.selected_color, count, min_value, max_value); } NK_API void nk_chart_add_slot_colored(struct nk_context *ctx, const enum nk_chart_type type, struct nk_color color, struct nk_color highlight, int count, float min_value, float max_value) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); NK_ASSERT(ctx->current->layout->chart.slot < NK_CHART_MAX_SLOT); if (!ctx || !ctx->current || !ctx->current->layout) return; if (ctx->current->layout->chart.slot >= NK_CHART_MAX_SLOT) return; /* add another slot into the graph */ {struct nk_chart *chart = &ctx->current->layout->chart; struct nk_chart_slot *slot = &chart->slots[chart->slot++]; slot->type = type; slot->count = count; slot->color = color; slot->highlight = highlight; slot->min = NK_MIN(min_value, max_value); slot->max = NK_MAX(min_value, max_value); slot->range = slot->max - slot->min;} } NK_API void nk_chart_add_slot(struct nk_context *ctx, const enum nk_chart_type type, int count, float min_value, float max_value) { nk_chart_add_slot_colored(ctx, type, ctx->style.chart.color, ctx->style.chart.selected_color, count, min_value, max_value); } NK_INTERN nk_flags nk_chart_push_line(struct nk_context *ctx, struct nk_window *win, struct nk_chart *g, float value, int slot) { struct nk_panel *layout = win->layout; const struct nk_input *i = &ctx->input; struct nk_command_buffer *out = &win->buffer; nk_flags ret = 0; struct nk_vec2 cur; struct nk_rect bounds; struct nk_color color; float step; float range; float ratio; NK_ASSERT(slot >= 0 && slot < NK_CHART_MAX_SLOT); step = g->w / (float)g->slots[slot].count; range = g->slots[slot].max - g->slots[slot].min; ratio = (value - g->slots[slot].min) / range; if (g->slots[slot].index == 0) { /* first data point does not have a connection */ g->slots[slot].last.x = g->x; g->slots[slot].last.y = (g->y + g->h) - ratio * (float)g->h; bounds.x = g->slots[slot].last.x - 2; bounds.y = g->slots[slot].last.y - 2; bounds.w = bounds.h = 4; color = g->slots[slot].color; if (!(layout->flags & NK_WINDOW_ROM) && NK_INBOX(i->mouse.pos.x,i->mouse.pos.y, g->slots[slot].last.x-3, g->slots[slot].last.y-3, 6, 6)){ ret = nk_input_is_mouse_hovering_rect(i, bounds) ? NK_CHART_HOVERING : 0; ret |= (i->mouse.buttons[NK_BUTTON_LEFT].down && i->mouse.buttons[NK_BUTTON_LEFT].clicked) ? NK_CHART_CLICKED: 0; color = g->slots[slot].highlight; } nk_fill_rect(out, bounds, 0, color); g->slots[slot].index += 1; return ret; } /* draw a line between the last data point and the new one */ color = g->slots[slot].color; cur.x = g->x + (float)(step * (float)g->slots[slot].index); cur.y = (g->y + g->h) - (ratio * (float)g->h); nk_stroke_line(out, g->slots[slot].last.x, g->slots[slot].last.y, cur.x, cur.y, 1.0f, color); bounds.x = cur.x - 3; bounds.y = cur.y - 3; bounds.w = bounds.h = 6; /* user selection of current data point */ if (!(layout->flags & NK_WINDOW_ROM)) { if (nk_input_is_mouse_hovering_rect(i, bounds)) { ret = NK_CHART_HOVERING; ret |= (!i->mouse.buttons[NK_BUTTON_LEFT].down && i->mouse.buttons[NK_BUTTON_LEFT].clicked) ? NK_CHART_CLICKED: 0; color = g->slots[slot].highlight; } } nk_fill_rect(out, nk_rect(cur.x - 2, cur.y - 2, 4, 4), 0, color); /* save current data point position */ g->slots[slot].last.x = cur.x; g->slots[slot].last.y = cur.y; g->slots[slot].index += 1; return ret; } NK_INTERN nk_flags nk_chart_push_column(const struct nk_context *ctx, struct nk_window *win, struct nk_chart *chart, float value, int slot) { struct nk_command_buffer *out = &win->buffer; const struct nk_input *in = &ctx->input; struct nk_panel *layout = win->layout; float ratio; nk_flags ret = 0; struct nk_color color; struct nk_rect item = {0,0,0,0}; NK_ASSERT(slot >= 0 && slot < NK_CHART_MAX_SLOT); if (chart->slots[slot].index >= chart->slots[slot].count) return nk_false; if (chart->slots[slot].count) { float padding = (float)(chart->slots[slot].count-1); item.w = (chart->w - padding) / (float)(chart->slots[slot].count); } /* calculate bounds of current bar chart entry */ color = chart->slots[slot].color;; item.h = chart->h * NK_ABS((value/chart->slots[slot].range)); if (value >= 0) { ratio = (value + NK_ABS(chart->slots[slot].min)) / NK_ABS(chart->slots[slot].range); item.y = (chart->y + chart->h) - chart->h * ratio; } else { ratio = (value - chart->slots[slot].max) / chart->slots[slot].range; item.y = chart->y + (chart->h * NK_ABS(ratio)) - item.h; } item.x = chart->x + ((float)chart->slots[slot].index * item.w); item.x = item.x + ((float)chart->slots[slot].index); /* user chart bar selection */ if (!(layout->flags & NK_WINDOW_ROM) && NK_INBOX(in->mouse.pos.x,in->mouse.pos.y,item.x,item.y,item.w,item.h)) { ret = NK_CHART_HOVERING; ret |= (!in->mouse.buttons[NK_BUTTON_LEFT].down && in->mouse.buttons[NK_BUTTON_LEFT].clicked) ? NK_CHART_CLICKED: 0; color = chart->slots[slot].highlight; } nk_fill_rect(out, item, 0, color); chart->slots[slot].index += 1; return ret; } NK_API nk_flags nk_chart_push_slot(struct nk_context *ctx, float value, int slot) { nk_flags flags; struct nk_window *win; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(slot >= 0 && slot < NK_CHART_MAX_SLOT); NK_ASSERT(slot < ctx->current->layout->chart.slot); if (!ctx || !ctx->current || slot >= NK_CHART_MAX_SLOT) return nk_false; if (slot >= ctx->current->layout->chart.slot) return nk_false; win = ctx->current; if (win->layout->chart.slot < slot) return nk_false; switch (win->layout->chart.slots[slot].type) { case NK_CHART_LINES: flags = nk_chart_push_line(ctx, win, &win->layout->chart, value, slot); break; case NK_CHART_COLUMN: flags = nk_chart_push_column(ctx, win, &win->layout->chart, value, slot); break; default: case NK_CHART_MAX: flags = 0; } return flags; } NK_API nk_flags nk_chart_push(struct nk_context *ctx, float value) { return nk_chart_push_slot(ctx, value, 0); } NK_API void nk_chart_end(struct nk_context *ctx) { struct nk_window *win; struct nk_chart *chart; NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; win = ctx->current; chart = &win->layout->chart; NK_MEMSET(chart, 0, sizeof(*chart)); return; } NK_API void nk_plot(struct nk_context *ctx, enum nk_chart_type type, const float *values, int count, int offset) { int i = 0; float min_value; float max_value; NK_ASSERT(ctx); NK_ASSERT(values); if (!ctx || !values || !count) return; min_value = values[offset]; max_value = values[offset]; for (i = 0; i < count; ++i) { min_value = NK_MIN(values[i + offset], min_value); max_value = NK_MAX(values[i + offset], max_value); } if (nk_chart_begin(ctx, type, count, min_value, max_value)) { for (i = 0; i < count; ++i) nk_chart_push(ctx, values[i + offset]); nk_chart_end(ctx); } } NK_API void nk_plot_function(struct nk_context *ctx, enum nk_chart_type type, void *userdata, float(*value_getter)(void* user, int index), int count, int offset) { int i = 0; float min_value; float max_value; NK_ASSERT(ctx); NK_ASSERT(value_getter); if (!ctx || !value_getter || !count) return; max_value = min_value = value_getter(userdata, offset); for (i = 0; i < count; ++i) { float value = value_getter(userdata, i + offset); min_value = NK_MIN(value, min_value); max_value = NK_MAX(value, max_value); } if (nk_chart_begin(ctx, type, count, min_value, max_value)) { for (i = 0; i < count; ++i) nk_chart_push(ctx, value_getter(userdata, i + offset)); nk_chart_end(ctx); } } /* ============================================================== * * COLOR PICKER * * ===============================================================*/ NK_LIB nk_bool nk_color_picker_behavior(nk_flags *state, const struct nk_rect *bounds, const struct nk_rect *matrix, const struct nk_rect *hue_bar, const struct nk_rect *alpha_bar, struct nk_colorf *color, const struct nk_input *in) { float hsva[4]; nk_bool value_changed = 0; nk_bool hsv_changed = 0; NK_ASSERT(state); NK_ASSERT(matrix); NK_ASSERT(hue_bar); NK_ASSERT(color); /* color matrix */ nk_colorf_hsva_fv(hsva, *color); if (nk_button_behavior(state, *matrix, in, NK_BUTTON_REPEATER)) { hsva[1] = NK_SATURATE((in->mouse.pos.x - matrix->x) / (matrix->w-1)); hsva[2] = 1.0f - NK_SATURATE((in->mouse.pos.y - matrix->y) / (matrix->h-1)); value_changed = hsv_changed = 1; } /* hue bar */ if (nk_button_behavior(state, *hue_bar, in, NK_BUTTON_REPEATER)) { hsva[0] = NK_SATURATE((in->mouse.pos.y - hue_bar->y) / (hue_bar->h-1)); value_changed = hsv_changed = 1; } /* alpha bar */ if (alpha_bar) { if (nk_button_behavior(state, *alpha_bar, in, NK_BUTTON_REPEATER)) { hsva[3] = 1.0f - NK_SATURATE((in->mouse.pos.y - alpha_bar->y) / (alpha_bar->h-1)); value_changed = 1; } } nk_widget_state_reset(state); if (hsv_changed) { *color = nk_hsva_colorfv(hsva); *state = NK_WIDGET_STATE_ACTIVE; } if (value_changed) { color->a = hsva[3]; *state = NK_WIDGET_STATE_ACTIVE; } /* set color picker widget state */ if (nk_input_is_mouse_hovering_rect(in, *bounds)) *state = NK_WIDGET_STATE_HOVERED; if (*state & NK_WIDGET_STATE_HOVER && !nk_input_is_mouse_prev_hovering_rect(in, *bounds)) *state |= NK_WIDGET_STATE_ENTERED; else if (nk_input_is_mouse_prev_hovering_rect(in, *bounds)) *state |= NK_WIDGET_STATE_LEFT; return value_changed; } NK_LIB void nk_draw_color_picker(struct nk_command_buffer *o, const struct nk_rect *matrix, const struct nk_rect *hue_bar, const struct nk_rect *alpha_bar, struct nk_colorf col) { NK_STORAGE const struct nk_color black = {0,0,0,255}; NK_STORAGE const struct nk_color white = {255, 255, 255, 255}; NK_STORAGE const struct nk_color black_trans = {0,0,0,0}; const float crosshair_size = 7.0f; struct nk_color temp; float hsva[4]; float line_y; int i; NK_ASSERT(o); NK_ASSERT(matrix); NK_ASSERT(hue_bar); /* draw hue bar */ nk_colorf_hsva_fv(hsva, col); for (i = 0; i < 6; ++i) { NK_GLOBAL const struct nk_color hue_colors[] = { {255, 0, 0, 255}, {255,255,0,255}, {0,255,0,255}, {0, 255,255,255}, {0,0,255,255}, {255, 0, 255, 255}, {255, 0, 0, 255} }; nk_fill_rect_multi_color(o, nk_rect(hue_bar->x, hue_bar->y + (float)i * (hue_bar->h/6.0f) + 0.5f, hue_bar->w, (hue_bar->h/6.0f) + 0.5f), hue_colors[i], hue_colors[i], hue_colors[i+1], hue_colors[i+1]); } line_y = (float)(int)(hue_bar->y + hsva[0] * matrix->h + 0.5f); nk_stroke_line(o, hue_bar->x-1, line_y, hue_bar->x + hue_bar->w + 2, line_y, 1, nk_rgb(255,255,255)); /* draw alpha bar */ if (alpha_bar) { float alpha = NK_SATURATE(col.a); line_y = (float)(int)(alpha_bar->y + (1.0f - alpha) * matrix->h + 0.5f); nk_fill_rect_multi_color(o, *alpha_bar, white, white, black, black); nk_stroke_line(o, alpha_bar->x-1, line_y, alpha_bar->x + alpha_bar->w + 2, line_y, 1, nk_rgb(255,255,255)); } /* draw color matrix */ temp = nk_hsv_f(hsva[0], 1.0f, 1.0f); nk_fill_rect_multi_color(o, *matrix, white, temp, temp, white); nk_fill_rect_multi_color(o, *matrix, black_trans, black_trans, black, black); /* draw cross-hair */ {struct nk_vec2 p; float S = hsva[1]; float V = hsva[2]; p.x = (float)(int)(matrix->x + S * matrix->w); p.y = (float)(int)(matrix->y + (1.0f - V) * matrix->h); nk_stroke_line(o, p.x - crosshair_size, p.y, p.x-2, p.y, 1.0f, white); nk_stroke_line(o, p.x + crosshair_size + 1, p.y, p.x+3, p.y, 1.0f, white); nk_stroke_line(o, p.x, p.y + crosshair_size + 1, p.x, p.y+3, 1.0f, white); nk_stroke_line(o, p.x, p.y - crosshair_size, p.x, p.y-2, 1.0f, white);} } NK_LIB nk_bool nk_do_color_picker(nk_flags *state, struct nk_command_buffer *out, struct nk_colorf *col, enum nk_color_format fmt, struct nk_rect bounds, struct nk_vec2 padding, const struct nk_input *in, const struct nk_user_font *font) { int ret = 0; struct nk_rect matrix; struct nk_rect hue_bar; struct nk_rect alpha_bar; float bar_w; NK_ASSERT(out); NK_ASSERT(col); NK_ASSERT(state); NK_ASSERT(font); if (!out || !col || !state || !font) return ret; bar_w = font->height; bounds.x += padding.x; bounds.y += padding.x; bounds.w -= 2 * padding.x; bounds.h -= 2 * padding.y; matrix.x = bounds.x; matrix.y = bounds.y; matrix.h = bounds.h; matrix.w = bounds.w - (3 * padding.x + 2 * bar_w); hue_bar.w = bar_w; hue_bar.y = bounds.y; hue_bar.h = matrix.h; hue_bar.x = matrix.x + matrix.w + padding.x; alpha_bar.x = hue_bar.x + hue_bar.w + padding.x; alpha_bar.y = bounds.y; alpha_bar.w = bar_w; alpha_bar.h = matrix.h; ret = nk_color_picker_behavior(state, &bounds, &matrix, &hue_bar, (fmt == NK_RGBA) ? &alpha_bar:0, col, in); nk_draw_color_picker(out, &matrix, &hue_bar, (fmt == NK_RGBA) ? &alpha_bar:0, *col); return ret; } NK_API nk_bool nk_color_pick(struct nk_context * ctx, struct nk_colorf *color, enum nk_color_format fmt) { struct nk_window *win; struct nk_panel *layout; const struct nk_style *config; const struct nk_input *in; enum nk_widget_layout_states state; struct nk_rect bounds; NK_ASSERT(ctx); NK_ASSERT(color); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !color) return 0; win = ctx->current; config = &ctx->style; layout = win->layout; state = nk_widget(&bounds, ctx); if (!state) return 0; in = (state == NK_WIDGET_ROM || layout->flags & NK_WINDOW_ROM) ? 0 : &ctx->input; return nk_do_color_picker(&ctx->last_widget_state, &win->buffer, color, fmt, bounds, nk_vec2(0,0), in, config->font); } NK_API struct nk_colorf nk_color_picker(struct nk_context *ctx, struct nk_colorf color, enum nk_color_format fmt) { nk_color_pick(ctx, &color, fmt); return color; } /* ============================================================== * * COMBO * * ===============================================================*/ NK_INTERN nk_bool nk_combo_begin(struct nk_context *ctx, struct nk_window *win, struct nk_vec2 size, nk_bool is_clicked, struct nk_rect header) { struct nk_window *popup; int is_open = 0; int is_active = 0; struct nk_rect body; nk_hash hash; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; popup = win->popup.win; body.x = header.x; body.w = size.x; body.y = header.y + header.h-ctx->style.window.combo_border; body.h = size.y; hash = win->popup.combo_count++; is_open = (popup) ? nk_true:nk_false; is_active = (popup && (win->popup.name == hash) && win->popup.type == NK_PANEL_COMBO); if ((is_clicked && is_open && !is_active) || (is_open && !is_active) || (!is_open && !is_active && !is_clicked)) return 0; if (!nk_nonblock_begin(ctx, 0, body, (is_clicked && is_open)?nk_rect(0,0,0,0):header, NK_PANEL_COMBO)) return 0; win->popup.type = NK_PANEL_COMBO; win->popup.name = hash; return 1; } NK_API nk_bool nk_combo_begin_text(struct nk_context *ctx, const char *selected, int len, struct nk_vec2 size) { const struct nk_input *in; struct nk_window *win; struct nk_style *style; enum nk_widget_layout_states s; int is_clicked = nk_false; struct nk_rect header; const struct nk_style_item *background; struct nk_text text; NK_ASSERT(ctx); NK_ASSERT(selected); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout || !selected) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (s == NK_WIDGET_INVALID) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) { background = &style->combo.active; text.text = style->combo.label_active; } else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) { background = &style->combo.hover; text.text = style->combo.label_hover; } else { background = &style->combo.normal; text.text = style->combo.label_normal; } if (background->type == NK_STYLE_ITEM_IMAGE) { text.background = nk_rgba(0,0,0,0); nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { text.background = background->data.color; nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { /* print currently selected text item */ struct nk_rect label; struct nk_rect button; struct nk_rect content; int draw_button_symbol; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* represents whether or not the combo's button symbol should be drawn */ draw_button_symbol = sym != NK_SYMBOL_NONE; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.x; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; /* draw selected label */ text.padding = nk_vec2(0,0); label.x = header.x + style->combo.content_padding.x; label.y = header.y + style->combo.content_padding.y; label.h = header.h - 2 * style->combo.content_padding.y; if (draw_button_symbol) label.w = button.x - (style->combo.content_padding.x + style->combo.spacing.x) - label.x; else label.w = header.w - 2 * style->combo.content_padding.x; nk_widget_text(&win->buffer, label, selected, len, &text, NK_TEXT_LEFT, ctx->style.font); /* draw open/close button */ if (draw_button_symbol) nk_draw_button_symbol(&win->buffer, &button, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_label(struct nk_context *ctx, const char *selected, struct nk_vec2 size) { return nk_combo_begin_text(ctx, selected, nk_strlen(selected), size); } NK_API nk_bool nk_combo_begin_color(struct nk_context *ctx, struct nk_color color, struct nk_vec2 size) { struct nk_window *win; struct nk_style *style; const struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; enum nk_widget_layout_states s; const struct nk_style_item *background; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (s == NK_WIDGET_INVALID) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) background = &style->combo.active; else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) background = &style->combo.hover; else background = &style->combo.normal; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(&win->buffer, header, &background->data.image,nk_white); } else { nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { struct nk_rect content; struct nk_rect button; struct nk_rect bounds; int draw_button_symbol; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* represents whether or not the combo's button symbol should be drawn */ draw_button_symbol = sym != NK_SYMBOL_NONE; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.x; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; /* draw color */ bounds.h = header.h - 4 * style->combo.content_padding.y; bounds.y = header.y + 2 * style->combo.content_padding.y; bounds.x = header.x + 2 * style->combo.content_padding.x; if (draw_button_symbol) bounds.w = (button.x - (style->combo.content_padding.x + style->combo.spacing.x)) - bounds.x; else bounds.w = header.w - 4 * style->combo.content_padding.x; nk_fill_rect(&win->buffer, bounds, 0, color); /* draw open/close button */ if (draw_button_symbol) nk_draw_button_symbol(&win->buffer, &button, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_symbol(struct nk_context *ctx, enum nk_symbol_type symbol, struct nk_vec2 size) { struct nk_window *win; struct nk_style *style; const struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; enum nk_widget_layout_states s; const struct nk_style_item *background; struct nk_color sym_background; struct nk_color symbol_color; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (s == NK_WIDGET_INVALID) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) { background = &style->combo.active; symbol_color = style->combo.symbol_active; } else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) { background = &style->combo.hover; symbol_color = style->combo.symbol_hover; } else { background = &style->combo.normal; symbol_color = style->combo.symbol_hover; } if (background->type == NK_STYLE_ITEM_IMAGE) { sym_background = nk_rgba(0,0,0,0); nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { sym_background = background->data.color; nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { struct nk_rect bounds = {0,0,0,0}; struct nk_rect content; struct nk_rect button; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.y; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; /* draw symbol */ bounds.h = header.h - 2 * style->combo.content_padding.y; bounds.y = header.y + style->combo.content_padding.y; bounds.x = header.x + style->combo.content_padding.x; bounds.w = (button.x - style->combo.content_padding.y) - bounds.x; nk_draw_symbol(&win->buffer, symbol, bounds, sym_background, symbol_color, 1.0f, style->font); /* draw open/close button */ nk_draw_button_symbol(&win->buffer, &bounds, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_symbol_text(struct nk_context *ctx, const char *selected, int len, enum nk_symbol_type symbol, struct nk_vec2 size) { struct nk_window *win; struct nk_style *style; struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; enum nk_widget_layout_states s; const struct nk_style_item *background; struct nk_color symbol_color; struct nk_text text; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (!s) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) { background = &style->combo.active; symbol_color = style->combo.symbol_active; text.text = style->combo.label_active; } else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) { background = &style->combo.hover; symbol_color = style->combo.symbol_hover; text.text = style->combo.label_hover; } else { background = &style->combo.normal; symbol_color = style->combo.symbol_normal; text.text = style->combo.label_normal; } if (background->type == NK_STYLE_ITEM_IMAGE) { text.background = nk_rgba(0,0,0,0); nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { text.background = background->data.color; nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { struct nk_rect content; struct nk_rect button; struct nk_rect label; struct nk_rect image; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.x; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; nk_draw_button_symbol(&win->buffer, &button, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); /* draw symbol */ image.x = header.x + style->combo.content_padding.x; image.y = header.y + style->combo.content_padding.y; image.h = header.h - 2 * style->combo.content_padding.y; image.w = image.h; nk_draw_symbol(&win->buffer, symbol, image, text.background, symbol_color, 1.0f, style->font); /* draw label */ text.padding = nk_vec2(0,0); label.x = image.x + image.w + style->combo.spacing.x + style->combo.content_padding.x; label.y = header.y + style->combo.content_padding.y; label.w = (button.x - style->combo.content_padding.x) - label.x; label.h = header.h - 2 * style->combo.content_padding.y; nk_widget_text(&win->buffer, label, selected, len, &text, NK_TEXT_LEFT, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_image(struct nk_context *ctx, struct nk_image img, struct nk_vec2 size) { struct nk_window *win; struct nk_style *style; const struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; enum nk_widget_layout_states s; const struct nk_style_item *background; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (s == NK_WIDGET_INVALID) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) background = &style->combo.active; else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) background = &style->combo.hover; else background = &style->combo.normal; if (background->type == NK_STYLE_ITEM_IMAGE) { nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { struct nk_rect bounds = {0,0,0,0}; struct nk_rect content; struct nk_rect button; int draw_button_symbol; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* represents whether or not the combo's button symbol should be drawn */ draw_button_symbol = sym != NK_SYMBOL_NONE; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.y; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; /* draw image */ bounds.h = header.h - 2 * style->combo.content_padding.y; bounds.y = header.y + style->combo.content_padding.y; bounds.x = header.x + style->combo.content_padding.x; if (draw_button_symbol) bounds.w = (button.x - style->combo.content_padding.y) - bounds.x; else bounds.w = header.w - 2 * style->combo.content_padding.x; nk_draw_image(&win->buffer, bounds, &img, nk_white); /* draw open/close button */ if (draw_button_symbol) nk_draw_button_symbol(&win->buffer, &bounds, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_image_text(struct nk_context *ctx, const char *selected, int len, struct nk_image img, struct nk_vec2 size) { struct nk_window *win; struct nk_style *style; struct nk_input *in; struct nk_rect header; int is_clicked = nk_false; enum nk_widget_layout_states s; const struct nk_style_item *background; struct nk_text text; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; win = ctx->current; style = &ctx->style; s = nk_widget(&header, ctx); if (!s) return 0; in = (win->layout->flags & NK_WINDOW_ROM || s == NK_WIDGET_ROM)? 0: &ctx->input; if (nk_button_behavior(&ctx->last_widget_state, header, in, NK_BUTTON_DEFAULT)) is_clicked = nk_true; /* draw combo box header background and border */ if (ctx->last_widget_state & NK_WIDGET_STATE_ACTIVED) { background = &style->combo.active; text.text = style->combo.label_active; } else if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) { background = &style->combo.hover; text.text = style->combo.label_hover; } else { background = &style->combo.normal; text.text = style->combo.label_normal; } if (background->type == NK_STYLE_ITEM_IMAGE) { text.background = nk_rgba(0,0,0,0); nk_draw_image(&win->buffer, header, &background->data.image, nk_white); } else { text.background = background->data.color; nk_fill_rect(&win->buffer, header, style->combo.rounding, background->data.color); nk_stroke_rect(&win->buffer, header, style->combo.rounding, style->combo.border, style->combo.border_color); } { struct nk_rect content; struct nk_rect button; struct nk_rect label; struct nk_rect image; int draw_button_symbol; enum nk_symbol_type sym; if (ctx->last_widget_state & NK_WIDGET_STATE_HOVER) sym = style->combo.sym_hover; else if (is_clicked) sym = style->combo.sym_active; else sym = style->combo.sym_normal; /* represents whether or not the combo's button symbol should be drawn */ draw_button_symbol = sym != NK_SYMBOL_NONE; /* calculate button */ button.w = header.h - 2 * style->combo.button_padding.y; button.x = (header.x + header.w - header.h) - style->combo.button_padding.x; button.y = header.y + style->combo.button_padding.y; button.h = button.w; content.x = button.x + style->combo.button.padding.x; content.y = button.y + style->combo.button.padding.y; content.w = button.w - 2 * style->combo.button.padding.x; content.h = button.h - 2 * style->combo.button.padding.y; if (draw_button_symbol) nk_draw_button_symbol(&win->buffer, &button, &content, ctx->last_widget_state, &ctx->style.combo.button, sym, style->font); /* draw image */ image.x = header.x + style->combo.content_padding.x; image.y = header.y + style->combo.content_padding.y; image.h = header.h - 2 * style->combo.content_padding.y; image.w = image.h; nk_draw_image(&win->buffer, image, &img, nk_white); /* draw label */ text.padding = nk_vec2(0,0); label.x = image.x + image.w + style->combo.spacing.x + style->combo.content_padding.x; label.y = header.y + style->combo.content_padding.y; label.h = header.h - 2 * style->combo.content_padding.y; if (draw_button_symbol) label.w = (button.x - style->combo.content_padding.x) - label.x; else label.w = (header.x + header.w - style->combo.content_padding.x) - label.x; nk_widget_text(&win->buffer, label, selected, len, &text, NK_TEXT_LEFT, style->font); } return nk_combo_begin(ctx, win, size, is_clicked, header); } NK_API nk_bool nk_combo_begin_symbol_label(struct nk_context *ctx, const char *selected, enum nk_symbol_type type, struct nk_vec2 size) { return nk_combo_begin_symbol_text(ctx, selected, nk_strlen(selected), type, size); } NK_API nk_bool nk_combo_begin_image_label(struct nk_context *ctx, const char *selected, struct nk_image img, struct nk_vec2 size) { return nk_combo_begin_image_text(ctx, selected, nk_strlen(selected), img, size); } NK_API nk_bool nk_combo_item_text(struct nk_context *ctx, const char *text, int len,nk_flags align) { return nk_contextual_item_text(ctx, text, len, align); } NK_API nk_bool nk_combo_item_label(struct nk_context *ctx, const char *label, nk_flags align) { return nk_contextual_item_label(ctx, label, align); } NK_API nk_bool nk_combo_item_image_text(struct nk_context *ctx, struct nk_image img, const char *text, int len, nk_flags alignment) { return nk_contextual_item_image_text(ctx, img, text, len, alignment); } NK_API nk_bool nk_combo_item_image_label(struct nk_context *ctx, struct nk_image img, const char *text, nk_flags alignment) { return nk_contextual_item_image_label(ctx, img, text, alignment); } NK_API nk_bool nk_combo_item_symbol_text(struct nk_context *ctx, enum nk_symbol_type sym, const char *text, int len, nk_flags alignment) { return nk_contextual_item_symbol_text(ctx, sym, text, len, alignment); } NK_API nk_bool nk_combo_item_symbol_label(struct nk_context *ctx, enum nk_symbol_type sym, const char *label, nk_flags alignment) { return nk_contextual_item_symbol_label(ctx, sym, label, alignment); } NK_API void nk_combo_end(struct nk_context *ctx) { nk_contextual_end(ctx); } NK_API void nk_combo_close(struct nk_context *ctx) { nk_contextual_close(ctx); } NK_API int nk_combo(struct nk_context *ctx, const char **items, int count, int selected, int item_height, struct nk_vec2 size) { int i = 0; int max_height; struct nk_vec2 item_spacing; struct nk_vec2 window_padding; NK_ASSERT(ctx); NK_ASSERT(items); NK_ASSERT(ctx->current); if (!ctx || !items ||!count) return selected; item_spacing = ctx->style.window.spacing; window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type); max_height = count * item_height + count * (int)item_spacing.y; max_height += (int)item_spacing.y * 2 + (int)window_padding.y * 2; size.y = NK_MIN(size.y, (float)max_height); if (nk_combo_begin_label(ctx, items[selected], size)) { nk_layout_row_dynamic(ctx, (float)item_height, 1); for (i = 0; i < count; ++i) { if (nk_combo_item_label(ctx, items[i], NK_TEXT_LEFT)) selected = i; } nk_combo_end(ctx); } return selected; } NK_API int nk_combo_separator(struct nk_context *ctx, const char *items_separated_by_separator, int separator, int selected, int count, int item_height, struct nk_vec2 size) { int i; int max_height; struct nk_vec2 item_spacing; struct nk_vec2 window_padding; const char *current_item; const char *iter; int length = 0; NK_ASSERT(ctx); NK_ASSERT(items_separated_by_separator); if (!ctx || !items_separated_by_separator) return selected; /* calculate popup window */ item_spacing = ctx->style.window.spacing; window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type); max_height = count * item_height + count * (int)item_spacing.y; max_height += (int)item_spacing.y * 2 + (int)window_padding.y * 2; size.y = NK_MIN(size.y, (float)max_height); /* find selected item */ current_item = items_separated_by_separator; for (i = 0; i < count; ++i) { iter = current_item; while (*iter && *iter != separator) iter++; length = (int)(iter - current_item); if (i == selected) break; current_item = iter + 1; } if (nk_combo_begin_text(ctx, current_item, length, size)) { current_item = items_separated_by_separator; nk_layout_row_dynamic(ctx, (float)item_height, 1); for (i = 0; i < count; ++i) { iter = current_item; while (*iter && *iter != separator) iter++; length = (int)(iter - current_item); if (nk_combo_item_text(ctx, current_item, length, NK_TEXT_LEFT)) selected = i; current_item = current_item + length + 1; } nk_combo_end(ctx); } return selected; } NK_API int nk_combo_string(struct nk_context *ctx, const char *items_separated_by_zeros, int selected, int count, int item_height, struct nk_vec2 size) { return nk_combo_separator(ctx, items_separated_by_zeros, '\0', selected, count, item_height, size); } NK_API int nk_combo_callback(struct nk_context *ctx, void(*item_getter)(void*, int, const char**), void *userdata, int selected, int count, int item_height, struct nk_vec2 size) { int i; int max_height; struct nk_vec2 item_spacing; struct nk_vec2 window_padding; const char *item; NK_ASSERT(ctx); NK_ASSERT(item_getter); if (!ctx || !item_getter) return selected; /* calculate popup window */ item_spacing = ctx->style.window.spacing; window_padding = nk_panel_get_padding(&ctx->style, ctx->current->layout->type); max_height = count * item_height + count * (int)item_spacing.y; max_height += (int)item_spacing.y * 2 + (int)window_padding.y * 2; size.y = NK_MIN(size.y, (float)max_height); item_getter(userdata, selected, &item); if (nk_combo_begin_label(ctx, item, size)) { nk_layout_row_dynamic(ctx, (float)item_height, 1); for (i = 0; i < count; ++i) { item_getter(userdata, i, &item); if (nk_combo_item_label(ctx, item, NK_TEXT_LEFT)) selected = i; } nk_combo_end(ctx); } return selected; } NK_API void nk_combobox(struct nk_context *ctx, const char **items, int count, int *selected, int item_height, struct nk_vec2 size) { *selected = nk_combo(ctx, items, count, *selected, item_height, size); } NK_API void nk_combobox_string(struct nk_context *ctx, const char *items_separated_by_zeros, int *selected, int count, int item_height, struct nk_vec2 size) { *selected = nk_combo_string(ctx, items_separated_by_zeros, *selected, count, item_height, size); } NK_API void nk_combobox_separator(struct nk_context *ctx, const char *items_separated_by_separator, int separator, int *selected, int count, int item_height, struct nk_vec2 size) { *selected = nk_combo_separator(ctx, items_separated_by_separator, separator, *selected, count, item_height, size); } NK_API void nk_combobox_callback(struct nk_context *ctx, void(*item_getter)(void* data, int id, const char **out_text), void *userdata, int *selected, int count, int item_height, struct nk_vec2 size) { *selected = nk_combo_callback(ctx, item_getter, userdata, *selected, count, item_height, size); } /* =============================================================== * * TOOLTIP * * ===============================================================*/ NK_API nk_bool nk_tooltip_begin(struct nk_context *ctx, float width) { int x,y,w,h; struct nk_window *win; const struct nk_input *in; struct nk_rect bounds; int ret; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); if (!ctx || !ctx->current || !ctx->current->layout) return 0; /* make sure that no nonblocking popup is currently active */ win = ctx->current; in = &ctx->input; if (win->popup.win && (win->popup.type & NK_PANEL_SET_NONBLOCK)) return 0; w = nk_iceilf(width); h = nk_iceilf(nk_null_rect.h); x = nk_ifloorf(in->mouse.pos.x + 1) - (int)win->layout->clip.x; y = nk_ifloorf(in->mouse.pos.y + 1) - (int)win->layout->clip.y; bounds.x = (float)x; bounds.y = (float)y; bounds.w = (float)w; bounds.h = (float)h; ret = nk_popup_begin(ctx, NK_POPUP_DYNAMIC, "__##Tooltip##__", NK_WINDOW_NO_SCROLLBAR|NK_WINDOW_BORDER, bounds); if (ret) win->layout->flags &= ~(nk_flags)NK_WINDOW_ROM; win->popup.type = NK_PANEL_TOOLTIP; ctx->current->layout->type = NK_PANEL_TOOLTIP; return ret; } NK_API void nk_tooltip_end(struct nk_context *ctx) { NK_ASSERT(ctx); NK_ASSERT(ctx->current); if (!ctx || !ctx->current) return; ctx->current->seq--; nk_popup_close(ctx); nk_popup_end(ctx); } NK_API void nk_tooltip(struct nk_context *ctx, const char *text) { const struct nk_style *style; struct nk_vec2 padding; int text_len; float text_width; float text_height; NK_ASSERT(ctx); NK_ASSERT(ctx->current); NK_ASSERT(ctx->current->layout); NK_ASSERT(text); if (!ctx || !ctx->current || !ctx->current->layout || !text) return; /* fetch configuration data */ style = &ctx->style; padding = style->window.padding; /* calculate size of the text and tooltip */ text_len = nk_strlen(text); text_width = style->font->width(style->font->userdata, style->font->height, text, text_len); text_width += (4 * padding.x); text_height = (style->font->height + 2 * padding.y); /* execute tooltip and fill with text */ if (nk_tooltip_begin(ctx, (float)text_width)) { nk_layout_row_dynamic(ctx, (float)text_height, 1); nk_text(ctx, text, text_len, NK_TEXT_LEFT); nk_tooltip_end(ctx); } } #ifdef NK_INCLUDE_STANDARD_VARARGS NK_API void nk_tooltipf(struct nk_context *ctx, const char *fmt, ...) { va_list args; va_start(args, fmt); nk_tooltipfv(ctx, fmt, args); va_end(args); } NK_API void nk_tooltipfv(struct nk_context *ctx, const char *fmt, va_list args) { char buf[256]; nk_strfmt(buf, NK_LEN(buf), fmt, args); nk_tooltip(ctx, buf); } #endif #endif /* NK_IMPLEMENTATION */ /* /// ## License /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~none /// ------------------------------------------------------------------------------ /// This software is available under 2 licenses -- choose whichever you prefer. /// ------------------------------------------------------------------------------ /// ALTERNATIVE A - MIT License /// Copyright (c) 2016-2018 Micha Mettke /// Permission is hereby granted, free of charge, to any person obtaining a copy of /// this software and associated documentation files (the "Software"), to deal in /// the Software without restriction, including without limitation the rights to /// use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies /// of the Software, and to permit persons to whom the Software is furnished to do /// so, subject to the following conditions: /// The above copyright notice and this permission notice shall be included in all /// copies or substantial portions of the Software. /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE /// SOFTWARE. /// ------------------------------------------------------------------------------ /// ALTERNATIVE B - Public Domain (www.unlicense.org) /// This is free and unencumbered software released into the public domain. /// Anyone is free to copy, modify, publish, use, compile, sell, or distribute this /// software, either in source code form or as a compiled binary, for any purpose, /// commercial or non-commercial, and by any means. /// In jurisdictions that recognize copyright laws, the author or authors of this /// software dedicate any and all copyright interest in the software to the public /// domain. We make this dedication for the benefit of the public at large and to /// the detriment of our heirs and successors. We intend this dedication to be an /// overt act of relinquishment in perpetuity of all present and future rights to /// this software under copyright law. /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN /// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION /// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. /// ------------------------------------------------------------------------------ /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// ## Changelog /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~none /// [date][x.yy.zz]-[description] /// -[date]: date on which the change has been pushed /// -[x.yy.zz]: Numerical version string representation. Each version number on the right /// resets back to zero if version on the left is incremented. /// - [x]: Major version with API and library breaking changes /// - [yy]: Minor version with non-breaking API and library changes /// - [zz]: Bug fix version with no direct changes to API /// /// - 2020/10/11 (4.06.1) - Fix C++ style comments which are not allowed in ISO C90. /// - 2020/10/07 (4.06.0) - Fix nk_combo return type wrongly changed to nk_bool /// - 2020/09/05 (4.05.0) - Use the nk_font_atlas allocator for stb_truetype memory management. /// - 2020/09/04 (4.04.1) - Replace every boolean int by nk_bool /// - 2020/09/04 (4.04.0) - Add nk_bool with NK_INCLUDE_STANDARD_BOOL /// - 2020/06/13 (4.03.1) - Fix nk_pool allocation sizes. /// - 2020/06/04 (4.03.0) - Made nk_combo header symbols optional. /// - 2020/05/27 (4.02.5) - Fix nk_do_edit: Keep scroll position when re-activating edit widget. /// - 2020/05/09 (4.02.4) - Fix nk_menubar height calculation bug /// - 2020/05/08 (4.02.3) - Fix missing stdarg.h with NK_INCLUDE_STANDARD_VARARGS /// - 2020/04/30 (4.02.2) - Fix nk_edit border drawing bug /// - 2020/04/09 (4.02.1) - Removed unused nk_sqrt function to fix compiler warnings /// - Fixed compiler warnings if you bring your own methods for /// nk_cos/nk_sin/nk_strtod/nk_memset/nk_memcopy/nk_dtoa /// - 2020/04/06 (4.01.10) - Fix bug: Do not use pool before checking for NULL /// - 2020/03/22 (4.01.9) - Fix bug where layout state wasn't restored correctly after /// popping a tree. /// - 2020/03/11 (4.01.8) - Fix bug where padding is subtracted from widget /// - 2020/03/06 (4.01.7) - Fix bug where width padding was applied twice /// - 2020/02/06 (4.01.6) - Update stb_truetype.h and stb_rect_pack.h and separate them /// - 2019/12/10 (4.01.5) - Fix off-by-one error in NK_INTERSECT /// - 2019/10/09 (4.01.4) - Fix bug for autoscrolling in nk_do_edit /// - 2019/09/20 (4.01.3) - Fixed a bug wherein combobox cannot be closed by clicking the header /// when NK_BUTTON_TRIGGER_ON_RELEASE is defined. /// - 2019/09/10 (4.01.2) - Fixed the nk_cos function, which deviated significantly. /// - 2019/09/08 (4.01.1) - Fixed a bug wherein re-baking of fonts caused a segmentation /// fault due to dst_font->glyph_count not being zeroed on subsequent /// bakes of the same set of fonts. /// - 2019/06/23 (4.01.0) - Added nk_***_get_scroll and nk_***_set_scroll for groups, windows, and popups. /// - 2019/06/12 (4.00.3) - Fix panel background drawing bug. /// - 2018/10/31 (4.00.2) - Added NK_KEYSTATE_BASED_INPUT to "fix" state based backends /// like GLFW without breaking key repeat behavior on event based. /// - 2018/04/01 (4.00.1) - Fixed calling `nk_convert` multiple time per single frame. /// - 2018/04/01 (4.00.0) - BREAKING CHANGE: nk_draw_list_clear no longer tries to /// clear provided buffers. So make sure to either free /// or clear each passed buffer after calling nk_convert. /// - 2018/02/23 (3.00.6) - Fixed slider dragging behavior. /// - 2018/01/31 (3.00.5) - Fixed overcalculation of cursor data in font baking process. /// - 2018/01/31 (3.00.4) - Removed name collision with stb_truetype. /// - 2018/01/28 (3.00.3) - Fixed panel window border drawing bug. /// - 2018/01/12 (3.00.2) - Added `nk_group_begin_titled` for separed group identifier and title. /// - 2018/01/07 (3.00.1) - Started to change documentation style. /// - 2018/01/05 (3.00.0) - BREAKING CHANGE: The previous color picker API was broken /// because of conversions between float and byte color representation. /// Color pickers now use floating point values to represent /// HSV values. To get back the old behavior I added some additional /// color conversion functions to cast between nk_color and /// nk_colorf. /// - 2017/12/23 (2.00.7) - Fixed small warning. /// - 2017/12/23 (2.00.7) - Fixed `nk_edit_buffer` behavior if activated to allow input. /// - 2017/12/23 (2.00.7) - Fixed modifyable progressbar dragging visuals and input behavior. /// - 2017/12/04 (2.00.6) - Added formated string tooltip widget. /// - 2017/11/18 (2.00.5) - Fixed window becoming hidden with flag `NK_WINDOW_NO_INPUT`. /// - 2017/11/15 (2.00.4) - Fixed font merging. /// - 2017/11/07 (2.00.3) - Fixed window size and position modifier functions. /// - 2017/09/14 (2.00.2) - Fixed `nk_edit_buffer` and `nk_edit_focus` behavior. /// - 2017/09/14 (2.00.1) - Fixed window closing behavior. /// - 2017/09/14 (2.00.0) - BREAKING CHANGE: Modifing window position and size funtions now /// require the name of the window and must happen outside the window /// building process (between function call nk_begin and nk_end). /// - 2017/09/11 (1.40.9) - Fixed window background flag if background window is declared last. /// - 2017/08/27 (1.40.8) - Fixed `nk_item_is_any_active` for hidden windows. /// - 2017/08/27 (1.40.7) - Fixed window background flag. /// - 2017/07/07 (1.40.6) - Fixed missing clipping rect check for hovering/clicked /// query for widgets. /// - 2017/07/07 (1.40.5) - Fixed drawing bug for vertex output for lines and stroked /// and filled rectangles. /// - 2017/07/07 (1.40.4) - Fixed bug in nk_convert trying to add windows that are in /// process of being destroyed. /// - 2017/07/07 (1.40.3) - Fixed table internal bug caused by storing table size in /// window instead of directly in table. /// - 2017/06/30 (1.40.2) - Removed unneeded semicolon in C++ NK_ALIGNOF macro. /// - 2017/06/30 (1.40.1) - Fixed drawing lines smaller or equal zero. /// - 2017/06/08 (1.40.0) - Removed the breaking part of last commit. Auto layout now only /// comes in effect if you pass in zero was row height argument. /// - 2017/06/08 (1.40.0) - BREAKING CHANGE: while not directly API breaking it will change /// how layouting works. From now there will be an internal minimum /// row height derived from font height. If you need a row smaller than /// that you can directly set it by `nk_layout_set_min_row_height` and /// reset the value back by calling `nk_layout_reset_min_row_height. /// - 2017/06/08 (1.39.1) - Fixed property text edit handling bug caused by past `nk_widget` fix. /// - 2017/06/08 (1.39.0) - Added function to retrieve window space without calling a `nk_layout_xxx` function. /// - 2017/06/06 (1.38.5) - Fixed `nk_convert` return flag for command buffer. /// - 2017/05/23 (1.38.4) - Fixed activation behavior for widgets partially clipped. /// - 2017/05/10 (1.38.3) - Fixed wrong min window size mouse scaling over boundries. /// - 2017/05/09 (1.38.2) - Fixed vertical scrollbar drawing with not enough space. /// - 2017/05/09 (1.38.1) - Fixed scaler dragging behavior if window size hits minimum size. /// - 2017/05/06 (1.38.0) - Added platform double-click support. /// - 2017/04/20 (1.37.1) - Fixed key repeat found inside glfw demo backends. /// - 2017/04/20 (1.37.0) - Extended properties with selection and clipboard support. /// - 2017/04/20 (1.36.2) - Fixed #405 overlapping rows with zero padding and spacing. /// - 2017/04/09 (1.36.1) - Fixed #403 with another widget float error. /// - 2017/04/09 (1.36.0) - Added window `NK_WINDOW_NO_INPUT` and `NK_WINDOW_NOT_INTERACTIVE` flags. /// - 2017/04/09 (1.35.3) - Fixed buffer heap corruption. /// - 2017/03/25 (1.35.2) - Fixed popup overlapping for `NK_WINDOW_BACKGROUND` windows. /// - 2017/03/25 (1.35.1) - Fixed windows closing behavior. /// - 2017/03/18 (1.35.0) - Added horizontal scroll requested in #377. /// - 2017/03/18 (1.34.3) - Fixed long window header titles. /// - 2017/03/04 (1.34.2) - Fixed text edit filtering. /// - 2017/03/04 (1.34.1) - Fixed group closable flag. /// - 2017/02/25 (1.34.0) - Added custom draw command for better language binding support. /// - 2017/01/24 (1.33.0) - Added programatic way of remove edit focus. /// - 2017/01/24 (1.32.3) - Fixed wrong define for basic type definitions for windows. /// - 2017/01/21 (1.32.2) - Fixed input capture from hidden or closed windows. /// - 2017/01/21 (1.32.1) - Fixed slider behavior and drawing. /// - 2017/01/13 (1.32.0) - Added flag to put scaler into the bottom left corner. /// - 2017/01/13 (1.31.0) - Added additional row layouting method to combine both /// dynamic and static widgets. /// - 2016/12/31 (1.30.0) - Extended scrollbar offset from 16-bit to 32-bit. /// - 2016/12/31 (1.29.2) - Fixed closing window bug of minimized windows. /// - 2016/12/03 (1.29.1) - Fixed wrapped text with no seperator and C89 error. /// - 2016/12/03 (1.29.0) - Changed text wrapping to process words not characters. /// - 2016/11/22 (1.28.6) - Fixed window minimized closing bug. /// - 2016/11/19 (1.28.5) - Fixed abstract combo box closing behavior. /// - 2016/11/19 (1.28.4) - Fixed tooltip flickering. /// - 2016/11/19 (1.28.3) - Fixed memory leak caused by popup repeated closing. /// - 2016/11/18 (1.28.2) - Fixed memory leak caused by popup panel allocation. /// - 2016/11/10 (1.28.1) - Fixed some warnings and C++ error. /// - 2016/11/10 (1.28.0) - Added additional `nk_button` versions which allows to directly /// pass in a style struct to change buttons visual. /// - 2016/11/10 (1.27.0) - Added additional `nk_tree` versions to support external state /// storage. Just like last the `nk_group` commit the main /// advantage is that you optionally can minimize nuklears runtime /// memory consumption or handle hash collisions. /// - 2016/11/09 (1.26.0) - Added additional `nk_group` version to support external scrollbar /// offset storage. Main advantage is that you can externalize /// the memory management for the offset. It could also be helpful /// if you have a hash collision in `nk_group_begin` but really /// want the name. In addition I added `nk_list_view` which allows /// to draw big lists inside a group without actually having to /// commit the whole list to nuklear (issue #269). /// - 2016/10/30 (1.25.1) - Fixed clipping rectangle bug inside `nk_draw_list`. /// - 2016/10/29 (1.25.0) - Pulled `nk_panel` memory management into nuklear and out of /// the hands of the user. From now on users don't have to care /// about panels unless they care about some information. If you /// still need the panel just call `nk_window_get_panel`. /// - 2016/10/21 (1.24.0) - Changed widget border drawing to stroked rectangle from filled /// rectangle for less overdraw and widget background transparency. /// - 2016/10/18 (1.23.0) - Added `nk_edit_focus` for manually edit widget focus control. /// - 2016/09/29 (1.22.7) - Fixed deduction of basic type in non `<stdint.h>` compilation. /// - 2016/09/29 (1.22.6) - Fixed edit widget UTF-8 text cursor drawing bug. /// - 2016/09/28 (1.22.5) - Fixed edit widget UTF-8 text appending/inserting/removing. /// - 2016/09/28 (1.22.4) - Fixed drawing bug inside edit widgets which offset all text /// text in every edit widget if one of them is scrolled. /// - 2016/09/28 (1.22.3) - Fixed small bug in edit widgets if not active. The wrong /// text length is passed. It should have been in bytes but /// was passed as glyphes. /// - 2016/09/20 (1.22.2) - Fixed color button size calculation. /// - 2016/09/20 (1.22.1) - Fixed some `nk_vsnprintf` behavior bugs and removed `<stdio.h>` /// again from `NK_INCLUDE_STANDARD_VARARGS`. /// - 2016/09/18 (1.22.0) - C89 does not support vsnprintf only C99 and newer as well /// as C++11 and newer. In addition to use vsnprintf you have /// to include <stdio.h>. So just defining `NK_INCLUDE_STD_VAR_ARGS` /// is not enough. That behavior is now fixed. By default if /// both varargs as well as stdio is selected I try to use /// vsnprintf if not possible I will revert to vsprintf. If /// varargs but not stdio was defined I will use my own function. /// - 2016/09/15 (1.21.2) - Fixed panel `close` behavior for deeper panel levels. /// - 2016/09/15 (1.21.1) - Fixed C++ errors and wrong argument to `nk_panel_get_xxxx`. /// - 2016/09/13 (1.21.0) - !BREAKING! Fixed nonblocking popup behavior in menu, combo, /// and contextual which prevented closing in y-direction if /// popup did not reach max height. /// In addition the height parameter was changed into vec2 /// for width and height to have more control over the popup size. /// - 2016/09/13 (1.20.3) - Cleaned up and extended type selection. /// - 2016/09/13 (1.20.2) - Fixed slider behavior hopefully for the last time. This time /// all calculation are correct so no more hackery. /// - 2016/09/13 (1.20.1) - Internal change to divide window/panel flags into panel flags and types. /// Suprisinly spend years in C and still happened to confuse types /// with flags. Probably something to take note. /// - 2016/09/08 (1.20.0) - Added additional helper function to make it easier to just /// take the produced buffers from `nk_convert` and unplug the /// iteration process from `nk_context`. So now you can /// just use the vertex,element and command buffer + two pointer /// inside the command buffer retrieved by calls `nk__draw_begin` /// and `nk__draw_end` and macro `nk_draw_foreach_bounded`. /// - 2016/09/08 (1.19.0) - Added additional asserts to make sure every `nk_xxx_begin` call /// for windows, popups, combobox, menu and contextual is guarded by /// `if` condition and does not produce false drawing output. /// - 2016/09/08 (1.18.0) - Changed confusing name for `NK_SYMBOL_RECT_FILLED`, `NK_SYMBOL_RECT` /// to hopefully easier to understand `NK_SYMBOL_RECT_FILLED` and /// `NK_SYMBOL_RECT_OUTLINE`. /// - 2016/09/08 (1.17.0) - Changed confusing name for `NK_SYMBOL_CIRLCE_FILLED`, `NK_SYMBOL_CIRCLE` /// to hopefully easier to understand `NK_SYMBOL_CIRCLE_FILLED` and /// `NK_SYMBOL_CIRCLE_OUTLINE`. /// - 2016/09/08 (1.16.0) - Added additional checks to select correct types if `NK_INCLUDE_FIXED_TYPES` /// is not defined by supporting the biggest compiler GCC, clang and MSVC. /// - 2016/09/07 (1.15.3) - Fixed `NK_INCLUDE_COMMAND_USERDATA` define to not cause an error. /// - 2016/09/04 (1.15.2) - Fixed wrong combobox height calculation. /// - 2016/09/03 (1.15.1) - Fixed gaps inside combo boxes in OpenGL. /// - 2016/09/02 (1.15.0) - Changed nuklear to not have any default vertex layout and /// instead made it user provided. The range of types to convert /// to is quite limited at the moment, but I would be more than /// happy to accept PRs to add additional. /// - 2016/08/30 (1.14.2) - Removed unused variables. /// - 2016/08/30 (1.14.1) - Fixed C++ build errors. /// - 2016/08/30 (1.14.0) - Removed mouse dragging from SDL demo since it does not work correctly. /// - 2016/08/30 (1.13.4) - Tweaked some default styling variables. /// - 2016/08/30 (1.13.3) - Hopefully fixed drawing bug in slider, in general I would /// refrain from using slider with a big number of steps. /// - 2016/08/30 (1.13.2) - Fixed close and minimize button which would fire even if the /// window was in Read Only Mode. /// - 2016/08/30 (1.13.1) - Fixed popup panel padding handling which was previously just /// a hack for combo box and menu. /// - 2016/08/30 (1.13.0) - Removed `NK_WINDOW_DYNAMIC` flag from public API since /// it is bugged and causes issues in window selection. /// - 2016/08/30 (1.12.0) - Removed scaler size. The size of the scaler is now /// determined by the scrollbar size. /// - 2016/08/30 (1.11.2) - Fixed some drawing bugs caused by changes from 1.11.0. /// - 2016/08/30 (1.11.1) - Fixed overlapping minimized window selection. /// - 2016/08/30 (1.11.0) - Removed some internal complexity and overly complex code /// handling panel padding and panel border. /// - 2016/08/29 (1.10.0) - Added additional height parameter to `nk_combobox_xxx`. /// - 2016/08/29 (1.10.0) - Fixed drawing bug in dynamic popups. /// - 2016/08/29 (1.10.0) - Added experimental mouse scrolling to popups, menus and comboboxes. /// - 2016/08/26 (1.10.0) - Added window name string prepresentation to account for /// hash collisions. Currently limited to `NK_WINDOW_MAX_NAME` /// which in term can be redefined if not big enough. /// - 2016/08/26 (1.10.0) - Added stacks for temporary style/UI changes in code. /// - 2016/08/25 (1.10.0) - Changed `nk_input_is_key_pressed` and 'nk_input_is_key_released' /// to account for key press and release happening in one frame. /// - 2016/08/25 (1.10.0) - Added additional nk_edit flag to directly jump to the end on activate. /// - 2016/08/17 (1.09.6) - Removed invalid check for value zero in `nk_propertyx`. /// - 2016/08/16 (1.09.5) - Fixed ROM mode for deeper levels of popup windows parents. /// - 2016/08/15 (1.09.4) - Editbox are now still active if enter was pressed with flag /// `NK_EDIT_SIG_ENTER`. Main reasoning is to be able to keep /// typing after commiting. /// - 2016/08/15 (1.09.4) - Removed redundant code. /// - 2016/08/15 (1.09.4) - Fixed negative numbers in `nk_strtoi` and remove unused variable. /// - 2016/08/15 (1.09.3) - Fixed `NK_WINDOW_BACKGROUND` flag behavior to select a background /// window only as selected by hovering and not by clicking. /// - 2016/08/14 (1.09.2) - Fixed a bug in font atlas which caused wrong loading /// of glyphes for font with multiple ranges. /// - 2016/08/12 (1.09.1) - Added additional function to check if window is currently /// hidden and therefore not visible. /// - 2016/08/12 (1.09.1) - nk_window_is_closed now queries the correct flag `NK_WINDOW_CLOSED` /// instead of the old flag `NK_WINDOW_HIDDEN`. /// - 2016/08/09 (1.09.0) - Added additional double version to nk_property and changed /// the underlying implementation to not cast to float and instead /// work directly on the given values. /// - 2016/08/09 (1.08.0) - Added additional define to overwrite library internal /// floating pointer number to string conversion for additional /// precision. /// - 2016/08/09 (1.08.0) - Added additional define to overwrite library internal /// string to floating point number conversion for additional /// precision. /// - 2016/08/08 (1.07.2) - Fixed compiling error without define `NK_INCLUDE_FIXED_TYPE`. /// - 2016/08/08 (1.07.1) - Fixed possible floating point error inside `nk_widget` leading /// to wrong wiget width calculation which results in widgets falsly /// becomming tagged as not inside window and cannot be accessed. /// - 2016/08/08 (1.07.0) - Nuklear now differentiates between hiding a window (NK_WINDOW_HIDDEN) and /// closing a window (NK_WINDOW_CLOSED). A window can be hidden/shown /// by using `nk_window_show` and closed by either clicking the close /// icon in a window or by calling `nk_window_close`. Only closed /// windows get removed at the end of the frame while hidden windows /// remain. /// - 2016/08/08 (1.06.0) - Added `nk_edit_string_zero_terminated` as a second option to /// `nk_edit_string` which takes, edits and outputs a '\0' terminated string. /// - 2016/08/08 (1.05.4) - Fixed scrollbar auto hiding behavior. /// - 2016/08/08 (1.05.3) - Fixed wrong panel padding selection in `nk_layout_widget_space`. /// - 2016/08/07 (1.05.2) - Fixed old bug in dynamic immediate mode layout API, calculating /// wrong item spacing and panel width. /// - 2016/08/07 (1.05.1) - Hopefully finally fixed combobox popup drawing bug. /// - 2016/08/07 (1.05.0) - Split varargs away from `NK_INCLUDE_STANDARD_IO` into own /// define `NK_INCLUDE_STANDARD_VARARGS` to allow more fine /// grained controlled over library includes. /// - 2016/08/06 (1.04.5) - Changed memset calls to `NK_MEMSET`. /// - 2016/08/04 (1.04.4) - Fixed fast window scaling behavior. /// - 2016/08/04 (1.04.3) - Fixed window scaling, movement bug which appears if you /// move/scale a window and another window is behind it. /// If you are fast enough then the window behind gets activated /// and the operation is blocked. I now require activating /// by hovering only if mouse is not pressed. /// - 2016/08/04 (1.04.2) - Fixed changing fonts. /// - 2016/08/03 (1.04.1) - Fixed `NK_WINDOW_BACKGROUND` behavior. /// - 2016/08/03 (1.04.0) - Added color parameter to `nk_draw_image`. /// - 2016/08/03 (1.04.0) - Added additional window padding style attributes for /// sub windows (combo, menu, ...). /// - 2016/08/03 (1.04.0) - Added functions to show/hide software cursor. /// - 2016/08/03 (1.04.0) - Added `NK_WINDOW_BACKGROUND` flag to force a window /// to be always in the background of the screen. /// - 2016/08/03 (1.03.2) - Removed invalid assert macro for NK_RGB color picker. /// - 2016/08/01 (1.03.1) - Added helper macros into header include guard. /// - 2016/07/29 (1.03.0) - Moved the window/table pool into the header part to /// simplify memory management by removing the need to /// allocate the pool. /// - 2016/07/29 (1.02.0) - Added auto scrollbar hiding window flag which if enabled /// will hide the window scrollbar after NK_SCROLLBAR_HIDING_TIMEOUT /// seconds without window interaction. To make it work /// you have to also set a delta time inside the `nk_context`. /// - 2016/07/25 (1.01.1) - Fixed small panel and panel border drawing bugs. /// - 2016/07/15 (1.01.0) - Added software cursor to `nk_style` and `nk_context`. /// - 2016/07/15 (1.01.0) - Added const correctness to `nk_buffer_push' data argument. /// - 2016/07/15 (1.01.0) - Removed internal font baking API and simplified /// font atlas memory management by converting pointer /// arrays for fonts and font configurations to lists. /// - 2016/07/15 (1.00.0) - Changed button API to use context dependend button /// behavior instead of passing it for every function call. /// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /// ## Gallery /// ![Figure [blue]: Feature overview with blue color styling](https://cloud.githubusercontent.com/assets/8057201/13538240/acd96876-e249-11e5-9547-5ac0b19667a0.png) /// ![Figure [red]: Feature overview with red color styling](https://cloud.githubusercontent.com/assets/8057201/13538243/b04acd4c-e249-11e5-8fd2-ad7744a5b446.png) /// ![Figure [widgets]: Widget overview](https://cloud.githubusercontent.com/assets/8057201/11282359/3325e3c6-8eff-11e5-86cb-cf02b0596087.png) /// ![Figure [blackwhite]: Black and white](https://cloud.githubusercontent.com/assets/8057201/11033668/59ab5d04-86e5-11e5-8091-c56f16411565.png) /// ![Figure [filexp]: File explorer](https://cloud.githubusercontent.com/assets/8057201/10718115/02a9ba08-7b6b-11e5-950f-adacdd637739.png) /// ![Figure [opengl]: OpenGL Editor](https://cloud.githubusercontent.com/assets/8057201/12779619/2a20d72c-ca69-11e5-95fe-4edecf820d5c.png) /// ![Figure [nodedit]: Node Editor](https://cloud.githubusercontent.com/assets/8057201/9976995/e81ac04a-5ef7-11e5-872b-acd54fbeee03.gif) /// ![Figure [skinning]: Using skinning in Nuklear](https://cloud.githubusercontent.com/assets/8057201/15991632/76494854-30b8-11e6-9555-a69840d0d50b.png) /// ![Figure [bf]: Heavy modified version](https://cloud.githubusercontent.com/assets/8057201/14902576/339926a8-0d9c-11e6-9fee-a8b73af04473.png) /// /// ## Credits /// Developed by Micha Mettke and every direct or indirect github contributor. <br /><br /> /// /// Embeds [stb_texedit](https://github.com/nothings/stb/blob/master/stb_textedit.h), [stb_truetype](https://github.com/nothings/stb/blob/master/stb_truetype.h) and [stb_rectpack](https://github.com/nothings/stb/blob/master/stb_rect_pack.h) by Sean Barret (public domain) <br /> /// Uses [stddoc.c](https://github.com/r-lyeh/stddoc.c) from [email protected] for documentation generation <br /><br /> /// Embeds ProggyClean.ttf font by Tristan Grimmer (MIT license). <br /> /// /// Big thank you to Omar Cornut (ocornut@github) for his [imgui library](https://github.com/ocornut/imgui) and /// giving me the inspiration for this library, Casey Muratori for handmade hero /// and his original immediate mode graphical user interface idea and Sean /// Barret for his amazing single header libraries which restored my faith /// in libraries and brought me to create some of my own. Finally Apoorva Joshi /// for his single header file packer. */
0
repos/sokol/tests
repos/sokol/tests/ext/CMakeLists.txt
# external dependencies # NOTE FetchContent is so frigging slow that we just run git directly set(cimgui_dir ${CMAKE_BINARY_DIR}/../_deps/cimgui) set(spineruntimes_dir ${CMAKE_BINARY_DIR}/../_deps/spineruntimes) if (IS_DIRECTORY ${cimgui_dir}) message("### ${cimgui_dir} exists...") else() message("### Fetching cimgui to ${cimgui_dir} (this may take a while...)") execute_process(COMMAND git clone --depth=1 --recursive https://github.com/fips-libs/fips-cimgui ${cimgui_dir}) endif() if (IS_DIRECTORY ${spineruntimes_dir}) message("### ${spineruntimes_dir} exists...") else() message("### Fetching spine runtimes to ${spineruntimes_dir} (this may take a while...)") execute_process(COMMAND git clone --depth=1 --branch 4.1 --recursive https://github.com/EsotericSoftware/spine-runtimes ${spineruntimes_dir}) endif() add_library(cimgui ${cimgui_dir}/cimgui/cimgui.cpp ${cimgui_dir}/cimgui/imgui/imgui.cpp ${cimgui_dir}/cimgui/imgui/imgui_demo.cpp ${cimgui_dir}/cimgui/imgui/imgui_draw.cpp ${cimgui_dir}/cimgui/imgui/imgui_tables.cpp ${cimgui_dir}/cimgui/imgui/imgui_widgets.cpp) target_include_directories(cimgui SYSTEM PUBLIC ${cimgui_dir}) add_library(imgui ${cimgui_dir}/cimgui/imgui/imgui.cpp ${cimgui_dir}/cimgui/imgui/imgui_demo.cpp ${cimgui_dir}/cimgui/imgui/imgui_draw.cpp ${cimgui_dir}/cimgui/imgui/imgui_tables.cpp ${cimgui_dir}/cimgui/imgui/imgui_widgets.cpp) target_include_directories(imgui SYSTEM PUBLIC ${cimgui_dir}/cimgui/imgui) add_library(spine ${spineruntimes_dir}/spine-c/spine-c/src/spine/Animation.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/AnimationState.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/AnimationStateData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Array.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Atlas.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/AtlasAttachmentLoader.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Attachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/AttachmentLoader.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Bone.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/BoneData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/BoundingBoxAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/ClippingAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Color.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Debug.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Event.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/EventData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/IkConstraint.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/IkConstraintData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Json.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Json.h ${spineruntimes_dir}/spine-c/spine-c/src/spine/MeshAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/PathAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/PathConstraint.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/PathConstraintData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/PointAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/RegionAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Sequence.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Skeleton.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SkeletonBinary.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SkeletonBounds.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SkeletonClipping.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SkeletonData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SkeletonJson.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Skin.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Slot.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/SlotData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/TransformConstraint.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/TransformConstraintData.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/Triangulator.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/VertexAttachment.c ${spineruntimes_dir}/spine-c/spine-c/src/spine/extension.c) target_include_directories(spine SYSTEM PUBLIC ${spineruntimes_dir}/spine-c/spine-c/include) if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC") target_compile_options(spine PRIVATE /wd4267 /wd4244) # conversion from 'x' to 'y' possible loss of data endif() if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") target_compile_options(spine PRIVATE -Wno-shorten-64-to-32) endif() file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy-pro.json DESTINATION ${CMAKE_BINARY_DIR}) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy-pro.skel DESTINATION ${CMAKE_BINARY_DIR}) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy.atlas DESTINATION ${CMAKE_BINARY_DIR}) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy.png DESTINATION ${CMAKE_BINARY_DIR}) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy-pro.json DESTINATION ${CMAKE_BINARY_DIR}/Debug) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy-pro.skel DESTINATION ${CMAKE_BINARY_DIR}/Debug) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy.atlas DESTINATION ${CMAKE_BINARY_DIR}/Debug) file(COPY ${spineruntimes_dir}/examples/spineboy/export/spineboy.png DESTINATION ${CMAKE_BINARY_DIR}/Debug) add_library(nuklear nuklear.c)
0
repos/sokol/tests
repos/sokol/tests/ext/fontstash.h
// // NOTE sokol: all IO functions have been removed // // Copyright (c) 2009-2013 Mikko Mononen [email protected] // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose, // including commercial applications, and to alter it and redistribute it // freely, subject to the following restrictions: // 1. The origin of this software must not be misrepresented; you must not // claim that you wrote the original software. If you use this software // in a product, an acknowledgment in the product documentation would be // appreciated but is not required. // 2. Altered source versions must be plainly marked as such, and must not be // misrepresented as being the original software. // 3. This notice may not be removed or altered from any source distribution. // #ifndef FONS_H #define FONS_H #ifdef __cplusplus extern "C" { #endif // To make the implementation private to the file that generates the implementation #ifdef FONS_STATIC #define FONS_DEF static #else #define FONS_DEF extern #endif #define FONS_INVALID -1 enum FONSflags { FONS_ZERO_TOPLEFT = 1, FONS_ZERO_BOTTOMLEFT = 2, }; enum FONSalign { // Horizontal align FONS_ALIGN_LEFT = 1<<0, // Default FONS_ALIGN_CENTER = 1<<1, FONS_ALIGN_RIGHT = 1<<2, // Vertical align FONS_ALIGN_TOP = 1<<3, FONS_ALIGN_MIDDLE = 1<<4, FONS_ALIGN_BOTTOM = 1<<5, FONS_ALIGN_BASELINE = 1<<6, // Default }; enum FONSerrorCode { // Font atlas is full. FONS_ATLAS_FULL = 1, // Scratch memory used to render glyphs is full, requested size reported in 'val', you may need to bump up FONS_SCRATCH_BUF_SIZE. FONS_SCRATCH_FULL = 2, // Calls to fonsPushState has created too large stack, if you need deep state stack bump up FONS_MAX_STATES. FONS_STATES_OVERFLOW = 3, // Trying to pop too many states fonsPopState(). FONS_STATES_UNDERFLOW = 4, }; struct FONSparams { int width, height; unsigned char flags; void* userPtr; int (*renderCreate)(void* uptr, int width, int height); int (*renderResize)(void* uptr, int width, int height); void (*renderUpdate)(void* uptr, int* rect, const unsigned char* data); void (*renderDraw)(void* uptr, const float* verts, const float* tcoords, const unsigned int* colors, int nverts); void (*renderDelete)(void* uptr); }; typedef struct FONSparams FONSparams; struct FONSquad { float x0,y0,s0,t0; float x1,y1,s1,t1; }; typedef struct FONSquad FONSquad; struct FONStextIter { float x, y, nextx, nexty, scale, spacing; unsigned int codepoint; short isize, iblur; struct FONSfont* font; int prevGlyphIndex; const char* str; const char* next; const char* end; unsigned int utf8state; }; typedef struct FONStextIter FONStextIter; typedef struct FONScontext FONScontext; // Contructor and destructor. FONS_DEF FONScontext* fonsCreateInternal(FONSparams* params); FONS_DEF void fonsDeleteInternal(FONScontext* s); FONS_DEF void fonsSetErrorCallback(FONScontext* s, void (*callback)(void* uptr, int error, int val), void* uptr); // Returns current atlas size. FONS_DEF void fonsGetAtlasSize(FONScontext* s, int* width, int* height); // Expands the atlas size. FONS_DEF int fonsExpandAtlas(FONScontext* s, int width, int height); // Resets the whole stash. FONS_DEF int fonsResetAtlas(FONScontext* stash, int width, int height); // Add fonts FONS_DEF int fonsGetFontByName(FONScontext* s, const char* name); FONS_DEF int fonsAddFallbackFont(FONScontext* stash, int base, int fallback); // State handling FONS_DEF void fonsPushState(FONScontext* s); FONS_DEF void fonsPopState(FONScontext* s); FONS_DEF void fonsClearState(FONScontext* s); // State setting FONS_DEF void fonsSetSize(FONScontext* s, float size); FONS_DEF void fonsSetColor(FONScontext* s, unsigned int color); FONS_DEF void fonsSetSpacing(FONScontext* s, float spacing); FONS_DEF void fonsSetBlur(FONScontext* s, float blur); FONS_DEF void fonsSetAlign(FONScontext* s, int align); FONS_DEF void fonsSetFont(FONScontext* s, int font); // Draw text FONS_DEF float fonsDrawText(FONScontext* s, float x, float y, const char* string, const char* end); // Measure text FONS_DEF float fonsTextBounds(FONScontext* s, float x, float y, const char* string, const char* end, float* bounds); FONS_DEF void fonsLineBounds(FONScontext* s, float y, float* miny, float* maxy); FONS_DEF void fonsVertMetrics(FONScontext* s, float* ascender, float* descender, float* lineh); // Text iterator FONS_DEF int fonsTextIterInit(FONScontext* stash, FONStextIter* iter, float x, float y, const char* str, const char* end); FONS_DEF int fonsTextIterNext(FONScontext* stash, FONStextIter* iter, struct FONSquad* quad); // Pull texture changes FONS_DEF const unsigned char* fonsGetTextureData(FONScontext* stash, int* width, int* height); FONS_DEF int fonsValidateTexture(FONScontext* s, int* dirty); // Draws the stash texture for debugging FONS_DEF void fonsDrawDebug(FONScontext* s, float x, float y); #ifdef __cplusplus } #endif #endif // FONS_H #ifdef FONTSTASH_IMPLEMENTATION #define FONS_NOTUSED(v) (void)sizeof(v) #ifdef FONS_USE_FREETYPE #include <ft2build.h> #include FT_FREETYPE_H #include FT_ADVANCES_H #include <math.h> struct FONSttFontImpl { FT_Face font; }; typedef struct FONSttFontImpl FONSttFontImpl; static FT_Library ftLibrary; static int fons__tt_init() { FT_Error ftError; FONS_NOTUSED(context); ftError = FT_Init_FreeType(&ftLibrary); return ftError == 0; } static int fons__tt_loadFont(FONScontext *context, FONSttFontImpl *font, unsigned char *data, int dataSize) { FT_Error ftError; FONS_NOTUSED(context); //font->font.userdata = stash; ftError = FT_New_Memory_Face(ftLibrary, (const FT_Byte*)data, dataSize, 0, &font->font); return ftError == 0; } static void fons__tt_getFontVMetrics(FONSttFontImpl *font, int *ascent, int *descent, int *lineGap) { *ascent = font->font->ascender; *descent = font->font->descender; *lineGap = font->font->height - (*ascent - *descent); } static float fons__tt_getPixelHeightScale(FONSttFontImpl *font, float size) { return size / (font->font->ascender - font->font->descender); } static int fons__tt_getGlyphIndex(FONSttFontImpl *font, int codepoint) { return FT_Get_Char_Index(font->font, codepoint); } static int fons__tt_buildGlyphBitmap(FONSttFontImpl *font, int glyph, float size, float scale, int *advance, int *lsb, int *x0, int *y0, int *x1, int *y1) { FT_Error ftError; FT_GlyphSlot ftGlyph; FT_Fixed advFixed; FONS_NOTUSED(scale); ftError = FT_Set_Pixel_Sizes(font->font, 0, (FT_UInt)(size * (float)font->font->units_per_EM / (float)(font->font->ascender - font->font->descender))); if (ftError) return 0; ftError = FT_Load_Glyph(font->font, glyph, FT_LOAD_RENDER); if (ftError) return 0; ftError = FT_Get_Advance(font->font, glyph, FT_LOAD_NO_SCALE, &advFixed); if (ftError) return 0; ftGlyph = font->font->glyph; *advance = (int)advFixed; *lsb = (int)ftGlyph->metrics.horiBearingX; *x0 = ftGlyph->bitmap_left; *x1 = *x0 + ftGlyph->bitmap.width; *y0 = -ftGlyph->bitmap_top; *y1 = *y0 + ftGlyph->bitmap.rows; return 1; } static void fons__tt_renderGlyphBitmap(FONSttFontImpl *font, unsigned char *output, int outWidth, int outHeight, int outStride, float scaleX, float scaleY, int glyph) { FT_GlyphSlot ftGlyph = font->font->glyph; int ftGlyphOffset = 0; int x, y; FONS_NOTUSED(outWidth); FONS_NOTUSED(outHeight); FONS_NOTUSED(scaleX); FONS_NOTUSED(scaleY); FONS_NOTUSED(glyph); // glyph has already been loaded by fons__tt_buildGlyphBitmap for ( y = 0; y < ftGlyph->bitmap.rows; y++ ) { for ( x = 0; x < ftGlyph->bitmap.width; x++ ) { output[(y * outStride) + x] = ftGlyph->bitmap.buffer[ftGlyphOffset++]; } } } static int fons__tt_getGlyphKernAdvance(FONSttFontImpl *font, int glyph1, int glyph2) { FT_Vector ftKerning; FT_Get_Kerning(font->font, glyph1, glyph2, FT_KERNING_DEFAULT, &ftKerning); return (int)((ftKerning.x + 32) >> 6); // Round up and convert to integer } #else #define STB_TRUETYPE_IMPLEMENTATION #define STBTT_STATIC static void* fons__tmpalloc(size_t size, void* up); static void fons__tmpfree(void* ptr, void* up); #define STBTT_malloc(x,u) fons__tmpalloc(x,u) #define STBTT_free(x,u) fons__tmpfree(x,u) #include "stb_truetype.h" struct FONSttFontImpl { stbtt_fontinfo font; }; typedef struct FONSttFontImpl FONSttFontImpl; static int fons__tt_init(FONScontext *context) { FONS_NOTUSED(context); return 1; } static int fons__tt_loadFont(FONScontext *context, FONSttFontImpl *font, unsigned char *data, int dataSize) { int stbError; FONS_NOTUSED(dataSize); font->font.userdata = context; stbError = stbtt_InitFont(&font->font, data, 0); return stbError; } static void fons__tt_getFontVMetrics(FONSttFontImpl *font, int *ascent, int *descent, int *lineGap) { stbtt_GetFontVMetrics(&font->font, ascent, descent, lineGap); } static float fons__tt_getPixelHeightScale(FONSttFontImpl *font, float size) { return stbtt_ScaleForPixelHeight(&font->font, size); } static int fons__tt_getGlyphIndex(FONSttFontImpl *font, int codepoint) { return stbtt_FindGlyphIndex(&font->font, codepoint); } static int fons__tt_buildGlyphBitmap(FONSttFontImpl *font, int glyph, float size, float scale, int *advance, int *lsb, int *x0, int *y0, int *x1, int *y1) { FONS_NOTUSED(size); stbtt_GetGlyphHMetrics(&font->font, glyph, advance, lsb); stbtt_GetGlyphBitmapBox(&font->font, glyph, scale, scale, x0, y0, x1, y1); return 1; } static void fons__tt_renderGlyphBitmap(FONSttFontImpl *font, unsigned char *output, int outWidth, int outHeight, int outStride, float scaleX, float scaleY, int glyph) { stbtt_MakeGlyphBitmap(&font->font, output, outWidth, outHeight, outStride, scaleX, scaleY, glyph); } static int fons__tt_getGlyphKernAdvance(FONSttFontImpl *font, int glyph1, int glyph2) { return stbtt_GetGlyphKernAdvance(&font->font, glyph1, glyph2); } #endif #ifndef FONS_SCRATCH_BUF_SIZE # define FONS_SCRATCH_BUF_SIZE 64000 #endif #ifndef FONS_HASH_LUT_SIZE # define FONS_HASH_LUT_SIZE 256 #endif #ifndef FONS_INIT_FONTS # define FONS_INIT_FONTS 4 #endif #ifndef FONS_INIT_GLYPHS # define FONS_INIT_GLYPHS 256 #endif #ifndef FONS_INIT_ATLAS_NODES # define FONS_INIT_ATLAS_NODES 256 #endif #ifndef FONS_VERTEX_COUNT # define FONS_VERTEX_COUNT 1024 #endif #ifndef FONS_MAX_STATES # define FONS_MAX_STATES 20 #endif #ifndef FONS_MAX_FALLBACKS # define FONS_MAX_FALLBACKS 20 #endif static unsigned int fons__hashint(unsigned int a) { a += ~(a<<15); a ^= (a>>10); a += (a<<3); a ^= (a>>6); a += ~(a<<11); a ^= (a>>16); return a; } static int fons__mini(int a, int b) { return a < b ? a : b; } static int fons__maxi(int a, int b) { return a > b ? a : b; } struct FONSglyph { unsigned int codepoint; int index; int next; short size, blur; short x0,y0,x1,y1; short xadv,xoff,yoff; }; typedef struct FONSglyph FONSglyph; struct FONSfont { FONSttFontImpl font; char name[64]; unsigned char* data; int dataSize; unsigned char freeData; float ascender; float descender; float lineh; FONSglyph* glyphs; int cglyphs; int nglyphs; int lut[FONS_HASH_LUT_SIZE]; int fallbacks[FONS_MAX_FALLBACKS]; int nfallbacks; }; typedef struct FONSfont FONSfont; struct FONSstate { int font; int align; float size; unsigned int color; float blur; float spacing; }; typedef struct FONSstate FONSstate; struct FONSatlasNode { short x, y, width; }; typedef struct FONSatlasNode FONSatlasNode; struct FONSatlas { int width, height; FONSatlasNode* nodes; int nnodes; int cnodes; }; typedef struct FONSatlas FONSatlas; struct FONScontext { FONSparams params; float itw,ith; unsigned char* texData; int dirtyRect[4]; FONSfont** fonts; FONSatlas* atlas; int cfonts; int nfonts; float verts[FONS_VERTEX_COUNT*2]; float tcoords[FONS_VERTEX_COUNT*2]; unsigned int colors[FONS_VERTEX_COUNT]; int nverts; unsigned char* scratch; int nscratch; FONSstate states[FONS_MAX_STATES]; int nstates; void (*handleError)(void* uptr, int error, int val); void* errorUptr; }; #ifdef STB_TRUETYPE_IMPLEMENTATION static void* fons__tmpalloc(size_t size, void* up) { unsigned char* ptr; FONScontext* stash = (FONScontext*)up; // 16-byte align the returned pointer size = (size + 0xf) & ~0xf; if (stash->nscratch+(int)size > FONS_SCRATCH_BUF_SIZE) { if (stash->handleError) stash->handleError(stash->errorUptr, FONS_SCRATCH_FULL, stash->nscratch+(int)size); return NULL; } ptr = stash->scratch + stash->nscratch; stash->nscratch += (int)size; return ptr; } static void fons__tmpfree(void* ptr, void* up) { (void)ptr; (void)up; // empty } #endif // STB_TRUETYPE_IMPLEMENTATION // Copyright (c) 2008-2010 Bjoern Hoehrmann <[email protected]> // See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details. #define FONS_UTF8_ACCEPT 0 #define FONS_UTF8_REJECT 12 static unsigned int fons__decutf8(unsigned int* state, unsigned int* codep, unsigned int byte) { static const unsigned char utf8d[] = { // The first part of the table maps bytes to character classes that // to reduce the size of the transition table and create bitmasks. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 8,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 10,3,3,3,3,3,3,3,3,3,3,3,3,4,3,3, 11,6,6,6,5,8,8,8,8,8,8,8,8,8,8,8, // The second part is a transition table that maps a combination // of a state of the automaton and a character class to a state. 0,12,24,36,60,96,84,12,12,12,48,72, 12,12,12,12,12,12,12,12,12,12,12,12, 12, 0,12,12,12,12,12, 0,12, 0,12,12, 12,24,12,12,12,12,12,24,12,24,12,12, 12,12,12,12,12,12,12,24,12,12,12,12, 12,24,12,12,12,12,12,12,12,24,12,12, 12,12,12,12,12,12,12,36,12,36,12,12, 12,36,12,12,12,12,12,36,12,36,12,12, 12,36,12,12,12,12,12,12,12,12,12,12, }; unsigned int type = utf8d[byte]; *codep = (*state != FONS_UTF8_ACCEPT) ? (byte & 0x3fu) | (*codep << 6) : (0xff >> type) & (byte); *state = utf8d[256 + *state + type]; return *state; } // Atlas based on Skyline Bin Packer by Jukka Jylänki static void fons__deleteAtlas(FONSatlas* atlas) { if (atlas == NULL) return; if (atlas->nodes != NULL) free(atlas->nodes); free(atlas); } static FONSatlas* fons__allocAtlas(int w, int h, int nnodes) { FONSatlas* atlas = NULL; // Allocate memory for the font stash. atlas = (FONSatlas*)malloc(sizeof(FONSatlas)); if (atlas == NULL) goto error; memset(atlas, 0, sizeof(FONSatlas)); atlas->width = w; atlas->height = h; // Allocate space for skyline nodes atlas->nodes = (FONSatlasNode*)malloc(sizeof(FONSatlasNode) * nnodes); if (atlas->nodes == NULL) goto error; memset(atlas->nodes, 0, sizeof(FONSatlasNode) * nnodes); atlas->nnodes = 0; atlas->cnodes = nnodes; // Init root node. atlas->nodes[0].x = 0; atlas->nodes[0].y = 0; atlas->nodes[0].width = (short)w; atlas->nnodes++; return atlas; error: if (atlas) fons__deleteAtlas(atlas); return NULL; } static int fons__atlasInsertNode(FONSatlas* atlas, int idx, int x, int y, int w) { int i; // Insert node if (atlas->nnodes+1 > atlas->cnodes) { atlas->cnodes = atlas->cnodes == 0 ? 8 : atlas->cnodes * 2; atlas->nodes = (FONSatlasNode*)realloc(atlas->nodes, sizeof(FONSatlasNode) * atlas->cnodes); if (atlas->nodes == NULL) return 0; } for (i = atlas->nnodes; i > idx; i--) atlas->nodes[i] = atlas->nodes[i-1]; atlas->nodes[idx].x = (short)x; atlas->nodes[idx].y = (short)y; atlas->nodes[idx].width = (short)w; atlas->nnodes++; return 1; } static void fons__atlasRemoveNode(FONSatlas* atlas, int idx) { int i; if (atlas->nnodes == 0) return; for (i = idx; i < atlas->nnodes-1; i++) atlas->nodes[i] = atlas->nodes[i+1]; atlas->nnodes--; } static void fons__atlasExpand(FONSatlas* atlas, int w, int h) { // Insert node for empty space if (w > atlas->width) fons__atlasInsertNode(atlas, atlas->nnodes, atlas->width, 0, w - atlas->width); atlas->width = w; atlas->height = h; } static void fons__atlasReset(FONSatlas* atlas, int w, int h) { atlas->width = w; atlas->height = h; atlas->nnodes = 0; // Init root node. atlas->nodes[0].x = 0; atlas->nodes[0].y = 0; atlas->nodes[0].width = (short)w; atlas->nnodes++; } static int fons__atlasAddSkylineLevel(FONSatlas* atlas, int idx, int x, int y, int w, int h) { int i; // Insert new node if (fons__atlasInsertNode(atlas, idx, x, y+h, w) == 0) return 0; // Delete skyline segments that fall under the shadow of the new segment. for (i = idx+1; i < atlas->nnodes; i++) { if (atlas->nodes[i].x < atlas->nodes[i-1].x + atlas->nodes[i-1].width) { int shrink = atlas->nodes[i-1].x + atlas->nodes[i-1].width - atlas->nodes[i].x; atlas->nodes[i].x += (short)shrink; atlas->nodes[i].width -= (short)shrink; if (atlas->nodes[i].width <= 0) { fons__atlasRemoveNode(atlas, i); i--; } else { break; } } else { break; } } // Merge same height skyline segments that are next to each other. for (i = 0; i < atlas->nnodes-1; i++) { if (atlas->nodes[i].y == atlas->nodes[i+1].y) { atlas->nodes[i].width += atlas->nodes[i+1].width; fons__atlasRemoveNode(atlas, i+1); i--; } } return 1; } static int fons__atlasRectFits(FONSatlas* atlas, int i, int w, int h) { // Checks if there is enough space at the location of skyline span 'i', // and return the max height of all skyline spans under that at that location, // (think tetris block being dropped at that position). Or -1 if no space found. int x = atlas->nodes[i].x; int y = atlas->nodes[i].y; int spaceLeft; if (x + w > atlas->width) return -1; spaceLeft = w; while (spaceLeft > 0) { if (i == atlas->nnodes) return -1; y = fons__maxi(y, atlas->nodes[i].y); if (y + h > atlas->height) return -1; spaceLeft -= atlas->nodes[i].width; ++i; } return y; } static int fons__atlasAddRect(FONSatlas* atlas, int rw, int rh, int* rx, int* ry) { int besth = atlas->height, bestw = atlas->width, besti = -1; int bestx = -1, besty = -1, i; // Bottom left fit heuristic. for (i = 0; i < atlas->nnodes; i++) { int y = fons__atlasRectFits(atlas, i, rw, rh); if (y != -1) { if (y + rh < besth || (y + rh == besth && atlas->nodes[i].width < bestw)) { besti = i; bestw = atlas->nodes[i].width; besth = y + rh; bestx = atlas->nodes[i].x; besty = y; } } } if (besti == -1) return 0; // Perform the actual packing. if (fons__atlasAddSkylineLevel(atlas, besti, bestx, besty, rw, rh) == 0) return 0; *rx = bestx; *ry = besty; return 1; } static void fons__addWhiteRect(FONScontext* stash, int w, int h) { int x, y, gx, gy; unsigned char* dst; if (fons__atlasAddRect(stash->atlas, w, h, &gx, &gy) == 0) return; // Rasterize dst = &stash->texData[gx + gy * stash->params.width]; for (y = 0; y < h; y++) { for (x = 0; x < w; x++) dst[x] = 0xff; dst += stash->params.width; } stash->dirtyRect[0] = fons__mini(stash->dirtyRect[0], gx); stash->dirtyRect[1] = fons__mini(stash->dirtyRect[1], gy); stash->dirtyRect[2] = fons__maxi(stash->dirtyRect[2], gx+w); stash->dirtyRect[3] = fons__maxi(stash->dirtyRect[3], gy+h); } FONScontext* fonsCreateInternal(FONSparams* params) { FONScontext* stash = NULL; // Allocate memory for the font stash. stash = (FONScontext*)malloc(sizeof(FONScontext)); if (stash == NULL) goto error; memset(stash, 0, sizeof(FONScontext)); stash->params = *params; // Allocate scratch buffer. stash->scratch = (unsigned char*)malloc(FONS_SCRATCH_BUF_SIZE); if (stash->scratch == NULL) goto error; // Initialize implementation library if (!fons__tt_init(stash)) goto error; if (stash->params.renderCreate != NULL) { if (stash->params.renderCreate(stash->params.userPtr, stash->params.width, stash->params.height) == 0) goto error; } stash->atlas = fons__allocAtlas(stash->params.width, stash->params.height, FONS_INIT_ATLAS_NODES); if (stash->atlas == NULL) goto error; // Allocate space for fonts. stash->fonts = (FONSfont**)malloc(sizeof(FONSfont*) * FONS_INIT_FONTS); if (stash->fonts == NULL) goto error; memset(stash->fonts, 0, sizeof(FONSfont*) * FONS_INIT_FONTS); stash->cfonts = FONS_INIT_FONTS; stash->nfonts = 0; // Create texture for the cache. stash->itw = 1.0f/stash->params.width; stash->ith = 1.0f/stash->params.height; stash->texData = (unsigned char*)malloc(stash->params.width * stash->params.height); if (stash->texData == NULL) goto error; memset(stash->texData, 0, stash->params.width * stash->params.height); stash->dirtyRect[0] = stash->params.width; stash->dirtyRect[1] = stash->params.height; stash->dirtyRect[2] = 0; stash->dirtyRect[3] = 0; // Add white rect at 0,0 for debug drawing. fons__addWhiteRect(stash, 2,2); fonsPushState(stash); fonsClearState(stash); return stash; error: fonsDeleteInternal(stash); return NULL; } static FONSstate* fons__getState(FONScontext* stash) { return &stash->states[stash->nstates-1]; } int fonsAddFallbackFont(FONScontext* stash, int base, int fallback) { FONSfont* baseFont = stash->fonts[base]; if (baseFont->nfallbacks < FONS_MAX_FALLBACKS) { baseFont->fallbacks[baseFont->nfallbacks++] = fallback; return 1; } return 0; } void fonsSetSize(FONScontext* stash, float size) { fons__getState(stash)->size = size; } void fonsSetColor(FONScontext* stash, unsigned int color) { fons__getState(stash)->color = color; } void fonsSetSpacing(FONScontext* stash, float spacing) { fons__getState(stash)->spacing = spacing; } void fonsSetBlur(FONScontext* stash, float blur) { fons__getState(stash)->blur = blur; } void fonsSetAlign(FONScontext* stash, int align) { fons__getState(stash)->align = align; } void fonsSetFont(FONScontext* stash, int font) { fons__getState(stash)->font = font; } void fonsPushState(FONScontext* stash) { if (stash->nstates >= FONS_MAX_STATES) { if (stash->handleError) stash->handleError(stash->errorUptr, FONS_STATES_OVERFLOW, 0); return; } if (stash->nstates > 0) memcpy(&stash->states[stash->nstates], &stash->states[stash->nstates-1], sizeof(FONSstate)); stash->nstates++; } void fonsPopState(FONScontext* stash) { if (stash->nstates <= 1) { if (stash->handleError) stash->handleError(stash->errorUptr, FONS_STATES_UNDERFLOW, 0); return; } stash->nstates--; } void fonsClearState(FONScontext* stash) { FONSstate* state = fons__getState(stash); state->size = 12.0f; state->color = 0xffffffff; state->font = 0; state->blur = 0; state->spacing = 0; state->align = FONS_ALIGN_LEFT | FONS_ALIGN_BASELINE; } static void fons__freeFont(FONSfont* font) { if (font == NULL) return; if (font->glyphs) free(font->glyphs); if (font->freeData && font->data) free(font->data); free(font); } static int fons__allocFont(FONScontext* stash) { FONSfont* font = NULL; if (stash->nfonts+1 > stash->cfonts) { stash->cfonts = stash->cfonts == 0 ? 8 : stash->cfonts * 2; stash->fonts = (FONSfont**)realloc(stash->fonts, sizeof(FONSfont*) * stash->cfonts); if (stash->fonts == NULL) return -1; } font = (FONSfont*)malloc(sizeof(FONSfont)); if (font == NULL) goto error; memset(font, 0, sizeof(FONSfont)); font->glyphs = (FONSglyph*)malloc(sizeof(FONSglyph) * FONS_INIT_GLYPHS); if (font->glyphs == NULL) goto error; font->cglyphs = FONS_INIT_GLYPHS; font->nglyphs = 0; stash->fonts[stash->nfonts++] = font; return stash->nfonts-1; error: fons__freeFont(font); return FONS_INVALID; } int fonsAddFontMem(FONScontext* stash, const char* name, unsigned char* data, int dataSize, int freeData) { int i, ascent, descent, fh, lineGap; FONSfont* font; int idx = fons__allocFont(stash); if (idx == FONS_INVALID) return FONS_INVALID; font = stash->fonts[idx]; strncpy(font->name, name, sizeof(font->name)); font->name[sizeof(font->name)-1] = '\0'; // Init hash lookup. for (i = 0; i < FONS_HASH_LUT_SIZE; ++i) font->lut[i] = -1; // Read in the font data. font->dataSize = dataSize; font->data = data; font->freeData = (unsigned char)freeData; // Init font stash->nscratch = 0; if (!fons__tt_loadFont(stash, &font->font, data, dataSize)) goto error; // Store normalized line height. The real line height is got // by multiplying the lineh by font size. fons__tt_getFontVMetrics( &font->font, &ascent, &descent, &lineGap); fh = ascent - descent; font->ascender = (float)ascent / (float)fh; font->descender = (float)descent / (float)fh; font->lineh = (float)(fh + lineGap) / (float)fh; return idx; error: fons__freeFont(font); stash->nfonts--; return FONS_INVALID; } int fonsGetFontByName(FONScontext* s, const char* name) { int i; for (i = 0; i < s->nfonts; i++) { if (strcmp(s->fonts[i]->name, name) == 0) return i; } return FONS_INVALID; } static FONSglyph* fons__allocGlyph(FONSfont* font) { if (font->nglyphs+1 > font->cglyphs) { font->cglyphs = font->cglyphs == 0 ? 8 : font->cglyphs * 2; font->glyphs = (FONSglyph*)realloc(font->glyphs, sizeof(FONSglyph) * font->cglyphs); if (font->glyphs == NULL) return NULL; } font->nglyphs++; return &font->glyphs[font->nglyphs-1]; } // Based on Exponential blur, Jani Huhtanen, 2006 #define APREC 16 #define ZPREC 7 static void fons__blurCols(unsigned char* dst, int w, int h, int dstStride, int alpha) { int x, y; for (y = 0; y < h; y++) { int z = 0; // force zero border for (x = 1; x < w; x++) { z += (alpha * (((int)(dst[x]) << ZPREC) - z)) >> APREC; dst[x] = (unsigned char)(z >> ZPREC); } dst[w-1] = 0; // force zero border z = 0; for (x = w-2; x >= 0; x--) { z += (alpha * (((int)(dst[x]) << ZPREC) - z)) >> APREC; dst[x] = (unsigned char)(z >> ZPREC); } dst[0] = 0; // force zero border dst += dstStride; } } static void fons__blurRows(unsigned char* dst, int w, int h, int dstStride, int alpha) { int x, y; for (x = 0; x < w; x++) { int z = 0; // force zero border for (y = dstStride; y < h*dstStride; y += dstStride) { z += (alpha * (((int)(dst[y]) << ZPREC) - z)) >> APREC; dst[y] = (unsigned char)(z >> ZPREC); } dst[(h-1)*dstStride] = 0; // force zero border z = 0; for (y = (h-2)*dstStride; y >= 0; y -= dstStride) { z += (alpha * (((int)(dst[y]) << ZPREC) - z)) >> APREC; dst[y] = (unsigned char)(z >> ZPREC); } dst[0] = 0; // force zero border dst++; } } static void fons__blur(FONScontext* stash, unsigned char* dst, int w, int h, int dstStride, int blur) { int alpha; float sigma; (void)stash; if (blur < 1) return; // Calculate the alpha such that 90% of the kernel is within the radius. (Kernel extends to infinity) sigma = (float)blur * 0.57735f; // 1 / sqrt(3) alpha = (int)((1<<APREC) * (1.0f - expf(-2.3f / (sigma+1.0f)))); fons__blurRows(dst, w, h, dstStride, alpha); fons__blurCols(dst, w, h, dstStride, alpha); fons__blurRows(dst, w, h, dstStride, alpha); fons__blurCols(dst, w, h, dstStride, alpha); // fons__blurrows(dst, w, h, dstStride, alpha); // fons__blurcols(dst, w, h, dstStride, alpha); } static FONSglyph* fons__getGlyph(FONScontext* stash, FONSfont* font, unsigned int codepoint, short isize, short iblur) { int i, g, advance, lsb, x0, y0, x1, y1, gw, gh, gx, gy, x, y; float scale; FONSglyph* glyph = NULL; unsigned int h; float size = isize/10.0f; int pad, added; unsigned char* bdst; unsigned char* dst; FONSfont* renderFont = font; if (isize < 2) return NULL; if (iblur > 20) iblur = 20; pad = iblur+2; // Reset allocator. stash->nscratch = 0; // Find code point and size. h = fons__hashint(codepoint) & (FONS_HASH_LUT_SIZE-1); i = font->lut[h]; while (i != -1) { if (font->glyphs[i].codepoint == codepoint && font->glyphs[i].size == isize && font->glyphs[i].blur == iblur) return &font->glyphs[i]; i = font->glyphs[i].next; } // Could not find glyph, create it. g = fons__tt_getGlyphIndex(&font->font, codepoint); // Try to find the glyph in fallback fonts. if (g == 0) { for (i = 0; i < font->nfallbacks; ++i) { FONSfont* fallbackFont = stash->fonts[font->fallbacks[i]]; int fallbackIndex = fons__tt_getGlyphIndex(&fallbackFont->font, codepoint); if (fallbackIndex != 0) { g = fallbackIndex; renderFont = fallbackFont; break; } } // It is possible that we did not find a fallback glyph. // In that case the glyph index 'g' is 0, and we'll proceed below and cache empty glyph. } scale = fons__tt_getPixelHeightScale(&renderFont->font, size); fons__tt_buildGlyphBitmap(&renderFont->font, g, size, scale, &advance, &lsb, &x0, &y0, &x1, &y1); gw = x1-x0 + pad*2; gh = y1-y0 + pad*2; // Find free spot for the rect in the atlas added = fons__atlasAddRect(stash->atlas, gw, gh, &gx, &gy); if (added == 0 && stash->handleError != NULL) { // Atlas is full, let the user to resize the atlas (or not), and try again. stash->handleError(stash->errorUptr, FONS_ATLAS_FULL, 0); added = fons__atlasAddRect(stash->atlas, gw, gh, &gx, &gy); } if (added == 0) return NULL; // Init glyph. glyph = fons__allocGlyph(font); glyph->codepoint = codepoint; glyph->size = isize; glyph->blur = iblur; glyph->index = g; glyph->x0 = (short)gx; glyph->y0 = (short)gy; glyph->x1 = (short)(glyph->x0+gw); glyph->y1 = (short)(glyph->y0+gh); glyph->xadv = (short)(scale * advance * 10.0f); glyph->xoff = (short)(x0 - pad); glyph->yoff = (short)(y0 - pad); glyph->next = 0; // Insert char to hash lookup. glyph->next = font->lut[h]; font->lut[h] = font->nglyphs-1; // Rasterize dst = &stash->texData[(glyph->x0+pad) + (glyph->y0+pad) * stash->params.width]; fons__tt_renderGlyphBitmap(&renderFont->font, dst, gw-pad*2,gh-pad*2, stash->params.width, scale,scale, g); // Make sure there is one pixel empty border. dst = &stash->texData[glyph->x0 + glyph->y0 * stash->params.width]; for (y = 0; y < gh; y++) { dst[y*stash->params.width] = 0; dst[gw-1 + y*stash->params.width] = 0; } for (x = 0; x < gw; x++) { dst[x] = 0; dst[x + (gh-1)*stash->params.width] = 0; } // Debug code to color the glyph background /* unsigned char* fdst = &stash->texData[glyph->x0 + glyph->y0 * stash->params.width]; for (y = 0; y < gh; y++) { for (x = 0; x < gw; x++) { int a = (int)fdst[x+y*stash->params.width] + 20; if (a > 255) a = 255; fdst[x+y*stash->params.width] = a; } }*/ // Blur if (iblur > 0) { stash->nscratch = 0; bdst = &stash->texData[glyph->x0 + glyph->y0 * stash->params.width]; fons__blur(stash, bdst, gw,gh, stash->params.width, iblur); } stash->dirtyRect[0] = fons__mini(stash->dirtyRect[0], glyph->x0); stash->dirtyRect[1] = fons__mini(stash->dirtyRect[1], glyph->y0); stash->dirtyRect[2] = fons__maxi(stash->dirtyRect[2], glyph->x1); stash->dirtyRect[3] = fons__maxi(stash->dirtyRect[3], glyph->y1); return glyph; } static void fons__getQuad(FONScontext* stash, FONSfont* font, int prevGlyphIndex, FONSglyph* glyph, float scale, float spacing, float* x, float* y, FONSquad* q) { float rx,ry,xoff,yoff,x0,y0,x1,y1; if (prevGlyphIndex != -1) { float adv = fons__tt_getGlyphKernAdvance(&font->font, prevGlyphIndex, glyph->index) * scale; *x += (int)(adv + spacing + 0.5f); } // Each glyph has 2px border to allow good interpolation, // one pixel to prevent leaking, and one to allow good interpolation for rendering. // Inset the texture region by one pixel for correct interpolation. xoff = (short)(glyph->xoff+1); yoff = (short)(glyph->yoff+1); x0 = (float)(glyph->x0+1); y0 = (float)(glyph->y0+1); x1 = (float)(glyph->x1-1); y1 = (float)(glyph->y1-1); if (stash->params.flags & FONS_ZERO_TOPLEFT) { rx = (float)(int)(*x + xoff); ry = (float)(int)(*y + yoff); q->x0 = rx; q->y0 = ry; q->x1 = rx + x1 - x0; q->y1 = ry + y1 - y0; q->s0 = x0 * stash->itw; q->t0 = y0 * stash->ith; q->s1 = x1 * stash->itw; q->t1 = y1 * stash->ith; } else { rx = (float)(int)(*x + xoff); ry = (float)(int)(*y - yoff); q->x0 = rx; q->y0 = ry; q->x1 = rx + x1 - x0; q->y1 = ry - y1 + y0; q->s0 = x0 * stash->itw; q->t0 = y0 * stash->ith; q->s1 = x1 * stash->itw; q->t1 = y1 * stash->ith; } *x += (int)(glyph->xadv / 10.0f + 0.5f); } static void fons__flush(FONScontext* stash) { // Flush texture if (stash->dirtyRect[0] < stash->dirtyRect[2] && stash->dirtyRect[1] < stash->dirtyRect[3]) { if (stash->params.renderUpdate != NULL) stash->params.renderUpdate(stash->params.userPtr, stash->dirtyRect, stash->texData); // Reset dirty rect stash->dirtyRect[0] = stash->params.width; stash->dirtyRect[1] = stash->params.height; stash->dirtyRect[2] = 0; stash->dirtyRect[3] = 0; } // Flush triangles if (stash->nverts > 0) { if (stash->params.renderDraw != NULL) stash->params.renderDraw(stash->params.userPtr, stash->verts, stash->tcoords, stash->colors, stash->nverts); stash->nverts = 0; } } static __inline void fons__vertex(FONScontext* stash, float x, float y, float s, float t, unsigned int c) { stash->verts[stash->nverts*2+0] = x; stash->verts[stash->nverts*2+1] = y; stash->tcoords[stash->nverts*2+0] = s; stash->tcoords[stash->nverts*2+1] = t; stash->colors[stash->nverts] = c; stash->nverts++; } static float fons__getVertAlign(FONScontext* stash, FONSfont* font, int align, short isize) { if (stash->params.flags & FONS_ZERO_TOPLEFT) { if (align & FONS_ALIGN_TOP) { return font->ascender * (float)isize/10.0f; } else if (align & FONS_ALIGN_MIDDLE) { return (font->ascender + font->descender) / 2.0f * (float)isize/10.0f; } else if (align & FONS_ALIGN_BASELINE) { return 0.0f; } else if (align & FONS_ALIGN_BOTTOM) { return font->descender * (float)isize/10.0f; } } else { if (align & FONS_ALIGN_TOP) { return -font->ascender * (float)isize/10.0f; } else if (align & FONS_ALIGN_MIDDLE) { return -(font->ascender + font->descender) / 2.0f * (float)isize/10.0f; } else if (align & FONS_ALIGN_BASELINE) { return 0.0f; } else if (align & FONS_ALIGN_BOTTOM) { return -font->descender * (float)isize/10.0f; } } return 0.0; } FONS_DEF float fonsDrawText(FONScontext* stash, float x, float y, const char* str, const char* end) { FONSstate* state = fons__getState(stash); unsigned int codepoint; unsigned int utf8state = 0; FONSglyph* glyph = NULL; FONSquad q; int prevGlyphIndex = -1; short isize = (short)(state->size*10.0f); short iblur = (short)state->blur; float scale; FONSfont* font; float width; if (stash == NULL) return x; if (state->font < 0 || state->font >= stash->nfonts) return x; font = stash->fonts[state->font]; if (font->data == NULL) return x; scale = fons__tt_getPixelHeightScale(&font->font, (float)isize/10.0f); if (end == NULL) end = str + strlen(str); // Align horizontally if (state->align & FONS_ALIGN_LEFT) { // empty } else if (state->align & FONS_ALIGN_RIGHT) { width = fonsTextBounds(stash, x,y, str, end, NULL); x -= width; } else if (state->align & FONS_ALIGN_CENTER) { width = fonsTextBounds(stash, x,y, str, end, NULL); x -= width * 0.5f; } // Align vertically. y += fons__getVertAlign(stash, font, state->align, isize); for (; str != end; ++str) { if (fons__decutf8(&utf8state, &codepoint, *(const unsigned char*)str)) continue; glyph = fons__getGlyph(stash, font, codepoint, isize, iblur); if (glyph != NULL) { fons__getQuad(stash, font, prevGlyphIndex, glyph, scale, state->spacing, &x, &y, &q); if (stash->nverts+6 > FONS_VERTEX_COUNT) fons__flush(stash); fons__vertex(stash, q.x0, q.y0, q.s0, q.t0, state->color); fons__vertex(stash, q.x1, q.y1, q.s1, q.t1, state->color); fons__vertex(stash, q.x1, q.y0, q.s1, q.t0, state->color); fons__vertex(stash, q.x0, q.y0, q.s0, q.t0, state->color); fons__vertex(stash, q.x0, q.y1, q.s0, q.t1, state->color); fons__vertex(stash, q.x1, q.y1, q.s1, q.t1, state->color); } prevGlyphIndex = glyph != NULL ? glyph->index : -1; } fons__flush(stash); return x; } FONS_DEF int fonsTextIterInit(FONScontext* stash, FONStextIter* iter, float x, float y, const char* str, const char* end) { FONSstate* state = fons__getState(stash); float width; memset(iter, 0, sizeof(*iter)); if (stash == NULL) return 0; if (state->font < 0 || state->font >= stash->nfonts) return 0; iter->font = stash->fonts[state->font]; if (iter->font->data == NULL) return 0; iter->isize = (short)(state->size*10.0f); iter->iblur = (short)state->blur; iter->scale = fons__tt_getPixelHeightScale(&iter->font->font, (float)iter->isize/10.0f); // Align horizontally if (state->align & FONS_ALIGN_LEFT) { // empty } else if (state->align & FONS_ALIGN_RIGHT) { width = fonsTextBounds(stash, x,y, str, end, NULL); x -= width; } else if (state->align & FONS_ALIGN_CENTER) { width = fonsTextBounds(stash, x,y, str, end, NULL); x -= width * 0.5f; } // Align vertically. y += fons__getVertAlign(stash, iter->font, state->align, iter->isize); if (end == NULL) end = str + strlen(str); iter->x = iter->nextx = x; iter->y = iter->nexty = y; iter->spacing = state->spacing; iter->str = str; iter->next = str; iter->end = end; iter->codepoint = 0; iter->prevGlyphIndex = -1; return 1; } FONS_DEF int fonsTextIterNext(FONScontext* stash, FONStextIter* iter, FONSquad* quad) { FONSglyph* glyph = NULL; const char* str = iter->next; iter->str = iter->next; if (str == iter->end) return 0; for (; str != iter->end; str++) { if (fons__decutf8(&iter->utf8state, &iter->codepoint, *(const unsigned char*)str)) continue; str++; // Get glyph and quad iter->x = iter->nextx; iter->y = iter->nexty; glyph = fons__getGlyph(stash, iter->font, iter->codepoint, iter->isize, iter->iblur); if (glyph != NULL) fons__getQuad(stash, iter->font, iter->prevGlyphIndex, glyph, iter->scale, iter->spacing, &iter->nextx, &iter->nexty, quad); iter->prevGlyphIndex = glyph != NULL ? glyph->index : -1; break; } iter->next = str; return 1; } FONS_DEF void fonsDrawDebug(FONScontext* stash, float x, float y) { int i; int w = stash->params.width; int h = stash->params.height; float u = w == 0 ? 0 : (1.0f / w); float v = h == 0 ? 0 : (1.0f / h); if (stash->nverts+6+6 > FONS_VERTEX_COUNT) fons__flush(stash); // Draw background fons__vertex(stash, x+0, y+0, u, v, 0x0fffffff); fons__vertex(stash, x+w, y+h, u, v, 0x0fffffff); fons__vertex(stash, x+w, y+0, u, v, 0x0fffffff); fons__vertex(stash, x+0, y+0, u, v, 0x0fffffff); fons__vertex(stash, x+0, y+h, u, v, 0x0fffffff); fons__vertex(stash, x+w, y+h, u, v, 0x0fffffff); // Draw texture fons__vertex(stash, x+0, y+0, 0, 0, 0xffffffff); fons__vertex(stash, x+w, y+h, 1, 1, 0xffffffff); fons__vertex(stash, x+w, y+0, 1, 0, 0xffffffff); fons__vertex(stash, x+0, y+0, 0, 0, 0xffffffff); fons__vertex(stash, x+0, y+h, 0, 1, 0xffffffff); fons__vertex(stash, x+w, y+h, 1, 1, 0xffffffff); // Drawbug draw atlas for (i = 0; i < stash->atlas->nnodes; i++) { FONSatlasNode* n = &stash->atlas->nodes[i]; if (stash->nverts+6 > FONS_VERTEX_COUNT) fons__flush(stash); fons__vertex(stash, x+n->x+0, y+n->y+0, u, v, 0xc00000ff); fons__vertex(stash, x+n->x+n->width, y+n->y+1, u, v, 0xc00000ff); fons__vertex(stash, x+n->x+n->width, y+n->y+0, u, v, 0xc00000ff); fons__vertex(stash, x+n->x+0, y+n->y+0, u, v, 0xc00000ff); fons__vertex(stash, x+n->x+0, y+n->y+1, u, v, 0xc00000ff); fons__vertex(stash, x+n->x+n->width, y+n->y+1, u, v, 0xc00000ff); } fons__flush(stash); } FONS_DEF float fonsTextBounds(FONScontext* stash, float x, float y, const char* str, const char* end, float* bounds) { FONSstate* state = fons__getState(stash); unsigned int codepoint; unsigned int utf8state = 0; FONSquad q; FONSglyph* glyph = NULL; int prevGlyphIndex = -1; short isize = (short)(state->size*10.0f); short iblur = (short)state->blur; float scale; FONSfont* font; float startx, advance; float minx, miny, maxx, maxy; if (stash == NULL) return 0; if (state->font < 0 || state->font >= stash->nfonts) return 0; font = stash->fonts[state->font]; if (font->data == NULL) return 0; scale = fons__tt_getPixelHeightScale(&font->font, (float)isize/10.0f); // Align vertically. y += fons__getVertAlign(stash, font, state->align, isize); minx = maxx = x; miny = maxy = y; startx = x; if (end == NULL) end = str + strlen(str); for (; str != end; ++str) { if (fons__decutf8(&utf8state, &codepoint, *(const unsigned char*)str)) continue; glyph = fons__getGlyph(stash, font, codepoint, isize, iblur); if (glyph != NULL) { fons__getQuad(stash, font, prevGlyphIndex, glyph, scale, state->spacing, &x, &y, &q); if (q.x0 < minx) minx = q.x0; if (q.x1 > maxx) maxx = q.x1; if (stash->params.flags & FONS_ZERO_TOPLEFT) { if (q.y0 < miny) miny = q.y0; if (q.y1 > maxy) maxy = q.y1; } else { if (q.y1 < miny) miny = q.y1; if (q.y0 > maxy) maxy = q.y0; } } prevGlyphIndex = glyph != NULL ? glyph->index : -1; } advance = x - startx; // Align horizontally if (state->align & FONS_ALIGN_LEFT) { // empty } else if (state->align & FONS_ALIGN_RIGHT) { minx -= advance; maxx -= advance; } else if (state->align & FONS_ALIGN_CENTER) { minx -= advance * 0.5f; maxx -= advance * 0.5f; } if (bounds) { bounds[0] = minx; bounds[1] = miny; bounds[2] = maxx; bounds[3] = maxy; } return advance; } FONS_DEF void fonsVertMetrics(FONScontext* stash, float* ascender, float* descender, float* lineh) { FONSfont* font; FONSstate* state = fons__getState(stash); short isize; if (stash == NULL) return; if (state->font < 0 || state->font >= stash->nfonts) return; font = stash->fonts[state->font]; isize = (short)(state->size*10.0f); if (font->data == NULL) return; if (ascender) *ascender = font->ascender*isize/10.0f; if (descender) *descender = font->descender*isize/10.0f; if (lineh) *lineh = font->lineh*isize/10.0f; } FONS_DEF void fonsLineBounds(FONScontext* stash, float y, float* miny, float* maxy) { FONSfont* font; FONSstate* state = fons__getState(stash); short isize; if (stash == NULL) return; if (state->font < 0 || state->font >= stash->nfonts) return; font = stash->fonts[state->font]; isize = (short)(state->size*10.0f); if (font->data == NULL) return; y += fons__getVertAlign(stash, font, state->align, isize); if (stash->params.flags & FONS_ZERO_TOPLEFT) { *miny = y - font->ascender * (float)isize/10.0f; *maxy = *miny + font->lineh*isize/10.0f; } else { *maxy = y + font->descender * (float)isize/10.0f; *miny = *maxy - font->lineh*isize/10.0f; } } FONS_DEF const unsigned char* fonsGetTextureData(FONScontext* stash, int* width, int* height) { if (width != NULL) *width = stash->params.width; if (height != NULL) *height = stash->params.height; return stash->texData; } FONS_DEF int fonsValidateTexture(FONScontext* stash, int* dirty) { if (stash->dirtyRect[0] < stash->dirtyRect[2] && stash->dirtyRect[1] < stash->dirtyRect[3]) { dirty[0] = stash->dirtyRect[0]; dirty[1] = stash->dirtyRect[1]; dirty[2] = stash->dirtyRect[2]; dirty[3] = stash->dirtyRect[3]; // Reset dirty rect stash->dirtyRect[0] = stash->params.width; stash->dirtyRect[1] = stash->params.height; stash->dirtyRect[2] = 0; stash->dirtyRect[3] = 0; return 1; } return 0; } FONS_DEF void fonsDeleteInternal(FONScontext* stash) { int i; if (stash == NULL) return; if (stash->params.renderDelete) stash->params.renderDelete(stash->params.userPtr); for (i = 0; i < stash->nfonts; ++i) fons__freeFont(stash->fonts[i]); if (stash->atlas) fons__deleteAtlas(stash->atlas); if (stash->fonts) free(stash->fonts); if (stash->texData) free(stash->texData); if (stash->scratch) free(stash->scratch); free(stash); } FONS_DEF void fonsSetErrorCallback(FONScontext* stash, void (*callback)(void* uptr, int error, int val), void* uptr) { if (stash == NULL) return; stash->handleError = callback; stash->errorUptr = uptr; } FONS_DEF void fonsGetAtlasSize(FONScontext* stash, int* width, int* height) { if (stash == NULL) return; *width = stash->params.width; *height = stash->params.height; } FONS_DEF int fonsExpandAtlas(FONScontext* stash, int width, int height) { int i, maxy = 0; unsigned char* data = NULL; if (stash == NULL) return 0; width = fons__maxi(width, stash->params.width); height = fons__maxi(height, stash->params.height); if (width == stash->params.width && height == stash->params.height) return 1; // Flush pending glyphs. fons__flush(stash); // Create new texture if (stash->params.renderResize != NULL) { if (stash->params.renderResize(stash->params.userPtr, width, height) == 0) return 0; } // Copy old texture data over. data = (unsigned char*)malloc(width * height); if (data == NULL) return 0; for (i = 0; i < stash->params.height; i++) { unsigned char* dst = &data[i*width]; unsigned char* src = &stash->texData[i*stash->params.width]; memcpy(dst, src, stash->params.width); if (width > stash->params.width) memset(dst+stash->params.width, 0, width - stash->params.width); } if (height > stash->params.height) memset(&data[stash->params.height * width], 0, (height - stash->params.height) * width); free(stash->texData); stash->texData = data; // Increase atlas size fons__atlasExpand(stash->atlas, width, height); // Add existing data as dirty. for (i = 0; i < stash->atlas->nnodes; i++) maxy = fons__maxi(maxy, stash->atlas->nodes[i].y); stash->dirtyRect[0] = 0; stash->dirtyRect[1] = 0; stash->dirtyRect[2] = stash->params.width; stash->dirtyRect[3] = maxy; stash->params.width = width; stash->params.height = height; stash->itw = 1.0f/stash->params.width; stash->ith = 1.0f/stash->params.height; return 1; } FONS_DEF int fonsResetAtlas(FONScontext* stash, int width, int height) { int i, j; if (stash == NULL) return 0; // Flush pending glyphs. fons__flush(stash); // Create new texture if (stash->params.renderResize != NULL) { if (stash->params.renderResize(stash->params.userPtr, width, height) == 0) return 0; } // Reset atlas fons__atlasReset(stash->atlas, width, height); // Clear texture data. stash->texData = (unsigned char*)realloc(stash->texData, width * height); if (stash->texData == NULL) return 0; memset(stash->texData, 0, width * height); // Reset dirty rect stash->dirtyRect[0] = width; stash->dirtyRect[1] = height; stash->dirtyRect[2] = 0; stash->dirtyRect[3] = 0; // Reset cached glyphs for (i = 0; i < stash->nfonts; i++) { FONSfont* font = stash->fonts[i]; font->nglyphs = 0; for (j = 0; j < FONS_HASH_LUT_SIZE; j++) font->lut[j] = -1; } stash->params.width = width; stash->params.height = height; stash->itw = 1.0f/stash->params.width; stash->ith = 1.0f/stash->params.height; // Add white rect at 0,0 for debug drawing. fons__addWhiteRect(stash, 2,2); return 1; } #endif // FONTSTASH_IMPLEMENTATION
0
repos/sokol/tests
repos/sokol/tests/ext/nuklear.c
// include nuklear.h before the sokol_nuklear.h implementation #define NK_INCLUDE_FIXED_TYPES #define NK_INCLUDE_STANDARD_IO #define NK_INCLUDE_DEFAULT_ALLOCATOR #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT #define NK_INCLUDE_FONT_BAKING #define NK_INCLUDE_DEFAULT_FONT #define NK_INCLUDE_STANDARD_VARARGS #define NK_IMPLEMENTATION #if defined(__clang__) #pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wnull-pointer-subtraction" #pragma GCC diagnostic ignored "-Wunused-but-set-variable" #endif #if defined(__GNUC__) && !defined(__clang__) #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #pragma GCC diagnostic ignored "-Wsign-conversion" #pragma GCC diagnostic ignored "-Wunused-parameter" #endif #if defined(_MSC_VER) #pragma warning(push) #pragma warning(disable:4996) // sprintf,fopen,localtime: This function or variable may be unsafe #pragma warning(disable:4127) // conditional expression is constant #pragma warning(disable:4100) // unreferenced formal parameter #pragma warning(disable:4701) // potentially uninitialized local variable used #endif #include "nuklear.h" #if defined(_MSC_VER) #pragma warning(pop) #endif
0
repos/sokol/tests
repos/sokol/tests/ext/stb_truetype.h
// stb_truetype.h - v1.16 - public domain // authored from 2009-2016 by Sean Barrett / RAD Game Tools // // This library processes TrueType files: // parse files // extract glyph metrics // extract glyph shapes // render glyphs to one-channel bitmaps with antialiasing (box filter) // render glyphs to one-channel SDF bitmaps (signed-distance field/function) // // Todo: // non-MS cmaps // crashproof on bad data // hinting? (no longer patented) // cleartype-style AA? // optimize: use simple memory allocator for intermediates // optimize: build edge-list directly from curves // optimize: rasterize directly from curves? // // ADDITIONAL CONTRIBUTORS // // Mikko Mononen: compound shape support, more cmap formats // Tor Andersson: kerning, subpixel rendering // Dougall Johnson: OpenType / Type 2 font handling // // Misc other: // Ryan Gordon // Simon Glass // github:IntellectualKitty // // Bug/warning reports/fixes: // "Zer" on mollyrocket // Cass Everitt // stoiko (Haemimont Games) // Brian Hook // Walter van Niftrik // David Gow // David Given // Ivan-Assen Ivanov // Anthony Pesch // Johan Duparc // Hou Qiming // Fabian "ryg" Giesen // Martins Mozeiko // Cap Petschulat // Omar Cornut // github:aloucks // Peter LaValle // Sergey Popov // Giumo X. Clanjor // Higor Euripedes // Thomas Fields // Derek Vinyard // Cort Stratton // // VERSION HISTORY // // 1.16 (2017-07-12) SDF support // 1.15 (2017-03-03) make more arguments const // 1.14 (2017-01-16) num-fonts-in-TTC function // 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts // 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual // 1.11 (2016-04-02) fix unused-variable warning // 1.10 (2016-04-02) user-defined fabs(); rare memory leak; remove duplicate typedef // 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use allocation userdata properly // 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges // 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; // variant PackFontRanges to pack and render in separate phases; // fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); // fixed an assert() bug in the new rasterizer // replace assert() with STBTT_assert() in new rasterizer // // Full history can be found at the end of this file. // // LICENSE // // See end of file for license information. // // USAGE // // Include this file in whatever places neeed to refer to it. In ONE C/C++ // file, write: // #define STB_TRUETYPE_IMPLEMENTATION // before the #include of this file. This expands out the actual // implementation into that C/C++ file. // // To make the implementation private to the file that generates the implementation, // #define STBTT_STATIC // // Simple 3D API (don't ship this, but it's fine for tools and quick start) // stbtt_BakeFontBitmap() -- bake a font to a bitmap for use as texture // stbtt_GetBakedQuad() -- compute quad to draw for a given char // // Improved 3D API (more shippable): // #include "stb_rect_pack.h" -- optional, but you really want it // stbtt_PackBegin() // stbtt_PackSetOversample() -- for improved quality on small fonts // stbtt_PackFontRanges() -- pack and renders // stbtt_PackEnd() // stbtt_GetPackedQuad() // // "Load" a font file from a memory buffer (you have to keep the buffer loaded) // stbtt_InitFont() // stbtt_GetFontOffsetForIndex() -- indexing for TTC font collections // stbtt_GetNumberOfFonts() -- number of fonts for TTC font collections // // Render a unicode codepoint to a bitmap // stbtt_GetCodepointBitmap() -- allocates and returns a bitmap // stbtt_MakeCodepointBitmap() -- renders into bitmap you provide // stbtt_GetCodepointBitmapBox() -- how big the bitmap must be // // Character advance/positioning // stbtt_GetCodepointHMetrics() // stbtt_GetFontVMetrics() // stbtt_GetCodepointKernAdvance() // // Starting with version 1.06, the rasterizer was replaced with a new, // faster and generally-more-precise rasterizer. The new rasterizer more // accurately measures pixel coverage for anti-aliasing, except in the case // where multiple shapes overlap, in which case it overestimates the AA pixel // coverage. Thus, anti-aliasing of intersecting shapes may look wrong. If // this turns out to be a problem, you can re-enable the old rasterizer with // #define STBTT_RASTERIZER_VERSION 1 // which will incur about a 15% speed hit. // // ADDITIONAL DOCUMENTATION // // Immediately after this block comment are a series of sample programs. // // After the sample programs is the "header file" section. This section // includes documentation for each API function. // // Some important concepts to understand to use this library: // // Codepoint // Characters are defined by unicode codepoints, e.g. 65 is // uppercase A, 231 is lowercase c with a cedilla, 0x7e30 is // the hiragana for "ma". // // Glyph // A visual character shape (every codepoint is rendered as // some glyph) // // Glyph index // A font-specific integer ID representing a glyph // // Baseline // Glyph shapes are defined relative to a baseline, which is the // bottom of uppercase characters. Characters extend both above // and below the baseline. // // Current Point // As you draw text to the screen, you keep track of a "current point" // which is the origin of each character. The current point's vertical // position is the baseline. Even "baked fonts" use this model. // // Vertical Font Metrics // The vertical qualities of the font, used to vertically position // and space the characters. See docs for stbtt_GetFontVMetrics. // // Font Size in Pixels or Points // The preferred interface for specifying font sizes in stb_truetype // is to specify how tall the font's vertical extent should be in pixels. // If that sounds good enough, skip the next paragraph. // // Most font APIs instead use "points", which are a common typographic // measurement for describing font size, defined as 72 points per inch. // stb_truetype provides a point API for compatibility. However, true // "per inch" conventions don't make much sense on computer displays // since they different monitors have different number of pixels per // inch. For example, Windows traditionally uses a convention that // there are 96 pixels per inch, thus making 'inch' measurements have // nothing to do with inches, and thus effectively defining a point to // be 1.333 pixels. Additionally, the TrueType font data provides // an explicit scale factor to scale a given font's glyphs to points, // but the author has observed that this scale factor is often wrong // for non-commercial fonts, thus making fonts scaled in points // according to the TrueType spec incoherently sized in practice. // // ADVANCED USAGE // // Quality: // // - Use the functions with Subpixel at the end to allow your characters // to have subpixel positioning. Since the font is anti-aliased, not // hinted, this is very import for quality. (This is not possible with // baked fonts.) // // - Kerning is now supported, and if you're supporting subpixel rendering // then kerning is worth using to give your text a polished look. // // Performance: // // - Convert Unicode codepoints to glyph indexes and operate on the glyphs; // if you don't do this, stb_truetype is forced to do the conversion on // every call. // // - There are a lot of memory allocations. We should modify it to take // a temp buffer and allocate from the temp buffer (without freeing), // should help performance a lot. // // NOTES // // The system uses the raw data found in the .ttf file without changing it // and without building auxiliary data structures. This is a bit inefficient // on little-endian systems (the data is big-endian), but assuming you're // caching the bitmaps or glyph shapes this shouldn't be a big deal. // // It appears to be very hard to programmatically determine what font a // given file is in a general way. I provide an API for this, but I don't // recommend it. // // // SOURCE STATISTICS (based on v0.6c, 2050 LOC) // // Documentation & header file 520 LOC \___ 660 LOC documentation // Sample code 140 LOC / // Truetype parsing 620 LOC ---- 620 LOC TrueType // Software rasterization 240 LOC \ . // Curve tesselation 120 LOC \__ 550 LOC Bitmap creation // Bitmap management 100 LOC / // Baked bitmap interface 70 LOC / // Font name matching & access 150 LOC ---- 150 // C runtime library abstraction 60 LOC ---- 60 // // // PERFORMANCE MEASUREMENTS FOR 1.06: // // 32-bit 64-bit // Previous release: 8.83 s 7.68 s // Pool allocations: 7.72 s 6.34 s // Inline sort : 6.54 s 5.65 s // New rasterizer : 5.63 s 5.00 s ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //// //// SAMPLE PROGRAMS //// // // Incomplete text-in-3d-api example, which draws quads properly aligned to be lossless // #if 0 #define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation #include "stb_truetype.h" unsigned char ttf_buffer[1<<20]; unsigned char temp_bitmap[512*512]; stbtt_bakedchar cdata[96]; // ASCII 32..126 is 95 glyphs GLuint ftex; void my_stbtt_initfont(void) { fread(ttf_buffer, 1, 1<<20, fopen("c:/windows/fonts/times.ttf", "rb")); stbtt_BakeFontBitmap(ttf_buffer,0, 32.0, temp_bitmap,512,512, 32,96, cdata); // no guarantee this fits! // can free ttf_buffer at this point glGenTextures(1, &ftex); glBindTexture(GL_TEXTURE_2D, ftex); glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, 512,512, 0, GL_ALPHA, GL_UNSIGNED_BYTE, temp_bitmap); // can free temp_bitmap at this point glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); } void my_stbtt_print(float x, float y, char *text) { // assume orthographic projection with units = screen pixels, origin at top left glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, ftex); glBegin(GL_QUADS); while (*text) { if (*text >= 32 && *text < 128) { stbtt_aligned_quad q; stbtt_GetBakedQuad(cdata, 512,512, *text-32, &x,&y,&q,1);//1=opengl & d3d10+,0=d3d9 glTexCoord2f(q.s0,q.t1); glVertex2f(q.x0,q.y0); glTexCoord2f(q.s1,q.t1); glVertex2f(q.x1,q.y0); glTexCoord2f(q.s1,q.t0); glVertex2f(q.x1,q.y1); glTexCoord2f(q.s0,q.t0); glVertex2f(q.x0,q.y1); } ++text; } glEnd(); } #endif // // ////////////////////////////////////////////////////////////////////////////// // // Complete program (this compiles): get a single bitmap, print as ASCII art // #if 0 #include <stdio.h> #define STB_TRUETYPE_IMPLEMENTATION // force following include to generate implementation #include "stb_truetype.h" char ttf_buffer[1<<25]; int main(int argc, char **argv) { stbtt_fontinfo font; unsigned char *bitmap; int w,h,i,j,c = (argc > 1 ? atoi(argv[1]) : 'a'), s = (argc > 2 ? atoi(argv[2]) : 20); fread(ttf_buffer, 1, 1<<25, fopen(argc > 3 ? argv[3] : "c:/windows/fonts/arialbd.ttf", "rb")); stbtt_InitFont(&font, ttf_buffer, stbtt_GetFontOffsetForIndex(ttf_buffer,0)); bitmap = stbtt_GetCodepointBitmap(&font, 0,stbtt_ScaleForPixelHeight(&font, s), c, &w, &h, 0,0); for (j=0; j < h; ++j) { for (i=0; i < w; ++i) putchar(" .:ioVM@"[bitmap[j*w+i]>>5]); putchar('\n'); } return 0; } #endif // // Output: // // .ii. // @@@@@@. // V@Mio@@o // :i. V@V // :oM@@M // :@@@MM@M // @@o o@M // :@@. M@M // @@@o@@@@ // :M@@V:@@. // ////////////////////////////////////////////////////////////////////////////// // // Complete program: print "Hello World!" banner, with bugs // #if 0 char buffer[24<<20]; unsigned char screen[20][79]; int main(int arg, char **argv) { stbtt_fontinfo font; int i,j,ascent,baseline,ch=0; float scale, xpos=2; // leave a little padding in case the character extends left char *text = "Heljo World!"; // intentionally misspelled to show 'lj' brokenness fread(buffer, 1, 1000000, fopen("c:/windows/fonts/arialbd.ttf", "rb")); stbtt_InitFont(&font, buffer, 0); scale = stbtt_ScaleForPixelHeight(&font, 15); stbtt_GetFontVMetrics(&font, &ascent,0,0); baseline = (int) (ascent*scale); while (text[ch]) { int advance,lsb,x0,y0,x1,y1; float x_shift = xpos - (float) floor(xpos); stbtt_GetCodepointHMetrics(&font, text[ch], &advance, &lsb); stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1); stbtt_MakeCodepointBitmapSubpixel(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]); // note that this stomps the old data, so where character boxes overlap (e.g. 'lj') it's wrong // because this API is really for baking character bitmaps into textures. if you want to render // a sequence of characters, you really need to render each bitmap to a temp buffer, then // "alpha blend" that into the working buffer xpos += (advance * scale); if (text[ch+1]) xpos += scale*stbtt_GetCodepointKernAdvance(&font, text[ch],text[ch+1]); ++ch; } for (j=0; j < 20; ++j) { for (i=0; i < 78; ++i) putchar(" .:ioVM@"[screen[j][i]>>5]); putchar('\n'); } return 0; } #endif ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //// //// INTEGRATION WITH YOUR CODEBASE //// //// The following sections allow you to supply alternate definitions //// of C library functions used by stb_truetype. #ifdef STB_TRUETYPE_IMPLEMENTATION // #define your own (u)stbtt_int8/16/32 before including to override this #ifndef stbtt_uint8 typedef unsigned char stbtt_uint8; typedef signed char stbtt_int8; typedef unsigned short stbtt_uint16; typedef signed short stbtt_int16; typedef unsigned int stbtt_uint32; typedef signed int stbtt_int32; #endif typedef char stbtt__check_size32[sizeof(stbtt_int32)==4 ? 1 : -1]; typedef char stbtt__check_size16[sizeof(stbtt_int16)==2 ? 1 : -1]; // #define your own STBTT_ifloor/STBTT_iceil() to avoid math.h #ifndef STBTT_ifloor #include <math.h> #define STBTT_ifloor(x) ((int) floor(x)) #define STBTT_iceil(x) ((int) ceil(x)) #endif #ifndef STBTT_sqrt #include <math.h> #define STBTT_sqrt(x) sqrt(x) #define STBTT_pow(x,y) pow(x,y) #endif #ifndef STBTT_cos #include <math.h> #define STBTT_cos(x) cos(x) #define STBTT_acos(x) acos(x) #endif #ifndef STBTT_fabs #include <math.h> #define STBTT_fabs(x) fabs(x) #endif #ifndef STBTT_fabs #include <math.h> #define STBTT_fabs(x) fabs(x) #endif // #define your own functions "STBTT_malloc" / "STBTT_free" to avoid malloc.h #ifndef STBTT_malloc #include <stdlib.h> #define STBTT_malloc(x,u) ((void)(u),malloc(x)) #define STBTT_free(x,u) ((void)(u),free(x)) #endif #ifndef STBTT_assert #include <assert.h> #define STBTT_assert(x) assert(x) #endif #ifndef STBTT_strlen #include <string.h> #define STBTT_strlen(x) strlen(x) #endif #ifndef STBTT_memcpy #include <string.h> #define STBTT_memcpy memcpy #define STBTT_memset memset #endif #endif /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// //// //// INTERFACE //// //// #ifndef __STB_INCLUDE_STB_TRUETYPE_H__ #define __STB_INCLUDE_STB_TRUETYPE_H__ #ifdef STBTT_STATIC #define STBTT_DEF static #else #define STBTT_DEF extern #endif #ifdef __cplusplus extern "C" { #endif // private structure typedef struct { unsigned char *data; int cursor; int size; } stbtt__buf; ////////////////////////////////////////////////////////////////////////////// // // TEXTURE BAKING API // // If you use this API, you only have to call two functions ever. // typedef struct { unsigned short x0,y0,x1,y1; // coordinates of bbox in bitmap float xoff,yoff,xadvance; } stbtt_bakedchar; STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, // font location (use offset=0 for plain .ttf) float pixel_height, // height of font in pixels unsigned char *pixels, int pw, int ph, // bitmap to be filled in int first_char, int num_chars, // characters to bake stbtt_bakedchar *chardata); // you allocate this, it's num_chars long // if return is positive, the first unused row of the bitmap // if return is negative, returns the negative of the number of characters that fit // if return is 0, no characters fit and no rows were used // This uses a very crappy packing. typedef struct { float x0,y0,s0,t0; // top-left float x1,y1,s1,t1; // bottom-right } stbtt_aligned_quad; STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, // same data as above int char_index, // character to display float *xpos, float *ypos, // pointers to current position in screen pixel space stbtt_aligned_quad *q, // output: quad to draw int opengl_fillrule); // true if opengl fill rule; false if DX9 or earlier // Call GetBakedQuad with char_index = 'character - first_char', and it // creates the quad you need to draw and advances the current position. // // The coordinate system used assumes y increases downwards. // // Characters will extend both above and below the current position; // see discussion of "BASELINE" above. // // It's inefficient; you might want to c&p it and optimize it. ////////////////////////////////////////////////////////////////////////////// // // NEW TEXTURE BAKING API // // This provides options for packing multiple fonts into one atlas, not // perfectly but better than nothing. typedef struct { unsigned short x0,y0,x1,y1; // coordinates of bbox in bitmap float xoff,yoff,xadvance; float xoff2,yoff2; } stbtt_packedchar; typedef struct stbtt_pack_context stbtt_pack_context; typedef struct stbtt_fontinfo stbtt_fontinfo; #ifndef STB_RECT_PACK_VERSION typedef struct stbrp_rect stbrp_rect; #endif STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int width, int height, int stride_in_bytes, int padding, void *alloc_context); // Initializes a packing context stored in the passed-in stbtt_pack_context. // Future calls using this context will pack characters into the bitmap passed // in here: a 1-channel bitmap that is width * height. stride_in_bytes is // the distance from one row to the next (or 0 to mean they are packed tightly // together). "padding" is the amount of padding to leave between each // character (normally you want '1' for bitmaps you'll use as textures with // bilinear filtering). // // Returns 0 on failure, 1 on success. STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc); // Cleans up the packing context and frees all memory. #define STBTT_POINT_SIZE(x) (-(x)) STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, unsigned char *fontdata, int font_index, float font_size, int first_unicode_char_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range); // Creates character bitmaps from the font_index'th font found in fontdata (use // font_index=0 if you don't know what that is). It creates num_chars_in_range // bitmaps for characters with unicode values starting at first_unicode_char_in_range // and increasing. Data for how to render them is stored in chardata_for_range; // pass these to stbtt_GetPackedQuad to get back renderable quads. // // font_size is the full height of the character from ascender to descender, // as computed by stbtt_ScaleForPixelHeight. To use a point size as computed // by stbtt_ScaleForMappingEmToPixels, wrap the point size in STBTT_POINT_SIZE() // and pass that result as 'font_size': // ..., 20 , ... // font max minus min y is 20 pixels tall // ..., STBTT_POINT_SIZE(20), ... // 'M' is 20 pixels tall typedef struct { float font_size; int first_unicode_codepoint_in_range; // if non-zero, then the chars are continuous, and this is the first codepoint int *array_of_unicode_codepoints; // if non-zero, then this is an array of unicode codepoints int num_chars; stbtt_packedchar *chardata_for_range; // output unsigned char h_oversample, v_oversample; // don't set these, they're used internally } stbtt_pack_range; STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges); // Creates character bitmaps from multiple ranges of characters stored in // ranges. This will usually create a better-packed bitmap than multiple // calls to stbtt_PackFontRange. Note that you can call this multiple // times within a single PackBegin/PackEnd. STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample); // Oversampling a font increases the quality by allowing higher-quality subpixel // positioning, and is especially valuable at smaller text sizes. // // This function sets the amount of oversampling for all following calls to // stbtt_PackFontRange(s) or stbtt_PackFontRangesGatherRects for a given // pack context. The default (no oversampling) is achieved by h_oversample=1 // and v_oversample=1. The total number of pixels required is // h_oversample*v_oversample larger than the default; for example, 2x2 // oversampling requires 4x the storage of 1x1. For best results, render // oversampled textures with bilinear filtering. Look at the readme in // stb/tests/oversample for information about oversampled fonts // // To use with PackFontRangesGather etc., you must set it before calls // call to PackFontRangesGatherRects. STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, // same data as above int char_index, // character to display float *xpos, float *ypos, // pointers to current position in screen pixel space stbtt_aligned_quad *q, // output: quad to draw int align_to_integer); STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects); STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects); // Calling these functions in sequence is roughly equivalent to calling // stbtt_PackFontRanges(). If you more control over the packing of multiple // fonts, or if you want to pack custom data into a font texture, take a look // at the source to of stbtt_PackFontRanges() and create a custom version // using these functions, e.g. call GatherRects multiple times, // building up a single array of rects, then call PackRects once, // then call RenderIntoRects repeatedly. This may result in a // better packing than calling PackFontRanges multiple times // (or it may not). // this is an opaque structure that you shouldn't mess with which holds // all the context needed from PackBegin to PackEnd. struct stbtt_pack_context { void *user_allocator_context; void *pack_info; int width; int height; int stride_in_bytes; int padding; unsigned int h_oversample, v_oversample; unsigned char *pixels; void *nodes; }; ////////////////////////////////////////////////////////////////////////////// // // FONT LOADING // // STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data); // This function will determine the number of fonts in a font file. TrueType // collection (.ttc) files may contain multiple fonts, while TrueType font // (.ttf) files only contain one font. The number of fonts can be used for // indexing with the previous function where the index is between zero and one // less than the total fonts. If an error occurs, -1 is returned. STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index); // Each .ttf/.ttc file may have more than one font. Each font has a sequential // index number starting from 0. Call this function to get the font offset for // a given index; it returns -1 if the index is out of range. A regular .ttf // file will only define one font and it always be at offset 0, so it will // return '0' for index 0, and -1 for all other indices. // The following structure is defined publically so you can declare one on // the stack or as a global or etc, but you should treat it as opaque. struct stbtt_fontinfo { void * userdata; unsigned char * data; // pointer to .ttf file int fontstart; // offset of start of font int numGlyphs; // number of glyphs, needed for range checking int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf int index_map; // a cmap mapping for our chosen character encoding int indexToLocFormat; // format needed to map from glyph index to glyph stbtt__buf cff; // cff font data stbtt__buf charstrings; // the charstring index stbtt__buf gsubrs; // global charstring subroutines index stbtt__buf subrs; // private charstring subroutines index stbtt__buf fontdicts; // array of font dicts stbtt__buf fdselect; // map from glyph to fontdict }; STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset); // Given an offset into the file that defines a font, this function builds // the necessary cached info for the rest of the system. You must allocate // the stbtt_fontinfo yourself, and stbtt_InitFont will fill it out. You don't // need to do anything special to free it, because the contents are pure // value data with no additional data structures. Returns 0 on failure. ////////////////////////////////////////////////////////////////////////////// // // CHARACTER TO GLYPH-INDEX CONVERSIOn STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint); // If you're going to perform multiple operations on the same character // and you want a speed-up, call this function with the character you're // going to process, then use glyph-based functions instead of the // codepoint-based functions. ////////////////////////////////////////////////////////////////////////////// // // CHARACTER PROPERTIES // STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float pixels); // computes a scale factor to produce a font whose "height" is 'pixels' tall. // Height is measured as the distance from the highest ascender to the lowest // descender; in other words, it's equivalent to calling stbtt_GetFontVMetrics // and computing: // scale = pixels / (ascent - descent) // so if you prefer to measure height by the ascent only, use a similar calculation. STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels); // computes a scale factor to produce a font whose EM size is mapped to // 'pixels' tall. This is probably what traditional APIs compute, but // I'm not positive. STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap); // ascent is the coordinate above the baseline the font extends; descent // is the coordinate below the baseline the font extends (i.e. it is typically negative) // lineGap is the spacing between one row's descent and the next row's ascent... // so you should advance the vertical position by "*ascent - *descent + *lineGap" // these are expressed in unscaled coordinates, so you must multiply by // the scale factor for a given size STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1); // the bounding box around all possible characters STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing); // leftSideBearing is the offset from the current horizontal position to the left edge of the character // advanceWidth is the offset from the current horizontal position to the next horizontal position // these are expressed in unscaled coordinates STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2); // an additional amount to add to the 'advance' value between ch1 and ch2 STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1); // Gets the bounding box of the visible part of the glyph, in unscaled coordinates STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing); STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2); STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); // as above, but takes one or more glyph indices for greater efficiency ////////////////////////////////////////////////////////////////////////////// // // GLYPH SHAPES (you probably don't need these, but they have to go before // the bitmaps for C declaration-order reasons) // #ifndef STBTT_vmove // you can predefine these to use different values (but why?) enum { STBTT_vmove=1, STBTT_vline, STBTT_vcurve, STBTT_vcubic }; #endif #ifndef stbtt_vertex // you can predefine this to use different values // (we share this with other code at RAD) #define stbtt_vertex_type short // can't use stbtt_int16 because that's not visible in the header file typedef struct { stbtt_vertex_type x,y,cx,cy,cx1,cy1; unsigned char type,padding; } stbtt_vertex; #endif STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index); // returns non-zero if nothing is drawn for this glyph STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices); STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **vertices); // returns # of vertices and fills *vertices with the pointer to them // these are expressed in "unscaled" coordinates // // The shape is a series of countours. Each one starts with // a STBTT_moveto, then consists of a series of mixed // STBTT_lineto and STBTT_curveto segments. A lineto // draws a line from previous endpoint to its x,y; a curveto // draws a quadratic bezier from previous endpoint to // its x,y, using cx,cy as the bezier control point. STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *vertices); // frees the data allocated above ////////////////////////////////////////////////////////////////////////////// // // BITMAP RENDERING // STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata); // frees the bitmap allocated below STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff); // allocates a large-enough single-channel 8bpp bitmap and renders the // specified character/glyph at the specified scale into it, with // antialiasing. 0 is no coverage (transparent), 255 is fully covered (opaque). // *width & *height are filled out with the width & height of the bitmap, // which is stored left-to-right, top-to-bottom. // // xoff/yoff are the offset it pixel space from the glyph origin to the top-left of the bitmap STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff); // the same as stbtt_GetCodepoitnBitmap, but you can specify a subpixel // shift for the character STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint); // the same as stbtt_GetCodepointBitmap, but you pass in storage for the bitmap // in the form of 'output', with row spacing of 'out_stride' bytes. the bitmap // is clipped to out_w/out_h bytes. Call stbtt_GetCodepointBitmapBox to get the // width and height and positioning info for it first. STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint); // same as stbtt_MakeCodepointBitmap, but you can specify a subpixel // shift for the character // NOTE sokol-samples: declared static but never defined: T_DEF void stbtt_MakeCodepointBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int codepoint); // same as stbtt_MakeCodepointBitmapSubpixel, but prefiltering // is performed (see stbtt_PackSetOversampling) STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); // get the bbox of the bitmap centered around the glyph origin; so the // bitmap width is ix1-ix0, height is iy1-iy0, and location to place // the bitmap top left is (leftSideBearing*scale,iy0). // (Note that the bitmap uses y-increases-down, but the shape uses // y-increases-up, so CodepointBitmapBox and CodepointBox are inverted.) STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); // same as stbtt_GetCodepointBitmapBox, but you can specify a subpixel // shift for the character // the following functions are equivalent to the above functions, but operate // on glyph indices instead of Unicode codepoints (for efficiency) STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff); STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff); STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph); STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph); STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int oversample_x, int oversample_y, float *sub_x, float *sub_y, int glyph); STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1); STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1); // @TODO: don't expose this structure typedef struct { int w,h,stride; unsigned char *pixels; } stbtt__bitmap; // rasterize a shape with quadratic beziers into a bitmap STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, // 1-channel bitmap to draw into float flatness_in_pixels, // allowable error of curve in pixels stbtt_vertex *vertices, // array of vertices defining shape int num_verts, // number of vertices in above array float scale_x, float scale_y, // scale applied to input vertices float shift_x, float shift_y, // translation applied to input vertices int x_off, int y_off, // another translation applied to input int invert, // if non-zero, vertically flip shape void *userdata); // context for to STBTT_MALLOC ////////////////////////////////////////////////////////////////////////////// // // Signed Distance Function (or Field) rendering STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata); // frees the SDF bitmap allocated below STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff); // These functions compute a discretized SDF field for a single character, suitable for storing // in a single-channel texture, sampling with bilinear filtering, and testing against // larger than some threshhold to produce scalable fonts. // info -- the font // scale -- controls the size of the resulting SDF bitmap, same as it would be creating a regular bitmap // glyph/codepoint -- the character to generate the SDF for // padding -- extra "pixels" around the character which are filled with the distance to the character (not 0), // which allows effects like bit outlines // onedge_value -- value 0-255 to test the SDF against to reconstruct the character (i.e. the isocontour of the character) // pixel_dist_scale -- what value the SDF should increase by when moving one SDF "pixel" away from the edge (on the 0..255 scale) // if positive, > onedge_value is inside; if negative, < onedge_value is inside // width,height -- output height & width of the SDF bitmap (including padding) // xoff,yoff -- output origin of the character // return value -- a 2D array of bytes 0..255, width*height in size // // pixel_dist_scale & onedge_value are a scale & bias that allows you to make // optimal use of the limited 0..255 for your application, trading off precision // and special effects. SDF values outside the range 0..255 are clamped to 0..255. // // Example: // scale = stbtt_ScaleForPixelHeight(22) // padding = 5 // onedge_value = 180 // pixel_dist_scale = 180/5.0 = 36.0 // // This will create an SDF bitmap in which the character is about 22 pixels // high but the whole bitmap is about 22+5+5=32 pixels high. To produce a filled // shape, sample the SDF at each pixel and fill the pixel if the SDF value // is greater than or equal to 180/255. (You'll actually want to antialias, // which is beyond the scope of this example.) Additionally, you can compute // offset outlines (e.g. to stroke the character border inside & outside, // or only outside). For example, to fill outside the character up to 3 SDF // pixels, you would compare against (180-36.0*3)/255 = 72/255. The above // choice of variables maps a range from 5 pixels outside the shape to // 2 pixels inside the shape to 0..255; this is intended primarily for apply // outside effects only (the interior range is needed to allow proper // antialiasing of the font at *smaller* sizes) // // The function computes the SDF analytically at each SDF pixel, not by e.g. // building a higher-res bitmap and approximating it. In theory the quality // should be as high as possible for an SDF of this size & representation, but // unclear if this is true in practice (perhaps building a higher-res bitmap // and computing from that can allow drop-out prevention). // // The algorithm has not been optimized at all, so expect it to be slow // if computing lots of characters or very large sizes. ////////////////////////////////////////////////////////////////////////////// // // Finding the right font... // // You should really just solve this offline, keep your own tables // of what font is what, and don't try to get it out of the .ttf file. // That's because getting it out of the .ttf file is really hard, because // the names in the file can appear in many possible encodings, in many // possible languages, and e.g. if you need a case-insensitive comparison, // the details of that depend on the encoding & language in a complex way // (actually underspecified in truetype, but also gigantic). // // But you can use the provided functions in two possible ways: // stbtt_FindMatchingFont() will use *case-sensitive* comparisons on // unicode-encoded names to try to find the font you want; // you can run this before calling stbtt_InitFont() // // stbtt_GetFontNameString() lets you get any of the various strings // from the file yourself and do your own comparisons on them. // You have to have called stbtt_InitFont() first. STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags); // returns the offset (not index) of the font that matches, or -1 if none // if you use STBTT_MACSTYLE_DONTCARE, use a font name like "Arial Bold". // if you use any other flag, use a font name like "Arial"; this checks // the 'macStyle' header field; i don't know if fonts set this consistently #define STBTT_MACSTYLE_DONTCARE 0 #define STBTT_MACSTYLE_BOLD 1 #define STBTT_MACSTYLE_ITALIC 2 #define STBTT_MACSTYLE_UNDERSCORE 4 #define STBTT_MACSTYLE_NONE 8 // <= not same as 0, this makes us check the bitfield is 0 STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2); // returns 1/0 whether the first string interpreted as utf8 is identical to // the second string interpreted as big-endian utf16... useful for strings from next func STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID); // returns the string (which may be big-endian double byte, e.g. for unicode) // and puts the length in bytes in *length. // // some of the values for the IDs are below; for more see the truetype spec: // http://developer.apple.com/textfonts/TTRefMan/RM06/Chap6name.html // http://www.microsoft.com/typography/otspec/name.htm enum { // platformID STBTT_PLATFORM_ID_UNICODE =0, STBTT_PLATFORM_ID_MAC =1, STBTT_PLATFORM_ID_ISO =2, STBTT_PLATFORM_ID_MICROSOFT =3 }; enum { // encodingID for STBTT_PLATFORM_ID_UNICODE STBTT_UNICODE_EID_UNICODE_1_0 =0, STBTT_UNICODE_EID_UNICODE_1_1 =1, STBTT_UNICODE_EID_ISO_10646 =2, STBTT_UNICODE_EID_UNICODE_2_0_BMP=3, STBTT_UNICODE_EID_UNICODE_2_0_FULL=4 }; enum { // encodingID for STBTT_PLATFORM_ID_MICROSOFT STBTT_MS_EID_SYMBOL =0, STBTT_MS_EID_UNICODE_BMP =1, STBTT_MS_EID_SHIFTJIS =2, STBTT_MS_EID_UNICODE_FULL =10 }; enum { // encodingID for STBTT_PLATFORM_ID_MAC; same as Script Manager codes STBTT_MAC_EID_ROMAN =0, STBTT_MAC_EID_ARABIC =4, STBTT_MAC_EID_JAPANESE =1, STBTT_MAC_EID_HEBREW =5, STBTT_MAC_EID_CHINESE_TRAD =2, STBTT_MAC_EID_GREEK =6, STBTT_MAC_EID_KOREAN =3, STBTT_MAC_EID_RUSSIAN =7 }; enum { // languageID for STBTT_PLATFORM_ID_MICROSOFT; same as LCID... // problematic because there are e.g. 16 english LCIDs and 16 arabic LCIDs STBTT_MS_LANG_ENGLISH =0x0409, STBTT_MS_LANG_ITALIAN =0x0410, STBTT_MS_LANG_CHINESE =0x0804, STBTT_MS_LANG_JAPANESE =0x0411, STBTT_MS_LANG_DUTCH =0x0413, STBTT_MS_LANG_KOREAN =0x0412, STBTT_MS_LANG_FRENCH =0x040c, STBTT_MS_LANG_RUSSIAN =0x0419, STBTT_MS_LANG_GERMAN =0x0407, STBTT_MS_LANG_SPANISH =0x0409, STBTT_MS_LANG_HEBREW =0x040d, STBTT_MS_LANG_SWEDISH =0x041D }; enum { // languageID for STBTT_PLATFORM_ID_MAC STBTT_MAC_LANG_ENGLISH =0 , STBTT_MAC_LANG_JAPANESE =11, STBTT_MAC_LANG_ARABIC =12, STBTT_MAC_LANG_KOREAN =23, STBTT_MAC_LANG_DUTCH =4 , STBTT_MAC_LANG_RUSSIAN =32, STBTT_MAC_LANG_FRENCH =1 , STBTT_MAC_LANG_SPANISH =6 , STBTT_MAC_LANG_GERMAN =2 , STBTT_MAC_LANG_SWEDISH =5 , STBTT_MAC_LANG_HEBREW =10, STBTT_MAC_LANG_CHINESE_SIMPLIFIED =33, STBTT_MAC_LANG_ITALIAN =3 , STBTT_MAC_LANG_CHINESE_TRAD =19 }; #ifdef __cplusplus } #endif #endif // __STB_INCLUDE_STB_TRUETYPE_H__ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// //// //// IMPLEMENTATION //// //// #ifdef STB_TRUETYPE_IMPLEMENTATION #ifndef STBTT_MAX_OVERSAMPLE #define STBTT_MAX_OVERSAMPLE 8 #endif #if STBTT_MAX_OVERSAMPLE > 255 #error "STBTT_MAX_OVERSAMPLE cannot be > 255" #endif typedef int stbtt__test_oversample_pow2[(STBTT_MAX_OVERSAMPLE & (STBTT_MAX_OVERSAMPLE-1)) == 0 ? 1 : -1]; #ifndef STBTT_RASTERIZER_VERSION #define STBTT_RASTERIZER_VERSION 2 #endif #ifdef _MSC_VER #define STBTT__NOTUSED(v) (void)(v) #else #define STBTT__NOTUSED(v) (void)sizeof(v) #endif ////////////////////////////////////////////////////////////////////////// // // stbtt__buf helpers to parse data from file // static stbtt_uint8 stbtt__buf_get8(stbtt__buf *b) { if (b->cursor >= b->size) return 0; assert(b->data); return b->data[b->cursor++]; } static stbtt_uint8 stbtt__buf_peek8(stbtt__buf *b) { if (b->cursor >= b->size) return 0; return b->data[b->cursor]; } static void stbtt__buf_seek(stbtt__buf *b, int o) { STBTT_assert(!(o > b->size || o < 0)); b->cursor = (o > b->size || o < 0) ? b->size : o; } static void stbtt__buf_skip(stbtt__buf *b, int o) { stbtt__buf_seek(b, b->cursor + o); } static stbtt_uint32 stbtt__buf_get(stbtt__buf *b, int n) { stbtt_uint32 v = 0; int i; STBTT_assert(n >= 1 && n <= 4); for (i = 0; i < n; i++) v = (v << 8) | stbtt__buf_get8(b); return v; } static stbtt__buf stbtt__new_buf(const void *p, size_t size) { stbtt__buf r; STBTT_assert(size < 0x40000000); r.data = (stbtt_uint8*) p; r.size = (int) size; r.cursor = 0; return r; } #define stbtt__buf_get16(b) stbtt__buf_get((b), 2) #define stbtt__buf_get32(b) stbtt__buf_get((b), 4) static stbtt__buf stbtt__buf_range(const stbtt__buf *b, int o, int s) { stbtt__buf r = stbtt__new_buf(NULL, 0); if (o < 0 || s < 0 || o > b->size || s > b->size - o) return r; r.data = b->data + o; r.size = s; return r; } static stbtt__buf stbtt__cff_get_index(stbtt__buf *b) { int count, start, offsize; start = b->cursor; count = stbtt__buf_get16(b); if (count) { offsize = stbtt__buf_get8(b); STBTT_assert(offsize >= 1 && offsize <= 4); stbtt__buf_skip(b, offsize * count); stbtt__buf_skip(b, stbtt__buf_get(b, offsize) - 1); } return stbtt__buf_range(b, start, b->cursor - start); } static stbtt_uint32 stbtt__cff_int(stbtt__buf *b) { int b0 = stbtt__buf_get8(b); if (b0 >= 32 && b0 <= 246) return b0 - 139; else if (b0 >= 247 && b0 <= 250) return (b0 - 247)*256 + stbtt__buf_get8(b) + 108; else if (b0 >= 251 && b0 <= 254) return -(b0 - 251)*256 - stbtt__buf_get8(b) - 108; else if (b0 == 28) return stbtt__buf_get16(b); else if (b0 == 29) return stbtt__buf_get32(b); STBTT_assert(0); return 0; } static void stbtt__cff_skip_operand(stbtt__buf *b) { int v, b0 = stbtt__buf_peek8(b); STBTT_assert(b0 >= 28); if (b0 == 30) { stbtt__buf_skip(b, 1); while (b->cursor < b->size) { v = stbtt__buf_get8(b); if ((v & 0xF) == 0xF || (v >> 4) == 0xF) break; } } else { stbtt__cff_int(b); } } static stbtt__buf stbtt__dict_get(stbtt__buf *b, int key) { stbtt__buf_seek(b, 0); while (b->cursor < b->size) { int start = b->cursor, end, op; while (stbtt__buf_peek8(b) >= 28) stbtt__cff_skip_operand(b); end = b->cursor; op = stbtt__buf_get8(b); if (op == 12) op = stbtt__buf_get8(b) | 0x100; if (op == key) return stbtt__buf_range(b, start, end-start); } return stbtt__buf_range(b, 0, 0); } static void stbtt__dict_get_ints(stbtt__buf *b, int key, int outcount, stbtt_uint32 *out) { int i; stbtt__buf operands = stbtt__dict_get(b, key); for (i = 0; i < outcount && operands.cursor < operands.size; i++) out[i] = stbtt__cff_int(&operands); } static int stbtt__cff_index_count(stbtt__buf *b) { stbtt__buf_seek(b, 0); return stbtt__buf_get16(b); } static stbtt__buf stbtt__cff_index_get(stbtt__buf b, int i) { int count, offsize, start, end; stbtt__buf_seek(&b, 0); count = stbtt__buf_get16(&b); offsize = stbtt__buf_get8(&b); STBTT_assert(i >= 0 && i < count); STBTT_assert(offsize >= 1 && offsize <= 4); stbtt__buf_skip(&b, i*offsize); start = stbtt__buf_get(&b, offsize); end = stbtt__buf_get(&b, offsize); return stbtt__buf_range(&b, 2+(count+1)*offsize+start, end - start); } ////////////////////////////////////////////////////////////////////////// // // accessors to parse data from file // // on platforms that don't allow misaligned reads, if we want to allow // truetype fonts that aren't padded to alignment, define ALLOW_UNALIGNED_TRUETYPE #define ttBYTE(p) (* (stbtt_uint8 *) (p)) #define ttCHAR(p) (* (stbtt_int8 *) (p)) #define ttFixed(p) ttLONG(p) static stbtt_uint16 ttUSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } static stbtt_int16 ttSHORT(stbtt_uint8 *p) { return p[0]*256 + p[1]; } static stbtt_uint32 ttULONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } static stbtt_int32 ttLONG(stbtt_uint8 *p) { return (p[0]<<24) + (p[1]<<16) + (p[2]<<8) + p[3]; } #define stbtt_tag4(p,c0,c1,c2,c3) ((p)[0] == (c0) && (p)[1] == (c1) && (p)[2] == (c2) && (p)[3] == (c3)) #define stbtt_tag(p,str) stbtt_tag4(p,str[0],str[1],str[2],str[3]) static int stbtt__isfont(stbtt_uint8 *font) { // check the version number if (stbtt_tag4(font, '1',0,0,0)) return 1; // TrueType 1 if (stbtt_tag(font, "typ1")) return 1; // TrueType with type 1 font -- we don't support this! if (stbtt_tag(font, "OTTO")) return 1; // OpenType with CFF if (stbtt_tag4(font, 0,1,0,0)) return 1; // OpenType 1.0 if (stbtt_tag(font, "true")) return 1; // Apple specification for TrueType fonts return 0; } // @OPTIMIZE: binary search static stbtt_uint32 stbtt__find_table(stbtt_uint8 *data, stbtt_uint32 fontstart, const char *tag) { stbtt_int32 num_tables = ttUSHORT(data+fontstart+4); stbtt_uint32 tabledir = fontstart + 12; stbtt_int32 i; for (i=0; i < num_tables; ++i) { stbtt_uint32 loc = tabledir + 16*i; if (stbtt_tag(data+loc+0, tag)) return ttULONG(data+loc+8); } return 0; } static int stbtt_GetFontOffsetForIndex_internal(unsigned char *font_collection, int index) { // if it's just a font, there's only one valid index if (stbtt__isfont(font_collection)) return index == 0 ? 0 : -1; // check if it's a TTC if (stbtt_tag(font_collection, "ttcf")) { // version 1? if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { stbtt_int32 n = ttLONG(font_collection+8); if (index >= n) return -1; return ttULONG(font_collection+12+index*4); } } return -1; } static int stbtt_GetNumberOfFonts_internal(unsigned char *font_collection) { // if it's just a font, there's only one valid font if (stbtt__isfont(font_collection)) return 1; // check if it's a TTC if (stbtt_tag(font_collection, "ttcf")) { // version 1? if (ttULONG(font_collection+4) == 0x00010000 || ttULONG(font_collection+4) == 0x00020000) { return ttLONG(font_collection+8); } } return 0; } static stbtt__buf stbtt__get_subrs(stbtt__buf cff, stbtt__buf fontdict) { stbtt_uint32 subrsoff = 0, private_loc[2] = { 0, 0 }; stbtt__buf pdict; stbtt__dict_get_ints(&fontdict, 18, 2, private_loc); if (!private_loc[1] || !private_loc[0]) return stbtt__new_buf(NULL, 0); pdict = stbtt__buf_range(&cff, private_loc[1], private_loc[0]); stbtt__dict_get_ints(&pdict, 19, 1, &subrsoff); if (!subrsoff) return stbtt__new_buf(NULL, 0); stbtt__buf_seek(&cff, private_loc[1]+subrsoff); return stbtt__cff_get_index(&cff); } static int stbtt_InitFont_internal(stbtt_fontinfo *info, unsigned char *data, int fontstart) { stbtt_uint32 cmap, t; stbtt_int32 i,numTables; info->data = data; info->fontstart = fontstart; info->cff = stbtt__new_buf(NULL, 0); cmap = stbtt__find_table(data, fontstart, "cmap"); // required info->loca = stbtt__find_table(data, fontstart, "loca"); // required info->head = stbtt__find_table(data, fontstart, "head"); // required info->glyf = stbtt__find_table(data, fontstart, "glyf"); // required info->hhea = stbtt__find_table(data, fontstart, "hhea"); // required info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required info->kern = stbtt__find_table(data, fontstart, "kern"); // not required if (!cmap || !info->head || !info->hhea || !info->hmtx) return 0; if (info->glyf) { // required for truetype if (!info->loca) return 0; } else { // initialization for CFF / Type2 fonts (OTF) stbtt__buf b, topdict, topdictidx; stbtt_uint32 cstype = 2, charstrings = 0, fdarrayoff = 0, fdselectoff = 0; stbtt_uint32 cff; cff = stbtt__find_table(data, fontstart, "CFF "); if (!cff) return 0; info->fontdicts = stbtt__new_buf(NULL, 0); info->fdselect = stbtt__new_buf(NULL, 0); // @TODO this should use size from table (not 512MB) info->cff = stbtt__new_buf(data+cff, 512*1024*1024); b = info->cff; // read the header stbtt__buf_skip(&b, 2); stbtt__buf_seek(&b, stbtt__buf_get8(&b)); // hdrsize // @TODO the name INDEX could list multiple fonts, // but we just use the first one. stbtt__cff_get_index(&b); // name INDEX topdictidx = stbtt__cff_get_index(&b); topdict = stbtt__cff_index_get(topdictidx, 0); stbtt__cff_get_index(&b); // string INDEX info->gsubrs = stbtt__cff_get_index(&b); stbtt__dict_get_ints(&topdict, 17, 1, &charstrings); stbtt__dict_get_ints(&topdict, 0x100 | 6, 1, &cstype); stbtt__dict_get_ints(&topdict, 0x100 | 36, 1, &fdarrayoff); stbtt__dict_get_ints(&topdict, 0x100 | 37, 1, &fdselectoff); info->subrs = stbtt__get_subrs(b, topdict); // we only support Type 2 charstrings if (cstype != 2) return 0; if (charstrings == 0) return 0; if (fdarrayoff) { // looks like a CID font if (!fdselectoff) return 0; stbtt__buf_seek(&b, fdarrayoff); info->fontdicts = stbtt__cff_get_index(&b); info->fdselect = stbtt__buf_range(&b, fdselectoff, b.size-fdselectoff); } stbtt__buf_seek(&b, charstrings); info->charstrings = stbtt__cff_get_index(&b); } t = stbtt__find_table(data, fontstart, "maxp"); if (t) info->numGlyphs = ttUSHORT(data+t+4); else info->numGlyphs = 0xffff; // find a cmap encoding table we understand *now* to avoid searching // later. (todo: could make this installable) // the same regardless of glyph. numTables = ttUSHORT(data + cmap + 2); info->index_map = 0; for (i=0; i < numTables; ++i) { stbtt_uint32 encoding_record = cmap + 4 + 8 * i; // find an encoding we understand: switch(ttUSHORT(data+encoding_record)) { case STBTT_PLATFORM_ID_MICROSOFT: switch (ttUSHORT(data+encoding_record+2)) { case STBTT_MS_EID_UNICODE_BMP: case STBTT_MS_EID_UNICODE_FULL: // MS/Unicode info->index_map = cmap + ttULONG(data+encoding_record+4); break; } break; case STBTT_PLATFORM_ID_UNICODE: // Mac/iOS has these // all the encodingIDs are unicode, so we don't bother to check it info->index_map = cmap + ttULONG(data+encoding_record+4); break; } } if (info->index_map == 0) return 0; info->indexToLocFormat = ttUSHORT(data+info->head + 50); return 1; } STBTT_DEF int stbtt_FindGlyphIndex(const stbtt_fontinfo *info, int unicode_codepoint) { stbtt_uint8 *data = info->data; stbtt_uint32 index_map = info->index_map; stbtt_uint16 format = ttUSHORT(data + index_map + 0); if (format == 0) { // apple byte encoding stbtt_int32 bytes = ttUSHORT(data + index_map + 2); if (unicode_codepoint < bytes-6) return ttBYTE(data + index_map + 6 + unicode_codepoint); return 0; } else if (format == 6) { stbtt_uint32 first = ttUSHORT(data + index_map + 6); stbtt_uint32 count = ttUSHORT(data + index_map + 8); if ((stbtt_uint32) unicode_codepoint >= first && (stbtt_uint32) unicode_codepoint < first+count) return ttUSHORT(data + index_map + 10 + (unicode_codepoint - first)*2); return 0; } else if (format == 2) { STBTT_assert(0); // @TODO: high-byte mapping for japanese/chinese/korean return 0; } else if (format == 4) { // standard mapping for windows fonts: binary search collection of ranges stbtt_uint16 segcount = ttUSHORT(data+index_map+6) >> 1; stbtt_uint16 searchRange = ttUSHORT(data+index_map+8) >> 1; stbtt_uint16 entrySelector = ttUSHORT(data+index_map+10); stbtt_uint16 rangeShift = ttUSHORT(data+index_map+12) >> 1; // do a binary search of the segments stbtt_uint32 endCount = index_map + 14; stbtt_uint32 search = endCount; if (unicode_codepoint > 0xffff) return 0; // they lie from endCount .. endCount + segCount // but searchRange is the nearest power of two, so... if (unicode_codepoint >= ttUSHORT(data + search + rangeShift*2)) search += rangeShift*2; // now decrement to bias correctly to find smallest search -= 2; while (entrySelector) { stbtt_uint16 end; searchRange >>= 1; end = ttUSHORT(data + search + searchRange*2); if (unicode_codepoint > end) search += searchRange*2; --entrySelector; } search += 2; { stbtt_uint16 offset, start; stbtt_uint16 item = (stbtt_uint16) ((search - endCount) >> 1); STBTT_assert(unicode_codepoint <= ttUSHORT(data + endCount + 2*item)); start = ttUSHORT(data + index_map + 14 + segcount*2 + 2 + 2*item); if (unicode_codepoint < start) return 0; offset = ttUSHORT(data + index_map + 14 + segcount*6 + 2 + 2*item); if (offset == 0) return (stbtt_uint16) (unicode_codepoint + ttSHORT(data + index_map + 14 + segcount*4 + 2 + 2*item)); return ttUSHORT(data + offset + (unicode_codepoint-start)*2 + index_map + 14 + segcount*6 + 2 + 2*item); } } else if (format == 12 || format == 13) { stbtt_uint32 ngroups = ttULONG(data+index_map+12); stbtt_int32 low,high; low = 0; high = (stbtt_int32)ngroups; // Binary search the right group. while (low < high) { stbtt_int32 mid = low + ((high-low) >> 1); // rounds down, so low <= mid < high stbtt_uint32 start_char = ttULONG(data+index_map+16+mid*12); stbtt_uint32 end_char = ttULONG(data+index_map+16+mid*12+4); if ((stbtt_uint32) unicode_codepoint < start_char) high = mid; else if ((stbtt_uint32) unicode_codepoint > end_char) low = mid+1; else { stbtt_uint32 start_glyph = ttULONG(data+index_map+16+mid*12+8); if (format == 12) return start_glyph + unicode_codepoint-start_char; else // format == 13 return start_glyph; } } return 0; // not found } // @TODO STBTT_assert(0); return 0; } STBTT_DEF int stbtt_GetCodepointShape(const stbtt_fontinfo *info, int unicode_codepoint, stbtt_vertex **vertices) { return stbtt_GetGlyphShape(info, stbtt_FindGlyphIndex(info, unicode_codepoint), vertices); } static void stbtt_setvertex(stbtt_vertex *v, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy) { v->type = type; v->x = (stbtt_int16) x; v->y = (stbtt_int16) y; v->cx = (stbtt_int16) cx; v->cy = (stbtt_int16) cy; } static int stbtt__GetGlyfOffset(const stbtt_fontinfo *info, int glyph_index) { int g1,g2; STBTT_assert(!info->cff.size); if (glyph_index >= info->numGlyphs) return -1; // glyph index out of range if (info->indexToLocFormat >= 2) return -1; // unknown index->glyph map format if (info->indexToLocFormat == 0) { g1 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2) * 2; g2 = info->glyf + ttUSHORT(info->data + info->loca + glyph_index * 2 + 2) * 2; } else { g1 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4); g2 = info->glyf + ttULONG (info->data + info->loca + glyph_index * 4 + 4); } return g1==g2 ? -1 : g1; // if length is 0, return -1 } static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1); STBTT_DEF int stbtt_GetGlyphBox(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) { if (info->cff.size) { stbtt__GetGlyphInfoT2(info, glyph_index, x0, y0, x1, y1); } else { int g = stbtt__GetGlyfOffset(info, glyph_index); if (g < 0) return 0; if (x0) *x0 = ttSHORT(info->data + g + 2); if (y0) *y0 = ttSHORT(info->data + g + 4); if (x1) *x1 = ttSHORT(info->data + g + 6); if (y1) *y1 = ttSHORT(info->data + g + 8); } return 1; } STBTT_DEF int stbtt_GetCodepointBox(const stbtt_fontinfo *info, int codepoint, int *x0, int *y0, int *x1, int *y1) { return stbtt_GetGlyphBox(info, stbtt_FindGlyphIndex(info,codepoint), x0,y0,x1,y1); } STBTT_DEF int stbtt_IsGlyphEmpty(const stbtt_fontinfo *info, int glyph_index) { stbtt_int16 numberOfContours; int g; if (info->cff.size) return stbtt__GetGlyphInfoT2(info, glyph_index, NULL, NULL, NULL, NULL) == 0; g = stbtt__GetGlyfOffset(info, glyph_index); if (g < 0) return 1; numberOfContours = ttSHORT(info->data + g); return numberOfContours == 0; } static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off, stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy) { if (start_off) { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+scx)>>1, (cy+scy)>>1, cx,cy); stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, sx,sy,scx,scy); } else { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve,sx,sy,cx,cy); else stbtt_setvertex(&vertices[num_vertices++], STBTT_vline,sx,sy,0,0); } return num_vertices; } static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { stbtt_int16 numberOfContours; stbtt_uint8 *endPtsOfContours; stbtt_uint8 *data = info->data; stbtt_vertex *vertices=0; int num_vertices=0; int g = stbtt__GetGlyfOffset(info, glyph_index); *pvertices = NULL; if (g < 0) return 0; numberOfContours = ttSHORT(data + g); if (numberOfContours > 0) { stbtt_uint8 flags=0,flagcount; stbtt_int32 ins, i,j=0,m,n, next_move, was_off=0, off, start_off=0; stbtt_int32 x,y,cx,cy,sx,sy, scx,scy; stbtt_uint8 *points; endPtsOfContours = (data + g + 10); ins = ttUSHORT(data + g + 10 + numberOfContours * 2); points = data + g + 10 + numberOfContours * 2 + 2 + ins; n = 1+ttUSHORT(endPtsOfContours + numberOfContours*2-2); m = n + 2*numberOfContours; // a loose bound on how many vertices we might need vertices = (stbtt_vertex *) STBTT_malloc(m * sizeof(vertices[0]), info->userdata); if (vertices == 0) return 0; next_move = 0; flagcount=0; // in first pass, we load uninterpreted data into the allocated array // above, shifted to the end of the array so we won't overwrite it when // we create our final data starting from the front off = m - n; // starting offset for uninterpreted data, regardless of how m ends up being calculated // first load flags for (i=0; i < n; ++i) { if (flagcount == 0) { flags = *points++; if (flags & 8) flagcount = *points++; } else --flagcount; vertices[off+i].type = flags; } // now load x coordinates x=0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; if (flags & 2) { stbtt_int16 dx = *points++; x += (flags & 16) ? dx : -dx; // ??? } else { if (!(flags & 16)) { x = x + (stbtt_int16) (points[0]*256 + points[1]); points += 2; } } vertices[off+i].x = (stbtt_int16) x; } // now load y coordinates y=0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; if (flags & 4) { stbtt_int16 dy = *points++; y += (flags & 32) ? dy : -dy; // ??? } else { if (!(flags & 32)) { y = y + (stbtt_int16) (points[0]*256 + points[1]); points += 2; } } vertices[off+i].y = (stbtt_int16) y; } // now convert them to our format num_vertices=0; sx = sy = cx = cy = scx = scy = 0; for (i=0; i < n; ++i) { flags = vertices[off+i].type; x = (stbtt_int16) vertices[off+i].x; y = (stbtt_int16) vertices[off+i].y; if (next_move == i) { if (i != 0) num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); // now start the new one start_off = !(flags & 1); if (start_off) { // if we start off with an off-curve point, then when we need to find a point on the curve // where we can start, and we need to save some state for when we wraparound. scx = x; scy = y; if (!(vertices[off+i+1].type & 1)) { // next point is also a curve point, so interpolate an on-point curve sx = (x + (stbtt_int32) vertices[off+i+1].x) >> 1; sy = (y + (stbtt_int32) vertices[off+i+1].y) >> 1; } else { // otherwise just use the next point as our start point sx = (stbtt_int32) vertices[off+i+1].x; sy = (stbtt_int32) vertices[off+i+1].y; ++i; // we're using point i+1 as the starting point, so skip it } } else { sx = x; sy = y; } stbtt_setvertex(&vertices[num_vertices++], STBTT_vmove,sx,sy,0,0); was_off = 0; next_move = 1 + ttUSHORT(endPtsOfContours+j*2); ++j; } else { if (!(flags & 1)) { // if it's a curve if (was_off) // two off-curve control points in a row means interpolate an on-curve midpoint stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+x)>>1, (cy+y)>>1, cx, cy); cx = x; cy = y; was_off = 1; } else { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, x,y, cx, cy); else stbtt_setvertex(&vertices[num_vertices++], STBTT_vline, x,y,0,0); was_off = 0; } } } num_vertices = stbtt__close_shape(vertices, num_vertices, was_off, start_off, sx,sy,scx,scy,cx,cy); } else if (numberOfContours == -1) { // Compound shapes. int more = 1; stbtt_uint8 *comp = data + g + 10; num_vertices = 0; vertices = 0; while (more) { stbtt_uint16 flags, gidx; int comp_num_verts = 0, i; stbtt_vertex *comp_verts = 0, *tmp = 0; float mtx[6] = {1,0,0,1,0,0}, m, n; flags = ttSHORT(comp); comp+=2; gidx = ttSHORT(comp); comp+=2; if (flags & 2) { // XY values if (flags & 1) { // shorts mtx[4] = ttSHORT(comp); comp+=2; mtx[5] = ttSHORT(comp); comp+=2; } else { mtx[4] = ttCHAR(comp); comp+=1; mtx[5] = ttCHAR(comp); comp+=1; } } else { // @TODO handle matching point STBTT_assert(0); } if (flags & (1<<3)) { // WE_HAVE_A_SCALE mtx[0] = mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = mtx[2] = 0; } else if (flags & (1<<6)) { // WE_HAVE_AN_X_AND_YSCALE mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = mtx[2] = 0; mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; } else if (flags & (1<<7)) { // WE_HAVE_A_TWO_BY_TWO mtx[0] = ttSHORT(comp)/16384.0f; comp+=2; mtx[1] = ttSHORT(comp)/16384.0f; comp+=2; mtx[2] = ttSHORT(comp)/16384.0f; comp+=2; mtx[3] = ttSHORT(comp)/16384.0f; comp+=2; } // Find transformation scales. m = (float) STBTT_sqrt(mtx[0]*mtx[0] + mtx[1]*mtx[1]); n = (float) STBTT_sqrt(mtx[2]*mtx[2] + mtx[3]*mtx[3]); // Get indexed glyph. comp_num_verts = stbtt_GetGlyphShape(info, gidx, &comp_verts); if (comp_num_verts > 0) { // Transform vertices. for (i = 0; i < comp_num_verts; ++i) { stbtt_vertex* v = &comp_verts[i]; stbtt_vertex_type x,y; x=v->x; y=v->y; v->x = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); v->y = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); x=v->cx; y=v->cy; v->cx = (stbtt_vertex_type)(m * (mtx[0]*x + mtx[2]*y + mtx[4])); v->cy = (stbtt_vertex_type)(n * (mtx[1]*x + mtx[3]*y + mtx[5])); } // Append vertices. tmp = (stbtt_vertex*)STBTT_malloc((num_vertices+comp_num_verts)*sizeof(stbtt_vertex), info->userdata); if (!tmp) { if (vertices) STBTT_free(vertices, info->userdata); if (comp_verts) STBTT_free(comp_verts, info->userdata); return 0; } if (num_vertices > 0) STBTT_memcpy(tmp, vertices, num_vertices*sizeof(stbtt_vertex)); STBTT_memcpy(tmp+num_vertices, comp_verts, comp_num_verts*sizeof(stbtt_vertex)); if (vertices) STBTT_free(vertices, info->userdata); vertices = tmp; STBTT_free(comp_verts, info->userdata); num_vertices += comp_num_verts; } // More components ? more = flags & (1<<5); } } else if (numberOfContours < 0) { // @TODO other compound variations? STBTT_assert(0); } else { // numberOfCounters == 0, do nothing } *pvertices = vertices; return num_vertices; } typedef struct { int bounds; int started; float first_x, first_y; float x, y; stbtt_int32 min_x, max_x, min_y, max_y; stbtt_vertex *pvertices; int num_vertices; } stbtt__csctx; #define STBTT__CSCTX_INIT(bounds) {bounds,0, 0,0, 0,0, 0,0,0,0, NULL, 0} static void stbtt__track_vertex(stbtt__csctx *c, stbtt_int32 x, stbtt_int32 y) { if (x > c->max_x || !c->started) c->max_x = x; if (y > c->max_y || !c->started) c->max_y = y; if (x < c->min_x || !c->started) c->min_x = x; if (y < c->min_y || !c->started) c->min_y = y; c->started = 1; } static void stbtt__csctx_v(stbtt__csctx *c, stbtt_uint8 type, stbtt_int32 x, stbtt_int32 y, stbtt_int32 cx, stbtt_int32 cy, stbtt_int32 cx1, stbtt_int32 cy1) { if (c->bounds) { stbtt__track_vertex(c, x, y); if (type == STBTT_vcubic) { stbtt__track_vertex(c, cx, cy); stbtt__track_vertex(c, cx1, cy1); } } else { stbtt_setvertex(&c->pvertices[c->num_vertices], type, x, y, cx, cy); c->pvertices[c->num_vertices].cx1 = (stbtt_int16) cx1; c->pvertices[c->num_vertices].cy1 = (stbtt_int16) cy1; } c->num_vertices++; } static void stbtt__csctx_close_shape(stbtt__csctx *ctx) { if (ctx->first_x != ctx->x || ctx->first_y != ctx->y) stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->first_x, (int)ctx->first_y, 0, 0, 0, 0); } static void stbtt__csctx_rmove_to(stbtt__csctx *ctx, float dx, float dy) { stbtt__csctx_close_shape(ctx); ctx->first_x = ctx->x = ctx->x + dx; ctx->first_y = ctx->y = ctx->y + dy; stbtt__csctx_v(ctx, STBTT_vmove, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); } static void stbtt__csctx_rline_to(stbtt__csctx *ctx, float dx, float dy) { ctx->x += dx; ctx->y += dy; stbtt__csctx_v(ctx, STBTT_vline, (int)ctx->x, (int)ctx->y, 0, 0, 0, 0); } static void stbtt__csctx_rccurve_to(stbtt__csctx *ctx, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3) { float cx1 = ctx->x + dx1; float cy1 = ctx->y + dy1; float cx2 = cx1 + dx2; float cy2 = cy1 + dy2; ctx->x = cx2 + dx3; ctx->y = cy2 + dy3; stbtt__csctx_v(ctx, STBTT_vcubic, (int)ctx->x, (int)ctx->y, (int)cx1, (int)cy1, (int)cx2, (int)cy2); } static stbtt__buf stbtt__get_subr(stbtt__buf idx, int n) { int count = stbtt__cff_index_count(&idx); int bias = 107; if (count >= 33900) bias = 32768; else if (count >= 1240) bias = 1131; n += bias; if (n < 0 || n >= count) return stbtt__new_buf(NULL, 0); return stbtt__cff_index_get(idx, n); } static stbtt__buf stbtt__cid_get_glyph_subrs(const stbtt_fontinfo *info, int glyph_index) { stbtt__buf fdselect = info->fdselect; int nranges, start, end, v, fmt, fdselector = -1, i; stbtt__buf_seek(&fdselect, 0); fmt = stbtt__buf_get8(&fdselect); if (fmt == 0) { // untested stbtt__buf_skip(&fdselect, glyph_index); fdselector = stbtt__buf_get8(&fdselect); } else if (fmt == 3) { nranges = stbtt__buf_get16(&fdselect); start = stbtt__buf_get16(&fdselect); for (i = 0; i < nranges; i++) { v = stbtt__buf_get8(&fdselect); end = stbtt__buf_get16(&fdselect); if (glyph_index >= start && glyph_index < end) { fdselector = v; break; } start = end; } } if (fdselector == -1) stbtt__new_buf(NULL, 0); return stbtt__get_subrs(info->cff, stbtt__cff_index_get(info->fontdicts, fdselector)); } static int stbtt__run_charstring(const stbtt_fontinfo *info, int glyph_index, stbtt__csctx *c) { int in_header = 1, maskbits = 0, subr_stack_height = 0, sp = 0, v, i, b0; int has_subrs = 0, clear_stack; float s[48]; stbtt__buf subr_stack[10], subrs = info->subrs, b; float f; #define STBTT__CSERR(s) (0) // this currently ignores the initial width value, which isn't needed if we have hmtx b = stbtt__cff_index_get(info->charstrings, glyph_index); while (b.cursor < b.size) { i = 0; clear_stack = 1; b0 = stbtt__buf_get8(&b); switch (b0) { // @TODO implement hinting case 0x13: // hintmask case 0x14: // cntrmask if (in_header) maskbits += (sp / 2); // implicit "vstem" in_header = 0; stbtt__buf_skip(&b, (maskbits + 7) / 8); break; case 0x01: // hstem case 0x03: // vstem case 0x12: // hstemhm case 0x17: // vstemhm maskbits += (sp / 2); break; case 0x15: // rmoveto in_header = 0; if (sp < 2) return STBTT__CSERR("rmoveto stack"); stbtt__csctx_rmove_to(c, s[sp-2], s[sp-1]); break; case 0x04: // vmoveto in_header = 0; if (sp < 1) return STBTT__CSERR("vmoveto stack"); stbtt__csctx_rmove_to(c, 0, s[sp-1]); break; case 0x16: // hmoveto in_header = 0; if (sp < 1) return STBTT__CSERR("hmoveto stack"); stbtt__csctx_rmove_to(c, s[sp-1], 0); break; case 0x05: // rlineto if (sp < 2) return STBTT__CSERR("rlineto stack"); for (; i + 1 < sp; i += 2) stbtt__csctx_rline_to(c, s[i], s[i+1]); break; // hlineto/vlineto and vhcurveto/hvcurveto alternate horizontal and vertical // starting from a different place. case 0x07: // vlineto if (sp < 1) return STBTT__CSERR("vlineto stack"); goto vlineto; case 0x06: // hlineto if (sp < 1) return STBTT__CSERR("hlineto stack"); for (;;) { if (i >= sp) break; stbtt__csctx_rline_to(c, s[i], 0); i++; vlineto: if (i >= sp) break; stbtt__csctx_rline_to(c, 0, s[i]); i++; } break; case 0x1F: // hvcurveto if (sp < 4) return STBTT__CSERR("hvcurveto stack"); goto hvcurveto; case 0x1E: // vhcurveto if (sp < 4) return STBTT__CSERR("vhcurveto stack"); for (;;) { if (i + 3 >= sp) break; stbtt__csctx_rccurve_to(c, 0, s[i], s[i+1], s[i+2], s[i+3], (sp - i == 5) ? s[i + 4] : 0.0f); i += 4; hvcurveto: if (i + 3 >= sp) break; stbtt__csctx_rccurve_to(c, s[i], 0, s[i+1], s[i+2], (sp - i == 5) ? s[i+4] : 0.0f, s[i+3]); i += 4; } break; case 0x08: // rrcurveto if (sp < 6) return STBTT__CSERR("rcurveline stack"); for (; i + 5 < sp; i += 6) stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); break; case 0x18: // rcurveline if (sp < 8) return STBTT__CSERR("rcurveline stack"); for (; i + 5 < sp - 2; i += 6) stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); if (i + 1 >= sp) return STBTT__CSERR("rcurveline stack"); stbtt__csctx_rline_to(c, s[i], s[i+1]); break; case 0x19: // rlinecurve if (sp < 8) return STBTT__CSERR("rlinecurve stack"); for (; i + 1 < sp - 6; i += 2) stbtt__csctx_rline_to(c, s[i], s[i+1]); if (i + 5 >= sp) return STBTT__CSERR("rlinecurve stack"); stbtt__csctx_rccurve_to(c, s[i], s[i+1], s[i+2], s[i+3], s[i+4], s[i+5]); break; case 0x1A: // vvcurveto case 0x1B: // hhcurveto if (sp < 4) return STBTT__CSERR("(vv|hh)curveto stack"); f = 0.0; if (sp & 1) { f = s[i]; i++; } for (; i + 3 < sp; i += 4) { if (b0 == 0x1B) stbtt__csctx_rccurve_to(c, s[i], f, s[i+1], s[i+2], s[i+3], 0.0); else stbtt__csctx_rccurve_to(c, f, s[i], s[i+1], s[i+2], 0.0, s[i+3]); f = 0.0; } break; case 0x0A: // callsubr if (!has_subrs) { if (info->fdselect.size) subrs = stbtt__cid_get_glyph_subrs(info, glyph_index); has_subrs = 1; } // fallthrough case 0x1D: // callgsubr if (sp < 1) return STBTT__CSERR("call(g|)subr stack"); v = (int) s[--sp]; if (subr_stack_height >= 10) return STBTT__CSERR("recursion limit"); subr_stack[subr_stack_height++] = b; b = stbtt__get_subr(b0 == 0x0A ? subrs : info->gsubrs, v); if (b.size == 0) return STBTT__CSERR("subr not found"); b.cursor = 0; clear_stack = 0; break; case 0x0B: // return if (subr_stack_height <= 0) return STBTT__CSERR("return outside subr"); b = subr_stack[--subr_stack_height]; clear_stack = 0; break; case 0x0E: // endchar stbtt__csctx_close_shape(c); return 1; case 0x0C: { // two-byte escape float dx1, dx2, dx3, dx4, dx5, dx6, dy1, dy2, dy3, dy4, dy5, dy6; float dx, dy; int b1 = stbtt__buf_get8(&b); switch (b1) { // @TODO These "flex" implementations ignore the flex-depth and resolution, // and always draw beziers. case 0x22: // hflex if (sp < 7) return STBTT__CSERR("hflex stack"); dx1 = s[0]; dx2 = s[1]; dy2 = s[2]; dx3 = s[3]; dx4 = s[4]; dx5 = s[5]; dx6 = s[6]; stbtt__csctx_rccurve_to(c, dx1, 0, dx2, dy2, dx3, 0); stbtt__csctx_rccurve_to(c, dx4, 0, dx5, -dy2, dx6, 0); break; case 0x23: // flex if (sp < 13) return STBTT__CSERR("flex stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dy3 = s[5]; dx4 = s[6]; dy4 = s[7]; dx5 = s[8]; dy5 = s[9]; dx6 = s[10]; dy6 = s[11]; //fd is s[12] stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); break; case 0x24: // hflex1 if (sp < 9) return STBTT__CSERR("hflex1 stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dx4 = s[5]; dx5 = s[6]; dy5 = s[7]; dx6 = s[8]; stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, 0); stbtt__csctx_rccurve_to(c, dx4, 0, dx5, dy5, dx6, -(dy1+dy2+dy5)); break; case 0x25: // flex1 if (sp < 11) return STBTT__CSERR("flex1 stack"); dx1 = s[0]; dy1 = s[1]; dx2 = s[2]; dy2 = s[3]; dx3 = s[4]; dy3 = s[5]; dx4 = s[6]; dy4 = s[7]; dx5 = s[8]; dy5 = s[9]; dx6 = dy6 = s[10]; dx = dx1+dx2+dx3+dx4+dx5; dy = dy1+dy2+dy3+dy4+dy5; if (STBTT_fabs(dx) > STBTT_fabs(dy)) dy6 = -dy; else dx6 = -dx; stbtt__csctx_rccurve_to(c, dx1, dy1, dx2, dy2, dx3, dy3); stbtt__csctx_rccurve_to(c, dx4, dy4, dx5, dy5, dx6, dy6); break; default: return STBTT__CSERR("unimplemented"); } } break; default: if (b0 != 255 && b0 != 28 && (b0 < 32 || b0 > 254)) return STBTT__CSERR("reserved operator"); // push immediate if (b0 == 255) { f = (float)stbtt__buf_get32(&b) / 0x10000; } else { stbtt__buf_skip(&b, -1); f = (float)(stbtt_int16)stbtt__cff_int(&b); } if (sp >= 48) return STBTT__CSERR("push stack overflow"); s[sp++] = f; clear_stack = 0; break; } if (clear_stack) sp = 0; } return STBTT__CSERR("no endchar"); #undef STBTT__CSERR } static int stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { // runs the charstring twice, once to count and once to output (to avoid realloc) stbtt__csctx count_ctx = STBTT__CSCTX_INIT(1); stbtt__csctx output_ctx = STBTT__CSCTX_INIT(0); if (stbtt__run_charstring(info, glyph_index, &count_ctx)) { *pvertices = (stbtt_vertex*)STBTT_malloc(count_ctx.num_vertices*sizeof(stbtt_vertex), info->userdata); output_ctx.pvertices = *pvertices; if (stbtt__run_charstring(info, glyph_index, &output_ctx)) { STBTT_assert(output_ctx.num_vertices == count_ctx.num_vertices); return output_ctx.num_vertices; } } *pvertices = NULL; return 0; } static int stbtt__GetGlyphInfoT2(const stbtt_fontinfo *info, int glyph_index, int *x0, int *y0, int *x1, int *y1) { stbtt__csctx c = STBTT__CSCTX_INIT(1); int r = stbtt__run_charstring(info, glyph_index, &c); if (x0) { *x0 = r ? c.min_x : 0; *y0 = r ? c.min_y : 0; *x1 = r ? c.max_x : 0; *y1 = r ? c.max_y : 0; } return r ? c.num_vertices : 0; } STBTT_DEF int stbtt_GetGlyphShape(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { if (!info->cff.size) return stbtt__GetGlyphShapeTT(info, glyph_index, pvertices); else return stbtt__GetGlyphShapeT2(info, glyph_index, pvertices); } STBTT_DEF void stbtt_GetGlyphHMetrics(const stbtt_fontinfo *info, int glyph_index, int *advanceWidth, int *leftSideBearing) { stbtt_uint16 numOfLongHorMetrics = ttUSHORT(info->data+info->hhea + 34); if (glyph_index < numOfLongHorMetrics) { if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); } else { if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-1)); if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics + 2*(glyph_index - numOfLongHorMetrics)); } } STBTT_DEF int stbtt_GetGlyphKernAdvance(const stbtt_fontinfo *info, int glyph1, int glyph2) { stbtt_uint8 *data = info->data + info->kern; stbtt_uint32 needle, straw; int l, r, m; // we only look at the first table. it must be 'horizontal' and format 0. if (!info->kern) return 0; if (ttUSHORT(data+2) < 1) // number of tables, need at least 1 return 0; if (ttUSHORT(data+8) != 1) // horizontal flag must be set in format return 0; l = 0; r = ttUSHORT(data+10) - 1; needle = glyph1 << 16 | glyph2; while (l <= r) { m = (l + r) >> 1; straw = ttULONG(data+18+(m*6)); // note: unaligned read if (needle < straw) r = m - 1; else if (needle > straw) l = m + 1; else return ttSHORT(data+22+(m*6)); } return 0; } STBTT_DEF int stbtt_GetCodepointKernAdvance(const stbtt_fontinfo *info, int ch1, int ch2) { if (!info->kern) // if no kerning table, don't waste time looking up both codepoint->glyphs return 0; return stbtt_GetGlyphKernAdvance(info, stbtt_FindGlyphIndex(info,ch1), stbtt_FindGlyphIndex(info,ch2)); } STBTT_DEF void stbtt_GetCodepointHMetrics(const stbtt_fontinfo *info, int codepoint, int *advanceWidth, int *leftSideBearing) { stbtt_GetGlyphHMetrics(info, stbtt_FindGlyphIndex(info,codepoint), advanceWidth, leftSideBearing); } STBTT_DEF void stbtt_GetFontVMetrics(const stbtt_fontinfo *info, int *ascent, int *descent, int *lineGap) { if (ascent ) *ascent = ttSHORT(info->data+info->hhea + 4); if (descent) *descent = ttSHORT(info->data+info->hhea + 6); if (lineGap) *lineGap = ttSHORT(info->data+info->hhea + 8); } STBTT_DEF void stbtt_GetFontBoundingBox(const stbtt_fontinfo *info, int *x0, int *y0, int *x1, int *y1) { *x0 = ttSHORT(info->data + info->head + 36); *y0 = ttSHORT(info->data + info->head + 38); *x1 = ttSHORT(info->data + info->head + 40); *y1 = ttSHORT(info->data + info->head + 42); } STBTT_DEF float stbtt_ScaleForPixelHeight(const stbtt_fontinfo *info, float height) { int fheight = ttSHORT(info->data + info->hhea + 4) - ttSHORT(info->data + info->hhea + 6); return (float) height / fheight; } STBTT_DEF float stbtt_ScaleForMappingEmToPixels(const stbtt_fontinfo *info, float pixels) { int unitsPerEm = ttUSHORT(info->data + info->head + 18); return pixels / unitsPerEm; } STBTT_DEF void stbtt_FreeShape(const stbtt_fontinfo *info, stbtt_vertex *v) { STBTT_free(v, info->userdata); } ////////////////////////////////////////////////////////////////////////////// // // antialiasing software rasterizer // STBTT_DEF void stbtt_GetGlyphBitmapBoxSubpixel(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) { int x0=0,y0=0,x1,y1; // =0 suppresses compiler warning if (!stbtt_GetGlyphBox(font, glyph, &x0,&y0,&x1,&y1)) { // e.g. space character if (ix0) *ix0 = 0; if (iy0) *iy0 = 0; if (ix1) *ix1 = 0; if (iy1) *iy1 = 0; } else { // move to integral bboxes (treating pixels as little squares, what pixels get touched)? if (ix0) *ix0 = STBTT_ifloor( x0 * scale_x + shift_x); if (iy0) *iy0 = STBTT_ifloor(-y1 * scale_y + shift_y); if (ix1) *ix1 = STBTT_iceil ( x1 * scale_x + shift_x); if (iy1) *iy1 = STBTT_iceil (-y0 * scale_y + shift_y); } } STBTT_DEF void stbtt_GetGlyphBitmapBox(const stbtt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetGlyphBitmapBoxSubpixel(font, glyph, scale_x, scale_y,0.0f,0.0f, ix0, iy0, ix1, iy1); } STBTT_DEF void stbtt_GetCodepointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetGlyphBitmapBoxSubpixel(font, stbtt_FindGlyphIndex(font,codepoint), scale_x, scale_y,shift_x,shift_y, ix0,iy0,ix1,iy1); } STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) { stbtt_GetCodepointBitmapBoxSubpixel(font, codepoint, scale_x, scale_y,0.0f,0.0f, ix0,iy0,ix1,iy1); } ////////////////////////////////////////////////////////////////////////////// // // Rasterizer typedef struct stbtt__hheap_chunk { struct stbtt__hheap_chunk *next; } stbtt__hheap_chunk; typedef struct stbtt__hheap { struct stbtt__hheap_chunk *head; void *first_free; int num_remaining_in_head_chunk; } stbtt__hheap; static void *stbtt__hheap_alloc(stbtt__hheap *hh, size_t size, void *userdata) { if (hh->first_free) { void *p = hh->first_free; hh->first_free = * (void **) p; return p; } else { if (hh->num_remaining_in_head_chunk == 0) { int count = (size < 32 ? 2000 : size < 128 ? 800 : 100); stbtt__hheap_chunk *c = (stbtt__hheap_chunk *) STBTT_malloc(sizeof(stbtt__hheap_chunk) + size * count, userdata); if (c == NULL) return NULL; c->next = hh->head; hh->head = c; hh->num_remaining_in_head_chunk = count; } --hh->num_remaining_in_head_chunk; return (char *) (hh->head) + size * hh->num_remaining_in_head_chunk; } } static void stbtt__hheap_free(stbtt__hheap *hh, void *p) { *(void **) p = hh->first_free; hh->first_free = p; } static void stbtt__hheap_cleanup(stbtt__hheap *hh, void *userdata) { stbtt__hheap_chunk *c = hh->head; while (c) { stbtt__hheap_chunk *n = c->next; STBTT_free(c, userdata); c = n; } } typedef struct stbtt__edge { float x0,y0, x1,y1; int invert; } stbtt__edge; typedef struct stbtt__active_edge { struct stbtt__active_edge *next; #if STBTT_RASTERIZER_VERSION==1 int x,dx; float ey; int direction; #elif STBTT_RASTERIZER_VERSION==2 float fx,fdx,fdy; float direction; float sy; float ey; #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif } stbtt__active_edge; #if STBTT_RASTERIZER_VERSION == 1 #define STBTT_FIXSHIFT 10 #define STBTT_FIX (1 << STBTT_FIXSHIFT) #define STBTT_FIXMASK (STBTT_FIX-1) static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) { stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); STBTT_assert(z != NULL); if (!z) return z; // round dx down to avoid overshooting if (dxdy < 0) z->dx = -STBTT_ifloor(STBTT_FIX * -dxdy); else z->dx = STBTT_ifloor(STBTT_FIX * dxdy); z->x = STBTT_ifloor(STBTT_FIX * e->x0 + z->dx * (start_point - e->y0)); // use z->dx so when we offset later it's by the same amount z->x -= off_x * STBTT_FIX; z->ey = e->y1; z->next = 0; z->direction = e->invert ? 1 : -1; return z; } #elif STBTT_RASTERIZER_VERSION == 2 static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) { stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); STBTT_assert(z != NULL); //STBTT_assert(e->y0 <= start_point); if (!z) return z; z->fdx = dxdy; z->fdy = dxdy != 0.0f ? (1.0f/dxdy) : 0.0f; z->fx = e->x0 + dxdy * (start_point - e->y0); z->fx -= off_x; z->direction = e->invert ? 1.0f : -1.0f; z->sy = e->y0; z->ey = e->y1; z->next = 0; return z; } #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif #if STBTT_RASTERIZER_VERSION == 1 // note: this routine clips fills that extend off the edges... ideally this // wouldn't happen, but it could happen if the truetype glyph bounding boxes // are wrong, or if the user supplies a too-small bitmap static void stbtt__fill_active_edges(unsigned char *scanline, int len, stbtt__active_edge *e, int max_weight) { // non-zero winding fill int x0=0, w=0; while (e) { if (w == 0) { // if we're currently at zero, we need to record the edge start point x0 = e->x; w += e->direction; } else { int x1 = e->x; w += e->direction; // if we went to zero, we need to draw if (w == 0) { int i = x0 >> STBTT_FIXSHIFT; int j = x1 >> STBTT_FIXSHIFT; if (i < len && j >= 0) { if (i == j) { // x0,x1 are the same pixel, so compute combined coverage scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); } else { if (i >= 0) // add antialiasing for x0 scanline[i] = scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT); else i = -1; // clip if (j < len) // add antialiasing for x1 scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); else j = len; // clip for (++i; i < j; ++i) // fill pixels between x0 and x1 scanline[i] = scanline[i] + (stbtt_uint8) max_weight; } } } } e = e->next; } } static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) { stbtt__hheap hh = { 0, 0, 0 }; stbtt__active_edge *active = NULL; int y,j=0; int max_weight = (255 / vsubsample); // weight per vertical scanline int s; // vertical subsample index unsigned char scanline_data[512], *scanline; if (result->w > 512) scanline = (unsigned char *) STBTT_malloc(result->w, userdata); else scanline = scanline_data; y = off_y * vsubsample; e[n].y0 = (off_y + result->h) * (float) vsubsample + 1; while (j < result->h) { STBTT_memset(scanline, 0, result->w); for (s=0; s < vsubsample; ++s) { // find center of pixel for this scanline float scan_y = y + 0.5f; stbtt__active_edge **step = &active; // update all active edges; // remove all active edges that terminate before the center of this scanline while (*step) { stbtt__active_edge * z = *step; if (z->ey <= scan_y) { *step = z->next; // delete from list STBTT_assert(z->direction); z->direction = 0; stbtt__hheap_free(&hh, z); } else { z->x += z->dx; // advance to position for current scanline step = &((*step)->next); // advance through list } } // resort the list if needed for(;;) { int changed=0; step = &active; while (*step && (*step)->next) { if ((*step)->x > (*step)->next->x) { stbtt__active_edge *t = *step; stbtt__active_edge *q = t->next; t->next = q->next; q->next = t; *step = q; changed = 1; } step = &(*step)->next; } if (!changed) break; } // insert all edges that start before the center of this scanline -- omit ones that also end on this scanline while (e->y0 <= scan_y) { if (e->y1 > scan_y) { stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y, userdata); if (z != NULL) { // find insertion point if (active == NULL) active = z; else if (z->x < active->x) { // insert at front z->next = active; active = z; } else { // find thing to insert AFTER stbtt__active_edge *p = active; while (p->next && p->next->x < z->x) p = p->next; // at this point, p->next->x is NOT < z->x z->next = p->next; p->next = z; } } } ++e; } // now process all active edges in XOR fashion if (active) stbtt__fill_active_edges(scanline, result->w, active, max_weight); ++y; } STBTT_memcpy(result->pixels + j * result->stride, scanline, result->w); ++j; } stbtt__hheap_cleanup(&hh, userdata); if (scanline != scanline_data) STBTT_free(scanline, userdata); } #elif STBTT_RASTERIZER_VERSION == 2 // the edge passed in here does not cross the vertical line at x or the vertical line at x+1 // (i.e. it has already been clipped to those) static void stbtt__handle_clipped_edge(float *scanline, int x, stbtt__active_edge *e, float x0, float y0, float x1, float y1) { if (y0 == y1) return; STBTT_assert(y0 < y1); STBTT_assert(e->sy <= e->ey); if (y0 > e->ey) return; if (y1 < e->sy) return; if (y0 < e->sy) { x0 += (x1-x0) * (e->sy - y0) / (y1-y0); y0 = e->sy; } if (y1 > e->ey) { x1 += (x1-x0) * (e->ey - y1) / (y1-y0); y1 = e->ey; } if (x0 == x) STBTT_assert(x1 <= x+1); else if (x0 == x+1) STBTT_assert(x1 >= x); else if (x0 <= x) STBTT_assert(x1 <= x); else if (x0 >= x+1) STBTT_assert(x1 >= x+1); else STBTT_assert(x1 >= x && x1 <= x+1); if (x0 <= x && x1 <= x) scanline[x] += e->direction * (y1-y0); else if (x0 >= x+1 && x1 >= x+1) ; else { STBTT_assert(x0 >= x && x0 <= x+1 && x1 >= x && x1 <= x+1); scanline[x] += e->direction * (y1-y0) * (1-((x0-x)+(x1-x))/2); // coverage = 1 - average x position } } static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; while (e) { // brute force every pixel // compute intersection points with top & bottom STBTT_assert(e->ey >= y_top); if (e->fdx == 0) { float x0 = e->fx; if (x0 < len) { if (x0 >= 0) { stbtt__handle_clipped_edge(scanline,(int) x0,e, x0,y_top, x0,y_bottom); stbtt__handle_clipped_edge(scanline_fill-1,(int) x0+1,e, x0,y_top, x0,y_bottom); } else { stbtt__handle_clipped_edge(scanline_fill-1,0,e, x0,y_top, x0,y_bottom); } } } else { float x0 = e->fx; float dx = e->fdx; float xb = x0 + dx; float x_top, x_bottom; float sy0,sy1; float dy = e->fdy; STBTT_assert(e->sy <= y_bottom && e->ey >= y_top); // compute endpoints of line segment clipped to this scanline (if the // line segment starts on this scanline. x0 is the intersection of the // line with y_top, but that may be off the line segment. if (e->sy > y_top) { x_top = x0 + dx * (e->sy - y_top); sy0 = e->sy; } else { x_top = x0; sy0 = y_top; } if (e->ey < y_bottom) { x_bottom = x0 + dx * (e->ey - y_top); sy1 = e->ey; } else { x_bottom = xb; sy1 = y_bottom; } if (x_top >= 0 && x_bottom >= 0 && x_top < len && x_bottom < len) { // from here on, we don't have to range check x values if ((int) x_top == (int) x_bottom) { float height; // simple case, only spans one pixel int x = (int) x_top; height = sy1 - sy0; STBTT_assert(x >= 0 && x < len); scanline[x] += e->direction * (1-((x_top - x) + (x_bottom-x))/2) * height; scanline_fill[x] += e->direction * height; // everything right of this pixel is filled } else { int x,x1,x2; float y_crossing, step, sign, area; // covers 2+ pixels if (x_top > x_bottom) { // flip scanline vertically; signed area is the same float t; sy0 = y_bottom - (sy0 - y_top); sy1 = y_bottom - (sy1 - y_top); t = sy0, sy0 = sy1, sy1 = t; t = x_bottom, x_bottom = x_top, x_top = t; // SOKOL FIXME: static analyzer fix 'Value stored to 'dx' is never read' //dx = -dx; dy = -dy; // SOKOL FIXME: static analyzer fix 'Although the value stored to 'xb' is used in the enclosing expression, the value is never actually read from 'xb'' /*t = x0,*/x0 = xb/*xb = t*/; } x1 = (int) x_top; x2 = (int) x_bottom; // compute intersection with y axis at x1+1 y_crossing = (x1+1 - x0) * dy + y_top; sign = e->direction; // area of the rectangle covered from y0..y_crossing area = sign * (y_crossing-sy0); // area of the triangle (x_top,y0), (x+1,y0), (x+1,y_crossing) scanline[x1] += area * (1-((x_top - x1)+(x1+1-x1))/2); step = sign * dy; for (x = x1+1; x < x2; ++x) { scanline[x] += area + step/2; area += step; } y_crossing += dy * (x2 - (x1+1)); STBTT_assert(STBTT_fabs(area) <= 1.01f); scanline[x2] += area + sign * (1-((x2-x2)+(x_bottom-x2))/2) * (sy1-y_crossing); scanline_fill[x2] += sign * (sy1-sy0); } } else { // if edge goes outside of box we're drawing, we require // clipping logic. since this does not match the intended use // of this library, we use a different, very slow brute // force implementation int x; for (x=0; x < len; ++x) { // cases: // // there can be up to two intersections with the pixel. any intersection // with left or right edges can be handled by splitting into two (or three) // regions. intersections with top & bottom do not necessitate case-wise logic. // // the old way of doing this found the intersections with the left & right edges, // then used some simple logic to produce up to three segments in sorted order // from top-to-bottom. however, this had a problem: if an x edge was epsilon // across the x border, then the corresponding y position might not be distinct // from the other y segment, and it might ignored as an empty segment. to avoid // that, we need to explicitly produce segments based on x positions. // rename variables to clearly-defined pairs float y0 = y_top; float x1 = (float) (x); float x2 = (float) (x+1); float x3 = xb; float y3 = y_bottom; // x = e->x + e->dx * (y-y_top) // (y-y_top) = (x - e->x) / e->dx // y = (x - e->x) / e->dx + y_top float y1 = (x - x0) / dx + y_top; float y2 = (x+1 - x0) / dx + y_top; if (x0 < x1 && x3 > x2) { // three segments descending down-right stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else if (x3 < x1 && x0 > x2) { // three segments descending down-left stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x0 < x1 && x3 > x1) { // two segments across x, down-right stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x3 < x1 && x0 > x1) { // two segments across x, down-left stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x1,y1); stbtt__handle_clipped_edge(scanline,x,e, x1,y1, x3,y3); } else if (x0 < x2 && x3 > x2) { // two segments across x+1, down-right stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else if (x3 < x2 && x0 > x2) { // two segments across x+1, down-left stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x2,y2); stbtt__handle_clipped_edge(scanline,x,e, x2,y2, x3,y3); } else { // one segment stbtt__handle_clipped_edge(scanline,x,e, x0,y0, x3,y3); } } } } e = e->next; } } // directly AA rasterize edges w/o supersampling static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) { stbtt__hheap hh = { 0, 0, 0 }; stbtt__active_edge *active = NULL; int y,j=0, i; float scanline_data[129], *scanline, *scanline2; STBTT__NOTUSED(vsubsample); if (result->w > 64) scanline = (float *) STBTT_malloc((result->w*2+1) * sizeof(float), userdata); else scanline = scanline_data; scanline2 = scanline + result->w; y = off_y; e[n].y0 = (float) (off_y + result->h) + 1; while (j < result->h) { // find center of pixel for this scanline float scan_y_top = y + 0.0f; float scan_y_bottom = y + 1.0f; stbtt__active_edge **step = &active; STBTT_memset(scanline , 0, result->w*sizeof(scanline[0])); STBTT_memset(scanline2, 0, (result->w+1)*sizeof(scanline[0])); // update all active edges; // remove all active edges that terminate before the top of this scanline while (*step) { stbtt__active_edge * z = *step; if (z->ey <= scan_y_top) { *step = z->next; // delete from list STBTT_assert(z->direction); z->direction = 0; stbtt__hheap_free(&hh, z); } else { step = &((*step)->next); // advance through list } } // insert all edges that start before the bottom of this scanline while (e->y0 <= scan_y_bottom) { if (e->y0 != e->y1) { stbtt__active_edge *z = stbtt__new_active(&hh, e, off_x, scan_y_top, userdata); if (z != NULL) { STBTT_assert(z->ey >= scan_y_top); // insert at front z->next = active; active = z; } } ++e; } // now process all active edges if (active) stbtt__fill_active_edges_new(scanline, scanline2+1, result->w, active, scan_y_top); { float sum = 0; for (i=0; i < result->w; ++i) { float k; int m; sum += scanline2[i]; k = scanline[i] + sum; k = (float) STBTT_fabs(k)*255 + 0.5f; m = (int) k; if (m > 255) m = 255; result->pixels[j*result->stride + i] = (unsigned char) m; } } // advance all the edges step = &active; while (*step) { stbtt__active_edge *z = *step; z->fx += z->fdx; // advance to position for current scanline step = &((*step)->next); // advance through list } ++y; ++j; } stbtt__hheap_cleanup(&hh, userdata); if (scanline != scanline_data) STBTT_free(scanline, userdata); } #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif #define STBTT__COMPARE(a,b) ((a)->y0 < (b)->y0) static void stbtt__sort_edges_ins_sort(stbtt__edge *p, int n) { int i,j; for (i=1; i < n; ++i) { stbtt__edge t = p[i], *a = &t; j = i; while (j > 0) { stbtt__edge *b = &p[j-1]; int c = STBTT__COMPARE(a,b); if (!c) break; p[j] = p[j-1]; --j; } if (i != j) p[j] = t; } } static void stbtt__sort_edges_quicksort(stbtt__edge *p, int n) { /* threshhold for transitioning to insertion sort */ while (n > 12) { stbtt__edge t; int c01,c12,c,m,i,j; /* compute median of three */ m = n >> 1; c01 = STBTT__COMPARE(&p[0],&p[m]); c12 = STBTT__COMPARE(&p[m],&p[n-1]); /* if 0 >= mid >= end, or 0 < mid < end, then use mid */ if (c01 != c12) { /* otherwise, we'll need to swap something else to middle */ int z; c = STBTT__COMPARE(&p[0],&p[n-1]); /* 0>mid && mid<n: 0>n => n; 0<n => 0 */ /* 0<mid && mid>n: 0>n => 0; 0<n => n */ z = (c == c12) ? 0 : n-1; t = p[z]; p[z] = p[m]; p[m] = t; } /* now p[m] is the median-of-three */ /* swap it to the beginning so it won't move around */ t = p[0]; p[0] = p[m]; p[m] = t; /* partition loop */ i=1; j=n-1; for(;;) { /* handling of equality is crucial here */ /* for sentinels & efficiency with duplicates */ for (;;++i) { if (!STBTT__COMPARE(&p[i], &p[0])) break; } for (;;--j) { if (!STBTT__COMPARE(&p[0], &p[j])) break; } /* make sure we haven't crossed */ if (i >= j) break; t = p[i]; p[i] = p[j]; p[j] = t; ++i; --j; } /* recurse on smaller side, iterate on larger */ if (j < (n-i)) { stbtt__sort_edges_quicksort(p,j); p = p+i; n = n-i; } else { stbtt__sort_edges_quicksort(p+i, n-i); n = j; } } } static void stbtt__sort_edges(stbtt__edge *p, int n) { stbtt__sort_edges_quicksort(p, n); stbtt__sort_edges_ins_sort(p, n); } typedef struct { float x,y; } stbtt__point; static void stbtt__rasterize(stbtt__bitmap *result, stbtt__point *pts, int *wcount, int windings, float scale_x, float scale_y, float shift_x, float shift_y, int off_x, int off_y, int invert, void *userdata) { float y_scale_inv = invert ? -scale_y : scale_y; stbtt__edge *e; int n,i,j,k,m; #if STBTT_RASTERIZER_VERSION == 1 int vsubsample = result->h < 8 ? 15 : 5; #elif STBTT_RASTERIZER_VERSION == 2 int vsubsample = 1; #else #error "Unrecognized value of STBTT_RASTERIZER_VERSION" #endif // vsubsample should divide 255 evenly; otherwise we won't reach full opacity // now we have to blow out the windings into explicit edge lists n = 0; for (i=0; i < windings; ++i) n += wcount[i]; e = (stbtt__edge *) STBTT_malloc(sizeof(*e) * (n+1), userdata); // add an extra one as a sentinel if (e == 0) return; n = 0; m=0; for (i=0; i < windings; ++i) { stbtt__point *p = pts + m; m += wcount[i]; j = wcount[i]-1; for (k=0; k < wcount[i]; j=k++) { int a=k,b=j; // skip the edge if horizontal if (p[j].y == p[k].y) continue; // add edge from j to k to the list e[n].invert = 0; if (invert ? p[j].y > p[k].y : p[j].y < p[k].y) { e[n].invert = 1; a=j,b=k; } e[n].x0 = p[a].x * scale_x + shift_x; e[n].y0 = (p[a].y * y_scale_inv + shift_y) * vsubsample; e[n].x1 = p[b].x * scale_x + shift_x; e[n].y1 = (p[b].y * y_scale_inv + shift_y) * vsubsample; ++n; } } // now sort the edges by their highest point (should snap to integer, and then by x) //STBTT_sort(e, n, sizeof(e[0]), stbtt__edge_compare); stbtt__sort_edges(e, n); // now, traverse the scanlines and find the intersections on each scanline, use xor winding rule stbtt__rasterize_sorted_edges(result, e, n, vsubsample, off_x, off_y, userdata); STBTT_free(e, userdata); } static void stbtt__add_point(stbtt__point *points, int n, float x, float y) { if (!points) return; // during first pass, it's unallocated points[n].x = x; points[n].y = y; } // tesselate until threshhold p is happy... @TODO warped to compensate for non-linear stretching static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) { // midpoint float mx = (x0 + 2*x1 + x2)/4; float my = (y0 + 2*y1 + y2)/4; // versus directly drawn line float dx = (x0+x2)/2 - mx; float dy = (y0+y2)/2 - my; if (n > 16) // 65536 segments on one curve better be enough! return 1; if (dx*dx+dy*dy > objspace_flatness_squared) { // half-pixel error allowed... need to be smaller if AA stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatness_squared,n+1); stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatness_squared,n+1); } else { stbtt__add_point(points, *num_points,x2,y2); *num_points = *num_points+1; } return 1; } static void stbtt__tesselate_cubic(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3, float objspace_flatness_squared, int n) { // @TODO this "flatness" calculation is just made-up nonsense that seems to work well enough float dx0 = x1-x0; float dy0 = y1-y0; float dx1 = x2-x1; float dy1 = y2-y1; float dx2 = x3-x2; float dy2 = y3-y2; float dx = x3-x0; float dy = y3-y0; float longlen = (float) (STBTT_sqrt(dx0*dx0+dy0*dy0)+STBTT_sqrt(dx1*dx1+dy1*dy1)+STBTT_sqrt(dx2*dx2+dy2*dy2)); float shortlen = (float) STBTT_sqrt(dx*dx+dy*dy); float flatness_squared = longlen*longlen-shortlen*shortlen; if (n > 16) // 65536 segments on one curve better be enough! return; if (flatness_squared > objspace_flatness_squared) { float x01 = (x0+x1)/2; float y01 = (y0+y1)/2; float x12 = (x1+x2)/2; float y12 = (y1+y2)/2; float x23 = (x2+x3)/2; float y23 = (y2+y3)/2; float xa = (x01+x12)/2; float ya = (y01+y12)/2; float xb = (x12+x23)/2; float yb = (y12+y23)/2; float mx = (xa+xb)/2; float my = (ya+yb)/2; stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared,n+1); stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared,n+1); } else { stbtt__add_point(points, *num_points,x3,y3); *num_points = *num_points+1; } } // returns number of contours static stbtt__point *stbtt_FlattenCurves(stbtt_vertex *vertices, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) { stbtt__point *points=0; int num_points=0; float objspace_flatness_squared = objspace_flatness * objspace_flatness; int i,n=0,start=0, pass; // count how many "moves" there are to get the contour count for (i=0; i < num_verts; ++i) if (vertices[i].type == STBTT_vmove) ++n; *num_contours = n; if (n == 0) return 0; *contour_lengths = (int *) STBTT_malloc(sizeof(**contour_lengths) * n, userdata); if (*contour_lengths == 0) { *num_contours = 0; return 0; } // make two passes through the points so we don't need to realloc for (pass=0; pass < 2; ++pass) { float x=0,y=0; if (pass == 1) { points = (stbtt__point *) STBTT_malloc(num_points * sizeof(points[0]), userdata); if (points == NULL) goto error; } num_points = 0; n= -1; for (i=0; i < num_verts; ++i) { switch (vertices[i].type) { case STBTT_vmove: // start the next contour if (n >= 0) (*contour_lengths)[n] = num_points - start; ++n; start = num_points; x = vertices[i].x, y = vertices[i].y; stbtt__add_point(points, num_points++, x,y); break; case STBTT_vline: x = vertices[i].x, y = vertices[i].y; stbtt__add_point(points, num_points++, x, y); break; case STBTT_vcurve: stbtt__tesselate_curve(points, &num_points, x,y, vertices[i].cx, vertices[i].cy, vertices[i].x, vertices[i].y, objspace_flatness_squared, 0); x = vertices[i].x, y = vertices[i].y; break; case STBTT_vcubic: stbtt__tesselate_cubic(points, &num_points, x,y, vertices[i].cx, vertices[i].cy, vertices[i].cx1, vertices[i].cy1, vertices[i].x, vertices[i].y, objspace_flatness_squared, 0); x = vertices[i].x, y = vertices[i].y; break; } } (*contour_lengths)[n] = num_points - start; } return points; error: STBTT_free(points, userdata); STBTT_free(*contour_lengths, userdata); *contour_lengths = 0; *num_contours = 0; return NULL; } STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, float flatness_in_pixels, stbtt_vertex *vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void *userdata) { float scale = scale_x > scale_y ? scale_y : scale_x; int winding_count, *winding_lengths; stbtt__point *windings = stbtt_FlattenCurves(vertices, num_verts, flatness_in_pixels / scale, &winding_lengths, &winding_count, userdata); if (windings) { stbtt__rasterize(result, windings, winding_lengths, winding_count, scale_x, scale_y, shift_x, shift_y, x_off, y_off, invert, userdata); STBTT_free(winding_lengths, userdata); STBTT_free(windings, userdata); } } STBTT_DEF void stbtt_FreeBitmap(unsigned char *bitmap, void *userdata) { STBTT_free(bitmap, userdata); } STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int glyph, int *width, int *height, int *xoff, int *yoff) { int ix0,iy0,ix1,iy1; stbtt__bitmap gbm; stbtt_vertex *vertices; int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); if (scale_x == 0) scale_x = scale_y; if (scale_y == 0) { if (scale_x == 0) { STBTT_free(vertices, info->userdata); return NULL; } scale_y = scale_x; } stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,&ix1,&iy1); // now we get the size gbm.w = (ix1 - ix0); gbm.h = (iy1 - iy0); gbm.pixels = NULL; // in case we error if (width ) *width = gbm.w; if (height) *height = gbm.h; if (xoff ) *xoff = ix0; if (yoff ) *yoff = iy0; if (gbm.w && gbm.h) { gbm.pixels = (unsigned char *) STBTT_malloc(gbm.w * gbm.h, info->userdata); if (gbm.pixels) { gbm.stride = gbm.w; stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0, iy0, 1, info->userdata); } } STBTT_free(vertices, info->userdata); return gbm.pixels; } STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y, 0.0f, 0.0f, glyph, width, height, xoff, yoff); } STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph) { int ix0,iy0; stbtt_vertex *vertices; int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); stbtt__bitmap gbm; stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale_x, scale_y, shift_x, shift_y, &ix0,&iy0,0,0); gbm.pixels = output; gbm.w = out_w; gbm.h = out_h; gbm.stride = out_stride; if (gbm.w && gbm.h) stbtt_Rasterize(&gbm, 0.35f, vertices, num_verts, scale_x, scale_y, shift_x, shift_y, ix0,iy0, 1, info->userdata); STBTT_free(vertices, info->userdata); } STBTT_DEF void stbtt_MakeGlyphBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, glyph); } STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphBitmapSubpixel(info, scale_x, scale_y,shift_x,shift_y, stbtt_FindGlyphIndex(info,codepoint), width,height,xoff,yoff); } STBTT_DEF void stbtt_MakeCodepointBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int codepoint) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, shift_x, shift_y, stbtt_FindGlyphIndex(info,codepoint)); } STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetCodepointBitmapSubpixel(info, scale_x, scale_y, 0.0f,0.0f, codepoint, width,height,xoff,yoff); } STBTT_DEF void stbtt_MakeCodepointBitmap(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint) { stbtt_MakeCodepointBitmapSubpixel(info, output, out_w, out_h, out_stride, scale_x, scale_y, 0.0f,0.0f, codepoint); } ////////////////////////////////////////////////////////////////////////////// // // bitmap baking // // This is SUPER-CRAPPY packing to keep source code small static int stbtt_BakeFontBitmap_internal(unsigned char *data, int offset, // font location (use offset=0 for plain .ttf) float pixel_height, // height of font in pixels unsigned char *pixels, int pw, int ph, // bitmap to be filled in int first_char, int num_chars, // characters to bake stbtt_bakedchar *chardata) { float scale; int x,y,bottom_y, i; stbtt_fontinfo f; f.userdata = NULL; if (!stbtt_InitFont(&f, data, offset)) return -1; STBTT_memset(pixels, 0, pw*ph); // background of 0 around pixels x=y=1; bottom_y = 1; scale = stbtt_ScaleForPixelHeight(&f, pixel_height); for (i=0; i < num_chars; ++i) { int advance, lsb, x0,y0,x1,y1,gw,gh; int g = stbtt_FindGlyphIndex(&f, first_char + i); stbtt_GetGlyphHMetrics(&f, g, &advance, &lsb); stbtt_GetGlyphBitmapBox(&f, g, scale,scale, &x0,&y0,&x1,&y1); gw = x1-x0; gh = y1-y0; if (x + gw + 1 >= pw) y = bottom_y, x = 1; // advance to next row if (y + gh + 1 >= ph) // check if it fits vertically AFTER potentially moving to next row return -i; STBTT_assert(x+gw < pw); STBTT_assert(y+gh < ph); stbtt_MakeGlyphBitmap(&f, pixels+x+y*pw, gw,gh,pw, scale,scale, g); chardata[i].x0 = (stbtt_int16) x; chardata[i].y0 = (stbtt_int16) y; chardata[i].x1 = (stbtt_int16) (x + gw); chardata[i].y1 = (stbtt_int16) (y + gh); chardata[i].xadvance = scale * advance; chardata[i].xoff = (float) x0; chardata[i].yoff = (float) y0; x = x + gw + 1; if (y+gh+1 > bottom_y) bottom_y = y+gh+1; } return bottom_y; } STBTT_DEF void stbtt_GetBakedQuad(const stbtt_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int opengl_fillrule) { float d3d_bias = opengl_fillrule ? 0 : -0.5f; float ipw = 1.0f / pw, iph = 1.0f / ph; const stbtt_bakedchar *b = chardata + char_index; int round_x = STBTT_ifloor((*xpos + b->xoff) + 0.5f); int round_y = STBTT_ifloor((*ypos + b->yoff) + 0.5f); q->x0 = round_x + d3d_bias; q->y0 = round_y + d3d_bias; q->x1 = round_x + b->x1 - b->x0 + d3d_bias; q->y1 = round_y + b->y1 - b->y0 + d3d_bias; q->s0 = b->x0 * ipw; q->t0 = b->y0 * iph; q->s1 = b->x1 * ipw; q->t1 = b->y1 * iph; *xpos += b->xadvance; } ////////////////////////////////////////////////////////////////////////////// // // rectangle packing replacement routines if you don't have stb_rect_pack.h // #ifndef STB_RECT_PACK_VERSION typedef int stbrp_coord; //////////////////////////////////////////////////////////////////////////////////// // // // // // COMPILER WARNING ?!?!? // // // // // // if you get a compile warning due to these symbols being defined more than // // once, move #include "stb_rect_pack.h" before #include "stb_truetype.h" // // // //////////////////////////////////////////////////////////////////////////////////// typedef struct { int width,height; int x,y,bottom_y; } stbrp_context; typedef struct { unsigned char x; } stbrp_node; struct stbrp_rect { stbrp_coord x,y; int id,w,h,was_packed; }; static void stbrp_init_target(stbrp_context *con, int pw, int ph, stbrp_node *nodes, int num_nodes) { con->width = pw; con->height = ph; con->x = 0; con->y = 0; con->bottom_y = 0; STBTT__NOTUSED(nodes); STBTT__NOTUSED(num_nodes); } static void stbrp_pack_rects(stbrp_context *con, stbrp_rect *rects, int num_rects) { int i; for (i=0; i < num_rects; ++i) { if (con->x + rects[i].w > con->width) { con->x = 0; con->y = con->bottom_y; } if (con->y + rects[i].h > con->height) break; rects[i].x = con->x; rects[i].y = con->y; rects[i].was_packed = 1; con->x += rects[i].w; if (con->y + rects[i].h > con->bottom_y) con->bottom_y = con->y + rects[i].h; } for ( ; i < num_rects; ++i) rects[i].was_packed = 0; } #endif ////////////////////////////////////////////////////////////////////////////// // // bitmap baking // // This is SUPER-AWESOME (tm Ryan Gordon) packing using stb_rect_pack.h. If // stb_rect_pack.h isn't available, it uses the BakeFontBitmap strategy. STBTT_DEF int stbtt_PackBegin(stbtt_pack_context *spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) { stbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context); int num_nodes = pw - padding; stbrp_node *nodes = (stbrp_node *) STBTT_malloc(sizeof(*nodes ) * num_nodes,alloc_context); if (context == NULL || nodes == NULL) { if (context != NULL) STBTT_free(context, alloc_context); if (nodes != NULL) STBTT_free(nodes , alloc_context); return 0; } spc->user_allocator_context = alloc_context; spc->width = pw; spc->height = ph; spc->pixels = pixels; spc->pack_info = context; spc->nodes = nodes; spc->padding = padding; spc->stride_in_bytes = stride_in_bytes != 0 ? stride_in_bytes : pw; spc->h_oversample = 1; spc->v_oversample = 1; stbrp_init_target(context, pw-padding, ph-padding, nodes, num_nodes); if (pixels) STBTT_memset(pixels, 0, pw*ph); // background of 0 around pixels return 1; } STBTT_DEF void stbtt_PackEnd (stbtt_pack_context *spc) { STBTT_free(spc->nodes , spc->user_allocator_context); STBTT_free(spc->pack_info, spc->user_allocator_context); } STBTT_DEF void stbtt_PackSetOversampling(stbtt_pack_context *spc, unsigned int h_oversample, unsigned int v_oversample) { STBTT_assert(h_oversample <= STBTT_MAX_OVERSAMPLE); STBTT_assert(v_oversample <= STBTT_MAX_OVERSAMPLE); if (h_oversample <= STBTT_MAX_OVERSAMPLE) spc->h_oversample = h_oversample; if (v_oversample <= STBTT_MAX_OVERSAMPLE) spc->v_oversample = v_oversample; } #define STBTT__OVER_MASK (STBTT_MAX_OVERSAMPLE-1) static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_w = w - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze for (j=0; j < h; ++j) { int i; unsigned int total; STBTT_memset(buffer, 0, kernel_width); total = 0; // make kernel_width a constant in common cases so compiler can optimize out the divide switch (kernel_width) { case 2: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 2); } break; case 3: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 3); } break; case 4: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 4); } break; case 5: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / 5); } break; default: for (i=0; i <= safe_w; ++i) { total += pixels[i] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i]; pixels[i] = (unsigned char) (total / kernel_width); } break; } for (; i < w; ++i) { STBTT_assert(pixels[i] == 0); total -= buffer[i & STBTT__OVER_MASK]; pixels[i] = (unsigned char) (total / kernel_width); } pixels += stride_in_bytes; } } static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_h = h - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze for (j=0; j < w; ++j) { int i; unsigned int total; STBTT_memset(buffer, 0, kernel_width); total = 0; // make kernel_width a constant in common cases so compiler can optimize out the divide switch (kernel_width) { case 2: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 2); } break; case 3: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 3); } break; case 4: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 4); } break; case 5: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / 5); } break; default: for (i=0; i <= safe_h; ++i) { total += pixels[i*stride_in_bytes] - buffer[i & STBTT__OVER_MASK]; buffer[(i+kernel_width) & STBTT__OVER_MASK] = pixels[i*stride_in_bytes]; pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); } break; } for (; i < h; ++i) { STBTT_assert(pixels[i*stride_in_bytes] == 0); total -= buffer[i & STBTT__OVER_MASK]; pixels[i*stride_in_bytes] = (unsigned char) (total / kernel_width); } pixels += 1; } } static float stbtt__oversample_shift(int oversample) { if (!oversample) return 0.0f; // The prefilter is a box filter of width "oversample", // which shifts phase by (oversample - 1)/2 pixels in // oversampled space. We want to shift in the opposite // direction to counter this. return (float)-(oversample - 1) / (2.0f * (float)oversample); } // rects array must be big enough to accommodate all characters in the given ranges STBTT_DEF int stbtt_PackFontRangesGatherRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k; k=0; for (i=0; i < num_ranges; ++i) { float fh = ranges[i].font_size; float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); ranges[i].h_oversample = (unsigned char) spc->h_oversample; ranges[i].v_oversample = (unsigned char) spc->v_oversample; for (j=0; j < ranges[i].num_chars; ++j) { int x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); stbtt_GetGlyphBitmapBoxSubpixel(info,glyph, scale * spc->h_oversample, scale * spc->v_oversample, 0,0, &x0,&y0,&x1,&y1); rects[k].w = (stbrp_coord) (x1-x0 + spc->padding + spc->h_oversample-1); rects[k].h = (stbrp_coord) (y1-y0 + spc->padding + spc->v_oversample-1); ++k; } } return k; } STBTT_DEF void stbtt_MakeGlyphBitmapSubpixelPrefilter(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int prefilter_x, int prefilter_y, float *sub_x, float *sub_y, int glyph) { stbtt_MakeGlyphBitmapSubpixel(info, output, out_w - (prefilter_x - 1), out_h - (prefilter_y - 1), out_stride, scale_x, scale_y, shift_x, shift_y, glyph); if (prefilter_x > 1) stbtt__h_prefilter(output, out_w, out_h, out_stride, prefilter_x); if (prefilter_y > 1) stbtt__v_prefilter(output, out_w, out_h, out_stride, prefilter_y); *sub_x = stbtt__oversample_shift(prefilter_x); *sub_y = stbtt__oversample_shift(prefilter_y); } // rects array must be big enough to accommodate all characters in the given ranges STBTT_DEF int stbtt_PackFontRangesRenderIntoRects(stbtt_pack_context *spc, const stbtt_fontinfo *info, stbtt_pack_range *ranges, int num_ranges, stbrp_rect *rects) { int i,j,k, return_value = 1; // save current values int old_h_over = spc->h_oversample; int old_v_over = spc->v_oversample; k = 0; for (i=0; i < num_ranges; ++i) { float fh = ranges[i].font_size; float scale = fh > 0 ? stbtt_ScaleForPixelHeight(info, fh) : stbtt_ScaleForMappingEmToPixels(info, -fh); float recip_h,recip_v,sub_x,sub_y; spc->h_oversample = ranges[i].h_oversample; spc->v_oversample = ranges[i].v_oversample; recip_h = 1.0f / spc->h_oversample; recip_v = 1.0f / spc->v_oversample; sub_x = stbtt__oversample_shift(spc->h_oversample); sub_y = stbtt__oversample_shift(spc->v_oversample); for (j=0; j < ranges[i].num_chars; ++j) { stbrp_rect *r = &rects[k]; if (r->was_packed) { stbtt_packedchar *bc = &ranges[i].chardata_for_range[j]; int advance, lsb, x0,y0,x1,y1; int codepoint = ranges[i].array_of_unicode_codepoints == NULL ? ranges[i].first_unicode_codepoint_in_range + j : ranges[i].array_of_unicode_codepoints[j]; int glyph = stbtt_FindGlyphIndex(info, codepoint); stbrp_coord pad = (stbrp_coord) spc->padding; // pad on left and top r->x += pad; r->y += pad; r->w -= pad; r->h -= pad; stbtt_GetGlyphHMetrics(info, glyph, &advance, &lsb); stbtt_GetGlyphBitmapBox(info, glyph, scale * spc->h_oversample, scale * spc->v_oversample, &x0,&y0,&x1,&y1); stbtt_MakeGlyphBitmapSubpixel(info, spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w - spc->h_oversample+1, r->h - spc->v_oversample+1, spc->stride_in_bytes, scale * spc->h_oversample, scale * spc->v_oversample, 0,0, glyph); if (spc->h_oversample > 1) stbtt__h_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w, r->h, spc->stride_in_bytes, spc->h_oversample); if (spc->v_oversample > 1) stbtt__v_prefilter(spc->pixels + r->x + r->y*spc->stride_in_bytes, r->w, r->h, spc->stride_in_bytes, spc->v_oversample); bc->x0 = (stbtt_int16) r->x; bc->y0 = (stbtt_int16) r->y; bc->x1 = (stbtt_int16) (r->x + r->w); bc->y1 = (stbtt_int16) (r->y + r->h); bc->xadvance = scale * advance; bc->xoff = (float) x0 * recip_h + sub_x; bc->yoff = (float) y0 * recip_v + sub_y; bc->xoff2 = (x0 + r->w) * recip_h + sub_x; bc->yoff2 = (y0 + r->h) * recip_v + sub_y; } else { return_value = 0; // if any fail, report failure } ++k; } } // restore original values spc->h_oversample = old_h_over; spc->v_oversample = old_v_over; return return_value; } STBTT_DEF void stbtt_PackFontRangesPackRects(stbtt_pack_context *spc, stbrp_rect *rects, int num_rects) { stbrp_pack_rects((stbrp_context *) spc->pack_info, rects, num_rects); } STBTT_DEF int stbtt_PackFontRanges(stbtt_pack_context *spc, unsigned char *fontdata, int font_index, stbtt_pack_range *ranges, int num_ranges) { stbtt_fontinfo info; int i,j,n, return_value = 1; //stbrp_context *context = (stbrp_context *) spc->pack_info; stbrp_rect *rects; // flag all characters as NOT packed for (i=0; i < num_ranges; ++i) for (j=0; j < ranges[i].num_chars; ++j) ranges[i].chardata_for_range[j].x0 = ranges[i].chardata_for_range[j].y0 = ranges[i].chardata_for_range[j].x1 = ranges[i].chardata_for_range[j].y1 = 0; n = 0; for (i=0; i < num_ranges; ++i) n += ranges[i].num_chars; rects = (stbrp_rect *) STBTT_malloc(sizeof(*rects) * n, spc->user_allocator_context); if (rects == NULL) return 0; info.userdata = spc->user_allocator_context; stbtt_InitFont(&info, fontdata, stbtt_GetFontOffsetForIndex(fontdata,font_index)); n = stbtt_PackFontRangesGatherRects(spc, &info, ranges, num_ranges, rects); stbtt_PackFontRangesPackRects(spc, rects, n); return_value = stbtt_PackFontRangesRenderIntoRects(spc, &info, ranges, num_ranges, rects); STBTT_free(rects, spc->user_allocator_context); return return_value; } STBTT_DEF int stbtt_PackFontRange(stbtt_pack_context *spc, unsigned char *fontdata, int font_index, float font_size, int first_unicode_codepoint_in_range, int num_chars_in_range, stbtt_packedchar *chardata_for_range) { stbtt_pack_range range; range.first_unicode_codepoint_in_range = first_unicode_codepoint_in_range; range.array_of_unicode_codepoints = NULL; range.num_chars = num_chars_in_range; range.chardata_for_range = chardata_for_range; range.font_size = font_size; return stbtt_PackFontRanges(spc, fontdata, font_index, &range, 1); } STBTT_DEF void stbtt_GetPackedQuad(const stbtt_packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad *q, int align_to_integer) { float ipw = 1.0f / pw, iph = 1.0f / ph; const stbtt_packedchar *b = chardata + char_index; if (align_to_integer) { float x = (float) STBTT_ifloor((*xpos + b->xoff) + 0.5f); float y = (float) STBTT_ifloor((*ypos + b->yoff) + 0.5f); q->x0 = x; q->y0 = y; q->x1 = x + b->xoff2 - b->xoff; q->y1 = y + b->yoff2 - b->yoff; } else { q->x0 = *xpos + b->xoff; q->y0 = *ypos + b->yoff; q->x1 = *xpos + b->xoff2; q->y1 = *ypos + b->yoff2; } q->s0 = b->x0 * ipw; q->t0 = b->y0 * iph; q->s1 = b->x1 * ipw; q->t1 = b->y1 * iph; *xpos += b->xadvance; } ////////////////////////////////////////////////////////////////////////////// // // sdf computation // #define STBTT_min(a,b) ((a) < (b) ? (a) : (b)) #define STBTT_max(a,b) ((a) < (b) ? (b) : (a)) static int stbtt__ray_intersect_bezier(float orig[2], float ray[2], float q0[2], float q1[2], float q2[2], float hits[2][2]) { float q0perp = q0[1]*ray[0] - q0[0]*ray[1]; float q1perp = q1[1]*ray[0] - q1[0]*ray[1]; float q2perp = q2[1]*ray[0] - q2[0]*ray[1]; float roperp = orig[1]*ray[0] - orig[0]*ray[1]; float a = q0perp - 2*q1perp + q2perp; float b = q1perp - q0perp; float c = q0perp - roperp; float s0 = 0., s1 = 0.; int num_s = 0; if (a != 0.0) { float discr = b*b - a*c; if (discr > 0.0) { float rcpna = -1 / a; float d = (float) sqrt(discr); s0 = (b+d) * rcpna; s1 = (b-d) * rcpna; if (s0 >= 0.0 && s0 <= 1.0) num_s = 1; if (d > 0.0 && s1 >= 0.0 && s1 <= 1.0) { if (num_s == 0) s0 = s1; ++num_s; } } } else { // 2*b*s + c = 0 // s = -c / (2*b) s0 = c / (-2 * b); if (s0 >= 0.0 && s0 <= 1.0) num_s = 1; } if (num_s == 0) return 0; else { float rcp_len2 = 1 / (ray[0]*ray[0] + ray[1]*ray[1]); float rayn_x = ray[0] * rcp_len2, rayn_y = ray[1] * rcp_len2; float q0d = q0[0]*rayn_x + q0[1]*rayn_y; float q1d = q1[0]*rayn_x + q1[1]*rayn_y; float q2d = q2[0]*rayn_x + q2[1]*rayn_y; float rod = orig[0]*rayn_x + orig[1]*rayn_y; float q10d = q1d - q0d; float q20d = q2d - q0d; float q0rd = q0d - rod; hits[0][0] = q0rd + s0*(2.0f - 2.0f*s0)*q10d + s0*s0*q20d; hits[0][1] = a*s0+b; if (num_s > 1) { hits[1][0] = q0rd + s1*(2.0f - 2.0f*s1)*q10d + s1*s1*q20d; hits[1][1] = a*s1+b; return 2; } else { return 1; } } } static int equal(float *a, float *b) { return (a[0] == b[0] && a[1] == b[1]); } static int stbtt__compute_crossings_x(float x, float y, int nverts, stbtt_vertex *verts) { int i; float orig[2], ray[2] = { 1, 0 }; float y_frac; int winding = 0; orig[0] = x; orig[1] = y; // make sure y never passes through a vertex of the shape y_frac = (float) fmod(y, 1.0f); if (y_frac < 0.01f) y += 0.01f; else if (y_frac > 0.99f) y -= 0.01f; orig[1] = y; // test a ray from (-infinity,y) to (x,y) for (i=0; i < nverts; ++i) { if (verts[i].type == STBTT_vline) { int x0 = (int) verts[i-1].x, y0 = (int) verts[i-1].y; int x1 = (int) verts[i ].x, y1 = (int) verts[i ].y; if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; if (x_inter < x) winding += (y0 < y1) ? 1 : -1; } } if (verts[i].type == STBTT_vcurve) { int x0 = (int) verts[i-1].x , y0 = (int) verts[i-1].y ; int x1 = (int) verts[i ].cx, y1 = (int) verts[i ].cy; int x2 = (int) verts[i ].x , y2 = (int) verts[i ].y ; int ax = STBTT_min(x0,STBTT_min(x1,x2)), ay = STBTT_min(y0,STBTT_min(y1,y2)); int by = STBTT_max(y0,STBTT_max(y1,y2)); if (y > ay && y < by && x > ax) { float q0[2],q1[2],q2[2]; float hits[2][2]; q0[0] = (float)x0; q0[1] = (float)y0; q1[0] = (float)x1; q1[1] = (float)y1; q2[0] = (float)x2; q2[1] = (float)y2; if (equal(q0,q1) || equal(q1,q2)) { x0 = (int)verts[i-1].x; y0 = (int)verts[i-1].y; x1 = (int)verts[i ].x; y1 = (int)verts[i ].y; if (y > STBTT_min(y0,y1) && y < STBTT_max(y0,y1) && x > STBTT_min(x0,x1)) { float x_inter = (y - y0) / (y1 - y0) * (x1-x0) + x0; if (x_inter < x) winding += (y0 < y1) ? 1 : -1; } } else { int num_hits = stbtt__ray_intersect_bezier(orig, ray, q0, q1, q2, hits); if (num_hits >= 1) if (hits[0][0] < 0) winding += (hits[0][1] < 0 ? -1 : 1); if (num_hits >= 2) if (hits[1][0] < 0) winding += (hits[1][1] < 0 ? -1 : 1); } } } } return winding; } static float stbtt__cuberoot( float x ) { if (x<0) return -(float) STBTT_pow(-x,1.0f/3.0f); else return (float) STBTT_pow( x,1.0f/3.0f); } // x^3 + c*x^2 + b*x + a = 0 static int stbtt__solve_cubic(float a, float b, float c, float* r) { float s = -a / 3; float p = b - a*a / 3; float q = a * (2*a*a - 9*b) / 27 + c; float p3 = p*p*p; float d = q*q + 4*p3 / 27; if (d >= 0) { float z = (float) STBTT_sqrt(d); float u = (-q + z) / 2; float v = (-q - z) / 2; u = stbtt__cuberoot(u); v = stbtt__cuberoot(v); r[0] = s + u + v; return 1; } else { float u = (float) STBTT_sqrt(-p/3); float v = (float) STBTT_acos(-STBTT_sqrt(-27/p3) * q / 2) / 3; // p3 must be negative, since d is negative float m = (float) STBTT_cos(v); float n = (float) STBTT_cos(v-3.141592/2)*1.732050808f; r[0] = s + u * 2 * m; r[1] = s - u * (m + n); r[2] = s - u * (m - n); //STBTT_assert( STBTT_fabs(((r[0]+a)*r[0]+b)*r[0]+c) < 0.05f); // these asserts may not be safe at all scales, though they're in bezier t parameter units so maybe? //STBTT_assert( STBTT_fabs(((r[1]+a)*r[1]+b)*r[1]+c) < 0.05f); //STBTT_assert( STBTT_fabs(((r[2]+a)*r[2]+b)*r[2]+c) < 0.05f); return 3; } } STBTT_DEF unsigned char * stbtt_GetGlyphSDF(const stbtt_fontinfo *info, float scale, int glyph, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) { float scale_x = scale, scale_y = scale; int ix0,iy0,ix1,iy1; int w,h; unsigned char *data; // if one scale is 0, use same scale for both if (scale_x == 0) scale_x = scale_y; if (scale_y == 0) { if (scale_x == 0) return NULL; // if both scales are 0, return NULL scale_y = scale_x; } stbtt_GetGlyphBitmapBoxSubpixel(info, glyph, scale, scale, 0.0f,0.0f, &ix0,&iy0,&ix1,&iy1); // if empty, return NULL if (ix0 == ix1 || iy0 == iy1) return NULL; ix0 -= padding; iy0 -= padding; ix1 += padding; iy1 += padding; w = (ix1 - ix0); h = (iy1 - iy0); if (width ) *width = w; if (height) *height = h; if (xoff ) *xoff = ix0; if (yoff ) *yoff = iy0; // invert for y-downwards bitmaps scale_y = -scale_y; { int x,y,i,j; float *precompute; stbtt_vertex *verts; int num_verts = stbtt_GetGlyphShape(info, glyph, &verts); data = (unsigned char *) STBTT_malloc(w * h, info->userdata); precompute = (float *) STBTT_malloc(num_verts * sizeof(float), info->userdata); for (i=0,j=num_verts-1; i < num_verts; j=i++) { if (verts[i].type == STBTT_vline) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; float x1 = verts[j].x*scale_x, y1 = verts[j].y*scale_y; float dist = (float) STBTT_sqrt((x1-x0)*(x1-x0) + (y1-y0)*(y1-y0)); precompute[i] = (dist == 0) ? 0.0f : 1.0f / dist; } else if (verts[i].type == STBTT_vcurve) { float x2 = verts[j].x *scale_x, y2 = verts[j].y *scale_y; float x1 = verts[i].cx*scale_x, y1 = verts[i].cy*scale_y; float x0 = verts[i].x *scale_x, y0 = verts[i].y *scale_y; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float len2 = bx*bx + by*by; if (len2 != 0.0f) precompute[i] = 1.0f / (bx*bx + by*by); else precompute[i] = 0.0f; } else precompute[i] = 0.0f; } for (y=iy0; y < iy1; ++y) { for (x=ix0; x < ix1; ++x) { float val; float min_dist = 999999.0f; float sx = (float) x + 0.5f; float sy = (float) y + 0.5f; float x_gspace = (sx / scale_x); float y_gspace = (sy / scale_y); int winding = stbtt__compute_crossings_x(x_gspace, y_gspace, num_verts, verts); // @OPTIMIZE: this could just be a rasterization, but needs to be line vs. non-tesselated curves so a new path for (i=0; i < num_verts; ++i) { float x0 = verts[i].x*scale_x, y0 = verts[i].y*scale_y; // check against every point here rather than inside line/curve primitives -- @TODO: wrong if multiple 'moves' in a row produce a garbage point, and given culling, probably more efficient to do within line/curve float dist2 = (x0-sx)*(x0-sx) + (y0-sy)*(y0-sy); if (dist2 < min_dist*min_dist) min_dist = (float) STBTT_sqrt(dist2); if (verts[i].type == STBTT_vline) { float x1 = verts[i-1].x*scale_x, y1 = verts[i-1].y*scale_y; // coarse culling against bbox //if (sx > STBTT_min(x0,x1)-min_dist && sx < STBTT_max(x0,x1)+min_dist && // sy > STBTT_min(y0,y1)-min_dist && sy < STBTT_max(y0,y1)+min_dist) float dist = (float) STBTT_fabs((x1-x0)*(y0-sy) - (y1-y0)*(x0-sx)) * precompute[i]; STBTT_assert(i != 0); if (dist < min_dist) { // check position along line // x' = x0 + t*(x1-x0), y' = y0 + t*(y1-y0) // minimize (x'-sx)*(x'-sx)+(y'-sy)*(y'-sy) float dx = x1-x0, dy = y1-y0; float px = x0-sx, py = y0-sy; // minimize (px+t*dx)^2 + (py+t*dy)^2 = px*px + 2*px*dx*t + t^2*dx*dx + py*py + 2*py*dy*t + t^2*dy*dy // derivative: 2*px*dx + 2*py*dy + (2*dx*dx+2*dy*dy)*t, set to 0 and solve float t = -(px*dx + py*dy) / (dx*dx + dy*dy); if (t >= 0.0f && t <= 1.0f) min_dist = dist; } } else if (verts[i].type == STBTT_vcurve) { float x2 = verts[i-1].x *scale_x, y2 = verts[i-1].y *scale_y; float x1 = verts[i ].cx*scale_x, y1 = verts[i ].cy*scale_y; float box_x0 = STBTT_min(STBTT_min(x0,x1),x2); float box_y0 = STBTT_min(STBTT_min(y0,y1),y2); float box_x1 = STBTT_max(STBTT_max(x0,x1),x2); float box_y1 = STBTT_max(STBTT_max(y0,y1),y2); // coarse culling against bbox to avoid computing cubic unnecessarily if (sx > box_x0-min_dist && sx < box_x1+min_dist && sy > box_y0-min_dist && sy < box_y1+min_dist) { int num=0; float ax = x1-x0, ay = y1-y0; float bx = x0 - 2*x1 + x2, by = y0 - 2*y1 + y2; float mx = x0 - sx, my = y0 - sy; float res[3],px,py,t,it; float a_inv = precompute[i]; if (a_inv == 0.0) { // if a_inv is 0, it's 2nd degree so use quadratic formula float a = 3*(ax*bx + ay*by); float b = 2*(ax*ax + ay*ay) + (mx*bx+my*by); float c = mx*ax+my*ay; if (a == 0.0) { // if a is 0, it's linear if (b != 0.0) { res[num++] = -c/b; } } else { float discriminant = b*b - 4*a*c; if (discriminant < 0) num = 0; else { float root = (float) STBTT_sqrt(discriminant); res[0] = (-b - root)/(2*a); res[1] = (-b + root)/(2*a); num = 2; // don't bother distinguishing 1-solution case, as code below will still work } } } else { float b = 3*(ax*bx + ay*by) * a_inv; // could precompute this as it doesn't depend on sample point float c = (2*(ax*ax + ay*ay) + (mx*bx+my*by)) * a_inv; float d = (mx*ax+my*ay) * a_inv; num = stbtt__solve_cubic(b, c, d, res); } if (num >= 1 && res[0] >= 0.0f && res[0] <= 1.0f) { t = res[0], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } if (num >= 2 && res[1] >= 0.0f && res[1] <= 1.0f) { t = res[1], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } if (num >= 3 && res[2] >= 0.0f && res[2] <= 1.0f) { t = res[2], it = 1.0f - t; px = it*it*x0 + 2*t*it*x1 + t*t*x2; py = it*it*y0 + 2*t*it*y1 + t*t*y2; dist2 = (px-sx)*(px-sx) + (py-sy)*(py-sy); if (dist2 < min_dist * min_dist) min_dist = (float) STBTT_sqrt(dist2); } } } } if (winding == 0) min_dist = -min_dist; // if outside the shape, value is negative val = onedge_value + pixel_dist_scale * min_dist; if (val < 0) val = 0; else if (val > 255) val = 255; data[(y-iy0)*w+(x-ix0)] = (unsigned char) val; } } STBTT_free(precompute, info->userdata); STBTT_free(verts, info->userdata); } return data; } STBTT_DEF unsigned char * stbtt_GetCodepointSDF(const stbtt_fontinfo *info, float scale, int codepoint, int padding, unsigned char onedge_value, float pixel_dist_scale, int *width, int *height, int *xoff, int *yoff) { return stbtt_GetGlyphSDF(info, scale, stbtt_FindGlyphIndex(info, codepoint), padding, onedge_value, pixel_dist_scale, width, height, xoff, yoff); } STBTT_DEF void stbtt_FreeSDF(unsigned char *bitmap, void *userdata) { STBTT_free(bitmap, userdata); } ////////////////////////////////////////////////////////////////////////////// // // font name matching -- recommended not to use this // // check if a utf8 string contains a prefix which is the utf16 string; if so return length of matching utf8 string static stbtt_int32 stbtt__CompareUTF8toUTF16_bigendian_prefix(stbtt_uint8 *s1, stbtt_int32 len1, stbtt_uint8 *s2, stbtt_int32 len2) { stbtt_int32 i=0; // convert utf16 to utf8 and compare the results while converting while (len2) { stbtt_uint16 ch = s2[0]*256 + s2[1]; if (ch < 0x80) { if (i >= len1) return -1; if (s1[i++] != ch) return -1; } else if (ch < 0x800) { if (i+1 >= len1) return -1; if (s1[i++] != 0xc0 + (ch >> 6)) return -1; if (s1[i++] != 0x80 + (ch & 0x3f)) return -1; } else if (ch >= 0xd800 && ch < 0xdc00) { stbtt_uint32 c; stbtt_uint16 ch2 = s2[2]*256 + s2[3]; if (i+3 >= len1) return -1; c = ((ch - 0xd800) << 10) + (ch2 - 0xdc00) + 0x10000; if (s1[i++] != 0xf0 + (c >> 18)) return -1; if (s1[i++] != 0x80 + ((c >> 12) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((c >> 6) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((c ) & 0x3f)) return -1; s2 += 2; // plus another 2 below len2 -= 2; } else if (ch >= 0xdc00 && ch < 0xe000) { return -1; } else { if (i+2 >= len1) return -1; if (s1[i++] != 0xe0 + (ch >> 12)) return -1; if (s1[i++] != 0x80 + ((ch >> 6) & 0x3f)) return -1; if (s1[i++] != 0x80 + ((ch ) & 0x3f)) return -1; } s2 += 2; len2 -= 2; } return i; } static int stbtt_CompareUTF8toUTF16_bigendian_internal(char *s1, int len1, char *s2, int len2) { return len1 == stbtt__CompareUTF8toUTF16_bigendian_prefix((stbtt_uint8*) s1, len1, (stbtt_uint8*) s2, len2); } // returns results in whatever encoding you request... but note that 2-byte encodings // will be BIG-ENDIAN... use stbtt_CompareUTF8toUTF16_bigendian() to compare STBTT_DEF const char *stbtt_GetFontNameString(const stbtt_fontinfo *font, int *length, int platformID, int encodingID, int languageID, int nameID) { stbtt_int32 i,count,stringOffset; stbtt_uint8 *fc = font->data; stbtt_uint32 offset = font->fontstart; stbtt_uint32 nm = stbtt__find_table(fc, offset, "name"); if (!nm) return NULL; count = ttUSHORT(fc+nm+2); stringOffset = nm + ttUSHORT(fc+nm+4); for (i=0; i < count; ++i) { stbtt_uint32 loc = nm + 6 + 12 * i; if (platformID == ttUSHORT(fc+loc+0) && encodingID == ttUSHORT(fc+loc+2) && languageID == ttUSHORT(fc+loc+4) && nameID == ttUSHORT(fc+loc+6)) { *length = ttUSHORT(fc+loc+8); return (const char *) (fc+stringOffset+ttUSHORT(fc+loc+10)); } } return NULL; } static int stbtt__matchpair(stbtt_uint8 *fc, stbtt_uint32 nm, stbtt_uint8 *name, stbtt_int32 nlen, stbtt_int32 target_id, stbtt_int32 next_id) { stbtt_int32 i; stbtt_int32 count = ttUSHORT(fc+nm+2); stbtt_int32 stringOffset = nm + ttUSHORT(fc+nm+4); for (i=0; i < count; ++i) { stbtt_uint32 loc = nm + 6 + 12 * i; stbtt_int32 id = ttUSHORT(fc+loc+6); if (id == target_id) { // find the encoding stbtt_int32 platform = ttUSHORT(fc+loc+0), encoding = ttUSHORT(fc+loc+2), language = ttUSHORT(fc+loc+4); // is this a Unicode encoding? if (platform == 0 || (platform == 3 && encoding == 1) || (platform == 3 && encoding == 10)) { stbtt_int32 slen = ttUSHORT(fc+loc+8); stbtt_int32 off = ttUSHORT(fc+loc+10); // check if there's a prefix match stbtt_int32 matchlen = stbtt__CompareUTF8toUTF16_bigendian_prefix(name, nlen, fc+stringOffset+off,slen); if (matchlen >= 0) { // check for target_id+1 immediately following, with same encoding & language if (i+1 < count && ttUSHORT(fc+loc+12+6) == next_id && ttUSHORT(fc+loc+12) == platform && ttUSHORT(fc+loc+12+2) == encoding && ttUSHORT(fc+loc+12+4) == language) { slen = ttUSHORT(fc+loc+12+8); off = ttUSHORT(fc+loc+12+10); if (slen == 0) { if (matchlen == nlen) return 1; } else if (matchlen < nlen && name[matchlen] == ' ') { ++matchlen; if (stbtt_CompareUTF8toUTF16_bigendian_internal((char*) (name+matchlen), nlen-matchlen, (char*)(fc+stringOffset+off),slen)) return 1; } } else { // if nothing immediately following if (matchlen == nlen) return 1; } } } // @TODO handle other encodings } } return 0; } static int stbtt__matches(stbtt_uint8 *fc, stbtt_uint32 offset, stbtt_uint8 *name, stbtt_int32 flags) { stbtt_int32 nlen = (stbtt_int32) STBTT_strlen((char *) name); stbtt_uint32 nm,hd; if (!stbtt__isfont(fc+offset)) return 0; // check italics/bold/underline flags in macStyle... if (flags) { hd = stbtt__find_table(fc, offset, "head"); if ((ttUSHORT(fc+hd+44) & 7) != (flags & 7)) return 0; } nm = stbtt__find_table(fc, offset, "name"); if (!nm) return 0; if (flags) { // if we checked the macStyle flags, then just check the family and ignore the subfamily if (stbtt__matchpair(fc, nm, name, nlen, 16, -1)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 1, -1)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; } else { if (stbtt__matchpair(fc, nm, name, nlen, 16, 17)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 1, 2)) return 1; if (stbtt__matchpair(fc, nm, name, nlen, 3, -1)) return 1; } return 0; } static int stbtt_FindMatchingFont_internal(unsigned char *font_collection, char *name_utf8, stbtt_int32 flags) { stbtt_int32 i; for (i=0;;++i) { stbtt_int32 off = stbtt_GetFontOffsetForIndex(font_collection, i); if (off < 0) return off; if (stbtt__matches((stbtt_uint8 *) font_collection, off, (stbtt_uint8*) name_utf8, flags)) return off; } } #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" #endif STBTT_DEF int stbtt_BakeFontBitmap(const unsigned char *data, int offset, float pixel_height, unsigned char *pixels, int pw, int ph, int first_char, int num_chars, stbtt_bakedchar *chardata) { return stbtt_BakeFontBitmap_internal((unsigned char *) data, offset, pixel_height, pixels, pw, ph, first_char, num_chars, chardata); } STBTT_DEF int stbtt_GetFontOffsetForIndex(const unsigned char *data, int index) { return stbtt_GetFontOffsetForIndex_internal((unsigned char *) data, index); } STBTT_DEF int stbtt_GetNumberOfFonts(const unsigned char *data) { return stbtt_GetNumberOfFonts_internal((unsigned char *) data); } STBTT_DEF int stbtt_InitFont(stbtt_fontinfo *info, const unsigned char *data, int offset) { return stbtt_InitFont_internal(info, (unsigned char *) data, offset); } STBTT_DEF int stbtt_FindMatchingFont(const unsigned char *fontdata, const char *name, int flags) { return stbtt_FindMatchingFont_internal((unsigned char *) fontdata, (char *) name, flags); } STBTT_DEF int stbtt_CompareUTF8toUTF16_bigendian(const char *s1, int len1, const char *s2, int len2) { return stbtt_CompareUTF8toUTF16_bigendian_internal((char *) s1, len1, (char *) s2, len2); } #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic pop #endif #endif // STB_TRUETYPE_IMPLEMENTATION // FULL VERSION HISTORY // // 1.16 (2017-07-12) SDF support // 1.15 (2017-03-03) make more arguments const // 1.14 (2017-01-16) num-fonts-in-TTC function // 1.13 (2017-01-02) support OpenType fonts, certain Apple fonts // 1.12 (2016-10-25) suppress warnings about casting away const with -Wcast-qual // 1.11 (2016-04-02) fix unused-variable warning // 1.10 (2016-04-02) allow user-defined fabs() replacement // fix memory leak if fontsize=0.0 // fix warning from duplicate typedef // 1.09 (2016-01-16) warning fix; avoid crash on outofmem; use alloc userdata for PackFontRanges // 1.08 (2015-09-13) document stbtt_Rasterize(); fixes for vertical & horizontal edges // 1.07 (2015-08-01) allow PackFontRanges to accept arrays of sparse codepoints; // allow PackFontRanges to pack and render in separate phases; // fix stbtt_GetFontOFfsetForIndex (never worked for non-0 input?); // fixed an assert() bug in the new rasterizer // replace assert() with STBTT_assert() in new rasterizer // 1.06 (2015-07-14) performance improvements (~35% faster on x86 and x64 on test machine) // also more precise AA rasterizer, except if shapes overlap // remove need for STBTT_sort // 1.05 (2015-04-15) fix misplaced definitions for STBTT_STATIC // 1.04 (2015-04-15) typo in example // 1.03 (2015-04-12) STBTT_STATIC, fix memory leak in new packing, various fixes // 1.02 (2014-12-10) fix various warnings & compile issues w/ stb_rect_pack, C++ // 1.01 (2014-12-08) fix subpixel position when oversampling to exactly match // non-oversampled; STBTT_POINT_SIZE for packed case only // 1.00 (2014-12-06) add new PackBegin etc. API, w/ support for oversampling // 0.99 (2014-09-18) fix multiple bugs with subpixel rendering (ryg) // 0.9 (2014-08-07) support certain mac/iOS fonts without an MS platformID // 0.8b (2014-07-07) fix a warning // 0.8 (2014-05-25) fix a few more warnings // 0.7 (2013-09-25) bugfix: subpixel glyph bug fixed in 0.5 had come back // 0.6c (2012-07-24) improve documentation // 0.6b (2012-07-20) fix a few more warnings // 0.6 (2012-07-17) fix warnings; added stbtt_ScaleForMappingEmToPixels, // stbtt_GetFontBoundingBox, stbtt_IsGlyphEmpty // 0.5 (2011-12-09) bugfixes: // subpixel glyph renderer computed wrong bounding box // first vertex of shape can be off-curve (FreeSans) // 0.4b (2011-12-03) fixed an error in the font baking example // 0.4 (2011-12-01) kerning, subpixel rendering (tor) // bugfixes for: // codepoint-to-glyph conversion using table fmt=12 // codepoint-to-glyph conversion using table fmt=4 // stbtt_GetBakedQuad with non-square texture (Zer) // updated Hello World! sample to use kerning and subpixel // fixed some warnings // 0.3 (2009-06-24) cmap fmt=12, compound shapes (MM) // userdata, malloc-from-userdata, non-zero fill (stb) // 0.2 (2009-03-11) Fix unsigned/signed char warnings // 0.1 (2009-03-09) First public release // /* ------------------------------------------------------------------------------ This software is available under 2 licenses -- choose whichever you prefer. ------------------------------------------------------------------------------ ALTERNATIVE A - MIT License Copyright (c) 2017 Sean Barrett Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ ALTERNATIVE B - Public Domain (www.unlicense.org) This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ------------------------------------------------------------------------------ */
0
repos/sokol
repos/sokol/bindgen/gen_jai.py
#------------------------------------------------------------------------------- # gen_jai.py # # Generate Jai bindings. #------------------------------------------------------------------------------- import gen_ir import gen_util as util import os, shutil, sys bindings_root = 'sokol-jai' c_root = f'{bindings_root}/sokol/c' module_root = f'{bindings_root}/sokol' module_names = { 'slog_': 'log', 'sg_': 'gfx', 'sapp_': 'app', 'stm_': 'time', 'saudio_': 'audio', 'sgl_': 'gl', 'sdtx_': 'debugtext', 'sshape_': 'shape', 'sglue_': 'glue', } system_libs = { 'sg_': { 'windows': { 'd3d11': '#system_library,link_always "gdi32"; #system_library,link_always "dxguid"; #system_library,link_always "user32"; #system_library,link_always "shell32"; #system_library,link_always "d3d11";', 'gl': '#system_library,link_always "gdi32"; #system_library,link_always "dxguid"; #system_library,link_always "user32"; #system_library,link_always "shell32";', }, 'macos': { 'metal': '#library,link_always "../../libclang_rt.osx"; #system_library,link_always "Cocoa"; #system_library,link_always "QuartzCore"; #system_library,link_always "Metal"; #system_library,link_always "MetalKit";', 'gl': '#system_library,link_always "Cocoa"; #system_library,link_always "QuartzCore"; #system_library,link_always "OpenGL";', }, 'linux': { 'gl': '#system_library,link_always "libXcursor"; #system_library,link_always "libX11"; #system_library,link_always "libXi"; #system_library,link_always "libGL";', } }, 'sapp_': { 'windows': { 'd3d11': '#system_library,link_always "gdi32"; #system_library,link_always "dxguid"; #system_library,link_always "user32"; #system_library,link_always "shell32";', 'gl': '#system_library,link_always "gdi32"; #system_library,link_always "dxguid"; #system_library,link_always "user32"; #system_library,link_always "shell32";', }, 'macos': { 'metal': '#library "../../libclang_rt.osx"; #system_library,link_always "Cocoa"; #system_library,link_always "QuartzCore";', 'gl': '#system_library,link_always "Cocoa"; #system_library,link_always "QuartzCore";', }, 'linux': { 'gl': '#system_library,link_always "libXcursor"; #system_library,link_always "libX11"; #system_library,link_always "libXi"; #system_library,link_always "libGL";', } }, 'saudio_': { 'windows': { 'd3d11': '#system_library,link_always "ole32";', 'gl': '#system_library,link_always "ole32";', }, 'macos': { 'metal': '#system_library,link_always "AudioToolbox";', 'gl': '#system_library,link_always "AudioToolbox";', }, 'linux': { 'gl': '#system_library,link_always "asound"; #system_library,link_always "dl"; #system_library,link_always "pthread";', } } } c_source_names = { 'slog_': 'sokol_log.c', 'sg_': 'sokol_gfx.c', 'sapp_': 'sokol_app.c', 'sapp_sg': 'sokol_glue.c', 'stm_': 'sokol_time.c', 'saudio_': 'sokol_audio.c', 'sgl_': 'sokol_gl.c', 'sdtx_': 'sokol_debugtext.c', 'sshape_': 'sokol_shape.c', 'sglue_': 'sokol_glue.c', } ignores = [ 'sdtx_printf', 'sdtx_vprintf', 'sg_install_trace_hooks', 'sg_trace_hooks', ] # NOTE: syntax for function results: "func_name.RESULT" overrides = { 'context': 'ctx', # reserved keyword 'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR', } prim_types = { 'int': 's32', 'bool': 'bool', 'char': 'u8', 'int8_t': 's8', 'uint8_t': 'u8', 'int16_t': 's16', 'uint16_t': 'u16', 'int32_t': 's32', 'uint32_t': 'u32', 'int64_t': 's64', 'uint64_t': 'u64', 'float': 'float', 'double': 'float64', 'uintptr_t': 'u64', 'intptr_t': 's64', 'size_t': 'u64' } prim_defaults = { 'int': '0', 'bool': 'false', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', 'uint16_t': '0', 'int32_t': '0', 'uint32_t': '0', 'int64_t': '0', 'uint64_t': '0', 'float': '0.0', 'double': '0.0', 'uintptr_t': '0', 'intptr_t': '0', 'size_t': '0' } struct_types = [] enum_types = [] enum_items = {} out_lines = '' def reset_globals(): global struct_types global enum_types global enum_items global out_lines struct_types = [] enum_types = [] enum_items = {} out_lines = '' def l(s): global out_lines out_lines += s + '\n' def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores # PREFIX_BLA_BLUB to BLA_BLUB, prefix_bla_blub to bla_blub def as_snake_case(s, prefix): outp = s if outp.lower().startswith(prefix): outp = outp[len(prefix):] return outp def get_jai_module_path(c_prefix): return f'{module_root}/{module_names[c_prefix]}' def get_csource_path(c_prefix): return f'{c_root}/{c_source_names[c_prefix]}' def make_jai_module_directory(c_prefix): path = get_jai_module_path(c_prefix) if not os.path.isdir(path): os.makedirs(path) def as_prim_type(s): return prim_types[s] def as_struct_or_enum_type(s, prefix): return s # PREFIX_ENUM_BLA_BLUB => BLA_BLUB, _PREFIX_ENUM_BLA_BLUB => BLA_BLUB def as_enum_item_name(s): outp = s.lstrip('_') parts = outp.split('_')[2:] outp = '_'.join(parts) if outp[0].isdigit(): outp = '_' + outp return outp def enum_default_item(enum_name): return enum_items[enum_name][0] def is_prim_type(s): return s in prim_types def is_int_type(s): return s == "int" def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def map_type(type, prefix, sub_type): if sub_type not in ['c_arg', 'struct_field']: sys.exit(f"Error: map_type(): unknown sub_type '{sub_type}") if type == "void": return "" elif is_struct_type(type): return as_struct_or_enum_type(type, prefix) elif is_enum_type(type): return as_struct_or_enum_type(type, prefix) elif util.is_void_ptr(type): return "*void" elif util.is_const_void_ptr(type): return "*void" elif util.is_string_ptr(type): return "*u8" elif is_const_struct_ptr(type): return f"*{as_struct_or_enum_type(util.extract_ptr_type(type), prefix)}" elif is_prim_ptr(type): return f"*{as_prim_type(util.extract_ptr_type(type))}" elif is_const_prim_ptr(type): return f"*{as_prim_type(util.extract_ptr_type(type))}" elif util.is_1d_array_type(type): array_type = util.extract_array_type(type) array_sizes = util.extract_array_sizes(type) return f"[{array_sizes[0]}]{map_type(array_type, prefix, sub_type)}" elif util.is_2d_array_type(type): array_type = util.extract_array_type(type) array_sizes = util.extract_array_sizes(type) return f"[{array_sizes[0]}][{array_sizes[1]}]{map_type(array_type, prefix, sub_type)}" elif util.is_func_ptr(type): res_type = funcptr_result_c(type, prefix) res_str = '' if res_type == '' else f' -> {res_type}' return f'({funcptr_args_c(type, prefix)}){res_str} #c_call' elif is_prim_type(type): return as_prim_type(type) else: sys.exit(f"Error map_type(): unknown type '{type}'") def funcdecl_args_c(decl, prefix): s = '' func_name = decl['name'] for param_decl in decl['params']: if s != '': s += ', ' param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) s += f"{param_name}: {map_type(param_type, prefix, 'c_arg')}" return s def funcptr_args_c(field_type, prefix): tokens = field_type[field_type.index('(*)')+4:-1].split(',') s = '' arg_index = 0 for token in tokens: arg_type = token.strip() if s != '': s += ', ' c_arg = map_type(arg_type, prefix, 'c_arg') if c_arg == '': return '' else: s += f'a{arg_index}: {c_arg}' arg_index += 1 return s def funcptr_result_c(field_type, prefix): res_type = field_type[:field_type.index('(*)')].strip() return map_type(res_type, prefix, 'c_arg') def funcdecl_result_c(decl, prefix): func_name = decl['name'] decl_type = decl['type'] res_c_type = decl_type[:decl_type.index('(')].strip() return map_type(check_override(f'{func_name}.RESULT', default=res_c_type), prefix, 'c_arg') def get_system_libs(module, platform, backend): if module in system_libs: if platform in system_libs[module]: if backend in system_libs[module][platform]: libs = system_libs[module][platform][backend] if libs != '': return f"{libs}" return '' def gen_c_imports(inp, c_prefix, prefix): module_name = inp["module"] clib_prefix = f'sokol_{module_name}' clib_import = f'{clib_prefix}_clib' windows_d3d11_libs = get_system_libs(prefix, 'windows', 'd3d11') windows_gl_libs = get_system_libs(prefix, 'windows', 'gl') macos_metal_libs = get_system_libs(prefix, 'macos', 'metal') macos_gl_libs = get_system_libs(prefix, 'macos', 'gl') linux_gl_libs = get_system_libs(prefix, 'linux', 'gl') l( '#module_parameters(DEBUG := false, USE_GL := false, USE_DLL := false);') l( '') l( '#scope_export;') l( '') l( '#if OS == .WINDOWS {') l( ' #if USE_DLL {') l( ' #if USE_GL {') l(f' {windows_gl_libs}') l(f' #if DEBUG {{ {clib_import} :: #library "{clib_prefix}_windows_x64_gl_debug"; }}') l(f' else {{ {clib_import} :: #library "{clib_prefix}_windows_x64_gl_release"; }}') l( ' } else {') l(f' {windows_d3d11_libs}') l(f' #if DEBUG {{ {clib_import} :: #library "{clib_prefix}_windows_x64_d3d11_debug"; }}') l(f' else {{ {clib_import} :: #library "{clib_prefix}_windows_x64_d3d11_release"; }}') l( ' }') l( ' } else {') l( ' #if USE_GL {') l(f' {windows_gl_libs}') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_windows_x64_gl_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_windows_x64_gl_release"; }}') l( ' } else {') l(f' {windows_d3d11_libs}') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_windows_x64_d3d11_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_windows_x64_d3d11_release"; }}') l( ' }') l( ' }') l( '}') l( 'else #if OS == .MACOS {') l( ' #if USE_DLL {') l(f' #if USE_GL && CPU == .ARM64 && DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_arm64_gl_debug.dylib"; }}') l(f' else #if USE_GL && CPU == .ARM64 && !DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_arm64_gl_release.dylib"; }}') l(f' else #if USE_GL && CPU == .X64 && DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_x64_gl_debug.dylib"; }}') l(f' else #if USE_GL && CPU == .X64 && !DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_x64_gl_release.dylib"; }}') l(f' else #if !USE_GL && CPU == .ARM64 && DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_arm64_metal_debug.dylib"; }}') l(f' else #if !USE_GL && CPU == .ARM64 && !DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_arm64_metal_release.dylib"; }}') l(f' else #if !USE_GL && CPU == .X64 && DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_x64_metal_debug.dylib"; }}') l(f' else #if !USE_GL && CPU == .X64 && !DEBUG {{ {clib_import} :: #library "../dylib/sokol_dylib_macos_x64_metal_release.dylib"; }}') l( ' } else {') l( ' #if USE_GL {') l(f' {macos_gl_libs}') l( ' #if CPU == .ARM64 {') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_arm64_gl_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_arm64_gl_release"; }}') l( ' } else {') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_x64_gl_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_x64_gl_release"; }}') l( ' }') l( ' } else {') l(f' {macos_metal_libs}') l( ' #if CPU == .ARM64 {') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_arm64_metal_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_arm64_metal_release"; }}') l( ' } else {') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_x64_metal_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_macos_x64_metal_release"; }}') l( ' }') l( ' }') l( ' }') l( '} else #if OS == .LINUX {') if linux_gl_libs: l(f' {linux_gl_libs}') l(f' #if DEBUG {{ {clib_import} :: #library,no_dll "{clib_prefix}_linux_x64_gl_debug"; }}') l(f' else {{ {clib_import} :: #library,no_dll "{clib_prefix}_linux_x64_gl_release"; }}') l( '} else {') l( ' log_error("This OS is currently not supported");') l( '}') l( '') prefix = inp['prefix'] for decl in inp['decls']: if decl['kind'] == 'func' and not decl['is_dep'] and not check_ignore(decl['name']): args = funcdecl_args_c(decl, prefix) res_type = funcdecl_result_c(decl, prefix) res_str = '-> void' if res_type == '' else f'-> {res_type}' l(f"{decl['name']} :: ({args}) {res_str} #foreign {clib_import};") l('') def gen_consts(decl, prefix): for item in decl['items']: item_name = check_override(item['name']) l(f"{as_snake_case(item_name, prefix)} :: {item['value']};") l('') def gen_struct(decl, prefix): c_struct_name = check_override(decl['name']) struct_name = as_struct_or_enum_type(c_struct_name, prefix) l(f'{struct_name} :: struct {{') for field in decl['fields']: field_name = check_override(field['name']) field_type = map_type(check_override(f'{c_struct_name}.{field_name}', default=field['type']), prefix, 'struct_field') # any field name starting with _ is considered private if field_name.startswith('_'): l(f' _ : {field_type};') else: l(f' {field_name} : {field_type};') l('}') l('') def gen_enum(decl, prefix): enum_name = check_override(decl['name']) l(f'{as_struct_or_enum_type(enum_name, prefix)} :: enum u32 {{') for item in decl['items']: item_name = as_enum_item_name(check_override(item['name'])) if item_name != 'FORCE_U32' and item_name != 'NUM': if 'value' in item: l(f" {item_name} :: {item['value']};") else: l(f" {item_name};") l('}') l('') def gen_imports(dep_prefixes): for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] l(f'#import,dir "../{dep_module_name}"(DEBUG = USE_DLL, USE_GL = USE_DLL, USE_DLL = USE_DLL);') l('') def gen_helpers(inp): if inp['prefix'] == 'sdtx_': l('sdtx_printf :: (s: string, args: ..Any) {') l(' #import "Basic";') l(' fstr := tprint(s, ..args);') l(' sdtx_putr(to_c_string(fstr), xx fstr.count);') l('}') def gen_module(inp, c_prefix, dep_prefixes): pre_parse(inp) l('// machine generated, do not edit') gen_imports(dep_prefixes) gen_helpers(inp) prefix = inp['prefix'] gen_c_imports(inp, c_prefix, prefix) for decl in inp['decls']: if not decl['is_dep']: kind = decl['kind'] if kind == 'consts': gen_consts(decl, prefix) elif not check_ignore(decl['name']): if kind == 'struct': gen_struct(decl, prefix) elif kind == 'enum': gen_enum(decl, prefix) def pre_parse(inp): global struct_types global enum_types for decl in inp['decls']: kind = decl['kind'] if kind == 'struct': struct_types.append(decl['name']) elif kind == 'enum': enum_name = decl['name'] enum_types.append(enum_name) enum_items[enum_name] = [] for item in decl['items']: enum_items[enum_name].append(as_enum_item_name(item['name'])) def prepare(): print('=== Generating Jai bindings:') if not os.path.isdir(module_root): os.makedirs(module_root) if not os.path.isdir(c_root): os.makedirs(c_root) def gen(c_header_path, c_prefix, dep_c_prefixes): if not c_prefix in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return reset_globals() make_jai_module_directory(c_prefix) print(f' {c_header_path} => {module_names[c_prefix]}') shutil.copyfile(c_header_path, f'{c_root}/{os.path.basename(c_header_path)}') csource_path = get_csource_path(c_prefix) module_name = module_names[c_prefix] ir = gen_ir.gen(c_header_path, csource_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, c_prefix, dep_c_prefixes) with open(f"{module_root}/{ir['module']}/module.jai", 'w', newline='\n') as f_outp: f_outp.write(out_lines)
0
repos/sokol
repos/sokol/bindgen/gen_all.py
import os, gen_nim, gen_zig, gen_odin, gen_rust, gen_d, gen_jai tasks = [ [ '../sokol_log.h', 'slog_', [] ], [ '../sokol_gfx.h', 'sg_', [] ], [ '../sokol_app.h', 'sapp_', [] ], [ '../sokol_glue.h', 'sglue_', ['sg_'] ], [ '../sokol_time.h', 'stm_', [] ], [ '../sokol_audio.h', 'saudio_', [] ], [ '../util/sokol_gl.h', 'sgl_', ['sg_'] ], [ '../util/sokol_debugtext.h', 'sdtx_', ['sg_'] ], [ '../util/sokol_shape.h', 'sshape_', ['sg_'] ], ] # Jai gen_jai.prepare() for task in tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_jai.gen(c_header_path, main_prefix, dep_prefixes) # Odin gen_odin.prepare() for task in tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_odin.gen(c_header_path, main_prefix, dep_prefixes) # Nim gen_nim.prepare() for task in tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_nim.gen(c_header_path, main_prefix, dep_prefixes) # Zig zig_tasks = [ *tasks, [ '../sokol_fetch.h', 'sfetch_', [] ], [ '../util/sokol_imgui.h', 'simgui_', ['sg_', 'sapp_'] ], ] gen_zig.prepare() for task in zig_tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_zig.gen(c_header_path, main_prefix, dep_prefixes) # D d_tasks = [ *tasks, [ '../util/sokol_imgui.h', 'simgui_', ['sg_', 'sapp_'] ], ] gen_d.prepare() for task in d_tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_d.gen(c_header_path, main_prefix, dep_prefixes) # Rust gen_rust.prepare() for task in tasks: [c_header_path, main_prefix, dep_prefixes] = task gen_rust.gen(c_header_path, main_prefix, dep_prefixes)
0
repos/sokol
repos/sokol/bindgen/gen_odin.py
#------------------------------------------------------------------------------- # gen_odin.py # # Generate Odin bindings. #------------------------------------------------------------------------------- import gen_ir import gen_util as util import os, shutil, sys bindings_root = 'sokol-odin' c_root = f'{bindings_root}/sokol/c' module_root = f'{bindings_root}/sokol' module_names = { 'slog_': 'log', 'sg_': 'gfx', 'sapp_': 'app', 'stm_': 'time', 'saudio_': 'audio', 'sgl_': 'gl', 'sdtx_': 'debugtext', 'sshape_': 'shape', 'sglue_': 'glue', } system_libs = { 'sg_': { 'windows': { 'd3d11': "", 'gl': "", }, 'macos': { 'metal': '"system:Cocoa.framework","system:QuartzCore.framework","system:Metal.framework","system:MetalKit.framework"', 'gl': '"system:Cocoa.framework","system:QuartzCore.framework","system:OpenGL.framework"' }, 'linux': { 'gl': '"system:GL", "system:dl", "system:pthread"' } }, 'sapp_': { 'windows': { 'd3d11': '', 'gl': '', }, 'macos': { 'metal': '"system:Cocoa.framework","system:QuartzCore.framework","system:Metal.framework","system:MetalKit.framework"', 'gl': '"system:Cocoa.framework","system:QuartzCore.framework","system:OpenGL.framework"', }, 'linux': { 'gl': '"system:X11", "system:Xi", "system:Xcursor", "system:GL", "system:dl", "system:pthread"' } }, 'saudio_': { 'windows': { 'd3d11': '', 'gl': '', }, 'macos': { 'metal': '"system:AudioToolbox.framework"', 'gl': '"system:AudioToolbox.framework"', }, 'linux': { 'gl': '"system:asound", "system:dl", "system:pthread"', } } } c_source_names = { 'slog_': 'sokol_log.c', 'sg_': 'sokol_gfx.c', 'sapp_': 'sokol_app.c', 'sapp_sg': 'sokol_glue.c', 'stm_': 'sokol_time.c', 'saudio_': 'sokol_audio.c', 'sgl_': 'sokol_gl.c', 'sdtx_': 'sokol_debugtext.c', 'sshape_': 'sokol_shape.c', 'sglue_': 'sokol_glue.c', } ignores = [ 'sdtx_printf', 'sdtx_vprintf', 'sg_install_trace_hooks', 'sg_trace_hooks', ] # NOTE: syntax for function results: "func_name.RESULT" overrides = { 'context': 'ctx', # reserved keyword 'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR', } prim_types = { 'int': 'c.int', 'bool': 'bool', 'char': 'u8', 'int8_t': 'i8', 'uint8_t': 'u8', 'int16_t': 'i16', 'uint16_t': 'u16', 'int32_t': 'i32', 'uint32_t': 'u32', 'int64_t': 'i64', 'uint64_t': 'u64', 'float': 'f32', 'double': 'f64', 'uintptr_t': 'u64', 'intptr_t': 'i64', 'size_t': 'u64' } prim_defaults = { 'int': '0', 'bool': 'false', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', 'uint16_t': '0', 'int32_t': '0', 'uint32_t': '0', 'int64_t': '0', 'uint64_t': '0', 'float': '0.0', 'double': '0.0', 'uintptr_t': '0', 'intptr_t': '0', 'size_t': '0' } struct_types = [] enum_types = [] enum_items = {} out_lines = '' def reset_globals(): global struct_types global enum_types global enum_items global out_lines struct_types = [] enum_types = [] enum_items = {} out_lines = '' def l(s): global out_lines out_lines += s + '\n' def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores # PREFIX_BLA_BLUB to BLA_BLUB, prefix_bla_blub to bla_blub def as_snake_case(s, prefix): outp = s if outp.lower().startswith(prefix): outp = outp[len(prefix):] return outp def get_odin_module_path(c_prefix): return f'{module_root}/{module_names[c_prefix]}' def get_csource_path(c_prefix): return f'{c_root}/{c_source_names[c_prefix]}' def make_odin_module_directory(c_prefix): path = get_odin_module_path(c_prefix) if not os.path.isdir(path): os.makedirs(path) def as_prim_type(s): return prim_types[s] # prefix_bla_blub(_t) => (dep.)Bla_Blub def as_struct_or_enum_type(s, prefix): parts = s.lower().split('_') outp = '' if s.startswith(prefix) else f'{parts[0]}.' for part in parts[1:]: # ignore '_t' type postfix if (part != 't'): outp += part.capitalize() outp += '_' outp = outp[:-1] return outp # PREFIX_ENUM_BLA_BLUB => BLA_BLUB, _PREFIX_ENUM_BLA_BLUB => BLA_BLUB def as_enum_item_name(s): outp = s.lstrip('_') parts = outp.split('_')[2:] outp = '_'.join(parts) if outp[0].isdigit(): outp = '_' + outp return outp def enum_default_item(enum_name): return enum_items[enum_name][0] def is_prim_type(s): return s in prim_types def is_int_type(s): return s == "int" def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def map_type(type, prefix, sub_type): if sub_type not in ['c_arg', 'odin_arg', 'struct_field']: sys.exit(f"Error: map_type(): unknown sub_type '{sub_type}") if type == "void": return "" elif is_prim_type(type): if sub_type == 'odin_arg': # for Odin args, maps C int (32-bit) to Odin int (pointer-sized), # and the C bool type to Odin's bool type if type == 'int' or type == 'uint32_t': return 'int' elif type == 'bool': return 'bool' return as_prim_type(type) elif is_struct_type(type): return as_struct_or_enum_type(type, prefix) elif is_enum_type(type): return as_struct_or_enum_type(type, prefix) elif util.is_void_ptr(type): return "rawptr" elif util.is_const_void_ptr(type): return "rawptr" elif util.is_string_ptr(type): return "cstring" elif is_const_struct_ptr(type): # pass Odin struct args by value, not by pointer if sub_type == 'odin_arg': return f"{as_struct_or_enum_type(util.extract_ptr_type(type), prefix)}" else: return f"^{as_struct_or_enum_type(util.extract_ptr_type(type), prefix)}" elif is_prim_ptr(type): return f"^{as_prim_type(util.extract_ptr_type(type))}" elif is_const_prim_ptr(type): return f"^{as_prim_type(util.extract_ptr_type(type))}" elif util.is_1d_array_type(type): array_type = util.extract_array_type(type) array_sizes = util.extract_array_sizes(type) return f"[{array_sizes[0]}]{map_type(array_type, prefix, sub_type)}" elif util.is_2d_array_type(type): array_type = util.extract_array_type(type) array_sizes = util.extract_array_sizes(type) return f"[{array_sizes[0]}][{array_sizes[1]}]{map_type(array_type, prefix, sub_type)}" elif util.is_func_ptr(type): res_type = funcptr_result_c(type, prefix) res_str = '' if res_type == '' else f' -> {res_type}' return f'proc "c" ({funcptr_args_c(type, prefix)}){res_str}' else: sys.exit(f"Error map_type(): unknown type '{type}'") def funcdecl_args_c(decl, prefix): s = '' func_name = decl['name'] for param_decl in decl['params']: if s != '': s += ', ' param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) if is_const_struct_ptr(param_type): s += f"#by_ptr {param_name}: {map_type(param_type, prefix, 'odin_arg')}" elif is_int_type(param_type): s += f"#any_int {param_name}: {map_type(param_type, prefix, 'c_arg')}" else: s += f"{param_name}: {map_type(param_type, prefix, 'c_arg')}" return s def funcptr_args_c(field_type, prefix): tokens = field_type[field_type.index('(*)')+4:-1].split(',') s = '' arg_index = 0 for token in tokens: arg_type = token.strip() if s != '': s += ', ' c_arg = map_type(arg_type, prefix, 'c_arg') if c_arg == '': return '' else: s += f'a{arg_index}: {c_arg}' arg_index += 1 return s def funcptr_result_c(field_type, prefix): res_type = field_type[:field_type.index('(*)')].strip() return map_type(res_type, prefix, 'c_arg') def funcdecl_result_c(decl, prefix): func_name = decl['name'] decl_type = decl['type'] res_c_type = decl_type[:decl_type.index('(')].strip() return map_type(check_override(f'{func_name}.RESULT', default=res_c_type), prefix, 'c_arg') def get_system_libs(module, platform, backend): if module in system_libs: if platform in system_libs[module]: if backend in system_libs[module][platform]: libs = system_libs[module][platform][backend] if libs != '': return f", {libs}" return '' def gen_c_imports(inp, c_prefix, prefix): module_name = inp["module"] clib_prefix = f'sokol_{module_name}' clib_import = f'{clib_prefix}_clib' windows_d3d11_libs = get_system_libs(prefix, 'windows', 'd3d11') windows_gl_libs = get_system_libs(prefix, 'windows', 'gl') macos_metal_libs = get_system_libs(prefix, 'macos', 'metal') macos_gl_libs = get_system_libs(prefix, 'macos', 'gl') linux_gl_libs = get_system_libs(prefix, 'linux', 'gl') l( 'import "core:c"') l( '') l( 'SOKOL_DEBUG :: #config(SOKOL_DEBUG, ODIN_DEBUG)') l( '') l(f'DEBUG :: #config(SOKOL_{module_name.upper()}_DEBUG, SOKOL_DEBUG)') l( 'USE_GL :: #config(SOKOL_USE_GL, false)') l( 'USE_DLL :: #config(SOKOL_DLL, false)') l( '') l( 'when ODIN_OS == .Windows {') l( ' when USE_DLL {') l( ' when USE_GL {') l(f' when DEBUG {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_gl_debug.lib"{windows_gl_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_gl_release.lib"{windows_gl_libs} }} }}') l( ' } else {') l(f' when DEBUG {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_d3d11_debug.lib"{windows_d3d11_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "../sokol_dll_windows_x64_d3d11_release.lib"{windows_d3d11_libs} }} }}') l( ' }') l( ' } else {') l( ' when USE_GL {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_windows_x64_gl_debug.lib"{windows_gl_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_windows_x64_gl_release.lib"{windows_gl_libs} }} }}') l( ' } else {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_windows_x64_d3d11_debug.lib"{windows_d3d11_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_windows_x64_d3d11_release.lib"{windows_d3d11_libs} }} }}') l( ' }') l( ' }') l( '} else when ODIN_OS == .Darwin {') l( ' when USE_DLL {') l(f' when USE_GL && ODIN_ARCH == .arm64 && DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_arm64_gl_debug.dylib" }} }}') l(f' else when USE_GL && ODIN_ARCH == .arm64 && !DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_arm64_gl_release.dylib" }} }}') l(f' else when USE_GL && ODIN_ARCH == .amd64 && DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_x64_gl_debug.dylib" }} }}') l(f' else when USE_GL && ODIN_ARCH == .amd64 && !DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_x64_gl_release.dylib" }} }}') l(f' else when !USE_GL && ODIN_ARCH == .arm64 && DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_arm64_metal_debug.dylib" }} }}') l(f' else when !USE_GL && ODIN_ARCH == .arm64 && !DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_arm64_metal_release.dylib" }} }}') l(f' else when !USE_GL && ODIN_ARCH == .amd64 && DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_x64_metal_debug.dylib" }} }}') l(f' else when !USE_GL && ODIN_ARCH == .amd64 && !DEBUG {{ foreign import {clib_import} {{ "../dylib/sokol_dylib_macos_x64_metal_release.dylib" }} }}') l( ' } else {') l( ' when USE_GL {') l( ' when ODIN_ARCH == .arm64 {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_macos_arm64_gl_debug.a"{macos_gl_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_macos_arm64_gl_release.a"{macos_gl_libs} }} }}') l( ' } else {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_macos_x64_gl_debug.a"{macos_gl_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_macos_x64_gl_release.a"{macos_gl_libs} }} }}') l( ' }') l( ' } else {') l( ' when ODIN_ARCH == .arm64 {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_macos_arm64_metal_debug.a"{macos_metal_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_macos_arm64_metal_release.a"{macos_metal_libs} }} }}') l( ' } else {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_macos_x64_metal_debug.a"{macos_metal_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_macos_x64_metal_release.a"{macos_metal_libs} }} }}') l( ' }') l( ' }') l( ' }') l( '} else when ODIN_OS == .Linux {') l(f' when DEBUG {{ foreign import {clib_import} {{ "{clib_prefix}_linux_x64_gl_debug.a"{linux_gl_libs} }} }}') l(f' else {{ foreign import {clib_import} {{ "{clib_prefix}_linux_x64_gl_release.a"{linux_gl_libs} }} }}') l( '} else {') l( ' #panic("This OS is currently not supported")') l( '}') l( '') # Need to special case sapp_sg to avoid Odin's context keyword if c_prefix == "sapp_sg": l(f'@(default_calling_convention="c")') else: l(f'@(default_calling_convention="c", link_prefix="{c_prefix}")') l(f"foreign {clib_import} {{") prefix = inp['prefix'] for decl in inp['decls']: if decl['kind'] == 'func' and not decl['is_dep'] and not check_ignore(decl['name']): args = funcdecl_args_c(decl, prefix) res_type = funcdecl_result_c(decl, prefix) res_str = '' if res_type == '' else f'-> {res_type}' # Need to special case sapp_sg to avoid Odin's context keyword if c_prefix == "sapp_sg": l(f' @(link_name="{decl["name"]}")') l(f" {check_override(as_snake_case(decl['name'], c_prefix))} :: proc({args}) {res_str} ---") else: l(f" {as_snake_case(decl['name'], c_prefix)} :: proc({args}) {res_str} ---") l('}') l('') def gen_consts(decl, prefix): for item in decl['items']: item_name = check_override(item['name']) l(f"{as_snake_case(item_name, prefix)} :: {item['value']}") l('') def gen_struct(decl, prefix): c_struct_name = check_override(decl['name']) struct_name = as_struct_or_enum_type(c_struct_name, prefix) l(f'{struct_name} :: struct {{') for field in decl['fields']: field_name = check_override(field['name']) field_type = map_type(check_override(f'{c_struct_name}.{field_name}', default=field['type']), prefix, 'struct_field') # any field name starting with _ is considered private if field_name.startswith('_'): l(f' _ : {field_type},') else: l(f' {field_name} : {field_type},') l('}') l('') def gen_enum(decl, prefix): enum_name = check_override(decl['name']) l(f'{as_struct_or_enum_type(enum_name, prefix)} :: enum i32 {{') for item in decl['items']: item_name = as_enum_item_name(check_override(item['name'])) if item_name != 'FORCE_U32' and item_name != 'NUM': if 'value' in item: l(f" {item_name} = {item['value']},") else: l(f" {item_name},") l('}') l('') def gen_imports(dep_prefixes): for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] l(f'import {dep_prefix[:-1]} "../{dep_module_name}"') l('') def gen_helpers(inp): if inp['prefix'] == 'sdtx_': l('import "core:fmt"') l('import "core:strings"') l('printf :: proc(s: string, args: ..any) {') l(' fstr := fmt.tprintf(s, ..args)') l(' putr(strings.unsafe_string_to_cstring(fstr), len(fstr))') l('}') def gen_module(inp, c_prefix, dep_prefixes): pre_parse(inp) l('// machine generated, do not edit') l('') l(f"package sokol_{inp['module']}") gen_imports(dep_prefixes) gen_helpers(inp) prefix = inp['prefix'] gen_c_imports(inp, c_prefix, prefix) for decl in inp['decls']: if not decl['is_dep']: kind = decl['kind'] if kind == 'consts': gen_consts(decl, prefix) elif not check_ignore(decl['name']): if kind == 'struct': gen_struct(decl, prefix) elif kind == 'enum': gen_enum(decl, prefix) def pre_parse(inp): global struct_types global enum_types for decl in inp['decls']: kind = decl['kind'] if kind == 'struct': struct_types.append(decl['name']) elif kind == 'enum': enum_name = decl['name'] enum_types.append(enum_name) enum_items[enum_name] = [] for item in decl['items']: enum_items[enum_name].append(as_enum_item_name(item['name'])) def prepare(): print('=== Generating Odin bindings:') if not os.path.isdir(module_root): os.makedirs(module_root) if not os.path.isdir(c_root): os.makedirs(c_root) def gen(c_header_path, c_prefix, dep_c_prefixes): if not c_prefix in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return reset_globals() make_odin_module_directory(c_prefix) print(f' {c_header_path} => {module_names[c_prefix]}') shutil.copyfile(c_header_path, f'{c_root}/{os.path.basename(c_header_path)}') csource_path = get_csource_path(c_prefix) module_name = module_names[c_prefix] ir = gen_ir.gen(c_header_path, csource_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, c_prefix, dep_c_prefixes) with open(f"{module_root}/{ir['module']}/{ir['module']}.odin", 'w', newline='\n') as f_outp: f_outp.write(out_lines)
0
repos/sokol
repos/sokol/bindgen/gen_ir.py
#------------------------------------------------------------------------------- # Generate an intermediate representation of a clang AST dump. #------------------------------------------------------------------------------- import json, sys, subprocess def is_api_decl(decl, prefix): if 'name' in decl: return decl['name'].startswith(prefix) elif decl['kind'] == 'EnumDecl': # an anonymous enum, check if the items start with the prefix return decl['inner'][0]['name'].lower().startswith(prefix) else: return False def is_dep_decl(decl, dep_prefixes): for prefix in dep_prefixes: if is_api_decl(decl, prefix): return True return False def dep_prefix(decl, dep_prefixes): for prefix in dep_prefixes: if is_api_decl(decl, prefix): return prefix return None def filter_types(str): return str.replace('_Bool', 'bool') def parse_struct(decl): outp = {} outp['kind'] = 'struct' outp['name'] = decl['name'] outp['fields'] = [] for item_decl in decl['inner']: if item_decl['kind'] != 'FieldDecl': sys.exit(f"ERROR: Structs must only contain simple fields ({decl['name']})") item = {} if 'name' in item_decl: item['name'] = item_decl['name'] item['type'] = filter_types(item_decl['type']['qualType']) outp['fields'].append(item) return outp def parse_enum(decl): outp = {} if 'name' in decl: outp['kind'] = 'enum' outp['name'] = decl['name'] needs_value = False else: outp['kind'] = 'consts' needs_value = True outp['items'] = [] for item_decl in decl['inner']: if item_decl['kind'] == 'EnumConstantDecl': item = {} item['name'] = item_decl['name'] if 'inner' in item_decl: const_expr = item_decl['inner'][0] if const_expr['kind'] != 'ConstantExpr': sys.exit(f"ERROR: Enum values must be a ConstantExpr ({item_decl['name']}), is '{const_expr['kind']}'") if const_expr['valueCategory'] != 'rvalue' and const_expr['valueCategory'] != 'prvalue': sys.exit(f"ERROR: Enum value ConstantExpr must be 'rvalue' or 'prvalue' ({item_decl['name']}), is '{const_expr['valueCategory']}'") if not ((len(const_expr['inner']) == 1) and (const_expr['inner'][0]['kind'] == 'IntegerLiteral')): sys.exit(f"ERROR: Enum value ConstantExpr must have exactly one IntegerLiteral ({item_decl['name']})") item['value'] = const_expr['inner'][0]['value'] if needs_value and 'value' not in item: sys.exit(f"ERROR: anonymous enum items require an explicit value") outp['items'].append(item) return outp def parse_func(decl): outp = {} outp['kind'] = 'func' outp['name'] = decl['name'] outp['type'] = filter_types(decl['type']['qualType']) outp['params'] = [] if 'inner' in decl: for param in decl['inner']: if param['kind'] != 'ParmVarDecl': print(f" >> warning: ignoring func {decl['name']} (unsupported parameter type)") return None outp_param = {} outp_param['name'] = param['name'] outp_param['type'] = filter_types(param['type']['qualType']) outp['params'].append(outp_param) return outp def parse_decl(decl): kind = decl['kind'] if kind == 'RecordDecl': return parse_struct(decl) elif kind == 'EnumDecl': return parse_enum(decl) elif kind == 'FunctionDecl': return parse_func(decl) else: return None def clang(csrc_path): cmd = ['clang', '-Xclang', '-ast-dump=json', '-c' ] cmd.append(csrc_path) return subprocess.check_output(cmd) def gen(header_path, source_path, module, main_prefix, dep_prefixes): ast = clang(source_path) inp = json.loads(ast) outp = {} outp['module'] = module outp['prefix'] = main_prefix outp['dep_prefixes'] = dep_prefixes outp['decls'] = [] for decl in inp['inner']: is_dep = is_dep_decl(decl, dep_prefixes) if is_api_decl(decl, main_prefix) or is_dep: outp_decl = parse_decl(decl) if outp_decl is not None: outp_decl['is_dep'] = is_dep outp_decl['dep_prefix'] = dep_prefix(decl, dep_prefixes) outp['decls'].append(outp_decl) with open(f'{module}.json', 'w') as f: f.write(json.dumps(outp, indent=2)); return outp
0
repos/sokol
repos/sokol/bindgen/gen_nim.py
#------------------------------------------------------------------------------- # Generate Nim bindings # # Nim coding style: # - type identifiers are PascalCase, everything else is camelCase # - reference: https://nim-lang.org/docs/nep1.html #------------------------------------------------------------------------------- import gen_ir import gen_util as util import os, shutil, sys module_names = { 'slog_': 'log', 'sg_': 'gfx', 'sapp_': 'app', 'stm_': 'time', 'saudio_': 'audio', 'sgl_': 'gl', 'sdtx_': 'debugtext', 'sshape_': 'shape', 'sglue_': 'glue', } c_source_paths = { 'slog_': 'sokol-nim/src/sokol/c/sokol_log.c', 'sg_': 'sokol-nim/src/sokol/c/sokol_gfx.c', 'sapp_': 'sokol-nim/src/sokol/c/sokol_app.c', 'stm_': 'sokol-nim/src/sokol/c/sokol_time.c', 'saudio_': 'sokol-nim/src/sokol/c/sokol_audio.c', 'sgl_': 'sokol-nim/src/sokol/c/sokol_gl.c', 'sdtx_': 'sokol-nim/src/sokol/c/sokol_debugtext.c', 'sshape_': 'sokol-nim/src/sokol/c/sokol_shape.c', 'sglue_': 'sokol-nim/src/sokol/c/sokol_glue.c', } c_callbacks = [ 'slog_func', ] ignores = [ 'sdtx_printf', 'sdtx_vprintf', ] overrides = { 'sgl_error': 'sgl_get_error', 'sgl_deg': 'sgl_as_degrees', 'sgl_rad': 'sgl_as_radians', 'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR', 'SG_BUFFERTYPE_VERTEXBUFFER': 'SG_BUFFERTYPE_VERTEX_BUFFER', 'SG_BUFFERTYPE_INDEXBUFFER': 'SG_BUFFERTYPE_INDEX_BUFFER', 'SG_ACTION_DONTCARE': 'SG_ACTION_DONT_CARE', 'ptr': 'addr', # range ptr 'func': 'fn', 'slog_func': 'fn', } enumPrefixOverrides = { # sokol_gfx.h 'LOADACTION': 'loadAction', 'STOREACTION': 'storeAction', 'PIXELFORMAT': 'pixelFormat', 'RESOURCESTATE': 'resourceState', 'BUFFERTYPE': 'bufferType', 'INDEXTYPE': 'indexType', 'IMAGETYPE': 'imageType', 'SAMPLERTYPE': 'samplerType', 'CUBEFACE': 'cubeFace', 'SHADERSTAGE': 'shaderStage', 'PRIMITIVETYPE': 'primitiveType', 'BORDERCOLOR': 'borderColor', 'VERTEXFORMAT': 'vertexFormat', 'VERTEXSTEP': 'vertexStep', 'UNIFORMTYPE': 'uniformType', 'UNIFORMLAYOUT': 'uniformLayout', 'CULLMODE': 'cullMode', 'FACEWINDING': 'faceWinding', 'COMPAREFUNC': 'compareFunc', 'STENCILOP': 'stencilOp', 'BLENDFACTOR': 'blendFactor', 'BLENDOP': 'blendOp', 'COLORMASK': 'colorMask', # sokol_app.h 'EVENTTYPE': 'eventType', 'KEYCODE': 'keyCode', 'MOUSEBUTTON': 'mouseButton', } prim_types = { 'int': 'int32', 'bool': 'bool', 'char': 'char', 'int8_t': 'int8', 'uint8_t': 'uint8', 'int16_t': 'int16', 'uint16_t': 'uint16', 'int32_t': 'int32', 'uint32_t': 'uint32', 'int64_t': 'int64', 'uint64_t': 'uint64', 'float': 'float32', 'double': 'float64', 'uintptr_t': 'uint', 'intptr_t': 'int', 'size_t': 'int', # not a bug, Nim's sizeof() returns int } prim_defaults = { 'int': '0', 'bool': 'false', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', 'uint16_t': '0', 'int32_t': '0', 'uint32_t': '0', 'int64_t': '0', 'uint64_t': '0', 'float': '0.0f', 'double': '0.0', 'uintptr_t': '0', 'intptr_t': '0', 'size_t': '0' } common_prim_types = """ array untyped typed void bool byte char int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 string cchar cint csize_t cfloat cdouble cstring pointer """.split() keywords = """ addr and as asm bind block break case cast concept const continue converter defer discard distinct div do elif else end enum except export finally for from func if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while xor yield """.split() + common_prim_types struct_types = [] enum_types = [] out_lines = '' def reset_globals(): global struct_types global enum_types global out_lines struct_types = [] enum_types = [] out_lines = '' def l(s): global out_lines out_lines += s + '\n' def as_nim_prim_type(s): return prim_types[s] # prefix_bla_blub(_t) => (dep.)BlaBlub def as_nim_type_name(s, prefix): parts = s.lower().split('_') dep = parts[0] + '_' outp = '' if not s.startswith(prefix) and dep in module_names: outp = module_names[dep] + '.' for part in parts[1:]: # ignore '_t' type postfix if (part != 't'): outp += part.capitalize() return outp def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores def is_power_of_two(val): return val == 0 or val & (val - 1) == 0 def wrap_keywords(s): if s in keywords: return f'`{s}`' else: return s # prefix_bla_blub => blaBlub def as_camel_case(s, prefix, wrap=True): outp = s.lower() if outp.startswith(prefix): outp = outp[len(prefix):] parts = outp.lstrip('_').split('_') outp = parts[0] for part in parts[1:]: outp += part.capitalize() if wrap: outp = wrap_keywords(outp) return outp # PREFIX_ENUM_BLA_BLO => blaBlo def as_enum_item_name(s, wrap=True): outp = s.lstrip('_') parts = outp.split('_')[1:] if parts[0] in enumPrefixOverrides: parts[0] = enumPrefixOverrides[parts[0]] else: parts[0] = parts[0].lower() outp = parts[0] for part in parts[1:]: outp += part.capitalize() if wrap: outp = wrap_keywords(outp) return outp def is_prim_type(s): return s in prim_types def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def funcptr_args(field_type, prefix): tokens = field_type[field_type.index('(*)')+4:-1].split(',') s = "" n = 0 for token in tokens: n += 1 arg_ctype = token.strip() if s != "": s += ", " arg_nimtype = as_nim_type(arg_ctype, prefix) if arg_nimtype == "": return "" # fun(void) s += f"a{n}:{arg_nimtype}" if s == "a1:void": s = "" return s def funcptr_result(field_type, prefix): ctype = field_type[:field_type.index('(*)')].strip() return as_nim_type(ctype, prefix) def as_nim_type(ctype, prefix, struct_ptr_as_value=False): if ctype == "void": return "" elif is_prim_type(ctype): return as_nim_prim_type(ctype) elif is_struct_type(ctype): return as_nim_type_name(ctype, prefix) elif is_enum_type(ctype): return as_nim_type_name(ctype, prefix) elif util.is_string_ptr(ctype): return "cstring" elif util.is_void_ptr(ctype) or util.is_const_void_ptr(ctype): return "pointer" elif is_const_struct_ptr(ctype): nim_type = as_nim_type(util.extract_ptr_type(ctype), prefix) if struct_ptr_as_value: return f"{nim_type}" else: return f"ptr {nim_type}" elif is_prim_ptr(ctype) or is_const_prim_ptr(ctype): return f"ptr {as_nim_type(util.extract_ptr_type(ctype), prefix)}" elif util.is_func_ptr(ctype): args = funcptr_args(ctype, prefix) res = funcptr_result(ctype, prefix) if res != "": res = ":" + res return f"proc({args}){res} {{.cdecl.}}" elif util.is_1d_array_type(ctype): array_ctype = util.extract_array_type(ctype) array_sizes = util.extract_array_sizes(ctype) return f'array[{array_sizes[0]}, {as_nim_type(array_ctype, prefix)}]' elif util.is_2d_array_type(ctype): array_ctype = util.extract_array_type(ctype) array_sizes = util.extract_array_sizes(ctype) return f'array[{array_sizes[0]}, array[{array_sizes[1]}, {as_nim_type(array_ctype, prefix)}]]' else: sys.exit(f"ERROR as_nim_type: {ctype}") def as_nim_struct_name(struct_decl, prefix): struct_name = check_override(struct_decl['name']) nim_type = f'{as_nim_type_name(struct_name, prefix)}' return nim_type def as_nim_field_name(field_decl, prefix, check_private=True): field_name = as_camel_case(check_override(field_decl['name']), prefix) if check_private: is_private = field_decl['name'].startswith('_') if not is_private: field_name += "*" return field_name def as_nim_field_type(struct_decl, field_decl, prefix): return as_nim_type(check_override(f"{struct_decl['name']}.{field_decl['name']}", default=field_decl['type']), prefix) def gen_struct(decl, prefix): l(f"type {as_nim_struct_name(decl, prefix)}* = object") for field in decl['fields']: l(f" {as_nim_field_name(field, prefix)}:{as_nim_field_type(decl, field, prefix)}") l("") def gen_consts(decl, prefix): l("const") for item in decl['items']: item_name = check_override(item['name']) l(f" {as_camel_case(item_name, prefix)}* = {item['value']}") l("") def gen_enum(decl, prefix): item_names_by_value = {} value = -1 has_explicit_values = False for item in decl['items']: item_name = check_override(item['name']) if item_name.endswith("_NUM") or item_name.endswith("_FORCE_U32"): continue else: if 'value' in item: has_explicit_values = True value = int(item['value']) else: value += 1 item_names_by_value[value] = as_enum_item_name(item_name) enum_name_nim = as_nim_type_name(decl['name'], prefix) l('type') l(f" {enum_name_nim}* {{.size:sizeof(int32).}} = enum") if has_explicit_values: # Nim requires explicit enum values to be declared in ascending order for value in sorted(item_names_by_value): name = item_names_by_value[value] l(f" {name} = {value},") else: for name in item_names_by_value.values(): l(f" {name},") l("") # returns C prototype compatible function args (with pointers) def funcdecl_args_c(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " arg_name = param_decl['name'] arg_type = check_override(f'{func_name}.{arg_name}', default=param_decl['type']) s += f"{as_camel_case(arg_name, prefix)}:{as_nim_type(arg_type, prefix)}" return s # returns Nim function args (pass structs by value) def funcdecl_args_nim(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " arg_name = param_decl['name'] arg_type = check_override(f'{func_name}.{arg_name}', default=param_decl['type']) s += f"{as_camel_case(arg_name, prefix)}:{as_nim_type(arg_type, prefix, struct_ptr_as_value=True)}" return s def funcdecl_result(decl, prefix): func_name = decl['name'] decl_type = decl['type'] result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip()) nim_res_type = as_nim_type(result_type, prefix) if nim_res_type == "": nim_res_type = "void" return nim_res_type def gen_func_nim(decl, prefix): c_func_name = decl['name'] nim_func_name = as_camel_case(check_override(c_func_name), prefix, wrap=False) nim_res_type = funcdecl_result(decl, prefix) if c_func_name in c_callbacks: l(f"proc {nim_func_name}*({funcdecl_args_c(decl, prefix)}):{nim_res_type} {{.cdecl, importc:\"{c_func_name}\".}}") else: l(f"proc c_{nim_func_name}({funcdecl_args_c(decl, prefix)}):{nim_res_type} {{.cdecl, importc:\"{c_func_name}\".}}") l(f"proc {wrap_keywords(nim_func_name)}*({funcdecl_args_nim(decl, prefix)}):{nim_res_type} =") s = f" c_{nim_func_name}(" for i, param_decl in enumerate(decl['params']): if i > 0: s += ", " arg_name = param_decl['name'] arg_type = param_decl['type'] if is_const_struct_ptr(arg_type): s += f"addr({arg_name})" else: s += arg_name s += ")" l(s) l("") def gen_array_converters(decl, prefix): for field in decl['fields']: if util.is_array_type(field['type']): array_type = util.extract_array_type(field['type']) array_sizes = util.extract_array_sizes(field['type']) struct_name = as_nim_struct_name(decl, prefix) field_name = as_nim_field_name(field, prefix, check_private=False) array_base_type = as_nim_type(array_type, prefix) if util.is_1d_array_type(field['type']): n = array_sizes[0] l(f'converter to{struct_name}{field_name}*[N:static[int]](items: array[N, {array_base_type}]): array[{n}, {array_base_type}] =') l(f' static: assert(N <= {n})') l(f' for index,item in items.pairs: result[index]=item') l('') elif util.is_2d_array_type(field['type']): x = array_sizes[1] y = array_sizes[0] l(f'converter to{struct_name}{field_name}*[Y:static[int], X:static[int]](items: array[Y, array[X, {array_base_type}]]): array[{y}, array[{x}, {array_base_type}]] =') l(f' static: assert(X <= {x})') l(f' static: assert(Y <= {y})') l(f' for indexY,itemY in items.pairs:') l(f' for indexX, itemX in itemY.pairs:') l(f' result[indexY][indexX] = itemX') l('') else: sys.exit('Unsupported converter array dimension (> 2)!') def pre_parse(inp): global struct_types global enum_types for decl in inp['decls']: kind = decl['kind'] if kind == 'struct': struct_types.append(decl['name']) elif kind == 'enum': enum_name = decl['name'] enum_types.append(enum_name) def gen_imports(inp, dep_prefixes): for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] l(f'import {dep_module_name}') l('') def gen_extra(inp): if inp['prefix'] in ['sg_']: # FIXME: remove when sokol-shdc has been integrated! l('when defined emscripten:') l(' const gl* = true') l(' const d3d11* = false') l(' const metal* = false') l(' const emscripten* = true') l('elif defined gl:') l(' const gl* = true') l(' const d3d11* = false') l(' const metal* = false') l(' const emscripten* = false') l('elif defined windows:') l(' const gl* = false') l(' const d3d11* = true') l(' const metal* = false') l(' const emscripten* = false') l('elif defined macosx:') l(' const gl* = false') l(' const d3d11* = false') l(' const metal* = true') l(' const emscripten* = false') l('elif defined linux:') l(' const gl* = true') l(' const d3d11* = false') l(' const metal* = false') l(' const emscripten* = false') l('else:') l(' error("unsupported platform")') l('') if inp['prefix'] in ['sg_', 'sapp_']: l('when defined emscripten:') l(' {.passl:"-lGL -ldl".}') l(' {.passc:"-DSOKOL_GLES3".}') l(' {.passL: "-s MIN_WEBGL_VERSION=2 -s MAX_WEBGL_VERSION=2".}') l('elif defined windows:') l(' when not defined vcc:') l(' {.passl:"-lkernel32 -luser32 -lshell32 -lgdi32".}') l(' when defined gl:') l(' {.passc:"-DSOKOL_GLCORE".}') l(' else:') l(' {.passc:"-DSOKOL_D3D11".}') l(' when not defined vcc:') l(' {.passl:"-ld3d11 -ldxgi".}') l('elif defined macosx:') l(' {.passc:"-x objective-c".}') l(' {.passl:"-framework Cocoa -framework QuartzCore".}') l(' when defined gl:') l(' {.passc:"-DSOKOL_GLCORE".}') l(' {.passl:"-framework OpenGL".}') l(' else:') l(' {.passc:"-DSOKOL_METAL".}') l(' {.passl:"-framework Metal -framework MetalKit".}') l('elif defined linux:') l(' {.passc:"-DSOKOL_GLCORE".}') l(' {.passl:"-lX11 -lXi -lXcursor -lGL -lm -ldl -lpthread".}') l('else:') l(' error("unsupported platform")') l('') if inp['prefix'] in ['saudio_']: l('when defined windows:') l(' when not defined vcc:') l(' {.passl:"-lkernel32 -lole32".}') l('elif defined macosx:') l(' {.passl:"-framework AudioToolbox".}') l('elif defined linux:') l(' when not defined emscripten:') l(' {.passl:"-lasound -lm -lpthread".}') l('else:') l(' error("unsupported platform")') l('') if inp['prefix'] in ['sg_']: l('## Convert a 4-element tuple of numbers to a gfx.Color') l('converter toColor*[R:SomeNumber,G:SomeNumber,B:SomeNumber,A:SomeNumber](rgba: tuple [r:R,g:G,b:B,a:A]):Color =') l(' Color(r:rgba.r.float32, g:rgba.g.float32, b:rgba.b.float32, a:rgba.a.float32)') l('') l('## Convert a 3-element tuple of numbers to a gfx.Color') l('converter toColor*[R:SomeNumber,G:SomeNumber,B:SomeNumber](rgba: tuple [r:R,g:G,b:B]):Color =') l(' Color(r:rgba.r.float32, g:rgba.g.float32, b:rgba.b.float32, a:1.float32)') l('') # NOTE: this simplistic to_Range() converter has various issues, some of them dangerous: # - doesn't work as expected for slice types # - it's very easy to create a range that points to invalid memory # (so far observed for stack-allocated structs <= 16 bytes) #if inp['prefix'] in ['sg_', 'sdtx_', 'sshape_']: # l('# helper function to convert "anything" into a Range') # l('converter to_Range*[T](source: T): Range =') # l(' Range(addr: source.addr, size: source.sizeof.uint)') # l('') c_source_path = '/'.join(c_source_paths[inp['prefix']].split('/')[3:]) l('{.passc:"-DSOKOL_NIM_IMPL".}') l('when defined(release):') l(' {.passc:"-DNDEBUG".}') l(f'{{.compile:"{c_source_path}".}}') def gen_module(inp, dep_prefixes): l('## machine generated, do not edit') l('') gen_imports(inp, dep_prefixes) pre_parse(inp) prefix = inp['prefix'] for decl in inp['decls']: if not decl['is_dep']: kind = decl['kind'] if kind == 'consts': gen_consts(decl, prefix) elif not check_ignore(decl['name']): if kind == 'struct': gen_struct(decl, prefix) gen_array_converters(decl, prefix) elif kind == 'enum': gen_enum(decl, prefix) elif kind == 'func': gen_func_nim(decl, prefix) gen_extra(inp) def prepare(): print('=== Generating Nim bindings:') if not os.path.isdir('sokol-nim/src/sokol'): os.makedirs('sokol-nim/src/sokol') if not os.path.isdir('sokol-nim/src/sokol/c'): os.makedirs('sokol-nim/src/sokol/c') def gen(c_header_path, c_prefix, dep_c_prefixes): if not c_prefix in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return global out_lines module_name = module_names[c_prefix] c_source_path = c_source_paths[c_prefix] print(f' {c_header_path} => {module_name}') reset_globals() shutil.copyfile(c_header_path, f'sokol-nim/src/sokol/c/{os.path.basename(c_header_path)}') ir = gen_ir.gen(c_header_path, c_source_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, dep_c_prefixes) output_path = f"sokol-nim/src/sokol/{ir['module']}.nim" with open(output_path, 'w', newline='\n') as f_outp: f_outp.write(out_lines)
0
repos/sokol
repos/sokol/bindgen/gen_util.py
# common utility functions for all bindings generators import re re_1d_array = re.compile("^(?:const )?\w*\s*\*?\[\d*\]$") re_2d_array = re.compile("^(?:const )?\w*\s*\*?\[\d*\]\[\d*\]$") def is_1d_array_type(s): return re_1d_array.match(s) is not None def is_2d_array_type(s): return re_2d_array.match(s) is not None def is_array_type(s): return is_1d_array_type(s) or is_2d_array_type(s) def extract_array_type(s): return s[:s.index('[')].strip() def extract_array_sizes(s): return s[s.index('['):].replace('[', ' ').replace(']', ' ').split() def is_string_ptr(s): return s == "const char *" def is_const_void_ptr(s): return s == "const void *" def is_void_ptr(s): return s == "void *" def is_func_ptr(s): return '(*)' in s def extract_ptr_type(s): tokens = s.split() if tokens[0] == 'const': return tokens[1] else: return tokens[0] # PREFIX_BLA_BLUB to bla_blub def as_lower_snake_case(s, prefix): outp = s.lower() if outp.startswith(prefix): outp = outp[len(prefix):] return outp # prefix_bla_blub => blaBlub, PREFIX_BLA_BLUB => blaBlub def as_lower_camel_case(s, prefix): outp = s.lower() if outp.startswith(prefix): outp = outp[len(prefix):] parts = outp.split('_') outp = parts[0] for part in parts[1:]: outp += part.capitalize() return outp
0
repos/sokol
repos/sokol/bindgen/README.md
## Language Binding Generation Scripts > REMINDER: we can pass `-fparse-all-comments` to the clang ast-dump command line which adds the following node types to the ast-dump.json: FullComment, ParagraphComment, TextComment. This might allow us to preserve comments in the language bindings (might be useful as part of a bigger change to make sokol header comments autodoc and Intellisense-friendly) ### Updating the bindings First make sure that clang and python3 are in the path: ``` > clang --version > python3 --version ``` ...on Windows I simply install those with scoop: ``` > scoop install llvm > scoop install python ``` To update the Zig bindings: ``` > cd sokol/bindgen > git clone https://github.com/floooh/sokol-zig > git clone https://github.com/floooh/sokol-nim > git clone https://github.com/floooh/sokol-odin > git clone https://github.com/floooh/sokol-rust > git clone https://github.com/floooh/sokol-d > git clone https://github.com/colinbellino/sokol-jai > python3 gen_all.py ``` ...and then to test and run Zig samples: ``` > cd sokol/bindgen/sokol-zig > zig build run-clear > zig build run-triangle > zig build run-cube ... ```
0
repos/sokol
repos/sokol/bindgen/gen_rust.py
# ------------------------------------------------------------------------------- # Generate Rust bindings. # # Rust coding style: # - types are PascalCase # - otherwise snake_case # ------------------------------------------------------------------------------- import gen_ir import os, shutil, sys import gen_util as util module_names = { "slog_": "log", "sg_": "gfx", "sapp_": "app", "stm_": "time", "saudio_": "audio", "sgl_": "gl", "sdtx_": "debugtext", "sshape_": "shape", "simgui_": "imgui", "sglue_": "glue", } module_requires_rust_feature = { module_names["simgui_"]: "imgui", } c_source_paths = { "slog_": "sokol-rust/src/sokol/c/sokol_log.c", "sg_": "sokol-rust/src/sokol/c/sokol_gfx.c", "sapp_": "sokol-rust/src/sokol/c/sokol_app.c", "stm_": "sokol-rust/src/sokol/c/sokol_time.c", "saudio_": "sokol-rust/src/sokol/c/sokol_audio.c", "sgl_": "sokol-rust/src/sokol/c/sokol_gl.c", "sdtx_": "sokol-rust/src/sokol/c/sokol_debugtext.c", "sshape_": "sokol-rust/src/sokol/c/sokol_shape.c", "simgui_": "sokol-rust/src/sokol/c/sokol_imgui.c", "sglue_": "sokol-rust/src/sokol/c/sokol_glue.c", } ignores = [ "sdtx_printf", "sdtx_vprintf", "simgui_add_key_event", # "sg_install_trace_hooks", # "sg_trace_hooks", ] range_struct_name = "Range" # functions that need to be exposed as 'raw' C callbacks without a Rust wrapper function c_callbacks = ["slog_func"] # NOTE: syntax for function results: "func_name.RESULT" overrides = { "type": "_type", "ref": "_ref", "sg_apply_uniforms.ub_index": "uintptr_t", "sg_draw.base_element": "uintptr_t", "sg_draw.num_elements": "uintptr_t", "sg_draw.num_instances": "uintptr_t", "sshape_element_range_t.base_element": "uintptr_t", "sshape_element_range_t.num_elements": "uintptr_t", "sdtx_font.font_index": "uintptr_t", "sdtx_move": "sdtx_move_cursor", "sdtx_move_x": "sdtx_move_cursor_x", "sdtx_move_y": "sdtx_move_cursor_y", "sg_image_type::SG_IMAGETYPE_2D": "SG_IMAGEYPE_DIM2", "sg_image_type::SG_IMAGETYPE_3D": "SG_IMAGETYPE_DIM3", "sapp_keycode::SAPP_KEYCODE_0": "SAPP_KEYCODE_NUM0", "sapp_keycode::SAPP_KEYCODE_1": "SAPP_KEYCODE_NUM1", "sapp_keycode::SAPP_KEYCODE_2": "SAPP_KEYCODE_NUM2", "sapp_keycode::SAPP_KEYCODE_3": "SAPP_KEYCODE_NUM3", "sapp_keycode::SAPP_KEYCODE_4": "SAPP_KEYCODE_NUM4", "sapp_keycode::SAPP_KEYCODE_5": "SAPP_KEYCODE_NUM5", "sapp_keycode::SAPP_KEYCODE_6": "SAPP_KEYCODE_NUM6", "sapp_keycode::SAPP_KEYCODE_7": "SAPP_KEYCODE_NUM7", "sapp_keycode::SAPP_KEYCODE_8": "SAPP_KEYCODE_NUM8", "sapp_keycode::SAPP_KEYCODE_9": "SAPP_KEYCODE_NUM9", # "sgl_error": "sgl_get_error", # 'error' is reserved in zig # "sgl_deg": "sgl_as_degrees", # "sgl_rad": "sgl_as_radians", # "sg_context_desc.color_format": "int", # "SGL_NO_ERROR": "SGL_ERROR_NO_ERROR", # "sg_context_desc.depth_format": "int", } prim_types = { "int": "i32", "bool": "bool", "char": "core::ffi::c_char", "int8_t": "i8", "uint8_t": "u8", "int16_t": "i16", "uint16_t": "u16", "int32_t": "i32", "uint32_t": "u32", "int64_t": "i64", "uint64_t": "u64", "float": "f32", "double": "f64", "uintptr_t": "usize", "intptr_t": "isize", "size_t": "usize", } prim_defaults = { "int": "0", "bool": "false", "int8_t": "0", "uint8_t": "0", "int16_t": "0", "uint16_t": "0", "int32_t": "0", "uint32_t": "0", "int64_t": "0", "uint64_t": "0", "float": "0.0", "double": "0.0", "uintptr_t": "0", "intptr_t": "0", "size_t": "0", "char": "0", } special_constant_types = { "SG_INVALID_ID": "u32", "SAPP_MODIFIER_SHIFT": "u32", "SAPP_MODIFIER_CTRL": "u32", "SAPP_MODIFIER_ALT": "u32", "SAPP_MODIFIER_SUPER": "u32", "SAPP_MODIFIER_LMB": "u32", "SAPP_MODIFIER_RMB": "u32", "SAPP_MODIFIER_MMB": "u32", } struct_types = [] enum_types = [] enum_items = {} out_lines = "" def reset_globals(): global struct_types global enum_types global enum_items global out_lines struct_types = [] enum_types = [] enum_items = {} out_lines = "" def l(s): global out_lines out_lines += s + "\n" def as_rust_prim_type(s): return prim_types[s] def as_upper_snake_case(s, prefix): outp = s.lower() if outp.startswith(prefix): outp = outp[len(prefix):] return outp.upper() # prefix_bla_blub(_t) => (dep::)BlaBlub def as_rust_struct_type(s, prefix): parts = s.lower().split("_") outp = "" if s.startswith(prefix) else f"{parts[0]}::" for part in parts[1:]: # ignore '_t' type postfix if part != "t": outp += part.capitalize() return outp # prefix_bla_blub(_t) => (dep::)BlaBlub def as_rust_enum_type(s, prefix): parts = s.lower().split("_") outp = "" if s.startswith(prefix) else f"{parts[0]}::" for part in parts[1:]: # ignore '_t' type postfix if part != "t": outp += part.capitalize() return outp def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores # PREFIX_ENUM_BLA_BLA => BlaBla, _PREFIX_ENUM_BLA_BLA => BlaBla def as_enum_item_name(s): parts = s.lstrip("_").split("_") outp = "" for i, part in enumerate(parts[2:]): # TODO: What to do with enum fields starting with numbers? outp += part.capitalize() return outp def enum_default_item(enum_name): return enum_items[enum_name][0] def is_prim_type(s): return s in prim_types def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def is_struct_ptr(s): for struct_type in struct_types: if s == f"{struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def as_c_arg_type(arg_prefix, arg_type, prefix): # NOTE: if arg_prefix is None, the result is used as return value pre = "" if arg_prefix is None else arg_prefix if arg_type == "void": return "" elif is_prim_type(arg_type): return pre + as_rust_prim_type(arg_type) elif is_struct_type(arg_type): return pre + as_rust_struct_type(arg_type, prefix) elif is_enum_type(arg_type): return pre + as_rust_enum_type(arg_type, prefix) elif util.is_void_ptr(arg_type): return pre + "*mut core::ffi::c_void" elif util.is_const_void_ptr(arg_type): return pre + "*const core::ffi::c_void" elif util.is_string_ptr(arg_type): return pre + "*const core::ffi::c_char" elif is_const_struct_ptr(arg_type): return pre + f"*const {as_rust_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_struct_ptr(arg_type): return pre + f"*mut {as_rust_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_prim_ptr(arg_type): return pre + f"*mut {as_rust_prim_type(util.extract_ptr_type(arg_type))}" elif is_const_prim_ptr(arg_type): return pre + f"*const {as_rust_prim_type(util.extract_ptr_type(arg_type))}" else: sys.exit(f"ERROR as_c_arg_type(): {arg_type}") def as_rust_arg_type(arg_prefix, arg_type, prefix): # NOTE: if arg_prefix is None, the result is used as return value pre = "" if arg_prefix is None else arg_prefix if arg_type == "void": return "" elif is_prim_type(arg_type): return pre + as_rust_prim_type(arg_type) elif is_struct_type(arg_type): return pre + as_rust_struct_type(arg_type, prefix) elif is_enum_type(arg_type): return pre + as_rust_enum_type(arg_type, prefix) elif util.is_void_ptr(arg_type): return pre + "*mut core::ffi::c_void" elif util.is_const_void_ptr(arg_type): return pre + "*const core::ffi::c_void" elif util.is_string_ptr(arg_type): return pre + "&str" elif is_const_struct_ptr(arg_type): return pre + f"&{as_rust_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_struct_ptr(arg_type): return pre + f"&mut {as_rust_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_prim_ptr(arg_type): return pre + f"&mut {as_rust_prim_type(util.extract_ptr_type(arg_type))}" elif is_const_prim_ptr(arg_type): return pre + f"&{as_rust_prim_type(util.extract_ptr_type(arg_type))}" else: sys.exit(f"ERROR as_rust_arg_type(): {arg_type}") def is_rust_string(rust_type): return rust_type == "&str" or rust_type == " -> &'static str" # get C-style arguments of a function pointer as string def funcptr_args_c(field_type, prefix): tokens = field_type[field_type.index("(*)") + 4: -1].split(",") s = "" for token in tokens: arg_type = token.strip() if s != "": s += ", " c_arg = as_c_arg_type(None, arg_type, prefix) if c_arg == "void": return "" else: s += c_arg return s # get C-style result of a function pointer as string def funcptr_result_c(field_type): res_type = field_type[: field_type.index("(*)")].strip() if res_type == "void": return "" elif is_prim_type(res_type): return f" -> {as_rust_prim_type(res_type)}" elif util.is_const_void_ptr(res_type): return " -> *const core::ffi::c_void" elif util.is_void_ptr(res_type): return " -> *mut core::ffi::c_void" else: sys.exit(f"ERROR funcptr_result_c(): {field_type}") def funcdecl_args_c(decl, prefix): s = "" func_name = decl["name"] for param_decl in decl["params"]: if s != "": s += ", " param_name = param_decl["name"] param_type = check_override( f"{func_name}.{param_name}", default=param_decl["type"] ) s += f"{as_c_arg_type(f'{param_name}: ', param_type, prefix)}" return s def funcdecl_args_rust(decl, prefix): s = "" func_name = decl["name"] for param_decl in decl["params"]: if s != "": s += ", " param_name = param_decl["name"] param_type = check_override( f"{func_name}.{param_name}", default=param_decl["type"] ) s += f"{as_rust_arg_type(f'{param_name}: ', param_type, prefix)}" return s def funcdecl_result_c(decl, prefix): func_name = decl["name"] decl_type = decl["type"] result_type = check_override( f"{func_name}.RESULT", default=decl_type[: decl_type.index("(")].strip() ) it = as_c_arg_type(None, result_type, prefix) if it == "()" or it == "": return "" else: return f" -> {it}" def funcdecl_result_rust(decl, prefix): func_name = decl["name"] decl_type = decl["type"] result_type = check_override( f"{func_name}.RESULT", default=decl_type[: decl_type.index("(")].strip() ) rust_res_type = as_rust_arg_type(None, result_type, prefix) if is_rust_string(rust_res_type): rust_res_type = "&'static str" if rust_res_type == "": return "" else: return f" -> {rust_res_type }" def gen_struct(decl, prefix): struct_name = check_override(decl["name"]) rust_type = as_rust_struct_type(struct_name, prefix) rust_struct_type = rust_type struct_lines = [] default_lines = [] for field in decl["fields"]: field_name = check_override(field["name"]) field_type = check_override( f"{struct_name}.{field_name}", default=field["type"] ) if is_prim_type(field_type): struct_lines.append( f"pub {field_name}: {as_rust_prim_type(field_type)}" ) default_lines.append( f"{field_name}: {type_default_value(field_type)}" ) elif is_struct_type(field_type): struct_lines.append( f"pub {field_name}: {as_rust_struct_type(field_type, prefix)}" ) default_lines.append( f"{field_name}: {as_rust_struct_type(field_type, prefix)}::new()" ) elif is_enum_type(field_type): struct_lines.append( f"pub {field_name}: {as_rust_enum_type(field_type, prefix)}" ) default_lines.append( f"{field_name}: {as_rust_enum_type(field_type, prefix)}::new()" ) elif util.is_string_ptr(field_type): struct_lines.append( f"pub {field_name}: *const core::ffi::c_char" ) default_lines.append( f"{field_name}: core::ptr::null()" ) elif util.is_const_void_ptr(field_type): struct_lines.append( f"pub {field_name}: *const core::ffi::c_void" ) default_lines.append( f"{field_name}: core::ptr::null()" ) elif util.is_void_ptr(field_type): struct_lines.append( f"pub {field_name}: *mut core::ffi::c_void" ) default_lines.append( f"{field_name}: core::ptr::null_mut()" ) elif is_const_prim_ptr(field_type): struct_lines.append( f"pub {field_name}: *const {as_rust_prim_type(util.extract_ptr_type(field_type))}" ) default_lines.append( f"{field_name}: core::ptr::null()" ) elif is_prim_ptr(field_type): struct_lines.append( f"pub {field_name}: *mut {as_rust_prim_type(util.extract_ptr_type(field_type))}" ) default_lines.append( f"{field_name}: core::ptr::null_mut()" ) elif is_const_struct_ptr(field_type): struct_lines.append( f"pub {field_name}: *const {as_rust_struct_type(util.extract_ptr_type(field_type), prefix)}" ) default_lines.append( f"{field_name}: core::ptr::null()" ) elif is_struct_ptr(field_type): struct_lines.append( f"pub {field_name}: *mut {as_rust_struct_type(util.extract_ptr_type(field_type), prefix)}" ) default_lines.append( f"{field_name}: core::ptr::null_mut()" ) elif util.is_func_ptr(field_type): struct_lines.append( f"pub {field_name}: Option<extern \"C\" fn({funcptr_args_c(field_type, prefix)}){funcptr_result_c(field_type)}>" ) default_lines.append( f"{field_name}: None" ) elif util.is_1d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type) or is_struct_type(array_type): if is_prim_type(array_type): rust_type = as_rust_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type) or is_enum_type(array_type): rust_type = as_rust_struct_type(array_type, prefix) def_val = f"{rust_type}::new()" else: sys.exit(f"ERROR gen_struct is_1d_array_type: {array_type}") t0 = f"[{rust_type}; {array_sizes[0]}]" # t1 = f"&{rust_type}" struct_lines.append( f"pub {field_name}: {t0}" ) default_lines.append( f"{field_name}: [{def_val}; {array_sizes[0]}]" ) elif util.is_const_void_ptr(array_type): struct_lines.append( f"pub {field_name}: [*const core::ffi::c_void; {array_sizes[0]}]" ) default_lines.append( f"{field_name}: [core::ptr::null(); {array_sizes[0]}]" ) else: sys.exit( f"ERROR gen_struct: array {field_name}: {field_type} => [{array_type}: {array_sizes[0]}]" ) elif util.is_2d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type): rust_type = as_rust_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type): rust_type = as_rust_struct_type(array_type, prefix) def_val = f"{rust_type}::new()" else: sys.exit(f"ERROR gen_struct is_2d_array_type: {array_type}") struct_lines.append( f"pub {field_name}: [[{rust_type}; {array_sizes[1]}]; {array_sizes[0]}]" ) default_lines.append( f"{field_name}: [[{def_val}; {array_sizes[1]}]; {array_sizes[0]}]" ) else: sys.exit(f"ERROR gen_struct: {field_name}: {field_type};") # # TODO: Is this the best way to have zero-initialization with support for constants? # core::mem::zeroed() cleaner? # l("#[repr(C)]") l("#[derive(Copy, Clone, Debug)]") l(f"pub struct {rust_struct_type} {{") for line in struct_lines: l(f" {line},") l("}") l(f"impl {rust_struct_type} {{") l(" pub const fn new() -> Self {") l(" Self {") for line in default_lines: l(f" {line},") l(" }") l(" }") l("}") l(f"impl Default for {rust_struct_type} {{") l(" fn default() -> Self {") l(" Self::new()") l(" }") l("}") def gen_consts(decl, prefix): for item in decl["items"]: # # TODO: What type should these constants have? Currently giving all `usize` # unless specifically overridden by `special_constant_types` # item_name = check_override(item["name"]) if item_name in special_constant_types: special_type = special_constant_types[item_name] l(f"pub const {as_upper_snake_case(item_name, prefix)}: {special_type} = {item['value']};") else: l(f"pub const {as_upper_snake_case(item_name, prefix)}: usize = {item['value']};") def gen_enum(decl, prefix): enum_name = check_override(decl["name"]) names = [ as_enum_item_name(check_override(f"{decl['name']}::{item['name']}", item['name'])) for item in decl["items"] ] is_u32 = False for name in names: if name == "ForceU32": is_u32 = True break l("#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]") if is_u32: l("#[repr(u32)]") else: l("#[repr(i32)]") rust_enum_name = as_rust_enum_type(enum_name, prefix) l(f"pub enum {rust_enum_name} {{") for item_name, item in zip(names, decl["items"]): if item_name != "ForceU32": if "value" in item: l(f" {item_name} = {item['value']},") else: l(f" {item_name},") l("}") default_item = enum_default_item(enum_name) l(f"impl {rust_enum_name} {{") l(" pub const fn new() -> Self {") l(f" Self::{default_item}") l(" }") l("}") l(f"impl Default for {rust_enum_name} {{") l(" fn default() -> Self {") l(f" Self::{default_item}") l(" }") l("}") def gen_func_c(decl, prefix): l("pub extern \"C\" {") l(f" fn {decl['name']}({funcdecl_args_c(decl, prefix)}){funcdecl_result_c(decl, prefix)};") l("}") def gen_c_funcs(funcs): l("pub mod ffi {") l(" #![allow(unused_imports)]") l(" use super::*;") l(" extern \"C\" {") for decl, prefix in funcs: l(f" pub fn {decl['name']}({funcdecl_args_c(decl, prefix)}){funcdecl_result_c(decl, prefix)};") l(" }") l("}") def gen_rust_funcs(funcs): for decl, prefix in funcs: gen_func_rust(decl, prefix) def gen_func_rust(decl, prefix): c_func_name = decl["name"] rust_func_name = util.as_lower_snake_case(check_override(decl["name"]), prefix) rust_res_type = funcdecl_result_rust(decl, prefix) if c_func_name in c_callbacks: c_res_type = funcdecl_result_c(decl, prefix) l("#[inline]") l(f'pub extern "C" fn {c_func_name}({funcdecl_args_c(decl, prefix)}){c_res_type} {{') l(" unsafe {") s = f" ffi::{c_func_name}(" for i, param_decl in enumerate(decl["params"]): if i > 0: s += ", " arg_name = param_decl["name"] s += arg_name s += ")" l(s) l(" }") l("}") else: l("#[inline]") l(f"pub fn {rust_func_name}({funcdecl_args_rust(decl, prefix)}){rust_res_type} {{") for i, param_decl in enumerate(decl["params"]): arg_name = param_decl["name"] arg_type = param_decl["type"] if util.is_string_ptr(arg_type): l(f" let tmp_{i} = std::ffi::CString::new({arg_name}).unwrap();") l(" unsafe {") if is_rust_string(rust_res_type): # special case: convert C string to rust string slice s = f" c_char_ptr_to_rust_str(ffi::{c_func_name}(" else: s = f" ffi::{c_func_name}(" for i, param_decl in enumerate(decl["params"]): if i > 0: s += ", " arg_name = param_decl["name"] arg_type = param_decl["type"] if util.is_string_ptr(arg_type): s += f"tmp_{i}.as_ptr()" else: s += arg_name if is_rust_string(rust_res_type): s += ")" s += ")" l(s) l(" }") l("}") def pre_parse(inp): global struct_types global enum_types for decl in inp["decls"]: kind = decl["kind"] if kind == "struct": struct_types.append(decl["name"]) elif kind == "enum": enum_name = decl["name"] enum_types.append(enum_name) enum_items[enum_name] = [] for item in decl["items"]: enum_items[enum_name].append(as_enum_item_name(item["name"])) def gen_imports(inp, dep_prefixes): for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] # l(f'const {dep_prefix[:-1]} = @import("{dep_module_name}.rs");') l(f'use crate::{dep_module_name} as {dep_prefix[:-1]};') l("") def gen_helpers(inp): l("/// Helper function to convert a C string to a Rust string slice") l("#[inline]") l("fn c_char_ptr_to_rust_str(c_char_ptr: *const core::ffi::c_char) -> &'static str {") l(" let c_str = unsafe { core::ffi::CStr::from_ptr(c_char_ptr) };") l(" c_str.to_str().expect(\"c_char_ptr contained invalid Utf8 Data\")") l("}") l("") if inp['prefix'] in ['sg_', 'sdtx_', 'sshape_', 'sapp_']: l("/// Helper function to cast a Rust slice into a sokol Range") l(f"pub fn slice_as_range<T>(data: &[T]) -> {range_struct_name} {{") l(f" {range_struct_name} {{ size: std::mem::size_of_val(data), ptr: data.as_ptr() as *const _ }}") l("}") l("/// Helper function to cast a Rust reference into a sokol Range") l(f"pub fn value_as_range<T>(value: &T) -> {range_struct_name} {{") l(f" {range_struct_name} {{ size: std::mem::size_of::<T>(), ptr: value as *const T as *const _ }}") l("}") l("") l(f"impl<T> From<&[T]> for {range_struct_name} {{") l(" #[inline]") l(" fn from(data: &[T]) -> Self {") l(" slice_as_range(data)") l(" }") l("}") l(f"impl<T> From<&T> for {range_struct_name} {{") l(" #[inline]") l(" fn from(value: &T) -> Self {") l(" value_as_range(value)") l(" }") l("}") l("") # if inp["prefix"] == "sdtx_": # l("/// std.fmt compatible Writer") # l("pub const Writer = struct {") # l(" pub const Error = error { };") # l(" pub fn writeAll(self: Writer, bytes: []const u8) Error!void {") # l(" _ = self;") # l(" for (bytes) |byte| {") # l(" putc(byte);") # l(" }") # l(" }") # l(" pub fn writeByteNTimes(self: Writer, byte: u8, n: u64) Error!void {") # l(" _ = self;") # l(" var i: u64 = 0;") # l(" while (i < n): (i += 1) {") # l(" putc(byte);") # l(" }") # l(" }") # l("};") # l("// std.fmt-style formatted print") # l("pub fn print(comptime fmt: anytype, args: anytype) void {") # l(" var writer: Writer = .{};") # l(' @import("std").fmt.format(writer, fmt, args) catch {};') # l("}") # l("") def gen_module(inp, dep_prefixes): module = inp['module'] if module in module_requires_rust_feature: feature = module_requires_rust_feature[module] l(f"//! To use this module, enable the feature \"{feature}\"") l("// machine generated, do not edit") l("") l("#![allow(dead_code)]") l("#![allow(unused_imports)]") l("") gen_imports(inp, dep_prefixes) gen_helpers(inp) pre_parse(inp) prefix = inp["prefix"] funcs = [] for decl in inp["decls"]: # # HACK: gen_ir.py accidentally marks all sg_imgui_ declarations as is_dep since sg_imgui # depends on sg_a but also starts with sg_... Fix gen_ir.py to remove this hack # dep_hack = False if module == "gfx_imgui": dep_hack = "name" in decl and decl["name"].startswith("sg_imgui_") if not decl["is_dep"] or dep_hack: kind = decl["kind"] if kind == "consts": gen_consts(decl, prefix) elif not check_ignore(decl["name"]): if kind == "struct": gen_struct(decl, prefix) elif kind == "enum": gen_enum(decl, prefix) elif kind == "func": funcs.append((decl, prefix)) gen_c_funcs(funcs) gen_rust_funcs(funcs) def prepare(): print("=== Generating Rust bindings:") if not os.path.isdir("sokol-rust/src/sokol"): os.makedirs("sokol-rust/src/sokol") if not os.path.isdir("sokol-rust/src/sokol/c"): os.makedirs("sokol-rust/src/sokol/c") with open("sokol-rust/src/lib.rs", "w", newline="\n") as f_outp: f_outp.write("//! Automatically generated sokol bindings for Rust\n\n") def gen(c_header_path, c_prefix, dep_c_prefixes): if c_prefix not in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return module_name = module_names[c_prefix] c_source_path = c_source_paths[c_prefix] print(f' {c_header_path} => {module_name}') reset_globals() c_path_in_project = f'sokol-rust/src/sokol/c/{os.path.basename(c_header_path)}' shutil.copyfile(c_header_path, c_path_in_project) ir = gen_ir.gen(c_header_path, c_source_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, dep_c_prefixes) output_path = f"sokol-rust/src/{ir['module']}.rs" with open(output_path, 'w', newline='\n') as f_outp: f_outp.write(out_lines) with open("sokol-rust/src/lib.rs", "a", newline="\n") as f_outp: module = ir['module'] if module in module_requires_rust_feature: feature = module_requires_rust_feature[module] f_outp.write(f"/// Enable feature \"{feature}\" to use\n") f_outp.write(f"#[cfg(feature=\"{feature}\")]\n") f_outp.write(f"pub mod {module};\n")
0
repos/sokol
repos/sokol/bindgen/gen_zig.py
#------------------------------------------------------------------------------- # Generate Zig bindings. # # Zig coding style: # - types are PascalCase # - functions are camelCase # - otherwise snake_case #------------------------------------------------------------------------------- import gen_ir import os, shutil, sys import gen_util as util module_names = { 'slog_': 'log', 'sg_': 'gfx', 'sapp_': 'app', 'stm_': 'time', 'saudio_': 'audio', 'sgl_': 'gl', 'sdtx_': 'debugtext', 'sshape_': 'shape', 'sglue_': 'glue', 'sfetch_': 'fetch', 'simgui_': 'imgui', } c_source_paths = { 'slog_': 'sokol-zig/src/sokol/c/sokol_log.c', 'sg_': 'sokol-zig/src/sokol/c/sokol_gfx.c', 'sapp_': 'sokol-zig/src/sokol/c/sokol_app.c', 'stm_': 'sokol-zig/src/sokol/c/sokol_time.c', 'saudio_': 'sokol-zig/src/sokol/c/sokol_audio.c', 'sgl_': 'sokol-zig/src/sokol/c/sokol_gl.c', 'sdtx_': 'sokol-zig/src/sokol/c/sokol_debugtext.c', 'sshape_': 'sokol-zig/src/sokol/c/sokol_shape.c', 'sglue_': 'sokol-zig/src/sokol/c/sokol_glue.c', 'sfetch_': 'sokol-zig/src/sokol/c/sokol_fetch.c', 'simgui_': 'sokol-zig/src/sokol/c/sokol_imgui.c', } ignores = [ 'sdtx_printf', 'sdtx_vprintf', 'sg_install_trace_hooks', 'sg_trace_hooks', ] # functions that need to be exposed as 'raw' C callbacks without a Zig wrapper function c_callbacks = [ 'slog_func' ] # NOTE: syntax for function results: "func_name.RESULT" overrides = { 'sgl_error': 'sgl_get_error', # 'error' is reserved in Zig 'sgl_deg': 'sgl_as_degrees', 'sgl_rad': 'sgl_as_radians', 'sg_apply_uniforms.ub_index': 'uint32_t', 'sg_draw.base_element': 'uint32_t', 'sg_draw.num_elements': 'uint32_t', 'sg_draw.num_instances': 'uint32_t', 'sshape_element_range_t.base_element': 'uint32_t', 'sshape_element_range_t.num_elements': 'uint32_t', 'sdtx_font.font_index': 'uint32_t', 'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR', 'sfetch_continue': 'continue_fetching', # 'continue' is reserved in Zig 'sfetch_desc': 'sfetch_get_desc' # 'desc' shadowed by earlier definition } prim_types = { 'int': 'i32', 'bool': 'bool', 'char': 'u8', 'int8_t': 'i8', 'uint8_t': 'u8', 'int16_t': 'i16', 'uint16_t': 'u16', 'int32_t': 'i32', 'uint32_t': 'u32', 'int64_t': 'i64', 'uint64_t': 'u64', 'float': 'f32', 'double': 'f64', 'uintptr_t': 'usize', 'intptr_t': 'isize', 'size_t': 'usize' } prim_defaults = { 'int': '0', 'bool': 'false', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', 'uint16_t': '0', 'int32_t': '0', 'uint32_t': '0', 'int64_t': '0', 'uint64_t': '0', 'float': '0.0', 'double': '0.0', 'uintptr_t': '0', 'intptr_t': '0', 'size_t': '0' } struct_types = [] enum_types = [] enum_items = {} out_lines = '' def reset_globals(): global struct_types global enum_types global enum_items global out_lines struct_types = [] enum_types = [] enum_items = {} out_lines = '' def l(s): global out_lines out_lines += s + '\n' def as_zig_prim_type(s): return prim_types[s] # prefix_bla_blub(_t) => (dep.)BlaBlub def as_zig_struct_type(s, prefix): parts = s.lower().split('_') outp = '' if s.startswith(prefix) else f'{parts[0]}.' for part in parts[1:]: # ignore '_t' type postfix if (part != 't'): outp += part.capitalize() return outp # prefix_bla_blub(_t) => (dep.)BlaBlub def as_zig_enum_type(s, prefix): parts = s.lower().split('_') outp = '' if s.startswith(prefix) else f'{parts[0]}.' for part in parts[1:]: if (part != 't'): outp += part.capitalize() return outp def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores # PREFIX_ENUM_BLA => Bla, _PREFIX_ENUM_BLA => Bla def as_enum_item_name(s): outp = s.lstrip('_') parts = outp.split('_')[2:] outp = '_'.join(parts) if outp[0].isdigit(): outp = '_' + outp return outp def enum_default_item(enum_name): return enum_items[enum_name][0] def is_prim_type(s): return s in prim_types def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def as_c_arg_type(arg_type, prefix): if arg_type == "void": return "void" elif is_prim_type(arg_type): return as_zig_prim_type(arg_type) elif is_struct_type(arg_type): return as_zig_struct_type(arg_type, prefix) elif is_enum_type(arg_type): return as_zig_enum_type(arg_type, prefix) elif util.is_void_ptr(arg_type): return "?*anyopaque" elif util.is_const_void_ptr(arg_type): return "?*const anyopaque" elif util.is_string_ptr(arg_type): return "[*c]const u8" elif is_const_struct_ptr(arg_type): return f"[*c]const {as_zig_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_prim_ptr(arg_type): return f"[*c]{as_zig_prim_type(util.extract_ptr_type(arg_type))}" elif is_const_prim_ptr(arg_type): return f"[*c]const {as_zig_prim_type(util.extract_ptr_type(arg_type))}" else: sys.exit(f"Error as_c_arg_type(): {arg_type}") def as_zig_arg_type(arg_prefix, arg_type, prefix): # NOTE: if arg_prefix is None, the result is used as return value pre = "" if arg_prefix is None else arg_prefix if arg_type == "void": if arg_prefix is None: return "void" else: return "" elif is_prim_type(arg_type): return pre + as_zig_prim_type(arg_type) elif is_struct_type(arg_type): return pre + as_zig_struct_type(arg_type, prefix) elif is_enum_type(arg_type): return pre + as_zig_enum_type(arg_type, prefix) elif util.is_void_ptr(arg_type): return pre + "?*anyopaque" elif util.is_const_void_ptr(arg_type): return pre + "?*const anyopaque" elif util.is_string_ptr(arg_type): return pre + "[:0]const u8" elif is_const_struct_ptr(arg_type): # not a bug, pass const structs by value return pre + f"{as_zig_struct_type(util.extract_ptr_type(arg_type), prefix)}" elif is_prim_ptr(arg_type): return pre + f"*{as_zig_prim_type(util.extract_ptr_type(arg_type))}" elif is_const_prim_ptr(arg_type): return pre + f"*const {as_zig_prim_type(util.extract_ptr_type(arg_type))}" else: sys.exit(f"ERROR as_zig_arg_type(): {arg_type}") def is_zig_string(zig_type): return zig_type == "[:0]const u8" # get C-style arguments of a function pointer as string def funcptr_args_c(field_type, prefix): tokens = field_type[field_type.index('(*)')+4:-1].split(',') s = "" for token in tokens: arg_type = token.strip() if s != "": s += ", " c_arg = as_c_arg_type(arg_type, prefix) if c_arg == "void": return "" else: s += c_arg return s # get C-style result of a function pointer as string def funcptr_result_c(field_type): res_type = field_type[:field_type.index('(*)')].strip() if res_type == 'void': return 'void' elif is_prim_type(res_type): return as_zig_prim_type(res_type) elif util.is_const_void_ptr(res_type): return '?*const anyopaque' elif util.is_void_ptr(res_type): return '?*anyopaque' else: sys.exit(f"ERROR funcptr_result_c(): {field_type}") def funcdecl_args_c(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) s += as_c_arg_type(param_type, prefix) return s def funcdecl_args_zig(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) s += f"{as_zig_arg_type(f'{param_name}: ', param_type, prefix)}" return s def funcdecl_result_c(decl, prefix): func_name = decl['name'] decl_type = decl['type'] result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip()) return as_c_arg_type(result_type, prefix) def funcdecl_result_zig(decl, prefix): func_name = decl['name'] decl_type = decl['type'] result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip()) zig_res_type = as_zig_arg_type(None, result_type, prefix) return zig_res_type def gen_struct(decl, prefix): struct_name = check_override(decl['name']) zig_type = as_zig_struct_type(struct_name, prefix) l(f"pub const {zig_type} = extern struct {{") for field in decl['fields']: field_name = check_override(field['name']) field_type = check_override(f'{struct_name}.{field_name}', default=field['type']) if is_prim_type(field_type): l(f" {field_name}: {as_zig_prim_type(field_type)} = {type_default_value(field_type)},") elif is_struct_type(field_type): l(f" {field_name}: {as_zig_struct_type(field_type, prefix)} = .{{}},") elif is_enum_type(field_type): l(f" {field_name}: {as_zig_enum_type(field_type, prefix)} = .{enum_default_item(field_type)},") elif util.is_string_ptr(field_type): l(f" {field_name}: [*c]const u8 = null,") elif util.is_const_void_ptr(field_type): l(f" {field_name}: ?*const anyopaque = null,") elif util.is_void_ptr(field_type): l(f" {field_name}: ?*anyopaque = null,") elif is_const_prim_ptr(field_type): l(f" {field_name}: ?[*]const {as_zig_prim_type(util.extract_ptr_type(field_type))} = null,") elif util.is_func_ptr(field_type): l(f" {field_name}: ?*const fn ({funcptr_args_c(field_type, prefix)}) callconv(.C) {funcptr_result_c(field_type)} = null,") elif util.is_1d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type) or is_struct_type(array_type): if is_prim_type(array_type): zig_type = as_zig_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type): zig_type = as_zig_struct_type(array_type, prefix) def_val = '.{}' elif is_enum_type(array_type): zig_type = as_zig_enum_type(array_type, prefix) def_val = '.{}' else: sys.exit(f"ERROR gen_struct is_1d_array_type: {array_type}") t0 = f"[{array_sizes[0]}]{zig_type}" t1 = f"[_]{zig_type}" l(f" {field_name}: {t0} = {t1}{{{def_val}}} ** {array_sizes[0]},") elif util.is_const_void_ptr(array_type): l(f" {field_name}: [{array_sizes[0]}]?*const anyopaque = [_]?*const anyopaque{{null}} ** {array_sizes[0]},") else: sys.exit(f"ERROR gen_struct: array {field_name}: {field_type} => {array_type} [{array_sizes[0]}]") elif util.is_2d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type): zig_type = as_zig_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type): zig_type = as_zig_struct_type(array_type, prefix) def_val = ".{}" else: sys.exit(f"ERROR gen_struct is_2d_array_type: {array_type}") t0 = f"[{array_sizes[0]}][{array_sizes[1]}]{zig_type}" l(f" {field_name}: {t0} = [_][{array_sizes[1]}]{zig_type}{{[_]{zig_type}{{{def_val}}} ** {array_sizes[1]}}} ** {array_sizes[0]},") else: sys.exit(f"ERROR gen_struct: {field_name}: {field_type};") l("};") def gen_consts(decl, prefix): for item in decl['items']: item_name = check_override(item['name']) l(f"pub const {util.as_lower_snake_case(item_name, prefix)} = {item['value']};") def gen_enum(decl, prefix): enum_name = check_override(decl['name']) l(f"pub const {as_zig_enum_type(enum_name, prefix)} = enum(i32) {{") for item in decl['items']: item_name = as_enum_item_name(check_override(item['name'])) if item_name != "FORCE_U32": if 'value' in item: l(f" {item_name} = {item['value']},") else: l(f" {item_name},") l("};") def gen_func_c(decl, prefix): l(f"pub extern fn {decl['name']}({funcdecl_args_c(decl, prefix)}) {funcdecl_result_c(decl, prefix)};") def gen_func_zig(decl, prefix): c_func_name = decl['name'] zig_func_name = util.as_lower_camel_case(check_override(decl['name']), prefix) if c_func_name in c_callbacks: # a simple forwarded C callback function l(f"pub const {zig_func_name} = {c_func_name};") else: zig_res_type = funcdecl_result_zig(decl, prefix) l(f"pub fn {zig_func_name}({funcdecl_args_zig(decl, prefix)}) {zig_res_type} {{") if is_zig_string(zig_res_type): # special case: convert C string to Zig string slice s = f" return cStrToZig({c_func_name}(" elif zig_res_type != 'void': s = f" return {c_func_name}(" else: s = f" {c_func_name}(" for i, param_decl in enumerate(decl['params']): if i > 0: s += ", " arg_name = param_decl['name'] arg_type = param_decl['type'] if is_const_struct_ptr(arg_type): s += f"&{arg_name}" elif util.is_string_ptr(arg_type): s += f"@ptrCast({arg_name})" else: s += arg_name if is_zig_string(zig_res_type): s += ")" s += ");" l(s) l("}") def pre_parse(inp): global struct_types global enum_types for decl in inp['decls']: kind = decl['kind'] if kind == 'struct': struct_types.append(decl['name']) elif kind == 'enum': enum_name = decl['name'] enum_types.append(enum_name) enum_items[enum_name] = [] for item in decl['items']: enum_items[enum_name].append(as_enum_item_name(item['name'])) def gen_imports(inp, dep_prefixes): l('const builtin = @import("builtin");') for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] l(f'const {dep_prefix[:-1]} = @import("{dep_module_name}.zig");') l('') def gen_helpers(inp): l('// helper function to convert a C string to a Zig string slice') l('fn cStrToZig(c_str: [*c]const u8) [:0]const u8 {') l(' return @import("std").mem.span(c_str);') l('}') if inp['prefix'] in ['sg_', 'sdtx_', 'sshape_', 'sfetch_']: l('// helper function to convert "anything" to a Range struct') l('pub fn asRange(val: anytype) Range {') l(' const type_info = @typeInfo(@TypeOf(val));') l(' // FIXME: naming convention change between 0.13 and 0.14-dev') l(' if (@hasField(@TypeOf(type_info), "Pointer")) {') l(' switch (type_info) {') l(' .Pointer => {') l(' switch (type_info.Pointer.size) {') l(' .One => return .{ .ptr = val, .size = @sizeOf(type_info.Pointer.child) },') l(' .Slice => return .{ .ptr = val.ptr, .size = @sizeOf(type_info.Pointer.child) * val.len },') l(' else => @compileError("FIXME: Pointer type!"),') l(' }') l(' },') l(' .Struct, .Array => {') l(' @compileError("Structs and arrays must be passed as pointers to asRange");') l(' },') l(' else => {') l(' @compileError("Cannot convert to range!");') l(' },') l(' }') l(' } else {') l(' switch (type_info) {') l(' .pointer => {') l(' switch (type_info.pointer.size) {') l(' .One => return .{ .ptr = val, .size = @sizeOf(type_info.pointer.child) },') l(' .Slice => return .{ .ptr = val.ptr, .size = @sizeOf(type_info.pointer.child) * val.len },') l(' else => @compileError("FIXME: Pointer type!"),') l(' }') l(' },') l(' .@"struct", .array => {') l(' @compileError("Structs and arrays must be passed as pointers to asRange");') l(' },') l(' else => {') l(' @compileError("Cannot convert to range!");') l(' },') l(' }') l(' }') l('}') l('') if inp['prefix'] == 'sdtx_': l('// std.fmt compatible Writer') l('pub const Writer = struct {') l(' pub const Error = error{};') l(' pub fn writeAll(self: Writer, bytes: []const u8) Error!void {') l(' _ = self;') l(' for (bytes) |byte| {') l(' putc(byte);') l(' }') l(' }') l(' pub fn writeByteNTimes(self: Writer, byte: u8, n: usize) Error!void {') l(' _ = self;') l(' var i: u64 = 0;') l(' while (i < n) : (i += 1) {') l(' putc(byte);') l(' }') l(' }') l(' pub fn writeBytesNTimes(self: Writer, bytes: []const u8, n: usize) Error!void {') l(' var i: usize = 0;') l(' while (i < n) : (i += 1) {') l(' try self.writeAll(bytes);') l(' }') l(' }') l('};') l('// std.fmt-style formatted print') l('pub fn print(comptime fmt: anytype, args: anytype) void {') l(' const writer: Writer = .{};') l(' @import("std").fmt.format(writer, fmt, args) catch {};') l('}') l('') def gen_module(inp, dep_prefixes): l('// machine generated, do not edit') l('') gen_imports(inp, dep_prefixes) gen_helpers(inp) pre_parse(inp) prefix = inp['prefix'] for decl in inp['decls']: if not decl['is_dep']: kind = decl['kind'] if kind == 'consts': gen_consts(decl, prefix) elif not check_ignore(decl['name']): if kind == 'struct': gen_struct(decl, prefix) elif kind == 'enum': gen_enum(decl, prefix) elif kind == 'func': gen_func_c(decl, prefix) gen_func_zig(decl, prefix) def prepare(): print('=== Generating Zig bindings:') if not os.path.isdir('sokol-zig/src/sokol'): os.makedirs('sokol-zig/src/sokol') if not os.path.isdir('sokol-zig/src/sokol/c'): os.makedirs('sokol-zig/src/sokol/c') def gen(c_header_path, c_prefix, dep_c_prefixes): if not c_prefix in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return module_name = module_names[c_prefix] c_source_path = c_source_paths[c_prefix] print(f' {c_header_path} => {module_name}') reset_globals() shutil.copyfile(c_header_path, f'sokol-zig/src/sokol/c/{os.path.basename(c_header_path)}') ir = gen_ir.gen(c_header_path, c_source_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, dep_c_prefixes) output_path = f"sokol-zig/src/sokol/{ir['module']}.zig" with open(output_path, 'w', newline='\n') as f_outp: f_outp.write(out_lines)
0
repos/sokol
repos/sokol/bindgen/gen_d.py
#------------------------------------------------------------------------------- # Generate D bindings. # # D coding style: # - types are PascalCase # - functions are camelCase # - otherwise snake_case #------------------------------------------------------------------------------- import gen_ir import os import shutil import sys import gen_util as util module_names = { 'slog_': 'log', 'sg_': 'gfx', 'sapp_': 'app', 'stm_': 'time', 'saudio_': 'audio', 'sgl_': 'gl', 'sdtx_': 'debugtext', 'sshape_': 'shape', 'sglue_': 'glue', 'sfetch_': 'fetch', 'simgui_': 'imgui', } c_source_paths = { 'slog_': 'sokol-d/src/sokol/c/sokol_log.c', 'sg_': 'sokol-d/src/sokol/c/sokol_gfx.c', 'sapp_': 'sokol-d/src/sokol/c/sokol_app.c', 'stm_': 'sokol-d/src/sokol/c/sokol_time.c', 'saudio_': 'sokol-d/src/sokol/c/sokol_audio.c', 'sgl_': 'sokol-d/src/sokol/c/sokol_gl.c', 'sdtx_': 'sokol-d/src/sokol/c/sokol_debugtext.c', 'sshape_': 'sokol-d/src/sokol/c/sokol_shape.c', 'sglue_': 'sokol-d/src/sokol/c/sokol_glue.c', 'sfetch_': 'sokol-d/src/sokol/c/sokol_fetch.c', 'simgui_': 'sokol-d/src/sokol/c/sokol_imgui.c', } ignores = [ 'sdtx_printf', 'sdtx_vprintf', ] # functions that need to be exposed as 'raw' C callbacks without a Dlang wrapper function c_callbacks = [ 'slog_func' ] # NOTE: syntax for function results: "func_name.RESULT" overrides = { 'ref': '_ref', 'sgl_error': 'sgl_get_error', # 'error' is reserved in Dlang 'sgl_deg': 'sgl_as_degrees', 'sgl_rad': 'sgl_as_radians', 'sg_context_desc.color_format': 'int', 'sg_context_desc.depth_format': 'int', 'sg_apply_uniforms.ub_index': 'uint32_t', 'sg_draw.base_element': 'uint32_t', 'sg_draw.num_elements': 'uint32_t', 'sg_draw.num_instances': 'uint32_t', 'sshape_element_range_t.base_element': 'uint32_t', 'sshape_element_range_t.num_elements': 'uint32_t', 'sdtx_font.font_index': 'uint32_t', 'SGL_NO_ERROR': 'SGL_ERROR_NO_ERROR', 'sfetch_continue': 'continue_fetching', # 'continue' is reserved in D } prim_types = { "int": "int", "bool": "bool", "char": "char", "int8_t": "byte", "uint8_t": "ubyte", "int16_t": "short", "uint16_t": "ushort", "int32_t": "int", "uint32_t": "uint", "int64_t": "long", "uint64_t": "ulong", "float": "float", "double": "double", "uintptr_t": "ulong", "intptr_t": "long", "size_t": "size_t", } prim_defaults = { 'int': '0', 'bool': 'false', 'int8_t': '0', 'uint8_t': '0', 'int16_t': '0', 'uint16_t': '0', 'int32_t': '0', 'uint32_t': '0', 'int64_t': '0', 'uint64_t': '0', 'float': '0.0f', 'double': '0.0', 'uintptr_t': '0', 'intptr_t': '0', 'size_t': '0' } struct_types = [] enum_types = [] enum_items = {} out_lines = '' def reset_globals(): global struct_types global enum_types global enum_items global out_lines struct_types = [] enum_types = [] enum_items = {} out_lines = '' def l(s): global out_lines out_lines += s + '\n' def as_d_prim_type(s): return prim_types[s] # prefix_bla_blub(_t) => (dep.)BlaBlub def as_d_struct_type(s, prefix): parts = s.lower().split('_') outp = '' if s.startswith(prefix) else f'{parts[0]}.' for part in parts[1:]: # ignore '_t' type postfix if (part != 't'): outp += part.capitalize() return outp # prefix_bla_blub(_t) => (dep.)BlaBlub def as_d_enum_type(s, prefix): parts = s.lower().split('_') outp = '' if s.startswith(prefix) else f'{parts[0]}.' for part in parts[1:]: if (part != 't'): outp += part.capitalize() return outp def check_override(name, default=None): if name in overrides: return overrides[name] elif default is None: return name else: return default def check_ignore(name): return name in ignores # PREFIX_ENUM_BLA => Bla, _PREFIX_ENUM_BLA => Bla def as_enum_item_name(s): outp = s.lstrip('_') parts = outp.split('_')[2:] outp = '_'.join(parts) outp = outp.capitalize() if outp[0].isdigit(): outp = '_' + outp.capitalize() return outp def enum_default_item(enum_name): return enum_items[enum_name][0] def is_prim_type(s): return s in prim_types def is_struct_type(s): return s in struct_types def is_enum_type(s): return s in enum_types def is_const_prim_ptr(s): for prim_type in prim_types: if s == f"const {prim_type} *": return True return False def is_prim_ptr(s): for prim_type in prim_types: if s == f"{prim_type} *": return True return False def is_const_struct_ptr(s): for struct_type in struct_types: if s == f"const {struct_type} *": return True return False def is_struct_ptr(s): for struct_type in struct_types: if s == f"{struct_type} *": return True return False def type_default_value(s): return prim_defaults[s] def as_c_arg_type(arg_type, prefix): if arg_type == "void": return "void" elif is_prim_type(arg_type): return as_d_prim_type(arg_type) elif is_struct_type(arg_type): return as_d_struct_type(arg_type, prefix) elif is_enum_type(arg_type): return as_d_enum_type(arg_type, prefix) elif util.is_void_ptr(arg_type): return "void*" elif util.is_const_void_ptr(arg_type): return "const(void)*" elif util.is_string_ptr(arg_type): return "const(char)*" elif is_const_struct_ptr(arg_type): return f"const {as_d_struct_type(util.extract_ptr_type(arg_type), prefix)} *" elif is_prim_ptr(arg_type): return f"{as_d_prim_type(util.extract_ptr_type(arg_type))} *" elif is_const_prim_ptr(arg_type): return f"const {as_d_prim_type(util.extract_ptr_type(arg_type))} *" else: sys.exit(f"Error as_c_arg_type(): {arg_type}") def as_d_arg_type(arg_prefix, arg_type, prefix): # NOTE: if arg_prefix is None, the result is used as return value pre = "" if arg_prefix is None else arg_prefix if arg_type == "void": if arg_prefix is None: return "void" else: return "" elif is_prim_type(arg_type): return as_d_prim_type(arg_type) + pre elif is_struct_type(arg_type): return as_d_struct_type(arg_type, prefix) + pre elif is_enum_type(arg_type): return as_d_enum_type(arg_type, prefix) + pre elif util.is_void_ptr(arg_type): return "scope void*" + pre elif util.is_const_void_ptr(arg_type): return "scope const(void)*" + pre elif util.is_string_ptr(arg_type): return "scope const(char)*" + pre elif is_struct_ptr(arg_type): return f"scope ref {as_d_struct_type(util.extract_ptr_type(arg_type), prefix)}" + pre elif is_const_struct_ptr(arg_type): return f"scope ref {as_d_struct_type(util.extract_ptr_type(arg_type), prefix)}" + pre elif is_prim_ptr(arg_type): return f"scope {as_d_prim_type(util.extract_ptr_type(arg_type))} *" + pre elif is_const_prim_ptr(arg_type): return f"scope const {as_d_prim_type(util.extract_ptr_type(arg_type))} *" + pre else: sys.exit(f"ERROR as_d_arg_type(): {arg_type}") def is_d_string(d_type): return d_type == "string" # get C-style arguments of a function pointer as string def funcptr_args_c(field_type, prefix): tokens = field_type[field_type.index('(*)')+4:-1].split(',') s = "" for token in tokens: arg_type = token.strip() if s != "": s += ", " c_arg = as_c_arg_type(arg_type, prefix) if c_arg == "void": return "" else: s += c_arg return s # get C-style result of a function pointer as string def funcptr_result_c(field_type): res_type = field_type[:field_type.index('(*)')].strip() if res_type == 'void': return 'void' elif is_prim_type(res_type): return as_d_prim_type(res_type) elif util.is_const_void_ptr(res_type): return 'const(void)*' elif util.is_void_ptr(res_type): return 'void*' else: sys.exit(f"ERROR funcptr_result_c(): {field_type}") def funcdecl_args_c(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) s += as_c_arg_type(param_type, prefix) return s def funcdecl_args_d(decl, prefix): s = "" func_name = decl['name'] for param_decl in decl['params']: if s != "": s += ", " param_name = param_decl['name'] param_type = check_override(f'{func_name}.{param_name}', default=param_decl['type']) s += f"{as_d_arg_type(f' {param_name}', param_type, prefix)}" return s def funcdecl_result_c(decl, prefix): func_name = decl['name'] decl_type = decl['type'] result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip()) return as_c_arg_type(result_type, prefix) def funcdecl_result_d(decl, prefix): func_name = decl['name'] decl_type = decl['type'] result_type = check_override(f'{func_name}.RESULT', default=decl_type[:decl_type.index('(')].strip()) d_res_type = as_d_arg_type(None, result_type, prefix) if is_d_string(d_res_type): d_res_type = "string" return d_res_type def gen_struct(decl, prefix): struct_name = check_override(decl['name']) d_type = as_d_struct_type(struct_name, prefix) l(f"extern(C)\nstruct {d_type} {{") for field in decl['fields']: field_name = check_override(field['name']) field_type = check_override(f'{struct_name}.{field_name}', default=field['type']) if is_prim_type(field_type): l(f" {as_d_prim_type(field_type)} {field_name} = {type_default_value(field_type)};") elif is_struct_type(field_type): l(f" {as_d_struct_type(field_type, prefix)} {field_name};") elif is_enum_type(field_type): l(f" {as_d_enum_type(field_type, prefix)} {field_name};") elif util.is_string_ptr(field_type): l(f" const(char)* {field_name} = null;") elif util.is_const_void_ptr(field_type): l(f" const(void)* {field_name} = null;") elif util.is_void_ptr(field_type): l(f" void* {field_name} = null;") elif is_const_prim_ptr(field_type): l(f" const {as_d_prim_type(util.extract_ptr_type(field_type))} = null;") elif util.is_func_ptr(field_type): l(f" extern(C) {funcptr_result_c(field_type)} function({funcptr_args_c(field_type, prefix)}) {field_name} = null;") elif util.is_1d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type) or is_struct_type(array_type): if is_prim_type(array_type): d_type = as_d_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type): d_type = as_d_struct_type(array_type, prefix) def_val = '' elif is_enum_type(array_type): d_type = as_d_enum_type(array_type, prefix) def_val = '' else: sys.exit(f"ERROR gen_struct is_1d_array_type: {array_type}") t0 = f"{d_type}[{array_sizes[0]}]" t1 = f"{d_type}[]" if def_val != '': l(f" {t0} {field_name} = {def_val};") else: l(f" {t0} {field_name};") elif util.is_const_void_ptr(array_type): l(f" const(void)*[{array_sizes[0]}] {field_name} = null;") else: sys.exit(f"ERROR gen_struct: array {field_name}: {field_type} => {array_type} [{array_sizes[0]}]") elif util.is_2d_array_type(field_type): array_type = util.extract_array_type(field_type) array_sizes = util.extract_array_sizes(field_type) if is_prim_type(array_type): d_type = as_d_prim_type(array_type) def_val = type_default_value(array_type) elif is_struct_type(array_type): d_type = as_d_struct_type(array_type, prefix) def_val = '' else: sys.exit(f"ERROR gen_struct is_2d_array_type: {array_type}") t0 = f"{d_type}[{array_sizes[0]}][{array_sizes[1]}]" if def_val != '': l(f" {t0} {field_name} = {def_val};") else: l(f" {t0} {field_name};") else: sys.exit(f"ERROR gen_struct: {field_type} {field_name};") l("}") def gen_consts(decl, prefix): for item in decl['items']: item_name = check_override(item['name']) l(f"enum {util.as_lower_snake_case(item_name, prefix)} = {item['value']};") def gen_enum(decl, prefix): enum_name = check_override(decl['name']) l(f"enum {as_d_enum_type(enum_name, prefix)} {{") for item in decl['items']: item_name = as_enum_item_name(check_override(item['name'])) if item_name != "Force_u32": if 'value' in item: l(f" {item_name} = {item['value']},") else: l(f" {item_name},") l("}") def gen_func_c(decl, prefix): l(f"extern(C) {funcdecl_result_c(decl, prefix)} {decl['name']}({funcdecl_args_c(decl, prefix)}) @system @nogc nothrow;") def gen_func_d(decl, prefix): c_func_name = decl['name'] d_func_name = util.as_lower_camel_case(check_override(decl['name']), prefix) if c_func_name in c_callbacks: # a simple forwarded C callback function l(f"alias {d_func_name} = {c_func_name};") else: d_res_type = funcdecl_result_d(decl, prefix) l(f"{d_res_type} {d_func_name}({funcdecl_args_d(decl, prefix)}) @trusted @nogc nothrow {{") if d_res_type != 'void': s = f" return {c_func_name}(" else: s = f" {c_func_name}(" for i, param_decl in enumerate(decl['params']): if i > 0: s += ", " arg_name = param_decl['name'] arg_type = param_decl['type'] if is_const_struct_ptr(arg_type): s += f"&{arg_name}" elif util.is_string_ptr(arg_type): s += f"{arg_name}" else: s += arg_name if is_d_string(d_res_type): s += ")" s += ");" l(s) l("}") def pre_parse(inp): global struct_types global enum_types for decl in inp['decls']: kind = decl['kind'] if kind == 'struct': struct_types.append(decl['name']) elif kind == 'enum': enum_name = decl['name'] enum_types.append(enum_name) enum_items[enum_name] = [] for item in decl['items']: enum_items[enum_name].append(as_enum_item_name(item['name'])) def gen_imports(inp, dep_prefixes): for dep_prefix in dep_prefixes: dep_module_name = module_names[dep_prefix] l(f'import {dep_prefix[:-1]} = sokol.{dep_module_name};') l('') def gen_module(inp, dep_prefixes): l('// machine generated, do not edit') l('') l(f'module sokol.{inp["module"]};') gen_imports(inp, dep_prefixes) pre_parse(inp) prefix = inp['prefix'] for decl in inp['decls']: if not decl['is_dep']: kind = decl['kind'] if kind == 'consts': gen_consts(decl, prefix) elif not check_ignore(decl['name']): if kind == 'struct': gen_struct(decl, prefix) elif kind == 'enum': gen_enum(decl, prefix) elif kind == 'func': gen_func_c(decl, prefix) gen_func_d(decl, prefix) def prepare(): print('=== Generating d bindings:') if not os.path.isdir('sokol-d/src/sokol'): os.makedirs('sokol-d/src/sokol') if not os.path.isdir('sokol-d/src/sokol/c'): os.makedirs('sokol-d/src/sokol/c') def gen(c_header_path, c_prefix, dep_c_prefixes): if not c_prefix in module_names: print(f' >> warning: skipping generation for {c_prefix} prefix...') return module_name = module_names[c_prefix] c_source_path = c_source_paths[c_prefix] print(f' {c_header_path} => {module_name}') reset_globals() shutil.copyfile(c_header_path, f'sokol-d/src/sokol/c/{os.path.basename(c_header_path)}') ir = gen_ir.gen(c_header_path, c_source_path, module_name, c_prefix, dep_c_prefixes) gen_module(ir, dep_c_prefixes) output_path = f"sokol-d/src/sokol/{ir['module']}.d" with open(output_path, 'w', newline='\n') as f_outp: f_outp.write(out_lines)
0
repos/sokol
repos/sokol/util/sokol_color.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_COLOR_IMPL) #define SOKOL_COLOR_IMPL #endif #ifndef SOKOL_COLOR_INCLUDED /* sokol_color.h -- sg_color utilities This header was generated by gen_sokol_color.py. Do not modify it. Project URL: https://github.com/floooh/sokol Include the following headers before including sokol_color.h: sokol_gfx.h FEATURE OVERVIEW ================ sokol_color.h defines preset colors based on the X11 color names, alongside utility functions to create and modify sg_color objects. The predefined colors are based on the X11 color names: https://en.wikipedia.org/wiki/X11_color_names This palette is useful for prototyping - lots of programmers are familiar with these colours due to their use in X11, web development and XNA / MonoGame. They are also handy when you want to reference a familiar color, but don't want to write it out by hand. COLORS ====== The palette is defined using static const (or constexpr if you are using a C++ compiler) objects. These objects use lowercase names: static SOKOL_COLOR_CONSTEXPR sg_color sg_red = SG_RED; static SOKOL_COLOR_CONSTEXPR sg_color sg_green = SG_GREEN; static SOKOL_COLOR_CONSTEXPR sg_color sg_blue = SG_BLUE; An sg_color preset object like sg_red can be used to initialize an sg_pass_action: sg_pass_action pass_action = { .colors[0] = { .action=SG_ACTION_CLEAR, .value = sg_red } }; Initializing an object with static storage duration is more complicated because of C language rules. Technically, a static const is not a compile-time constant in C. To work around this, the palette is also defined as a series of brace-enclosed list macro definitions. These definitions use uppercase names: #define SG_RED { 1.0f, 0.0f, 0.0f, 1.0f } #define SG_GREEN { 0.0f, 1.0f, 0.0f, 1.0f } #define SG_BLUE { 0.0f, 0.0f, 1.0f, 1.0f } A preset macro like SG_RED can be used to initialize objects with static storage duration: static struct { sg_pass_action pass_action; } state = { .pass_action = { .colors[0] = { .action = SG_ACTION_CLEAR, .value = SG_RED } } }; A second set of macro definitions exists for colors packed as 32 bit integer values. These definitions are also uppercase, but use the _RGBA32 suffix: #define SG_RED_RGBA32 0xFF0000FF #define SG_GREEN_RGBA32 0x00FF00FF #define SG_BLUE_RGBA32 0x0000FFFF This is useful if your code makes use of packed colors, as sokol_gl.h does for its internal vertex format: sgl_begin_triangles(); sgl_v2f_c1i( 0.0f, 0.5f, SG_RED_RGBA32); sgl_v2f_c1i( 0.5f, -0.5f, SG_GREEN_RGBA32); sgl_v2f_c1i(-0.5f, -0.5f, SG_BLUE_RGBA32); sgl_end(); UTILITY FUNCTIONS ================= Utility functions for creating colours are provided: - sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) Create a sg_color object from separate R, G, B, A bytes. - sg_make_color_1i(uint32_t rgba) Create a sg_color object from RGBA bytes packed into a 32-bit unsigned integer. - sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount) Linearly interpolate a color. - sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount) Linearly interpolate a color. Less efficient but more precise than sg_color_lerp. - sg_color_multiply(const sg_color* color, float scale) Multiply each color component by the scale factor. LICENSE ======= zlib/libpng license Copyright (c) 2020 Stuart Adams This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_COLOR_INCLUDED (1) #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_color.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_GL_API_DECL) #define SOKOL_COLOR_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_COLOR_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_COLOR_IMPL) #define SOKOL_COLOR_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_COLOR_API_DECL __declspec(dllimport) #else #define SOKOL_COLOR_API_DECL extern #endif #endif #ifdef __cplusplus #define SOKOL_COLOR_CONSTEXPR constexpr extern "C" { #else #define SOKOL_COLOR_CONSTEXPR const #endif SOKOL_COLOR_API_DECL sg_color sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_COLOR_API_DECL sg_color sg_make_color_1i(uint32_t rgba); SOKOL_COLOR_API_DECL sg_color sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount); SOKOL_COLOR_API_DECL sg_color sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount); SOKOL_COLOR_API_DECL sg_color sg_color_multiply(const sg_color* color, float scale); /* Alice Blue color { R:240, G:248, B:255, A:255 } */ #define SG_ALICE_BLUE { 0.941176471f, 0.97254902f, 1.0f, 1.0f } /* Antique White color { R:250, G:235, B:215, A:255 } */ #define SG_ANTIQUE_WHITE { 0.980392157f, 0.921568627f, 0.843137255f, 1.0f } /* Aqua color { R:0, G:255, B:255, A:255 } */ #define SG_AQUA { 0.0f, 1.0f, 1.0f, 1.0f } /* Aquamarine color { R:127, G:255, B:212, A:255 } */ #define SG_AQUAMARINE { 0.498039216f, 1.0f, 0.831372549f, 1.0f } /* Azure color { R:240, G:255, B:255, A:255 } */ #define SG_AZURE { 0.941176471f, 1.0f, 1.0f, 1.0f } /* Beige color { R:245, G:245, B:220, A:255 } */ #define SG_BEIGE { 0.960784314f, 0.960784314f, 0.862745098f, 1.0f } /* Bisque color { R:255, G:228, B:196, A:255 } */ #define SG_BISQUE { 1.0f, 0.894117647f, 0.768627451f, 1.0f } /* Black color { R:0, G:0, B:0, A:255 } */ #define SG_BLACK { 0.0f, 0.0f, 0.0f, 1.0f } /* Blanched Almond color { R:255, G:235, B:205, A:255 } */ #define SG_BLANCHED_ALMOND { 1.0f, 0.921568627f, 0.803921569f, 1.0f } /* Blue color { R:0, G:0, B:255, A:255 } */ #define SG_BLUE { 0.0f, 0.0f, 1.0f, 1.0f } /* Blue Violet color { R:138, G:43, B:226, A:255 } */ #define SG_BLUE_VIOLET { 0.541176471f, 0.168627451f, 0.88627451f, 1.0f } /* Brown color { R:165, G:42, B:42, A:255 } */ #define SG_BROWN { 0.647058824f, 0.164705882f, 0.164705882f, 1.0f } /* Burlywood color { R:222, G:184, B:135, A:255 } */ #define SG_BURLYWOOD { 0.870588235f, 0.721568627f, 0.529411765f, 1.0f } /* Cadet Blue color { R:95, G:158, B:160, A:255 } */ #define SG_CADET_BLUE { 0.37254902f, 0.619607843f, 0.62745098f, 1.0f } /* Chartreuse color { R:127, G:255, B:0, A:255 } */ #define SG_CHARTREUSE { 0.498039216f, 1.0f, 0.0f, 1.0f } /* Chocolate color { R:210, G:105, B:30, A:255 } */ #define SG_CHOCOLATE { 0.823529412f, 0.411764706f, 0.117647059f, 1.0f } /* Coral color { R:255, G:127, B:80, A:255 } */ #define SG_CORAL { 1.0f, 0.498039216f, 0.31372549f, 1.0f } /* Cornflower Blue color { R:100, G:149, B:237, A:255 } */ #define SG_CORNFLOWER_BLUE { 0.392156863f, 0.584313725f, 0.929411765f, 1.0f } /* Cornsilk color { R:255, G:248, B:220, A:255 } */ #define SG_CORNSILK { 1.0f, 0.97254902f, 0.862745098f, 1.0f } /* Crimson color { R:220, G:20, B:60, A:255 } */ #define SG_CRIMSON { 0.862745098f, 0.0784313725f, 0.235294118f, 1.0f } /* Cyan color { R:0, G:255, B:255, A:255 } */ #define SG_CYAN { 0.0f, 1.0f, 1.0f, 1.0f } /* Dark Blue color { R:0, G:0, B:139, A:255 } */ #define SG_DARK_BLUE { 0.0f, 0.0f, 0.545098039f, 1.0f } /* Dark Cyan color { R:0, G:139, B:139, A:255 } */ #define SG_DARK_CYAN { 0.0f, 0.545098039f, 0.545098039f, 1.0f } /* Dark Goldenrod color { R:184, G:134, B:11, A:255 } */ #define SG_DARK_GOLDENROD { 0.721568627f, 0.525490196f, 0.0431372549f, 1.0f } /* Dark Gray color { R:169, G:169, B:169, A:255 } */ #define SG_DARK_GRAY { 0.662745098f, 0.662745098f, 0.662745098f, 1.0f } /* Dark Green color { R:0, G:100, B:0, A:255 } */ #define SG_DARK_GREEN { 0.0f, 0.392156863f, 0.0f, 1.0f } /* Dark Khaki color { R:189, G:183, B:107, A:255 } */ #define SG_DARK_KHAKI { 0.741176471f, 0.717647059f, 0.419607843f, 1.0f } /* Dark Magenta color { R:139, G:0, B:139, A:255 } */ #define SG_DARK_MAGENTA { 0.545098039f, 0.0f, 0.545098039f, 1.0f } /* Dark Olive Green color { R:85, G:107, B:47, A:255 } */ #define SG_DARK_OLIVE_GREEN { 0.333333333f, 0.419607843f, 0.184313725f, 1.0f } /* Dark Orange color { R:255, G:140, B:0, A:255 } */ #define SG_DARK_ORANGE { 1.0f, 0.549019608f, 0.0f, 1.0f } /* Dark Orchid color { R:153, G:50, B:204, A:255 } */ #define SG_DARK_ORCHID { 0.6f, 0.196078431f, 0.8f, 1.0f } /* Dark Red color { R:139, G:0, B:0, A:255 } */ #define SG_DARK_RED { 0.545098039f, 0.0f, 0.0f, 1.0f } /* Dark Salmon color { R:233, G:150, B:122, A:255 } */ #define SG_DARK_SALMON { 0.91372549f, 0.588235294f, 0.478431373f, 1.0f } /* Dark Sea Green color { R:143, G:188, B:143, A:255 } */ #define SG_DARK_SEA_GREEN { 0.560784314f, 0.737254902f, 0.560784314f, 1.0f } /* Dark Slate Blue color { R:72, G:61, B:139, A:255 } */ #define SG_DARK_SLATE_BLUE { 0.282352941f, 0.239215686f, 0.545098039f, 1.0f } /* Dark Slate Gray color { R:47, G:79, B:79, A:255 } */ #define SG_DARK_SLATE_GRAY { 0.184313725f, 0.309803922f, 0.309803922f, 1.0f } /* Dark Turquoise color { R:0, G:206, B:209, A:255 } */ #define SG_DARK_TURQUOISE { 0.0f, 0.807843137f, 0.819607843f, 1.0f } /* Dark Violet color { R:148, G:0, B:211, A:255 } */ #define SG_DARK_VIOLET { 0.580392157f, 0.0f, 0.82745098f, 1.0f } /* Deep Pink color { R:255, G:20, B:147, A:255 } */ #define SG_DEEP_PINK { 1.0f, 0.0784313725f, 0.576470588f, 1.0f } /* Deep Sky Blue color { R:0, G:191, B:255, A:255 } */ #define SG_DEEP_SKY_BLUE { 0.0f, 0.749019608f, 1.0f, 1.0f } /* Dim Gray color { R:105, G:105, B:105, A:255 } */ #define SG_DIM_GRAY { 0.411764706f, 0.411764706f, 0.411764706f, 1.0f } /* Dodger Blue color { R:30, G:144, B:255, A:255 } */ #define SG_DODGER_BLUE { 0.117647059f, 0.564705882f, 1.0f, 1.0f } /* Firebrick color { R:178, G:34, B:34, A:255 } */ #define SG_FIREBRICK { 0.698039216f, 0.133333333f, 0.133333333f, 1.0f } /* Floral White color { R:255, G:250, B:240, A:255 } */ #define SG_FLORAL_WHITE { 1.0f, 0.980392157f, 0.941176471f, 1.0f } /* Forest Green color { R:34, G:139, B:34, A:255 } */ #define SG_FOREST_GREEN { 0.133333333f, 0.545098039f, 0.133333333f, 1.0f } /* Fuchsia color { R:255, G:0, B:255, A:255 } */ #define SG_FUCHSIA { 1.0f, 0.0f, 1.0f, 1.0f } /* Gainsboro color { R:220, G:220, B:220, A:255 } */ #define SG_GAINSBORO { 0.862745098f, 0.862745098f, 0.862745098f, 1.0f } /* Ghost White color { R:248, G:248, B:255, A:255 } */ #define SG_GHOST_WHITE { 0.97254902f, 0.97254902f, 1.0f, 1.0f } /* Gold color { R:255, G:215, B:0, A:255 } */ #define SG_GOLD { 1.0f, 0.843137255f, 0.0f, 1.0f } /* Goldenrod color { R:218, G:165, B:32, A:255 } */ #define SG_GOLDENROD { 0.854901961f, 0.647058824f, 0.125490196f, 1.0f } /* Gray color { R:190, G:190, B:190, A:255 } */ #define SG_GRAY { 0.745098039f, 0.745098039f, 0.745098039f, 1.0f } /* Web Gray color { R:128, G:128, B:128, A:255 } */ #define SG_WEB_GRAY { 0.501960784f, 0.501960784f, 0.501960784f, 1.0f } /* Green color { R:0, G:255, B:0, A:255 } */ #define SG_GREEN { 0.0f, 1.0f, 0.0f, 1.0f } /* Web Green color { R:0, G:128, B:0, A:255 } */ #define SG_WEB_GREEN { 0.0f, 0.501960784f, 0.0f, 1.0f } /* Green Yellow color { R:173, G:255, B:47, A:255 } */ #define SG_GREEN_YELLOW { 0.678431373f, 1.0f, 0.184313725f, 1.0f } /* Honeydew color { R:240, G:255, B:240, A:255 } */ #define SG_HONEYDEW { 0.941176471f, 1.0f, 0.941176471f, 1.0f } /* Hot Pink color { R:255, G:105, B:180, A:255 } */ #define SG_HOT_PINK { 1.0f, 0.411764706f, 0.705882353f, 1.0f } /* Indian Red color { R:205, G:92, B:92, A:255 } */ #define SG_INDIAN_RED { 0.803921569f, 0.360784314f, 0.360784314f, 1.0f } /* Indigo color { R:75, G:0, B:130, A:255 } */ #define SG_INDIGO { 0.294117647f, 0.0f, 0.509803922f, 1.0f } /* Ivory color { R:255, G:255, B:240, A:255 } */ #define SG_IVORY { 1.0f, 1.0f, 0.941176471f, 1.0f } /* Khaki color { R:240, G:230, B:140, A:255 } */ #define SG_KHAKI { 0.941176471f, 0.901960784f, 0.549019608f, 1.0f } /* Lavender color { R:230, G:230, B:250, A:255 } */ #define SG_LAVENDER { 0.901960784f, 0.901960784f, 0.980392157f, 1.0f } /* Lavender Blush color { R:255, G:240, B:245, A:255 } */ #define SG_LAVENDER_BLUSH { 1.0f, 0.941176471f, 0.960784314f, 1.0f } /* Lawn Green color { R:124, G:252, B:0, A:255 } */ #define SG_LAWN_GREEN { 0.48627451f, 0.988235294f, 0.0f, 1.0f } /* Lemon Chiffon color { R:255, G:250, B:205, A:255 } */ #define SG_LEMON_CHIFFON { 1.0f, 0.980392157f, 0.803921569f, 1.0f } /* Light Blue color { R:173, G:216, B:230, A:255 } */ #define SG_LIGHT_BLUE { 0.678431373f, 0.847058824f, 0.901960784f, 1.0f } /* Light Coral color { R:240, G:128, B:128, A:255 } */ #define SG_LIGHT_CORAL { 0.941176471f, 0.501960784f, 0.501960784f, 1.0f } /* Light Cyan color { R:224, G:255, B:255, A:255 } */ #define SG_LIGHT_CYAN { 0.878431373f, 1.0f, 1.0f, 1.0f } /* Light Goldenrod color { R:250, G:250, B:210, A:255 } */ #define SG_LIGHT_GOLDENROD { 0.980392157f, 0.980392157f, 0.823529412f, 1.0f } /* Light Gray color { R:211, G:211, B:211, A:255 } */ #define SG_LIGHT_GRAY { 0.82745098f, 0.82745098f, 0.82745098f, 1.0f } /* Light Green color { R:144, G:238, B:144, A:255 } */ #define SG_LIGHT_GREEN { 0.564705882f, 0.933333333f, 0.564705882f, 1.0f } /* Light Pink color { R:255, G:182, B:193, A:255 } */ #define SG_LIGHT_PINK { 1.0f, 0.71372549f, 0.756862745f, 1.0f } /* Light Salmon color { R:255, G:160, B:122, A:255 } */ #define SG_LIGHT_SALMON { 1.0f, 0.62745098f, 0.478431373f, 1.0f } /* Light Sea Green color { R:32, G:178, B:170, A:255 } */ #define SG_LIGHT_SEA_GREEN { 0.125490196f, 0.698039216f, 0.666666667f, 1.0f } /* Light Sky Blue color { R:135, G:206, B:250, A:255 } */ #define SG_LIGHT_SKY_BLUE { 0.529411765f, 0.807843137f, 0.980392157f, 1.0f } /* Light Slate Gray color { R:119, G:136, B:153, A:255 } */ #define SG_LIGHT_SLATE_GRAY { 0.466666667f, 0.533333333f, 0.6f, 1.0f } /* Light Steel Blue color { R:176, G:196, B:222, A:255 } */ #define SG_LIGHT_STEEL_BLUE { 0.690196078f, 0.768627451f, 0.870588235f, 1.0f } /* Light Yellow color { R:255, G:255, B:224, A:255 } */ #define SG_LIGHT_YELLOW { 1.0f, 1.0f, 0.878431373f, 1.0f } /* Lime color { R:0, G:255, B:0, A:255 } */ #define SG_LIME { 0.0f, 1.0f, 0.0f, 1.0f } /* Lime Green color { R:50, G:205, B:50, A:255 } */ #define SG_LIME_GREEN { 0.196078431f, 0.803921569f, 0.196078431f, 1.0f } /* Linen color { R:250, G:240, B:230, A:255 } */ #define SG_LINEN { 0.980392157f, 0.941176471f, 0.901960784f, 1.0f } /* Magenta color { R:255, G:0, B:255, A:255 } */ #define SG_MAGENTA { 1.0f, 0.0f, 1.0f, 1.0f } /* Maroon color { R:176, G:48, B:96, A:255 } */ #define SG_MAROON { 0.690196078f, 0.188235294f, 0.376470588f, 1.0f } /* Web Maroon color { R:128, G:0, B:0, A:255 } */ #define SG_WEB_MAROON { 0.501960784f, 0.0f, 0.0f, 1.0f } /* Medium Aquamarine color { R:102, G:205, B:170, A:255 } */ #define SG_MEDIUM_AQUAMARINE { 0.4f, 0.803921569f, 0.666666667f, 1.0f } /* Medium Blue color { R:0, G:0, B:205, A:255 } */ #define SG_MEDIUM_BLUE { 0.0f, 0.0f, 0.803921569f, 1.0f } /* Medium Orchid color { R:186, G:85, B:211, A:255 } */ #define SG_MEDIUM_ORCHID { 0.729411765f, 0.333333333f, 0.82745098f, 1.0f } /* Medium Purple color { R:147, G:112, B:219, A:255 } */ #define SG_MEDIUM_PURPLE { 0.576470588f, 0.439215686f, 0.858823529f, 1.0f } /* Medium Sea Green color { R:60, G:179, B:113, A:255 } */ #define SG_MEDIUM_SEA_GREEN { 0.235294118f, 0.701960784f, 0.443137255f, 1.0f } /* Medium Slate Blue color { R:123, G:104, B:238, A:255 } */ #define SG_MEDIUM_SLATE_BLUE { 0.482352941f, 0.407843137f, 0.933333333f, 1.0f } /* Medium Spring Green color { R:0, G:250, B:154, A:255 } */ #define SG_MEDIUM_SPRING_GREEN { 0.0f, 0.980392157f, 0.603921569f, 1.0f } /* Medium Turquoise color { R:72, G:209, B:204, A:255 } */ #define SG_MEDIUM_TURQUOISE { 0.282352941f, 0.819607843f, 0.8f, 1.0f } /* Medium Violet Red color { R:199, G:21, B:133, A:255 } */ #define SG_MEDIUM_VIOLET_RED { 0.780392157f, 0.0823529412f, 0.521568627f, 1.0f } /* Midnight Blue color { R:25, G:25, B:112, A:255 } */ #define SG_MIDNIGHT_BLUE { 0.0980392157f, 0.0980392157f, 0.439215686f, 1.0f } /* Mint Cream color { R:245, G:255, B:250, A:255 } */ #define SG_MINT_CREAM { 0.960784314f, 1.0f, 0.980392157f, 1.0f } /* Misty Rose color { R:255, G:228, B:225, A:255 } */ #define SG_MISTY_ROSE { 1.0f, 0.894117647f, 0.882352941f, 1.0f } /* Moccasin color { R:255, G:228, B:181, A:255 } */ #define SG_MOCCASIN { 1.0f, 0.894117647f, 0.709803922f, 1.0f } /* Navajo White color { R:255, G:222, B:173, A:255 } */ #define SG_NAVAJO_WHITE { 1.0f, 0.870588235f, 0.678431373f, 1.0f } /* Navy Blue color { R:0, G:0, B:128, A:255 } */ #define SG_NAVY_BLUE { 0.0f, 0.0f, 0.501960784f, 1.0f } /* Old Lace color { R:253, G:245, B:230, A:255 } */ #define SG_OLD_LACE { 0.992156863f, 0.960784314f, 0.901960784f, 1.0f } /* Olive color { R:128, G:128, B:0, A:255 } */ #define SG_OLIVE { 0.501960784f, 0.501960784f, 0.0f, 1.0f } /* Olive Drab color { R:107, G:142, B:35, A:255 } */ #define SG_OLIVE_DRAB { 0.419607843f, 0.556862745f, 0.137254902f, 1.0f } /* Orange color { R:255, G:165, B:0, A:255 } */ #define SG_ORANGE { 1.0f, 0.647058824f, 0.0f, 1.0f } /* Orange Red color { R:255, G:69, B:0, A:255 } */ #define SG_ORANGE_RED { 1.0f, 0.270588235f, 0.0f, 1.0f } /* Orchid color { R:218, G:112, B:214, A:255 } */ #define SG_ORCHID { 0.854901961f, 0.439215686f, 0.839215686f, 1.0f } /* Pale Goldenrod color { R:238, G:232, B:170, A:255 } */ #define SG_PALE_GOLDENROD { 0.933333333f, 0.909803922f, 0.666666667f, 1.0f } /* Pale Green color { R:152, G:251, B:152, A:255 } */ #define SG_PALE_GREEN { 0.596078431f, 0.984313725f, 0.596078431f, 1.0f } /* Pale Turquoise color { R:175, G:238, B:238, A:255 } */ #define SG_PALE_TURQUOISE { 0.68627451f, 0.933333333f, 0.933333333f, 1.0f } /* Pale Violet Red color { R:219, G:112, B:147, A:255 } */ #define SG_PALE_VIOLET_RED { 0.858823529f, 0.439215686f, 0.576470588f, 1.0f } /* Papaya Whip color { R:255, G:239, B:213, A:255 } */ #define SG_PAPAYA_WHIP { 1.0f, 0.937254902f, 0.835294118f, 1.0f } /* Peach Puff color { R:255, G:218, B:185, A:255 } */ #define SG_PEACH_PUFF { 1.0f, 0.854901961f, 0.725490196f, 1.0f } /* Peru color { R:205, G:133, B:63, A:255 } */ #define SG_PERU { 0.803921569f, 0.521568627f, 0.247058824f, 1.0f } /* Pink color { R:255, G:192, B:203, A:255 } */ #define SG_PINK { 1.0f, 0.752941176f, 0.796078431f, 1.0f } /* Plum color { R:221, G:160, B:221, A:255 } */ #define SG_PLUM { 0.866666667f, 0.62745098f, 0.866666667f, 1.0f } /* Powder Blue color { R:176, G:224, B:230, A:255 } */ #define SG_POWDER_BLUE { 0.690196078f, 0.878431373f, 0.901960784f, 1.0f } /* Purple color { R:160, G:32, B:240, A:255 } */ #define SG_PURPLE { 0.62745098f, 0.125490196f, 0.941176471f, 1.0f } /* Web Purple color { R:128, G:0, B:128, A:255 } */ #define SG_WEB_PURPLE { 0.501960784f, 0.0f, 0.501960784f, 1.0f } /* Rebecca Purple color { R:102, G:51, B:153, A:255 } */ #define SG_REBECCA_PURPLE { 0.4f, 0.2f, 0.6f, 1.0f } /* Red color { R:255, G:0, B:0, A:255 } */ #define SG_RED { 1.0f, 0.0f, 0.0f, 1.0f } /* Rosy Brown color { R:188, G:143, B:143, A:255 } */ #define SG_ROSY_BROWN { 0.737254902f, 0.560784314f, 0.560784314f, 1.0f } /* Royal Blue color { R:65, G:105, B:225, A:255 } */ #define SG_ROYAL_BLUE { 0.254901961f, 0.411764706f, 0.882352941f, 1.0f } /* Saddle Brown color { R:139, G:69, B:19, A:255 } */ #define SG_SADDLE_BROWN { 0.545098039f, 0.270588235f, 0.0745098039f, 1.0f } /* Salmon color { R:250, G:128, B:114, A:255 } */ #define SG_SALMON { 0.980392157f, 0.501960784f, 0.447058824f, 1.0f } /* Sandy Brown color { R:244, G:164, B:96, A:255 } */ #define SG_SANDY_BROWN { 0.956862745f, 0.643137255f, 0.376470588f, 1.0f } /* Sea Green color { R:46, G:139, B:87, A:255 } */ #define SG_SEA_GREEN { 0.180392157f, 0.545098039f, 0.341176471f, 1.0f } /* Seashell color { R:255, G:245, B:238, A:255 } */ #define SG_SEASHELL { 1.0f, 0.960784314f, 0.933333333f, 1.0f } /* Sienna color { R:160, G:82, B:45, A:255 } */ #define SG_SIENNA { 0.62745098f, 0.321568627f, 0.176470588f, 1.0f } /* Silver color { R:192, G:192, B:192, A:255 } */ #define SG_SILVER { 0.752941176f, 0.752941176f, 0.752941176f, 1.0f } /* Sky Blue color { R:135, G:206, B:235, A:255 } */ #define SG_SKY_BLUE { 0.529411765f, 0.807843137f, 0.921568627f, 1.0f } /* Slate Blue color { R:106, G:90, B:205, A:255 } */ #define SG_SLATE_BLUE { 0.415686275f, 0.352941176f, 0.803921569f, 1.0f } /* Slate Gray color { R:112, G:128, B:144, A:255 } */ #define SG_SLATE_GRAY { 0.439215686f, 0.501960784f, 0.564705882f, 1.0f } /* Snow color { R:255, G:250, B:250, A:255 } */ #define SG_SNOW { 1.0f, 0.980392157f, 0.980392157f, 1.0f } /* Spring Green color { R:0, G:255, B:127, A:255 } */ #define SG_SPRING_GREEN { 0.0f, 1.0f, 0.498039216f, 1.0f } /* Steel Blue color { R:70, G:130, B:180, A:255 } */ #define SG_STEEL_BLUE { 0.274509804f, 0.509803922f, 0.705882353f, 1.0f } /* Tan color { R:210, G:180, B:140, A:255 } */ #define SG_TAN { 0.823529412f, 0.705882353f, 0.549019608f, 1.0f } /* Teal color { R:0, G:128, B:128, A:255 } */ #define SG_TEAL { 0.0f, 0.501960784f, 0.501960784f, 1.0f } /* Thistle color { R:216, G:191, B:216, A:255 } */ #define SG_THISTLE { 0.847058824f, 0.749019608f, 0.847058824f, 1.0f } /* Tomato color { R:255, G:99, B:71, A:255 } */ #define SG_TOMATO { 1.0f, 0.388235294f, 0.278431373f, 1.0f } /* Transparent color { R:0, G:0, B:0, A:0 } */ #define SG_TRANSPARENT { 0.0f, 0.0f, 0.0f, 0.0f } /* Turquoise color { R:64, G:224, B:208, A:255 } */ #define SG_TURQUOISE { 0.250980392f, 0.878431373f, 0.815686275f, 1.0f } /* Violet color { R:238, G:130, B:238, A:255 } */ #define SG_VIOLET { 0.933333333f, 0.509803922f, 0.933333333f, 1.0f } /* Wheat color { R:245, G:222, B:179, A:255 } */ #define SG_WHEAT { 0.960784314f, 0.870588235f, 0.701960784f, 1.0f } /* White color { R:255, G:255, B:255, A:255 } */ #define SG_WHITE { 1.0f, 1.0f, 1.0f, 1.0f } /* White Smoke color { R:245, G:245, B:245, A:255 } */ #define SG_WHITE_SMOKE { 0.960784314f, 0.960784314f, 0.960784314f, 1.0f } /* Yellow color { R:255, G:255, B:0, A:255 } */ #define SG_YELLOW { 1.0f, 1.0f, 0.0f, 1.0f } /* Yellow Green color { R:154, G:205, B:50, A:255 } */ #define SG_YELLOW_GREEN { 0.603921569f, 0.803921569f, 0.196078431f, 1.0f } /* Alice Blue color { R:240, G:248, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_alice_blue = SG_ALICE_BLUE; /* Antique White color { R:250, G:235, B:215, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_antique_white = SG_ANTIQUE_WHITE; /* Aqua color { R:0, G:255, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_aqua = SG_AQUA; /* Aquamarine color { R:127, G:255, B:212, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_aquamarine = SG_AQUAMARINE; /* Azure color { R:240, G:255, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_azure = SG_AZURE; /* Beige color { R:245, G:245, B:220, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_beige = SG_BEIGE; /* Bisque color { R:255, G:228, B:196, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_bisque = SG_BISQUE; /* Black color { R:0, G:0, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_black = SG_BLACK; /* Blanched Almond color { R:255, G:235, B:205, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_blanched_almond = SG_BLANCHED_ALMOND; /* Blue color { R:0, G:0, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_blue = SG_BLUE; /* Blue Violet color { R:138, G:43, B:226, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_blue_violet = SG_BLUE_VIOLET; /* Brown color { R:165, G:42, B:42, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_brown = SG_BROWN; /* Burlywood color { R:222, G:184, B:135, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_burlywood = SG_BURLYWOOD; /* Cadet Blue color { R:95, G:158, B:160, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_cadet_blue = SG_CADET_BLUE; /* Chartreuse color { R:127, G:255, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_chartreuse = SG_CHARTREUSE; /* Chocolate color { R:210, G:105, B:30, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_chocolate = SG_CHOCOLATE; /* Coral color { R:255, G:127, B:80, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_coral = SG_CORAL; /* Cornflower Blue color { R:100, G:149, B:237, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_cornflower_blue = SG_CORNFLOWER_BLUE; /* Cornsilk color { R:255, G:248, B:220, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_cornsilk = SG_CORNSILK; /* Crimson color { R:220, G:20, B:60, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_crimson = SG_CRIMSON; /* Cyan color { R:0, G:255, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_cyan = SG_CYAN; /* Dark Blue color { R:0, G:0, B:139, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_blue = SG_DARK_BLUE; /* Dark Cyan color { R:0, G:139, B:139, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_cyan = SG_DARK_CYAN; /* Dark Goldenrod color { R:184, G:134, B:11, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_goldenrod = SG_DARK_GOLDENROD; /* Dark Gray color { R:169, G:169, B:169, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_gray = SG_DARK_GRAY; /* Dark Green color { R:0, G:100, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_green = SG_DARK_GREEN; /* Dark Khaki color { R:189, G:183, B:107, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_khaki = SG_DARK_KHAKI; /* Dark Magenta color { R:139, G:0, B:139, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_magenta = SG_DARK_MAGENTA; /* Dark Olive Green color { R:85, G:107, B:47, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_olive_green = SG_DARK_OLIVE_GREEN; /* Dark Orange color { R:255, G:140, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_orange = SG_DARK_ORANGE; /* Dark Orchid color { R:153, G:50, B:204, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_orchid = SG_DARK_ORCHID; /* Dark Red color { R:139, G:0, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_red = SG_DARK_RED; /* Dark Salmon color { R:233, G:150, B:122, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_salmon = SG_DARK_SALMON; /* Dark Sea Green color { R:143, G:188, B:143, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_sea_green = SG_DARK_SEA_GREEN; /* Dark Slate Blue color { R:72, G:61, B:139, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_slate_blue = SG_DARK_SLATE_BLUE; /* Dark Slate Gray color { R:47, G:79, B:79, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_slate_gray = SG_DARK_SLATE_GRAY; /* Dark Turquoise color { R:0, G:206, B:209, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_turquoise = SG_DARK_TURQUOISE; /* Dark Violet color { R:148, G:0, B:211, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dark_violet = SG_DARK_VIOLET; /* Deep Pink color { R:255, G:20, B:147, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_deep_pink = SG_DEEP_PINK; /* Deep Sky Blue color { R:0, G:191, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_deep_sky_blue = SG_DEEP_SKY_BLUE; /* Dim Gray color { R:105, G:105, B:105, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dim_gray = SG_DIM_GRAY; /* Dodger Blue color { R:30, G:144, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_dodger_blue = SG_DODGER_BLUE; /* Firebrick color { R:178, G:34, B:34, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_firebrick = SG_FIREBRICK; /* Floral White color { R:255, G:250, B:240, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_floral_white = SG_FLORAL_WHITE; /* Forest Green color { R:34, G:139, B:34, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_forest_green = SG_FOREST_GREEN; /* Fuchsia color { R:255, G:0, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_fuchsia = SG_FUCHSIA; /* Gainsboro color { R:220, G:220, B:220, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_gainsboro = SG_GAINSBORO; /* Ghost White color { R:248, G:248, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_ghost_white = SG_GHOST_WHITE; /* Gold color { R:255, G:215, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_gold = SG_GOLD; /* Goldenrod color { R:218, G:165, B:32, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_goldenrod = SG_GOLDENROD; /* Gray color { R:190, G:190, B:190, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_gray = SG_GRAY; /* Web Gray color { R:128, G:128, B:128, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_web_gray = SG_WEB_GRAY; /* Green color { R:0, G:255, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_green = SG_GREEN; /* Web Green color { R:0, G:128, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_web_green = SG_WEB_GREEN; /* Green Yellow color { R:173, G:255, B:47, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_green_yellow = SG_GREEN_YELLOW; /* Honeydew color { R:240, G:255, B:240, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_honeydew = SG_HONEYDEW; /* Hot Pink color { R:255, G:105, B:180, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_hot_pink = SG_HOT_PINK; /* Indian Red color { R:205, G:92, B:92, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_indian_red = SG_INDIAN_RED; /* Indigo color { R:75, G:0, B:130, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_indigo = SG_INDIGO; /* Ivory color { R:255, G:255, B:240, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_ivory = SG_IVORY; /* Khaki color { R:240, G:230, B:140, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_khaki = SG_KHAKI; /* Lavender color { R:230, G:230, B:250, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lavender = SG_LAVENDER; /* Lavender Blush color { R:255, G:240, B:245, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lavender_blush = SG_LAVENDER_BLUSH; /* Lawn Green color { R:124, G:252, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lawn_green = SG_LAWN_GREEN; /* Lemon Chiffon color { R:255, G:250, B:205, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lemon_chiffon = SG_LEMON_CHIFFON; /* Light Blue color { R:173, G:216, B:230, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_blue = SG_LIGHT_BLUE; /* Light Coral color { R:240, G:128, B:128, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_coral = SG_LIGHT_CORAL; /* Light Cyan color { R:224, G:255, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_cyan = SG_LIGHT_CYAN; /* Light Goldenrod color { R:250, G:250, B:210, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_goldenrod = SG_LIGHT_GOLDENROD; /* Light Gray color { R:211, G:211, B:211, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_gray = SG_LIGHT_GRAY; /* Light Green color { R:144, G:238, B:144, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_green = SG_LIGHT_GREEN; /* Light Pink color { R:255, G:182, B:193, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_pink = SG_LIGHT_PINK; /* Light Salmon color { R:255, G:160, B:122, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_salmon = SG_LIGHT_SALMON; /* Light Sea Green color { R:32, G:178, B:170, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_sea_green = SG_LIGHT_SEA_GREEN; /* Light Sky Blue color { R:135, G:206, B:250, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_sky_blue = SG_LIGHT_SKY_BLUE; /* Light Slate Gray color { R:119, G:136, B:153, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_slate_gray = SG_LIGHT_SLATE_GRAY; /* Light Steel Blue color { R:176, G:196, B:222, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_steel_blue = SG_LIGHT_STEEL_BLUE; /* Light Yellow color { R:255, G:255, B:224, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_light_yellow = SG_LIGHT_YELLOW; /* Lime color { R:0, G:255, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lime = SG_LIME; /* Lime Green color { R:50, G:205, B:50, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_lime_green = SG_LIME_GREEN; /* Linen color { R:250, G:240, B:230, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_linen = SG_LINEN; /* Magenta color { R:255, G:0, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_magenta = SG_MAGENTA; /* Maroon color { R:176, G:48, B:96, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_maroon = SG_MAROON; /* Web Maroon color { R:128, G:0, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_web_maroon = SG_WEB_MAROON; /* Medium Aquamarine color { R:102, G:205, B:170, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_aquamarine = SG_MEDIUM_AQUAMARINE; /* Medium Blue color { R:0, G:0, B:205, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_blue = SG_MEDIUM_BLUE; /* Medium Orchid color { R:186, G:85, B:211, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_orchid = SG_MEDIUM_ORCHID; /* Medium Purple color { R:147, G:112, B:219, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_purple = SG_MEDIUM_PURPLE; /* Medium Sea Green color { R:60, G:179, B:113, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_sea_green = SG_MEDIUM_SEA_GREEN; /* Medium Slate Blue color { R:123, G:104, B:238, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_slate_blue = SG_MEDIUM_SLATE_BLUE; /* Medium Spring Green color { R:0, G:250, B:154, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_spring_green = SG_MEDIUM_SPRING_GREEN; /* Medium Turquoise color { R:72, G:209, B:204, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_turquoise = SG_MEDIUM_TURQUOISE; /* Medium Violet Red color { R:199, G:21, B:133, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_medium_violet_red = SG_MEDIUM_VIOLET_RED; /* Midnight Blue color { R:25, G:25, B:112, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_midnight_blue = SG_MIDNIGHT_BLUE; /* Mint Cream color { R:245, G:255, B:250, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_mint_cream = SG_MINT_CREAM; /* Misty Rose color { R:255, G:228, B:225, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_misty_rose = SG_MISTY_ROSE; /* Moccasin color { R:255, G:228, B:181, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_moccasin = SG_MOCCASIN; /* Navajo White color { R:255, G:222, B:173, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_navajo_white = SG_NAVAJO_WHITE; /* Navy Blue color { R:0, G:0, B:128, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_navy_blue = SG_NAVY_BLUE; /* Old Lace color { R:253, G:245, B:230, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_old_lace = SG_OLD_LACE; /* Olive color { R:128, G:128, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_olive = SG_OLIVE; /* Olive Drab color { R:107, G:142, B:35, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_olive_drab = SG_OLIVE_DRAB; /* Orange color { R:255, G:165, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_orange = SG_ORANGE; /* Orange Red color { R:255, G:69, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_orange_red = SG_ORANGE_RED; /* Orchid color { R:218, G:112, B:214, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_orchid = SG_ORCHID; /* Pale Goldenrod color { R:238, G:232, B:170, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_pale_goldenrod = SG_PALE_GOLDENROD; /* Pale Green color { R:152, G:251, B:152, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_pale_green = SG_PALE_GREEN; /* Pale Turquoise color { R:175, G:238, B:238, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_pale_turquoise = SG_PALE_TURQUOISE; /* Pale Violet Red color { R:219, G:112, B:147, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_pale_violet_red = SG_PALE_VIOLET_RED; /* Papaya Whip color { R:255, G:239, B:213, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_papaya_whip = SG_PAPAYA_WHIP; /* Peach Puff color { R:255, G:218, B:185, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_peach_puff = SG_PEACH_PUFF; /* Peru color { R:205, G:133, B:63, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_peru = SG_PERU; /* Pink color { R:255, G:192, B:203, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_pink = SG_PINK; /* Plum color { R:221, G:160, B:221, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_plum = SG_PLUM; /* Powder Blue color { R:176, G:224, B:230, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_powder_blue = SG_POWDER_BLUE; /* Purple color { R:160, G:32, B:240, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_purple = SG_PURPLE; /* Web Purple color { R:128, G:0, B:128, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_web_purple = SG_WEB_PURPLE; /* Rebecca Purple color { R:102, G:51, B:153, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_rebecca_purple = SG_REBECCA_PURPLE; /* Red color { R:255, G:0, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_red = SG_RED; /* Rosy Brown color { R:188, G:143, B:143, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_rosy_brown = SG_ROSY_BROWN; /* Royal Blue color { R:65, G:105, B:225, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_royal_blue = SG_ROYAL_BLUE; /* Saddle Brown color { R:139, G:69, B:19, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_saddle_brown = SG_SADDLE_BROWN; /* Salmon color { R:250, G:128, B:114, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_salmon = SG_SALMON; /* Sandy Brown color { R:244, G:164, B:96, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_sandy_brown = SG_SANDY_BROWN; /* Sea Green color { R:46, G:139, B:87, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_sea_green = SG_SEA_GREEN; /* Seashell color { R:255, G:245, B:238, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_seashell = SG_SEASHELL; /* Sienna color { R:160, G:82, B:45, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_sienna = SG_SIENNA; /* Silver color { R:192, G:192, B:192, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_silver = SG_SILVER; /* Sky Blue color { R:135, G:206, B:235, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_sky_blue = SG_SKY_BLUE; /* Slate Blue color { R:106, G:90, B:205, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_slate_blue = SG_SLATE_BLUE; /* Slate Gray color { R:112, G:128, B:144, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_slate_gray = SG_SLATE_GRAY; /* Snow color { R:255, G:250, B:250, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_snow = SG_SNOW; /* Spring Green color { R:0, G:255, B:127, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_spring_green = SG_SPRING_GREEN; /* Steel Blue color { R:70, G:130, B:180, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_steel_blue = SG_STEEL_BLUE; /* Tan color { R:210, G:180, B:140, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_tan = SG_TAN; /* Teal color { R:0, G:128, B:128, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_teal = SG_TEAL; /* Thistle color { R:216, G:191, B:216, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_thistle = SG_THISTLE; /* Tomato color { R:255, G:99, B:71, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_tomato = SG_TOMATO; /* Transparent color { R:0, G:0, B:0, A:0 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_transparent = SG_TRANSPARENT; /* Turquoise color { R:64, G:224, B:208, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_turquoise = SG_TURQUOISE; /* Violet color { R:238, G:130, B:238, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_violet = SG_VIOLET; /* Wheat color { R:245, G:222, B:179, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_wheat = SG_WHEAT; /* White color { R:255, G:255, B:255, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_white = SG_WHITE; /* White Smoke color { R:245, G:245, B:245, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_white_smoke = SG_WHITE_SMOKE; /* Yellow color { R:255, G:255, B:0, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_yellow = SG_YELLOW; /* Yellow Green color { R:154, G:205, B:50, A:255 } */ static SOKOL_COLOR_CONSTEXPR sg_color sg_yellow_green = SG_YELLOW_GREEN; /* Alice Blue color { R:240, G:248, B:255, A:255 } */ #define SG_ALICE_BLUE_RGBA32 0xF0F8FFFF /* Antique White color { R:250, G:235, B:215, A:255 } */ #define SG_ANTIQUE_WHITE_RGBA32 0xFAEBD7FF /* Aqua color { R:0, G:255, B:255, A:255 } */ #define SG_AQUA_RGBA32 0x00FFFFFF /* Aquamarine color { R:127, G:255, B:212, A:255 } */ #define SG_AQUAMARINE_RGBA32 0x7FFFD4FF /* Azure color { R:240, G:255, B:255, A:255 } */ #define SG_AZURE_RGBA32 0xF0FFFFFF /* Beige color { R:245, G:245, B:220, A:255 } */ #define SG_BEIGE_RGBA32 0xF5F5DCFF /* Bisque color { R:255, G:228, B:196, A:255 } */ #define SG_BISQUE_RGBA32 0xFFE4C4FF /* Black color { R:0, G:0, B:0, A:255 } */ #define SG_BLACK_RGBA32 0x000000FF /* Blanched Almond color { R:255, G:235, B:205, A:255 } */ #define SG_BLANCHED_ALMOND_RGBA32 0xFFEBCDFF /* Blue color { R:0, G:0, B:255, A:255 } */ #define SG_BLUE_RGBA32 0x0000FFFF /* Blue Violet color { R:138, G:43, B:226, A:255 } */ #define SG_BLUE_VIOLET_RGBA32 0x8A2BE2FF /* Brown color { R:165, G:42, B:42, A:255 } */ #define SG_BROWN_RGBA32 0xA52A2AFF /* Burlywood color { R:222, G:184, B:135, A:255 } */ #define SG_BURLYWOOD_RGBA32 0xDEB887FF /* Cadet Blue color { R:95, G:158, B:160, A:255 } */ #define SG_CADET_BLUE_RGBA32 0x5F9EA0FF /* Chartreuse color { R:127, G:255, B:0, A:255 } */ #define SG_CHARTREUSE_RGBA32 0x7FFF00FF /* Chocolate color { R:210, G:105, B:30, A:255 } */ #define SG_CHOCOLATE_RGBA32 0xD2691EFF /* Coral color { R:255, G:127, B:80, A:255 } */ #define SG_CORAL_RGBA32 0xFF7F50FF /* Cornflower Blue color { R:100, G:149, B:237, A:255 } */ #define SG_CORNFLOWER_BLUE_RGBA32 0x6495EDFF /* Cornsilk color { R:255, G:248, B:220, A:255 } */ #define SG_CORNSILK_RGBA32 0xFFF8DCFF /* Crimson color { R:220, G:20, B:60, A:255 } */ #define SG_CRIMSON_RGBA32 0xDC143CFF /* Cyan color { R:0, G:255, B:255, A:255 } */ #define SG_CYAN_RGBA32 0x00FFFFFF /* Dark Blue color { R:0, G:0, B:139, A:255 } */ #define SG_DARK_BLUE_RGBA32 0x00008BFF /* Dark Cyan color { R:0, G:139, B:139, A:255 } */ #define SG_DARK_CYAN_RGBA32 0x008B8BFF /* Dark Goldenrod color { R:184, G:134, B:11, A:255 } */ #define SG_DARK_GOLDENROD_RGBA32 0xB8860BFF /* Dark Gray color { R:169, G:169, B:169, A:255 } */ #define SG_DARK_GRAY_RGBA32 0xA9A9A9FF /* Dark Green color { R:0, G:100, B:0, A:255 } */ #define SG_DARK_GREEN_RGBA32 0x006400FF /* Dark Khaki color { R:189, G:183, B:107, A:255 } */ #define SG_DARK_KHAKI_RGBA32 0xBDB76BFF /* Dark Magenta color { R:139, G:0, B:139, A:255 } */ #define SG_DARK_MAGENTA_RGBA32 0x8B008BFF /* Dark Olive Green color { R:85, G:107, B:47, A:255 } */ #define SG_DARK_OLIVE_GREEN_RGBA32 0x556B2FFF /* Dark Orange color { R:255, G:140, B:0, A:255 } */ #define SG_DARK_ORANGE_RGBA32 0xFF8C00FF /* Dark Orchid color { R:153, G:50, B:204, A:255 } */ #define SG_DARK_ORCHID_RGBA32 0x9932CCFF /* Dark Red color { R:139, G:0, B:0, A:255 } */ #define SG_DARK_RED_RGBA32 0x8B0000FF /* Dark Salmon color { R:233, G:150, B:122, A:255 } */ #define SG_DARK_SALMON_RGBA32 0xE9967AFF /* Dark Sea Green color { R:143, G:188, B:143, A:255 } */ #define SG_DARK_SEA_GREEN_RGBA32 0x8FBC8FFF /* Dark Slate Blue color { R:72, G:61, B:139, A:255 } */ #define SG_DARK_SLATE_BLUE_RGBA32 0x483D8BFF /* Dark Slate Gray color { R:47, G:79, B:79, A:255 } */ #define SG_DARK_SLATE_GRAY_RGBA32 0x2F4F4FFF /* Dark Turquoise color { R:0, G:206, B:209, A:255 } */ #define SG_DARK_TURQUOISE_RGBA32 0x00CED1FF /* Dark Violet color { R:148, G:0, B:211, A:255 } */ #define SG_DARK_VIOLET_RGBA32 0x9400D3FF /* Deep Pink color { R:255, G:20, B:147, A:255 } */ #define SG_DEEP_PINK_RGBA32 0xFF1493FF /* Deep Sky Blue color { R:0, G:191, B:255, A:255 } */ #define SG_DEEP_SKY_BLUE_RGBA32 0x00BFFFFF /* Dim Gray color { R:105, G:105, B:105, A:255 } */ #define SG_DIM_GRAY_RGBA32 0x696969FF /* Dodger Blue color { R:30, G:144, B:255, A:255 } */ #define SG_DODGER_BLUE_RGBA32 0x1E90FFFF /* Firebrick color { R:178, G:34, B:34, A:255 } */ #define SG_FIREBRICK_RGBA32 0xB22222FF /* Floral White color { R:255, G:250, B:240, A:255 } */ #define SG_FLORAL_WHITE_RGBA32 0xFFFAF0FF /* Forest Green color { R:34, G:139, B:34, A:255 } */ #define SG_FOREST_GREEN_RGBA32 0x228B22FF /* Fuchsia color { R:255, G:0, B:255, A:255 } */ #define SG_FUCHSIA_RGBA32 0xFF00FFFF /* Gainsboro color { R:220, G:220, B:220, A:255 } */ #define SG_GAINSBORO_RGBA32 0xDCDCDCFF /* Ghost White color { R:248, G:248, B:255, A:255 } */ #define SG_GHOST_WHITE_RGBA32 0xF8F8FFFF /* Gold color { R:255, G:215, B:0, A:255 } */ #define SG_GOLD_RGBA32 0xFFD700FF /* Goldenrod color { R:218, G:165, B:32, A:255 } */ #define SG_GOLDENROD_RGBA32 0xDAA520FF /* Gray color { R:190, G:190, B:190, A:255 } */ #define SG_GRAY_RGBA32 0xBEBEBEFF /* Web Gray color { R:128, G:128, B:128, A:255 } */ #define SG_WEB_GRAY_RGBA32 0x808080FF /* Green color { R:0, G:255, B:0, A:255 } */ #define SG_GREEN_RGBA32 0x00FF00FF /* Web Green color { R:0, G:128, B:0, A:255 } */ #define SG_WEB_GREEN_RGBA32 0x008000FF /* Green Yellow color { R:173, G:255, B:47, A:255 } */ #define SG_GREEN_YELLOW_RGBA32 0xADFF2FFF /* Honeydew color { R:240, G:255, B:240, A:255 } */ #define SG_HONEYDEW_RGBA32 0xF0FFF0FF /* Hot Pink color { R:255, G:105, B:180, A:255 } */ #define SG_HOT_PINK_RGBA32 0xFF69B4FF /* Indian Red color { R:205, G:92, B:92, A:255 } */ #define SG_INDIAN_RED_RGBA32 0xCD5C5CFF /* Indigo color { R:75, G:0, B:130, A:255 } */ #define SG_INDIGO_RGBA32 0x4B0082FF /* Ivory color { R:255, G:255, B:240, A:255 } */ #define SG_IVORY_RGBA32 0xFFFFF0FF /* Khaki color { R:240, G:230, B:140, A:255 } */ #define SG_KHAKI_RGBA32 0xF0E68CFF /* Lavender color { R:230, G:230, B:250, A:255 } */ #define SG_LAVENDER_RGBA32 0xE6E6FAFF /* Lavender Blush color { R:255, G:240, B:245, A:255 } */ #define SG_LAVENDER_BLUSH_RGBA32 0xFFF0F5FF /* Lawn Green color { R:124, G:252, B:0, A:255 } */ #define SG_LAWN_GREEN_RGBA32 0x7CFC00FF /* Lemon Chiffon color { R:255, G:250, B:205, A:255 } */ #define SG_LEMON_CHIFFON_RGBA32 0xFFFACDFF /* Light Blue color { R:173, G:216, B:230, A:255 } */ #define SG_LIGHT_BLUE_RGBA32 0xADD8E6FF /* Light Coral color { R:240, G:128, B:128, A:255 } */ #define SG_LIGHT_CORAL_RGBA32 0xF08080FF /* Light Cyan color { R:224, G:255, B:255, A:255 } */ #define SG_LIGHT_CYAN_RGBA32 0xE0FFFFFF /* Light Goldenrod color { R:250, G:250, B:210, A:255 } */ #define SG_LIGHT_GOLDENROD_RGBA32 0xFAFAD2FF /* Light Gray color { R:211, G:211, B:211, A:255 } */ #define SG_LIGHT_GRAY_RGBA32 0xD3D3D3FF /* Light Green color { R:144, G:238, B:144, A:255 } */ #define SG_LIGHT_GREEN_RGBA32 0x90EE90FF /* Light Pink color { R:255, G:182, B:193, A:255 } */ #define SG_LIGHT_PINK_RGBA32 0xFFB6C1FF /* Light Salmon color { R:255, G:160, B:122, A:255 } */ #define SG_LIGHT_SALMON_RGBA32 0xFFA07AFF /* Light Sea Green color { R:32, G:178, B:170, A:255 } */ #define SG_LIGHT_SEA_GREEN_RGBA32 0x20B2AAFF /* Light Sky Blue color { R:135, G:206, B:250, A:255 } */ #define SG_LIGHT_SKY_BLUE_RGBA32 0x87CEFAFF /* Light Slate Gray color { R:119, G:136, B:153, A:255 } */ #define SG_LIGHT_SLATE_GRAY_RGBA32 0x778899FF /* Light Steel Blue color { R:176, G:196, B:222, A:255 } */ #define SG_LIGHT_STEEL_BLUE_RGBA32 0xB0C4DEFF /* Light Yellow color { R:255, G:255, B:224, A:255 } */ #define SG_LIGHT_YELLOW_RGBA32 0xFFFFE0FF /* Lime color { R:0, G:255, B:0, A:255 } */ #define SG_LIME_RGBA32 0x00FF00FF /* Lime Green color { R:50, G:205, B:50, A:255 } */ #define SG_LIME_GREEN_RGBA32 0x32CD32FF /* Linen color { R:250, G:240, B:230, A:255 } */ #define SG_LINEN_RGBA32 0xFAF0E6FF /* Magenta color { R:255, G:0, B:255, A:255 } */ #define SG_MAGENTA_RGBA32 0xFF00FFFF /* Maroon color { R:176, G:48, B:96, A:255 } */ #define SG_MAROON_RGBA32 0xB03060FF /* Web Maroon color { R:128, G:0, B:0, A:255 } */ #define SG_WEB_MAROON_RGBA32 0x800000FF /* Medium Aquamarine color { R:102, G:205, B:170, A:255 } */ #define SG_MEDIUM_AQUAMARINE_RGBA32 0x66CDAAFF /* Medium Blue color { R:0, G:0, B:205, A:255 } */ #define SG_MEDIUM_BLUE_RGBA32 0x0000CDFF /* Medium Orchid color { R:186, G:85, B:211, A:255 } */ #define SG_MEDIUM_ORCHID_RGBA32 0xBA55D3FF /* Medium Purple color { R:147, G:112, B:219, A:255 } */ #define SG_MEDIUM_PURPLE_RGBA32 0x9370DBFF /* Medium Sea Green color { R:60, G:179, B:113, A:255 } */ #define SG_MEDIUM_SEA_GREEN_RGBA32 0x3CB371FF /* Medium Slate Blue color { R:123, G:104, B:238, A:255 } */ #define SG_MEDIUM_SLATE_BLUE_RGBA32 0x7B68EEFF /* Medium Spring Green color { R:0, G:250, B:154, A:255 } */ #define SG_MEDIUM_SPRING_GREEN_RGBA32 0x00FA9AFF /* Medium Turquoise color { R:72, G:209, B:204, A:255 } */ #define SG_MEDIUM_TURQUOISE_RGBA32 0x48D1CCFF /* Medium Violet Red color { R:199, G:21, B:133, A:255 } */ #define SG_MEDIUM_VIOLET_RED_RGBA32 0xC71585FF /* Midnight Blue color { R:25, G:25, B:112, A:255 } */ #define SG_MIDNIGHT_BLUE_RGBA32 0x191970FF /* Mint Cream color { R:245, G:255, B:250, A:255 } */ #define SG_MINT_CREAM_RGBA32 0xF5FFFAFF /* Misty Rose color { R:255, G:228, B:225, A:255 } */ #define SG_MISTY_ROSE_RGBA32 0xFFE4E1FF /* Moccasin color { R:255, G:228, B:181, A:255 } */ #define SG_MOCCASIN_RGBA32 0xFFE4B5FF /* Navajo White color { R:255, G:222, B:173, A:255 } */ #define SG_NAVAJO_WHITE_RGBA32 0xFFDEADFF /* Navy Blue color { R:0, G:0, B:128, A:255 } */ #define SG_NAVY_BLUE_RGBA32 0x000080FF /* Old Lace color { R:253, G:245, B:230, A:255 } */ #define SG_OLD_LACE_RGBA32 0xFDF5E6FF /* Olive color { R:128, G:128, B:0, A:255 } */ #define SG_OLIVE_RGBA32 0x808000FF /* Olive Drab color { R:107, G:142, B:35, A:255 } */ #define SG_OLIVE_DRAB_RGBA32 0x6B8E23FF /* Orange color { R:255, G:165, B:0, A:255 } */ #define SG_ORANGE_RGBA32 0xFFA500FF /* Orange Red color { R:255, G:69, B:0, A:255 } */ #define SG_ORANGE_RED_RGBA32 0xFF4500FF /* Orchid color { R:218, G:112, B:214, A:255 } */ #define SG_ORCHID_RGBA32 0xDA70D6FF /* Pale Goldenrod color { R:238, G:232, B:170, A:255 } */ #define SG_PALE_GOLDENROD_RGBA32 0xEEE8AAFF /* Pale Green color { R:152, G:251, B:152, A:255 } */ #define SG_PALE_GREEN_RGBA32 0x98FB98FF /* Pale Turquoise color { R:175, G:238, B:238, A:255 } */ #define SG_PALE_TURQUOISE_RGBA32 0xAFEEEEFF /* Pale Violet Red color { R:219, G:112, B:147, A:255 } */ #define SG_PALE_VIOLET_RED_RGBA32 0xDB7093FF /* Papaya Whip color { R:255, G:239, B:213, A:255 } */ #define SG_PAPAYA_WHIP_RGBA32 0xFFEFD5FF /* Peach Puff color { R:255, G:218, B:185, A:255 } */ #define SG_PEACH_PUFF_RGBA32 0xFFDAB9FF /* Peru color { R:205, G:133, B:63, A:255 } */ #define SG_PERU_RGBA32 0xCD853FFF /* Pink color { R:255, G:192, B:203, A:255 } */ #define SG_PINK_RGBA32 0xFFC0CBFF /* Plum color { R:221, G:160, B:221, A:255 } */ #define SG_PLUM_RGBA32 0xDDA0DDFF /* Powder Blue color { R:176, G:224, B:230, A:255 } */ #define SG_POWDER_BLUE_RGBA32 0xB0E0E6FF /* Purple color { R:160, G:32, B:240, A:255 } */ #define SG_PURPLE_RGBA32 0xA020F0FF /* Web Purple color { R:128, G:0, B:128, A:255 } */ #define SG_WEB_PURPLE_RGBA32 0x800080FF /* Rebecca Purple color { R:102, G:51, B:153, A:255 } */ #define SG_REBECCA_PURPLE_RGBA32 0x663399FF /* Red color { R:255, G:0, B:0, A:255 } */ #define SG_RED_RGBA32 0xFF0000FF /* Rosy Brown color { R:188, G:143, B:143, A:255 } */ #define SG_ROSY_BROWN_RGBA32 0xBC8F8FFF /* Royal Blue color { R:65, G:105, B:225, A:255 } */ #define SG_ROYAL_BLUE_RGBA32 0x4169E1FF /* Saddle Brown color { R:139, G:69, B:19, A:255 } */ #define SG_SADDLE_BROWN_RGBA32 0x8B4513FF /* Salmon color { R:250, G:128, B:114, A:255 } */ #define SG_SALMON_RGBA32 0xFA8072FF /* Sandy Brown color { R:244, G:164, B:96, A:255 } */ #define SG_SANDY_BROWN_RGBA32 0xF4A460FF /* Sea Green color { R:46, G:139, B:87, A:255 } */ #define SG_SEA_GREEN_RGBA32 0x2E8B57FF /* Seashell color { R:255, G:245, B:238, A:255 } */ #define SG_SEASHELL_RGBA32 0xFFF5EEFF /* Sienna color { R:160, G:82, B:45, A:255 } */ #define SG_SIENNA_RGBA32 0xA0522DFF /* Silver color { R:192, G:192, B:192, A:255 } */ #define SG_SILVER_RGBA32 0xC0C0C0FF /* Sky Blue color { R:135, G:206, B:235, A:255 } */ #define SG_SKY_BLUE_RGBA32 0x87CEEBFF /* Slate Blue color { R:106, G:90, B:205, A:255 } */ #define SG_SLATE_BLUE_RGBA32 0x6A5ACDFF /* Slate Gray color { R:112, G:128, B:144, A:255 } */ #define SG_SLATE_GRAY_RGBA32 0x708090FF /* Snow color { R:255, G:250, B:250, A:255 } */ #define SG_SNOW_RGBA32 0xFFFAFAFF /* Spring Green color { R:0, G:255, B:127, A:255 } */ #define SG_SPRING_GREEN_RGBA32 0x00FF7FFF /* Steel Blue color { R:70, G:130, B:180, A:255 } */ #define SG_STEEL_BLUE_RGBA32 0x4682B4FF /* Tan color { R:210, G:180, B:140, A:255 } */ #define SG_TAN_RGBA32 0xD2B48CFF /* Teal color { R:0, G:128, B:128, A:255 } */ #define SG_TEAL_RGBA32 0x008080FF /* Thistle color { R:216, G:191, B:216, A:255 } */ #define SG_THISTLE_RGBA32 0xD8BFD8FF /* Tomato color { R:255, G:99, B:71, A:255 } */ #define SG_TOMATO_RGBA32 0xFF6347FF /* Transparent color { R:0, G:0, B:0, A:0 } */ #define SG_TRANSPARENT_RGBA32 0x00000000 /* Turquoise color { R:64, G:224, B:208, A:255 } */ #define SG_TURQUOISE_RGBA32 0x40E0D0FF /* Violet color { R:238, G:130, B:238, A:255 } */ #define SG_VIOLET_RGBA32 0xEE82EEFF /* Wheat color { R:245, G:222, B:179, A:255 } */ #define SG_WHEAT_RGBA32 0xF5DEB3FF /* White color { R:255, G:255, B:255, A:255 } */ #define SG_WHITE_RGBA32 0xFFFFFFFF /* White Smoke color { R:245, G:245, B:245, A:255 } */ #define SG_WHITE_SMOKE_RGBA32 0xF5F5F5FF /* Yellow color { R:255, G:255, B:0, A:255 } */ #define SG_YELLOW_RGBA32 0xFFFF00FF /* Yellow Green color { R:154, G:205, B:50, A:255 } */ #define SG_YELLOW_GREEN_RGBA32 0x9ACD32FF #ifdef __cplusplus } /* extern "C" */ inline sg_color sg_make_color(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return sg_make_color_4b(r, g, b, a); } inline sg_color sg_make_color(uint32_t rgba) { return sg_make_color_1i(rgba); } inline sg_color sg_color_lerp(const sg_color& color_a, const sg_color& color_b, float amount) { return sg_color_lerp(&color_a, &color_b, amount); } inline sg_color sg_color_lerp_precise(const sg_color& color_a, const sg_color& color_b, float amount) { return sg_color_lerp_precise(&color_a, &color_b, amount); } inline sg_color sg_color_multiply(const sg_color& color, float scale) { return sg_color_multiply(&color, scale); } #endif /* __cplusplus */ #endif /* SOKOL_COLOR_INCLUDED */ /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_COLOR_IMPL #define SOKOL_COLOR_IMPL_INCLUDED (1) #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif static inline float _sg_color_clamp(float v, float low, float high) { if (v < low) { return low; } else if (v > high) { return high; } return v; } static inline float _sg_color_lerp(float a, float b, float amount) { return a + (b - a) * amount; } static inline float _sg_color_lerp_precise(float a, float b, float amount) { return ((1.0f - amount) * a) + (b * amount); } SOKOL_API_IMPL sg_color sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { sg_color result; result.r = r / 255.0f; result.g = g / 255.0f; result.b = b / 255.0f; result.a = a / 255.0f; return result; } SOKOL_API_IMPL sg_color sg_make_color_1i(uint32_t rgba) { return sg_make_color_4b( (uint8_t)(rgba >> 24), (uint8_t)(rgba >> 16), (uint8_t)(rgba >> 8), (uint8_t)(rgba >> 0) ); } SOKOL_API_IMPL sg_color sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount) { SOKOL_ASSERT(color_a); SOKOL_ASSERT(color_b); amount = _sg_color_clamp(amount, 0.0f, 1.0f); sg_color result; result.r = _sg_color_lerp(color_a->r, color_b->r, amount); result.g = _sg_color_lerp(color_a->g, color_b->g, amount); result.b = _sg_color_lerp(color_a->b, color_b->b, amount); result.a = _sg_color_lerp(color_a->a, color_b->a, amount); return result; } SOKOL_API_IMPL sg_color sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount) { SOKOL_ASSERT(color_a); SOKOL_ASSERT(color_b); amount = _sg_color_clamp(amount, 0.0f, 1.0f); sg_color result; result.r = _sg_color_lerp_precise(color_a->r, color_b->r, amount); result.g = _sg_color_lerp_precise(color_a->g, color_b->g, amount); result.b = _sg_color_lerp_precise(color_a->b, color_b->b, amount); result.a = _sg_color_lerp_precise(color_a->a, color_b->a, amount); return result; } SOKOL_API_IMPL sg_color sg_color_multiply(const sg_color* color, float scale) { SOKOL_ASSERT(color); sg_color result; result.r = color->r * scale; result.g = color->g * scale; result.b = color->b * scale; result.a = color->a * scale; return result; } #endif /* SOKOL_COLOR_IMPL */
0
repos/sokol
repos/sokol/util/sokol_spine.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_SPINE_IMPL) #define SOKOL_SPINE_IMPL #endif #ifndef SOKOL_SPINE_INCLUDED /* sokol_spine.h -- a sokol-gfx renderer for the spine-c runtime (see https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-c) Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_SPINE_IMPL before you include this file in *one* C or C++ file to create the implementation. The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL ...optionally provide the following macros to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_SPINE_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_SPINE_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) SOKOL_UNREACHABLE() - a guard macro for unreachable code (default: assert(false)) If sokol_spine.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_SPINE_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. Include the following headers before including sokol_spine.h: sokol_gfx.h Include the following headers before include the sokol_spine.h *IMPLEMENTATION*: spine/spine.h You'll also need to compile and link with the spine-c runtime: https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-c/spine-c FEATURE OVERVIEW ================ sokol_spine.h is a sokol-gfx renderer and 'handle wrapper' for Spine (http://en.esotericsoftware.com/spine-in-depth) on top of the spine-c runtime: http://en.esotericsoftware.com/spine-c (source code: https://github.com/EsotericSoftware/spine-runtimes/tree/4.1/spine-c/spine-c). The sokol-gfx renderer allows to manage multiple contexts for rendering Spine scenes into different sokol-gfx render passes (similar to sokol-gl and sokol-debugtext), allows to split rendering into layers to mix Spine rendering with other rendering operations, and it automatically batches adjacent draw calls for Spine objects that use the same texture and in the same layer. Sokol-spine wraps 'raw' spine-c objects with tagged index handles. This eliminates the risk of memory corruption via dangling pointers. Any API calls involving invalid objects either result in a no-op, or in a proper error. The sokol-spine API exposes four 'base object types', and a number of 'subobject types' which are owned by base objects. Base object types are: - sspine_atlas: A wrapper around a spine-c spAtlas object, each spAtlas object owns at least one spAtlasPage object, and each spAtlasPage object owns exactly one sokol-gfx image object. - sspine_skeleton: A skeleton object requires an atlas object for creation, and is a wrapper around one spine-c spSkeletonData and one spAnimationStateData object. both contain the shared static data for individual spine instances - sspine_instance: Instance objects are created from skeleton objects. Instances are the objects that are actually getting rendered. Each instance tracks its own transformation and animation state, but otherwise just references shared data of the skeleton object it was created from. An sspine_instance object is a wrapper around one spine-c spSkeleton, spAnimationState and spSkeletonClipping object each. - sspine_skinset: Skin-set objects are collections of skins which define the look of an instance. Some Spine scenes consist of combinable skins (for instance a human character could offer different skins for different types of clothing, hats, scarfs, shirts, pants, and so on..., and a skin set would represent a specific outfit). Subobject types allow to inspect and manipulate Spine objects in more detail: - sspine_anim: Each skeleton object usually offers animations which can then be scheduled and mixed on an instance. - sspine_bone: Bone objects are the hierarchical transform nodes of a skeleton. The sokol-spine API allows both to inspect the shared static bone attributes of an sspine_skeleton object, as well as inspecting and manipulating the per-instance bone attributes on an sspine_instance object. - sspine_event: A running Spine animation may fire 'events' at certain positions in time (for instance a 'footstep' event whenever a foot hits the ground). Events can be used to play sound effects (or visual effects) at the right time. - sspine_iktarget: Allows to set the target position for a group of bones controlled by inverse kinematics. There's a couple of other subobject types which are mostly useful to inspect the interior structure of skeletons. Those will be explained in detail further down. MINIMAL API USAGE OVERVIEW ========================== During initialization: - call sspine_setup() after initializing sokol-gfx - create an atlas object from a Spine atlas file with sspine_make_atlas() - load and initialize the sokol-gfx image objects referenced by the atlas - create a skeleton object from a Spine skeleton file with sspine_make_skeleton() - create at least one instance object with sspine_make_instance() In the frame loop, outside of sokol-gfx render passes: - if needed, move instances around with sspine_set_position() - if needed, schedule new animations with sspine_set_animation() and sspine_add_animation() - each frame, advance the current instance animation state with sspine_update_instance() - each frame, render instances with sspine_draw_instance_in_layer(), this just records vertices, indices and draw commands into internal buffers, but does no actual sokol-gfx rendering In the frame loop, inside a sokol-gfx render pass: - call sspine_draw_layer() to draw all previously recorded instances in a specific layer On shutdown: - call sspine_shutdown(), ideally before shutting down sokol-gfx QUICKSTART STEP BY STEP ======================= For a simple demo program using sokol_app.h, sokol_gfx.h and sokol_fetch.h, see here: [TODO: add link to spine-simple-sapp wasm demo]. - sokol_spine.h must be included after sokol_gfx.h (this is true both for the declaration and implementation): #include "sokol_gfx.h" #include "sokol_spine.h" - ...and sokol_gfx.h must be initialized before sokol_spine.h: sg_setup(&(sg_desc){ ... }); sspine_setup(&(sspine_desc){ ... }); - You should always provide a logging callback to sokol-spine, otherwise no warning or errors will be logged. The easiest way is to use sokol_log.h for this: #include "sokol_log.h" sspine_setup(&(sspine_desc){ .logger = { .func = slog_func } }); - You can tweak the memory usage of sokol-spine by limiting or expanding the maximum number of vertices, draw commands and pool sizes: sspine_setup(&(sspine_desc){ .max_vertices = 1024, // default: (1<<16) = 65536 .max_commands = 128, // default: (1<<14) = 16384 .context_pool_size = 1, // default: 4 .atlas_pool_size = 1, // default: 64 .skeleton_pool_size = 1, // default: 64 .skinset_pool_size = 1, // default: 64 .instance_pool_size = 16, // default: 1024 .logger = { .func = slog_func, } }); Sokol-spine uses 32-bit vertex-indices for rendering (SG_INDEXTYPE_UINT32), so that the maximum number of Spine vertices in a frame isn't limited to (1<<16). - You can override memory allocation and logging with your own functions, this is explained in detail further down: sspine_setup(&(sspine_desc){ .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ..., }, .logger = { .log_func = my_log_func, .user_data = ..., } }); - After initialization, the first thing you need is an sspine_atlas object. Sokol-spine doesn't concern itself with file IO, it expects all external data to be provided as pointer/size pairs: sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ .data = { .ptr = ..., // pointer to Spine atlas file data in memory .size = ..., // atlas file data size in bytes } }); assert(sspine_atlas_valid(atlas)); If you load the atlas data asynchronously, you can still run your per-frame rendering code without waiting for the atlas data to be loaded and the atlas to be created. This works because calling sokol-spine functions with 'invalid' object handles is a valid no-op. - Optionally you can override some or all of the atlas texture creation parameters: sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ .data = { ... }, .overrides = { .min_filter = SG_FILTER_NEAREST, .mag_filter = SG_FILTER_NEAREST, .mipmap_filter = SG_FILTER_NEAREST, .wrap_u = SG_WRAP_MIRROR, .wrap_v = SG_WRAP_MIRROR, .premul_alpha_enabled = ..., .premul_alpha_disabled = ..., } }); - The atlas file itself doesn't contain any texture data, it only contains filenames of the required textures. Sokol-spine has already allocated a sokol-gfx sg_image and sg_sample handle for each required texture, but the actual loading and initialization must be performed by user code: // iterate over atlas textures and initialize sokol-gfx image objects // with existing handles const int num = sspine_num_images(atlas); for (int i = 0; i < num; i++) { const sspine_image img = sspine_image_by_index(atlas, i); const sspine_image_info img_info = sspine_get_image_info(img); assert(img_info.valid); assert(!img_info.filename.truncated); // the filename is now in img_info.filename.cstr, 'somehow' // load and decode the image data into memory, and then // initialize the sokol-gfx image from the existing sg_image handle // in img_info.sgimage: sg_init_image(img_info.sgimage, &(sg_image_desc){ .width = ..., .height = ..., .pixel_format = ..., .data.subimage[0][0] = { .ptr = ..., // pointer to decoded image pixel data .size = ..., // size of decoded image pixel data in bytes } }); // ...and same procedure for the sampler object sg_init_sampler(img_info.sgsampler, &(sg_image_desc){ .min_filter = img_info.min_filter, .mag_filter = img_info.mag_filter, .mipmap_filter = img_info.mipmap_filter, .wrap_u = img_info.wrap_u, .wrap_v = img_info.wrap_v, }); } If you load the image data asynchronously, you can still simply start rendering before the image data is loaded. This works because sokol-gfx will silently drop any rendering operations that involve 'incomplete' objects. - Once an atlas object has been created (independently from loading any image data), an sspine_skeleton object is needed next. This requires a valid atlas object handle as input, and a pointer to the Spine skeleton file data loaded into memory. Spine skeleton files come in two flavours: binary or json, for binary data, a ptr/size pair must be provided: sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, // atlas must be a valid sspine_atlas handle .binary_data = { .ptr = ..., // pointer to binary skeleton data in memory .size = ..., // size of binary skeleton data in bytes } }); assert(sspine_skeleton_valid(skeleton)); For JSON skeleton file data, the data must be provided as a zero-terminated C string: sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .json_data = ..., // JSON skeleton data as zero-terminated(!) C-string }); Like with all sokol-spine objects, if you load the skeleton data asynchronously and only then create a skeleton object, you can already start rendering before the data is loaded and the Spine objects have been created. Any operations involving 'incomplete' handles will be dropped. - You can pre-scale the Spine scene size, and you can provide a default cross-fade duration for animation mixing: sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, .binary_data = { ... }, .prescale = 0.5f, // scale to half-size .anim_default_mix = 0.2f, // default anim mixing cross-fade duration 0.2 seconds }); - Once the skeleton object has been created, it's finally time to create one or many instance objects. If you want to independently render and animate the 'same' Spine object many times in a frame, you should only create one sspine_skeleton object, and then as many sspine_instance object as needed from the shared skeleton object: sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = skeleton, // must be a valid skeleton handle }); assert(sspine_instance_valid(instance)); After creation, the sspine_instance will have a 'default skin' set as its appearance. - To set the position of an instance: sspine_set_position(inst, (sspine_vec2){ .x=..., .y=... }); Sokol-spine doesn't define a specific unit (like pixels or meters), instead the rendering coordinate system is defined later at 'render time'. - To schedule an initial looping animation by its name: // first lookup up the animation by name on the skeleton: sspine_anim anim = sspine_anim_by_name(skeleton, "walk"); assert(sspine_anim_valid(anim)); // then schedule the animation on the instance, on mixer track 0, as looping: sspine_set_animation(instance, anim, 0, true); Scheduling and mixing animations will be explained in more detail further down. - To advance and mix instance animations: sspine_update_instance(instance, delta_time_in_seconds); Usually you'd call this each frame for each active instance with the frame duration in seconds. - Now it's finally time to 'render' the instance at its current position and animation state: sspine_draw_instance_in_layer(instance, 0); Instances are generally rendered into numbered virtual 'render layers' (in this case, layer 0). Layers are useful for interleaving sokol-spine rendering with other rendering commands (like background and foreground tile maps, sprites or text). - It's important to note that no actual sokol-gfx rendering happens in sspine_draw_instance_in_layer(), instead only vertices, indices and draw commands are recorded into internal memory buffes. - The only sokol-spine function which *must* (and should) be called inside a sokol-gfx rendering pass is sspine_draw_layer(). This renders all draw commands that have been recorded previously in a specific layer via sspine_draw_instance_in_layer(). const sspine_layer_transform tform = { ... }; sg_begin_default_pass(...); sspine_draw_layer(0, tform); sg_end_pass(); sg_commit(); IMPORTANT: DO *NOT* MIX any calls to sspine_draw_instance_in_layer() with sspine_draw_layer(), as this will confuse the internal draw command recording. Ideally, move all sokol-gfx pass rendering (including all sspine_draw_layer() calls) towards the end of the frame, separate from any other sokol-spine calls. The sspine_layer_transform struct defines the layer's screen space coordinate system. For instance to map Spine coordinates to framebuffer pixels, with the origin in the screen center, you'd setup the layer transform like this: const float width = sapp_widthf(); const float height = sapp_heightf(); const sspine_layer_transform tform = { .size = { .x = width, .y = height }, .origin = { .x = width * 0.5f, .y = height * 0.5f }, }; With this pixel mapping, the Spine scene would *not* scale with window size, which often is not very useful. Instead it might make more sense to render to a fixed 'virtual' resolution, for instance 1024 * 768: const sspine_layer_transform tform = { .size = { .x = 1024.0f, .y = 768.0f }, .origin = { .x = 512.0f, .y = 384.0f }, }; How to configure a virtual resolution with a fixed aspect ratio is left as an exercise to the reader ;) - That's it for basic sokol-spine setup and rendering. Any existing objects will automatically be cleaned up when calling sspine_shutdown(), this should be called before shutting down sokol-gfx, but this is not required: sspine_shutdown(); sg_shutdown(); - You can explicitly destroy the base object types if you don't need them any longer. This will cause the underlying spine-c objects to be freed and the memory to be returned to the operating system: sspine_destroy_instance(instance); sspine_destroy_skinset(skinset); sspine_destroy_skeleton(skeleton); sspine_destroy_atlas(atlas); You can destroy these objects in any order without causing memory corruption issues. Instead any dependent object handles will simply become invalid (e.g. if you destroy an atlas object, all skeletons and instances created from this atlas will 'technically' still exist, but their handles will resolve to 'invalid' and all sokol-spine calls involving these handles will silently fail). For instance: // create an atlas, skeleton and instance sspine_atlas atlas = sspine_make_atlas(&(sspine_atlas_desc){ ... }); assert(sspine_atlas_valid(atlas)); sspine_skeleton skeleton = sspine_make_skeleton(&(sspine_skeleton_desc){ .atlas = atlas, ... }); assert(sspine_skeleton_valid(skeleton)); sspine_instance instance = sspine_make_instance(&(sspine_instance_desc){ .skeleton = skeleton, }); assert(sspine_instance_valid(instance)); // destroy the atlas object: sspine_destroy_atlas(atlas); // the skeleton and instance handle should now be invalid, but // otherwise, nothing bad will happen: if (!sspine_skeleton_valid(skeleton)) { ... } if (!sspine_instance_valid(instance)) { ... } RENDERER DETAILS ================ Any rendering related work happens in the functions sspine_draw_instance_in_layer() and sspine_draw_layer(). sspine_draw_instance_in_layer() will result in vertices, indices and internal draw commands which will be recorded into internal memory buffers (e.g. no sokol-gfx functions will be called here). If possible, batching will be performed by merging a new draw command with the previously recorded draw command. For two draw commands to be merged, the following conditions must be tru: - rendering needs to go into the same layer - the same atlas texture must be used - the blend mode must be compatible (the Spine blending modes 'normal' and 'additive' can be merged, but not 'multiply') - the same premultiplied alpha mode must be used To make the most out of batching: - use Spine objects which only have a single atlas texture and blend mode across all slots - group sspine_draw_instance_in_layer() calls by layer After all instances have been 'rendered' (or rather: recorded) into layers, the actually rendering happens inside a sokol-gfx pass by calling the function sspine_draw_layer() for each layer in 'z order' (e.g. the layer index doesn't matter for z-ordering, only the order how sspine_draw_layer() is called). Only the first call to sspine_draw_layer() in a frame will copy the recorded vertices and indices into sokol-gfx buffers. Each call to sspine_draw_layer() will iterate over all recorded (and hopefully well-batched) draw commands, skip any draw commands with a non-matching layer index, and draw only those with a matching layer by calling: - if the pipeline object has changed: - sg_apply_pipeline() - sg_apply_uniforms() for the vertex stage - if the atlas texture has changed: - sg_apply_bindings() - if the premultiplied-alpha mode has changed: - sg_apply_uniforms() for the fragment stage - and finally sg_draw() The main purpose of render layers is to mix Spine rendering with other render operations. In the not too distant future, the same render layer idea will also be implemented at least for sokol-gl and sokol-debugtext. FIXME: does this section need more details about layer transforms? RENDERING WITH CONTEXTS ======================= At first glance, render contexts may look like more heavy-weight render layers, but they serve a different purpose: they are useful if Spine rendering needs to happen in different sokol-gfx render passes with different pixel formats and MSAA sample counts. All Spine rendering happens within a context, even you don't call any of the context API functions, in this case, an internal 'default context' will be used. Each context has its own internal vertex-, index- and command buffer and all context state is completely independent from any other contexts. To create a new context object, call: sspine_context ctx = sspine_make_context(&(sspine_context_desc){ .max_vertices = ..., .max_commands = ..., .color_format = SG_PIXELFORMAT_..., .depth_format = SG_PIXELFORMAT_..., .sample_count = ..., .color_write_mask = SG_COLORMASK_..., }); The color_format, depth_format and sample_count items must be compatible with the sokol-gfx render pass you're going to render into. If you omit the color_format, depth_format and sample_count designators, the new context will be compatible with the sokol-gfx default pass (which is most likely not what you want, unless your offscreen render passes exactly match the default pass attributes). Once a context has been created, it can be made active with: sspine_set_context(ctx); To set the default context again: sspine_set_contxt(sspine_default_context()); ...and to get the currently active context: sspine_context cur_ctx = sspine_get_context(); The currently active context only matter for two functions: - sspine_draw_instance_in_layer() - sspine_draw_layer() Alternatively you can bypass the currently set context with these alternative functions: - sspine_context_draw_layer_in_instance(ctx, ...) - sspine_context_draw_layer(ctx, ...) These explicitly take a context argument, completely ignore and don't change the active context. You can query some information about a context with the function: sspine_context_info info = ssgpine_get_context_info(ctx); This returns the current number of recorded vertices, indices and draw commands. RESOURCE STATES: ================ Similar to sokol-gfx, you can query the current 'resource state' of Spine objects: sspine_resource_state sspine_get_atlas_resource_state(sspine_atlas atlas); sspine_resource_state sspine_get_skeleton_resource_state(sspine_atlas atlas); sspine_resource_state sspine_get_instance_resource_state(sspine_atlas atlas); sspine_resource_state sspine_get_skinset_resource_state(sspine_atlas atlas); sspine_resource_state sspine_get_context_resource_state(sspine_atlas atlas); This returns one of - SSPINE_RESOURCE_VALID: the object is valid and ready to use - SSPINE_RESOURCE_FAILED: the object creation has failed - SSPINE_RESOURCE_INVALID: the object or one of its dependencies is invalid, it either no longer exists, or the handle hasn't been initialized with a call to one of the object creation functions MISC HELPER FUNCTIONS: ====================== There's a couple of helper functions which don't fit into a big enough category of their own: You can ask a skeleton for the atlas it has been created from: sspine_atlas atlas = sspine_get_skeleton_atlas(skeleton); ...and likewise, ask an instance for the skeleton it has been created from: sspine_skeleton skeleton = sspine_get_instance_skeleton(instance); ...and finally you can convert a layer transform struct into a 4x4 projection matrix that's memory-layout compatible with sokol-gl: const sspine_layer_transform tform = { ... }; const sspine_mat4 proj = sspine_layer_transform_to_mat4(&tform); sgl_matrix_mode_projection(); sgl_load_matrix(proj.m); ANIMATIONS ========== Animations have their own handle type sspine_anim. A valid sspine_anim handle is either obtained by looking up an animation by name from a skeleton: sspine_anim anim = sspine_anim_by_name(skeleton, "walk"); ...or by index: sspine_anim anim = sspine_anim_by_index(skeleton, 0); The returned anim handle will be invalid if an animation of that name doesn't exist, or the provided index is out-of-range: if (!sspine_anim_is_valid(anim)) { // animation handle is not valid } An animation handle will also become invalid when the skeleton object it was created is destroyed, or otherwise becomes invalid. You can iterate over all animations in a skeleton: const int num_anims = sspine_num_anims(skeleton); for (int anim_index = 0; anim_index < num_anims; anim_index++) { sspine_anim anim = sspine_anim_by_index(skeleton, anim_index); ... } Since sspine_anim is a 'fat handle' (it houses a skeleton handle and an index), there's a helper function which checks if two anim handles are equal: if (sspine_anim_equal(anim0, anim1)) { ... } To query information about an animation: const sspine_anim_info info = sspine_get_anim_info(anim); if (info.valid) { printf("index: %d, duration: %f, name: %s", info.index, info.duration, info.name.cstr); } Scheduling and mixing animations is controlled through the following functions: void sspine_clear_animation_tracks(sspine_instance instance); void sspine_clear_animation_track(sspine_instance instance, int track_index); void sspine_set_animation(sspine_instance instance, sspine_anim anim, int track_index, bool loop); void sspine_add_animation(sspine_instance instance, sspine_anim anim, int track_index, bool loop, float delay); void sspine_set_empty_animation(sspine_instance instance, int track_index, float mix_duration); void sspine_add_empty_animation(sspine_instance instance, int track_index, float mix_duration, float delay); Please refer to the spine-c documentation to get an idea what these functions do: http://en.esotericsoftware.com/spine-c#Applying-animations EVENTS ====== For a general idea of Spine events, see here: http://esotericsoftware.com/spine-events After calling sspine_update_instance() to advance the currently configured animations, you can poll for triggered events like this: const int num_triggered_events = sspine_num_triggered_events(instance); for (int i = 0; i < num_triggered_events; i++) { const sspine_triggered_event_info info = sspine_get_triggered_event_info(instance, i); if (info.valid) { ... } } The returned sspine_triggered_event_info struct gives you the current runtime properties of the event (in case the event has keyed properties). For the actual list of event properties please see the actual sspine_triggered_event_info struct declaration. It's also possible to inspect the static event definition on a skeleton, this works the same as iterating through animations. You can lookup an event by name, get the number of events, lookup an event by its index, and get detailed information about an event: int sspine_num_events(sspine_skeleton skeleton); sspine_event sspine_event_by_name(sspine_skeleton skeleton, const char* name); sspine_event sspine_event_by_index(sspine_skeleton skeleton, int index); bool sspine_event_valid(sspine_event event); bool sspine_event_equal(sspine_event first, sspine_event second); sspine_event_info sspine_get_event_info(sspine_event event); (FIXME: shouldn't the event info struct contains an sspine_anim handle?) IK TARGETS ========== The IK target function group allows to iterate over the IK targets that have been defined on a skeleton, find an IK target by name, get detailed information about an IK target, and most importantly, set the world space position of an IK target which updates the position of all bones influenced by the IK target: int sspine_num_iktargets(sspine_skeleton skeleton); sspine_iktarget sspine_iktarget_by_name(sspine_skeleton skeleton, const char* name); sspine_iktarget sspine_iktarget_by_index(sspine_skeleton skeleton, int index); bool sspine_iktarget_valid(sspine_iktarget iktarget); bool sspine_iktarget_equal(sspine_iktarget first, sspine_iktarget second); sspine_iktarget_info sspine_get_iktarget_info(sspine_iktarget iktarget); void sspine_set_iktarget_world_pos(sspine_instance instance, sspine_iktarget iktarget, sspine_vec2 world_pos); BONES ===== Skeleton bones are wrapped with an sspine_bone handle which can be created from a skeleton handle, and either a bone name: sspine_bone bone = sspine_bone_by_name(skeleton, "root"); assert(sspine_bone_valid(bone)); ...or a bone index: sspine_bone bone = sspine_bone_by_index(skeleton, 0); assert(sspine_bone_valid(bone)); ...to iterate over all bones of a skeleton and query information about each bone: const int num_bones = sspine_num_bones(skeleton); for (int bone_index = 0; bone_index < num_bones; bone_index++) { sspine_bone bone = sspine_bone_by_index(skeleton, bone_index); const sspine_bone_info info = sspine_get_bone_info(skeleton, bone); if (info.valid) { ... } } The sspine_bone_info struct provides the shared, static bone state in the skeleton (like the name, a parent bone handle, bone length, pose transform and a color attribute), but doesn't contain any dynamic information of per-instance bones. To manipulate the per-instance bone attributes use the following setter functions: void sspine_set_bone_transform(sspine_instance instance, sspine_bone bone, const sspine_bone_transform* transform); void sspine_set_bone_position(sspine_instance instance, sspine_bone bone, sspine_vec2 position); void sspine_set_bone_rotation(sspine_instance instance, sspine_bone bone, float rotation); void sspine_set_bone_scale(sspine_instance instance, sspine_bone bone, sspine_vec2 scale); void sspine_set_bone_shear(sspine_instance instance, sspine_bone bone, sspine_vec2 shear); ...and to query the per-instance bone attributes, the following getters: sspine_bone_transform sspine_get_bone_transform(sspine_instance instance, sspine_bone bone); sspine_vec2 sspine_get_bone_position(sspine_instance instance, sspine_bone bone); float sspine_get_bone_rotation(sspine_instance instance, sspine_bone bone); sspine_vec2 sspine_get_bone_scale(sspine_instance instance, sspine_bone bone); sspine_vec2 sspine_get_bone_shear(sspine_instance instance, sspine_bone bone); These functions all work in the local bone coordinate system (relative to a bone's parent bone). To transform positions between bone-local and global space use the following helper functions: sspine_vec2 sspine_bone_local_to_world(sspine_instance instance, sspine_bone bone, sspine_vec2 local_pos); sspine_vec2 sspine_bone_world_to_local(sspine_instance instance, sspine_bone bone, sspine_vec2 world_pos); ...and as a convenience, there's a helper function which obtains the bone position in global space directly: sspine_vec2 sspine_get_bone_world_position(sspine_instance instance, sspine_bone bone); SKINS AND SKINSETS ================== Skins are named pieces of geometry which can be turned on and off, what makes Spine skins a bit confusing is that they are hierarchical. A skin can itself be a collection of other skins. Setting the 'root skin' will also make all 'child skins' visible. In sokol-spine collections of skins are managed through dedicated 'skin set' objects. Under the hood they create a 'root skin' where the skins of the skin set are attached to, but from the outside it just looks like a 'flat' collection of skins without the tricky hierarchical management. Like other 'subobjects', skin handles can be obtained by the skin name from a skeleton handle: sspine_skin skin = sspine_skin_by_name(skeleton, "jacket"); assert(sspine_skin_valid(skin)); ...or by a skin index: sspine_skin skin = sspine_skin_by_index(skeleton, 0); assert(sspine_skin_valid(skin)); ...you can iterate over all skins of a skeleton and query some information about the skin: const int num_skins = sspine_num_skins(skeleton); for (int skin_index = 0; skin_index < num_skins; skin_index++) { sspine_skin skin = sspine_skin_by_index(skin_index); sspine_skin_info info = sspine_get_skin_info(skin); if (info.valid) { ... } } Currently, the only useful query item is the skin name though. To make a skin visible on an instance, just call: sspine_set_skin(instance, skin); ...this will first deactivate the previous skin before setting a new skin. A more powerful way to configure the skin visibility is through 'skin sets'. Skin sets are simply flat collections of skins which should be made visible at once. A new skin set is created like this: sspine_skinset skinset = sspine_make_skinset(&(sspine_skinset_desc){ .skeleton = skeleton, .skins = { sspine_skin_by_name(skeleton, "blue-jacket"), sspine_skin_by_name(skeleton, "green-pants"), sspine_skin_by_name(skeleton, "blonde-hair"), ... } }); assert(sspine_skinset_valid(skinset)) ...then simply set the skinset on an instance to reconfigure the appearance of the instance: sspine_set_skinset(instance, skinset); The functions sspine_set_skinset() and sspine_set_skin() will cancel each other. Calling sspine_set_skinset() deactivates the effect of sspine_set_skin() and vice versa. ERROR REPORTING AND LOGGING =========================== To get any logging information at all you need to provide a logging callback in the setup call, the easiest way is to use sokol_log.h: #include "sokol_log.h" sspine_setup(&(sspine_desc){ .logger.func = slog_func }); To override logging with your own callback, first write a logging function like this: void my_log(const char* tag, // e.g. 'sspine' uint32_t log_level, // 0=panic, 1=error, 2=warn, 3=info uint32_t log_item_id, // SSPINE_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_spine.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data) { ... } ...and then setup sokol-spine like this: sspine_setup(&(sspine_desc){ .logger = { .func = my_log, .user_data = my_user_data, } }); The provided logging function must be reentrant (e.g. be callable from different threads). If you don't want to provide your own custom logger it is highly recommended to use the standard logger in sokol_log.h instead, otherwise you won't see any warnings or errors. MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... sspine_setup(&(sspine_desc){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... If no overrides are provided, malloc and free will be used. This only affects memory allocation calls done by sokol_gfx.h itself though, not any allocations in OS libraries. LICENSE ======= zlib/libpng license Copyright (c) 2022 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_SPINE_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> // size_t #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_spine.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_SPINE_API_DECL) #define SOKOL_SPINE_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_SPINE_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_SPINE_IMPL) #define SOKOL_SPINE_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_SPINE_API_DECL __declspec(dllimport) #else #define SOKOL_SPINE_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif enum { SSPINE_INVALID_ID = 0, SSPINE_MAX_SKINSET_SKINS = 32, SSPINE_MAX_STRING_SIZE = 61, // see sspine_string struct }; typedef struct sspine_context { uint32_t id; } sspine_context; typedef struct sspine_atlas { uint32_t id; } sspine_atlas; typedef struct sspine_skeleton { uint32_t id; } sspine_skeleton; typedef struct sspine_instance { uint32_t id; } sspine_instance; typedef struct sspine_skinset { uint32_t id; } sspine_skinset; typedef struct sspine_image { uint32_t atlas_id; int index; } sspine_image; typedef struct sspine_atlas_page { uint32_t atlas_id; int index; } sspine_atlas_page; typedef struct sspine_anim { uint32_t skeleton_id; int index; } sspine_anim; typedef struct sspine_bone { uint32_t skeleton_id; int index; } sspine_bone; typedef struct sspine_slot { uint32_t skeleton_id; int index; } sspine_slot; typedef struct sspine_event { uint32_t skeleton_id; int index; } sspine_event; typedef struct sspine_iktarget { uint32_t skeleton_id; int index; } sspine_iktarget; typedef struct sspine_skin { uint32_t skeleton_id; int index; } sspine_skin; typedef struct sspine_range { const void* ptr; size_t size; } sspine_range; typedef struct sspine_vec2 { float x, y; } sspine_vec2; typedef struct sspine_mat4 { float m[16]; } sspine_mat4; typedef sg_color sspine_color; typedef struct sspine_string { bool valid; bool truncated; uint8_t len; char cstr[SSPINE_MAX_STRING_SIZE]; } sspine_string; typedef enum sspine_resource_state { SSPINE_RESOURCESTATE_INITIAL, SSPINE_RESOURCESTATE_ALLOC, SSPINE_RESOURCESTATE_VALID, SSPINE_RESOURCESTATE_FAILED, SSPINE_RESOURCESTATE_INVALID, _SSPINE_RESOURCESTATE_FORCE_U32 = 0x7FFFFFFF } sspine_resource_state; // log item codes via x-macro magic #define _SSPINE_LOG_ITEMS \ _SSPINE_LOGITEM_XMACRO(OK, "Ok")\ _SSPINE_LOGITEM_XMACRO(MALLOC_FAILED, "memory allocation failed")\ _SSPINE_LOGITEM_XMACRO(CONTEXT_POOL_EXHAUSTED, "context pool exhausted (adjust via sspine_desc.context_pool_size)")\ _SSPINE_LOGITEM_XMACRO(ATLAS_POOL_EXHAUSTED, "atlas pool exhausted (adjust via sspine_desc.atlas_pool_size)")\ _SSPINE_LOGITEM_XMACRO(SKELETON_POOL_EXHAUSTED, "skeleton pool exhausted (adjust via sspine_desc.skeleton_pool_size)")\ _SSPINE_LOGITEM_XMACRO(SKINSET_POOL_EXHAUSTED, "skinset pool exhausted (adjust via sspine_desc.skinset_pool_size)")\ _SSPINE_LOGITEM_XMACRO(INSTANCE_POOL_EXHAUSTED, "instance pool exhausted (adjust via sspine_desc.instance_pool_size)")\ _SSPINE_LOGITEM_XMACRO(CANNOT_DESTROY_DEFAULT_CONTEXT, "cannot destroy default context")\ _SSPINE_LOGITEM_XMACRO(ATLAS_DESC_NO_DATA, "no data provided in sspine_atlas_desc.data")\ _SSPINE_LOGITEM_XMACRO(SPINE_ATLAS_CREATION_FAILED, "spAtlas_create() failed")\ _SSPINE_LOGITEM_XMACRO(SG_ALLOC_IMAGE_FAILED, "sg_alloc_image() failed")\ _SSPINE_LOGITEM_XMACRO(SG_ALLOC_SAMPLER_FAILED, "sg_alloc_sampler() failed")\ _SSPINE_LOGITEM_XMACRO(SKELETON_DESC_NO_DATA, "no data provided in sspine_skeleton_desc.json_data or .binary_data")\ _SSPINE_LOGITEM_XMACRO(SKELETON_DESC_NO_ATLAS, "no atlas object provided in sspine_skeleton_desc.atlas")\ _SSPINE_LOGITEM_XMACRO(SKELETON_ATLAS_NOT_VALID, "sspine_skeleton_desc.atlas is not in valid state")\ _SSPINE_LOGITEM_XMACRO(CREATE_SKELETON_DATA_FROM_JSON_FAILED, "spSkeletonJson_readSkeletonData() failed")\ _SSPINE_LOGITEM_XMACRO(CREATE_SKELETON_DATA_FROM_BINARY_FAILED, "spSkeletonBinary_readSkeletonData() failed")\ _SSPINE_LOGITEM_XMACRO(SKINSET_DESC_NO_SKELETON, "no skeleton object provided in sspine_skinset_desc.skeleton")\ _SSPINE_LOGITEM_XMACRO(SKINSET_SKELETON_NOT_VALID, "sspine_skinset_desc.skeleton is not in valid state")\ _SSPINE_LOGITEM_XMACRO(SKINSET_INVALID_SKIN_HANDLE, "invalid skin handle in sspine_skinset_desc.skins[]")\ _SSPINE_LOGITEM_XMACRO(INSTANCE_DESC_NO_SKELETON, "no skeleton object provided in sspine_instance_desc.skeleton")\ _SSPINE_LOGITEM_XMACRO(INSTANCE_SKELETON_NOT_VALID, "sspine_instance_desc.skeleton is not in valid state")\ _SSPINE_LOGITEM_XMACRO(INSTANCE_ATLAS_NOT_VALID, "skeleton's atlas object no longer valid via sspine_instance_desc.skeleton")\ _SSPINE_LOGITEM_XMACRO(SPINE_SKELETON_CREATION_FAILED, "spSkeleton_create() failed")\ _SSPINE_LOGITEM_XMACRO(SPINE_ANIMATIONSTATE_CREATION_FAILED, "spAnimationState_create() failed")\ _SSPINE_LOGITEM_XMACRO(SPINE_SKELETONCLIPPING_CREATION_FAILED, "spSkeletonClipping_create() failed")\ _SSPINE_LOGITEM_XMACRO(COMMAND_BUFFER_FULL, "command buffer full (adjust via sspine_desc.max_commands)")\ _SSPINE_LOGITEM_XMACRO(VERTEX_BUFFER_FULL, "vertex buffer (adjust via sspine_desc.max_vertices)")\ _SSPINE_LOGITEM_XMACRO(INDEX_BUFFER_FULL, "index buffer full (adjust via sspine_desc.max_vertices)")\ _SSPINE_LOGITEM_XMACRO(STRING_TRUNCATED, "a string has been truncated")\ _SSPINE_LOGITEM_XMACRO(ADD_COMMIT_LISTENER_FAILED, "sg_add_commit_listener() failed")\ #define _SSPINE_LOGITEM_XMACRO(item,msg) SSPINE_LOGITEM_##item, typedef enum sspine_log_item { _SSPINE_LOG_ITEMS } sspine_log_item; #undef _SSPINE_LOGITEM_XMACRO typedef struct sspine_layer_transform { sspine_vec2 size; sspine_vec2 origin; } sspine_layer_transform; typedef struct sspine_bone_transform { sspine_vec2 position; float rotation; // in degrees sspine_vec2 scale; sspine_vec2 shear; // in degrees } sspine_bone_transform; typedef struct sspine_context_desc { int max_vertices; int max_commands; sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; sg_color_mask color_write_mask; } sspine_context_desc; typedef struct sspine_context_info { int num_vertices; // current number of vertices int num_indices; // current number of indices int num_commands; // current number of commands } sspine_context_info; typedef struct sspine_image_info { bool valid; sg_image sgimage; sg_sampler sgsampler; sg_filter min_filter; sg_filter mag_filter; sg_filter mipmap_filter; sg_wrap wrap_u; sg_wrap wrap_v; int width; int height; bool premul_alpha; sspine_string filename; } sspine_image_info; typedef struct sspine_atlas_overrides { sg_filter min_filter; sg_filter mag_filter; sg_filter mipmap_filter; sg_wrap wrap_u; sg_wrap wrap_v; bool premul_alpha_enabled; bool premul_alpha_disabled; } sspine_atlas_overrides; typedef struct sspine_atlas_desc { sspine_range data; sspine_atlas_overrides override; } sspine_atlas_desc; typedef struct sspine_atlas_page_info { bool valid; sspine_atlas atlas; sspine_image_info image; sspine_atlas_overrides overrides; } sspine_atlas_page_info; typedef struct sspine_skeleton_desc { sspine_atlas atlas; float prescale; float anim_default_mix; const char* json_data; sspine_range binary_data; } sspine_skeleton_desc; typedef struct sspine_skinset_desc { sspine_skeleton skeleton; sspine_skin skins[SSPINE_MAX_SKINSET_SKINS]; } sspine_skinset_desc; typedef struct sspine_anim_info { bool valid; int index; float duration; sspine_string name; } sspine_anim_info; typedef struct sspine_bone_info { bool valid; int index; sspine_bone parent_bone; float length; sspine_bone_transform pose; sspine_color color; sspine_string name; } sspine_bone_info; typedef struct sspine_slot_info { bool valid; int index; sspine_bone bone; sspine_color color; sspine_string attachment_name; sspine_string name; } sspine_slot_info; typedef struct sspine_iktarget_info { bool valid; int index; sspine_bone target_bone; sspine_string name; } sspine_iktarget_info; typedef struct sspine_skin_info { bool valid; int index; sspine_string name; } sspine_skin_info; typedef struct sspine_event_info { bool valid; int index; int int_value; float float_value; float volume; float balance; sspine_string name; sspine_string string_value; sspine_string audio_path; } sspine_event_info; typedef struct sspine_triggered_event_info { bool valid; sspine_event event; float time; int int_value; float float_value; float volume; float balance; sspine_string string_value; } sspine_triggered_event_info; typedef struct sspine_instance_desc { sspine_skeleton skeleton; } sspine_instance_desc; typedef struct sspine_allocator { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } sspine_allocator; typedef struct sspine_logger { void (*func)( const char* tag, // always "sspine" uint32_t log_level, // 0=panic, 1=error, 2=warning, 3=info uint32_t log_item_id, // SSPINE_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_spine.h const char* filename_or_null, // the source filename, may be nullptr in release mode void* user_data); void* user_data; } sspine_logger; typedef struct sspine_desc { int max_vertices; int max_commands; int context_pool_size; int atlas_pool_size; int skeleton_pool_size; int skinset_pool_size; int instance_pool_size; sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; sg_color_mask color_write_mask; sspine_allocator allocator; // optional allocation override functions (default: malloc/free) sspine_logger logger; // optional logging function (default: NO LOGGING!) } sspine_desc; // setup/shutdown SOKOL_SPINE_API_DECL void sspine_setup(const sspine_desc* desc); SOKOL_SPINE_API_DECL void sspine_shutdown(void); // context functions SOKOL_SPINE_API_DECL sspine_context sspine_make_context(const sspine_context_desc* desc); SOKOL_SPINE_API_DECL void sspine_destroy_context(sspine_context ctx); SOKOL_SPINE_API_DECL void sspine_set_context(sspine_context ctx); SOKOL_SPINE_API_DECL sspine_context sspine_get_context(void); SOKOL_SPINE_API_DECL sspine_context sspine_default_context(void); SOKOL_SPINE_API_DECL sspine_context_info sspine_get_context_info(sspine_context ctx); // create and destroy spine objects SOKOL_SPINE_API_DECL sspine_atlas sspine_make_atlas(const sspine_atlas_desc* desc); SOKOL_SPINE_API_DECL sspine_skeleton sspine_make_skeleton(const sspine_skeleton_desc* desc); SOKOL_SPINE_API_DECL sspine_skinset sspine_make_skinset(const sspine_skinset_desc* desc); SOKOL_SPINE_API_DECL sspine_instance sspine_make_instance(const sspine_instance_desc* desc); SOKOL_SPINE_API_DECL void sspine_destroy_atlas(sspine_atlas atlas); SOKOL_SPINE_API_DECL void sspine_destroy_skeleton(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL void sspine_destroy_skinset(sspine_skinset skinset); SOKOL_SPINE_API_DECL void sspine_destroy_instance(sspine_instance instance); // configure instance appearance via skinsets SOKOL_SPINE_API_DECL void sspine_set_skinset(sspine_instance instance, sspine_skinset skinset); // update instance animations before drawing SOKOL_SPINE_API_DECL void sspine_update_instance(sspine_instance instance, float delta_time); // iterate over triggered events after updating an instance SOKOL_SPINE_API_DECL int sspine_num_triggered_events(sspine_instance instance); SOKOL_SPINE_API_DECL sspine_triggered_event_info sspine_get_triggered_event_info(sspine_instance instance, int triggered_event_index); // draw instance into current or explicit context SOKOL_SPINE_API_DECL void sspine_draw_instance_in_layer(sspine_instance instance, int layer); SOKOL_SPINE_API_DECL void sspine_context_draw_instance_in_layer(sspine_context ctx, sspine_instance instance, int layer); // helper function to convert sspine_layer_transform into projection matrix SOKOL_SPINE_API_DECL sspine_mat4 sspine_layer_transform_to_mat4(const sspine_layer_transform* tform); // draw a layer in current context or explicit context (call once per context and frame in sokol-gfx pass) SOKOL_SPINE_API_DECL void sspine_draw_layer(int layer, const sspine_layer_transform* tform); SOKOL_SPINE_API_DECL void sspine_context_draw_layer(sspine_context ctx, int layer, const sspine_layer_transform* tform); // get current resource state (INITIAL, ALLOC, VALID, FAILED, INVALID) SOKOL_SPINE_API_DECL sspine_resource_state sspine_get_context_resource_state(sspine_context context); SOKOL_SPINE_API_DECL sspine_resource_state sspine_get_atlas_resource_state(sspine_atlas atlas); SOKOL_SPINE_API_DECL sspine_resource_state sspine_get_skeleton_resource_state(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_resource_state sspine_get_skinset_resource_state(sspine_skinset skinset); SOKOL_SPINE_API_DECL sspine_resource_state sspine_get_instance_resource_state(sspine_instance instance); // shortcut for sspine_get_*_state() == SSPINE_RESOURCESTATE_VALID SOKOL_SPINE_API_DECL bool sspine_context_valid(sspine_context context); SOKOL_SPINE_API_DECL bool sspine_atlas_valid(sspine_atlas atlas); SOKOL_SPINE_API_DECL bool sspine_skeleton_valid(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL bool sspine_instance_valid(sspine_instance instance); SOKOL_SPINE_API_DECL bool sspine_skinset_valid(sspine_skinset skinset); // get dependency objects SOKOL_SPINE_API_DECL sspine_atlas sspine_get_skeleton_atlas(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_skeleton sspine_get_instance_skeleton(sspine_instance instance); // atlas images SOKOL_SPINE_API_DECL int sspine_num_images(sspine_atlas atlas); SOKOL_SPINE_API_DECL sspine_image sspine_image_by_index(sspine_atlas atlas, int index); SOKOL_SPINE_API_DECL bool sspine_image_valid(sspine_image image); SOKOL_SPINE_API_DECL bool sspine_image_equal(sspine_image first, sspine_image second); SOKOL_SPINE_API_DECL sspine_image_info sspine_get_image_info(sspine_image image); // atlas page functions SOKOL_SPINE_API_DECL int sspine_num_atlas_pages(sspine_atlas atlas); SOKOL_SPINE_API_DECL sspine_atlas_page sspine_atlas_page_by_index(sspine_atlas atlas, int index); SOKOL_SPINE_API_DECL bool sspine_atlas_page_valid(sspine_atlas_page page); SOKOL_SPINE_API_DECL bool sspine_atlas_page_equal(sspine_atlas_page first, sspine_atlas_page second); SOKOL_SPINE_API_DECL sspine_atlas_page_info sspine_get_atlas_page_info(sspine_atlas_page page); // instance transform functions SOKOL_SPINE_API_DECL void sspine_set_position(sspine_instance instance, sspine_vec2 position); SOKOL_SPINE_API_DECL void sspine_set_scale(sspine_instance instance, sspine_vec2 scale); SOKOL_SPINE_API_DECL void sspine_set_color(sspine_instance instance, sspine_color color); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_position(sspine_instance instance); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_scale(sspine_instance instance); SOKOL_SPINE_API_DECL sspine_color sspine_get_color(sspine_instance instance); // instance animation functions SOKOL_SPINE_API_DECL int sspine_num_anims(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_anim sspine_anim_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_anim sspine_anim_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_anim_valid(sspine_anim anim); SOKOL_SPINE_API_DECL bool sspine_anim_equal(sspine_anim first, sspine_anim second); SOKOL_SPINE_API_DECL sspine_anim_info sspine_get_anim_info(sspine_anim anim); SOKOL_SPINE_API_DECL void sspine_clear_animation_tracks(sspine_instance instance); SOKOL_SPINE_API_DECL void sspine_clear_animation_track(sspine_instance instance, int track_index); SOKOL_SPINE_API_DECL void sspine_set_animation(sspine_instance instance, sspine_anim anim, int track_index, bool loop); SOKOL_SPINE_API_DECL void sspine_add_animation(sspine_instance instance, sspine_anim anim, int track_index, bool loop, float delay); SOKOL_SPINE_API_DECL void sspine_set_empty_animation(sspine_instance instance, int track_index, float mix_duration); SOKOL_SPINE_API_DECL void sspine_add_empty_animation(sspine_instance instance, int track_index, float mix_duration, float delay); // bone functions SOKOL_SPINE_API_DECL int sspine_num_bones(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_bone sspine_bone_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_bone sspine_bone_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_bone_valid(sspine_bone bone); SOKOL_SPINE_API_DECL bool sspine_bone_equal(sspine_bone first, sspine_bone second); SOKOL_SPINE_API_DECL sspine_bone_info sspine_get_bone_info(sspine_bone bone); SOKOL_SPINE_API_DECL void sspine_set_bone_transform(sspine_instance instance, sspine_bone bone, const sspine_bone_transform* transform); SOKOL_SPINE_API_DECL void sspine_set_bone_position(sspine_instance instance, sspine_bone bone, sspine_vec2 position); SOKOL_SPINE_API_DECL void sspine_set_bone_rotation(sspine_instance instance, sspine_bone bone, float rotation); SOKOL_SPINE_API_DECL void sspine_set_bone_scale(sspine_instance instance, sspine_bone bone, sspine_vec2 scale); SOKOL_SPINE_API_DECL void sspine_set_bone_shear(sspine_instance instance, sspine_bone bone, sspine_vec2 shear); SOKOL_SPINE_API_DECL sspine_bone_transform sspine_get_bone_transform(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_bone_position(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL float sspine_get_bone_rotation(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_bone_scale(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_bone_shear(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL sspine_vec2 sspine_get_bone_world_position(sspine_instance instance, sspine_bone bone); SOKOL_SPINE_API_DECL sspine_vec2 sspine_bone_local_to_world(sspine_instance instance, sspine_bone bone, sspine_vec2 local_pos); SOKOL_SPINE_API_DECL sspine_vec2 sspine_bone_world_to_local(sspine_instance instance, sspine_bone bone, sspine_vec2 world_pos); // slot functions SOKOL_SPINE_API_DECL int sspine_num_slots(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_slot sspine_slot_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_slot sspine_slot_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_slot_valid(sspine_slot slot); SOKOL_SPINE_API_DECL bool sspine_slot_equal(sspine_slot first, sspine_slot second); SOKOL_SPINE_API_DECL sspine_slot_info sspine_get_slot_info(sspine_slot slot); SOKOL_SPINE_API_DECL void sspine_set_slot_color(sspine_instance instance, sspine_slot slot, sspine_color color); SOKOL_SPINE_API_DECL sspine_color sspine_get_slot_color(sspine_instance instance, sspine_slot slot); // event functions SOKOL_SPINE_API_DECL int sspine_num_events(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_event sspine_event_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_event sspine_event_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_event_valid(sspine_event event); SOKOL_SPINE_API_DECL bool sspine_event_equal(sspine_event first, sspine_event second); SOKOL_SPINE_API_DECL sspine_event_info sspine_get_event_info(sspine_event event); // ik target functions SOKOL_SPINE_API_DECL int sspine_num_iktargets(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_iktarget sspine_iktarget_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_iktarget sspine_iktarget_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_iktarget_valid(sspine_iktarget iktarget); SOKOL_SPINE_API_DECL bool sspine_iktarget_equal(sspine_iktarget first, sspine_iktarget second); SOKOL_SPINE_API_DECL sspine_iktarget_info sspine_get_iktarget_info(sspine_iktarget iktarget); SOKOL_SPINE_API_DECL void sspine_set_iktarget_world_pos(sspine_instance instance, sspine_iktarget iktarget, sspine_vec2 world_pos); // skin functions SOKOL_SPINE_API_DECL int sspine_num_skins(sspine_skeleton skeleton); SOKOL_SPINE_API_DECL sspine_skin sspine_skin_by_name(sspine_skeleton skeleton, const char* name); SOKOL_SPINE_API_DECL sspine_skin sspine_skin_by_index(sspine_skeleton skeleton, int index); SOKOL_SPINE_API_DECL bool sspine_skin_valid(sspine_skin skin); SOKOL_SPINE_API_DECL bool sspine_skin_equal(sspine_skin first, sspine_skin second); SOKOL_SPINE_API_DECL sspine_skin_info sspine_get_skin_info(sspine_skin skin); SOKOL_SPINE_API_DECL void sspine_set_skin(sspine_instance instance, sspine_skin skin); #ifdef __cplusplus } // extern "C" #endif // ██ ███ ███ ██████ ██ ███████ ███ ███ ███████ ███ ██ ████████ █████ ████████ ██ ██████ ███ ██ // ██ ████ ████ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ // ██ ██ ████ ██ ██████ ██ █████ ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ███████ ███████ ██ ██ ███████ ██ ████ ██ ██ ██ ██ ██ ██████ ██ ████ // // >>implementation #ifdef SOKOL_SPINE_IMPL #define SOKOL_SPINE_IMPL_INCLUDED (1) #if !defined(SPINE_SPINE_H_) #error "Please include spine/spine.h before the sokol_spine.h implementation" #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG (1) #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef SOKOL_UNREACHABLE #define SOKOL_UNREACHABLE SOKOL_ASSERT(false) #endif #ifndef SOKOL_UNUSED #define SOKOL_UNUSED(x) (void)(x) #endif #include <stdlib.h> // malloc/free #include <string.h> // memset, strcmp // ███████╗██╗ ██╗ █████╗ ██████╗ ███████╗██████╗ ███████╗ // ██╔════╝██║ ██║██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔════╝ // ███████╗███████║███████║██║ ██║█████╗ ██████╔╝███████╗ // ╚════██║██╔══██║██╔══██║██║ ██║██╔══╝ ██╔══██╗╚════██║ // ███████║██║ ██║██║ ██║██████╔╝███████╗██║ ██║███████║ // ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═╝╚══════╝ // // >>shaders /* Embedded source compiled with: sokol-shdc -i sspine.glsl -o sspine.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgsl -b @vs vs uniform vs_params { mat4 mvp; }; in vec2 position; in vec2 texcoord0; in vec4 color0; out vec2 uv; out vec4 color; void main() { gl_Position = mvp * vec4(position, 0.0, 1.0); uv = texcoord0; color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; uniform fs_params { float pma; }; in vec2 uv; in vec4 color; out vec4 frag_color; void main() { vec4 c0 = texture(sampler2D(tex, smp), uv) * color; vec4 c1 = vec4(c0.rgb * c0.a, c0.a) * color; frag_color = mix(c0, c1, pma); } @end @program sspine vs fs */ #if defined(SOKOL_GLCORE) static const uint8_t _sspine_vs_source_glsl410[394] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e, 0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76, 0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74, 0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72, 0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x5b,0x31,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b, 0x32,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x33,0x5d, 0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sspine_fs_source_glsl410[350] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d, 0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73, 0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x32,0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63, 0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65, 0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x32,0x38,0x20, 0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x6d, 0x70,0x2c,0x20,0x75,0x76,0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x33,0x37,0x20,0x3d,0x20, 0x5f,0x32,0x38,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x32,0x38,0x2c, 0x20,0x76,0x65,0x63,0x34,0x28,0x5f,0x32,0x38,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20, 0x5f,0x33,0x37,0x2c,0x20,0x5f,0x33,0x37,0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x66,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x5b,0x30,0x5d,0x2e,0x78,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _sspine_vs_source_glsl300es[355] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f, 0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29, 0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20, 0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f, 0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x6d,0x61, 0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2c, 0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x2c,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x32,0x5d,0x2c,0x20,0x76,0x73,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x33,0x5d,0x29,0x20,0x2a,0x20,0x76,0x65,0x63, 0x34,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x30,0x2e,0x30,0x2c, 0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d, 0x0a,0x0a,0x00, }; static const uint8_t _sspine_fs_source_glsl300es[399] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63, 0x34,0x20,0x66,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a, 0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61, 0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b, 0x0a,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x32,0x20, 0x75,0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75, 0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61, 0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x68,0x69,0x67,0x68, 0x70,0x20,0x76,0x65,0x63,0x34,0x20,0x5f,0x32,0x38,0x20,0x3d,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76, 0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x68, 0x69,0x67,0x68,0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x5f,0x33,0x37,0x20,0x3d, 0x20,0x5f,0x32,0x38,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x32,0x38, 0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x5f,0x32,0x38,0x2e,0x78,0x79,0x7a,0x20,0x2a, 0x20,0x5f,0x33,0x37,0x2c,0x20,0x5f,0x33,0x37,0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x2c,0x20,0x76,0x65,0x63,0x34,0x28,0x66,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x5b,0x30,0x5d,0x2e,0x78,0x29,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _sspine_vs_bytecode_hlsl4[844] = { 0x44,0x58,0x42,0x43,0x2a,0xc9,0x57,0x52,0x4b,0x3d,0x3e,0x89,0x00,0xf4,0xfa,0x41, 0xfd,0xd7,0x63,0xc3,0x01,0x00,0x00,0x00,0x4c,0x03,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xf4,0x00,0x00,0x00,0x58,0x01,0x00,0x00,0xc8,0x01,0x00,0x00, 0xd0,0x02,0x00,0x00,0x52,0x44,0x45,0x46,0xb8,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0x90,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x00,0xab,0xab,0x3c,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x80,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x5f,0x31,0x39,0x5f,0x6d,0x76,0x70,0x00,0x02,0x00,0x03,0x00, 0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x4d,0x69,0x63,0x72, 0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53, 0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31, 0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43, 0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x0c,0x00,0x00, 0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x00,0xab,0xab,0xab,0x53,0x48,0x44,0x52,0x00,0x01,0x00,0x00, 0x40,0x00,0x01,0x00,0x40,0x00,0x00,0x00,0x59,0x00,0x00,0x04,0x46,0x8e,0x20,0x00, 0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00,0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00, 0x01,0x00,0x00,0x00,0x67,0x00,0x00,0x04,0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05, 0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00,0x01,0x00,0x00,0x00, 0x36,0x00,0x00,0x05,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00, 0x02,0x00,0x00,0x00,0x38,0x00,0x00,0x08,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x56,0x15,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x06,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08, 0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x3e,0x00,0x00,0x01, 0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sspine_fs_bytecode_hlsl4[868] = { 0x44,0x58,0x42,0x43,0xfb,0x9d,0xdb,0x19,0x85,0xbc,0x50,0x5d,0x6b,0x03,0xd4,0xc8, 0x1b,0xea,0x59,0xf5,0x01,0x00,0x00,0x00,0x64,0x03,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0x3c,0x01,0x00,0x00,0x88,0x01,0x00,0x00,0xbc,0x01,0x00,0x00, 0xe8,0x02,0x00,0x00,0x52,0x44,0x45,0x46,0x00,0x01,0x00,0x00,0x01,0x00,0x00,0x00, 0x90,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0xd8,0x00,0x00,0x00,0x7c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x84,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x66,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x00,0xab,0xab,0x84,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0xa8,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x35,0x33,0x5f, 0x70,0x6d,0x61,0x00,0x00,0x00,0x03,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52, 0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e, 0x44,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43, 0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x53,0x56,0x5f,0x54,0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52, 0x24,0x01,0x00,0x00,0x40,0x00,0x00,0x00,0x49,0x00,0x00,0x00,0x59,0x00,0x00,0x04, 0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x5a,0x00,0x00,0x03, 0x00,0x60,0x10,0x00,0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00, 0x00,0x00,0x00,0x00,0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00, 0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02, 0x02,0x00,0x00,0x00,0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x7e,0x10,0x00,0x00,0x00,0x00,0x00, 0x00,0x60,0x10,0x00,0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0xf2,0x00,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00, 0x01,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0x72,0x00,0x10,0x00,0x01,0x00,0x00,0x00, 0xf6,0x0f,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x02,0x10,0x00,0x00,0x00,0x00,0x00, 0x36,0x00,0x00,0x05,0x82,0x00,0x10,0x00,0x01,0x00,0x00,0x00,0x3a,0x00,0x10,0x00, 0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x01,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x01,0x00,0x00,0x00, 0x46,0x0e,0x10,0x80,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x0a, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x06,0x80,0x20,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x0e,0x10,0x00, 0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00, 0x07,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _sspine_vs_bytecode_metal_macos[3084] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x0c,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x1d,0x26,0xf7,0xce,0x5d,0x78,0x21, 0x2f,0xa7,0x97,0xe1,0xbd,0x15,0x30,0xfb,0xa6,0x98,0xcc,0x1d,0xba,0x1d,0x0d,0x92, 0xaa,0x4e,0x3d,0x75,0xee,0x73,0x36,0x7c,0x99,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xe0,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xb5,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x14,0x45,0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x81,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x18,0x02,0x01,0x2c,0x40,0x05,0x00,0x49,0x18,0x00,0x00, 0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00,0x1f,0x00,0x00,0x00, 0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3, 0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x44,0x33,0x00, 0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x42,0x24,0x81,0x98,0x89,0x9a,0x07, 0x7a,0x90,0x87,0x7a,0x18,0x07,0x7a,0x70,0x83,0x76,0x28,0x07,0x7a,0x08,0x07,0x76, 0xd0,0x03,0x3d,0x68,0x87,0x70,0xa0,0x07,0x79,0x48,0x07,0x7c,0x40,0x01,0x39,0x48, 0x9a,0x22,0x4a,0x98,0xfc,0x4a,0xfa,0x1f,0x20,0x02,0x18,0x09,0x05,0x65,0x10,0xc1, 0x10,0x4a,0x31,0x42,0x10,0x87,0xd0,0x40,0xc0,0x1c,0x01,0x18,0xa4,0xc0,0x9a,0x23, 0x00,0x85,0x41,0x04,0x41,0x18,0x46,0x20,0x96,0x11,0x00,0x00,0x13,0xb2,0x70,0x48, 0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83, 0x76,0x08,0x87,0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38, 0x70,0x03,0x38,0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0, 0x07,0x78,0xd0,0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e, 0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73, 0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40, 0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10, 0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07, 0x76,0x40,0x07,0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a, 0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20, 0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07, 0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72, 0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0, 0x06,0xf6,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07, 0x71,0x20,0x07,0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70, 0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0, 0x07,0x71,0x60,0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00,0x00, 0x00,0x00,0x00,0xc8,0x02,0x01,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x1e,0x98,0x10, 0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50, 0x04,0x05,0x18,0x50,0x08,0x05,0x51,0x06,0x05,0x42,0x6d,0x04,0x80,0xd8,0x58,0x42, 0x13,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0xeb,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10, 0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32,0x28, 0x00,0xa3,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c, 0x81,0x22,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c, 0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5, 0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06, 0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25,0x58, 0x8c,0x45,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82,0x45, 0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6, 0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50,0x12, 0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73, 0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x65, 0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9, 0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d, 0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c,0x8b, 0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9, 0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72, 0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2, 0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51, 0xa8,0xb3,0x1b,0xc2,0x28,0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9,0x9b, 0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6,0xf6,0x16,0x46,0x47, 0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08,0xa3,0x3c,0x8a,0xa5,0x44,0xca,0xa5,0x4c, 0x0a,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x8d,0xcb, 0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10,0x45,0xd1,0x94,0x48, 0xb9,0x94,0x49,0xd9,0x86,0x18,0x4a,0xa5,0x64,0x0a,0x47,0x28,0x2c,0x4d,0xce,0xc5, 0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x52,0x58,0x9a,0x9c, 0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b,0x59,0x19,0x1e,0xbd, 0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32,0x32,0x94,0xaf,0xaf,0xb0,0x34,0xb9,0x2f, 0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf,0xaf,0x14,0x22,0x70, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43,0xa8,0x45,0x50,0x3c,0xe5,0x5b,0x84,0x25, 0x50,0xc0,0x40,0x89,0x14,0x49,0x99,0x94,0x30,0x60,0x42,0x57,0x86,0x37,0xf6,0xf6, 0x26,0x47,0x06,0x33,0x84,0x5a,0x02,0xc5,0x53,0xbe,0x25,0x58,0x02,0x05,0x0c,0x94, 0x48,0x91,0x94,0x49,0x19,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x65, 0x50,0x3c,0xe5,0x5b,0x86,0x25,0x50,0xc0,0x40,0x89,0x94,0x4b,0x99,0x94,0x32,0xa0, 0x12,0x96,0x26,0xe7,0x22,0x56,0x67,0x66,0x56,0x26,0xc7,0x27,0x2c,0x4d,0xce,0x45, 0xac,0xce,0xcc,0xac,0x4c,0xee,0x6b,0x2e,0x4d,0xaf,0x8c,0x48,0x58,0x9a,0x9c,0x8b, 0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39,0x97,0x39,0x3a,0xb9,0xba,0x31,0xba,0x2f, 0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3,0x37,0x22,0x66,0x6c,0x6f,0x61,0x74,0x34, 0x78,0x34,0x1c,0xda,0xec,0xe0,0x86,0x28,0x8b,0xb0,0x10,0x8b,0xa0,0xac,0x81,0xc2, 0x06,0x8c,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xe8,0xf2,0xe0,0xca,0xbe,0xe6, 0xd2,0xf4,0xca,0x78,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5,0xc1,0x95, 0x7d,0x85,0xb1,0xa5,0x9d,0xb9,0x7d,0xcd,0xa5,0xe9,0x95,0x31,0xb1,0x9b,0xfb,0x82, 0x0b,0x93,0x0b,0x6b,0x9b,0xe3,0xf0,0x15,0x93,0x33,0x84,0x0c,0x96,0x43,0x39,0x03, 0x05,0x0d,0x16,0x42,0xf9,0x16,0x61,0x09,0x94,0x34,0x50,0xd4,0x40,0x69,0x03,0xc5, 0x0d,0x16,0x42,0x79,0x83,0x05,0x51,0x22,0x05,0x0e,0x94,0x49,0x89,0x83,0x21,0x88, 0x22,0x06,0x0a,0x19,0x28,0x66,0xa0,0xc8,0xc1,0x10,0x23,0x01,0x94,0x4e,0x99,0x03, 0x3e,0x6f,0x6d,0x6e,0x69,0x70,0x6f,0x74,0x65,0x6e,0x74,0x20,0x63,0x68,0x61,0x72, 0x7c,0xa6,0xd2,0xda,0xe0,0xd8,0xca,0x40,0x86,0x56,0x56,0x40,0xa8,0x84,0x82,0x82, 0x86,0x08,0x8a,0x1d,0x0c,0x31,0x94,0x3a,0x50,0xee,0xa0,0x49,0x86,0x18,0x0a,0x1e, 0x28,0x78,0xd0,0x24,0x23,0x22,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x77, 0x20,0x87,0x7a,0x60,0x87,0x72,0x70,0x03,0x73,0x60,0x87,0x70,0x38,0x87,0x79,0x98, 0x22,0x04,0xc3,0x08,0x85,0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xd2,0x81,0x1c,0xca, 0xc1,0x1d,0xe8,0x61,0x4a,0x50,0x8c,0x58,0xc2,0x21,0x1d,0xe4,0xc1,0x0d,0xec,0xa1, 0x1c,0xe4,0x61,0x1e,0xd2,0xe1,0x1d,0xdc,0x61,0x4a,0x60,0x8c,0xa0,0xc2,0x21,0x1d, 0xe4,0xc1,0x0d,0xd8,0x21,0x1c,0xdc,0xe1,0x1c,0xea,0x21,0x1c,0xce,0xa1,0x1c,0x7e, 0xc1,0x1e,0xca,0x41,0x1e,0xe6,0x21,0x1d,0xde,0xc1,0x1d,0xa6,0x04,0xc8,0x88,0x29, 0x1c,0xd2,0x41,0x1e,0xdc,0x60,0x1c,0xde,0xa1,0x1d,0xe0,0x21,0x1d,0xd8,0xa1,0x1c, 0x7e,0xe1,0x1d,0xe0,0x81,0x1e,0xd2,0xe1,0x1d,0xdc,0x61,0x1e,0xa6,0x0c,0x0a,0xe3, 0x8c,0x50,0xc2,0x21,0x1d,0xe4,0xc1,0x0d,0xec,0xa1,0x1c,0xe4,0x81,0x1e,0xca,0x01, 0x1f,0xa6,0x04,0x74,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00, 0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3, 0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10, 0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30, 0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03, 0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07, 0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e, 0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d, 0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b, 0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76, 0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90, 0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87, 0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e, 0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c, 0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca, 0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8, 0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82, 0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83, 0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f, 0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec, 0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc, 0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0, 0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60, 0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e, 0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1, 0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43, 0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c, 0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72, 0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1, 0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38, 0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8, 0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00, 0x02,0x00,0x00,0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00, 0x1e,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x05,0x00,0x00,0x00, 0xf4,0xc6,0x22,0x82,0x20,0x08,0x46,0x00,0xa8,0x95,0x40,0x19,0xd0,0x98,0x01,0xa0, 0x30,0x03,0x00,0x00,0xe3,0x15,0x07,0x33,0x4d,0x0c,0x05,0x65,0x90,0x81,0x19,0x0e, 0x13,0x02,0xf9,0x8c,0x57,0x2c,0xd0,0x75,0x21,0x14,0x94,0x41,0x06,0xe8,0x60,0x4c, 0x08,0xe4,0x63,0x41,0x01,0x9f,0xf1,0x0a,0xa8,0xe2,0x38,0x86,0x82,0x62,0x43,0x00, 0x9f,0xd9,0x06,0xa7,0x02,0x66,0x1b,0x82,0x2a,0x98,0x6d,0x08,0x06,0x21,0x83,0x80, 0x18,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x5b,0x86,0x20,0xc8,0x83,0x2d,0x43,0x11, 0xe4,0xc1,0x96,0x41,0x09,0xf2,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sspine_fs_bytecode_metal_macos[3257] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xb9,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0x47,0xc7,0x1e,0x49,0x53,0x1c,0xe5, 0x90,0x01,0xa5,0x57,0x9a,0x30,0x01,0x5c,0x39,0x85,0x9f,0xb2,0x71,0x51,0xe1,0x73, 0x0c,0xa4,0x4d,0xb1,0x81,0x33,0x8d,0x17,0x1e,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0xc4,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0xee,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x8e,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x60,0x10,0x05,0xb0,0x00,0xd5,0x06,0xa3,0xf8,0xff,0xff,0xff,0xff,0x01,0x90,0x00, 0x6a,0x03,0x62,0xfc,0xff,0xff,0xff,0xff,0x00,0x30,0x80,0x04,0x54,0x1b,0x8c,0x23, 0x00,0x16,0xa0,0xda,0x60,0x20,0x02,0xb0,0x00,0x15,0x00,0x00,0x00,0x49,0x18,0x00, 0x00,0x03,0x00,0x00,0x00,0x13,0x88,0x40,0x18,0x88,0x09,0x41,0x31,0x61,0x30,0x0e, 0x04,0x89,0x20,0x00,0x00,0x27,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85, 0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a, 0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x6c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c, 0x20,0x00,0x07,0x49,0x53,0x44,0x09,0x93,0x5f,0x48,0xff,0x03,0x44,0x00,0x23,0xa1, 0x00,0x0c,0x22,0x10,0xc2,0x51,0xd2,0x14,0x51,0xc2,0xe4,0xff,0x13,0x71,0x4d,0x54, 0x44,0xfc,0xf6,0xf0,0x4f,0x63,0x04,0xc0,0x20,0x82,0x11,0x5c,0x24,0x4d,0x11,0x25, 0x4c,0xfe,0x2f,0x01,0xcc,0xb3,0x10,0xd1,0x3f,0x8d,0x11,0x00,0x83,0x08,0x88,0x50, 0x0c,0x31,0x42,0x39,0x89,0x54,0x21,0x42,0x08,0x81,0xd8,0x1c,0x41,0x30,0x47,0x00, 0x06,0xc3,0x08,0xc2,0x53,0x90,0x70,0xd2,0x70,0xd0,0x01,0x8a,0x03,0x01,0x29,0xf0, 0x86,0x11,0x86,0x67,0x18,0x61,0x00,0x86,0x11,0x88,0x67,0x8e,0x00,0x14,0x06,0x11, 0x00,0x61,0x04,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83, 0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87,0x71,0x78,0x87,0x79, 0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38,0xd8,0x70,0x1b,0xe5, 0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x80,0x07, 0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07,0x7a,0x10,0x07,0x76, 0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0, 0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07, 0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07, 0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d, 0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60, 0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f, 0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x79, 0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60, 0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07, 0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a, 0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50, 0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50,0x07,0x71,0x20,0x07, 0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x6d,0x60,0x0f,0x71, 0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00, 0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60,0x07,0x7a,0x30,0x07, 0x72,0x30,0x84,0x59,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x18,0xc2,0x34,0x40, 0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x0c,0x61,0x24,0x20,0x00,0x06,0x00,0x00,0x00, 0x00,0x00,0xb2,0x40,0x00,0x09,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c, 0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x7a,0x23,0x00,0x25,0x50,0x08,0x45,0x50, 0x10,0x65,0x40,0x78,0x04,0x80,0xe8,0x58,0x42,0x13,0x00,0x00,0x00,0x79,0x18,0x00, 0x00,0xf9,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32, 0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x63,0x4c,0x00,0xa5,0x50,0xb9,0x1b,0x43,0x0b, 0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x3c,0xc4,0x24,0x3c,0x05,0xe7,0x20,0x08, 0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed, 0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c, 0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45, 0x26,0x65,0x88,0x30,0x11,0x43,0x8c,0x87,0x78,0x8e,0x67,0x60,0xd1,0x54,0x46,0x17, 0xc6,0x36,0x04,0x99,0x8e,0x87,0x78,0x88,0x67,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6, 0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96, 0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x98,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f, 0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x69,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c, 0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99, 0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95, 0x0d,0x11,0xa6,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17, 0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba, 0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64, 0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85, 0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0xa6,0xe7,0x19,0x26,0x68,0x8a,0x26, 0x69,0x9a,0x86,0x08,0x13,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad, 0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb, 0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39, 0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65, 0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28,0xd4,0xd9,0x0d,0x91,0x9e,0x61,0xb2,0xa6, 0x6b,0xc2,0xa6,0x6c,0x82,0x26,0x6d,0x92,0xa6,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a, 0xdb,0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1,0x37,0xb6,0x37,0xb9,0x21,0xd2,0x43,0x4c, 0xd6,0xd4,0x4d,0xd8,0x94,0x4d,0xd0,0x14,0x4d,0xd2,0xe4,0x51,0x09,0x4b,0x93,0x73, 0x11,0xab,0x33,0x33,0x2b,0x93,0xe3,0x13,0x96,0x26,0xe7,0x22,0x56,0x67,0x66,0x56, 0x26,0xf7,0x35,0x97,0xa6,0x57,0x46,0x29,0x2c,0x4d,0xce,0x85,0xed,0x6d,0x2c,0x8c, 0x2e,0xed,0xcd,0xed,0x2b,0xcd,0x8d,0xac,0x0c,0x8f,0x48,0x58,0x9a,0x9c,0x8b,0x5c, 0x59,0x18,0x19,0xa9,0xb0,0x34,0x39,0x97,0x39,0x3a,0xb9,0xba,0x31,0xba,0x2f,0xba, 0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3,0x37,0x16,0x66,0x6c,0x6f,0x61,0x74,0x1c,0xe0, 0xda,0xc2,0x86,0x28,0xcf,0xf0,0x14,0xcf,0x30,0x95,0xc1,0x64,0x06,0x8c,0xc2,0xd2, 0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xe8,0xf2,0xe0,0xca,0xbe,0xe6,0xd2,0xf4,0xca,0x78, 0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5,0xc1,0x95,0x7d,0x85,0xb1,0xa5, 0x9d,0xb9,0x7d,0xcd,0xa5,0xe9,0x95,0x31,0x31,0x9b,0xfb,0x82,0x0b,0x93,0x0b,0x6b, 0x9b,0xe3,0xf0,0x55,0x33,0x33,0x84,0x0c,0x1e,0x63,0x02,0x83,0x29,0x0c,0x9e,0x62, 0x12,0x83,0x67,0x78,0x88,0x69,0x0c,0x26,0x32,0x98,0xce,0x60,0x42,0x83,0xa7,0x98, 0xd2,0xe0,0x29,0x26,0x68,0x52,0x83,0x49,0x9a,0xd6,0x80,0x4b,0x58,0x9a,0x9c,0x0b, 0x5d,0x19,0x1e,0x5d,0x9d,0x5c,0x19,0x95,0xb0,0x34,0x39,0x97,0xb9,0xb0,0x36,0x38, 0xb6,0x32,0x62,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f, 0x61,0x74,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x3e,0x1c,0xe8,0xca,0xf0,0x86, 0x50,0x0f,0x32,0xb5,0xc1,0x24,0x06,0xcf,0xf0,0x10,0x93,0x1b,0x4c,0xd0,0xf4,0x06, 0x93,0x34,0xc1,0x01,0x97,0xb0,0x34,0x39,0x97,0xb9,0xb0,0x36,0x38,0xb6,0x32,0x39, 0x1e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x1c,0xe6,0xda,0xe0,0x86,0x48,0x4f,0x31, 0xc9,0xc1,0x24,0x06,0xcf,0xf0,0x10,0x13,0x34,0xcd,0xc1,0x24,0x4d,0x74,0x30,0x44, 0x99,0xb8,0xe9,0x9b,0xd8,0x60,0x8a,0x83,0xa9,0x0e,0x86,0x18,0x0b,0x30,0x55,0x93, 0x1d,0xd0,0xf9,0xd2,0xa2,0x9a,0xca,0x31,0x9b,0xfb,0x82,0x0b,0x93,0x0b,0x6b,0x9b, 0xe3,0xf3,0xd6,0xe6,0x96,0x06,0xf7,0x46,0x57,0xe6,0x46,0x07,0x32,0x86,0x16,0x26, 0xc7,0x67,0x2a,0xad,0x0d,0x8e,0xad,0x0c,0x64,0x68,0x65,0x05,0x84,0x4a,0x28,0x28, 0x68,0x88,0x30,0xe9,0xc1,0x10,0x63,0xca,0x83,0x69,0x0f,0xb0,0x64,0x88,0x31,0x95, 0xc1,0xc4,0x07,0x58,0x32,0xc4,0x98,0xf0,0x60,0xea,0x03,0x2c,0x19,0x62,0x4c,0x7e, 0x30,0xf5,0x01,0x96,0x8c,0x88,0xd8,0x81,0x1d,0xec,0xa1,0x1d,0xdc,0xa0,0x1d,0xde, 0x81,0x1c,0xea,0x81,0x1d,0xca,0xc1,0x0d,0xcc,0x81,0x1d,0xc2,0xe1,0x1c,0xe6,0x61, 0x8a,0x10,0x0c,0x23,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x48,0x07,0x72,0x28, 0x07,0x77,0xa0,0x87,0x29,0x41,0x31,0x62,0x09,0x87,0x74,0x90,0x07,0x37,0xb0,0x87, 0x72,0x90,0x87,0x79,0x48,0x87,0x77,0x70,0x87,0x29,0x81,0x31,0x82,0x0a,0x87,0x74, 0x90,0x07,0x37,0x60,0x87,0x70,0x70,0x87,0x73,0xa8,0x87,0x70,0x38,0x87,0x72,0xf8, 0x05,0x7b,0x28,0x07,0x79,0x98,0x87,0x74,0x78,0x07,0x77,0x98,0x12,0x20,0x23,0xa6, 0x70,0x48,0x07,0x79,0x70,0x83,0x71,0x78,0x87,0x76,0x80,0x87,0x74,0x60,0x87,0x72, 0xf8,0x85,0x77,0x80,0x07,0x7a,0x48,0x87,0x77,0x70,0x87,0x79,0x98,0x32,0x28,0x8c, 0x33,0x82,0x09,0x87,0x74,0x90,0x07,0x37,0x30,0x07,0x79,0x08,0x87,0x73,0x68,0x87, 0x72,0x70,0x07,0x7a,0x98,0x12,0xdc,0x01,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00, 0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84, 0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed, 0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66, 0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c, 0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70, 0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90, 0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4, 0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83, 0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14, 0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70, 0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80, 0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0, 0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1, 0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d, 0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39, 0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc, 0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70, 0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53, 0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e, 0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c, 0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38, 0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37, 0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33, 0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4, 0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0, 0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3, 0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07, 0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23, 0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59, 0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b, 0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00, 0x00,0x0b,0x00,0x00,0x00,0x26,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f, 0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20, 0x0d,0x6d,0x01,0x0d,0x80,0x44,0x3e,0x83,0x5c,0x7e,0x85,0x17,0xb7,0x0d,0x00,0x00, 0x00,0x61,0x20,0x00,0x00,0x25,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00, 0x00,0x0c,0x00,0x00,0x00,0x74,0x47,0x00,0xc6,0x22,0x80,0x40,0x38,0xe6,0x20,0x06, 0xc2,0xa8,0xc8,0xd5,0xc0,0x08,0x00,0xbd,0x19,0x00,0x82,0x23,0x00,0x54,0xc7,0x1a, 0x80,0x40,0x18,0x6b,0x18,0x86,0x81,0xec,0x0c,0x00,0x89,0x19,0x00,0x0a,0x33,0x00, 0x04,0x46,0x00,0x00,0x00,0x23,0x06,0xca,0x10,0x6c,0x8f,0x23,0x29,0x47,0x12,0x58, 0x20,0xc9,0x67,0x90,0x21,0x20,0x90,0x41,0x06,0xa1,0x40,0x4c,0x08,0xe4,0x33,0xc8, 0x10,0x24,0xd0,0x20,0x43,0x50,0x48,0x16,0x60,0xf2,0x19,0x6f,0xc0,0x38,0x31,0xa0, 0x60,0xcc,0x31,0x30,0x01,0x19,0x0c,0x32,0x04,0x0d,0x36,0x62,0x60,0x08,0x01,0x1a, 0x2c,0x45,0x30,0xdb,0x00,0x05,0x40,0x06,0x01,0x31,0x00,0x00,0x00,0x02,0x00,0x00, 0x00,0x5b,0x86,0x24,0xf8,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sspine_vs_bytecode_metal_ios[3068] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xfc,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xf0,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x93,0xd6,0x91,0x34,0xa6,0x5a,0xef, 0xf4,0xa9,0x2b,0xc7,0x55,0x75,0x4a,0x7f,0xc5,0x46,0xc0,0x95,0x92,0x61,0x00,0x3e, 0x6d,0x53,0x68,0xee,0xb6,0x8e,0xc8,0x26,0x6c,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xd8,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xb3,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x14,0x45,0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x82,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x20,0x02,0x01,0x24,0xc0,0x02,0x54,0x00,0x00,0x00,0x00, 0x49,0x18,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00, 0x1f,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4,0x84, 0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4,0x4c, 0x10,0x44,0x33,0x00,0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x42,0x24,0x81, 0x98,0x89,0x9a,0x07,0x7a,0x90,0x87,0x7a,0x18,0x07,0x7a,0x70,0x83,0x76,0x28,0x07, 0x7a,0x08,0x07,0x76,0xd0,0x03,0x3d,0x68,0x87,0x70,0xa0,0x07,0x79,0x48,0x07,0x7c, 0x40,0x01,0x39,0x48,0x9a,0x22,0x4a,0x98,0xfc,0x4a,0xfa,0x1f,0x20,0x02,0x18,0x09, 0x05,0x65,0x10,0xc1,0x10,0x4a,0x31,0x42,0x10,0x87,0xd0,0x40,0xc0,0x1c,0x01,0x18, 0xa4,0xc0,0x9a,0x23,0x00,0x85,0x41,0x04,0x41,0x18,0x46,0x20,0x96,0x11,0x00,0x00, 0x13,0xa8,0x70,0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60, 0x87,0x72,0x68,0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83, 0x0d,0xb7,0x51,0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d, 0x90,0x0e,0x78,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76, 0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20, 0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a, 0x10,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xd0,0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xd0,0x06,0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xf6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0, 0x06,0xf6,0x90,0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07, 0x78,0xd0,0x06,0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a, 0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50, 0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07, 0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75, 0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0, 0x06,0xf6,0x10,0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07, 0x7a,0x10,0x07,0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76, 0xa0,0x07,0x73,0x20,0x07,0x43,0x98,0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80, 0x2c,0x10,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90, 0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x05,0x18,0x50, 0x08,0x05,0x51,0x06,0x05,0x42,0x6d,0x04,0x80,0xd8,0x58,0x02,0x24,0x00,0x00,0x00, 0x79,0x18,0x00,0x00,0xea,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25, 0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32,0x28,0x00,0xa3,0x50,0xb9, 0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0x81,0x22,0x2c,0x05, 0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c, 0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04, 0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6, 0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25,0x58,0x8c,0x45,0x60,0xd1, 0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82,0x45,0xe0,0x16,0x96,0x26, 0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36, 0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50,0x12,0x72,0x61,0x69,0x72, 0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61, 0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x65,0x21,0x19,0x84,0xa5, 0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89, 0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89, 0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19, 0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7, 0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70, 0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5, 0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x28, 0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b, 0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6,0xf6,0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed, 0x4d,0x6e,0x08,0xa3,0x3c,0x8a,0xa5,0x44,0xca,0xa5,0x4c,0x0a,0x46,0x26,0x2c,0x4d, 0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb, 0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10,0x45,0xd1,0x94,0x48,0xb9,0x94,0x49,0xd9,0x86, 0x18,0x4a,0xa5,0x64,0x0a,0x47,0x28,0x2c,0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c, 0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x52,0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18, 0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b,0x59,0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9, 0x30,0xba,0x32,0x32,0x94,0xaf,0xaf,0xb0,0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32, 0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf,0xaf,0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x43,0xa8,0x45,0x50,0x3c,0xe5,0x5b,0x84,0x25,0x50,0xc0,0x40,0x89,0x14, 0x49,0x99,0x94,0x30,0x60,0x42,0x57,0x86,0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84, 0x5a,0x02,0xc5,0x53,0xbe,0x25,0x58,0x02,0x05,0x0c,0x94,0x48,0x91,0x94,0x49,0x19, 0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x65,0x50,0x3c,0xe5,0x5b,0x86, 0x25,0x50,0xc0,0x40,0x89,0x94,0x4b,0x99,0x94,0x32,0xa0,0x12,0x96,0x26,0xe7,0x22, 0x56,0x67,0x66,0x56,0x26,0xc7,0x27,0x2c,0x4d,0xce,0x45,0xac,0xce,0xcc,0xac,0x4c, 0xee,0x6b,0x2e,0x4d,0xaf,0x8c,0x48,0x58,0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9, 0xb0,0x34,0x39,0x97,0x39,0x3a,0xb9,0xba,0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf, 0x34,0x37,0xb3,0x37,0x22,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x1c,0xda,0xec, 0xe0,0x86,0x28,0x8b,0xb0,0x10,0x8b,0xa0,0xac,0x81,0xc2,0x06,0x8c,0xc2,0xd2,0xe4, 0x5c,0xc2,0xe4,0xce,0xbe,0xe8,0xf2,0xe0,0xca,0xbe,0xe6,0xd2,0xf4,0xca,0x78,0x85, 0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5,0xc1,0x95,0x7d,0x85,0xb1,0xa5,0x9d, 0xb9,0x7d,0xcd,0xa5,0xe9,0x95,0x31,0xb1,0x9b,0xfb,0x82,0x0b,0x93,0x0b,0x6b,0x9b, 0xe3,0xf0,0x15,0x93,0x33,0x84,0x0c,0x96,0x43,0x39,0x03,0x05,0x0d,0x16,0x42,0xf9, 0x16,0x61,0x09,0x94,0x34,0x50,0xd4,0x40,0x69,0x03,0xc5,0x0d,0x16,0x42,0x79,0x83, 0x05,0x51,0x22,0x05,0x0e,0x94,0x49,0x89,0x83,0x21,0x88,0x22,0x06,0x0a,0x19,0x28, 0x66,0xa0,0xc8,0xc1,0x10,0x23,0x01,0x94,0x4e,0x99,0x03,0x3e,0x6f,0x6d,0x6e,0x69, 0x70,0x6f,0x74,0x65,0x6e,0x74,0x20,0x63,0x68,0x61,0x72,0x7c,0xa6,0xd2,0xda,0xe0, 0xd8,0xca,0x40,0x86,0x56,0x56,0x40,0xa8,0x84,0x82,0x82,0x86,0x08,0x8a,0x1d,0x0c, 0x31,0x94,0x3a,0x50,0xee,0xa0,0x49,0x86,0x18,0x0a,0x1e,0x28,0x78,0xd0,0x24,0x23, 0x22,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x77,0x20,0x87,0x7a,0x60,0x87, 0x72,0x70,0x03,0x73,0x60,0x87,0x70,0x38,0x87,0x79,0x98,0x22,0x04,0xc3,0x08,0x85, 0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xd2,0x81,0x1c,0xca,0xc1,0x1d,0xe8,0x61,0x4a, 0x50,0x8c,0x58,0xc2,0x21,0x1d,0xe4,0xc1,0x0d,0xec,0xa1,0x1c,0xe4,0x61,0x1e,0xd2, 0xe1,0x1d,0xdc,0x61,0x4a,0x60,0x8c,0xa0,0xc2,0x21,0x1d,0xe4,0xc1,0x0d,0xd8,0x21, 0x1c,0xdc,0xe1,0x1c,0xea,0x21,0x1c,0xce,0xa1,0x1c,0x7e,0xc1,0x1e,0xca,0x41,0x1e, 0xe6,0x21,0x1d,0xde,0xc1,0x1d,0xa6,0x04,0xc8,0x88,0x29,0x1c,0xd2,0x41,0x1e,0xdc, 0x60,0x1c,0xde,0xa1,0x1d,0xe0,0x21,0x1d,0xd8,0xa1,0x1c,0x7e,0xe1,0x1d,0xe0,0x81, 0x1e,0xd2,0xe1,0x1d,0xdc,0x61,0x1e,0xa6,0x0c,0x0a,0xe3,0x8c,0x50,0xc2,0x21,0x1d, 0xe4,0xc1,0x0d,0xec,0xa1,0x1c,0xe4,0x81,0x1e,0xca,0x01,0x1f,0xa6,0x04,0x74,0x00, 0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66, 0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73, 0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e, 0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b, 0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b, 0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20, 0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0, 0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61, 0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83, 0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87, 0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76, 0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98, 0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30, 0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61, 0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43, 0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b, 0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7, 0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18, 0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90, 0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1, 0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d, 0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24, 0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c, 0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d, 0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54, 0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4, 0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18, 0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0, 0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1, 0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83, 0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d, 0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x50,0x30,0x00, 0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x1e,0x00,0x00,0x00,0x13,0x04,0x41,0x2c, 0x10,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0xf4,0xc6,0x22,0x82,0x20,0x08,0x46,0x00, 0xa8,0x95,0x40,0x19,0xd0,0x98,0x01,0xa0,0x30,0x03,0x00,0x00,0xe3,0x15,0x07,0x33, 0x4d,0x0c,0x05,0x65,0x90,0x81,0x19,0x0e,0x13,0x02,0xf9,0x8c,0x57,0x2c,0xd0,0x75, 0x21,0x14,0x94,0x41,0x06,0xe8,0x60,0x4c,0x08,0xe4,0x63,0x41,0x01,0x9f,0xf1,0x0a, 0xa8,0xe2,0x38,0x86,0x82,0x62,0x43,0x00,0x9f,0xd9,0x06,0xa7,0x02,0x66,0x1b,0x82, 0x2a,0x98,0x6d,0x08,0x06,0x21,0x83,0x80,0x18,0x00,0x00,0x00,0x04,0x00,0x00,0x00, 0x5b,0x86,0x20,0xc8,0x83,0x2d,0x43,0x11,0xe4,0xc1,0x96,0x41,0x09,0xf2,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sspine_fs_bytecode_metal_ios[3241] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xa9,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xd0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xf2,0xd8,0x54,0xd8,0x76,0x28,0x3c, 0xc1,0x24,0xd6,0xe7,0xb5,0xc4,0xbc,0x0f,0x0f,0x5a,0x55,0xdc,0x0c,0x24,0xa5,0x96, 0x04,0x74,0x34,0x10,0x4e,0xdf,0x2e,0x1d,0xee,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0xbc,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0xec,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x8e,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x03,0x22,0x0c,0x40,0x02,0x2c,0x40,0xb5,0xc1,0x18,0x08,0x60,0x01, 0xaa,0x0d,0x06,0x51,0x00,0x0b,0x50,0x6d,0x30,0x8a,0xff,0xff,0xff,0xff,0x1f,0x00, 0x09,0xa0,0x36,0x20,0xc6,0xff,0xff,0xff,0xff,0x0f,0x00,0x03,0x48,0x40,0xb5,0xc1, 0x38,0x02,0x60,0x01,0xaa,0x0d,0x06,0x22,0x00,0x0b,0x50,0x01,0x00,0x49,0x18,0x00, 0x00,0x03,0x00,0x00,0x00,0x13,0x88,0x40,0x18,0x88,0x09,0x41,0x31,0x61,0x30,0x0e, 0x04,0x89,0x20,0x00,0x00,0x27,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85, 0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a, 0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x6c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c, 0x20,0x00,0x07,0x49,0x53,0x44,0x09,0x93,0x5f,0x48,0xff,0x03,0x44,0x00,0x23,0xa1, 0x00,0x0c,0x22,0x10,0xc2,0x51,0xd2,0x14,0x51,0xc2,0xe4,0xff,0x13,0x71,0x4d,0x54, 0x44,0xfc,0xf6,0xf0,0x4f,0x63,0x04,0xc0,0x20,0x82,0x11,0x5c,0x24,0x4d,0x11,0x25, 0x4c,0xfe,0x2f,0x01,0xcc,0xb3,0x10,0xd1,0x3f,0x8d,0x11,0x00,0x83,0x08,0x88,0x50, 0x0c,0x31,0x42,0x39,0x89,0x54,0x21,0x42,0x08,0x81,0xd8,0x1c,0x41,0x30,0x47,0x00, 0x06,0xc3,0x08,0xc2,0x53,0x90,0x70,0xd2,0x70,0xd0,0x01,0x8a,0x03,0x01,0x29,0xf0, 0x86,0x11,0x86,0x67,0x18,0x61,0x00,0x86,0x11,0x88,0x67,0x8e,0x00,0x14,0x06,0x11, 0x00,0x61,0x04,0x00,0x00,0x13,0xa8,0x70,0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83, 0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37, 0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80, 0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06, 0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07, 0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40, 0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78, 0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10, 0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07, 0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6, 0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60, 0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07, 0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71, 0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80, 0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20,0x07,0x43,0x98,0x05,0x00,0x80,0x00, 0x00,0x00,0x00,0x00,0x80,0x21,0x4c,0x03,0x04,0x80,0x00,0x00,0x00,0x00,0x00,0xc0, 0x10,0x46,0x02,0x02,0x60,0x00,0x00,0x00,0x00,0x00,0x20,0x0b,0x04,0x09,0x00,0x00, 0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43, 0x7a,0x23,0x00,0x25,0x50,0x08,0x45,0x50,0x10,0x65,0x40,0x78,0x04,0x80,0xe8,0x58, 0x02,0x24,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0xf9,0x00,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x63, 0x4c,0x00,0xa5,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x3c,0xc4,0x24,0x3c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0x30,0x11,0x43,0x8c,0x87, 0x78,0x8e,0x67,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x99,0x8e,0x87,0x78,0x88, 0x67,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x98, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84, 0x69,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d,0x11,0xa6,0x86,0x51,0x58,0x9a,0x9c,0x8b, 0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34, 0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a, 0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc, 0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61, 0xa6,0xe7,0x19,0x26,0x68,0x8a,0x26,0x69,0x9a,0x86,0x08,0x13,0x45,0x29,0x2c,0x4d, 0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e, 0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39, 0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73, 0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28,0xd4, 0xd9,0x0d,0x91,0x9e,0x61,0xb2,0xa6,0x6b,0xc2,0xa6,0x6c,0x82,0x26,0x6d,0x92,0xa6, 0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1,0x37, 0xb6,0x37,0xb9,0x21,0xd2,0x43,0x4c,0xd6,0xd4,0x4d,0xd8,0x94,0x4d,0xd0,0x14,0x4d, 0xd2,0xe4,0x51,0x09,0x4b,0x93,0x73,0x11,0xab,0x33,0x33,0x2b,0x93,0xe3,0x13,0x96, 0x26,0xe7,0x22,0x56,0x67,0x66,0x56,0x26,0xf7,0x35,0x97,0xa6,0x57,0x46,0x29,0x2c, 0x4d,0xce,0x85,0xed,0x6d,0x2c,0x8c,0x2e,0xed,0xcd,0xed,0x2b,0xcd,0x8d,0xac,0x0c, 0x8f,0x48,0x58,0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39,0x97,0x39, 0x3a,0xb9,0xba,0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3,0x37,0x16, 0x66,0x6c,0x6f,0x61,0x74,0x1c,0xe0,0xda,0xc2,0x86,0x28,0xcf,0xf0,0x14,0xcf,0x30, 0x95,0xc1,0x64,0x06,0x8c,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xe8,0xf2,0xe0, 0xca,0xbe,0xe6,0xd2,0xf4,0xca,0x78,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1, 0xe5,0xc1,0x95,0x7d,0x85,0xb1,0xa5,0x9d,0xb9,0x7d,0xcd,0xa5,0xe9,0x95,0x31,0x31, 0x9b,0xfb,0x82,0x0b,0x93,0x0b,0x6b,0x9b,0xe3,0xf0,0x55,0x33,0x33,0x84,0x0c,0x1e, 0x63,0x02,0x83,0x29,0x0c,0x9e,0x62,0x12,0x83,0x67,0x78,0x88,0x69,0x0c,0x26,0x32, 0x98,0xce,0x60,0x42,0x83,0xa7,0x98,0xd2,0xe0,0x29,0x26,0x68,0x52,0x83,0x49,0x9a, 0xd6,0x80,0x4b,0x58,0x9a,0x9c,0x0b,0x5d,0x19,0x1e,0x5d,0x9d,0x5c,0x19,0x95,0xb0, 0x34,0x39,0x97,0xb9,0xb0,0x36,0x38,0xb6,0x32,0x62,0x74,0x65,0x78,0x74,0x75,0x72, 0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c, 0x65,0x3e,0x1c,0xe8,0xca,0xf0,0x86,0x50,0x0f,0x32,0xb5,0xc1,0x24,0x06,0xcf,0xf0, 0x10,0x93,0x1b,0x4c,0xd0,0xf4,0x06,0x93,0x34,0xc1,0x01,0x97,0xb0,0x34,0x39,0x97, 0xb9,0xb0,0x36,0x38,0xb6,0x32,0x39,0x1e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x1c, 0xe6,0xda,0xe0,0x86,0x48,0x4f,0x31,0xc9,0xc1,0x24,0x06,0xcf,0xf0,0x10,0x13,0x34, 0xcd,0xc1,0x24,0x4d,0x74,0x30,0x44,0x99,0xb8,0xe9,0x9b,0xd8,0x60,0x8a,0x83,0xa9, 0x0e,0x86,0x18,0x0b,0x30,0x55,0x93,0x1d,0xd0,0xf9,0xd2,0xa2,0x9a,0xca,0x31,0x9b, 0xfb,0x82,0x0b,0x93,0x0b,0x6b,0x9b,0xe3,0xf3,0xd6,0xe6,0x96,0x06,0xf7,0x46,0x57, 0xe6,0x46,0x07,0x32,0x86,0x16,0x26,0xc7,0x67,0x2a,0xad,0x0d,0x8e,0xad,0x0c,0x64, 0x68,0x65,0x05,0x84,0x4a,0x28,0x28,0x68,0x88,0x30,0xe9,0xc1,0x10,0x63,0xca,0x83, 0x69,0x0f,0xb0,0x64,0x88,0x31,0x95,0xc1,0xc4,0x07,0x58,0x32,0xc4,0x98,0xf0,0x60, 0xea,0x03,0x2c,0x19,0x62,0x4c,0x7e,0x30,0xf5,0x01,0x96,0x8c,0x88,0xd8,0x81,0x1d, 0xec,0xa1,0x1d,0xdc,0xa0,0x1d,0xde,0x81,0x1c,0xea,0x81,0x1d,0xca,0xc1,0x0d,0xcc, 0x81,0x1d,0xc2,0xe1,0x1c,0xe6,0x61,0x8a,0x10,0x0c,0x23,0x14,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x48,0x07,0x72,0x28,0x07,0x77,0xa0,0x87,0x29,0x41,0x31,0x62,0x09, 0x87,0x74,0x90,0x07,0x37,0xb0,0x87,0x72,0x90,0x87,0x79,0x48,0x87,0x77,0x70,0x87, 0x29,0x81,0x31,0x82,0x0a,0x87,0x74,0x90,0x07,0x37,0x60,0x87,0x70,0x70,0x87,0x73, 0xa8,0x87,0x70,0x38,0x87,0x72,0xf8,0x05,0x7b,0x28,0x07,0x79,0x98,0x87,0x74,0x78, 0x07,0x77,0x98,0x12,0x20,0x23,0xa6,0x70,0x48,0x07,0x79,0x70,0x83,0x71,0x78,0x87, 0x76,0x80,0x87,0x74,0x60,0x87,0x72,0xf8,0x85,0x77,0x80,0x07,0x7a,0x48,0x87,0x77, 0x70,0x87,0x79,0x98,0x32,0x28,0x8c,0x33,0x82,0x09,0x87,0x74,0x90,0x07,0x37,0x30, 0x07,0x79,0x08,0x87,0x73,0x68,0x87,0x72,0x70,0x07,0x7a,0x98,0x12,0xdc,0x01,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x0b,0x00,0x00,0x00,0x26,0xb0,0x01, 0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e, 0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x6d,0x01,0x0d,0x80,0x44,0x3e,0x83, 0x5c,0x7e,0x85,0x17,0xb7,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x25,0x00,0x00, 0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x74,0x47,0x00, 0xc6,0x22,0x80,0x40,0x38,0xe6,0x20,0x06,0xc2,0xa8,0xc8,0xd5,0xc0,0x08,0x00,0xbd, 0x19,0x00,0x82,0x23,0x00,0x54,0xc7,0x1a,0x80,0x40,0x18,0x6b,0x18,0x86,0x81,0xec, 0x0c,0x00,0x89,0x19,0x00,0x0a,0x33,0x00,0x04,0x46,0x00,0x00,0x00,0x23,0x06,0xca, 0x10,0x6c,0x8f,0x23,0x29,0x47,0x12,0x58,0x20,0xc9,0x67,0x90,0x21,0x20,0x90,0x41, 0x06,0xa1,0x40,0x4c,0x08,0xe4,0x33,0xc8,0x10,0x24,0xd0,0x20,0x43,0x50,0x48,0x16, 0x60,0xf2,0x19,0x6f,0xc0,0x38,0x31,0xa0,0x60,0xcc,0x31,0x30,0x01,0x19,0x0c,0x32, 0x04,0x0d,0x36,0x62,0x60,0x08,0x01,0x1a,0x2c,0x45,0x30,0xdb,0x00,0x05,0x40,0x06, 0x01,0x31,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x5b,0x86,0x24,0xf8,0x03,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sspine_vs_source_metal_sim[624] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x6d,0x76,0x70,0x3b,0x0a,0x7d,0x3b,0x0a, 0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75, 0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x75, 0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29,0x5d, 0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x31, 0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74, 0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x70,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28, 0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32, 0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74, 0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x5b, 0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x32,0x29,0x5d,0x5d,0x3b, 0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x65,0x72,0x74,0x65,0x78,0x20,0x6d,0x61,0x69,0x6e, 0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e, 0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,0x74,0x61,0x67,0x65,0x5f, 0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x26,0x20,0x5f,0x31,0x39,0x20,0x5b,0x5b, 0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20, 0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74, 0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x67, 0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x5f,0x31,0x39, 0x2e,0x6d,0x76,0x70,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e, 0x2e,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75,0x76, 0x20,0x3d,0x20,0x69,0x6e,0x2e,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d, 0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sspine_fs_source_metal_sim[619] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x66, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x70,0x6d,0x61,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74, 0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30, 0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x20,0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28, 0x6c,0x6f,0x63,0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65, 0x72,0x28,0x6c,0x6f,0x63,0x6e,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a, 0x66,0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f, 0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69, 0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d, 0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x66,0x73,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x73,0x26,0x20,0x5f,0x35,0x33,0x20,0x5b,0x5b,0x62,0x75,0x66, 0x66,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78,0x74,0x75,0x72, 0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65,0x78,0x20,0x5b, 0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d,0x2c,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20, 0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74,0x20,0x3d, 0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x5f,0x32,0x38,0x20,0x3d,0x20,0x74,0x65,0x78,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65, 0x28,0x73,0x6d,0x70,0x2c,0x20,0x69,0x6e,0x2e,0x75,0x76,0x29,0x20,0x2a,0x20,0x69, 0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x5f,0x33,0x37,0x20,0x3d,0x20,0x5f,0x32,0x38,0x2e,0x77,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x5f,0x32,0x38,0x2c,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x34,0x28,0x5f,0x32,0x38,0x2e,0x78,0x79,0x7a,0x20,0x2a,0x20,0x5f, 0x33,0x37,0x2c,0x20,0x5f,0x33,0x37,0x29,0x20,0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f, 0x6c,0x6f,0x72,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x5f,0x35,0x33,0x2e, 0x70,0x6d,0x61,0x29,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72, 0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _sspine_vs_source_wgsl[1003] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x6d,0x76,0x70,0x20,0x3a,0x20,0x6d,0x61,0x74,0x34,0x78,0x34,0x66,0x2c,0x0a, 0x7d,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28,0x30,0x29,0x20,0x40,0x62,0x69, 0x6e,0x64,0x69,0x6e,0x67,0x28,0x30,0x29,0x20,0x76,0x61,0x72,0x3c,0x75,0x6e,0x69, 0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x31,0x39,0x20,0x3a,0x20,0x76,0x73,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70, 0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x3a,0x20,0x76,0x65, 0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74, 0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a, 0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34, 0x66,0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20, 0x7b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x32,0x20,0x3a,0x20,0x6d, 0x61,0x74,0x34,0x78,0x34,0x66,0x20,0x3d,0x20,0x78,0x5f,0x31,0x39,0x2e,0x6d,0x76, 0x70,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x36,0x20,0x3a,0x20, 0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x5f,0x31,0x3b,0x0a,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x32,0x20,0x2a,0x20,0x76,0x65,0x63,0x34, 0x66,0x28,0x78,0x5f,0x32,0x36,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x32,0x36,0x2e,0x79, 0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x3b,0x0a, 0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x38,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x78,0x5f,0x33,0x38,0x3b,0x0a,0x20,0x20,0x6c, 0x65,0x74,0x20,0x78,0x5f,0x34,0x32,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x20,0x3d,0x20,0x78,0x5f,0x34,0x32,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75, 0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61, 0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c, 0x74,0x69,0x6e,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65, 0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x28,0x30,0x29,0x0a,0x20,0x20,0x75,0x76,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x31,0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78, 0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69, 0x6f,0x6e,0x28,0x30,0x29,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x32,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e, 0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65, 0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sspine_fs_source_wgsl[1125] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x66,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x70,0x6d,0x61,0x20,0x3a,0x20,0x66,0x33,0x32,0x2c,0x0a,0x7d,0x0a,0x0a,0x40, 0x67,0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e, 0x67,0x28,0x34,0x38,0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20, 0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b, 0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e, 0x64,0x69,0x6e,0x67,0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70, 0x20,0x3a,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72, 0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34, 0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e, 0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65, 0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28,0x30,0x29,0x20, 0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x29,0x20,0x76,0x61,0x72,0x3c, 0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x35,0x33,0x20,0x3a,0x20, 0x66,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d, 0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20,0x76,0x61,0x72,0x20, 0x63,0x30,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x20,0x20,0x76,0x61, 0x72,0x20,0x63,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x34,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x78,0x5f,0x32,0x33,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74, 0x20,0x78,0x5f,0x32,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x63,0x30,0x20,0x3d,0x20,0x28,0x78, 0x5f,0x32,0x34,0x20,0x2a,0x20,0x78,0x5f,0x32,0x37,0x29,0x3b,0x0a,0x20,0x20,0x6c, 0x65,0x74,0x20,0x78,0x5f,0x33,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20, 0x3d,0x20,0x63,0x30,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x37, 0x20,0x3a,0x20,0x66,0x33,0x32,0x20,0x3d,0x20,0x63,0x30,0x2e,0x77,0x3b,0x0a,0x20, 0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x38,0x20,0x3a,0x20,0x76,0x65,0x63,0x33, 0x66,0x20,0x3d,0x20,0x28,0x76,0x65,0x63,0x33,0x66,0x28,0x78,0x5f,0x33,0x31,0x2e, 0x78,0x2c,0x20,0x78,0x5f,0x33,0x31,0x2e,0x79,0x2c,0x20,0x78,0x5f,0x33,0x31,0x2e, 0x7a,0x29,0x20,0x2a,0x20,0x78,0x5f,0x33,0x37,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x34,0x30,0x20,0x3a,0x20,0x66,0x33,0x32,0x20,0x3d,0x20,0x63, 0x30,0x2e,0x77,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x35,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x20,0x20,0x63,0x31,0x20,0x3d,0x20,0x28,0x76,0x65,0x63,0x34,0x66,0x28,0x78, 0x5f,0x33,0x38,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x33,0x38,0x2e,0x79,0x2c,0x20,0x78, 0x5f,0x33,0x38,0x2e,0x7a,0x2c,0x20,0x78,0x5f,0x34,0x30,0x29,0x20,0x2a,0x20,0x78, 0x5f,0x34,0x35,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x39, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x63,0x30,0x3b,0x0a,0x20, 0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x35,0x30,0x20,0x3a,0x20,0x76,0x65,0x63,0x34, 0x66,0x20,0x3d,0x20,0x63,0x31,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f, 0x35,0x38,0x20,0x3a,0x20,0x66,0x33,0x32,0x20,0x3d,0x20,0x78,0x5f,0x35,0x33,0x2e, 0x70,0x6d,0x61,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f, 0x72,0x20,0x3d,0x20,0x6d,0x69,0x78,0x28,0x78,0x5f,0x34,0x39,0x2c,0x20,0x78,0x5f, 0x35,0x30,0x2c,0x20,0x76,0x65,0x63,0x34,0x66,0x28,0x78,0x5f,0x35,0x38,0x2c,0x20, 0x78,0x5f,0x35,0x38,0x2c,0x20,0x78,0x5f,0x35,0x38,0x2c,0x20,0x78,0x5f,0x35,0x38, 0x29,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d,0x0a, 0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74, 0x20,0x7b,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30, 0x29,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x66,0x72, 0x61,0x67,0x6d,0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20, 0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20, 0x75,0x76,0x20,0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29, 0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f, 0x6f,0x75,0x74,0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x3b, 0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _sspine_vs_source_dummy = ""; static const char* _sspine_fs_source_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif // ███████ ████████ ██████ ██ ██ ██████ ████████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██████ ██ ██ ██ ██ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██ ██ ██████ ██████ ██ ███████ // // >>structs #define _sspine_def(val, def) (((val) == 0) ? (def) : (val)) #define _SSPINE_INIT_COOKIE (0xABBAABBA) #define _SSPINE_INVALID_SLOT_INDEX (0) #define _SSPINE_DEFAULT_CONTEXT_POOL_SIZE (4) #define _SSPINE_DEFAULT_ATLAS_POOL_SIZE (64) #define _SSPINE_DEFAULT_SKELETON_POOL_SIZE (64) #define _SSPINE_DEFAULT_SKINSET_POOL_SIZE (64) #define _SSPINE_DEFAULT_INSTANCE_POOL_SIZE (1024) #define _SSPINE_DEFAULT_MAX_VERTICES (1<<16) #define _SSPINE_DEFAULT_MAX_COMMANDS (1<<14) #define _SSPINE_MAX_TRIGGERED_EVENTS (16) #define _SSPINE_SLOT_SHIFT (16) #define _SSPINE_MAX_POOL_SIZE (1<<_SSPINE_SLOT_SHIFT) #define _SSPINE_SLOT_MASK (_SSPINE_MAX_POOL_SIZE-1) typedef struct { float mvp[16]; } _sspine_vsparams_t; typedef struct { float pma; uint8_t _pad[12]; } _sspine_fsparams_t; typedef struct { uint32_t id; sspine_resource_state state; } _sspine_slot_t; typedef struct { int size; int queue_top; uint32_t* gen_ctrs; int* free_queue; } _sspine_pool_t; typedef struct { _sspine_slot_t slot; sspine_atlas_overrides overrides; spAtlas* sp_atlas; int num_pages; } _sspine_atlas_t; typedef struct { _sspine_pool_t pool; _sspine_atlas_t* items; } _sspine_atlas_pool_t; typedef struct { uint32_t id; _sspine_atlas_t* ptr; } _sspine_atlas_ref_t; typedef struct { sg_image img; sg_sampler smp; } _sspine_image_sampler_pair_t; typedef struct { _sspine_slot_t slot; _sspine_atlas_ref_t atlas; spSkeletonData* sp_skel_data; spAnimationStateData* sp_anim_data; struct { int cap; sspine_vec2* ptr; } tform_buf; } _sspine_skeleton_t; typedef struct { _sspine_pool_t pool; _sspine_skeleton_t* items; } _sspine_skeleton_pool_t; typedef struct { uint32_t id; _sspine_skeleton_t* ptr; } _sspine_skeleton_ref_t; typedef struct { _sspine_slot_t slot; _sspine_skeleton_ref_t skel; spSkin* sp_skin; } _sspine_skinset_t; typedef struct { _sspine_pool_t pool; _sspine_skinset_t* items; } _sspine_skinset_pool_t; typedef struct { uint32_t id; _sspine_skinset_t* ptr; } _sspine_skinset_ref_t; typedef struct { _sspine_slot_t slot; _sspine_atlas_ref_t atlas; _sspine_skeleton_ref_t skel; _sspine_skinset_ref_t skinset; spSkeleton* sp_skel; spAnimationState* sp_anim_state; spSkeletonClipping* sp_clip; int cur_triggered_event_index; sspine_triggered_event_info triggered_events[_SSPINE_MAX_TRIGGERED_EVENTS]; } _sspine_instance_t; typedef struct { _sspine_pool_t pool; _sspine_instance_t* items; } _sspine_instance_pool_t; typedef struct { sspine_vec2 pos; sspine_vec2 uv; uint32_t color; } _sspine_vertex_t; typedef struct { _sspine_vertex_t* ptr; int index; } _sspine_alloc_vertices_result_t; typedef struct { uint32_t* ptr; int index; } _sspine_alloc_indices_result_t; typedef struct { int layer; sg_pipeline pip; sg_image img; sg_sampler smp; float pma; // pma = 0.0: use texture color as is, pma = 1.0: multiply texture rgb by texture alpha in fragment shader int base_element; int num_elements; } _sspine_command_t; typedef struct { _sspine_slot_t slot; float transform[16]; struct { int cap; int next; uint32_t rewind_frame_id; _sspine_vertex_t* ptr; } vertices; struct { int cap; int next; uint32_t rewind_frame_id; uint32_t* ptr; } indices; struct { int cap; int next; uint32_t rewind_frame_id; _sspine_command_t* ptr; } commands; uint32_t update_frame_id; sg_buffer vbuf; sg_buffer ibuf; struct { sg_pipeline normal_additive; sg_pipeline multiply; } pip; sg_bindings bind; } _sspine_context_t; typedef struct { _sspine_pool_t pool; _sspine_context_t* items; } _sspine_context_pool_t; typedef struct { uint32_t init_cookie; uint32_t frame_id; sspine_desc desc; sspine_context def_ctx_id; sspine_context cur_ctx_id; _sspine_context_t* cur_ctx; // may be 0! sg_shader shd; _sspine_context_pool_t context_pool; _sspine_atlas_pool_t atlas_pool; _sspine_skeleton_pool_t skeleton_pool; _sspine_skinset_pool_t skinset_pool; _sspine_instance_pool_t instance_pool; } _sspine_t; static _sspine_t _sspine; // dummy spine-c platform implementation functions #if defined(__cplusplus) extern "C" { #endif void _spAtlasPage_createTexture(spAtlasPage* self, const char* path) { // nothing to do here (void)self; (void)path; } static void _sspine_delete_image_sampler_pair(const _sspine_image_sampler_pair_t* isp); void _spAtlasPage_disposeTexture(spAtlasPage* self) { _sspine_delete_image_sampler_pair((const _sspine_image_sampler_pair_t*) self->rendererObject); } char* _spUtil_readFile(const char* path, int* length) { (void)path; *length = 0; return 0; } #if defined(__cplusplus) } // extern "C" #endif // ██ ██████ ██████ ██████ ██ ███ ██ ██████ // ██ ██ ██ ██ ██ ██ ████ ██ ██ // ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██████ ██████ ██████ ██ ██ ████ ██████ // // >>logging #if defined(SOKOL_DEBUG) #define _SSPINE_LOGITEM_XMACRO(item,msg) #item ": " msg, static const char* _sspine_log_messages[] = { _SSPINE_LOG_ITEMS }; #undef _SSPINE_LOGITEM_XMACRO #endif // SOKOL_DEBUG #define _SSPINE_PANIC(code) _sspine_log(SSPINE_LOGITEM_ ##code, 0, __LINE__) #define _SSPINE_ERROR(code) _sspine_log(SSPINE_LOGITEM_ ##code, 1, __LINE__) #define _SSPINE_WARN(code) _sspine_log(SSPINE_LOGITEM_ ##code, 2, __LINE__) #define _SSPINE_INFO(code) _sspine_log(SSPINE_LOGITEM_ ##code, 3, __LINE__) static void _sspine_log(sspine_log_item log_item, uint32_t log_level, uint32_t line_nr) { if (_sspine.desc.logger.func) { #if defined(SOKOL_DEBUG) const char* filename = __FILE__; const char* message = _sspine_log_messages[log_item]; #else const char* filename = 0; const char* message = 0; #endif _sspine.desc.logger.func("sspine", log_level, log_item, message, line_nr, filename, _sspine.desc.logger.user_data); } else { // for log level PANIC it would be 'undefined behaviour' to continue if (log_level == 0) { abort(); } } } // ███ ███ ███████ ███ ███ ██████ ██████ ██ ██ // ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ██ ██████ ██ ██ ██ // // >>memory static void _sspine_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } /* Copy a string into a fixed size buffer with guaranteed zero- termination. Return false if the string didn't fit into the buffer and had to be clamped. FIXME: Currently UTF-8 strings might become invalid if the string is clamped, because the last zero-byte might be written into the middle of a multi-byte sequence. */ static bool _sspine_strcpy(const char* src, char* dst, int max_len) { SOKOL_ASSERT(src && dst && (max_len > 0)); char* const end = &(dst[max_len-1]); char c = 0; for (int i = 0; i < max_len; i++) { c = *src; if (c != 0) { src++; } *dst++ = c; } // truncated? if (c != 0) { *end = 0; return false; } else { return true; } } static sspine_string _sspine_string(const char* cstr) { sspine_string res; _sspine_clear(&res, sizeof(res)); if (cstr) { res.valid = true; res.truncated = !_sspine_strcpy(cstr, res.cstr, sizeof(res.cstr)); res.len = (uint8_t)strlen(res.cstr); } return res; } static void* _sspine_malloc(size_t size) { SOKOL_ASSERT(size > 0); void* ptr; if (_sspine.desc.allocator.alloc_fn) { ptr = _sspine.desc.allocator.alloc_fn(size, _sspine.desc.allocator.user_data); } else { ptr = malloc(size); } if (0 == ptr) { _SSPINE_PANIC(MALLOC_FAILED); } return ptr; } static void* _sspine_malloc_clear(size_t size) { void* ptr = _sspine_malloc(size); _sspine_clear(ptr, size); return ptr; } static void _sspine_free(void* ptr) { if (_sspine.desc.allocator.free_fn) { _sspine.desc.allocator.free_fn(ptr, _sspine.desc.allocator.user_data); } else { free(ptr); } } // ██████ ███████ ███████ ███████ // ██ ██ ██ ██ ██ // ██████ █████ █████ ███████ // ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ███████ // // >>refs static bool _sspine_atlas_ref_valid(const _sspine_atlas_ref_t* ref) { return ref->ptr && (ref->ptr->slot.id == ref->id); } static bool _sspine_skeleton_ref_valid(const _sspine_skeleton_ref_t* ref) { return ref->ptr && (ref->ptr->slot.id == ref->id); } static bool _sspine_skinset_ref_valid(const _sspine_skinset_ref_t* ref) { return ref->ptr && (ref->ptr->slot.id == ref->id); } static bool _sspine_skeleton_and_deps_valid(_sspine_skeleton_t* skeleton) { return skeleton && _sspine_atlas_ref_valid(&skeleton->atlas); } static bool _sspine_skinset_and_deps_valid(_sspine_skinset_t* skinset) { return skinset && _sspine_skeleton_ref_valid(&skinset->skel); } static bool _sspine_instance_and_deps_valid(_sspine_instance_t* instance) { return instance && _sspine_atlas_ref_valid(&instance->atlas) && _sspine_skeleton_ref_valid(&instance->skel) && ((instance->skinset.id == SSPINE_INVALID_ID) || _sspine_skinset_ref_valid(&instance->skinset)); } static sspine_image _sspine_image(uint32_t atlas_id, int index) { sspine_image img = { atlas_id, index }; return img; } static sspine_atlas_page _sspine_atlas_page(uint32_t atlas_id, int index) { sspine_atlas_page page = { atlas_id, index }; return page; } static sspine_anim _sspine_anim(uint32_t skeleton_id, int index) { sspine_anim anim = { skeleton_id, index }; return anim; } static sspine_bone _sspine_bone(uint32_t skeleton_id, int index) { sspine_bone bone = { skeleton_id, index }; return bone; } static sspine_slot _sspine_slot(uint32_t skeleton_id, int index) { sspine_slot slot = { skeleton_id, index }; return slot; } static sspine_event _sspine_event(uint32_t skeleton_id, int index) { sspine_event event = { skeleton_id, index }; return event; } static sspine_iktarget _sspine_iktarget(uint32_t skeleton_id, int index) { sspine_iktarget iktarget = { skeleton_id, index }; return iktarget; } static sspine_skin _sspine_skin(uint32_t skeleton_id, int index) { sspine_skin skin = { skeleton_id, index }; return skin; } // ██████ ██████ ██████ ██ // ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ // // >>pool static void _sspine_init_pool(_sspine_pool_t* pool, int num) { SOKOL_ASSERT(pool && (num >= 1)); // slot 0 is reserved for the 'invalid id', so bump the pool size by 1 pool->size = num + 1; pool->queue_top = 0; // generation counters indexable by pool slot index, slot 0 is reserved size_t gen_ctrs_size = sizeof(uint32_t) * (size_t)pool->size; pool->gen_ctrs = (uint32_t*) _sspine_malloc_clear(gen_ctrs_size); // it's not a bug to only reserve 'num' here pool->free_queue = (int*) _sspine_malloc_clear(sizeof(int) * (size_t)num); // never allocate the zero-th pool item since the invalid id is 0 for (int i = pool->size-1; i >= 1; i--) { pool->free_queue[pool->queue_top++] = i; } } static void _sspine_discard_pool(_sspine_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); _sspine_free(pool->free_queue); pool->free_queue = 0; SOKOL_ASSERT(pool->gen_ctrs); _sspine_free(pool->gen_ctrs); pool->gen_ctrs = 0; pool->size = 0; pool->queue_top = 0; } static int _sspine_pool_alloc_index(_sspine_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); if (pool->queue_top > 0) { int slot_index = pool->free_queue[--pool->queue_top]; SOKOL_ASSERT((slot_index > 0) && (slot_index < pool->size)); return slot_index; } else { // pool exhausted return _SSPINE_INVALID_SLOT_INDEX; } } static void _sspine_pool_free_index(_sspine_pool_t* pool, int slot_index) { SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); SOKOL_ASSERT(pool->queue_top < pool->size); #ifdef SOKOL_DEBUG // debug check against double-free for (int i = 0; i < pool->queue_top; i++) { SOKOL_ASSERT(pool->free_queue[i] != slot_index); } #endif pool->free_queue[pool->queue_top++] = slot_index; SOKOL_ASSERT(pool->queue_top <= (pool->size-1)); } /* initialize a pool slot: - bump the slot's generation counter - create a resource id from the generation counter and slot index - set the slot's id to this id - set the slot's state to ALLOC - return the handle id */ static uint32_t _sspine_slot_init(_sspine_pool_t* pool, _sspine_slot_t* slot, int slot_index) { /* FIXME: add handling for an overflowing generation counter, for now, just overflow (another option is to disable the slot) */ SOKOL_ASSERT(pool && pool->gen_ctrs); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT((slot->state == SSPINE_RESOURCESTATE_INITIAL) && (slot->id == SSPINE_INVALID_ID)); uint32_t ctr = ++pool->gen_ctrs[slot_index]; slot->id = (ctr<<_SSPINE_SLOT_SHIFT)|(slot_index & _SSPINE_SLOT_MASK); slot->state = SSPINE_RESOURCESTATE_ALLOC; return slot->id; } // extract slot index from id static int _sspine_slot_index(uint32_t id) { int slot_index = (int) (id & _SSPINE_SLOT_MASK); SOKOL_ASSERT(_SSPINE_INVALID_SLOT_INDEX != slot_index); return slot_index; } static void _sspine_init_item_pool(_sspine_pool_t* pool, int pool_size, void** items_ptr, size_t item_size_bytes) { // NOTE: the pools will have an additional item, since slot 0 is reserved SOKOL_ASSERT(pool && (pool->size == 0)); SOKOL_ASSERT((pool_size > 0) && (pool_size < _SSPINE_MAX_POOL_SIZE)); SOKOL_ASSERT(items_ptr && (*items_ptr == 0)); SOKOL_ASSERT(item_size_bytes > 0); _sspine_init_pool(pool, pool_size); const size_t pool_size_bytes = item_size_bytes * (size_t)pool->size; *items_ptr = _sspine_malloc_clear(pool_size_bytes); } static void _sspine_discard_item_pool(_sspine_pool_t* pool, void** items_ptr) { SOKOL_ASSERT(pool && (pool->size != 0)); SOKOL_ASSERT(items_ptr && (*items_ptr != 0)); _sspine_free(*items_ptr); *items_ptr = 0; _sspine_discard_pool(pool); } // ██████ ██████ ███ ██ ████████ ███████ ██ ██ ████████ // ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ █████ ███ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ████ ██ ███████ ██ ██ ██ // // >>context static void _sspine_setup_context_pool(int pool_size) { _sspine_context_pool_t* p = &_sspine.context_pool; _sspine_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_sspine_context_t)); } static void _sspine_discard_context_pool(void) { _sspine_context_pool_t* p = &_sspine.context_pool; _sspine_discard_item_pool(&p->pool, (void**)&p->items); } static sspine_context _sspine_make_context_handle(uint32_t id) { sspine_context handle = { id }; return handle; } static _sspine_context_t* _sspine_context_at(uint32_t id) { SOKOL_ASSERT(SSPINE_INVALID_ID != id); const _sspine_context_pool_t* p = &_sspine.context_pool; int slot_index = _sspine_slot_index(id); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _sspine_context_t* _sspine_lookup_context(uint32_t id) { if (SSPINE_INVALID_ID != id) { _sspine_context_t* ctx = _sspine_context_at(id); if (ctx->slot.id == id) { return ctx; } } return 0; } static sspine_context _sspine_alloc_context(void) { _sspine_context_pool_t* p = &_sspine.context_pool; int slot_index = _sspine_pool_alloc_index(&p->pool); if (_SSPINE_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _sspine_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _sspine_make_context_handle(id); } else { // pool exhausted return _sspine_make_context_handle(SSPINE_INVALID_ID); } } static sspine_resource_state _sspine_init_context(_sspine_context_t* ctx, const sspine_context_desc* desc) { SOKOL_ASSERT(ctx && (ctx->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); // setup vertex, index and command storage ctx->vertices.cap = desc->max_vertices; ctx->indices.cap = ctx->vertices.cap * 3; ctx->commands.cap = desc->max_commands; const size_t vbuf_size = (size_t)ctx->vertices.cap * sizeof(_sspine_vertex_t); const size_t ibuf_size = (size_t)ctx->indices.cap * sizeof(uint32_t); const size_t cbuf_size = (size_t)ctx->commands.cap * sizeof(_sspine_command_t); ctx->vertices.ptr = (_sspine_vertex_t*) _sspine_malloc(vbuf_size); ctx->indices.ptr = (uint32_t*) _sspine_malloc(ibuf_size); ctx->commands.ptr = (_sspine_command_t*) _sspine_malloc(cbuf_size); sg_buffer_desc vbuf_desc; _sspine_clear(&vbuf_desc, sizeof(vbuf_desc)); vbuf_desc.type = SG_BUFFERTYPE_VERTEXBUFFER; vbuf_desc.usage = SG_USAGE_STREAM; vbuf_desc.size = vbuf_size; vbuf_desc.label = "sspine-vbuf"; ctx->vbuf = sg_make_buffer(&vbuf_desc); ctx->bind.vertex_buffers[0] = ctx->vbuf; sg_buffer_desc ibuf_desc; _sspine_clear(&ibuf_desc, sizeof(ibuf_desc)); ibuf_desc.type = SG_BUFFERTYPE_INDEXBUFFER; ibuf_desc.usage = SG_USAGE_STREAM; ibuf_desc.size = ibuf_size; ibuf_desc.label = "sspine-ibuf"; ctx->ibuf = sg_make_buffer(&ibuf_desc); ctx->bind.index_buffer = ctx->ibuf; // for blend modes, see: https://wiki.libsdl.org/SDL_BlendMode // // NOTE: we're configuring the blend mode for premultiplied alpha, // and then do the premultiplication in the fragment shader // if needed sg_pipeline_desc pip_desc; _sspine_clear(&pip_desc, sizeof(pip_desc)); pip_desc.shader = _sspine.shd; pip_desc.layout.buffers[0].stride = sizeof(_sspine_vertex_t); pip_desc.layout.attrs[0].format = SG_VERTEXFORMAT_FLOAT2; pip_desc.layout.attrs[1].format = SG_VERTEXFORMAT_FLOAT2; pip_desc.layout.attrs[2].format = SG_VERTEXFORMAT_UBYTE4N; pip_desc.index_type = SG_INDEXTYPE_UINT32; pip_desc.sample_count = desc->sample_count; pip_desc.depth.pixel_format = desc->depth_format; pip_desc.colors[0].pixel_format = desc->color_format; pip_desc.colors[0].write_mask = desc->color_write_mask; pip_desc.colors[0].blend.enabled = true; pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_ONE; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ONE; pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; pip_desc.label = "sspine-pip-normal/additive"; ctx->pip.normal_additive = sg_make_pipeline(&pip_desc); pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_ZERO; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_SRC_COLOR; pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ZERO; pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ONE; pip_desc.label = "sspine-pip-multiply"; ctx->pip.multiply = sg_make_pipeline(&pip_desc); return SSPINE_RESOURCESTATE_VALID; } static void _sspine_deinit_context(_sspine_context_t* ctx) { // NOTE: it's ok to call sg_destroy functions with invalid handles sg_destroy_pipeline(ctx->pip.normal_additive); sg_destroy_pipeline(ctx->pip.multiply); sg_destroy_buffer(ctx->ibuf); sg_destroy_buffer(ctx->vbuf); if (ctx->commands.ptr) { _sspine_free(ctx->commands.ptr); ctx->commands.ptr = 0; } if (ctx->indices.ptr) { _sspine_free(ctx->indices.ptr); ctx->indices.ptr = 0; } if (ctx->vertices.ptr) { _sspine_free(ctx->vertices.ptr); ctx->vertices.ptr = 0; } } static void _sspine_destroy_context(sspine_context ctx_id) { _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); if (ctx) { _sspine_deinit_context(ctx); _sspine_context_pool_t* p = &_sspine.context_pool; _sspine_clear(ctx, sizeof(_sspine_context_t)); _sspine_pool_free_index(&p->pool, _sspine_slot_index(ctx_id.id)); } } static void _sspine_destroy_all_contexts(void) { _sspine_context_pool_t* p = &_sspine.context_pool; for (int i = 0; i < p->pool.size; i++) { _sspine_context_t* ctx = &p->items[i]; _sspine_destroy_context(_sspine_make_context_handle(ctx->slot.id)); } } static sspine_context_desc _sspine_context_desc_defaults(const sspine_context_desc* desc) { sspine_context_desc res = *desc; res.max_vertices = _sspine_def(desc->max_vertices, _SSPINE_DEFAULT_MAX_VERTICES); res.max_commands = _sspine_def(desc->max_commands, _SSPINE_DEFAULT_MAX_COMMANDS); return res; } static bool _sspine_is_default_context(sspine_context ctx_id) { return ctx_id.id == 0x00010001; } // █████ ████████ ██ █████ ███████ // ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ██ ██ ███████ // // >>atlas static void _sspine_setup_atlas_pool(int pool_size) { _sspine_atlas_pool_t* p = &_sspine.atlas_pool; _sspine_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_sspine_atlas_t)); } static void _sspine_discard_atlas_pool(void) { _sspine_atlas_pool_t* p = &_sspine.atlas_pool; _sspine_discard_item_pool(&p->pool, (void**)&p->items); } static sspine_atlas _sspine_make_atlas_handle(uint32_t id) { sspine_atlas handle = { id }; return handle; } static _sspine_atlas_t* _sspine_atlas_at(uint32_t id) { SOKOL_ASSERT(SSPINE_INVALID_ID != id); const _sspine_atlas_pool_t* p = &_sspine.atlas_pool; int slot_index = _sspine_slot_index(id); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _sspine_atlas_t* _sspine_lookup_atlas(uint32_t id) { if (SSPINE_INVALID_ID != id) { _sspine_atlas_t* atlas = _sspine_atlas_at(id); if (atlas->slot.id == id) { return atlas; } } return 0; } static sspine_atlas _sspine_alloc_atlas(void) { _sspine_atlas_pool_t* p = &_sspine.atlas_pool; int slot_index = _sspine_pool_alloc_index(&p->pool); if (_SSPINE_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _sspine_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _sspine_make_atlas_handle(id); } else { // pool exhausted return _sspine_make_atlas_handle(SSPINE_INVALID_ID); } } static const _sspine_image_sampler_pair_t* _sspine_new_image_sampler_pair(sg_image img, sg_sampler smp) { _sspine_image_sampler_pair_t* isp = (_sspine_image_sampler_pair_t*) _sspine_malloc_clear(sizeof(_sspine_image_sampler_pair_t)); SOKOL_ASSERT(isp); isp->img = img; isp->smp = smp; return isp; } static void _sspine_delete_image_sampler_pair(const _sspine_image_sampler_pair_t* isp) { if (isp) { sg_destroy_sampler(isp->smp); sg_destroy_image(isp->img); _sspine_free((void*)isp); } } static sg_image _sspine_image_from_renderer_object(void* renderer_object) { SOKOL_ASSERT(renderer_object); const _sspine_image_sampler_pair_t* isp = (const _sspine_image_sampler_pair_t*)renderer_object; return isp->img; } static sg_sampler _sspine_sampler_from_renderer_object(void* renderer_object) { SOKOL_ASSERT(renderer_object); const _sspine_image_sampler_pair_t* isp = (const _sspine_image_sampler_pair_t*)renderer_object; return isp->smp; } static sspine_resource_state _sspine_init_atlas(_sspine_atlas_t* atlas, const sspine_atlas_desc* desc) { SOKOL_ASSERT(atlas && (atlas->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); SOKOL_ASSERT(atlas->sp_atlas == 0); if ((0 == desc->data.ptr) || (0 == desc->data.size)) { _SSPINE_ERROR(ATLAS_DESC_NO_DATA); return SSPINE_RESOURCESTATE_FAILED; } atlas->overrides = desc->override; // NOTE: Spine doesn't detect when invalid or corrupt data is passed here, // not much we can do about this... atlas->sp_atlas = spAtlas_create((const char*)desc->data.ptr, (int)desc->data.size, "", 0); if (0 == atlas->sp_atlas) { _SSPINE_ERROR(SPINE_ATLAS_CREATION_FAILED); return SSPINE_RESOURCESTATE_FAILED; } // allocate a sokol-gfx image and sampler object for each page, but the actual // initialization needs to be delegated to the application for (spAtlasPage* page = atlas->sp_atlas->pages; page != 0; page = page->next) { atlas->num_pages++; const sg_image img = sg_alloc_image(); if (sg_query_image_state(img) != SG_RESOURCESTATE_ALLOC) { _SSPINE_ERROR(SG_ALLOC_IMAGE_FAILED); return SSPINE_RESOURCESTATE_FAILED; } const sg_sampler smp = sg_alloc_sampler(); if (sg_query_sampler_state(smp) != SG_RESOURCESTATE_ALLOC) { _SSPINE_ERROR(SG_ALLOC_SAMPLER_FAILED); return SSPINE_RESOURCESTATE_FAILED; } // need to put the image and sampler handle into a heap-alloc unfortunately, // because a void* isn't big enough to stash two 32-bit handles into // it directly on platforms with 32-bit pointers (like wasm) page->rendererObject = (void*) _sspine_new_image_sampler_pair(img, smp); if (desc->override.premul_alpha_enabled) { // NOTE: -1 is spine-c convention for 'true' page->pma = -1; } else if (desc->override.premul_alpha_disabled) { page->pma = 0; } } return SSPINE_RESOURCESTATE_VALID; } static void _sspine_deinit_atlas(_sspine_atlas_t* atlas) { if (atlas->sp_atlas) { spAtlas_dispose(atlas->sp_atlas); atlas->sp_atlas = 0; } } static void _sspine_destroy_atlas(sspine_atlas atlas_id) { _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id.id); if (atlas) { _sspine_deinit_atlas(atlas); _sspine_atlas_pool_t* p = &_sspine.atlas_pool; _sspine_clear(atlas, sizeof(_sspine_atlas_t)); _sspine_pool_free_index(&p->pool, _sspine_slot_index(atlas_id.id)); } } static void _sspine_destroy_all_atlases(void) { _sspine_atlas_pool_t* p = &_sspine.atlas_pool; for (int i = 0; i < p->pool.size; i++) { _sspine_atlas_t* atlas = &p->items[i]; _sspine_destroy_atlas(_sspine_make_atlas_handle(atlas->slot.id)); } } static sspine_atlas_desc _sspine_atlas_desc_defaults(const sspine_atlas_desc* desc) { sspine_atlas_desc res = *desc; return res; } static spAtlasPage* _sspine_lookup_atlas_page(uint32_t atlas_id, int page_index) { _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id); if (atlas) { if ((page_index >= 0) && (page_index < atlas->num_pages)) { int i = 0; for (spAtlasPage* page = atlas->sp_atlas->pages; page != 0; page = page->next, i++) { if (i == page_index) { return page; } } } } return 0; } // ███████ ██ ██ ███████ ██ ███████ ████████ ██████ ███ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ // ███████ █████ █████ ██ █████ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██ ███████ ███████ ███████ ██ ██████ ██ ████ // // >>skeleton static void _sspine_setup_skeleton_pool(int pool_size) { _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; _sspine_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_sspine_skeleton_t)); } static void _sspine_discard_skeleton_pool(void) { _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; _sspine_discard_item_pool(&p->pool, (void**)&p->items); } static sspine_skeleton _sspine_make_skeleton_handle(uint32_t id) { sspine_skeleton handle = { id }; return handle; } static _sspine_skeleton_t* _sspine_skeleton_at(uint32_t id) { SOKOL_ASSERT(SSPINE_INVALID_ID != id); const _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; int slot_index = _sspine_slot_index(id); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _sspine_skeleton_t* _sspine_lookup_skeleton(uint32_t id) { if (SSPINE_INVALID_ID != id) { _sspine_skeleton_t* skeleton = _sspine_skeleton_at(id); if (skeleton->slot.id == id) { return skeleton; } } return 0; } static sspine_skeleton _sspine_alloc_skeleton(void) { _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; int slot_index = _sspine_pool_alloc_index(&p->pool); if (_SSPINE_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _sspine_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _sspine_make_skeleton_handle(id); } else { // pool exhausted return _sspine_make_skeleton_handle(SSPINE_INVALID_ID); } } static sspine_resource_state _sspine_init_skeleton(_sspine_skeleton_t* skeleton, const sspine_skeleton_desc* desc) { SOKOL_ASSERT(skeleton && (skeleton->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); if ((0 == desc->json_data) && ((0 == desc->binary_data.ptr) || (0 == desc->binary_data.size))) { _SSPINE_ERROR(SKELETON_DESC_NO_DATA); return SSPINE_RESOURCESTATE_FAILED; } if (desc->atlas.id == SSPINE_INVALID_ID) { _SSPINE_ERROR(SKELETON_DESC_NO_ATLAS); return SSPINE_RESOURCESTATE_FAILED; } skeleton->atlas.id = desc->atlas.id; skeleton->atlas.ptr = _sspine_lookup_atlas(skeleton->atlas.id); if (!_sspine_atlas_ref_valid(&skeleton->atlas)) { _SSPINE_ERROR(SKELETON_ATLAS_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } _sspine_atlas_t* atlas = skeleton->atlas.ptr; if (SSPINE_RESOURCESTATE_VALID != atlas->slot.state) { _SSPINE_ERROR(SKELETON_ATLAS_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } SOKOL_ASSERT(atlas->sp_atlas); if (desc->json_data) { spSkeletonJson* skel_json = spSkeletonJson_create(atlas->sp_atlas); SOKOL_ASSERT(skel_json); skel_json->scale = desc->prescale; skeleton->sp_skel_data = spSkeletonJson_readSkeletonData(skel_json, desc->json_data); spSkeletonJson_dispose(skel_json); skel_json = 0; if (0 == skeleton->sp_skel_data) { _SSPINE_ERROR(CREATE_SKELETON_DATA_FROM_JSON_FAILED); return SSPINE_RESOURCESTATE_FAILED; } } else { spSkeletonBinary* skel_bin = spSkeletonBinary_create(atlas->sp_atlas); SOKOL_ASSERT(skel_bin); skel_bin->scale = desc->prescale; skeleton->sp_skel_data = spSkeletonBinary_readSkeletonData(skel_bin, (const unsigned char*)desc->binary_data.ptr, (int)desc->binary_data.size); spSkeletonBinary_dispose(skel_bin); skel_bin = 0; if (0 == skeleton->sp_skel_data) { _SSPINE_ERROR(CREATE_SKELETON_DATA_FROM_BINARY_FAILED); return SSPINE_RESOURCESTATE_FAILED; } } SOKOL_ASSERT(skeleton->sp_skel_data); skeleton->sp_anim_data = spAnimationStateData_create(skeleton->sp_skel_data); SOKOL_ASSERT(skeleton->sp_anim_data); skeleton->sp_anim_data->defaultMix = desc->anim_default_mix; // get the max number of vertices in any mesh attachment int max_vertex_count = 4; // number of vertices in a 'region attachment' (a 2-triangle quad) const spSkeletonData* sp_skel_data = skeleton->sp_skel_data; for (int skinIndex = 0; skinIndex < sp_skel_data->skinsCount; skinIndex++) { const spSkin* sp_skin = sp_skel_data->skins[skinIndex]; const spSkinEntry* skin_entry = spSkin_getAttachments(sp_skin); if (skin_entry) do { if (skin_entry->attachment) { if (skin_entry->attachment->type == SP_ATTACHMENT_MESH) { const spMeshAttachment* mesh_attachment = (spMeshAttachment*)skin_entry->attachment; // worldVerticesLength is number of floats SOKOL_ASSERT((mesh_attachment->super.worldVerticesLength & 1) == 0); const int num_vertices = mesh_attachment->super.worldVerticesLength / 2; if (num_vertices > max_vertex_count) { max_vertex_count = num_vertices; } } } } while ((skin_entry = skin_entry->next) != 0); } // allocate a shared vertex transform buffer (big enough to hold vertices for biggest mesh attachment) skeleton->tform_buf.cap = max_vertex_count; skeleton->tform_buf.ptr = (sspine_vec2*) _sspine_malloc((size_t)skeleton->tform_buf.cap * sizeof(sspine_vec2)); return SSPINE_RESOURCESTATE_VALID; } static void _sspine_deinit_skeleton(_sspine_skeleton_t* skeleton) { if (skeleton->tform_buf.ptr) { _sspine_free(skeleton->tform_buf.ptr); skeleton->tform_buf.ptr = 0; } if (skeleton->sp_anim_data) { spAnimationStateData_dispose(skeleton->sp_anim_data); skeleton->sp_anim_data = 0; } if (skeleton->sp_skel_data) { spSkeletonData_dispose(skeleton->sp_skel_data); skeleton->sp_skel_data = 0; } } static void _sspine_destroy_skeleton(sspine_skeleton skeleton_id) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (skeleton) { _sspine_deinit_skeleton(skeleton); _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; _sspine_clear(skeleton, sizeof(_sspine_skeleton_t)); _sspine_pool_free_index(&p->pool, _sspine_slot_index(skeleton_id.id)); } } static void _sspine_destroy_all_skeletons(void) { _sspine_skeleton_pool_t* p = &_sspine.skeleton_pool; for (int i = 0; i < p->pool.size; i++) { _sspine_skeleton_t* skeleton = &p->items[i]; _sspine_destroy_skeleton(_sspine_make_skeleton_handle(skeleton->slot.id)); } } static sspine_skeleton_desc _sspine_skeleton_desc_defaults(const sspine_skeleton_desc* desc) { sspine_skeleton_desc res = *desc; res.prescale = _sspine_def(desc->prescale, 1.0f); res.anim_default_mix = _sspine_def(desc->anim_default_mix, 0.2f); return res; } static spBoneData* _sspine_lookup_bone_data(uint32_t skeleton_id, int bone_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data && skeleton->sp_skel_data->bones); if ((bone_index >= 0) && (bone_index <= skeleton->sp_skel_data->bonesCount)) { return skeleton->sp_skel_data->bones[bone_index]; } } return 0; } static spSlotData* _sspine_lookup_slot_data(uint32_t skeleton_id, int slot_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data && skeleton->sp_skel_data->slots); if ((slot_index >= 0) && (slot_index <= skeleton->sp_skel_data->slotsCount)) { return skeleton->sp_skel_data->slots[slot_index]; } } return 0; } static spEventData* _sspine_lookup_event_data(uint32_t skeleton_id, int event_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data && skeleton->sp_skel_data->events); if ((event_index >= 0) && (event_index < skeleton->sp_skel_data->eventsCount)) { return skeleton->sp_skel_data->events[event_index]; } } return 0; } static spIkConstraintData* _sspine_lookup_ikconstraint_data(uint32_t skeleton_id, int iktarget_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data && skeleton->sp_skel_data->ikConstraints); if ((iktarget_index >= 0) && (iktarget_index < skeleton->sp_skel_data->ikConstraintsCount)) { return skeleton->sp_skel_data->ikConstraints[iktarget_index]; } } return 0; } static spSkin* _sspine_lookup_skin(uint32_t skeleton_id, int skin_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data && skeleton->sp_skel_data->skins); if ((skin_index >= 0) && (skin_index < skeleton->sp_skel_data->skinsCount)) { return skeleton->sp_skel_data->skins[skin_index]; } } return 0; } // ███████ ██ ██ ██ ███ ██ ███████ ███████ ████████ // ██ ██ ██ ██ ████ ██ ██ ██ ██ // ███████ █████ ██ ██ ██ ██ ███████ █████ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██ ██ ██ ████ ███████ ███████ ██ // // >>skinset static void _sspine_setup_skinset_pool(int pool_size) { _sspine_skinset_pool_t* p = &_sspine.skinset_pool; _sspine_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_sspine_skinset_t)); } static void _sspine_discard_skinset_pool(void) { _sspine_skinset_pool_t* p = &_sspine.skinset_pool; _sspine_discard_item_pool(&p->pool, (void**)&p->items); } static sspine_skinset _sspine_make_skinset_handle(uint32_t id) { sspine_skinset handle = { id }; return handle; } static _sspine_skinset_t* _sspine_skinset_at(uint32_t id) { SOKOL_ASSERT(SSPINE_INVALID_ID != id); const _sspine_skinset_pool_t* p = &_sspine.skinset_pool; int slot_index = _sspine_slot_index(id); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _sspine_skinset_t* _sspine_lookup_skinset(uint32_t id) { if (SSPINE_INVALID_ID != id) { _sspine_skinset_t* skinset = _sspine_skinset_at(id); if (skinset->slot.id == id) { return skinset; } } return 0; } static sspine_skinset _sspine_alloc_skinset(void) { _sspine_skinset_pool_t* p = &_sspine.skinset_pool; int slot_index = _sspine_pool_alloc_index(&p->pool); if (_SSPINE_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _sspine_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _sspine_make_skinset_handle(id); } else { // pool exhausted return _sspine_make_skinset_handle(SSPINE_INVALID_ID); } } static sspine_resource_state _sspine_init_skinset(_sspine_skinset_t* skinset, const sspine_skinset_desc* desc) { SOKOL_ASSERT(skinset && (skinset->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); if (desc->skeleton.id == SSPINE_INVALID_ID) { _SSPINE_ERROR(SKINSET_DESC_NO_SKELETON); return SSPINE_RESOURCESTATE_FAILED; } skinset->skel.id = desc->skeleton.id; skinset->skel.ptr = _sspine_lookup_skeleton(desc->skeleton.id); if (!_sspine_skeleton_ref_valid(&skinset->skel)) { _SSPINE_ERROR(SKINSET_SKELETON_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } _sspine_skeleton_t* skel = skinset->skel.ptr; if (SSPINE_RESOURCESTATE_VALID != skel->slot.state) { _SSPINE_ERROR(SKINSET_SKELETON_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } SOKOL_ASSERT(skel->sp_skel_data); skinset->sp_skin = spSkin_create("skinset"); for (int i = 0; i < SSPINE_MAX_SKINSET_SKINS; i++) { if (desc->skins[i].skeleton_id != SSPINE_INVALID_ID) { spSkin* skin = _sspine_lookup_skin(desc->skins[i].skeleton_id, desc->skins[i].index); if (0 == skin) { _SSPINE_ERROR(SKINSET_INVALID_SKIN_HANDLE); return SSPINE_RESOURCESTATE_FAILED; } spSkin_addSkin(skinset->sp_skin, skin); } } return SSPINE_RESOURCESTATE_VALID; } static void _sspine_deinit_skinset(_sspine_skinset_t* skinset) { if (skinset->sp_skin) { spSkin_clear(skinset->sp_skin); spSkin_dispose(skinset->sp_skin); skinset->sp_skin = 0; } } static void _sspine_destroy_skinset(sspine_skinset skinset_id) { _sspine_skinset_t* skinset = _sspine_lookup_skinset(skinset_id.id); if (skinset) { _sspine_deinit_skinset(skinset); _sspine_skinset_pool_t* p = &_sspine.skinset_pool; _sspine_clear(skinset, sizeof(_sspine_skinset_t)); _sspine_pool_free_index(&p->pool, _sspine_slot_index(skinset_id.id)); } } static void _sspine_destroy_all_skinsets(void) { _sspine_skinset_pool_t* p = &_sspine.skinset_pool; for (int i = 0; i < p->pool.size; i++) { _sspine_skinset_t* skinset = &p->items[i]; _sspine_destroy_skinset(_sspine_make_skinset_handle(skinset->slot.id)); } } static sspine_skinset_desc _sspine_skinset_desc_defaults(const sspine_skinset_desc* desc) { sspine_skinset_desc res = *desc; return res; } // ██ ███ ██ ███████ ████████ █████ ███ ██ ██████ ███████ // ██ ████ ██ ██ ██ ██ ██ ████ ██ ██ ██ // ██ ██ ██ ██ ███████ ██ ███████ ██ ██ ██ ██ █████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ████ ███████ ██ ██ ██ ██ ████ ██████ ███████ // // >>instance static void _sspine_setup_instance_pool(int pool_size) { _sspine_instance_pool_t* p = &_sspine.instance_pool; _sspine_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_sspine_instance_t)); } static void _sspine_discard_instance_pool(void) { _sspine_instance_pool_t* p = &_sspine.instance_pool; _sspine_discard_item_pool(&p->pool, (void**)&p->items); } static sspine_instance _sspine_make_instance_handle(uint32_t id) { sspine_instance handle = { id }; return handle; } static _sspine_instance_t* _sspine_instance_at(uint32_t id) { SOKOL_ASSERT(SSPINE_INVALID_ID != id); const _sspine_instance_pool_t* p = &_sspine.instance_pool; int slot_index = _sspine_slot_index(id); SOKOL_ASSERT((slot_index > _SSPINE_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _sspine_instance_t* _sspine_lookup_instance(uint32_t id) { if (SSPINE_INVALID_ID != id) { _sspine_instance_t* instance = _sspine_instance_at(id); if (instance->slot.id == id) { return instance; } } return 0; } static sspine_instance _sspine_alloc_instance(void) { _sspine_instance_pool_t* p = &_sspine.instance_pool; sspine_instance res; int slot_index = _sspine_pool_alloc_index(&p->pool); if (_SSPINE_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _sspine_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); res = _sspine_make_instance_handle(id); } else { // pool exhausted res = _sspine_make_instance_handle(SSPINE_INVALID_ID); } return res; } static void _sspine_rewind_triggered_events(_sspine_instance_t* instance) { instance->cur_triggered_event_index = 0; _sspine_clear(instance->triggered_events, sizeof(instance->triggered_events)); } static sspine_triggered_event_info* _sspine_next_triggered_event_info(_sspine_instance_t* instance) { if (instance->cur_triggered_event_index < _SSPINE_MAX_TRIGGERED_EVENTS) { return &instance->triggered_events[instance->cur_triggered_event_index++]; } else { return 0; } } static void _sspine_event_listener(spAnimationState* sp_anim_state, spEventType sp_event_type, spTrackEntry* sp_track_entry, spEvent* sp_event) { if (sp_event_type == SP_ANIMATION_EVENT) { SOKOL_ASSERT(sp_anim_state && sp_track_entry && sp_event); (void)sp_track_entry; SOKOL_ASSERT(sp_event->data && sp_event->data->name); _sspine_instance_t* instance = _sspine_lookup_instance((uint32_t)(uintptr_t)sp_anim_state->userData); if (_sspine_instance_and_deps_valid(instance)) { sspine_triggered_event_info* info = _sspine_next_triggered_event_info(instance); if (info) { // FIXME: this sucks, but we really need the event index _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(instance->skel.id); SOKOL_ASSERT(skeleton && skeleton->sp_skel_data->events); const spEventData* sp_event_data = sp_event->data; for (int i = 0; i < skeleton->sp_skel_data->eventsCount; i++) { if (sp_event_data == skeleton->sp_skel_data->events[i]) { info->event = _sspine_event(skeleton->slot.id, i); break; } } SOKOL_ASSERT(info->event.skeleton_id != SSPINE_INVALID_ID); info->valid = true; info->time = sp_event->time; info->int_value = sp_event->intValue; info->float_value = sp_event->floatValue; info->volume = sp_event->volume; info->balance = sp_event->balance; info->string_value = _sspine_string(sp_event->stringValue); if (info->string_value.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } } } } static sspine_resource_state _sspine_init_instance(_sspine_instance_t* instance, const sspine_instance_desc* desc) { SOKOL_ASSERT(instance && (instance->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); if (desc->skeleton.id == SSPINE_INVALID_ID) { _SSPINE_ERROR(INSTANCE_DESC_NO_SKELETON); return SSPINE_RESOURCESTATE_FAILED; } instance->skel.id = desc->skeleton.id; instance->skel.ptr = _sspine_lookup_skeleton(instance->skel.id); if (!_sspine_skeleton_ref_valid(&instance->skel)) { _SSPINE_ERROR(INSTANCE_SKELETON_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } _sspine_skeleton_t* skel = instance->skel.ptr; if (SSPINE_RESOURCESTATE_VALID != skel->slot.state) { _SSPINE_ERROR(INSTANCE_SKELETON_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } instance->atlas = skel->atlas; if (!_sspine_atlas_ref_valid(&instance->atlas)) { _SSPINE_ERROR(INSTANCE_ATLAS_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } if (SSPINE_RESOURCESTATE_VALID != instance->atlas.ptr->slot.state) { _SSPINE_ERROR(INSTANCE_ATLAS_NOT_VALID); return SSPINE_RESOURCESTATE_FAILED; } SOKOL_ASSERT(skel->sp_skel_data); SOKOL_ASSERT(skel->sp_anim_data); instance->sp_skel = spSkeleton_create(skel->sp_skel_data); if (0 == instance->sp_skel) { _SSPINE_ERROR(SPINE_SKELETON_CREATION_FAILED); return SSPINE_RESOURCESTATE_FAILED; } instance->sp_anim_state = spAnimationState_create(skel->sp_anim_data); if (0 == instance->sp_anim_state) { _SSPINE_ERROR(SPINE_ANIMATIONSTATE_CREATION_FAILED); return SSPINE_RESOURCESTATE_FAILED; } instance->sp_clip = spSkeletonClipping_create(); if (0 == instance->sp_clip) { _SSPINE_ERROR(SPINE_SKELETONCLIPPING_CREATION_FAILED); return SSPINE_RESOURCESTATE_FAILED; } instance->sp_anim_state->userData = (void*)(uintptr_t)instance->slot.id; instance->sp_anim_state->listener = _sspine_event_listener; spSkeleton_setToSetupPose(instance->sp_skel); spAnimationState_update(instance->sp_anim_state, 0.0f); spAnimationState_apply(instance->sp_anim_state, instance->sp_skel); spSkeleton_updateWorldTransform(instance->sp_skel); return SSPINE_RESOURCESTATE_VALID; } static void _sspine_deinit_instance(_sspine_instance_t* instance) { if (instance->sp_clip) { spSkeletonClipping_dispose(instance->sp_clip); instance->sp_clip = 0; } if (instance->sp_anim_state) { spAnimationState_dispose(instance->sp_anim_state); instance->sp_anim_state = 0; } if (instance->sp_skel) { spSkeleton_dispose(instance->sp_skel); instance->sp_skel = 0; } } static void _sspine_destroy_instance(sspine_instance instance_id) { _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (instance) { _sspine_deinit_instance(instance); _sspine_instance_pool_t* p = &_sspine.instance_pool; _sspine_clear(instance, sizeof(_sspine_instance_t)); _sspine_pool_free_index(&p->pool, _sspine_slot_index(instance_id.id)); } } static void _sspine_destroy_all_instances(void) { _sspine_instance_pool_t* p = &_sspine.instance_pool; for (int i = 0; i < p->pool.size; i++) { _sspine_instance_t* instance = &p->items[i]; _sspine_destroy_instance(_sspine_make_instance_handle(instance->slot.id)); } } static spAnimation* _sspine_lookup_skeleton_anim(uint32_t skeleton_id, int anim_index) { _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); if ((anim_index >= 0) && (anim_index < skeleton->sp_skel_data->animationsCount)) { return skeleton->sp_skel_data->animations[anim_index]; } } return 0; } static spAnimation* _sspine_lookup_instance_anim(uint32_t instance_id, uint32_t skeleton_id, int anim_index) { _sspine_instance_t* instance = _sspine_lookup_instance(instance_id); if (_sspine_instance_and_deps_valid(instance) && (instance->skel.id == skeleton_id)) { SOKOL_ASSERT(instance->sp_skel && instance->sp_skel->data); if ((anim_index >= 0) && (anim_index < instance->sp_skel->data->animationsCount)) { return instance->sp_skel->data->animations[anim_index]; } } return 0; } static spBone* _sspine_lookup_bone(uint32_t instance_id, uint32_t skeleton_id, int bone_index) { _sspine_instance_t* instance = _sspine_lookup_instance(instance_id); if (_sspine_instance_and_deps_valid(instance) && (instance->skel.id == skeleton_id)) { SOKOL_ASSERT(instance->sp_skel && instance->sp_skel->bones); if ((bone_index >= 0) && (bone_index <= instance->sp_skel->bonesCount)) { return instance->sp_skel->bones[bone_index]; } } return 0; } static spSlot* _sspine_lookup_slot(uint32_t instance_id, uint32_t skeleton_id, int slot_index) { _sspine_instance_t* instance = _sspine_lookup_instance(instance_id); if (_sspine_instance_and_deps_valid(instance) && (instance->skel.id == skeleton_id)) { SOKOL_ASSERT(instance->sp_skel && instance->sp_skel->slots); if ((slot_index >= 0) && (slot_index <= instance->sp_skel->slotsCount)) { return instance->sp_skel->slots[slot_index]; } } return 0; } static spIkConstraint* _sspine_lookup_ikconstraint(uint32_t instance_id, uint32_t skeleton_id, int iktarget_index) { _sspine_instance_t* instance = _sspine_lookup_instance(instance_id); if (_sspine_instance_and_deps_valid(instance) && (instance->skel.id == skeleton_id)) { SOKOL_ASSERT(instance->sp_skel && instance->sp_skel->ikConstraints); if ((iktarget_index >= 0) && (iktarget_index < instance->sp_skel->ikConstraintsCount)) { return instance->sp_skel->ikConstraints[iktarget_index]; } } return 0; } static sspine_instance_desc _sspine_instance_desc_defaults(const sspine_instance_desc* desc) { sspine_instance_desc res = *desc; return res; } // ██████ ██████ █████ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██████ ███████ ██ █ ██ // ██ ██ ██ ██ ██ ██ ██ ███ ██ // ██████ ██ ██ ██ ██ ███ ███ // // >>draw static void _sspine_check_rewind_commands(_sspine_context_t* ctx) { if (_sspine.frame_id != ctx->commands.rewind_frame_id) { ctx->commands.next = 0; ctx->commands.rewind_frame_id = _sspine.frame_id; } } static _sspine_command_t* _sspine_next_command(_sspine_context_t* ctx) { _sspine_check_rewind_commands(ctx); if (ctx->commands.next < ctx->commands.cap) { return &(ctx->commands.ptr[ctx->commands.next++]); } else { _SSPINE_ERROR(COMMAND_BUFFER_FULL); return 0; } } static _sspine_command_t* _sspine_cur_command(_sspine_context_t* ctx) { _sspine_check_rewind_commands(ctx); if (ctx->commands.next > 0) { return &ctx->commands.ptr[ctx->commands.next - 1]; } else { return 0; } } static void _sspine_check_rewind_vertices(_sspine_context_t* ctx) { if (_sspine.frame_id != ctx->vertices.rewind_frame_id) { ctx->vertices.next = 0; ctx->vertices.rewind_frame_id = _sspine.frame_id; } } static _sspine_alloc_vertices_result_t _sspine_alloc_vertices(_sspine_context_t* ctx, int num) { _sspine_check_rewind_vertices(ctx); _sspine_alloc_vertices_result_t res; _sspine_clear(&res, sizeof(res)); if ((ctx->vertices.next + num) <= ctx->vertices.cap) { res.ptr = &(ctx->vertices.ptr[ctx->vertices.next]); res.index = ctx->vertices.next; ctx->vertices.next += num; } else { _SSPINE_ERROR(VERTEX_BUFFER_FULL); } return res; } static void _sspine_check_rewind_indices(_sspine_context_t* ctx) { if (_sspine.frame_id != ctx->indices.rewind_frame_id) { ctx->indices.next = 0; ctx->indices.rewind_frame_id = _sspine.frame_id; } } static _sspine_alloc_indices_result_t _sspine_alloc_indices(_sspine_context_t* ctx, int num) { _sspine_check_rewind_indices(ctx); _sspine_alloc_indices_result_t res; _sspine_clear(&res, sizeof(res)); if ((ctx->indices.next + num) <= ctx->indices.cap) { res.ptr = &(ctx->indices.ptr[ctx->indices.next]); res.index = ctx->indices.next; ctx->indices.next += num; } else { _SSPINE_ERROR(INDEX_BUFFER_FULL); } return res; } static void _sspine_draw_instance(_sspine_context_t* ctx, _sspine_instance_t* instance, int layer) { SOKOL_ASSERT(_sspine_instance_and_deps_valid(instance)); SOKOL_ASSERT(instance->sp_skel); SOKOL_ASSERT(instance->sp_anim_state); SOKOL_ASSERT(instance->sp_clip); // see: https://github.com/EsotericSoftware/spine-runtimes/blob/4.1/spine-sdl/src/spine-sdl-c.c const spSkeleton* sp_skel = instance->sp_skel; float* tform_buf = (float*)instance->skel.ptr->tform_buf.ptr; const int max_tform_buf_verts = instance->skel.ptr->tform_buf.cap; SOKOL_UNUSED(max_tform_buf_verts); // only used in asserts const int tform_buf_stride = 2; // each element is 2 floats spSkeletonClipping* sp_clip = instance->sp_clip; for (int slot_index = 0; slot_index < sp_skel->slotsCount; slot_index++) { spSlot* sp_slot = sp_skel->drawOrder[slot_index]; if (!sp_slot->attachment) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } // early out if the slot alpha is 0 or the bone is not active // FIXME: does alpha 0 actually mean 'invisible' for all blend modes? if ((sp_slot->color.a == 0) || (!sp_slot->bone->active)) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } int num_vertices = 0; float* uvs = 0; float* vertices = 0; int num_indices = 0; const uint16_t* indices = 0; const spColor* att_color = 0; sg_image img = { SG_INVALID_ID }; sg_sampler smp = { SG_INVALID_ID }; bool premul_alpha = false; if (sp_slot->attachment->type == SP_ATTACHMENT_REGION) { static const uint16_t quad_indices[] = { 0, 1, 2, 2, 3, 0 }; spRegionAttachment* region = (spRegionAttachment*)sp_slot->attachment; att_color = &region->color; // FIXME(?) early out if the slot alpha is 0 if (att_color->a == 0) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } spRegionAttachment_computeWorldVertices(region, sp_slot, tform_buf, 0, tform_buf_stride); vertices = tform_buf; num_vertices = 4; indices = &quad_indices[0]; num_indices = 6; uvs = region->uvs; const spAtlasPage* sp_page = ((spAtlasRegion*)region->rendererObject)->page; img = _sspine_image_from_renderer_object(sp_page->rendererObject); smp = _sspine_sampler_from_renderer_object(sp_page->rendererObject); premul_alpha = sp_page->pma != 0; } else if (sp_slot->attachment->type == SP_ATTACHMENT_MESH) { spMeshAttachment* mesh = (spMeshAttachment*)sp_slot->attachment; att_color = &mesh->color; // FIXME(?) early out if the slot alpha is 0 if (att_color->a == 0) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } const int num_floats = mesh->super.worldVerticesLength; num_vertices = num_floats / 2; SOKOL_ASSERT(num_vertices <= max_tform_buf_verts); spVertexAttachment_computeWorldVertices(&mesh->super, sp_slot, 0, num_floats, tform_buf, 0, tform_buf_stride); vertices = tform_buf; indices = mesh->triangles; num_indices = mesh->trianglesCount; // actually indicesCount??? uvs = mesh->uvs; const spAtlasPage* sp_page = ((spAtlasRegion*)mesh->rendererObject)->page; img = _sspine_image_from_renderer_object(sp_page->rendererObject); smp = _sspine_sampler_from_renderer_object(sp_page->rendererObject); premul_alpha = sp_page->pma != 0; } else if (sp_slot->attachment->type == SP_ATTACHMENT_CLIPPING) { spClippingAttachment* clip_attachment = (spClippingAttachment*) sp_slot->attachment; spSkeletonClipping_clipStart(sp_clip, sp_slot, clip_attachment); continue; } else { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } SOKOL_ASSERT(vertices && (num_vertices > 0)); SOKOL_ASSERT(indices && (num_indices > 0)); SOKOL_ASSERT(uvs); SOKOL_ASSERT(img.id != SG_INVALID_ID); SOKOL_ASSERT(smp.id != SG_INVALID_ID); if (spSkeletonClipping_isClipping(sp_clip)) { spSkeletonClipping_clipTriangles(sp_clip, tform_buf, num_vertices * 2, (uint16_t*)indices, num_indices, uvs, tform_buf_stride); vertices = sp_clip->clippedVertices->items; num_vertices = sp_clip->clippedVertices->size / 2; uvs = sp_clip->clippedUVs->items; indices = sp_clip->clippedTriangles->items; num_indices = sp_clip->clippedTriangles->size; } SOKOL_ASSERT(vertices); SOKOL_ASSERT(indices); SOKOL_ASSERT(uvs); // there might be no geometry to render after clipping if ((0 == num_vertices) || (0 == num_indices)) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } const _sspine_alloc_vertices_result_t dst_vertices = _sspine_alloc_vertices(ctx, num_vertices); const _sspine_alloc_indices_result_t dst_indices = _sspine_alloc_indices(ctx, num_indices); if ((0 == dst_vertices.ptr) || (0 == dst_indices.ptr)) { spSkeletonClipping_clipEnd(sp_clip, sp_slot); continue; } // write transformed and potentially clipped vertices and indices const uint8_t r = (uint8_t)(sp_skel->color.r * sp_slot->color.r * att_color->r * 255.0f); const uint8_t g = (uint8_t)(sp_skel->color.g * sp_slot->color.g * att_color->g * 255.0f); const uint8_t b = (uint8_t)(sp_skel->color.b * sp_slot->color.b * att_color->b * 255.0f); const uint8_t a = (uint8_t)(sp_skel->color.a * sp_slot->color.a * att_color->a * 255.0f); const uint32_t color = (((uint32_t)a<<24) | ((uint32_t)b<<16) | ((uint32_t)g<<8) | (uint32_t)r); for (int vi = 0; vi < num_vertices; vi++) { dst_vertices.ptr[vi].pos.x = vertices[vi*2]; dst_vertices.ptr[vi].pos.y = vertices[vi*2 + 1]; dst_vertices.ptr[vi].color = color; dst_vertices.ptr[vi].uv.x = uvs[vi*2]; dst_vertices.ptr[vi].uv.y = uvs[vi*2 + 1]; } for (int ii = 0; ii < num_indices; ii++) { dst_indices.ptr[ii] = (uint32_t)indices[ii] + (uint32_t)dst_vertices.index; } sg_pipeline pip = { SG_INVALID_ID }; // NOTE: pma == 0.0: use color from texture as is // pma == 1.0: multiply texture rgb by texture alpha in fragment shader float pma = 0.0f; switch (sp_slot->data->blendMode) { case SP_BLEND_MODE_NORMAL: case SP_BLEND_MODE_ADDITIVE: case SP_BLEND_MODE_SCREEN: pip = ctx->pip.normal_additive; pma = premul_alpha ? 0.0f : 1.0f; // NOT A BUG break; case SP_BLEND_MODE_MULTIPLY: pip = ctx->pip.multiply; pma = 0.0f; // always use texture color as is break; } // write new draw command, or merge with current draw command _sspine_command_t* cur_cmd = _sspine_cur_command(ctx); if (cur_cmd && (cur_cmd->layer == layer) && (cur_cmd->pip.id == pip.id) && (cur_cmd->img.id == img.id) && (cur_cmd->smp.id == smp.id) && (cur_cmd->pma == pma)) { // merge with current command cur_cmd->num_elements += num_indices; } else { // record a new command _sspine_command_t* cmd_ptr = _sspine_next_command(ctx); if (cmd_ptr) { cmd_ptr->layer = layer; cmd_ptr->pip = pip; cmd_ptr->img = img; cmd_ptr->smp = smp; cmd_ptr->pma = pma; cmd_ptr->base_element = dst_indices.index; cmd_ptr->num_elements = num_indices; } } spSkeletonClipping_clipEnd(sp_clip, sp_slot); } spSkeletonClipping_clipEnd2(sp_clip); } // compute orthographic projection matrix static void _sspine_layer_transform_to_proj(const sspine_layer_transform* tform, float* res) { const float left = -tform->origin.x; const float right = tform->size.x - tform->origin.x; const float top = -tform->origin.y; const float bottom = tform->size.y - tform->origin.y; const float znear = -1.0f; const float zfar = 1.0f; res[0] = 2.0f / (right - left); res[1] = 0.0f; res[2] = 0.0f; res[3] = 0.0f; res[4] = 0.0f; res[5] = 2.0f / (top - bottom); res[6] = 0.0f; res[7] = 0.0f; res[8] = 0.0f; res[9] = 0.0f; res[10] = -2.0f / (zfar - znear); res[11] = 0.0f; res[12] = -(right + left) / (right - left); res[13] = -(top + bottom) / (top - bottom); res[14] = -(zfar + znear) / (zfar - znear); res[15] = 1.0f; } static _sspine_vsparams_t _sspine_compute_vsparams(const sspine_layer_transform* tform) { _sspine_vsparams_t p; _sspine_clear(&p, sizeof(p)); _sspine_layer_transform_to_proj(tform, p.mvp); return p; } static void _sspine_draw_layer(_sspine_context_t* ctx, int layer, const sspine_layer_transform* tform) { if ((ctx->vertices.next > 0) && (ctx->commands.next > 0)) { sg_push_debug_group("sokol-spine"); if (ctx->update_frame_id != _sspine.frame_id) { ctx->update_frame_id = _sspine.frame_id; const sg_range vtx_range = { ctx->vertices.ptr, (size_t)ctx->vertices.next * sizeof(_sspine_vertex_t) }; sg_update_buffer(ctx->vbuf, &vtx_range); const sg_range idx_range = { ctx->indices.ptr, (size_t)ctx->indices.next * sizeof(uint32_t) }; sg_update_buffer(ctx->ibuf, &idx_range); } _sspine_vsparams_t vsparams = _sspine_compute_vsparams(tform); const sg_range vsparams_range = { &vsparams, sizeof(vsparams) }; _sspine_fsparams_t fsparams; _sspine_clear(&fsparams, sizeof(fsparams)); const sg_range fsparams_range = { &fsparams, sizeof(fsparams) }; uint32_t cur_pip_id = SG_INVALID_ID; uint32_t cur_img_id = SG_INVALID_ID; uint32_t cur_smp_id = SG_INVALID_ID; float cur_pma = -1.0f; for (int i = 0; i < ctx->commands.next; i++) { const _sspine_command_t* cmd = &ctx->commands.ptr[i]; const bool img_valid = sg_query_image_state(cmd->img) == SG_RESOURCESTATE_VALID; const bool smp_valid = sg_query_sampler_state(cmd->smp) == SG_RESOURCESTATE_VALID; if ((layer == cmd->layer) && img_valid && smp_valid) { if (cur_pip_id != cmd->pip.id) { sg_apply_pipeline(cmd->pip); cur_pip_id = cmd->pip.id; sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, &vsparams_range); cur_img_id = SG_INVALID_ID; } if ((cur_img_id != cmd->img.id) || (cur_smp_id != cmd->smp.id)) { ctx->bind.fs.images[0] = cmd->img; ctx->bind.fs.samplers[0] = cmd->smp; sg_apply_bindings(&ctx->bind); cur_img_id = cmd->img.id; cur_smp_id = cmd->smp.id; } if (cur_pma != cmd->pma) { fsparams.pma = cmd->pma; sg_apply_uniforms(SG_SHADERSTAGE_FS, 0, &fsparams_range); cur_pma = cmd->pma; } if (cmd->num_elements > 0) { sg_draw(cmd->base_element, cmd->num_elements, 1); } } } sg_pop_debug_group(); } } // ███ ███ ██ ███████ ██████ // ████ ████ ██ ██ ██ // ██ ████ ██ ██ ███████ ██ // ██ ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ██████ // // >>misc // return sspine_desc with patched defaults static sspine_desc _sspine_desc_defaults(const sspine_desc* desc) { SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); sspine_desc res = *desc; res.max_vertices = _sspine_def(desc->max_vertices, _SSPINE_DEFAULT_MAX_VERTICES); res.max_commands = _sspine_def(desc->max_commands, _SSPINE_DEFAULT_MAX_COMMANDS); res.context_pool_size = _sspine_def(desc->context_pool_size, _SSPINE_DEFAULT_CONTEXT_POOL_SIZE); res.atlas_pool_size = _sspine_def(desc->atlas_pool_size, _SSPINE_DEFAULT_ATLAS_POOL_SIZE); res.skeleton_pool_size = _sspine_def(desc->skeleton_pool_size, _SSPINE_DEFAULT_SKELETON_POOL_SIZE); res.skinset_pool_size = _sspine_def(desc->skinset_pool_size, _SSPINE_DEFAULT_SKINSET_POOL_SIZE); res.instance_pool_size = _sspine_def(desc->instance_pool_size, _SSPINE_DEFAULT_INSTANCE_POOL_SIZE); return res; } static sspine_context_desc _sspine_as_context_desc(const sspine_desc* desc) { sspine_context_desc ctx_desc; _sspine_clear(&ctx_desc, sizeof(ctx_desc)); ctx_desc.max_vertices = desc->max_vertices; ctx_desc.max_commands = desc->max_commands; ctx_desc.color_format = desc->color_format; ctx_desc.depth_format = desc->depth_format; ctx_desc.sample_count = desc->sample_count; ctx_desc.color_write_mask = desc->color_write_mask; return ctx_desc; } static sg_filter _sspine_as_sampler_filter(spAtlasFilter filter) { switch (filter) { case SP_ATLAS_UNKNOWN_FILTER: return _SG_FILTER_DEFAULT; case SP_ATLAS_NEAREST: return SG_FILTER_NEAREST; case SP_ATLAS_LINEAR: return SG_FILTER_LINEAR; case SP_ATLAS_MIPMAP: return SG_FILTER_LINEAR; case SP_ATLAS_MIPMAP_NEAREST_NEAREST: return SG_FILTER_NEAREST; case SP_ATLAS_MIPMAP_LINEAR_NEAREST: return SG_FILTER_LINEAR; case SP_ATLAS_MIPMAP_NEAREST_LINEAR: return SG_FILTER_NEAREST; case SP_ATLAS_MIPMAP_LINEAR_LINEAR: return SG_FILTER_LINEAR; default: return SG_FILTER_LINEAR; } } static sg_filter _sspine_as_sampler_mipmap_filter(spAtlasFilter filter) { switch (filter) { case SP_ATLAS_UNKNOWN_FILTER: return _SG_FILTER_DEFAULT; case SP_ATLAS_NEAREST: case SP_ATLAS_LINEAR: case SP_ATLAS_MIPMAP: case SP_ATLAS_MIPMAP_NEAREST_NEAREST: case SP_ATLAS_MIPMAP_LINEAR_NEAREST: return SG_FILTER_NEAREST; case SP_ATLAS_MIPMAP_NEAREST_LINEAR: case SP_ATLAS_MIPMAP_LINEAR_LINEAR: return SG_FILTER_LINEAR; default: return SG_FILTER_NEAREST; } } static sg_wrap _sspine_as_sampler_wrap(spAtlasWrap wrap) { switch (wrap) { case SP_ATLAS_MIRROREDREPEAT: return SG_WRAP_MIRRORED_REPEAT; case SP_ATLAS_CLAMPTOEDGE: return SG_WRAP_CLAMP_TO_EDGE; case SP_ATLAS_REPEAT: return SG_WRAP_REPEAT; default: return _SG_WRAP_DEFAULT; } } static void _sspine_init_image_info(const _sspine_atlas_t* atlas, int index, sspine_image_info* info, bool with_overrides) { spAtlasPage* page = _sspine_lookup_atlas_page(atlas->slot.id, index); SOKOL_ASSERT(page); SOKOL_ASSERT(page->name); info->valid = true; info->sgimage = _sspine_image_from_renderer_object(page->rendererObject); info->sgsampler = _sspine_sampler_from_renderer_object(page->rendererObject); if (with_overrides && (atlas->overrides.min_filter != _SG_FILTER_DEFAULT)) { info->min_filter = atlas->overrides.min_filter; } else { info->min_filter = _sspine_as_sampler_filter(page->minFilter); } if (with_overrides && (atlas->overrides.mag_filter != _SG_FILTER_DEFAULT)) { info->mag_filter = atlas->overrides.mag_filter; } else { info->mag_filter = _sspine_as_sampler_filter(page->magFilter); } if (with_overrides && (atlas->overrides.mipmap_filter != _SG_FILTER_DEFAULT)) { info->mipmap_filter = atlas->overrides.mipmap_filter; } else { info->mipmap_filter = _sspine_as_sampler_mipmap_filter(page->minFilter); } if (with_overrides && (atlas->overrides.wrap_u != _SG_WRAP_DEFAULT)) { info->wrap_u = atlas->overrides.wrap_u; } else { info->wrap_u = _sspine_as_sampler_wrap(page->uWrap); } if (with_overrides && (atlas->overrides.wrap_v != _SG_WRAP_DEFAULT)) { info->wrap_v = atlas->overrides.wrap_v; } else { info->wrap_v = _sspine_as_sampler_wrap(page->vWrap); } info->width = page->width; info->height = page->height; // NOTE: override already happened in atlas init info->premul_alpha = page->pma != 0; info->filename = _sspine_string(page->name); if (info->filename.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } static void _sspine_init_shared(void) { sg_shader_desc shd_desc; _sspine_clear(&shd_desc, sizeof(shd_desc)); shd_desc.attrs[0].name = "position"; shd_desc.attrs[1].name = "texcoord0"; shd_desc.attrs[2].name = "color0"; shd_desc.attrs[0].sem_name = "TEXCOORD"; shd_desc.attrs[0].sem_index = 0; shd_desc.attrs[1].sem_name = "TEXCOORD"; shd_desc.attrs[1].sem_index = 1; shd_desc.attrs[2].sem_name = "TEXCOORD"; shd_desc.attrs[2].sem_index = 2; shd_desc.vs.uniform_blocks[0].size = sizeof(_sspine_vsparams_t); shd_desc.vs.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140; shd_desc.vs.uniform_blocks[0].uniforms[0].name = "vs_params"; shd_desc.vs.uniform_blocks[0].uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; shd_desc.vs.uniform_blocks[0].uniforms[0].array_count = 4; shd_desc.fs.uniform_blocks[0].size = 16; shd_desc.fs.uniform_blocks[0].layout = SG_UNIFORMLAYOUT_STD140; shd_desc.fs.uniform_blocks[0].uniforms[0].name = "fs_params"; shd_desc.fs.uniform_blocks[0].uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; shd_desc.fs.uniform_blocks[0].uniforms[0].array_count = 1; shd_desc.fs.images[0].used = true; shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D; shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT; shd_desc.fs.samplers[0].used = true; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING; shd_desc.fs.image_sampler_pairs[0].used = true; shd_desc.fs.image_sampler_pairs[0].image_slot = 0; shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0; shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp"; shd_desc.label = "sspine-shader"; #if defined(SOKOL_GLCORE) shd_desc.vs.source = (const char*)_sspine_vs_source_glsl410; shd_desc.fs.source = (const char*)_sspine_fs_source_glsl410; #elif defined(SOKOL_GLES3) shd_desc.vs.source = (const char*)_sspine_vs_source_glsl300es; shd_desc.fs.source = (const char*)_sspine_fs_source_glsl300es; #elif defined(SOKOL_METAL) shd_desc.vs.entry = "main0"; shd_desc.fs.entry = "main0"; switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: shd_desc.vs.bytecode = SG_RANGE(_sspine_vs_bytecode_metal_macos); shd_desc.fs.bytecode = SG_RANGE(_sspine_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: shd_desc.vs.bytecode = SG_RANGE(_sspine_vs_bytecode_metal_ios); shd_desc.fs.bytecode = SG_RANGE(_sspine_fs_bytecode_metal_ios); break; default: shd_desc.vs.source = (const char*)_sspine_vs_source_metal_sim; shd_desc.fs.source = (const char*)_sspine_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) shd_desc.vs.bytecode = SG_RANGE(_sspine_vs_bytecode_hlsl4); shd_desc.fs.bytecode = SG_RANGE(_sspine_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) shd_desc.vs.source = (const char*)_sspine_vs_source_wgsl; shd_desc.fs.source = (const char*)_sspine_fs_source_wgsl; #else shd_desc.vs.source = _sspine_vs_source_dummy; shd_desc.fs.source = _sspine_fs_source_dummy; #endif _sspine.shd = sg_make_shader(&shd_desc); } static void _sspine_destroy_shared(void) { sg_destroy_shader(_sspine.shd); } // called from inside sokol-gfx sg_commit() static void _sspine_commit_listener_func(void* userdata) { (void)userdata; SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine.frame_id++; } static sg_commit_listener _sspine_make_commit_listener(void) { sg_commit_listener commit_listener = { _sspine_commit_listener_func, 0 }; return commit_listener; } // ██████ ██ ██ ██████ ██ ██ ██████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██████ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ ██ ██████ // // >>public SOKOL_API_IMPL void sspine_setup(const sspine_desc* desc) { SOKOL_ASSERT(desc); spBone_setYDown(1); _sspine_clear(&_sspine, sizeof(_sspine)); _sspine.init_cookie = _SSPINE_INIT_COOKIE; _sspine.desc = _sspine_desc_defaults(desc); _sspine_init_shared(); // important, need to setup the frame id with a non-zero value, // otherwise updates won't trigger in the first frame _sspine.frame_id = 1; _sspine_setup_context_pool(_sspine.desc.context_pool_size); _sspine_setup_atlas_pool(_sspine.desc.atlas_pool_size); _sspine_setup_skeleton_pool(_sspine.desc.skeleton_pool_size); _sspine_setup_skinset_pool(_sspine.desc.skinset_pool_size); _sspine_setup_instance_pool(_sspine.desc.instance_pool_size); const sspine_context_desc ctx_desc = _sspine_as_context_desc(&_sspine.desc); _sspine.def_ctx_id = sspine_make_context(&ctx_desc); SOKOL_ASSERT(_sspine_is_default_context(_sspine.def_ctx_id)); sspine_set_context(_sspine.def_ctx_id); if (!sg_add_commit_listener(_sspine_make_commit_listener())) { _SSPINE_ERROR(ADD_COMMIT_LISTENER_FAILED); } } SOKOL_API_IMPL void sspine_shutdown(void) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sg_remove_commit_listener(_sspine_make_commit_listener()); _sspine_destroy_all_instances(); _sspine_destroy_all_skinsets(); _sspine_destroy_all_skeletons(); _sspine_destroy_all_atlases(); _sspine_destroy_all_contexts(); _sspine_discard_instance_pool(); _sspine_discard_skinset_pool(); _sspine_discard_skeleton_pool(); _sspine_discard_atlas_pool(); _sspine_discard_context_pool(); _sspine_destroy_shared(); _sspine.init_cookie = 0; } SOKOL_API_IMPL sspine_context sspine_make_context(const sspine_context_desc* desc) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(desc); const sspine_context_desc desc_def = _sspine_context_desc_defaults(desc); sspine_context ctx_id = _sspine_alloc_context(); _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); if (ctx) { ctx->slot.state = _sspine_init_context(ctx, &desc_def); SOKOL_ASSERT((ctx->slot.state == SSPINE_RESOURCESTATE_VALID) || (ctx->slot.state == SSPINE_RESOURCESTATE_FAILED)); if (ctx->slot.state == SSPINE_RESOURCESTATE_FAILED) { _sspine_deinit_context(ctx); } } else { ctx->slot.state = SSPINE_RESOURCESTATE_FAILED; _SSPINE_ERROR(CONTEXT_POOL_EXHAUSTED); } return ctx_id; } SOKOL_API_IMPL void sspine_destroy_context(sspine_context ctx_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); if (_sspine_is_default_context(ctx_id)) { _SSPINE_ERROR(CANNOT_DESTROY_DEFAULT_CONTEXT); return; } _sspine_destroy_context(ctx_id); // re-validate the current context pointer (this will return a nullptr // if we just destroyed the current context) _sspine.cur_ctx = _sspine_lookup_context(_sspine.cur_ctx_id.id); } SOKOL_API_IMPL void sspine_set_context(sspine_context ctx_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); if (_sspine_is_default_context(ctx_id)) { _sspine.cur_ctx_id = _sspine.def_ctx_id; } else { _sspine.cur_ctx_id = ctx_id; } // this will return null if the handle isn't valid _sspine.cur_ctx = _sspine_lookup_context(_sspine.cur_ctx_id.id); } SOKOL_API_IMPL sspine_context sspine_get_context(void) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return _sspine.cur_ctx_id; } SOKOL_API_IMPL sspine_context sspine_default_context(void) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return _sspine_make_context_handle(0x00010001); } SOKOL_API_IMPL sspine_context_info sspine_get_context_info(sspine_context ctx_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_context_info res; _sspine_clear(&res, sizeof(res)); const _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); if (ctx) { res.num_vertices = ctx->vertices.next; res.num_indices = ctx->indices.next; res.num_commands = ctx->commands.next; } return res; } SOKOL_API_IMPL void sspine_set_skinset(sspine_instance instance_id, sspine_skinset skinset_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); _sspine_skinset_t* skinset = _sspine_lookup_skinset(skinset_id.id); if (_sspine_instance_and_deps_valid(instance) && _sspine_skinset_and_deps_valid(skinset) && (instance->skel.id == skinset->skel.id)) { SOKOL_ASSERT(instance->sp_skel); SOKOL_ASSERT(instance->sp_anim_state); SOKOL_ASSERT(skinset->sp_skin); spSkeleton_setSkin(instance->sp_skel, 0); spSkeleton_setSkin(instance->sp_skel, skinset->sp_skin); spSkeleton_setSlotsToSetupPose(instance->sp_skel); spAnimationState_apply(instance->sp_anim_state, instance->sp_skel); } } SOKOL_API_IMPL void sspine_update_instance(sspine_instance instance_id, float delta_time) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_skel); SOKOL_ASSERT(instance->sp_anim_state); _sspine_rewind_triggered_events(instance); spAnimationState_update(instance->sp_anim_state, delta_time); spAnimationState_apply(instance->sp_anim_state, instance->sp_skel); spSkeleton_updateWorldTransform(instance->sp_skel); } } SOKOL_API_IMPL int sspine_num_triggered_events(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT((instance->cur_triggered_event_index >= 0) && (instance->cur_triggered_event_index <= _SSPINE_MAX_TRIGGERED_EVENTS)); return instance->cur_triggered_event_index; } return 0; } SOKOL_API_IMPL sspine_triggered_event_info sspine_get_triggered_event_info(sspine_instance instance_id, int triggered_event_index) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); sspine_triggered_event_info res; _sspine_clear(&res, sizeof(res)); if (_sspine_instance_and_deps_valid(instance)) { if ((triggered_event_index >= 0) && (triggered_event_index < instance->cur_triggered_event_index)) { res = instance->triggered_events[triggered_event_index]; } } return res; } SOKOL_API_IMPL void sspine_draw_instance_in_layer(sspine_instance instance_id, int layer) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_context_t* ctx = _sspine.cur_ctx; _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (ctx && _sspine_instance_and_deps_valid(instance)) { _sspine_draw_instance(ctx, instance, layer); } } SOKOL_API_IMPL sspine_mat4 sspine_layer_transform_to_mat4(const sspine_layer_transform* tform) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_mat4 res; _sspine_layer_transform_to_proj(tform, res.m); return res; } SOKOL_API_IMPL void sspine_context_draw_instance_in_layer(sspine_context ctx_id, sspine_instance instance_id, int layer) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (ctx && _sspine_instance_and_deps_valid(instance)) { _sspine_draw_instance(ctx, instance, layer); } } SOKOL_API_IMPL void sspine_draw_layer(int layer, const sspine_layer_transform* tform) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(tform); _sspine_context_t* ctx = _sspine.cur_ctx; if (ctx) { _sspine_draw_layer(ctx, layer, tform); } } SOKOL_API_IMPL void sspine_context_draw_layer(sspine_context ctx_id, int layer, const sspine_layer_transform* tform) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(tform); _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); if (ctx) { _sspine_draw_layer(ctx, layer, tform); } } SOKOL_API_IMPL sspine_atlas sspine_make_atlas(const sspine_atlas_desc* desc) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(desc); const sspine_atlas_desc desc_def = _sspine_atlas_desc_defaults(desc); sspine_atlas atlas_id = _sspine_alloc_atlas(); _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id.id); if (atlas) { atlas->slot.state = _sspine_init_atlas(atlas, &desc_def); SOKOL_ASSERT((atlas->slot.state == SSPINE_RESOURCESTATE_VALID) || (atlas->slot.state == SSPINE_RESOURCESTATE_FAILED)); if (atlas->slot.state == SSPINE_RESOURCESTATE_FAILED) { _sspine_deinit_atlas(atlas); } } else { _SSPINE_ERROR(ATLAS_POOL_EXHAUSTED); } return atlas_id; } SOKOL_API_IMPL void sspine_destroy_atlas(sspine_atlas atlas_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_destroy_atlas(atlas_id); } SOKOL_API_IMPL sspine_skeleton sspine_make_skeleton(const sspine_skeleton_desc* desc) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(desc); const sspine_skeleton_desc desc_def = _sspine_skeleton_desc_defaults(desc); sspine_skeleton skeleton_id = _sspine_alloc_skeleton(); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (skeleton) { skeleton->slot.state = _sspine_init_skeleton(skeleton, &desc_def); SOKOL_ASSERT((skeleton->slot.state == SSPINE_RESOURCESTATE_VALID) || (skeleton->slot.state == SSPINE_RESOURCESTATE_FAILED)); if (skeleton->slot.state == SSPINE_RESOURCESTATE_FAILED) { _sspine_deinit_skeleton(skeleton); } } else { _SSPINE_ERROR(SKELETON_POOL_EXHAUSTED); } return skeleton_id; } SOKOL_API_IMPL void sspine_destroy_skeleton(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_destroy_skeleton(skeleton_id); } SOKOL_API_IMPL sspine_skinset sspine_make_skinset(const sspine_skinset_desc* desc) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(desc); const sspine_skinset_desc desc_def = _sspine_skinset_desc_defaults(desc); sspine_skinset skinset_id = _sspine_alloc_skinset(); _sspine_skinset_t* skinset = _sspine_lookup_skinset(skinset_id.id); if (skinset) { skinset->slot.state = _sspine_init_skinset(skinset, &desc_def); SOKOL_ASSERT((skinset->slot.state == SSPINE_RESOURCESTATE_VALID) || (skinset->slot.state == SSPINE_RESOURCESTATE_FAILED)); if (skinset->slot.state == SSPINE_RESOURCESTATE_FAILED) { _sspine_deinit_skinset(skinset); } } else { _SSPINE_ERROR(SKINSET_POOL_EXHAUSTED); } return skinset_id; } SOKOL_API_IMPL void sspine_destroy_skinset(sspine_skinset skinset_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_destroy_skinset(skinset_id); } SOKOL_API_IMPL sspine_instance sspine_make_instance(const sspine_instance_desc* desc) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(desc); const sspine_instance_desc desc_def = _sspine_instance_desc_defaults(desc); sspine_instance instance_id = _sspine_alloc_instance(); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (instance) { instance->slot.state = _sspine_init_instance(instance, &desc_def); SOKOL_ASSERT((instance->slot.state == SSPINE_RESOURCESTATE_VALID) || (instance->slot.state == SSPINE_RESOURCESTATE_FAILED)); if (instance->slot.state == SSPINE_RESOURCESTATE_FAILED) { _sspine_deinit_instance(instance); } } else { _SSPINE_ERROR(INSTANCE_POOL_EXHAUSTED); } return instance_id; } SOKOL_API_IMPL void sspine_destroy_instance(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_destroy_instance(instance_id); } SOKOL_API_IMPL sspine_resource_state sspine_get_context_resource_state(sspine_context ctx_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); const _sspine_context_t* ctx = _sspine_lookup_context(ctx_id.id); if (ctx) { return ctx->slot.state; } else { return SSPINE_RESOURCESTATE_INVALID; } } SOKOL_API_IMPL sspine_resource_state sspine_get_atlas_resource_state(sspine_atlas atlas_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); const _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id.id); if (atlas) { return atlas->slot.state; } else { return SSPINE_RESOURCESTATE_INVALID; } } SOKOL_API_IMPL sspine_resource_state sspine_get_skeleton_resource_state(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); const _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (skeleton) { return skeleton->slot.state; } else { return SSPINE_RESOURCESTATE_INVALID; } } SOKOL_API_IMPL sspine_resource_state sspine_get_skinset_resource_state(sspine_skinset skinset_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); const _sspine_skinset_t* skinset = _sspine_lookup_skinset(skinset_id.id); if (skinset) { return skinset->slot.state; } else { return SSPINE_RESOURCESTATE_INVALID; } } SOKOL_API_IMPL sspine_resource_state sspine_get_instance_resource_state(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); const _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (instance) { return instance->slot.state; } else { return SSPINE_RESOURCESTATE_INVALID; } } SOKOL_API_IMPL bool sspine_context_valid(sspine_context ctx_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return sspine_get_context_resource_state(ctx_id) == SSPINE_RESOURCESTATE_VALID; } SOKOL_API_IMPL bool sspine_atlas_valid(sspine_atlas atlas_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return sspine_get_atlas_resource_state(atlas_id) == SSPINE_RESOURCESTATE_VALID; } SOKOL_API_IMPL bool sspine_skeleton_valid(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return sspine_get_skeleton_resource_state(skeleton_id) == SSPINE_RESOURCESTATE_VALID; } SOKOL_API_IMPL bool sspine_skinset_valid(sspine_skinset skinset_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return sspine_get_skinset_resource_state(skinset_id) == SSPINE_RESOURCESTATE_VALID; } SOKOL_API_IMPL bool sspine_instance_valid(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); return sspine_get_instance_resource_state(instance_id) == SSPINE_RESOURCESTATE_VALID; } SOKOL_API_IMPL sspine_atlas sspine_get_skeleton_atlas(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); sspine_atlas res; _sspine_clear(&res, sizeof(res)); if (skeleton) { res.id = skeleton->atlas.id; } return res; } SOKOL_API_IMPL sspine_skeleton sspine_get_instance_skeleton(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); sspine_skeleton res; _sspine_clear(&res, sizeof(res)); if (instance) { res.id = instance->skel.id; } return res; } SOKOL_API_IMPL int sspine_num_images(sspine_atlas atlas_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id.id); if (atlas) { return atlas->num_pages; } return 0; } SOKOL_API_IMPL sspine_image sspine_image_by_index(sspine_atlas atlas_id, int index) { return _sspine_image(atlas_id.id, index); } SOKOL_API_IMPL bool sspine_image_valid(sspine_image image) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_atlas_t* atlas = _sspine_lookup_atlas(image.atlas_id); return atlas && (image.index >= 0) && (image.index < atlas->num_pages); } SOKOL_API_IMPL bool sspine_image_equal(sspine_image first, sspine_image second) { return (first.atlas_id == second.atlas_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_image_info sspine_get_image_info(sspine_image image) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_atlas_t* atlas = _sspine_lookup_atlas(image.atlas_id); sspine_image_info img_info; _sspine_clear(&img_info, sizeof(img_info)); if (atlas && (image.index >= 0) && (image.index < atlas->num_pages)) { _sspine_init_image_info(atlas, image.index, &img_info, true); } return img_info; } SOKOL_API_IMPL int sspine_num_atlas_pages(sspine_atlas atlas_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_atlas_t* atlas = _sspine_lookup_atlas(atlas_id.id); if (atlas) { return atlas->num_pages; } else { return 0; } } SOKOL_API_IMPL sspine_atlas_page sspine_atlas_page_by_index(sspine_atlas atlas_id, int index) { return _sspine_atlas_page(atlas_id.id, index); } SOKOL_API_IMPL bool sspine_atlas_page_valid(sspine_atlas_page page) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_atlas_t* atlas = _sspine_lookup_atlas(page.atlas_id); if (atlas) { return (page.index >= 0) && (page.index < atlas->num_pages); } return false; } SOKOL_API_IMPL bool sspine_atlas_page_equal(sspine_atlas_page first, sspine_atlas_page second) { return (first.atlas_id == second.atlas_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_atlas_page_info sspine_get_atlas_page_info(sspine_atlas_page page) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_atlas_page_info res; _sspine_clear(&res, sizeof(res)); const spAtlasPage* sp_page = _sspine_lookup_atlas_page(page.atlas_id, page.index); if (sp_page) { // at this point, atlas is guaranteed to be valid const _sspine_atlas_t* atlas = _sspine_lookup_atlas(page.atlas_id); res.valid = true; res.atlas.id = page.atlas_id; // write image info without overrides _sspine_init_image_info(atlas, page.index, &res.image, false); // ...and provide the overrides separately res.overrides = atlas->overrides; } return res; } SOKOL_API_IMPL void sspine_set_position(sspine_instance instance_id, sspine_vec2 position) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_skel); instance->sp_skel->x = position.x; instance->sp_skel->y = position.y; } } SOKOL_API_IMPL void sspine_set_scale(sspine_instance instance_id, sspine_vec2 scale) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (instance) { SOKOL_ASSERT(instance->sp_skel); instance->sp_skel->scaleX = scale.x; instance->sp_skel->scaleY = scale.y; } } SOKOL_API_IMPL void sspine_set_color(sspine_instance instance_id, sspine_color color) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (instance) { SOKOL_ASSERT(instance->sp_skel); instance->sp_skel->color.r = color.r; instance->sp_skel->color.g = color.g; instance->sp_skel->color.b = color.b; instance->sp_skel->color.a = color.a; } } SOKOL_API_IMPL sspine_vec2 sspine_get_position(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); sspine_vec2 v = { 0.0f, 0.0f }; if (instance) { SOKOL_ASSERT(instance->sp_skel); v.x = instance->sp_skel->x; v.y = instance->sp_skel->y; } return v; } SOKOL_API_IMPL sspine_vec2 sspine_get_scale(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); sspine_vec2 v = { 0.0f, 0.0f }; if (instance) { SOKOL_ASSERT(instance->sp_skel); v.x = instance->sp_skel->scaleX; v.y = instance->sp_skel->scaleY; } return v; } SOKOL_API_IMPL sspine_color sspine_get_color(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); sspine_color c = { 0.0f, 0.0f, 0.0f, 0.0f }; if (instance) { SOKOL_ASSERT(instance->sp_skel); c.r = instance->sp_skel->color.r; c.g = instance->sp_skel->color.g; c.b = instance->sp_skel->color.b; c.a = instance->sp_skel->color.a; } return c; } SOKOL_API_IMPL int sspine_num_anims(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->animationsCount; } return 0; } SOKOL_API_IMPL sspine_anim sspine_anim_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { // NOTE: there's a spSkeletonData_findAnimation function, but that doesn't // give us access to the index, so we'll need to do the loop ourselves SOKOL_ASSERT(skeleton->sp_skel_data); const spSkeletonData* sp_skel_data = skeleton->sp_skel_data; const int num_anims = sp_skel_data->animationsCount; SOKOL_ASSERT(sp_skel_data->animations); for (int i = 0; i < num_anims; i++) { SOKOL_ASSERT(sp_skel_data->animations[i]); SOKOL_ASSERT(sp_skel_data->animations[i]->name); if (0 == strcmp(sp_skel_data->animations[i]->name, name)) { return _sspine_anim(skeleton_id.id, i); } } } return _sspine_anim(0, 0); } SOKOL_API_IMPL sspine_anim sspine_anim_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_anim(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_anim_valid(sspine_anim anim) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(anim.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (anim.index >= 0) && (anim.index < skeleton->sp_skel_data->animationsCount); } return false; } SOKOL_API_IMPL bool sspine_anim_equal(sspine_anim first, sspine_anim second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_anim_info sspine_get_anim_info(sspine_anim anim) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_anim_info res; _sspine_clear(&res, sizeof(res)); const spAnimation* sp_anim = _sspine_lookup_skeleton_anim(anim.skeleton_id, anim.index); if (sp_anim) { res.valid = true; res.index = anim.index; res.duration = sp_anim->duration; res.name = _sspine_string(sp_anim->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_API_IMPL void sspine_clear_animation_tracks(sspine_instance instance_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_anim_state); spAnimationState_clearTracks(instance->sp_anim_state); } } SOKOL_API_IMPL void sspine_clear_animation_track(sspine_instance instance_id, int track_index) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_anim_state); spAnimationState_clearTrack(instance->sp_anim_state, track_index); } } SOKOL_API_IMPL void sspine_set_animation(sspine_instance instance_id, sspine_anim anim, int track_index, bool loop) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spAnimation* sp_anim = _sspine_lookup_instance_anim(instance_id.id, anim.skeleton_id, anim.index); if (sp_anim) { // NOTE: at this point, instance is guaranteed to be valid _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); SOKOL_ASSERT(instance); spAnimationState_setAnimation(instance->sp_anim_state, track_index, sp_anim, loop?1:0); } } SOKOL_API_IMPL void sspine_add_animation(sspine_instance instance_id, sspine_anim anim, int track_index, bool loop, float delay) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spAnimation* sp_anim = _sspine_lookup_instance_anim(instance_id.id, anim.skeleton_id, anim.index); if (sp_anim) { // NOTE: at this point, instance is guaranteed to be valid _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); SOKOL_ASSERT(instance); SOKOL_ASSERT(instance->sp_anim_state); spAnimationState_addAnimation(instance->sp_anim_state, track_index, sp_anim, loop?1:0, delay); } } SOKOL_API_IMPL void sspine_set_empty_animation(sspine_instance instance_id, int track_index, float mix_duration) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_anim_state); spAnimationState_setEmptyAnimation(instance->sp_anim_state, track_index, mix_duration); } } SOKOL_API_IMPL void sspine_add_empty_animation(sspine_instance instance_id, int track_index, float mix_duration, float delay) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance)) { SOKOL_ASSERT(instance->sp_anim_state); spAnimationState_addEmptyAnimation(instance->sp_anim_state, track_index, mix_duration, delay); } } SOKOL_API_IMPL int sspine_num_bones(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->bonesCount; } return 0; } SOKOL_API_IMPL sspine_bone sspine_bone_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); spBoneData* sp_bone_data = spSkeletonData_findBone(skeleton->sp_skel_data, name); if (sp_bone_data) { return _sspine_bone(skeleton_id.id, sp_bone_data->index); } } return _sspine_bone(0, 0); } SOKOL_API_IMPL sspine_bone sspine_bone_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_bone(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_bone_valid(sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(bone.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (bone.index >= 0) && (bone.index < skeleton->sp_skel_data->bonesCount); } return false; } SOKOL_API_IMPL bool sspine_bone_equal(sspine_bone first, sspine_bone second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_bone_info sspine_get_bone_info(sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_bone_info res; _sspine_clear(&res, sizeof(res)); const spBoneData* sp_bone_data = _sspine_lookup_bone_data(bone.skeleton_id, bone.index); if (sp_bone_data) { SOKOL_ASSERT(sp_bone_data->index == bone.index); SOKOL_ASSERT(sp_bone_data->name); res.valid = true; res.index = sp_bone_data->index; if (sp_bone_data->parent) { res.parent_bone = _sspine_bone(bone.skeleton_id, sp_bone_data->parent->index); } res.length = sp_bone_data->length; res.pose.position.x = sp_bone_data->x; res.pose.position.y = sp_bone_data->y; res.pose.rotation = sp_bone_data->rotation; res.pose.scale.x = sp_bone_data->scaleX; res.pose.scale.y = sp_bone_data->scaleY; res.pose.shear.x = sp_bone_data->shearX; res.pose.shear.y = sp_bone_data->shearY; res.color.r = sp_bone_data->color.r; res.color.g = sp_bone_data->color.g; res.color.b = sp_bone_data->color.b; res.color.a = sp_bone_data->color.a; res.name = _sspine_string(sp_bone_data->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_API_IMPL void sspine_set_bone_transform(sspine_instance instance_id, sspine_bone bone, const sspine_bone_transform* transform) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(transform); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { sp_bone->x = transform->position.x; sp_bone->y = transform->position.y; sp_bone->rotation = transform->rotation; sp_bone->scaleX = transform->scale.x; sp_bone->scaleY = transform->scale.y; sp_bone->shearX = transform->shear.x; sp_bone->shearY = transform->shear.y; } } SOKOL_API_IMPL void sspine_set_bone_position(sspine_instance instance_id, sspine_bone bone, sspine_vec2 position) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { sp_bone->x = position.x; sp_bone->y = position.y; } } SOKOL_API_IMPL void sspine_set_bone_rotation(sspine_instance instance_id, sspine_bone bone, float rotation) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { sp_bone->rotation = rotation; } } SOKOL_API_IMPL void sspine_set_bone_scale(sspine_instance instance_id, sspine_bone bone, sspine_vec2 scale) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { sp_bone->scaleX = scale.x; sp_bone->scaleY = scale.y; } } SOKOL_API_IMPL void sspine_set_bone_shear(sspine_instance instance_id, sspine_bone bone, sspine_vec2 shear) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { sp_bone->shearX = shear.x; sp_bone->shearY = shear.y; } } SOKOL_API_IMPL sspine_bone_transform sspine_get_bone_transform(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_bone_transform res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { res.position.x = sp_bone->x; res.position.y = sp_bone->y; res.rotation = sp_bone->rotation; res.scale.x = sp_bone->scaleX; res.scale.y = sp_bone->scaleY; res.shear.x = sp_bone->shearX; res.shear.y = sp_bone->shearY; } return res; } SOKOL_API_IMPL sspine_vec2 sspine_get_bone_position(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { res.x = sp_bone->x; res.y = sp_bone->y; } return res; } SOKOL_API_IMPL float sspine_get_bone_rotation(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { return sp_bone->rotation; } else { return 0.0f; } } SOKOL_API_IMPL sspine_vec2 sspine_get_bone_scale(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { res.x = sp_bone->scaleX; res.y = sp_bone->scaleY; } return res; } SOKOL_API_IMPL sspine_vec2 sspine_get_bone_shear(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { res.x = sp_bone->shearX; res.y = sp_bone->shearY; } return res; } SOKOL_API_IMPL sspine_vec2 sspine_get_bone_world_position(sspine_instance instance_id, sspine_bone bone) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { res.x = sp_bone->worldX; res.y = sp_bone->worldY; } return res; } SOKOL_API_IMPL sspine_vec2 sspine_bone_local_to_world(sspine_instance instance_id, sspine_bone bone, sspine_vec2 local_pos) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { spBone_localToWorld(sp_bone, local_pos.x, local_pos.y, &res.x, &res.y); } return res; } SOKOL_API_IMPL sspine_vec2 sspine_bone_world_to_local(sspine_instance instance_id, sspine_bone bone, sspine_vec2 world_pos) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_vec2 res; _sspine_clear(&res, sizeof(res)); spBone* sp_bone = _sspine_lookup_bone(instance_id.id, bone.skeleton_id, bone.index); if (sp_bone) { spBone_worldToLocal(sp_bone, world_pos.x, world_pos.y, &res.x, &res.y); } return res; } SOKOL_API_IMPL int sspine_num_slots(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->slotsCount; } return 0; } SOKOL_API_IMPL sspine_slot sspine_slot_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); spSlotData* sp_slot_data = spSkeletonData_findSlot(skeleton->sp_skel_data, name); if (sp_slot_data) { return _sspine_slot(skeleton_id.id, sp_slot_data->index); } } return _sspine_slot(0, 0); } SOKOL_API_IMPL sspine_slot sspine_slot_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_slot(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_slot_valid(sspine_slot slot) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(slot.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (slot.index >= 0) && (slot.index < skeleton->sp_skel_data->slotsCount); } return false; } SOKOL_API_IMPL bool sspine_slot_equal(sspine_slot first, sspine_slot second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_slot_info sspine_get_slot_info(sspine_slot slot) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_slot_info res; _sspine_clear(&res, sizeof(res)); const spSlotData* sp_slot_data = _sspine_lookup_slot_data(slot.skeleton_id, slot.index); if (sp_slot_data) { SOKOL_ASSERT(sp_slot_data->index == slot.index); SOKOL_ASSERT(sp_slot_data->name); SOKOL_ASSERT(sp_slot_data->boneData); res.valid = true; res.index = sp_slot_data->index; res.bone = _sspine_bone(slot.skeleton_id, sp_slot_data->boneData->index); res.color.r = sp_slot_data->color.r; res.color.g = sp_slot_data->color.g; res.color.b = sp_slot_data->color.b; res.color.a = sp_slot_data->color.a; res.attachment_name = _sspine_string(sp_slot_data->attachmentName); if (res.attachment_name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } res.name = _sspine_string(sp_slot_data->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_API_IMPL void sspine_set_slot_color(sspine_instance instance_id, sspine_slot slot, sspine_color color) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spSlot* sp_slot = _sspine_lookup_slot(instance_id.id, slot.skeleton_id, slot.index); if (sp_slot) { sp_slot->color.r = color.r; sp_slot->color.g = color.g; sp_slot->color.b = color.b; sp_slot->color.a = color.a; } } SOKOL_API_IMPL sspine_color sspine_get_slot_color(sspine_instance instance_id, sspine_slot slot) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_color color; _sspine_clear(&color, sizeof(color)); spSlot* sp_slot = _sspine_lookup_slot(instance_id.id, slot.skeleton_id, slot.index); if (sp_slot) { color.r = sp_slot->color.r; color.g = sp_slot->color.g; color.b = sp_slot->color.b; color.a = sp_slot->color.a; } return color; } SOKOL_API_IMPL int sspine_num_events(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->eventsCount; } return 0; } SOKOL_API_IMPL sspine_event sspine_event_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); SOKOL_ASSERT(skeleton->sp_skel_data->events); // spEventData has no embedded index, so we need to loop over the events for (int i = 0; i < skeleton->sp_skel_data->eventsCount; i++) { SOKOL_ASSERT(skeleton->sp_skel_data->events[i]); SOKOL_ASSERT(skeleton->sp_skel_data->events[i]->name); if (0 == strcmp(skeleton->sp_skel_data->events[i]->name, name)) { return _sspine_event(skeleton_id.id, i); } } } return _sspine_event(0, 0); } SOKOL_API_IMPL sspine_event sspine_event_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_event(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_event_valid(sspine_event event) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(event.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (event.index >= 0) && (event.index < skeleton->sp_skel_data->eventsCount); } return false; } SOKOL_API_IMPL bool sspine_event_equal(sspine_event first, sspine_event second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_event_info sspine_get_event_info(sspine_event event) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_event_info res; _sspine_clear(&res, sizeof(res)); const spEventData* sp_event_data = _sspine_lookup_event_data(event.skeleton_id, event.index); if (sp_event_data) { res.valid = true; res.index = event.index; res.int_value = sp_event_data->intValue; res.float_value = sp_event_data->floatValue; res.volume = sp_event_data->volume; res.balance = sp_event_data->balance; res.name = _sspine_string(sp_event_data->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } res.string_value = _sspine_string(sp_event_data->stringValue); if (res.string_value.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } res.audio_path = _sspine_string(sp_event_data->audioPath); if (res.audio_path.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_API_IMPL int sspine_num_iktargets(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->ikConstraintsCount; } return 0; } SOKOL_API_IMPL sspine_iktarget sspine_iktarget_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); SOKOL_ASSERT(skeleton->sp_skel_data->ikConstraints); // spIkConstraintData has no embedded index, so we need to loop over the events for (int i = 0; i < skeleton->sp_skel_data->ikConstraintsCount; i++) { SOKOL_ASSERT(skeleton->sp_skel_data->ikConstraints[i]); SOKOL_ASSERT(skeleton->sp_skel_data->ikConstraints[i]->name); if (0 == strcmp(skeleton->sp_skel_data->ikConstraints[i]->name, name)) { return _sspine_iktarget(skeleton_id.id, i); } } } return _sspine_iktarget(0, 0); } SOKOL_API_IMPL sspine_iktarget sspine_iktarget_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_iktarget(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_iktarget_valid(sspine_iktarget iktarget) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(iktarget.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (iktarget.index >= 0) && (iktarget.index < skeleton->sp_skel_data->ikConstraintsCount); } return false; } SOKOL_API_IMPL bool sspine_iktarget_equal(sspine_iktarget first, sspine_iktarget second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_iktarget_info sspine_get_iktarget_info(sspine_iktarget iktarget) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_iktarget_info res; _sspine_clear(&res, sizeof(res)); const spIkConstraintData* ik_data = _sspine_lookup_ikconstraint_data(iktarget.skeleton_id, iktarget.index); if (ik_data) { res.valid = true; res.index = iktarget.index; res.target_bone = _sspine_bone(iktarget.skeleton_id, ik_data->target->index); res.name = _sspine_string(ik_data->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_API_IMPL void sspine_set_iktarget_world_pos(sspine_instance instance_id, sspine_iktarget iktarget, sspine_vec2 world_pos) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); spIkConstraint* ik_data = _sspine_lookup_ikconstraint(instance_id.id, iktarget.skeleton_id, iktarget.index); if (ik_data) { spBone* bone = ik_data->target; spBone* parent_bone = bone->parent; if (parent_bone) { spBone_worldToLocal(parent_bone, world_pos.x, world_pos.y, &bone->x, &bone->y); } } } SOKOL_API_IMPL int sspine_num_skins(sspine_skeleton skeleton_id) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return skeleton->sp_skel_data->skinsCount; } return 0; } SOKOL_API_IMPL sspine_skin sspine_skin_by_name(sspine_skeleton skeleton_id, const char* name) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); SOKOL_ASSERT(name); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skeleton_id.id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); SOKOL_ASSERT(skeleton->sp_skel_data->skins); // spSkin has no embedded index, so we need to loop over the skins for (int i = 0; i < skeleton->sp_skel_data->skinsCount; i++) { SOKOL_ASSERT(skeleton->sp_skel_data->skins[i]); SOKOL_ASSERT(skeleton->sp_skel_data->skins[i]->name); if (0 == strcmp(skeleton->sp_skel_data->skins[i]->name, name)) { return _sspine_skin(skeleton_id.id, i); } } } return _sspine_skin(0, 0); } SOKOL_API_IMPL sspine_skin sspine_skin_by_index(sspine_skeleton skeleton_id, int index) { return _sspine_skin(skeleton_id.id, index); } SOKOL_API_IMPL bool sspine_skin_valid(sspine_skin skin) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_skeleton_t* skeleton = _sspine_lookup_skeleton(skin.skeleton_id); if (_sspine_skeleton_and_deps_valid(skeleton)) { SOKOL_ASSERT(skeleton->sp_skel_data); return (skin.index >= 0) && (skin.index < skeleton->sp_skel_data->skinsCount); } return false; } SOKOL_API_IMPL bool sspine_skin_equal(sspine_skin first, sspine_skin second) { return (first.skeleton_id == second.skeleton_id) && (first.index == second.index); } SOKOL_API_IMPL sspine_skin_info sspine_get_skin_info(sspine_skin skin) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); sspine_skin_info res; _sspine_clear(&res, sizeof(res)); const spSkin* sp_skin = _sspine_lookup_skin(skin.skeleton_id, skin.index); if (sp_skin) { res.valid = true; res.index = skin.index; res.name = _sspine_string(sp_skin->name); if (res.name.truncated) { _SSPINE_WARN(STRING_TRUNCATED); } } return res; } SOKOL_SPINE_API_DECL void sspine_set_skin(sspine_instance instance_id, sspine_skin skin) { SOKOL_ASSERT(_SSPINE_INIT_COOKIE == _sspine.init_cookie); _sspine_instance_t* instance = _sspine_lookup_instance(instance_id.id); if (_sspine_instance_and_deps_valid(instance) && (instance->skel.id == skin.skeleton_id)) { SOKOL_ASSERT(instance->sp_skel); SOKOL_ASSERT(instance->sp_anim_state); // clear any currently set skinset instance->skinset.id = SSPINE_INVALID_ID; instance->skinset.ptr = 0; spSkin* sp_skin = _sspine_lookup_skin(skin.skeleton_id, skin.index); if (sp_skin) { spSkeleton_setSkin(instance->sp_skel, 0); spSkeleton_setSkin(instance->sp_skel, sp_skin); spSkeleton_setSlotsToSetupPose(instance->sp_skel); spAnimationState_apply(instance->sp_anim_state, instance->sp_skel); } } } #endif // SOKOL_SPINE_IMPL #endif // SOKOL_SPINE_INCLUDED
0
repos/sokol
repos/sokol/util/sokol_memtrack.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_MEMTRACK_IMPL) #define SOKOL_MEMTRACK_IMPL #endif #ifndef SOKOL_MEMTRACK_INCLUDED /* sokol_memtrack.h -- memory allocation wrapper to track memory usage of sokol libraries Project URL: https://github.com/floooh/sokol Optionally provide the following defines with your own implementations: SOKOL_MEMTRACK_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_MEMTRACK_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) If sokol_memtrack.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL USAGE ===== Just plug the malloc/free wrapper functions into the desc.allocator struct provided by most sokol header setup functions: sg_setup(&(sg_desc){ //... .allocator = { .alloc_fn = smemtrack_alloc, .free_fn = smemtrack_free, } }); Then call smemtrack_info() to get information about current number of allocations and overall allocation size: const smemtrack_info_t info = smemtrack_info(); const int num_allocs = info.num_allocs; const int num_bytes = info.num_bytes; Note the sokol_memtrack.h can only track allocations issued by the sokol headers, not allocations that happen under the hood in system libraries. LICENSE ======= zlib/libpng license Copyright (c) 2018 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_MEMTRACK_INCLUDED (1) #include <stdint.h> #include <stddef.h> // size_t #if defined(SOKOL_API_DECL) && !defined(SOKOL_MEMTRACK_API_DECL) #define SOKOL_MEMTRACK_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_MEMTRACK_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_MEMTRACK_IMPL) #define SOKOL_MEMTRACK_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_MEMTRACK_API_DECL __declspec(dllimport) #else #define SOKOL_MEMTRACK_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif typedef struct smemtrack_info_t { int num_allocs; int num_bytes; } smemtrack_info_t; SOKOL_MEMTRACK_API_DECL smemtrack_info_t smemtrack_info(void); SOKOL_MEMTRACK_API_DECL void* smemtrack_alloc(size_t size, void* user_data); SOKOL_MEMTRACK_API_DECL void smemtrack_free(void* ptr, void* user_data); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* SOKOL_MEMTRACK_INCLUDED */ /*=== IMPLEMENTATION =========================================================*/ #ifdef SOKOL_MEMTRACK_IMPL #define SOKOL_MEMTRACK_IMPL_INCLUDED (1) #include <stdlib.h> // malloc, free #include <string.h> // memset #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef _SOKOL_PRIVATE #if defined(__GNUC__) || defined(__clang__) #define _SOKOL_PRIVATE __attribute__((unused)) static #else #define _SOKOL_PRIVATE static #endif #endif // per-allocation header used to keep track of the allocation size #define _SMEMTRACK_HEADER_SIZE (16) static struct { smemtrack_info_t state; } _smemtrack; SOKOL_API_IMPL void* smemtrack_alloc(size_t size, void* user_data) { (void)user_data; uint8_t* ptr = (uint8_t*) malloc(size + _SMEMTRACK_HEADER_SIZE); if (ptr) { // store allocation size (for allocation size tracking) *(size_t*)ptr = size; _smemtrack.state.num_allocs++; _smemtrack.state.num_bytes += (int) size; return ptr + _SMEMTRACK_HEADER_SIZE; } else { // allocation failed, return null pointer return ptr; } } SOKOL_API_IMPL void smemtrack_free(void* ptr, void* user_data) { (void)user_data; if (ptr) { uint8_t* alloc_ptr = ((uint8_t*)ptr) - _SMEMTRACK_HEADER_SIZE; size_t size = *(size_t*)alloc_ptr; _smemtrack.state.num_allocs--; _smemtrack.state.num_bytes -= (int) size; free(alloc_ptr); } } SOKOL_API_IMPL smemtrack_info_t smemtrack_info(void) { return _smemtrack.state; } #endif /* SOKOL_MEMTRACK_IMPL */
0
repos/sokol
repos/sokol/util/sokol_imgui.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_IMGUI_IMPL) #define SOKOL_IMGUI_IMPL #endif #ifndef SOKOL_IMGUI_INCLUDED /* sokol_imgui.h -- drop-in Dear ImGui renderer/event-handler for sokol_gfx.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_IMGUI_IMPL before you include this file in *one* C or C++ file to create the implementation. NOTE that the implementation can be compiled either as C++ or as C. When compiled as C++, sokol_imgui.h will directly call into the Dear ImGui C++ API. When compiled as C, sokol_imgui.h will call cimgui.h functions instead. NOTE that the formerly separate header sokol_cimgui.h has been merged into sokol_imgui.h The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL SOKOL_WGPU Optionally provide the following configuration define both before including the the declaration and implementation: SOKOL_IMGUI_NO_SOKOL_APP - don't depend on sokol_app.h (see below for details) Optionally provide the following macros before including the implementation to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_IMGUI_API_DECL- public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_IMGUI_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) If sokol_imgui.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_IMGUI_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. Include the following headers before sokol_imgui.h (both before including the declaration and implementation): sokol_gfx.h sokol_app.h (except SOKOL_IMGUI_NO_SOKOL_APP) Additionally, include the following headers before including the implementation: If the implementation is compiled as C++: imgui.h If the implementation is compiled as C: cimgui.h FEATURE OVERVIEW: ================= sokol_imgui.h implements the initialization, rendering and event-handling code for Dear ImGui (https://github.com/ocornut/imgui) on top of sokol_gfx.h and (optionally) sokol_app.h. The sokol_app.h dependency is optional and used for input event handling. If you only use sokol_gfx.h but not sokol_app.h in your application, define SOKOL_IMGUI_NO_SOKOL_APP before including the implementation of sokol_imgui.h, this will remove any dependency to sokol_app.h, but you must feed input events into Dear ImGui yourself. sokol_imgui.h is not thread-safe, all calls must be made from the same thread where sokol_gfx.h is running. HOWTO: ====== --- To initialize sokol-imgui, call: simgui_setup(const simgui_desc_t* desc) This will initialize Dear ImGui and create sokol-gfx resources (two buffers for vertices and indices, a font texture and a pipeline- state-object). Use the following simgui_desc_t members to configure behaviour: int max_vertices The maximum number of vertices used for UI rendering, default is 65536. sokol-imgui will use this to compute the size of the vertex- and index-buffers allocated via sokol_gfx.h int image_pool_size Number of simgui_image_t objects which can be alive at the same time. The default is 256. sg_pixel_format color_format The color pixel format of the render pass where the UI will be rendered. The default (0) matches sokoL_gfx.h's default pass. sg_pixel_format depth_format The depth-buffer pixel format of the render pass where the UI will be rendered. The default (0) matches sokol_gfx.h's default pass depth format. int sample_count The MSAA sample-count of the render pass where the UI will be rendered. The default (0) matches sokol_gfx.h's default pass sample count. const char* ini_filename Sets this path as ImGui::GetIO().IniFilename where ImGui will store and load UI persistency data. By default this is 0, so that Dear ImGui will not preserve state between sessions (and also won't do any filesystem calls). Also see the ImGui functions: - LoadIniSettingsFromMemory() - SaveIniSettingsFromMemory() These functions give you explicit control over loading and saving UI state while using your own filesystem wrapper functions (in this case keep simgui_desc.ini_filename zero) bool no_default_font Set this to true if you don't want to use ImGui's default font. In this case you need to initialize the font yourself after simgui_setup() is called. bool disable_paste_override If set to true, sokol_imgui.h will not 'emulate' a Dear Imgui clipboard paste action on SAPP_EVENTTYPE_CLIPBOARD_PASTED event. This is mainly a hack/workaround to allow external workarounds for making copy/paste work on the web platform. In general, copy/paste support isn't properly fleshed out in sokol_imgui.h yet. bool disable_set_mouse_cursor If true, sokol_imgui.h will not control the mouse cursor type by calling sapp_set_mouse_cursor(). bool disable_windows_resize_from_edges If true, windows can only be resized from the bottom right corner. The default is false, meaning windows can be resized from edges. bool write_alpha_channel Set this to true if you want alpha values written to the framebuffer. By default this behavior is disabled to prevent undesired behavior on platforms like the web where the canvas is always alpha-blended with the background. simgui_allocator_t allocator Used to override memory allocation functions. See further below for details. simgui_logger_t logger A user-provided logging callback. Note that without logging callback, sokol-imgui will be completely silent! See the section about ERROR REPORTING AND LOGGING below for more details. --- At the start of a frame, call: simgui_new_frame(&(simgui_frame_desc_t){ .width = ..., .height = ..., .delta_time = ..., .dpi_scale = ... }); 'width' and 'height' are the dimensions of the rendering surface, passed to ImGui::GetIO().DisplaySize. 'delta_time' is the frame duration passed to ImGui::GetIO().DeltaTime. 'dpi_scale' is the current DPI scale factor, if this is left zero-initialized, 1.0f will be used instead. Typical values for dpi_scale are >= 1.0f. For example, if you're using sokol_app.h and render to the default framebuffer: simgui_new_frame(&(simgui_frame_desc_t){ .width = sapp_width(), .height = sapp_height(), .delta_time = sapp_frame_duration(), .dpi_scale = sapp_dpi_scale() }); --- at the end of the frame, before the sg_end_pass() where you want to render the UI, call: simgui_render() This will first call ImGui::Render(), and then render ImGui's draw list through sokol_gfx.h --- if you're using sokol_app.h, from inside the sokol_app.h event callback, call: bool simgui_handle_event(const sapp_event* ev); The return value is the value of ImGui::GetIO().WantCaptureKeyboard, if this is true, you might want to skip keyboard input handling in your own event handler. If you want to use the ImGui functions for checking if a key is pressed (e.g. ImGui::IsKeyPressed()) the following helper function to map an sapp_keycode to an ImGuiKey value may be useful: int simgui_map_keycode(sapp_keycode c); Note that simgui_map_keycode() can be called outside simgui_setup()/simgui_shutdown(). --- finally, on application shutdown, call simgui_shutdown() ON USER-PROVIDED IMAGES AND SAMPLERS ==================================== To render your own images via ImGui::Image(), first create an simgui_image_t object from a sokol-gfx image and sampler object. // create a sokol-imgui image object which associates an sg_image with an sg_sampler simgui_image_t simgui_img = simgui_make_image(&(simgui_image_desc_t){ .image = sg_make_image(...), .sampler = sg_make_sampler(...), }); // convert the returned image handle into a ImTextureID handle ImTextureID tex_id = simgui_imtextureid(simgui_img); // use the ImTextureID handle in Dear ImGui calls: ImGui::Image(tex_id, ...); simgui_image_t objects are small and cheap (literally just the image and sampler handle). You can omit the sampler handle in the simgui_make_image() call, in this case a default sampler will be used with nearest-filtering and clamp-to-edge. Trying to render with an invalid simgui_image_t handle will render a small 8x8 white default texture instead. To destroy a sokol-imgui image object, call simgui_destroy_image(simgui_img); But please be aware that the image object needs to be around until simgui_render() is called in a frame (if this turns out to be too much of a hassle we could introduce some sort of garbage collection where destroyed simgui_image_t objects are kept around until the simgui_render() call). You can call: simgui_image_desc_t desc = simgui_query_image_desc(img) ...to get the original desc struct, useful if you need to get the sokol-gfx image and sampler handle of the simgui_image_t object. You can convert an ImTextureID back into an simgui_image_t handle: simgui_image_t img = simgui_image_from_imtextureid(tex_id); MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... simgui_setup(&(simgui_desc_t){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... If no overrides are provided, malloc and free will be used. This only affects memory allocation calls done by sokol_imgui.h itself though, not any allocations in Dear ImGui. ERROR REPORTING AND LOGGING =========================== To get any logging information at all you need to provide a logging callback in the setup call the easiest way is to use sokol_log.h: #include "sokol_log.h" simgui_setup(&(simgui_desc_t){ .logger.func = slog_func }); To override logging with your own callback, first write a logging function like this: void my_log(const char* tag, // e.g. 'simgui' uint32_t log_level, // 0=panic, 1=error, 2=warn, 3=info uint32_t log_item_id, // SIMGUI_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_imgui.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data) { ... } ...and then setup sokol-imgui like this: simgui_setup(&(simgui_desc_t){ .logger = { .func = my_log, .user_data = my_user_data, } }); The provided logging function must be reentrant (e.g. be callable from different threads). If you don't want to provide your own custom logger it is highly recommended to use the standard logger in sokol_log.h instead, otherwise you won't see any warnings or errors. IMGUI EVENT HANDLING ==================== You can call these functions from your platform's events to handle ImGui events when SOKOL_IMGUI_NO_SOKOL_APP is defined. E.g. mouse position events can be dispatched like this: simgui_add_mouse_pos_event(100, 200); For adding key events, you're responsible to map your own key codes to ImGuiKey values and pass those as int: simgui_add_key_event(imgui_key, true); Take note that modifiers (shift, ctrl, etc.) must be updated manually. If sokol_app is being used, ImGui events are handled for you. LICENSE ======= zlib/libpng license Copyright (c) 2018 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_IMGUI_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> // size_t #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_imgui.h" #endif #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) && !defined(SOKOL_APP_INCLUDED) #error "Please include sokol_app.h before sokol_imgui.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_IMGUI_API_DECL) #define SOKOL_IMGUI_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_IMGUI_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_IMGUI_IMPL) #define SOKOL_IMGUI_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_IMGUI_API_DECL __declspec(dllimport) #else #define SOKOL_IMGUI_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif enum { SIMGUI_INVALID_ID = 0, }; /* simgui_image_t A combined image-sampler pair used to inject custom images and samplers into Dear ImGui. Create with simgui_make_image(), and convert to an ImTextureID handle via simgui_imtextureid(). */ typedef struct simgui_image_t { uint32_t id; } simgui_image_t; /* simgui_image_desc_t Descriptor struct for simgui_make_image(). You must provide at least an sg_image handle. Keeping the sg_sampler handle zero-initialized will select the builtin default sampler which uses linear filtering. */ typedef struct simgui_image_desc_t { sg_image image; sg_sampler sampler; } simgui_image_desc_t; /* simgui_log_item An enum with a unique item for each log message, warning, error and validation layer message. */ #define _SIMGUI_LOG_ITEMS \ _SIMGUI_LOGITEM_XMACRO(OK, "Ok") \ _SIMGUI_LOGITEM_XMACRO(MALLOC_FAILED, "memory allocation failed") \ _SIMGUI_LOGITEM_XMACRO(IMAGE_POOL_EXHAUSTED, "image pool exhausted") \ #define _SIMGUI_LOGITEM_XMACRO(item,msg) SIMGUI_LOGITEM_##item, typedef enum simgui_log_item_t { _SIMGUI_LOG_ITEMS } simgui_log_item_t; #undef _SIMGUI_LOGITEM_XMACRO /* simgui_allocator_t Used in simgui_desc_t to provide custom memory-alloc and -free functions to sokol_imgui.h. If memory management should be overridden, both the alloc_fn and free_fn function must be provided (e.g. it's not valid to override one function but not the other). */ typedef struct simgui_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } simgui_allocator_t; /* simgui_logger Used in simgui_desc_t to provide a logging function. Please be aware that without logging function, sokol-imgui will be completely silent, e.g. it will not report errors, warnings and validation layer messages. For maximum error verbosity, compile in debug mode (e.g. NDEBUG *not* defined) and install a logger (for instance the standard logging function from sokol_log.h). */ typedef struct simgui_logger_t { void (*func)( const char* tag, // always "simgui" uint32_t log_level, // 0=panic, 1=error, 2=warning, 3=info uint32_t log_item_id, // SIMGUI_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_imgui.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data); void* user_data; } simgui_logger_t; typedef struct simgui_desc_t { int max_vertices; // default: 65536 int image_pool_size; // default: 256 sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; const char* ini_filename; bool no_default_font; bool disable_paste_override; // if true, don't send Ctrl-V on EVENTTYPE_CLIPBOARD_PASTED bool disable_set_mouse_cursor; // if true, don't control the mouse cursor type via sapp_set_mouse_cursor() bool disable_windows_resize_from_edges; // if true, only resize edges from the bottom right corner bool write_alpha_channel; // if true, alpha values get written into the framebuffer simgui_allocator_t allocator; // optional memory allocation overrides (default: malloc/free) simgui_logger_t logger; // optional log function override } simgui_desc_t; typedef struct simgui_frame_desc_t { int width; int height; double delta_time; float dpi_scale; } simgui_frame_desc_t; typedef struct simgui_font_tex_desc_t { sg_filter min_filter; sg_filter mag_filter; } simgui_font_tex_desc_t; SOKOL_IMGUI_API_DECL void simgui_setup(const simgui_desc_t* desc); SOKOL_IMGUI_API_DECL void simgui_new_frame(const simgui_frame_desc_t* desc); SOKOL_IMGUI_API_DECL void simgui_render(void); SOKOL_IMGUI_API_DECL simgui_image_t simgui_make_image(const simgui_image_desc_t* desc); SOKOL_IMGUI_API_DECL void simgui_destroy_image(simgui_image_t img); SOKOL_IMGUI_API_DECL simgui_image_desc_t simgui_query_image_desc(simgui_image_t img); SOKOL_IMGUI_API_DECL void* simgui_imtextureid(simgui_image_t img); SOKOL_IMGUI_API_DECL simgui_image_t simgui_image_from_imtextureid(void* im_texture_id); SOKOL_IMGUI_API_DECL void simgui_add_focus_event(bool focus); SOKOL_IMGUI_API_DECL void simgui_add_mouse_pos_event(float x, float y); SOKOL_IMGUI_API_DECL void simgui_add_touch_pos_event(float x, float y); SOKOL_IMGUI_API_DECL void simgui_add_mouse_button_event(int mouse_button, bool down); SOKOL_IMGUI_API_DECL void simgui_add_mouse_wheel_event(float wheel_x, float wheel_y); SOKOL_IMGUI_API_DECL void simgui_add_key_event(int imgui_key, bool down); SOKOL_IMGUI_API_DECL void simgui_add_input_character(uint32_t c); SOKOL_IMGUI_API_DECL void simgui_add_input_characters_utf8(const char* c); SOKOL_IMGUI_API_DECL void simgui_add_touch_button_event(int mouse_button, bool down); #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) SOKOL_IMGUI_API_DECL bool simgui_handle_event(const sapp_event* ev); SOKOL_IMGUI_API_DECL int simgui_map_keycode(sapp_keycode keycode); // returns ImGuiKey_* #endif SOKOL_IMGUI_API_DECL void simgui_shutdown(void); SOKOL_IMGUI_API_DECL void simgui_create_fonts_texture(const simgui_font_tex_desc_t* desc); SOKOL_IMGUI_API_DECL void simgui_destroy_fonts_texture(void); #ifdef __cplusplus } // extern "C" // reference-based equivalents for C++ inline void simgui_setup(const simgui_desc_t& desc) { return simgui_setup(&desc); } inline simgui_image_t simgui_make_image(const simgui_image_desc_t& desc) { return simgui_make_image(&desc); } inline void simgui_new_frame(const simgui_frame_desc_t& desc) { return simgui_new_frame(&desc); } inline void simgui_create_fonts_texture(const simgui_font_tex_desc_t& desc) { return simgui_create_fonts_texture(&desc); } #endif #endif /* SOKOL_IMGUI_INCLUDED */ //-- IMPLEMENTATION ------------------------------------------------------------ #ifdef SOKOL_IMGUI_IMPL #define SOKOL_IMGUI_IMPL_INCLUDED (1) #if defined(SOKOL_MALLOC) || defined(SOKOL_CALLOC) || defined(SOKOL_FREE) #error "SOKOL_MALLOC/CALLOC/FREE macros are no longer supported, please use simgui_desc_t.allocator to override memory allocation functions" #endif #if defined(__cplusplus) #if !defined(IMGUI_VERSION) #error "Please include imgui.h before the sokol_imgui.h implementation" #endif #else #if !defined(CIMGUI_INCLUDED) #error "Please include cimgui.h before the sokol_imgui.h implementation" #endif #endif #include <string.h> // memset #include <stdlib.h> // malloc/free #if defined(__EMSCRIPTEN__) && !defined(SOKOL_DUMMY_BACKEND) #include <emscripten.h> #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef _SOKOL_PRIVATE #if defined(__GNUC__) || defined(__clang__) #define _SOKOL_PRIVATE __attribute__((unused)) static #else #define _SOKOL_PRIVATE static #endif #endif #define _SIMGUI_INIT_COOKIE (0xBABEBABE) #define _SIMGUI_INVALID_SLOT_INDEX (0) #define _SIMGUI_SLOT_SHIFT (16) #define _SIMGUI_MAX_POOL_SIZE (1<<_SIMGUI_SLOT_SHIFT) #define _SIMGUI_SLOT_MASK (_SIMGUI_MAX_POOL_SIZE-1) // helper macros and constants #define _simgui_def(val, def) (((val) == 0) ? (def) : (val)) // workaround for missing ImDrawCallback_ResetRenderState in cimgui.h // see: https://github.com/cimgui/cimgui/issues/261 #ifndef ImDrawCallback_ResetRenderState #define ImDrawCallback_ResetRenderState (ImDrawCallback)(-8) #endif typedef struct { ImVec2 disp_size; uint8_t _pad_8[8]; } _simgui_vs_params_t; typedef enum { _SIMGUI_RESOURCESTATE_INITIAL, _SIMGUI_RESOURCESTATE_ALLOC, _SIMGUI_RESOURCESTATE_VALID, _SIMGUI_RESOURCESTATE_FAILED, _SIMGUI_RESOURCESTATE_INVALID, _SIMGUI_RESOURCESTATE_FORCE_U32 = 0x7FFFFFFF } _simgui_resource_state; typedef struct { uint32_t id; _simgui_resource_state state; } _simgui_slot_t; typedef struct { int size; int queue_top; uint32_t* gen_ctrs; int* free_queue; } _simgui_pool_t; typedef struct { _simgui_slot_t slot; sg_image image; sg_sampler sampler; sg_pipeline pip; // this will either be _simgui.def_pip or _simgui.pip_unfilterable } _simgui_image_t; typedef struct { _simgui_pool_t pool; _simgui_image_t* items; } _simgui_image_pool_t; typedef struct { uint32_t init_cookie; simgui_desc_t desc; float cur_dpi_scale; sg_buffer vbuf; sg_buffer ibuf; sg_image font_img; sg_sampler font_smp; simgui_image_t default_font; sg_image def_img; // used as default image for user images sg_sampler def_smp; // used as default sampler for user images sg_shader def_shd; sg_pipeline def_pip; // separate shader and pipeline for unfilterable user images sg_shader shd_unfilterable; sg_pipeline pip_unfilterable; sg_range vertices; sg_range indices; bool is_osx; _simgui_image_pool_t image_pool; } _simgui_state_t; static _simgui_state_t _simgui; /* Embedded source code compiled with: sokol-shdc -i simgui.glsl -o simgui.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgpu -b (not that for Metal and D3D11 byte code, sokol-shdc must be run on macOS and Windows) @vs vs uniform vs_params { vec2 disp_size; }; in vec2 position; in vec2 texcoord0; in vec4 color0; out vec2 uv; out vec4 color; void main() { gl_Position = vec4(((position/disp_size)-0.5)*vec2(2.0,-2.0), 0.5, 1.0); uv = texcoord0; color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; in vec2 uv; in vec4 color; out vec4 frag_color; void main() { frag_color = texture(sampler2D(tex, smp), uv) * color; } @end @program simgui vs fs */ #if defined(SOKOL_GLCORE) static const uint8_t _simgui_vs_source_glsl410[383] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e, 0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76, 0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74, 0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x28,0x28,0x70,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73, 0x5b,0x30,0x5d,0x2e,0x78,0x79,0x29,0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x28,0x30, 0x2e,0x35,0x29,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x32,0x28,0x32,0x2e,0x30,0x2c, 0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x30,0x2e,0x35,0x2c,0x20,0x31,0x2e,0x30, 0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63, 0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _simgui_fs_source_glsl410[219] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65, 0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x20,0x2a,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _simgui_vs_source_glsl300es[344] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f, 0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29, 0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20, 0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f, 0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65, 0x63,0x34,0x28,0x28,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x29, 0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2a,0x20, 0x76,0x65,0x63,0x32,0x28,0x32,0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c, 0x20,0x30,0x2e,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _simgui_fs_source_glsl300es[250] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20, 0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x32,0x20,0x75, 0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61, 0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x20,0x2a,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _simgui_vs_bytecode_metal_macos[3052] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x7b,0x12,0x23,0x17,0xd9,0x25,0x1c, 0x1b,0x42,0x42,0x9f,0xbf,0x31,0xd2,0x2c,0x3a,0x55,0x22,0x1d,0x40,0xd8,0xc4,0xf8, 0x20,0x49,0x60,0x6d,0x3c,0xea,0x4e,0x1c,0x34,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xc8,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xaf,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x81,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x18,0x02,0x01,0x2c,0x40,0x05,0x00,0x49,0x18,0x00,0x00, 0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00,0x16,0x00,0x00,0x00, 0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04,0x13,0x22,0xa4,0x84,0x04,0x13,0x22,0xe3, 0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c,0x0b,0x84,0x84,0x4c,0x10,0x3c,0x33,0x00, 0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x91,0x83,0xa4,0x29,0xa2,0x84,0xc9, 0xaf,0xa4,0xff,0x01,0x22,0x80,0x91,0x50,0x10,0x83,0x08,0x84,0x50,0x8a,0x89,0x90, 0x22,0x1b,0x08,0x98,0x23,0x00,0x83,0x14,0xc8,0x39,0x02,0x50,0x18,0x44,0x08,0x84, 0x61,0x04,0x22,0x19,0x01,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0,0x03, 0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87,0x71, 0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38,0xd8, 0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06, 0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07,0x7a, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07, 0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20, 0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d, 0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80, 0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07, 0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07,0x75, 0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50,0x07, 0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x6d, 0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74,0xa0, 0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60,0x07, 0x7a,0x30,0x07,0x72,0x30,0x84,0x39,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0xc8, 0x02,0x01,0x00,0x00,0x09,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90, 0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0xca,0x12,0x18,0x01,0x28,0x88,0x22,0x28,0x84, 0x32,0xa0,0x1d,0x01,0x20,0x1d,0x4b,0x68,0x02,0x00,0x00,0x00,0x79,0x18,0x00,0x00, 0xea,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9, 0xb9,0xb4,0x37,0xb7,0x21,0x46,0x42,0x20,0x80,0x82,0x50,0xb9,0x1b,0x43,0x0b,0x93, 0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x24,0x01,0x22,0x24,0x05,0xe7,0x20,0x08,0x0e, 0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd, 0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e, 0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26, 0x65,0x88,0x80,0x10,0x43,0x8c,0x24,0x48,0x86,0x44,0x60,0xd1,0x54,0x46,0x17,0xc6, 0x36,0x04,0x41,0x8e,0x24,0x48,0x82,0x44,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6, 0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36, 0x17,0x26,0xc6,0x56,0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d, 0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65, 0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x64,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd, 0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95, 0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d, 0x11,0x90,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b, 0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98, 0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e, 0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84, 0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20,0x0f,0x02,0x21, 0x11,0x22,0x21,0x13,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b, 0x49,0xa1,0x61,0xc6,0xf6,0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08, 0x83,0x3c,0x88,0x85,0x44,0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee, 0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d, 0xda,0x9b,0xdb,0x10,0x05,0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86,0x18,0x48,0x85, 0x64,0x08,0x47,0x28,0x2c,0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd, 0x0d,0xae,0x8e,0x8e,0x52,0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b, 0xdb,0x57,0x9a,0x1b,0x59,0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32, 0x32,0x94,0xaf,0xaf,0xb0,0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36, 0xb2,0x32,0xb9,0xaf,0xaf,0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43, 0xa8,0x44,0x40,0x3c,0xe4,0x4b,0x84,0x24,0x40,0xc0,0x00,0x89,0x10,0x09,0x99,0x90, 0x30,0x60,0x42,0x57,0x86,0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84,0x4a,0x02,0xc4, 0x43,0xbe,0x24,0x48,0x02,0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19,0x03,0x1a,0x63, 0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88,0x24,0x40,0xc0, 0x00,0x89,0x90,0x0b,0x99,0x90,0x32,0xa0,0x12,0x96,0x26,0xe7,0x22,0x56,0x67,0x66, 0x56,0x26,0xc7,0x27,0x2c,0x4d,0xce,0x45,0xac,0xce,0xcc,0xac,0x4c,0xee,0x6b,0x2e, 0x4d,0xaf,0x8c,0x48,0x58,0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39, 0x97,0x39,0x3a,0xb9,0xba,0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3, 0x37,0x26,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x43,0x94,0x44,0x48,0x86, 0x44,0x40,0x24,0x64,0x0d,0x18,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5, 0xc1,0x95,0x7d,0xcd,0xa5,0xe9,0x95,0xf1,0x0a,0x4b,0x93,0x73,0x09,0x93,0x3b,0xfb, 0xa2,0xcb,0x83,0x2b,0xfb,0x0a,0x63,0x4b,0x3b,0x73,0xfb,0x9a,0x4b,0xd3,0x2b,0x63, 0x62,0x37,0xf7,0x05,0x17,0x26,0x17,0xd6,0x36,0xc7,0xe1,0x4b,0x46,0x66,0x08,0x19, 0x24,0x06,0x72,0x06,0x08,0x1a,0x24,0x03,0xf2,0x25,0x42,0x12,0x20,0x69,0x80,0xa8, 0x01,0xc2,0x06,0x48,0x1b,0x24,0x03,0xe2,0x06,0xc9,0x80,0x44,0xc8,0x1b,0x20,0x13, 0x02,0x07,0x43,0x10,0x44,0x0c,0x10,0x32,0x40,0xcc,0x00,0x89,0x83,0x21,0xc6,0x01, 0x20,0x1d,0x22,0x07,0x7c,0xde,0xda,0xdc,0xd2,0xe0,0xde,0xe8,0xca,0xdc,0xe8,0x40, 0xc6,0xd0,0xc2,0xe4,0xf8,0x4c,0xa5,0xb5,0xc1,0xb1,0x95,0x81,0x0c,0xad,0xac,0x80, 0x50,0x09,0x05,0x05,0x0d,0x11,0x90,0x3a,0x18,0x62,0x20,0x74,0x80,0xd8,0xc1,0x72, 0x0c,0x31,0x90,0x3b,0x40,0xee,0x60,0x39,0x46,0x44,0xec,0xc0,0x0e,0xf6,0xd0,0x0e, 0x6e,0xd0,0x0e,0xef,0x40,0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0,0x0e,0xe1, 0x70,0x0e,0xf3,0x30,0x45,0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b, 0xa4,0x03,0x39,0x94,0x83,0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43,0x3a,0xc8, 0x83,0x1b,0xd8,0x43,0x39,0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94,0xc0,0x18, 0x41,0x85,0x43,0x3a,0xc8,0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4,0x43,0x38, 0x9c,0x43,0x39,0xfc,0x82,0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83,0x3b,0x4c, 0x09,0x90,0x11,0x53,0x38,0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b,0xc0,0x43, 0x3a,0xb0,0x43,0x39,0xfc,0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x3c, 0x4c,0x19,0x14,0xc6,0x19,0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8, 0x03,0x3d,0x94,0x03,0x3e,0x4c,0x09,0xe6,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00, 0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88, 0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6, 0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce, 0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8, 0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48, 0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11, 0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e, 0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89, 0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b, 0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37, 0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78, 0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81, 0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1, 0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c, 0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39, 0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc, 0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58, 0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87, 0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f, 0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e, 0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66, 0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0, 0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e, 0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc, 0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3, 0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07, 0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e, 0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e, 0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d, 0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00, 0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00, 0x61,0x20,0x00,0x00,0x23,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00, 0x11,0x00,0x00,0x00,0xd4,0x63,0x11,0x40,0x60,0x1c,0x73,0x10,0x42,0xf0,0x3c,0x94, 0x33,0x00,0x14,0x63,0x09,0x20,0x08,0x82,0xf0,0x2f,0x80,0x20,0x08,0xc2,0xbf,0x30, 0x96,0x00,0x82,0x20,0x08,0x82,0x01,0x08,0x82,0x20,0x08,0x0e,0x33,0x00,0x24,0x73, 0x10,0xd7,0x65,0x55,0x34,0x33,0x00,0x04,0x63,0x04,0x20,0x08,0x82,0xf8,0x37,0x46, 0x00,0x82,0x20,0x08,0x7f,0x33,0x00,0x00,0xe3,0x0d,0x4c,0x64,0x51,0x40,0x2c,0x0a, 0xe8,0x63,0xc1,0x02,0x1f,0x0b,0x16,0xf9,0x0c,0x32,0x04,0xcb,0x33,0xc8,0x10,0x2c, 0xd1,0x6c,0xc3,0x52,0x01,0xb3,0x0d,0x41,0x15,0xcc,0x36,0x04,0x83,0x90,0x41,0x40, 0x0c,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x5b,0x86,0x20,0xc0,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _simgui_fs_bytecode_metal_macos[2809] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf9,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xa1,0xce,0x6b,0xd1,0x1f,0x32,0x9e, 0x8d,0x8d,0x1c,0xcc,0x19,0xcb,0xd3,0xb6,0x21,0x99,0x0b,0xb6,0x46,0x8b,0x87,0x98, 0x8e,0x2d,0xb5,0x98,0x92,0x0a,0x81,0x7d,0xf3,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x0c,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x80,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87, 0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38, 0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0, 0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0, 0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76, 0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50, 0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07, 0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, 0x18,0xc2,0x38,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64,0x81,0x00,0x00,0x00, 0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26, 0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70, 0x2c,0xa1,0x09,0x00,0x00,0x79,0x18,0x00,0x00,0xb9,0x00,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42, 0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45, 0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84, 0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84, 0x67,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c, 0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0, 0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32, 0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe, 0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d, 0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08,0x0f,0x45,0x29,0x2c, 0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e, 0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34, 0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72, 0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28, 0xd4,0xd9,0x0d,0x91,0x96,0xe1,0xb1,0x9e,0xeb,0xc1,0x9e,0xec,0x81,0x1e,0xed,0x91, 0x9e,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1, 0x37,0xb6,0x37,0xb9,0x21,0xd2,0x22,0x3c,0xd6,0xd3,0x3d,0xd8,0x93,0x3d,0xd0,0x13, 0x3d,0xd2,0xe3,0x71,0x09,0x4b,0x93,0x73,0xa1,0x2b,0xc3,0xa3,0xab,0x93,0x2b,0xa3, 0x14,0x96,0x26,0xe7,0xc2,0xf6,0x36,0x16,0x46,0x97,0xf6,0xe6,0xf6,0x95,0xe6,0x46, 0x56,0x86,0x47,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x8c,0x18,0x5d, 0x19,0x1e,0x5d,0x9d,0x5c,0x99,0x0c,0x19,0x8f,0x19,0xdb,0x5b,0x18,0x1d,0x0b,0xc8, 0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x0f,0x07,0xba,0x32,0xbc,0x21,0xd4,0x42,0x3c,0x60, 0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x23,0x06,0x0f,0xf4,0x8c,0xc1,0x23,0x3d,0x64,0xc0, 0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x4c,0x8e,0xc7,0x5c,0x58,0x1b, 0x1c,0x5b,0x99,0x1c,0x87,0xb9,0x36,0xb8,0x21,0xd2,0x72,0x3c,0x66,0xf0,0x84,0xc1, 0x32,0x2c,0xc2,0x03,0x3d,0x67,0xf0,0x48,0x0f,0x1a,0x0c,0x41,0x1e,0xee,0xf9,0x9e, 0x32,0x78,0xd2,0x60,0x88,0x91,0x00,0x4f,0xf5,0xa8,0xc1,0x88,0x88,0x1d,0xd8,0xc1, 0x1e,0xda,0xc1,0x0d,0xda,0xe1,0x1d,0xc8,0xa1,0x1e,0xd8,0xa1,0x1c,0xdc,0xc0,0x1c, 0xd8,0x21,0x1c,0xce,0x61,0x1e,0xa6,0x08,0xc1,0x30,0x42,0x61,0x07,0x76,0xb0,0x87, 0x76,0x70,0x83,0x74,0x20,0x87,0x72,0x70,0x07,0x7a,0x98,0x12,0x14,0x23,0x96,0x70, 0x48,0x07,0x79,0x70,0x03,0x7b,0x28,0x07,0x79,0x98,0x87,0x74,0x78,0x07,0x77,0x98, 0x12,0x18,0x23,0xa8,0x70,0x48,0x07,0x79,0x70,0x03,0x76,0x08,0x07,0x77,0x38,0x87, 0x7a,0x08,0x87,0x73,0x28,0x87,0x5f,0xb0,0x87,0x72,0x90,0x87,0x79,0x48,0x87,0x77, 0x70,0x87,0x29,0x01,0x32,0x62,0x0a,0x87,0x74,0x90,0x07,0x37,0x18,0x87,0x77,0x68, 0x07,0x78,0x48,0x07,0x76,0x28,0x87,0x5f,0x78,0x07,0x78,0xa0,0x87,0x74,0x78,0x07, 0x77,0x98,0x87,0x29,0x83,0xc2,0x38,0x23,0x98,0x70,0x48,0x07,0x79,0x70,0x03,0x73, 0x90,0x87,0x70,0x38,0x87,0x76,0x28,0x07,0x77,0xa0,0x87,0x29,0xc1,0x1a,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01, 0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e, 0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00, 0x00,0x0c,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x04,0x00,0x00, 0x00,0xc4,0x46,0x00,0x48,0x8d,0x00,0xd4,0x00,0x89,0x19,0x00,0x02,0x23,0x00,0x00, 0x00,0x23,0x06,0x8a,0x10,0x44,0x87,0x91,0x0c,0x05,0x11,0x58,0x90,0xc8,0x67,0xb6, 0x81,0x08,0x80,0x0c,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _simgui_vs_bytecode_metal_ios[3052] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x69,0x97,0x6b,0xac,0xd8,0xa2,0x51, 0x33,0x7c,0x5f,0x96,0xb2,0xb1,0x06,0x06,0x7c,0xbb,0x5f,0x88,0xa0,0xeb,0x9f,0xea, 0x6e,0x6b,0x70,0xa9,0x6e,0xef,0xe6,0xa4,0xea,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xc0,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xad,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x82,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x20,0x02,0x01,0x24,0xc0,0x02,0x54,0x00,0x00,0x00,0x00, 0x49,0x18,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00, 0x16,0x00,0x00,0x00,0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04,0x13,0x22,0xa4,0x84, 0x04,0x13,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c,0x0b,0x84,0x84,0x4c, 0x10,0x3c,0x33,0x00,0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x91,0x83,0xa4, 0x29,0xa2,0x84,0xc9,0xaf,0xa4,0xff,0x01,0x22,0x80,0x91,0x50,0x10,0x83,0x08,0x84, 0x50,0x8a,0x89,0x90,0x22,0x1b,0x08,0x98,0x23,0x00,0x83,0x14,0xc8,0x39,0x02,0x50, 0x18,0x44,0x08,0x84,0x61,0x04,0x22,0x19,0x01,0x00,0x00,0x00,0x13,0xa8,0x70,0x48, 0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83, 0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e, 0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0, 0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0, 0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6, 0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07, 0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6, 0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80, 0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07, 0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75, 0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0, 0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07, 0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70, 0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20, 0x07,0x43,0x98,0x03,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x2c,0x10,0x00,0x00, 0x09,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47, 0xc6,0x04,0x43,0xca,0x12,0x18,0x01,0x28,0x88,0x22,0x28,0x84,0x32,0xa0,0x1d,0x01, 0x20,0x1d,0x4b,0x80,0x04,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0xe9,0x00,0x00,0x00, 0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7, 0x21,0x46,0x42,0x20,0x80,0x82,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3, 0x2b,0x1b,0x62,0x24,0x01,0x22,0x24,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4, 0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac, 0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0x80,0x10, 0x43,0x8c,0x24,0x48,0x86,0x44,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x41,0x8e, 0x24,0x48,0x82,0x44,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56, 0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56, 0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65, 0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c, 0x65,0x43,0x04,0x64,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1, 0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95, 0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d,0x11,0x90,0x86,0x51,0x58, 0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d, 0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72, 0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc, 0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85, 0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20,0x0f,0x02,0x21,0x11,0x22,0x21,0x13,0x42, 0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6,0xf6, 0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08,0x83,0x3c,0x88,0x85,0x44, 0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e,0xed, 0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10,0x05, 0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86,0x18,0x48,0x85,0x64,0x08,0x47,0x28,0x2c, 0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x52, 0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b,0x59, 0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32,0x32,0x94,0xaf,0xaf,0xb0, 0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf,0xaf, 0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43,0xa8,0x44,0x40,0x3c,0xe4, 0x4b,0x84,0x24,0x40,0xc0,0x00,0x89,0x10,0x09,0x99,0x90,0x30,0x60,0x42,0x57,0x86, 0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84,0x4a,0x02,0xc4,0x43,0xbe,0x24,0x48,0x02, 0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88,0x24,0x40,0xc0,0x00,0x89,0x90,0x0b,0x99, 0x90,0x32,0xa0,0x12,0x96,0x26,0xe7,0x22,0x56,0x67,0x66,0x56,0x26,0xc7,0x27,0x2c, 0x4d,0xce,0x45,0xac,0xce,0xcc,0xac,0x4c,0xee,0x6b,0x2e,0x4d,0xaf,0x8c,0x48,0x58, 0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39,0x97,0x39,0x3a,0xb9,0xba, 0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3,0x37,0x26,0x64,0x69,0x73, 0x70,0x5f,0x73,0x69,0x7a,0x65,0x43,0x94,0x44,0x48,0x86,0x44,0x40,0x24,0x64,0x0d, 0x18,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5,0xc1,0x95,0x7d,0xcd,0xa5, 0xe9,0x95,0xf1,0x0a,0x4b,0x93,0x73,0x09,0x93,0x3b,0xfb,0xa2,0xcb,0x83,0x2b,0xfb, 0x0a,0x63,0x4b,0x3b,0x73,0xfb,0x9a,0x4b,0xd3,0x2b,0x63,0x62,0x37,0xf7,0x05,0x17, 0x26,0x17,0xd6,0x36,0xc7,0xe1,0x4b,0x46,0x66,0x08,0x19,0x24,0x06,0x72,0x06,0x08, 0x1a,0x24,0x03,0xf2,0x25,0x42,0x12,0x20,0x69,0x80,0xa8,0x01,0xc2,0x06,0x48,0x1b, 0x24,0x03,0xe2,0x06,0xc9,0x80,0x44,0xc8,0x1b,0x20,0x13,0x02,0x07,0x43,0x10,0x44, 0x0c,0x10,0x32,0x40,0xcc,0x00,0x89,0x83,0x21,0xc6,0x01,0x20,0x1d,0x22,0x07,0x7c, 0xde,0xda,0xdc,0xd2,0xe0,0xde,0xe8,0xca,0xdc,0xe8,0x40,0xc6,0xd0,0xc2,0xe4,0xf8, 0x4c,0xa5,0xb5,0xc1,0xb1,0x95,0x81,0x0c,0xad,0xac,0x80,0x50,0x09,0x05,0x05,0x0d, 0x11,0x90,0x3a,0x18,0x62,0x20,0x74,0x80,0xd8,0xc1,0x72,0x0c,0x31,0x90,0x3b,0x40, 0xee,0x60,0x39,0x46,0x44,0xec,0xc0,0x0e,0xf6,0xd0,0x0e,0x6e,0xd0,0x0e,0xef,0x40, 0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0,0x0e,0xe1,0x70,0x0e,0xf3,0x30,0x45, 0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b,0xa4,0x03,0x39,0x94,0x83, 0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39, 0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94,0xc0,0x18,0x41,0x85,0x43,0x3a,0xc8, 0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4,0x43,0x38,0x9c,0x43,0x39,0xfc,0x82, 0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83,0x3b,0x4c,0x09,0x90,0x11,0x53,0x38, 0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b,0xc0,0x43,0x3a,0xb0,0x43,0x39,0xfc, 0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x3c,0x4c,0x19,0x14,0xc6,0x19, 0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8,0x03,0x3d,0x94,0x03,0x3e, 0x4c,0x09,0xe6,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c, 0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07, 0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e, 0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43, 0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c, 0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76, 0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e, 0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8, 0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4, 0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68, 0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07, 0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71, 0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5, 0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4, 0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90, 0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43, 0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b, 0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78, 0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2, 0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20, 0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0, 0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83, 0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07, 0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61, 0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d, 0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39, 0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79, 0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3, 0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4, 0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8, 0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83, 0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00, 0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x23,0x00,0x00,0x00, 0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0xd4,0x63,0x11,0x40, 0x60,0x1c,0x73,0x10,0x42,0xf0,0x3c,0x94,0x33,0x00,0x14,0x63,0x09,0x20,0x08,0x82, 0xf0,0x2f,0x80,0x20,0x08,0xc2,0xbf,0x30,0x96,0x00,0x82,0x20,0x08,0x82,0x01,0x08, 0x82,0x20,0x08,0x0e,0x33,0x00,0x24,0x73,0x10,0xd7,0x65,0x55,0x34,0x33,0x00,0x04, 0x63,0x04,0x20,0x08,0x82,0xf8,0x37,0x46,0x00,0x82,0x20,0x08,0x7f,0x33,0x00,0x00, 0xe3,0x0d,0x4c,0x64,0x51,0x40,0x2c,0x0a,0xe8,0x63,0xc1,0x02,0x1f,0x0b,0x16,0xf9, 0x0c,0x32,0x04,0xcb,0x33,0xc8,0x10,0x2c,0xd1,0x6c,0xc3,0x52,0x01,0xb3,0x0d,0x41, 0x15,0xcc,0x36,0x04,0x83,0x90,0x41,0x40,0x0c,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x5b,0x86,0x20,0xc0,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _simgui_fs_bytecode_metal_ios[2809] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf9,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xf0,0xa4,0xb3,0x95,0x4b,0xab,0x64, 0x94,0xe7,0xa9,0x8a,0x69,0x27,0x6d,0x28,0x77,0x84,0x8d,0x3f,0xaf,0x7d,0x3c,0x39, 0x31,0xc4,0xcb,0x53,0x6d,0xc0,0x0d,0xdf,0x08,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x04,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x7e,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xa8,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x74,0x78,0x87, 0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e,0x6d,0x00,0x0f, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe9, 0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0,0x07,0x78,0xa0, 0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07, 0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0, 0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xf6,0x20, 0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x40,0x07,0x78, 0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07,0x76,0xa0,0x07, 0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x72, 0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60, 0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07, 0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a, 0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10, 0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07,0x70,0x20,0x07, 0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20,0x07,0x43,0x98, 0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0x8c,0x03,0x04,0x80,0x00,0x00, 0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98, 0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02, 0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70,0x2c,0x01,0x12,0x00,0x00,0x79,0x18,0x00, 0x00,0xb9,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32, 0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b, 0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08, 0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed, 0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c, 0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45, 0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17, 0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6, 0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96, 0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f, 0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x67,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c, 0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99, 0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d, 0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d, 0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c, 0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2, 0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d, 0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9, 0x99,0x86,0x08,0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc, 0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb, 0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e, 0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34, 0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28,0xd4,0xd9,0x0d,0x91,0x96,0xe1,0xb1,0x9e,0xeb, 0xc1,0x9e,0xec,0x81,0x1e,0xed,0x91,0x9e,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb, 0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1,0x37,0xb6,0x37,0xb9,0x21,0xd2,0x22,0x3c,0xd6, 0xd3,0x3d,0xd8,0x93,0x3d,0xd0,0x13,0x3d,0xd2,0xe3,0x71,0x09,0x4b,0x93,0x73,0xa1, 0x2b,0xc3,0xa3,0xab,0x93,0x2b,0xa3,0x14,0x96,0x26,0xe7,0xc2,0xf6,0x36,0x16,0x46, 0x97,0xf6,0xe6,0xf6,0x95,0xe6,0x46,0x56,0x86,0x47,0x25,0x2c,0x4d,0xce,0x65,0x2e, 0xac,0x0d,0x8e,0xad,0x8c,0x18,0x5d,0x19,0x1e,0x5d,0x9d,0x5c,0x99,0x0c,0x19,0x8f, 0x19,0xdb,0x5b,0x18,0x1d,0x0b,0xc8,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x0f,0x07,0xba, 0x32,0xbc,0x21,0xd4,0x42,0x3c,0x60,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x23,0x06,0x0f, 0xf4,0x8c,0xc1,0x23,0x3d,0x64,0xc0,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e, 0xad,0x4c,0x8e,0xc7,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x87,0xb9,0x36,0xb8,0x21, 0xd2,0x72,0x3c,0x66,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x03,0x3d,0x67,0xf0,0x48,0x0f, 0x1a,0x0c,0x41,0x1e,0xee,0xf9,0x9e,0x32,0x78,0xd2,0x60,0x88,0x91,0x00,0x4f,0xf5, 0xa8,0xc1,0x88,0x88,0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xda,0xe1,0x1d,0xc8,0xa1, 0x1e,0xd8,0xa1,0x1c,0xdc,0xc0,0x1c,0xd8,0x21,0x1c,0xce,0x61,0x1e,0xa6,0x08,0xc1, 0x30,0x42,0x61,0x07,0x76,0xb0,0x87,0x76,0x70,0x83,0x74,0x20,0x87,0x72,0x70,0x07, 0x7a,0x98,0x12,0x14,0x23,0x96,0x70,0x48,0x07,0x79,0x70,0x03,0x7b,0x28,0x07,0x79, 0x98,0x87,0x74,0x78,0x07,0x77,0x98,0x12,0x18,0x23,0xa8,0x70,0x48,0x07,0x79,0x70, 0x03,0x76,0x08,0x07,0x77,0x38,0x87,0x7a,0x08,0x87,0x73,0x28,0x87,0x5f,0xb0,0x87, 0x72,0x90,0x87,0x79,0x48,0x87,0x77,0x70,0x87,0x29,0x01,0x32,0x62,0x0a,0x87,0x74, 0x90,0x07,0x37,0x18,0x87,0x77,0x68,0x07,0x78,0x48,0x07,0x76,0x28,0x87,0x5f,0x78, 0x07,0x78,0xa0,0x87,0x74,0x78,0x07,0x77,0x98,0x87,0x29,0x83,0xc2,0x38,0x23,0x98, 0x70,0x48,0x07,0x79,0x70,0x03,0x73,0x90,0x87,0x70,0x38,0x87,0x76,0x28,0x07,0x77, 0xa0,0x87,0x29,0xc1,0x1a,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00, 0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84, 0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed, 0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66, 0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c, 0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70, 0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90, 0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4, 0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83, 0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14, 0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70, 0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80, 0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0, 0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1, 0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d, 0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39, 0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc, 0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70, 0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53, 0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e, 0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c, 0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38, 0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37, 0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33, 0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4, 0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0, 0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3, 0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07, 0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23, 0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59, 0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b, 0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00, 0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f, 0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20, 0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x0c,0x00,0x00,0x00,0x13,0x04,0x41, 0x2c,0x10,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xc4,0x46,0x00,0x48,0x8d,0x00,0xd4, 0x00,0x89,0x19,0x00,0x02,0x23,0x00,0x00,0x00,0x23,0x06,0x8a,0x10,0x44,0x87,0x91, 0x0c,0x05,0x11,0x58,0x90,0xc8,0x67,0xb6,0x81,0x08,0x80,0x0c,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _simgui_vs_source_metal_sim[672] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x20,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x3b, 0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e, 0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x32,0x20,0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63, 0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c, 0x6f,0x63,0x6e,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x34,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20, 0x5b,0x5b,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69, 0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x70, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62, 0x75,0x74,0x65,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x5b, 0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31,0x29,0x5d,0x5d,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x32, 0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x65,0x72,0x74,0x65,0x78,0x20, 0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x28, 0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,0x74, 0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61, 0x6e,0x74,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x26,0x20,0x5f,0x32, 0x32,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74, 0x20,0x6f,0x75,0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f, 0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x28,0x69,0x6e,0x2e,0x70,0x6f,0x73, 0x69,0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20,0x5f,0x32,0x32,0x2e,0x64,0x69,0x73,0x70, 0x5f,0x73,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28, 0x30,0x2e,0x35,0x29,0x29,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x32, 0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x30,0x2e,0x35,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75,0x76, 0x20,0x3d,0x20,0x69,0x6e,0x2e,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d, 0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _simgui_fs_source_metal_sim[436] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d, 0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f, 0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x66,0x72,0x61,0x67,0x6d,0x65, 0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65, 0x78,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d, 0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b, 0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75, 0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e, 0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78, 0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x2c,0x20,0x69,0x6e,0x2e, 0x75,0x76,0x29,0x20,0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a, 0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _simgui_vs_bytecode_hlsl4[892] = { 0x44,0x58,0x42,0x43,0x0d,0xbd,0x9e,0x9e,0x7d,0xc0,0x2b,0x54,0x88,0xf9,0xca,0x89, 0x32,0xe4,0x0c,0x59,0x01,0x00,0x00,0x00,0x7c,0x03,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xfc,0x00,0x00,0x00,0x60,0x01,0x00,0x00,0xd0,0x01,0x00,0x00, 0x00,0x03,0x00,0x00,0x52,0x44,0x45,0x46,0xc0,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0x98,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x00,0xab,0xab,0x3c,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00, 0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x88,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x5f,0x32,0x32,0x5f,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a, 0x65,0x00,0xab,0xab,0x01,0x00,0x03,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52, 0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e, 0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab, 0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x0c,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0xab,0xab,0xab, 0x53,0x48,0x44,0x52,0x28,0x01,0x00,0x00,0x40,0x00,0x01,0x00,0x4a,0x00,0x00,0x00, 0x59,0x00,0x00,0x04,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x03, 0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00, 0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x67,0x00,0x00,0x04, 0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x00,0x00,0x02, 0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0xf2,0x20,0x10,0x00, 0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x02,0x00,0x00,0x00,0x0e,0x00,0x00,0x08, 0x32,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x80,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a, 0x32,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x02,0x40,0x00,0x00,0x00,0x00,0x00,0xbf,0x00,0x00,0x00,0xbf,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x0a,0x32,0x20,0x10,0x00,0x02,0x00,0x00,0x00, 0x46,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x02,0x40,0x00,0x00,0x00,0x00,0x00,0x40, 0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x08, 0xc2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x02,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x00,0x80,0x3f,0x3e,0x00,0x00,0x01, 0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _simgui_fs_bytecode_hlsl4[608] = { 0x44,0x58,0x42,0x43,0x3a,0xa7,0x41,0x21,0xb4,0x2d,0xa7,0x6e,0xfe,0x31,0xb0,0xe0, 0x14,0xe0,0xdf,0x5a,0x01,0x00,0x00,0x00,0x60,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x48,0x01,0x00,0x00, 0xe4,0x01,0x00,0x00,0x52,0x44,0x45,0x46,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0x64,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c, 0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x44,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00, 0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x53,0x56,0x5f,0x54, 0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52,0x94,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x5a,0x00,0x00,0x03,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00,0x00,0x00,0x00,0x00, 0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00, 0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x7e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x01,0x00,0x00,0x00, 0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _simgui_vs_source_wgsl[1083] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x20,0x3a, 0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28, 0x30,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x30,0x29,0x20,0x76, 0x61,0x72,0x3c,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x32,0x32, 0x20,0x3a,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x76, 0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a, 0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20, 0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72, 0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63, 0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20, 0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f, 0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x31,0x39, 0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x5f,0x31,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x35,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x78,0x5f,0x32,0x32, 0x2e,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x33,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d, 0x20,0x28,0x28,0x28,0x78,0x5f,0x31,0x39,0x20,0x2f,0x20,0x78,0x5f,0x32,0x35,0x29, 0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x30,0x2e,0x35,0x66,0x2c,0x20,0x30, 0x2e,0x35,0x66,0x29,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x32,0x2e, 0x30,0x66,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x66,0x29,0x29,0x3b,0x0a,0x20,0x20,0x67, 0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63, 0x34,0x66,0x28,0x78,0x5f,0x33,0x33,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x33,0x33,0x2e, 0x79,0x2c,0x20,0x30,0x2e,0x35,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a, 0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x33,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x78,0x5f,0x34,0x33,0x3b,0x0a,0x20,0x20,0x6c, 0x65,0x74,0x20,0x78,0x5f,0x34,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x20,0x3d,0x20,0x78,0x5f,0x34,0x37,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75, 0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61, 0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c, 0x74,0x69,0x6e,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65, 0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x28,0x30,0x29,0x0a,0x20,0x20,0x75,0x76,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x31,0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78, 0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69, 0x6f,0x6e,0x28,0x30,0x29,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x32,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e, 0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65, 0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _simgui_fs_source_wgsl[630] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75, 0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x38, 0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b,0x0a,0x0a,0x40,0x67, 0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67, 0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70,0x20,0x3a,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x34,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x78,0x5f,0x32,0x33,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74, 0x20,0x78,0x5f,0x32,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f, 0x6c,0x6f,0x72,0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x34,0x20,0x2a,0x20,0x78,0x5f, 0x32,0x37,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75, 0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x30,0x29,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x5f, 0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x66, 0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29, 0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20, 0x20,0x75,0x76,0x20,0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28, 0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x5f,0x6f,0x75,0x74,0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29, 0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _simgui_vs_source_dummy = ""; static const char* _simgui_fs_source_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) static void _simgui_set_clipboard(void* user_data, const char* text) { (void)user_data; sapp_set_clipboard_string(text); } static const char* _simgui_get_clipboard(void* user_data) { (void)user_data; return sapp_get_clipboard_string(); } #endif #if defined(__EMSCRIPTEN__) && !defined(SOKOL_DUMMY_BACKEND) EM_JS(int, simgui_js_is_osx, (void), { if (navigator.userAgent.includes('Macintosh')) { return 1; } else { return 0; } }); #endif // ██ ██████ ██████ ██████ ██ ███ ██ ██████ // ██ ██ ██ ██ ██ ██ ████ ██ ██ // ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██████ ██████ ██████ ██ ██ ████ ██████ // // >>logging #if defined(SOKOL_DEBUG) #define _SIMGUI_LOGITEM_XMACRO(item,msg) #item ": " msg, static const char* _simgui_log_messages[] = { _SIMGUI_LOG_ITEMS }; #undef _SIMGUI_LOGITEM_XMACRO #endif // SOKOL_DEBUG #define _SIMGUI_PANIC(code) _simgui_log(SIMGUI_LOGITEM_ ##code, 0, 0, __LINE__) #define _SIMGUI_ERROR(code) _simgui_log(SIMGUI_LOGITEM_ ##code, 1, 0, __LINE__) #define _SIMGUI_WARN(code) _simgui_log(SIMGUI_LOGITEM_ ##code, 2, 0, __LINE__) #define _SIMGUI_INFO(code) _simgui_log(SIMGUI_LOGITEM_ ##code, 3, 0, __LINE__) #define _SIMGUI_LOGMSG(code,msg) _simgui_log(SIMGUI_LOGITEM_ ##code, 3, msg, __LINE__) static void _simgui_log(simgui_log_item_t log_item, uint32_t log_level, const char* msg, uint32_t line_nr) { if (_simgui.desc.logger.func) { const char* filename = 0; #if defined(SOKOL_DEBUG) filename = __FILE__; if (0 == msg) { msg = _simgui_log_messages[log_item]; } #endif _simgui.desc.logger.func("simgui", log_level, log_item, msg, line_nr, filename, _simgui.desc.logger.user_data); } else { // for log level PANIC it would be 'undefined behaviour' to continue if (log_level == 0) { abort(); } } } // ███ ███ ███████ ███ ███ ██████ ██████ ██ ██ // ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ██ ██████ ██ ██ ██ // // >>memory static void _simgui_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } static void* _simgui_malloc(size_t size) { SOKOL_ASSERT(size > 0); void* ptr; if (_simgui.desc.allocator.alloc_fn) { ptr = _simgui.desc.allocator.alloc_fn(size, _simgui.desc.allocator.user_data); } else { ptr = malloc(size); } if (0 == ptr) { _SIMGUI_PANIC(MALLOC_FAILED); } return ptr; } static void* _simgui_malloc_clear(size_t size) { void* ptr = _simgui_malloc(size); _simgui_clear(ptr, size); return ptr; } static void _simgui_free(void* ptr) { if (_simgui.desc.allocator.free_fn) { _simgui.desc.allocator.free_fn(ptr, _simgui.desc.allocator.user_data); } else { free(ptr); } } // ██████ ██████ ██████ ██ // ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ // // >>pool static void _simgui_init_pool(_simgui_pool_t* pool, int num) { SOKOL_ASSERT(pool && (num >= 1)); // slot 0 is reserved for the 'invalid id', so bump the pool size by 1 pool->size = num + 1; pool->queue_top = 0; // generation counters indexable by pool slot index, slot 0 is reserved size_t gen_ctrs_size = sizeof(uint32_t) * (size_t)pool->size; pool->gen_ctrs = (uint32_t*) _simgui_malloc_clear(gen_ctrs_size); // it's not a bug to only reserve 'num' here pool->free_queue = (int*) _simgui_malloc_clear(sizeof(int) * (size_t)num); // never allocate the zero-th pool item since the invalid id is 0 for (int i = pool->size-1; i >= 1; i--) { pool->free_queue[pool->queue_top++] = i; } } static void _simgui_discard_pool(_simgui_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); _simgui_free(pool->free_queue); pool->free_queue = 0; SOKOL_ASSERT(pool->gen_ctrs); _simgui_free(pool->gen_ctrs); pool->gen_ctrs = 0; pool->size = 0; pool->queue_top = 0; } static int _simgui_pool_alloc_index(_simgui_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); if (pool->queue_top > 0) { int slot_index = pool->free_queue[--pool->queue_top]; SOKOL_ASSERT((slot_index > 0) && (slot_index < pool->size)); return slot_index; } else { // pool exhausted return _SIMGUI_INVALID_SLOT_INDEX; } } static void _simgui_pool_free_index(_simgui_pool_t* pool, int slot_index) { SOKOL_ASSERT((slot_index > _SIMGUI_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); SOKOL_ASSERT(pool->queue_top < pool->size); #ifdef SOKOL_DEBUG // debug check against double-free for (int i = 0; i < pool->queue_top; i++) { SOKOL_ASSERT(pool->free_queue[i] != slot_index); } #endif pool->free_queue[pool->queue_top++] = slot_index; SOKOL_ASSERT(pool->queue_top <= (pool->size-1)); } /* initialize a pool slot: - bump the slot's generation counter - create a resource id from the generation counter and slot index - set the slot's id to this id - set the slot's state to ALLOC - return the handle id */ static uint32_t _simgui_slot_init(_simgui_pool_t* pool, _simgui_slot_t* slot, int slot_index) { /* FIXME: add handling for an overflowing generation counter, for now, just overflow (another option is to disable the slot) */ SOKOL_ASSERT(pool && pool->gen_ctrs); SOKOL_ASSERT((slot_index > _SIMGUI_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT((slot->state == _SIMGUI_RESOURCESTATE_INITIAL) && (slot->id == SIMGUI_INVALID_ID)); uint32_t ctr = ++pool->gen_ctrs[slot_index]; slot->id = (ctr<<_SIMGUI_SLOT_SHIFT)|(slot_index & _SIMGUI_SLOT_MASK); slot->state = _SIMGUI_RESOURCESTATE_ALLOC; return slot->id; } // extract slot index from id static int _simgui_slot_index(uint32_t id) { int slot_index = (int) (id & _SIMGUI_SLOT_MASK); SOKOL_ASSERT(_SIMGUI_INVALID_SLOT_INDEX != slot_index); return slot_index; } static void _simgui_init_item_pool(_simgui_pool_t* pool, int pool_size, void** items_ptr, size_t item_size_bytes) { // NOTE: the pools will have an additional item, since slot 0 is reserved SOKOL_ASSERT(pool && (pool->size == 0)); SOKOL_ASSERT((pool_size > 0) && (pool_size < _SIMGUI_MAX_POOL_SIZE)); SOKOL_ASSERT(items_ptr && (*items_ptr == 0)); SOKOL_ASSERT(item_size_bytes > 0); _simgui_init_pool(pool, pool_size); const size_t pool_size_bytes = item_size_bytes * (size_t)pool->size; *items_ptr = _simgui_malloc_clear(pool_size_bytes); } static void _simgui_discard_item_pool(_simgui_pool_t* pool, void** items_ptr) { SOKOL_ASSERT(pool && (pool->size != 0)); SOKOL_ASSERT(items_ptr && (*items_ptr != 0)); _simgui_free(*items_ptr); *items_ptr = 0; _simgui_discard_pool(pool); } static void _simgui_setup_image_pool(int pool_size) { _simgui_image_pool_t* p = &_simgui.image_pool; _simgui_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_simgui_image_t)); } static void _simgui_discard_image_pool(void) { _simgui_image_pool_t* p = &_simgui.image_pool; _simgui_discard_item_pool(&p->pool, (void**)&p->items); } static simgui_image_t _simgui_make_image_handle(uint32_t id) { simgui_image_t handle = { id }; return handle; } static _simgui_image_t* _simgui_image_at(uint32_t id) { SOKOL_ASSERT(SIMGUI_INVALID_ID != id); const _simgui_image_pool_t* p = &_simgui.image_pool; int slot_index = _simgui_slot_index(id); SOKOL_ASSERT((slot_index > _SIMGUI_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _simgui_image_t* _simgui_lookup_image(uint32_t id) { if (SIMGUI_INVALID_ID != id) { _simgui_image_t* img = _simgui_image_at(id); if (img->slot.id == id) { return img; } } return 0; } static simgui_image_t _simgui_alloc_image(void) { _simgui_image_pool_t* p = &_simgui.image_pool; int slot_index = _simgui_pool_alloc_index(&p->pool); if (_SIMGUI_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _simgui_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _simgui_make_image_handle(id); } else { // pool exhausted return _simgui_make_image_handle(SIMGUI_INVALID_ID); } } static _simgui_resource_state _simgui_init_image(_simgui_image_t* img, const simgui_image_desc_t* desc) { SOKOL_ASSERT(img && (img->slot.state == _SIMGUI_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); SOKOL_ASSERT(_simgui.def_pip.id != SIMGUI_INVALID_ID); SOKOL_ASSERT(_simgui.pip_unfilterable.id != SIMGUI_INVALID_ID); img->image = desc->image; img->sampler = desc->sampler; if (sg_query_pixelformat(sg_query_image_desc(desc->image).pixel_format).filter) { img->pip = _simgui.def_pip; } else { img->pip = _simgui.pip_unfilterable; } return _SIMGUI_RESOURCESTATE_VALID; } static void _simgui_deinit_image(_simgui_image_t* img) { SOKOL_ASSERT(img); img->image.id = SIMGUI_INVALID_ID; img->sampler.id = SIMGUI_INVALID_ID; img->pip.id = SIMGUI_INVALID_ID; } static void _simgui_destroy_image(simgui_image_t img_id) { _simgui_image_t* img = _simgui_lookup_image(img_id.id); if (img) { _simgui_deinit_image(img); _simgui_image_pool_t* p = &_simgui.image_pool; _simgui_clear(img, sizeof(_simgui_image_t)); _simgui_pool_free_index(&p->pool, _simgui_slot_index(img_id.id)); } } static void _simgui_destroy_all_images(void) { _simgui_image_pool_t* p = &_simgui.image_pool; for (int i = 0; i < p->pool.size; i++) { _simgui_image_t* img = &p->items[i]; _simgui_destroy_image(_simgui_make_image_handle(img->slot.id)); } } static simgui_image_desc_t _simgui_image_desc_defaults(const simgui_image_desc_t* desc) { SOKOL_ASSERT(desc); simgui_image_desc_t res = *desc; res.image.id = _simgui_def(res.image.id, _simgui.def_img.id); res.sampler.id = _simgui_def(res.sampler.id, _simgui.def_smp.id); return res; } static bool _simgui_is_osx(void) { #if defined(SOKOL_DUMMY_BACKEND) return false; #elif defined(__EMSCRIPTEN__) return simgui_js_is_osx(); #elif defined(__APPLE__) return true; #else return false; #endif } static simgui_desc_t _simgui_desc_defaults(const simgui_desc_t* desc) { SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); simgui_desc_t res = *desc; res.max_vertices = _simgui_def(res.max_vertices, 65536); res.image_pool_size = _simgui_def(res.image_pool_size, 256); return res; } // ██████ ██ ██ ██████ ██ ██ ██████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██████ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ ██ ██████ // // >>public SOKOL_API_IMPL void simgui_setup(const simgui_desc_t* desc) { SOKOL_ASSERT(desc); _simgui_clear(&_simgui, sizeof(_simgui)); _simgui.init_cookie = _SIMGUI_INIT_COOKIE; _simgui.desc = _simgui_desc_defaults(desc); _simgui.cur_dpi_scale = 1.0f; #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) _simgui.is_osx = _simgui_is_osx(); #endif // can keep color_format, depth_format and sample_count as is, // since sokol_gfx.h will do its own default-value handling // setup image pool _simgui_setup_image_pool(_simgui.desc.image_pool_size); // allocate an intermediate vertex- and index-buffer SOKOL_ASSERT(_simgui.desc.max_vertices > 0); _simgui.vertices.size = (size_t)_simgui.desc.max_vertices * sizeof(ImDrawVert); _simgui.vertices.ptr = _simgui_malloc(_simgui.vertices.size); _simgui.indices.size = (size_t)_simgui.desc.max_vertices * 3 * sizeof(ImDrawIdx); _simgui.indices.ptr = _simgui_malloc(_simgui.indices.size); // initialize Dear ImGui #if defined(__cplusplus) ImGui::CreateContext(); ImGui::StyleColorsDark(); ImGuiIO* io = &ImGui::GetIO(); if (!_simgui.desc.no_default_font) { io->Fonts->AddFontDefault(); } #else igCreateContext(NULL); igStyleColorsDark(igGetStyle()); ImGuiIO* io = igGetIO(); if (!_simgui.desc.no_default_font) { ImFontAtlas_AddFontDefault(io->Fonts, NULL); } #endif io->IniFilename = _simgui.desc.ini_filename; io->ConfigMacOSXBehaviors = _simgui_is_osx(); io->BackendFlags |= ImGuiBackendFlags_RendererHasVtxOffset; #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) if (!_simgui.desc.disable_set_mouse_cursor) { io->BackendFlags |= ImGuiBackendFlags_HasMouseCursors; } io->SetClipboardTextFn = _simgui_set_clipboard; io->GetClipboardTextFn = _simgui_get_clipboard; #endif io->ConfigWindowsResizeFromEdges = !_simgui.desc.disable_windows_resize_from_edges; // create sokol-gfx resources sg_push_debug_group("sokol-imgui"); // shader object for using the embedded shader source (or bytecode) sg_shader_desc shd_desc; _simgui_clear(&shd_desc, sizeof(shd_desc)); shd_desc.attrs[0].name = "position"; shd_desc.attrs[1].name = "texcoord0"; shd_desc.attrs[2].name = "color0"; shd_desc.attrs[0].sem_name = "TEXCOORD"; shd_desc.attrs[0].sem_index = 0; shd_desc.attrs[1].sem_name = "TEXCOORD"; shd_desc.attrs[1].sem_index = 1; shd_desc.attrs[2].sem_name = "TEXCOORD"; shd_desc.attrs[2].sem_index = 2; sg_shader_uniform_block_desc* ub = &shd_desc.vs.uniform_blocks[0]; ub->size = sizeof(_simgui_vs_params_t); ub->uniforms[0].name = "vs_params"; ub->uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; ub->uniforms[0].array_count = 1; shd_desc.fs.images[0].used = true; shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D; shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT; shd_desc.fs.samplers[0].used = true; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING; shd_desc.fs.image_sampler_pairs[0].used = true; shd_desc.fs.image_sampler_pairs[0].image_slot = 0; shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0; shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp"; shd_desc.label = "sokol-imgui-shader"; #if defined(SOKOL_GLCORE) shd_desc.vs.source = (const char*)_simgui_vs_source_glsl410; shd_desc.fs.source = (const char*)_simgui_fs_source_glsl410; #elif defined(SOKOL_GLES3) shd_desc.vs.source = (const char*)_simgui_vs_source_glsl300es; shd_desc.fs.source = (const char*)_simgui_fs_source_glsl300es; #elif defined(SOKOL_METAL) shd_desc.vs.entry = "main0"; shd_desc.fs.entry = "main0"; switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: shd_desc.vs.bytecode = SG_RANGE(_simgui_vs_bytecode_metal_macos); shd_desc.fs.bytecode = SG_RANGE(_simgui_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: shd_desc.vs.bytecode = SG_RANGE(_simgui_vs_bytecode_metal_ios); shd_desc.fs.bytecode = SG_RANGE(_simgui_fs_bytecode_metal_ios); break; default: shd_desc.vs.source = (const char*)_simgui_vs_source_metal_sim; shd_desc.fs.source = (const char*)_simgui_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) shd_desc.vs.bytecode = SG_RANGE(_simgui_vs_bytecode_hlsl4); shd_desc.fs.bytecode = SG_RANGE(_simgui_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) shd_desc.vs.source = (const char*)_simgui_vs_source_wgsl; shd_desc.fs.source = (const char*)_simgui_fs_source_wgsl; #else shd_desc.vs.source = _simgui_vs_source_dummy; shd_desc.fs.source = _simgui_fs_source_dummy; #endif _simgui.def_shd = sg_make_shader(&shd_desc); // pipeline object for imgui rendering sg_pipeline_desc pip_desc; _simgui_clear(&pip_desc, sizeof(pip_desc)); pip_desc.layout.buffers[0].stride = sizeof(ImDrawVert); { sg_vertex_attr_state* attr = &pip_desc.layout.attrs[0]; attr->offset = offsetof(ImDrawVert, pos); attr->format = SG_VERTEXFORMAT_FLOAT2; } { sg_vertex_attr_state* attr = &pip_desc.layout.attrs[1]; attr->offset = offsetof(ImDrawVert, uv); attr->format = SG_VERTEXFORMAT_FLOAT2; } { sg_vertex_attr_state* attr = &pip_desc.layout.attrs[2]; attr->offset = offsetof(ImDrawVert, col); attr->format = SG_VERTEXFORMAT_UBYTE4N; } pip_desc.shader = _simgui.def_shd; pip_desc.index_type = SG_INDEXTYPE_UINT16; pip_desc.sample_count = _simgui.desc.sample_count; pip_desc.depth.pixel_format = _simgui.desc.depth_format; pip_desc.colors[0].pixel_format = _simgui.desc.color_format; pip_desc.colors[0].write_mask = _simgui.desc.write_alpha_channel ? SG_COLORMASK_RGBA : SG_COLORMASK_RGB; pip_desc.colors[0].blend.enabled = true; pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_SRC_ALPHA; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; if (_simgui.desc.write_alpha_channel) { pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ONE; pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ONE; } pip_desc.label = "sokol-imgui-pipeline"; _simgui.def_pip = sg_make_pipeline(&pip_desc); // create a unfilterable/nonfiltering variants of the shader and pipeline shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_NONFILTERING; shd_desc.label = "sokol-imgui-shader-unfilterable"; _simgui.shd_unfilterable = sg_make_shader(&shd_desc); pip_desc.shader = _simgui.shd_unfilterable; pip_desc.label = "sokol-imgui-pipeline-unfilterable"; _simgui.pip_unfilterable = sg_make_pipeline(&pip_desc); // NOTE: since we're in C++ mode here we can't use C99 designated init sg_buffer_desc vb_desc; _simgui_clear(&vb_desc, sizeof(vb_desc)); vb_desc.usage = SG_USAGE_STREAM; vb_desc.size = _simgui.vertices.size; vb_desc.label = "sokol-imgui-vertices"; _simgui.vbuf = sg_make_buffer(&vb_desc); sg_buffer_desc ib_desc; _simgui_clear(&ib_desc, sizeof(ib_desc)); ib_desc.type = SG_BUFFERTYPE_INDEXBUFFER; ib_desc.usage = SG_USAGE_STREAM; ib_desc.size = _simgui.indices.size; ib_desc.label = "sokol-imgui-indices"; _simgui.ibuf = sg_make_buffer(&ib_desc); // a default user-image sampler sg_sampler_desc def_sampler_desc; _simgui_clear(&def_sampler_desc, sizeof(def_sampler_desc)); def_sampler_desc.min_filter = SG_FILTER_NEAREST; def_sampler_desc.mag_filter = SG_FILTER_NEAREST; def_sampler_desc.wrap_u = SG_WRAP_CLAMP_TO_EDGE; def_sampler_desc.wrap_v = SG_WRAP_CLAMP_TO_EDGE; def_sampler_desc.label = "sokol-imgui-default-sampler"; _simgui.def_smp = sg_make_sampler(&def_sampler_desc); // a default user image static uint32_t def_pixels[64]; memset(def_pixels, 0xFF, sizeof(def_pixels)); sg_image_desc def_image_desc; _simgui_clear(&def_image_desc, sizeof(def_image_desc)); def_image_desc.width = 8; def_image_desc.height = 8; def_image_desc.pixel_format = SG_PIXELFORMAT_RGBA8; def_image_desc.data.subimage[0][0].ptr = def_pixels; def_image_desc.data.subimage[0][0].size = sizeof(def_pixels); def_image_desc.label = "sokol-imgui-default-image"; _simgui.def_img = sg_make_image(&def_image_desc); // default font texture if (!_simgui.desc.no_default_font) { simgui_font_tex_desc_t simgui_font_smp_desc; _simgui_clear(&simgui_font_smp_desc, sizeof(simgui_font_smp_desc)); simgui_create_fonts_texture(&simgui_font_smp_desc); } sg_pop_debug_group(); } SOKOL_API_IMPL void simgui_create_fonts_texture(const simgui_font_tex_desc_t* desc) { SOKOL_ASSERT(desc); SOKOL_ASSERT(SG_INVALID_ID == _simgui.font_smp.id); SOKOL_ASSERT(SG_INVALID_ID == _simgui.font_img.id); SOKOL_ASSERT(SIMGUI_INVALID_ID == _simgui.default_font.id); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #else ImGuiIO* io = igGetIO(); #endif // a default font sampler sg_sampler_desc font_smp_desc; _simgui_clear(&font_smp_desc, sizeof(font_smp_desc)); font_smp_desc.wrap_u = SG_WRAP_CLAMP_TO_EDGE; font_smp_desc.wrap_v = SG_WRAP_CLAMP_TO_EDGE; font_smp_desc.min_filter = desc->min_filter; font_smp_desc.mag_filter = desc->mag_filter; font_smp_desc.label = "sokol-imgui-font-sampler"; _simgui.font_smp = sg_make_sampler(&font_smp_desc); unsigned char* font_pixels; int font_width, font_height; #if defined(__cplusplus) io->Fonts->GetTexDataAsRGBA32(&font_pixels, &font_width, &font_height); #else int bytes_per_pixel; ImFontAtlas_GetTexDataAsRGBA32(io->Fonts, &font_pixels, &font_width, &font_height, &bytes_per_pixel); #endif sg_image_desc font_img_desc; _simgui_clear(&font_img_desc, sizeof(font_img_desc)); font_img_desc.width = font_width; font_img_desc.height = font_height; font_img_desc.pixel_format = SG_PIXELFORMAT_RGBA8; font_img_desc.data.subimage[0][0].ptr = font_pixels; font_img_desc.data.subimage[0][0].size = (size_t)(font_width * font_height) * sizeof(uint32_t); font_img_desc.label = "sokol-imgui-font-image"; _simgui.font_img = sg_make_image(&font_img_desc); simgui_image_desc_t img_desc; _simgui_clear(&img_desc, sizeof(img_desc)); img_desc.image = _simgui.font_img; img_desc.sampler = _simgui.font_smp; _simgui.default_font = simgui_make_image(&img_desc); io->Fonts->TexID = simgui_imtextureid(_simgui.default_font); } SOKOL_API_IMPL void simgui_destroy_fonts_texture(void) { // NOTE: it's valid to call the destroy funcs with SG_INVALID_ID sg_destroy_sampler(_simgui.font_smp); sg_destroy_image(_simgui.font_img); simgui_destroy_image(_simgui.default_font); _simgui.font_smp.id = SG_INVALID_ID; _simgui.font_img.id = SG_INVALID_ID; _simgui.default_font.id = SIMGUI_INVALID_ID; } SOKOL_API_IMPL void simgui_shutdown(void) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGui::DestroyContext(); #else igDestroyContext(0); #endif // NOTE: it's valid to call the destroy funcs with SG_INVALID_ID sg_destroy_pipeline(_simgui.pip_unfilterable); sg_destroy_shader(_simgui.shd_unfilterable); sg_destroy_pipeline(_simgui.def_pip); sg_destroy_shader(_simgui.def_shd); sg_destroy_sampler(_simgui.font_smp); sg_destroy_image(_simgui.font_img); sg_destroy_sampler(_simgui.def_smp); sg_destroy_image(_simgui.def_img); sg_destroy_buffer(_simgui.ibuf); sg_destroy_buffer(_simgui.vbuf); sg_pop_debug_group(); sg_push_debug_group("sokol-imgui"); _simgui_destroy_all_images(); _simgui_discard_image_pool(); SOKOL_ASSERT(_simgui.vertices.ptr); _simgui_free((void*)_simgui.vertices.ptr); SOKOL_ASSERT(_simgui.indices.ptr); _simgui_free((void*)_simgui.indices.ptr); _simgui.init_cookie = 0; } SOKOL_API_IMPL simgui_image_t simgui_make_image(const simgui_image_desc_t* desc) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); SOKOL_ASSERT(desc); const simgui_image_desc_t desc_def = _simgui_image_desc_defaults(desc); simgui_image_t img_id = _simgui_alloc_image(); _simgui_image_t* img = _simgui_lookup_image(img_id.id); if (img) { img->slot.state = _simgui_init_image(img, &desc_def); SOKOL_ASSERT((img->slot.state == _SIMGUI_RESOURCESTATE_VALID) || (img->slot.state == _SIMGUI_RESOURCESTATE_FAILED)); } else { _SIMGUI_ERROR(IMAGE_POOL_EXHAUSTED); } return img_id; } SOKOL_API_IMPL void simgui_destroy_image(simgui_image_t img_id) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); _simgui_destroy_image(img_id); } SOKOL_API_IMPL simgui_image_desc_t simgui_query_image_desc(simgui_image_t img_id) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); _simgui_image_t* img = _simgui_lookup_image(img_id.id); simgui_image_desc_t desc; _simgui_clear(&desc, sizeof(desc)); if (img) { desc.image = img->image; desc.sampler = img->sampler; } return desc; } SOKOL_API_IMPL void* simgui_imtextureid(simgui_image_t img) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); return (void*)(uintptr_t)img.id; } SOKOL_API_IMPL simgui_image_t simgui_image_from_imtextureid(void* im_texture_id) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); simgui_image_t img = { (uint32_t)(uintptr_t) im_texture_id }; return img; } SOKOL_API_IMPL void simgui_new_frame(const simgui_frame_desc_t* desc) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); SOKOL_ASSERT(desc); SOKOL_ASSERT(desc->width > 0); SOKOL_ASSERT(desc->height > 0); _simgui.cur_dpi_scale = _simgui_def(desc->dpi_scale, 1.0f); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #else ImGuiIO* io = igGetIO(); #endif if (!io->Fonts->TexReady) { simgui_destroy_fonts_texture(); simgui_font_tex_desc_t simgui_font_smp_desc; _simgui_clear(&simgui_font_smp_desc, sizeof(simgui_font_smp_desc)); simgui_create_fonts_texture(&simgui_font_smp_desc); } io->DisplaySize.x = ((float)desc->width) / _simgui.cur_dpi_scale; io->DisplaySize.y = ((float)desc->height) / _simgui.cur_dpi_scale; io->DeltaTime = (float)desc->delta_time; #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) if (io->WantTextInput && !sapp_keyboard_shown()) { sapp_show_keyboard(true); } if (!io->WantTextInput && sapp_keyboard_shown()) { sapp_show_keyboard(false); } if (!_simgui.desc.disable_set_mouse_cursor) { #if defined(__cplusplus) ImGuiMouseCursor imgui_cursor = ImGui::GetMouseCursor(); #else ImGuiMouseCursor imgui_cursor = igGetMouseCursor(); #endif sapp_mouse_cursor cursor = sapp_get_mouse_cursor(); switch (imgui_cursor) { case ImGuiMouseCursor_Arrow: cursor = SAPP_MOUSECURSOR_ARROW; break; case ImGuiMouseCursor_TextInput: cursor = SAPP_MOUSECURSOR_IBEAM; break; case ImGuiMouseCursor_ResizeAll: cursor = SAPP_MOUSECURSOR_RESIZE_ALL; break; case ImGuiMouseCursor_ResizeNS: cursor = SAPP_MOUSECURSOR_RESIZE_NS; break; case ImGuiMouseCursor_ResizeEW: cursor = SAPP_MOUSECURSOR_RESIZE_EW; break; case ImGuiMouseCursor_ResizeNESW: cursor = SAPP_MOUSECURSOR_RESIZE_NESW; break; case ImGuiMouseCursor_ResizeNWSE: cursor = SAPP_MOUSECURSOR_RESIZE_NWSE; break; case ImGuiMouseCursor_Hand: cursor = SAPP_MOUSECURSOR_POINTING_HAND; break; case ImGuiMouseCursor_NotAllowed: cursor = SAPP_MOUSECURSOR_NOT_ALLOWED; break; default: break; } sapp_set_mouse_cursor(cursor); } #endif #if defined(__cplusplus) ImGui::NewFrame(); #else igNewFrame(); #endif } static const _simgui_image_t* _simgui_bind_image_sampler(sg_bindings* bindings, ImTextureID tex_id) { const _simgui_image_t* img = _simgui_lookup_image((uint32_t)(uintptr_t)tex_id); if (img) { bindings->fs.images[0] = img->image; bindings->fs.samplers[0] = img->sampler; } else { bindings->fs.images[0] = _simgui.def_img; bindings->fs.samplers[0] = _simgui.def_smp; } return img; } static ImDrawList* _simgui_imdrawlist_at(ImDrawData* draw_data, int cl_index) { #if defined(__cplusplus) return draw_data->CmdLists[cl_index]; #else return draw_data->CmdLists.Data[cl_index]; #endif } SOKOL_API_IMPL void simgui_render(void) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGui::Render(); ImDrawData* draw_data = ImGui::GetDrawData(); ImGuiIO* io = &ImGui::GetIO(); #else igRender(); ImDrawData* draw_data = igGetDrawData(); ImGuiIO* io = igGetIO(); #endif if (0 == draw_data) { return; } if (draw_data->CmdListsCount == 0) { return; } /* copy vertices and indices into an intermediate buffer so that they can be updated with a single sg_update_buffer() call each (sg_append_buffer() has performance problems on some GL platforms), also keep track of valid number of command lists in case of a buffer overflow */ size_t all_vtx_size = 0; size_t all_idx_size = 0; int cmd_list_count = 0; for (int cl_index = 0; cl_index < draw_data->CmdListsCount; cl_index++, cmd_list_count++) { ImDrawList* cl = _simgui_imdrawlist_at(draw_data, cl_index); const size_t vtx_size = (size_t)cl->VtxBuffer.Size * sizeof(ImDrawVert); const size_t idx_size = (size_t)cl->IdxBuffer.Size * sizeof(ImDrawIdx); // check for buffer overflow if (((all_vtx_size + vtx_size) > _simgui.vertices.size) || ((all_idx_size + idx_size) > _simgui.indices.size)) { break; } // copy vertices and indices into common buffers if (vtx_size > 0) { const ImDrawVert* src_vtx_ptr = cl->VtxBuffer.Data; void* dst_vtx_ptr = (void*) (((uint8_t*)_simgui.vertices.ptr) + all_vtx_size); memcpy(dst_vtx_ptr, src_vtx_ptr, vtx_size); } if (idx_size > 0) { const ImDrawIdx* src_idx_ptr = cl->IdxBuffer.Data; void* dst_idx_ptr = (void*) (((uint8_t*)_simgui.indices.ptr) + all_idx_size); memcpy(dst_idx_ptr, src_idx_ptr, idx_size); } all_vtx_size += vtx_size; all_idx_size += idx_size; } if (0 == cmd_list_count) { return; } // update the sokol-gfx vertex- and index-buffer sg_push_debug_group("sokol-imgui"); if (all_vtx_size > 0) { sg_range vtx_data = _simgui.vertices; vtx_data.size = all_vtx_size; sg_update_buffer(_simgui.vbuf, &vtx_data); } if (all_idx_size > 0) { sg_range idx_data = _simgui.indices; idx_data.size = all_idx_size; sg_update_buffer(_simgui.ibuf, &idx_data); } // render the ImGui command list const float dpi_scale = _simgui.cur_dpi_scale; const int fb_width = (int) (io->DisplaySize.x * dpi_scale); const int fb_height = (int) (io->DisplaySize.y * dpi_scale); sg_apply_viewport(0, 0, fb_width, fb_height, true); sg_apply_scissor_rect(0, 0, fb_width, fb_height, true); sg_apply_pipeline(_simgui.def_pip); _simgui_vs_params_t vs_params; _simgui_clear((void*)&vs_params, sizeof(vs_params)); vs_params.disp_size.x = io->DisplaySize.x; vs_params.disp_size.y = io->DisplaySize.y; sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, SG_RANGE_REF(vs_params)); sg_bindings bind; _simgui_clear((void*)&bind, sizeof(bind)); bind.vertex_buffers[0] = _simgui.vbuf; bind.index_buffer = _simgui.ibuf; ImTextureID tex_id = io->Fonts->TexID; _simgui_bind_image_sampler(&bind, tex_id); int vb_offset = 0; int ib_offset = 0; for (int cl_index = 0; cl_index < cmd_list_count; cl_index++) { ImDrawList* cl = _simgui_imdrawlist_at(draw_data, cl_index); bind.vertex_buffer_offsets[0] = vb_offset; bind.index_buffer_offset = ib_offset; sg_apply_bindings(&bind); #if defined(__cplusplus) const int num_cmds = cl->CmdBuffer.size(); #else const int num_cmds = cl->CmdBuffer.Size; #endif uint32_t vtx_offset = 0; for (int cmd_index = 0; cmd_index < num_cmds; cmd_index++) { ImDrawCmd* pcmd = &cl->CmdBuffer.Data[cmd_index]; if (pcmd->UserCallback != 0) { // User callback, registered via ImDrawList::AddCallback() // (ImDrawCallback_ResetRenderState is a special callback value used by the user to request the renderer to reset render state.) if (pcmd->UserCallback != ImDrawCallback_ResetRenderState) { pcmd->UserCallback(cl, pcmd); // need to re-apply all state after calling a user callback sg_reset_state_cache(); sg_apply_viewport(0, 0, fb_width, fb_height, true); sg_apply_pipeline(_simgui.def_pip); sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, SG_RANGE_REF(vs_params)); sg_apply_bindings(&bind); } } else { if ((tex_id != pcmd->TextureId) || (vtx_offset != pcmd->VtxOffset)) { tex_id = pcmd->TextureId; vtx_offset = pcmd->VtxOffset; const _simgui_image_t* img = _simgui_bind_image_sampler(&bind, tex_id); if (img) { sg_apply_pipeline(img->pip); } else { sg_apply_pipeline(_simgui.def_pip); } sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, SG_RANGE_REF(vs_params)); bind.vertex_buffer_offsets[0] = vb_offset + (int)(pcmd->VtxOffset * sizeof(ImDrawVert)); sg_apply_bindings(&bind); } const int scissor_x = (int) (pcmd->ClipRect.x * dpi_scale); const int scissor_y = (int) (pcmd->ClipRect.y * dpi_scale); const int scissor_w = (int) ((pcmd->ClipRect.z - pcmd->ClipRect.x) * dpi_scale); const int scissor_h = (int) ((pcmd->ClipRect.w - pcmd->ClipRect.y) * dpi_scale); sg_apply_scissor_rect(scissor_x, scissor_y, scissor_w, scissor_h, true); sg_draw((int)pcmd->IdxOffset, (int)pcmd->ElemCount, 1); } } #if defined(__cplusplus) const size_t vtx_size = (size_t)cl->VtxBuffer.size() * sizeof(ImDrawVert); const size_t idx_size = (size_t)cl->IdxBuffer.size() * sizeof(ImDrawIdx); #else const size_t vtx_size = (size_t)cl->VtxBuffer.Size * sizeof(ImDrawVert); const size_t idx_size = (size_t)cl->IdxBuffer.Size * sizeof(ImDrawIdx); #endif vb_offset += (int)vtx_size; ib_offset += (int)idx_size; } sg_apply_viewport(0, 0, fb_width, fb_height, true); sg_apply_scissor_rect(0, 0, fb_width, fb_height, true); sg_pop_debug_group(); } SOKOL_API_IMPL void simgui_add_focus_event(bool focus) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); io->AddFocusEvent(focus); #else ImGuiIO* io = igGetIO(); ImGuiIO_AddFocusEvent(io, focus); #endif } SOKOL_API_IMPL void simgui_add_mouse_pos_event(float x, float y) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #if (IMGUI_VERSION_NUM >= 18950) io->AddMouseSourceEvent(ImGuiMouseSource_Mouse); #endif io->AddMousePosEvent(x, y); #else ImGuiIO* io = igGetIO(); #if (IMGUI_VERSION_NUM >= 18950) ImGuiIO_AddMouseSourceEvent(io, ImGuiMouseSource_Mouse); #endif ImGuiIO_AddMousePosEvent(io, x, y); #endif } SOKOL_API_IMPL void simgui_add_touch_pos_event(float x, float y) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #if (IMGUI_VERSION_NUM >= 18950) io->AddMouseSourceEvent(ImGuiMouseSource_TouchScreen); #endif io->AddMousePosEvent(x, y); #else ImGuiIO* io = igGetIO(); #if (IMGUI_VERSION_NUM >= 18950) ImGuiIO_AddMouseSourceEvent(io, ImGuiMouseSource_TouchScreen); #endif ImGuiIO_AddMousePosEvent(io, x, y); #endif } SOKOL_API_IMPL void simgui_add_mouse_button_event(int mouse_button, bool down) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #if (IMGUI_VERSION_NUM >= 18950) io->AddMouseSourceEvent(ImGuiMouseSource_Mouse); #endif io->AddMouseButtonEvent(mouse_button, down); #else ImGuiIO* io = igGetIO(); #if (IMGUI_VERSION_NUM >= 18950) ImGuiIO_AddMouseSourceEvent(io, ImGuiMouseSource_Mouse); #endif ImGuiIO_AddMouseButtonEvent(io, mouse_button, down); #endif } SOKOL_API_IMPL void simgui_add_touch_button_event(int mouse_button, bool down) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #if (IMGUI_VERSION_NUM >= 18950) io->AddMouseSourceEvent(ImGuiMouseSource_TouchScreen); #endif io->AddMouseButtonEvent(mouse_button, down); #else ImGuiIO* io = igGetIO(); #if (IMGUI_VERSION_NUM >= 18950) ImGuiIO_AddMouseSourceEvent(io, ImGuiMouseSource_TouchScreen); #endif ImGuiIO_AddMouseButtonEvent(io, mouse_button, down); #endif } SOKOL_API_IMPL void simgui_add_mouse_wheel_event(float wheel_x, float wheel_y) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #if (IMGUI_VERSION_NUM >= 18950) io->AddMouseSourceEvent(ImGuiMouseSource_Mouse); #endif io->AddMouseWheelEvent(wheel_x, wheel_y); #else ImGuiIO* io = igGetIO(); #if (IMGUI_VERSION_NUM >= 18950) ImGuiIO_AddMouseSourceEvent(io, ImGuiMouseSource_Mouse); #endif ImGuiIO_AddMouseWheelEvent(io, wheel_x, wheel_y); #endif } SOKOL_API_IMPL void simgui_add_key_event(int imgui_key, bool down) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); io->AddKeyEvent((ImGuiKey)imgui_key, down); #else ImGuiIO* io = igGetIO(); ImGuiIO_AddKeyEvent(io, (ImGuiKey)imgui_key, down); #endif } SOKOL_API_IMPL void simgui_add_input_character(uint32_t c) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); io->AddInputCharacter(c); #else ImGuiIO* io = igGetIO(); ImGuiIO_AddInputCharacter(io, c); #endif } SOKOL_API_IMPL void simgui_add_input_characters_utf8(const char* c) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); io->AddInputCharactersUTF8(c); #else ImGuiIO* io = igGetIO(); ImGuiIO_AddInputCharactersUTF8(io, c); #endif } #if !defined(SOKOL_IMGUI_NO_SOKOL_APP) _SOKOL_PRIVATE bool _simgui_is_ctrl(uint32_t modifiers) { if (_simgui.is_osx) { return 0 != (modifiers & SAPP_MODIFIER_SUPER); } else { return 0 != (modifiers & SAPP_MODIFIER_CTRL); } } _SOKOL_PRIVATE ImGuiKey _simgui_map_keycode(sapp_keycode key) { switch (key) { case SAPP_KEYCODE_SPACE: return ImGuiKey_Space; case SAPP_KEYCODE_APOSTROPHE: return ImGuiKey_Apostrophe; case SAPP_KEYCODE_COMMA: return ImGuiKey_Comma; case SAPP_KEYCODE_MINUS: return ImGuiKey_Minus; case SAPP_KEYCODE_PERIOD: return ImGuiKey_Apostrophe; case SAPP_KEYCODE_SLASH: return ImGuiKey_Slash; case SAPP_KEYCODE_0: return ImGuiKey_0; case SAPP_KEYCODE_1: return ImGuiKey_1; case SAPP_KEYCODE_2: return ImGuiKey_2; case SAPP_KEYCODE_3: return ImGuiKey_3; case SAPP_KEYCODE_4: return ImGuiKey_4; case SAPP_KEYCODE_5: return ImGuiKey_5; case SAPP_KEYCODE_6: return ImGuiKey_6; case SAPP_KEYCODE_7: return ImGuiKey_7; case SAPP_KEYCODE_8: return ImGuiKey_8; case SAPP_KEYCODE_9: return ImGuiKey_9; case SAPP_KEYCODE_SEMICOLON: return ImGuiKey_Semicolon; case SAPP_KEYCODE_EQUAL: return ImGuiKey_Equal; case SAPP_KEYCODE_A: return ImGuiKey_A; case SAPP_KEYCODE_B: return ImGuiKey_B; case SAPP_KEYCODE_C: return ImGuiKey_C; case SAPP_KEYCODE_D: return ImGuiKey_D; case SAPP_KEYCODE_E: return ImGuiKey_E; case SAPP_KEYCODE_F: return ImGuiKey_F; case SAPP_KEYCODE_G: return ImGuiKey_G; case SAPP_KEYCODE_H: return ImGuiKey_H; case SAPP_KEYCODE_I: return ImGuiKey_I; case SAPP_KEYCODE_J: return ImGuiKey_J; case SAPP_KEYCODE_K: return ImGuiKey_K; case SAPP_KEYCODE_L: return ImGuiKey_L; case SAPP_KEYCODE_M: return ImGuiKey_M; case SAPP_KEYCODE_N: return ImGuiKey_N; case SAPP_KEYCODE_O: return ImGuiKey_O; case SAPP_KEYCODE_P: return ImGuiKey_P; case SAPP_KEYCODE_Q: return ImGuiKey_Q; case SAPP_KEYCODE_R: return ImGuiKey_R; case SAPP_KEYCODE_S: return ImGuiKey_S; case SAPP_KEYCODE_T: return ImGuiKey_T; case SAPP_KEYCODE_U: return ImGuiKey_U; case SAPP_KEYCODE_V: return ImGuiKey_V; case SAPP_KEYCODE_W: return ImGuiKey_W; case SAPP_KEYCODE_X: return ImGuiKey_X; case SAPP_KEYCODE_Y: return ImGuiKey_Y; case SAPP_KEYCODE_Z: return ImGuiKey_Z; case SAPP_KEYCODE_LEFT_BRACKET: return ImGuiKey_LeftBracket; case SAPP_KEYCODE_BACKSLASH: return ImGuiKey_Backslash; case SAPP_KEYCODE_RIGHT_BRACKET:return ImGuiKey_RightBracket; case SAPP_KEYCODE_GRAVE_ACCENT: return ImGuiKey_GraveAccent; case SAPP_KEYCODE_ESCAPE: return ImGuiKey_Escape; case SAPP_KEYCODE_ENTER: return ImGuiKey_Enter; case SAPP_KEYCODE_TAB: return ImGuiKey_Tab; case SAPP_KEYCODE_BACKSPACE: return ImGuiKey_Backspace; case SAPP_KEYCODE_INSERT: return ImGuiKey_Insert; case SAPP_KEYCODE_DELETE: return ImGuiKey_Delete; case SAPP_KEYCODE_RIGHT: return ImGuiKey_RightArrow; case SAPP_KEYCODE_LEFT: return ImGuiKey_LeftArrow; case SAPP_KEYCODE_DOWN: return ImGuiKey_DownArrow; case SAPP_KEYCODE_UP: return ImGuiKey_UpArrow; case SAPP_KEYCODE_PAGE_UP: return ImGuiKey_PageUp; case SAPP_KEYCODE_PAGE_DOWN: return ImGuiKey_PageDown; case SAPP_KEYCODE_HOME: return ImGuiKey_Home; case SAPP_KEYCODE_END: return ImGuiKey_End; case SAPP_KEYCODE_CAPS_LOCK: return ImGuiKey_CapsLock; case SAPP_KEYCODE_SCROLL_LOCK: return ImGuiKey_ScrollLock; case SAPP_KEYCODE_NUM_LOCK: return ImGuiKey_NumLock; case SAPP_KEYCODE_PRINT_SCREEN: return ImGuiKey_PrintScreen; case SAPP_KEYCODE_PAUSE: return ImGuiKey_Pause; case SAPP_KEYCODE_F1: return ImGuiKey_F1; case SAPP_KEYCODE_F2: return ImGuiKey_F2; case SAPP_KEYCODE_F3: return ImGuiKey_F3; case SAPP_KEYCODE_F4: return ImGuiKey_F4; case SAPP_KEYCODE_F5: return ImGuiKey_F5; case SAPP_KEYCODE_F6: return ImGuiKey_F6; case SAPP_KEYCODE_F7: return ImGuiKey_F7; case SAPP_KEYCODE_F8: return ImGuiKey_F8; case SAPP_KEYCODE_F9: return ImGuiKey_F9; case SAPP_KEYCODE_F10: return ImGuiKey_F10; case SAPP_KEYCODE_F11: return ImGuiKey_F11; case SAPP_KEYCODE_F12: return ImGuiKey_F12; case SAPP_KEYCODE_KP_0: return ImGuiKey_Keypad0; case SAPP_KEYCODE_KP_1: return ImGuiKey_Keypad1; case SAPP_KEYCODE_KP_2: return ImGuiKey_Keypad2; case SAPP_KEYCODE_KP_3: return ImGuiKey_Keypad3; case SAPP_KEYCODE_KP_4: return ImGuiKey_Keypad4; case SAPP_KEYCODE_KP_5: return ImGuiKey_Keypad5; case SAPP_KEYCODE_KP_6: return ImGuiKey_Keypad6; case SAPP_KEYCODE_KP_7: return ImGuiKey_Keypad7; case SAPP_KEYCODE_KP_8: return ImGuiKey_Keypad8; case SAPP_KEYCODE_KP_9: return ImGuiKey_Keypad9; case SAPP_KEYCODE_KP_DECIMAL: return ImGuiKey_KeypadDecimal; case SAPP_KEYCODE_KP_DIVIDE: return ImGuiKey_KeypadDivide; case SAPP_KEYCODE_KP_MULTIPLY: return ImGuiKey_KeypadMultiply; case SAPP_KEYCODE_KP_SUBTRACT: return ImGuiKey_KeypadSubtract; case SAPP_KEYCODE_KP_ADD: return ImGuiKey_KeypadAdd; case SAPP_KEYCODE_KP_ENTER: return ImGuiKey_KeypadEnter; case SAPP_KEYCODE_KP_EQUAL: return ImGuiKey_KeypadEqual; case SAPP_KEYCODE_LEFT_SHIFT: return ImGuiKey_LeftShift; case SAPP_KEYCODE_LEFT_CONTROL: return ImGuiKey_LeftCtrl; case SAPP_KEYCODE_LEFT_ALT: return ImGuiKey_LeftAlt; case SAPP_KEYCODE_LEFT_SUPER: return ImGuiKey_LeftSuper; case SAPP_KEYCODE_RIGHT_SHIFT: return ImGuiKey_RightShift; case SAPP_KEYCODE_RIGHT_CONTROL:return ImGuiKey_RightCtrl; case SAPP_KEYCODE_RIGHT_ALT: return ImGuiKey_RightAlt; case SAPP_KEYCODE_RIGHT_SUPER: return ImGuiKey_RightSuper; case SAPP_KEYCODE_MENU: return ImGuiKey_Menu; default: return ImGuiKey_None; } } _SOKOL_PRIVATE void _simgui_add_sapp_key_event(ImGuiIO* io, sapp_keycode sapp_key, bool down) { const ImGuiKey imgui_key = _simgui_map_keycode(sapp_key); #if defined(__cplusplus) io->AddKeyEvent(imgui_key, down); #else ImGuiIO_AddKeyEvent(io, imgui_key, down); #endif } _SOKOL_PRIVATE void _simgui_add_imgui_key_event(ImGuiIO* io, ImGuiKey imgui_key, bool down) { #if defined(__cplusplus) io->AddKeyEvent(imgui_key, down); #else ImGuiIO_AddKeyEvent(io, imgui_key, down); #endif } _SOKOL_PRIVATE void _simgui_update_modifiers(ImGuiIO* io, uint32_t mods) { _simgui_add_imgui_key_event(io, ImGuiMod_Ctrl, (mods & SAPP_MODIFIER_CTRL) != 0); _simgui_add_imgui_key_event(io, ImGuiMod_Shift, (mods & SAPP_MODIFIER_SHIFT) != 0); _simgui_add_imgui_key_event(io, ImGuiMod_Alt, (mods & SAPP_MODIFIER_ALT) != 0); _simgui_add_imgui_key_event(io, ImGuiMod_Super, (mods & SAPP_MODIFIER_SUPER) != 0); } // returns Ctrl or Super, depending on platform _SOKOL_PRIVATE ImGuiKey _simgui_copypaste_modifier(void) { return _simgui.is_osx ? ImGuiMod_Super : ImGuiMod_Ctrl; } SOKOL_API_IMPL int simgui_map_keycode(sapp_keycode keycode) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); return (int)_simgui_map_keycode(keycode); } SOKOL_API_IMPL bool simgui_handle_event(const sapp_event* ev) { SOKOL_ASSERT(_SIMGUI_INIT_COOKIE == _simgui.init_cookie); const float dpi_scale = _simgui.cur_dpi_scale; #if defined(__cplusplus) ImGuiIO* io = &ImGui::GetIO(); #else ImGuiIO* io = igGetIO(); #endif switch (ev->type) { case SAPP_EVENTTYPE_FOCUSED: simgui_add_focus_event(true); break; case SAPP_EVENTTYPE_UNFOCUSED: simgui_add_focus_event(false); break; case SAPP_EVENTTYPE_MOUSE_DOWN: simgui_add_mouse_pos_event(ev->mouse_x / dpi_scale, ev->mouse_y / dpi_scale); simgui_add_mouse_button_event((int)ev->mouse_button, true); _simgui_update_modifiers(io, ev->modifiers); break; case SAPP_EVENTTYPE_MOUSE_UP: simgui_add_mouse_pos_event(ev->mouse_x / dpi_scale, ev->mouse_y / dpi_scale); simgui_add_mouse_button_event((int)ev->mouse_button, false); _simgui_update_modifiers(io, ev->modifiers); break; case SAPP_EVENTTYPE_MOUSE_MOVE: simgui_add_mouse_pos_event(ev->mouse_x / dpi_scale, ev->mouse_y / dpi_scale); break; case SAPP_EVENTTYPE_MOUSE_ENTER: case SAPP_EVENTTYPE_MOUSE_LEAVE: // FIXME: since the sokol_app.h emscripten backend doesn't support // mouse capture, mouse buttons must be released when the mouse leaves the // browser window, so that they don't "stick" when released outside the window. // A cleaner solution would be a new sokol_app.h function to query // "platform behaviour flags". #if defined(__EMSCRIPTEN__) for (int i = 0; i < SAPP_MAX_MOUSEBUTTONS; i++) { simgui_add_mouse_button_event(i, false); } #endif break; case SAPP_EVENTTYPE_MOUSE_SCROLL: simgui_add_mouse_wheel_event(ev->scroll_x, ev->scroll_y); break; case SAPP_EVENTTYPE_TOUCHES_BEGAN: simgui_add_touch_pos_event(ev->touches[0].pos_x / dpi_scale, ev->touches[0].pos_y / dpi_scale); simgui_add_touch_button_event(0, true); break; case SAPP_EVENTTYPE_TOUCHES_MOVED: simgui_add_touch_pos_event(ev->touches[0].pos_x / dpi_scale, ev->touches[0].pos_y / dpi_scale); break; case SAPP_EVENTTYPE_TOUCHES_ENDED: simgui_add_touch_pos_event(ev->touches[0].pos_x / dpi_scale, ev->touches[0].pos_y / dpi_scale); simgui_add_touch_button_event(0, false); break; case SAPP_EVENTTYPE_TOUCHES_CANCELLED: simgui_add_touch_button_event(0, false); break; case SAPP_EVENTTYPE_KEY_DOWN: _simgui_update_modifiers(io, ev->modifiers); // intercept Ctrl-V, this is handled via EVENTTYPE_CLIPBOARD_PASTED if (!_simgui.desc.disable_paste_override) { if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_V)) { break; } } // on web platform, don't forward Ctrl-X, Ctrl-V to the browser if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_X)) { sapp_consume_event(); } if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_C)) { sapp_consume_event(); } // it's ok to add ImGuiKey_None key events _simgui_add_sapp_key_event(io, ev->key_code, true); break; case SAPP_EVENTTYPE_KEY_UP: _simgui_update_modifiers(io, ev->modifiers); // intercept Ctrl-V, this is handled via EVENTTYPE_CLIPBOARD_PASTED if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_V)) { break; } // on web platform, don't forward Ctrl-X, Ctrl-V to the browser if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_X)) { sapp_consume_event(); } if (_simgui_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_C)) { sapp_consume_event(); } // it's ok to add ImGuiKey_None key events _simgui_add_sapp_key_event(io, ev->key_code, false); break; case SAPP_EVENTTYPE_CHAR: /* on some platforms, special keys may be reported as characters, which may confuse some ImGui widgets, drop those, also don't forward characters if some modifiers have been pressed */ _simgui_update_modifiers(io, ev->modifiers); if ((ev->char_code >= 32) && (ev->char_code != 127) && (0 == (ev->modifiers & (SAPP_MODIFIER_ALT|SAPP_MODIFIER_CTRL|SAPP_MODIFIER_SUPER)))) { simgui_add_input_character(ev->char_code); } break; case SAPP_EVENTTYPE_CLIPBOARD_PASTED: // simulate a Ctrl-V key down/up if (!_simgui.desc.disable_paste_override) { _simgui_add_imgui_key_event(io, _simgui_copypaste_modifier(), true); _simgui_add_imgui_key_event(io, ImGuiKey_V, true); _simgui_add_imgui_key_event(io, ImGuiKey_V, false); _simgui_add_imgui_key_event(io, _simgui_copypaste_modifier(), false); } break; default: break; } return io->WantCaptureKeyboard || io->WantCaptureMouse; } #endif // SOKOL_IMGUI_NO_SOKOL_APP #endif // SOKOL_IMPL
0
repos/sokol
repos/sokol/util/sokol_fontstash.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_FONTSTASH_IMPL) #define SOKOL_FONTSTASH_IMPL #endif #ifndef SOKOL_FONTSTASH_INCLUDED /* sokol_fontstash.h -- renderer for https://github.com/memononen/fontstash on top of sokol_gl.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_FONTSTASH_IMPL before you include this file in *one* C or C++ file to create the implementation. The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL ...optionally provide the following macros to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_FONTSTASH_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_FONTSTASH_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) SOKOL_UNREACHABLE() - a guard macro for unreachable code (default: assert(false)) Include the following headers before including sokol_fontstash.h: sokol_gfx.h Additionally include the following headers for including the sokol_fontstash.h implementation: sokol_gl.h HOW TO ====== --- First initialize sokol-gfx and sokol-gl as usual: sg_setup(&(sg_desc){...}); sgl_setup(&(sgl_desc){...}); --- Create at least one fontstash context with sfons_create() (this replaces glfonsCreate() from fontstash.h's example GL renderer: FONScontext* ctx = sfons_create(&(sfons_desc_t){ .width = atlas_width, .height = atlas_height, }); Each FONScontext manages one font atlas texture which can hold rasterized glyphs for multiple fonts. --- From here on, use fontstash.h's functions "as usual" to add TTF font data and draw text. Note that (just like with sokol-gl), text rendering can happen anywhere in the frame, not only inside a sokol-gfx rendering pass. --- You can use the helper function uint32_t sfons_rgba(uint8_t r, uint8_t g, uint8_t b, uint8_t a) To convert a 0..255 RGBA color into a packed uint32_t color value expected by fontstash.h. --- Once per frame before calling sgl_draw(), call: sfons_flush(FONScontext* ctx) ...this will update the dynamic sokol-gfx texture with the latest font atlas content. --- To actually render the text (and any other sokol-gl draw commands), call sgl_draw() inside a sokol-gfx frame. --- NOTE that you can mix fontstash.h calls with sokol-gl calls to mix text rendering with sokol-gl rendering. You can also use sokol-gl's matrix stack to position fontstash.h text in 3D. --- finally on application shutdown, call: sfons_destroy(FONScontext* ctx) before sgl_shutdown() and sg_shutdown() WHAT HAPPENS UNDER THE HOOD: ============================ FONScontext* sfons_create(const sfons_desc_t* desc) - creates a sokol-gfx shader compatible with sokol-gl - creates an sgl_pipeline object with alpha-blending using this shader - creates a 1-byte-per-pixel font atlas texture via sokol-gfx (pixel format SG_PIXELFORMAT_R8) fonsDrawText(): - this will call the following sequence of sokol-gl functions: sgl_enable_texture(); sgl_texture(...); sgl_push_pipeline(); sgl_load_pipeline(...); sgl_begin_triangles(); for each vertex: sgl_v2f_t2f_c1i(...); sgl_end(); sgl_pop_pipeline(); sgl_disable_texture(); - note that sokol-gl will merge several sgl_*_begin/sgl_end pairs into a single draw call if no relevant state has changed, typically all calls to fonsDrawText() will be merged into a single draw call as long as all calls use the same FONScontext sfons_flush(FONScontext* ctx): - this will call sg_update_image() on the font atlas texture if fontstash.h has added any rasterized glyphs since the last frame sfons_destroy(FONScontext* ctx): - destroy the font atlas texture, sgl_pipeline and sg_shader objects MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... FONScontext* fons_context = sfons_create(&(sfons_desc_t){ ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ..., } }); ... If no overrides are provided, malloc and free will be used. Please note that this doesn't affect any memory allocation performed in fontstash.h (unfortunately those are hardwired to malloc/free). LICENSE ======= zlib/libpng license Copyright (c) 2018 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_FONTSTASH_INCLUDED (1) #include <stdint.h> #include <stdlib.h> #include <stddef.h> // size_t #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_fontstash.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_FONTSTASH_API_DECL) #define SOKOL_FONTSTASH_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_FONTSTASH_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_FONTSTASH_IMPL) #define SOKOL_FONTSTASH_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_FONTSTASH_API_DECL __declspec(dllimport) #else #define SOKOL_FONTSTASH_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif /* sfonst_allocator_t Used in sfons_desc_t to provide custom memory-alloc and -free functions to sokol_fontstash.h. If memory management should be overridden, both the alloc_fn and free_fn function must be provided (e.g. it's not valid to override one function but not the other). NOTE that this does not affect memory allocation calls inside fontstash.h */ typedef struct sfons_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } sfons_allocator_t; typedef struct sfons_desc_t { int width; // initial width of font atlas texture (default: 512, must be power of 2) int height; // initial height of font atlas texture (default: 512, must be power of 2) sfons_allocator_t allocator; // optional memory allocation overrides } sfons_desc_t; SOKOL_FONTSTASH_API_DECL FONScontext* sfons_create(const sfons_desc_t* desc); SOKOL_FONTSTASH_API_DECL void sfons_destroy(FONScontext* ctx); SOKOL_FONTSTASH_API_DECL void sfons_flush(FONScontext* ctx); SOKOL_FONTSTASH_API_DECL uint32_t sfons_rgba(uint8_t r, uint8_t g, uint8_t b, uint8_t a); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* SOKOL_FONTSTASH_INCLUDED */ /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_FONTSTASH_IMPL #define SOKOL_FONTSTASH_IMPL_INCLUDED (1) #if defined(SOKOL_MALLOC) || defined(SOKOL_CALLOC) || defined(SOKOL_FREE) #error "SOKOL_MALLOC/CALLOC/FREE macros are no longer supported, please use sfons_desc_t.allocator to override memory allocation functions" #endif #include <string.h> // memset, memcpy #include <stdlib.h> // malloc, free #if !defined(SOKOL_GL_INCLUDED) #error "Please include sokol_gl.h before sokol_fontstash.h" #endif #if !defined(FONS_H) #error "Please include fontstash.h before sokol_fontstash.h" #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef SOKOL_UNREACHABLE #define SOKOL_UNREACHABLE SOKOL_ASSERT(false) #endif #ifndef _SOKOL_UNUSED #define _SOKOL_UNUSED(x) (void)(x) #endif #if defined(SOKOL_GLCORE) /* Embedded source code compiled with: sokol-shdc -i sfons.glsl -o sfons.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgsl -b (not that for Metal and D3D11 byte code, sokol-shdc must be run on macOS and Windows) @vs vs uniform vs_params { uniform mat4 mvp; uniform mat4 tm; }; in vec4 position; in vec2 texcoord0; in vec4 color0; in float psize; out vec4 uv; out vec4 color; void main() { gl_Position = mvp * position; #ifndef SOKOL_WGSL gl_PointSize = psize; #endif uv = tm * vec4(texcoord0, 0.0, 1.0); color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; in vec4 uv; in vec4 color; out vec4 frag_color; void main() { frag_color = vec4(1.0, 1.0, 1.0, texture(sampler2D(tex, smp), uv.xy).r) * color; } @end @program sfontstash vs fs */ static const uint8_t _sfons_vs_source_glsl410[520] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x38,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e, 0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x33,0x29,0x20,0x69,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x73, 0x69,0x7a,0x65,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65, 0x63,0x34,0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f, 0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76, 0x65,0x63,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x31,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2c,0x20,0x76,0x73,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x32,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x5b,0x33,0x5d,0x29,0x20,0x2a,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53, 0x69,0x7a,0x65,0x20,0x3d,0x20,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x75,0x76,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x5b,0x35,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73, 0x5b,0x36,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x37, 0x5d,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sfons_fs_source_glsl410[245] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x31,0x2e, 0x30,0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76, 0x2e,0x78,0x79,0x29,0x2e,0x78,0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _sfons_vs_source_glsl300es[481] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x38,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f, 0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29, 0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69, 0x6f,0x6e,0x20,0x3d,0x20,0x33,0x29,0x20,0x69,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x20,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74, 0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79, 0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32, 0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x5b,0x30,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b, 0x31,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x32,0x5d, 0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x33,0x5d,0x29,0x20, 0x2a,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69,0x7a,0x65,0x20,0x3d,0x20,0x70, 0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x6d, 0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d, 0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x35,0x5d,0x2c,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x36,0x5d,0x2c,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x37,0x5d,0x29,0x20,0x2a,0x20,0x76,0x65, 0x63,0x34,0x28,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x2c,0x20,0x30,0x2e, 0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a, 0x00, }; static const uint8_t _sfons_fs_source_glsl300es[276] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20, 0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34,0x20,0x75, 0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61, 0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x31,0x2e,0x30, 0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x2e, 0x78,0x79,0x29,0x2e,0x78,0x29,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a, 0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _sfons_vs_bytecode_metal_macos[3317] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf5,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x76,0x25,0x5f,0x37,0x22,0xd0,0x3f, 0x64,0xef,0xff,0xc3,0x45,0x1a,0x3d,0xb7,0x5e,0x83,0x13,0x96,0xd3,0x09,0xec,0x53, 0x25,0xd5,0x7e,0x0c,0xed,0xb9,0x58,0x34,0x02,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x40,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x2a,0x00,0x04,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x70,0x73,0x69,0x7a,0x65,0x00,0x03,0x80,0x56,0x41,0x54, 0x59,0x06,0x00,0x04,0x00,0x06,0x04,0x06,0x03,0x45,0x4e,0x44,0x54,0x04,0x00,0x00, 0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00,0x00,0x14,0x00,0x00, 0x00,0xc4,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0,0xde,0x21,0x0c,0x00, 0x00,0xee,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00,0x00,0x12,0x00,0x00, 0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32,0x39,0x92,0x01,0x84, 0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45,0x02,0x42,0x92,0x0b, 0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44,0x24,0x48,0x0a,0x90, 0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8,0x48,0x11,0x62,0xa8, 0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00,0x00,0x81,0x00,0x00, 0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x90,0x80,0x8a,0x18,0x87,0x77, 0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76,0xc8,0x87,0x36,0x90,0x87,0x77,0xa8, 0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20,0x87,0x74,0xb0,0x87,0x74,0x20,0x87, 0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c, 0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8, 0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79,0x68,0x03,0x78,0x90,0x87,0x72,0x18, 0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80,0x87,0x76,0x08,0x07,0x72,0x00,0xcc, 0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21, 0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21,0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e, 0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x06, 0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87,0x76,0x28,0x87,0x36,0x80,0x87,0x77, 0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36,0x28,0x07,0x76,0x48,0x87,0x76,0x68, 0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28,0x87,0x70,0x30,0x07,0x80,0x70,0x87, 0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d, 0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d,0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca, 0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36, 0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0, 0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6, 0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda,0x40,0x1f,0xca,0x41,0x1e,0xde,0x61, 0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21,0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68,0x03,0x7a,0x90,0x87,0x70,0x80,0x07, 0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41, 0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21,0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e, 0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e,0xde,0x41,0x1e,0xda,0x40,0x1c,0xea, 0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6,0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c, 0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea, 0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc,0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1, 0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x36,0x18,0x42, 0x01,0x2c,0x40,0x05,0x00,0x49,0x18,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x84,0x40, 0x00,0x89,0x20,0x00,0x00,0x20,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85, 0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a, 0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x44,0x33,0x00,0xc3,0x08,0x04,0x60,0x89,0x10,0x02, 0x18,0x46,0x10,0x80,0x24,0x08,0x33,0x51,0xf3,0x40,0x0f,0xf2,0x50,0x0f,0xe3,0x40, 0x0f,0x6e,0xd0,0x0e,0xe5,0x40,0x0f,0xe1,0xc0,0x0e,0x7a,0xa0,0x07,0xed,0x10,0x0e, 0xf4,0x20,0x0f,0xe9,0x80,0x0f,0x28,0x20,0x07,0x49,0x53,0x44,0x09,0x93,0x5f,0x49, 0xff,0x03,0x44,0x00,0x23,0x21,0xa1,0x94,0x41,0x04,0x43,0x28,0x86,0x08,0x23,0x80, 0x43,0x68,0x20,0x60,0x8e,0x00,0x0c,0x52,0x60,0xcd,0x11,0x80,0xc2,0x20,0x42,0x20, 0x0c,0x23,0x10,0xcb,0x08,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87, 0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38, 0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0, 0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0, 0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76, 0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50, 0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07, 0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, 0xc8,0x02,0x01,0x00,0x00,0x0b,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c, 0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x05,0x18, 0x50,0x08,0x65,0x50,0x80,0x02,0x05,0x51,0x20,0xd4,0x46,0x00,0x88,0x8d,0x25,0x34, 0x01,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x02,0x01,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32, 0x28,0x00,0xb3,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x2c,0x81,0x22,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25, 0x58,0x90,0x45,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82, 0x45,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04, 0x65,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c, 0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba, 0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61, 0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde, 0xc2,0xe8,0x68,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95, 0x51,0xa8,0xb3,0x1b,0xc2,0x28,0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9, 0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0x61,0x31,0xf6,0xc6,0xf6,0x26, 0x37,0x84,0x51,0x1e,0xc5,0x52,0x22,0x45,0x52,0x26,0xe5,0x22,0x13,0x96,0x26,0xe7, 0x02,0xf7,0x36,0x97,0x46,0x97,0xf6,0xe6,0xc6,0xe5,0x8c,0xed,0x0b,0xea,0x6d,0x2e, 0x8d,0x2e,0xed,0xcd,0x6d,0x88,0xa2,0x64,0x4a,0xa4,0x48,0xca,0xa4,0x68,0x74,0xc2, 0xd2,0xe4,0x5c,0xe0,0xde,0xd2,0xdc,0xe8,0xbe,0xe6,0xd2,0xf4,0xca,0x58,0x98,0xb1, 0xbd,0x85,0xd1,0x91,0x39,0x63,0xfb,0x82,0x7a,0x4b,0x73,0xa3,0x9b,0x4a,0xd3,0x2b, 0x1b,0xa2,0x28,0x9c,0x12,0x29,0x9d,0x32,0x29,0xde,0x10,0x44,0xa9,0x14,0x4c,0xd9, 0x94,0x8f,0x50,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0x57,0x9a,0x1b, 0x5c,0x1d,0x1d,0xa5,0xb0,0x34,0x39,0x17,0xb6,0xb7,0xb1,0x30,0xba,0xb4,0x37,0xb7, 0xaf,0x34,0x37,0xb2,0x32,0x3c,0x7a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x64, 0x28,0x5f,0x5f,0x61,0x69,0x72,0x5f,0x70,0x6c,0x61,0x63,0x65,0x68,0x6f,0x6c,0x64, 0x65,0x72,0x5f,0x5f,0x29,0x44,0xe0,0xde,0xe6,0xd2,0xe8,0xd2,0xde,0xdc,0x86,0x50, 0x8b,0xa0,0x84,0x81,0x22,0x06,0x8b,0xb0,0x04,0xca,0x18,0x28,0x91,0x22,0x29,0x93, 0x42,0x06,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x98,0xd0,0x95,0xe1,0x8d,0xbd,0xbd, 0xc9,0x91,0xc1,0x0c,0xa1,0x96,0x40,0x09,0x03,0x45,0x0c,0x96,0x60,0x09,0x94,0x31, 0x50,0x22,0xc5,0x0c,0x94,0x49,0x39,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43, 0xa8,0x65,0x50,0xc2,0x40,0x11,0x83,0x65,0x58,0x02,0x65,0x0c,0x94,0x48,0x91,0x94, 0x49,0x49,0x03,0x16,0x70,0x73,0x69,0x7a,0x65,0x43,0xa8,0xc5,0x50,0xc2,0x40,0x11, 0x83,0xc5,0x58,0x02,0x65,0x0c,0x94,0x48,0xe9,0x94,0x49,0x59,0x03,0x2a,0x61,0x69, 0x72,0x2e,0x62,0x75,0x66,0x66,0x65,0x72,0x7c,0xc2,0xd2,0xe4,0x5c,0xc4,0xea,0xcc, 0xcc,0xca,0xe4,0xbe,0xe6,0xd2,0xf4,0xca,0x88,0x84,0xa5,0xc9,0xb9,0xc8,0x95,0x85, 0x91,0x91,0x0a,0x4b,0x93,0x73,0x99,0xa3,0x93,0xab,0x1b,0xa3,0xfb,0xa2,0xcb,0x83, 0x2b,0xfb,0x4a,0x73,0x33,0x7b,0x23,0x62,0xc6,0xf6,0x16,0x46,0x47,0x83,0x47,0xc3, 0xa1,0xcd,0x0e,0x8e,0x02,0x5d,0xdb,0x10,0x6a,0x11,0x16,0x62,0x11,0x94,0x38,0x50, 0xe4,0x60,0x21,0x16,0x62,0x11,0x94,0x38,0x50,0xe6,0x80,0x51,0x58,0x9a,0x9c,0x4b, 0x98,0xdc,0xd9,0x17,0x5d,0x1e,0x5c,0xd9,0xd7,0x5c,0x9a,0x5e,0x19,0xaf,0xb0,0x34, 0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x30,0xb6,0xb4,0x33,0xb7, 0xaf,0xb9,0x34,0xbd,0x32,0x26,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x1c, 0xbe,0x62,0x72,0x86,0x90,0xc1,0x52,0x28,0x6d,0xa0,0xb8,0xc1,0x72,0x28,0x62,0xb0, 0x08,0x4b,0xa0,0xbc,0x81,0x02,0x07,0x0a,0x1d,0x28,0x75,0xb0,0x1c,0x8a,0x1d,0x2c, 0x89,0x12,0x29,0x77,0xa0,0x4c,0x0a,0x1e,0x0c,0x51,0x94,0x32,0x50,0xd0,0x40,0x51, 0x03,0x85,0x0d,0x94,0x3c,0x18,0x62,0x24,0x80,0x02,0x06,0x8a,0x1e,0xf0,0x79,0x6b, 0x73,0x4b,0x83,0x7b,0xa3,0x2b,0x73,0xa3,0x03,0x19,0x43,0x0b,0x93,0xe3,0x33,0x95, 0xd6,0x06,0xc7,0x56,0x06,0x32,0xb4,0xb2,0x02,0x42,0x25,0x14,0x14,0x34,0x44,0x50, 0xfa,0x60,0x88,0xa1,0xf0,0x81,0xe2,0x07,0x8d,0x32,0xc4,0x50,0xfe,0x40,0xf9,0x83, 0x46,0x19,0x11,0xb1,0x03,0x3b,0xd8,0x43,0x3b,0xb8,0x41,0x3b,0xbc,0x03,0x39,0xd4, 0x03,0x3b,0x94,0x83,0x1b,0x98,0x03,0x3b,0x84,0xc3,0x39,0xcc,0xc3,0x14,0x21,0x18, 0x46,0x28,0xec,0xc0,0x0e,0xf6,0xd0,0x0e,0x6e,0x90,0x0e,0xe4,0x50,0x0e,0xee,0x40, 0x0f,0x53,0x82,0x62,0xc4,0x12,0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f, 0xf3,0x90,0x0e,0xef,0xe0,0x0e,0x53,0x02,0x63,0x04,0x15,0x0e,0xe9,0x20,0x0f,0x6e, 0xc0,0x0e,0xe1,0xe0,0x0e,0xe7,0x50,0x0f,0xe1,0x70,0x0e,0xe5,0xf0,0x0b,0xf6,0x50, 0x0e,0xf2,0x30,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x25,0x40,0x46,0x4c,0xe1,0x90,0x0e, 0xf2,0xe0,0x06,0xe3,0xf0,0x0e,0xed,0x00,0x0f,0xe9,0xc0,0x0e,0xe5,0xf0,0x0b,0xef, 0x00,0x0f,0xf4,0x90,0x0e,0xef,0xe0,0x0e,0xf3,0x30,0x65,0x50,0x18,0x67,0x84,0x12, 0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f,0xf4,0x50,0x0e,0xf8,0x30,0x25, 0xd8,0x03,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80, 0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80, 0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80, 0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88, 0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78, 0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03, 0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f, 0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c, 0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39, 0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60, 0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87, 0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e, 0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c, 0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6, 0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94, 0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03, 0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07, 0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f, 0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33, 0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc, 0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c, 0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78, 0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca, 0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21, 0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43, 0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87, 0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c, 0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e, 0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c, 0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c, 0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00, 0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x3e,0x00,0x00, 0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0xf4,0xc6,0x22, 0x86,0x61,0x18,0xc6,0x22,0x04,0x41,0x10,0xc6,0x22,0x82,0x20,0x08,0xa8,0x95,0x40, 0x19,0x14,0x01,0xbd,0x11,0x00,0x1a,0x33,0x00,0x24,0x66,0x00,0x28,0xcc,0x00,0x00, 0x00,0xe3,0x15,0x4b,0x94,0x65,0x11,0x05,0x65,0x90,0x21,0x1a,0x0c,0x13,0x02,0xf9, 0x8c,0x57,0x3c,0x55,0xd7,0x2d,0x14,0x94,0x41,0x86,0xea,0x70,0x4c,0x08,0xe4,0x63, 0x41,0x01,0x9f,0xf1,0x0a,0x4a,0x13,0x03,0x31,0x70,0x28,0x28,0x83,0x0c,0x1a,0x43, 0x99,0x10,0xc8,0xc7,0x8a,0x00,0x3e,0xe3,0x15,0xd9,0x77,0x06,0x67,0x40,0x51,0x50, 0x06,0x19,0xbe,0x48,0x33,0x21,0x90,0x8f,0x15,0x01,0x7c,0xc6,0x2b,0x3c,0x32,0x68, 0x03,0x36,0x20,0x03,0x0a,0xca,0x20,0xc3,0x18,0x60,0x99,0x09,0x81,0x7c,0xc6,0x2b, 0xc4,0x00,0x0d,0xe2,0x00,0x0e,0x3c,0x0a,0xca,0x20,0xc3,0x19,0x70,0x61,0x60,0x42, 0x20,0x1f,0x0b,0x0a,0xf8,0x8c,0x57,0x9c,0x41,0x1b,0xd8,0x41,0x1d,0x88,0x01,0x05, 0xc5,0x86,0x00,0x3e,0xb3,0x0d,0x61,0x10,0x00,0xb3,0x0d,0x41,0x1b,0x04,0xb3,0x0d, 0xc1,0x23,0xcc,0x36,0x04,0x6e,0x30,0x64,0x10,0x10,0x03,0x00,0x00,0x09,0x00,0x00, 0x00,0x5b,0x86,0x20,0x00,0x85,0x2d,0x43,0x11,0x80,0xc2,0x96,0x41,0x09,0x40,0x61, 0xcb,0xf0,0x04,0xa0,0xb0,0x65,0xa0,0x02,0x50,0xd8,0x32,0x60,0x01,0x28,0x6c,0x19, 0xba,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sfons_fs_bytecode_metal_macos[2857] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x29,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x50,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0x38,0x3c,0x07,0x7d,0xe0,0x21,0x6b, 0x04,0x03,0x36,0x12,0x1d,0xbc,0x24,0x12,0xc4,0x27,0xab,0xef,0x84,0x17,0xbe,0x12, 0x8d,0xc7,0xbc,0x06,0xbc,0x98,0x53,0xdb,0x0b,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x30,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x89,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1e,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x4c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x70,0x94,0x34,0x45,0x94,0x30, 0xf9,0xff,0x44,0x5c,0x13,0x15,0x11,0xbf,0x3d,0xfc,0xd3,0x18,0x01,0x30,0x88,0x30, 0x04,0x17,0x49,0x53,0x44,0x09,0x93,0xff,0x4b,0x00,0xf3,0x2c,0x44,0xf4,0x4f,0x63, 0x04,0xc0,0x20,0x42,0x21,0x94,0x42,0x84,0x40,0x0c,0x9d,0x61,0x04,0x01,0x98,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0x88,0x49,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x30,0x02,0xb1,0x8c,0x00,0x00,0x00,0x00,0x00,0x13,0xb2,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x76,0x08,0x87,0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83, 0x38,0x70,0x03,0x38,0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78, 0xa0,0x07,0x78,0xd0,0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90, 0x0e,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e, 0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76, 0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20, 0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30, 0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07, 0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71, 0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20, 0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f, 0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76, 0xd0,0x06,0xf6,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50, 0x07,0x71,0x20,0x07,0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78, 0xa0,0x07,0x71,0x60,0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x41,0x00,0x00,0x08,0x00, 0x00,0x00,0x00,0x00,0x18,0xc2,0x38,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64, 0x81,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c, 0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50, 0x10,0x65,0x40,0x70,0x2c,0xa1,0x09,0x00,0x00,0x79,0x18,0x00,0x00,0xb7,0x00,0x00, 0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37, 0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b, 0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c, 0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26, 0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac, 0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0, 0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79, 0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6, 0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6, 0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62, 0x6c,0x65,0x43,0x84,0x67,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5, 0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99, 0x95,0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86, 0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59, 0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f, 0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c, 0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd, 0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08, 0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b, 0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c, 0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72, 0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x14,0xea,0xec,0x86, 0x48,0xcb,0xf0,0x58,0xcf,0xf5,0x60,0x4f,0xf6,0x40,0x4f,0xf4,0x48,0x8f,0xc6,0xa5, 0x6e,0xae,0x4c,0x0e,0x85,0xed,0x6d,0xcc,0x2d,0x26,0x85,0xc5,0xd8,0x1b,0xdb,0x9b, 0xdc,0x10,0x69,0x11,0x1e,0xeb,0xe1,0x1e,0xec,0xc9,0x1e,0xe8,0x89,0x1e,0xe9,0xe9, 0xb8,0x84,0xa5,0xc9,0xb9,0xd0,0x95,0xe1,0xd1,0xd5,0xc9,0x95,0x51,0x0a,0x4b,0x93, 0x73,0x61,0x7b,0x1b,0x0b,0xa3,0x4b,0x7b,0x73,0xfb,0x4a,0x73,0x23,0x2b,0xc3,0xa3, 0x12,0x96,0x26,0xe7,0x32,0x17,0xd6,0x06,0xc7,0x56,0x46,0x8c,0xae,0x0c,0x8f,0xae, 0x4e,0xae,0x4c,0x86,0x8c,0xc7,0x8c,0xed,0x2d,0x8c,0x8e,0x05,0x64,0x2e,0xac,0x0d, 0x8e,0xad,0xcc,0x87,0x03,0x5d,0x19,0xde,0x10,0x6a,0x21,0x9e,0xef,0x01,0x83,0x65, 0x58,0x84,0x27,0x0c,0x1e,0xe8,0x11,0x83,0x47,0x7a,0xc6,0x80,0x4b,0x58,0x9a,0x9c, 0xcb,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x8f,0xb9,0xb0,0x36,0x38,0xb6,0x32,0x39, 0x0e,0x73,0x6d,0x70,0x43,0xa4,0xe5,0x78,0xca,0xe0,0x01,0x83,0x65,0x58,0x84,0x07, 0x7a,0xcc,0xe0,0x91,0x9e,0x33,0x18,0x82,0x3c,0xdb,0xe3,0x3d,0x64,0xf0,0xa0,0xc1, 0x10,0x03,0x01,0x9e,0xea,0x49,0x83,0x11,0x11,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b, 0xb4,0xc3,0x3b,0x90,0x43,0x3d,0xb0,0x43,0x39,0xb8,0x81,0x39,0xb0,0x43,0x38,0x9c, 0xc3,0x3c,0x4c,0x11,0x82,0x61,0x84,0xc2,0x0e,0xec,0x60,0x0f,0xed,0xe0,0x06,0xe9, 0x40,0x0e,0xe5,0xe0,0x0e,0xf4,0x30,0x25,0x28,0x46,0x2c,0xe1,0x90,0x0e,0xf2,0xe0, 0x06,0xf6,0x50,0x0e,0xf2,0x30,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x25,0x30,0x46,0x50, 0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xec,0x10,0x0e,0xee,0x70,0x0e,0xf5,0x10,0x0e,0xe7, 0x50,0x0e,0xbf,0x60,0x0f,0xe5,0x20,0x0f,0xf3,0x90,0x0e,0xef,0xe0,0x0e,0x53,0x02, 0x64,0xc4,0x14,0x0e,0xe9,0x20,0x0f,0x6e,0x30,0x0e,0xef,0xd0,0x0e,0xf0,0x90,0x0e, 0xec,0x50,0x0e,0xbf,0xf0,0x0e,0xf0,0x40,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x0f,0x53, 0x06,0x85,0x71,0x46,0x30,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xe6,0x20,0x0f,0xe1,0x70, 0x0e,0xed,0x50,0x0e,0xee,0x40,0x0f,0x53,0x02,0x35,0x00,0x00,0x00,0x79,0x18,0x00, 0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d, 0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c, 0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d, 0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d, 0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79, 0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc, 0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50, 0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30, 0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03, 0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07, 0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76, 0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98, 0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8, 0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21, 0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43, 0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f, 0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70, 0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0, 0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40, 0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41, 0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e, 0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07, 0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f, 0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d, 0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38, 0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88, 0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08, 0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50, 0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01, 0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03, 0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c, 0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00, 0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d, 0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x16,0x00,0x00, 0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x14,0xc7,0x22, 0x80,0x40,0x20,0x88,0x8d,0x00,0x8c,0x25,0x00,0x01,0xa9,0x11,0x80,0x1a,0x20,0x31, 0x03,0x40,0x61,0x0e,0xe2,0xba,0xae,0x6a,0x06,0x80,0xc0,0x0c,0xc0,0x08,0xc0,0x18, 0x01,0x08,0x82,0x20,0xfe,0x01,0x00,0x00,0x00,0x83,0x0c,0x0f,0x91,0x8c,0x18,0x28, 0x42,0x80,0x39,0x4d,0x80,0x2c,0xc9,0x30,0xc8,0x70,0x04,0x8d,0x05,0x91,0x7c,0x66, 0x1b,0x94,0x00,0xc8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sfons_vs_bytecode_metal_ios[3317] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf5,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x17,0x11,0x57,0x16,0x94,0x42,0x52, 0xfb,0x1e,0xd0,0x32,0xfd,0x87,0x16,0xb0,0xa4,0xd0,0xc2,0x43,0xbe,0x93,0x8c,0xe0, 0x2d,0x7a,0x5c,0x3e,0x06,0x4c,0x57,0xeb,0x4b,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x40,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x2a,0x00,0x04,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x70,0x73,0x69,0x7a,0x65,0x00,0x03,0x80,0x56,0x41,0x54, 0x59,0x06,0x00,0x04,0x00,0x06,0x04,0x06,0x03,0x45,0x4e,0x44,0x54,0x04,0x00,0x00, 0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00,0x00,0x14,0x00,0x00, 0x00,0xc0,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0,0xde,0x21,0x0c,0x00, 0x00,0xed,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00,0x00,0x12,0x00,0x00, 0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32,0x39,0x92,0x01,0x84, 0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45,0x02,0x42,0x92,0x0b, 0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44,0x24,0x48,0x0a,0x90, 0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8,0x48,0x11,0x62,0xa8, 0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00,0x00,0x82,0x00,0x00, 0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x90,0x80,0x8a,0x18,0x87,0x77, 0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76,0xc8,0x87,0x36,0x90,0x87,0x77,0xa8, 0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20,0x87,0x74,0xb0,0x87,0x74,0x20,0x87, 0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c, 0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8, 0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79,0x68,0x03,0x78,0x90,0x87,0x72,0x18, 0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80,0x87,0x76,0x08,0x07,0x72,0x00,0xcc, 0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21, 0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21,0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e, 0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x06, 0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87,0x76,0x28,0x87,0x36,0x80,0x87,0x77, 0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36,0x28,0x07,0x76,0x48,0x87,0x76,0x68, 0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28,0x87,0x70,0x30,0x07,0x80,0x70,0x87, 0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d, 0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d,0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca, 0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36, 0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0, 0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6, 0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda,0x40,0x1f,0xca,0x41,0x1e,0xde,0x61, 0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21,0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68,0x03,0x7a,0x90,0x87,0x70,0x80,0x07, 0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41, 0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21,0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e, 0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e,0xde,0x41,0x1e,0xda,0x40,0x1c,0xea, 0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6,0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c, 0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea, 0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc,0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1, 0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x36,0x20,0x42, 0x01,0x24,0xc0,0x02,0x54,0x00,0x00,0x00,0x00,0x49,0x18,0x00,0x00,0x01,0x00,0x00, 0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00,0x20,0x00,0x00,0x00,0x32,0x22,0x48, 0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90, 0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x44,0x33,0x00,0xc3,0x08,0x04, 0x60,0x89,0x10,0x02,0x18,0x46,0x10,0x80,0x24,0x08,0x33,0x51,0xf3,0x40,0x0f,0xf2, 0x50,0x0f,0xe3,0x40,0x0f,0x6e,0xd0,0x0e,0xe5,0x40,0x0f,0xe1,0xc0,0x0e,0x7a,0xa0, 0x07,0xed,0x10,0x0e,0xf4,0x20,0x0f,0xe9,0x80,0x0f,0x28,0x20,0x07,0x49,0x53,0x44, 0x09,0x93,0x5f,0x49,0xff,0x03,0x44,0x00,0x23,0x21,0xa1,0x94,0x41,0x04,0x43,0x28, 0x86,0x08,0x23,0x80,0x43,0x68,0x20,0x60,0x8e,0x00,0x0c,0x52,0x60,0xcd,0x11,0x80, 0xc2,0x20,0x42,0x20,0x0c,0x23,0x10,0xcb,0x08,0x00,0x00,0x00,0x00,0x13,0xa8,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51, 0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78, 0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76, 0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0, 0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90, 0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06, 0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72, 0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10, 0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73, 0x20,0x07,0x43,0x98,0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x2c,0x10,0x00, 0x00,0x0b,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26, 0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x05,0x18,0x50,0x08,0x65,0x50, 0x80,0x02,0x05,0x51,0x20,0xd4,0x46,0x00,0x88,0x8d,0x25,0x40,0x02,0x00,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x02,0x01,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2, 0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32,0x28,0x00,0xb3,0x50, 0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0x81,0x22,0x2c, 0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae, 0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06, 0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5, 0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25,0x58,0x90,0x45,0x60, 0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82,0x45,0xe0,0x16,0x96, 0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7, 0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50,0x12,0x72,0x61,0x69, 0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d, 0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x65,0x21,0x19,0x84, 0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95, 0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85, 0x89,0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d, 0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6, 0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79, 0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x68,0xc8,0x84, 0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2, 0x28,0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61, 0x7b,0x1b,0x73,0x8b,0x49,0x61,0x31,0xf6,0xc6,0xf6,0x26,0x37,0x84,0x51,0x1e,0xc5, 0x52,0x22,0x45,0x52,0x26,0xe5,0x22,0x13,0x96,0x26,0xe7,0x02,0xf7,0x36,0x97,0x46, 0x97,0xf6,0xe6,0xc6,0xe5,0x8c,0xed,0x0b,0xea,0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x6d, 0x88,0xa2,0x64,0x4a,0xa4,0x48,0xca,0xa4,0x68,0x74,0xc2,0xd2,0xe4,0x5c,0xe0,0xde, 0xd2,0xdc,0xe8,0xbe,0xe6,0xd2,0xf4,0xca,0x58,0x98,0xb1,0xbd,0x85,0xd1,0x91,0x39, 0x63,0xfb,0x82,0x7a,0x4b,0x73,0xa3,0x9b,0x4a,0xd3,0x2b,0x1b,0xa2,0x28,0x9c,0x12, 0x29,0x9d,0x32,0x29,0xde,0x10,0x44,0xa9,0x14,0x4c,0xd9,0x94,0x8f,0x50,0x58,0x9a, 0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0x57,0x9a,0x1b,0x5c,0x1d,0x1d,0xa5,0xb0, 0x34,0x39,0x17,0xb6,0xb7,0xb1,0x30,0xba,0xb4,0x37,0xb7,0xaf,0x34,0x37,0xb2,0x32, 0x3c,0x7a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x64,0x28,0x5f,0x5f,0x61,0x69, 0x72,0x5f,0x70,0x6c,0x61,0x63,0x65,0x68,0x6f,0x6c,0x64,0x65,0x72,0x5f,0x5f,0x29, 0x44,0xe0,0xde,0xe6,0xd2,0xe8,0xd2,0xde,0xdc,0x86,0x50,0x8b,0xa0,0x84,0x81,0x22, 0x06,0x8b,0xb0,0x04,0xca,0x18,0x28,0x91,0x22,0x29,0x93,0x42,0x06,0x34,0xcc,0xd8, 0xde,0xc2,0xe8,0x64,0x98,0xd0,0x95,0xe1,0x8d,0xbd,0xbd,0xc9,0x91,0xc1,0x0c,0xa1, 0x96,0x40,0x09,0x03,0x45,0x0c,0x96,0x60,0x09,0x94,0x31,0x50,0x22,0xc5,0x0c,0x94, 0x49,0x39,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x65,0x50,0xc2,0x40, 0x11,0x83,0x65,0x58,0x02,0x65,0x0c,0x94,0x48,0x91,0x94,0x49,0x49,0x03,0x16,0x70, 0x73,0x69,0x7a,0x65,0x43,0xa8,0xc5,0x50,0xc2,0x40,0x11,0x83,0xc5,0x58,0x02,0x65, 0x0c,0x94,0x48,0xe9,0x94,0x49,0x59,0x03,0x2a,0x61,0x69,0x72,0x2e,0x62,0x75,0x66, 0x66,0x65,0x72,0x7c,0xc2,0xd2,0xe4,0x5c,0xc4,0xea,0xcc,0xcc,0xca,0xe4,0xbe,0xe6, 0xd2,0xf4,0xca,0x88,0x84,0xa5,0xc9,0xb9,0xc8,0x95,0x85,0x91,0x91,0x0a,0x4b,0x93, 0x73,0x99,0xa3,0x93,0xab,0x1b,0xa3,0xfb,0xa2,0xcb,0x83,0x2b,0xfb,0x4a,0x73,0x33, 0x7b,0x23,0x62,0xc6,0xf6,0x16,0x46,0x47,0x83,0x47,0xc3,0xa1,0xcd,0x0e,0x8e,0x02, 0x5d,0xdb,0x10,0x6a,0x11,0x16,0x62,0x11,0x94,0x38,0x50,0xe4,0x60,0x21,0x16,0x62, 0x11,0x94,0x38,0x50,0xe6,0x80,0x51,0x58,0x9a,0x9c,0x4b,0x98,0xdc,0xd9,0x17,0x5d, 0x1e,0x5c,0xd9,0xd7,0x5c,0x9a,0x5e,0x19,0xaf,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3, 0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x30,0xb6,0xb4,0x33,0xb7,0xaf,0xb9,0x34,0xbd,0x32, 0x26,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x1c,0xbe,0x62,0x72,0x86,0x90, 0xc1,0x52,0x28,0x6d,0xa0,0xb8,0xc1,0x72,0x28,0x62,0xb0,0x08,0x4b,0xa0,0xbc,0x81, 0x02,0x07,0x0a,0x1d,0x28,0x75,0xb0,0x1c,0x8a,0x1d,0x2c,0x89,0x12,0x29,0x77,0xa0, 0x4c,0x0a,0x1e,0x0c,0x51,0x94,0x32,0x50,0xd0,0x40,0x51,0x03,0x85,0x0d,0x94,0x3c, 0x18,0x62,0x24,0x80,0x02,0x06,0x8a,0x1e,0xf0,0x79,0x6b,0x73,0x4b,0x83,0x7b,0xa3, 0x2b,0x73,0xa3,0x03,0x19,0x43,0x0b,0x93,0xe3,0x33,0x95,0xd6,0x06,0xc7,0x56,0x06, 0x32,0xb4,0xb2,0x02,0x42,0x25,0x14,0x14,0x34,0x44,0x50,0xfa,0x60,0x88,0xa1,0xf0, 0x81,0xe2,0x07,0x8d,0x32,0xc4,0x50,0xfe,0x40,0xf9,0x83,0x46,0x19,0x11,0xb1,0x03, 0x3b,0xd8,0x43,0x3b,0xb8,0x41,0x3b,0xbc,0x03,0x39,0xd4,0x03,0x3b,0x94,0x83,0x1b, 0x98,0x03,0x3b,0x84,0xc3,0x39,0xcc,0xc3,0x14,0x21,0x18,0x46,0x28,0xec,0xc0,0x0e, 0xf6,0xd0,0x0e,0x6e,0x90,0x0e,0xe4,0x50,0x0e,0xee,0x40,0x0f,0x53,0x82,0x62,0xc4, 0x12,0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f,0xf3,0x90,0x0e,0xef,0xe0, 0x0e,0x53,0x02,0x63,0x04,0x15,0x0e,0xe9,0x20,0x0f,0x6e,0xc0,0x0e,0xe1,0xe0,0x0e, 0xe7,0x50,0x0f,0xe1,0x70,0x0e,0xe5,0xf0,0x0b,0xf6,0x50,0x0e,0xf2,0x30,0x0f,0xe9, 0xf0,0x0e,0xee,0x30,0x25,0x40,0x46,0x4c,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xe3,0xf0, 0x0e,0xed,0x00,0x0f,0xe9,0xc0,0x0e,0xe5,0xf0,0x0b,0xef,0x00,0x0f,0xf4,0x90,0x0e, 0xef,0xe0,0x0e,0xf3,0x30,0x65,0x50,0x18,0x67,0x84,0x12,0x0e,0xe9,0x20,0x0f,0x6e, 0x60,0x0f,0xe5,0x20,0x0f,0xf4,0x50,0x0e,0xf8,0x30,0x25,0xd8,0x03,0x00,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x50,0x30, 0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x3e,0x00,0x00,0x00,0x13,0x04,0x41, 0x2c,0x10,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0xf4,0xc6,0x22,0x86,0x61,0x18,0xc6, 0x22,0x04,0x41,0x10,0xc6,0x22,0x82,0x20,0x08,0xa8,0x95,0x40,0x19,0x14,0x01,0xbd, 0x11,0x00,0x1a,0x33,0x00,0x24,0x66,0x00,0x28,0xcc,0x00,0x00,0x00,0xe3,0x15,0x4b, 0x94,0x65,0x11,0x05,0x65,0x90,0x21,0x1a,0x0c,0x13,0x02,0xf9,0x8c,0x57,0x3c,0x55, 0xd7,0x2d,0x14,0x94,0x41,0x86,0xea,0x70,0x4c,0x08,0xe4,0x63,0x41,0x01,0x9f,0xf1, 0x0a,0x4a,0x13,0x03,0x31,0x70,0x28,0x28,0x83,0x0c,0x1a,0x43,0x99,0x10,0xc8,0xc7, 0x8a,0x00,0x3e,0xe3,0x15,0xd9,0x77,0x06,0x67,0x40,0x51,0x50,0x06,0x19,0xbe,0x48, 0x33,0x21,0x90,0x8f,0x15,0x01,0x7c,0xc6,0x2b,0x3c,0x32,0x68,0x03,0x36,0x20,0x03, 0x0a,0xca,0x20,0xc3,0x18,0x60,0x99,0x09,0x81,0x7c,0xc6,0x2b,0xc4,0x00,0x0d,0xe2, 0x00,0x0e,0x3c,0x0a,0xca,0x20,0xc3,0x19,0x70,0x61,0x60,0x42,0x20,0x1f,0x0b,0x0a, 0xf8,0x8c,0x57,0x9c,0x41,0x1b,0xd8,0x41,0x1d,0x88,0x01,0x05,0xc5,0x86,0x00,0x3e, 0xb3,0x0d,0x61,0x10,0x00,0xb3,0x0d,0x41,0x1b,0x04,0xb3,0x0d,0xc1,0x23,0xcc,0x36, 0x04,0x6e,0x30,0x64,0x10,0x10,0x03,0x00,0x00,0x09,0x00,0x00,0x00,0x5b,0x86,0x20, 0x00,0x85,0x2d,0x43,0x11,0x80,0xc2,0x96,0x41,0x09,0x40,0x61,0xcb,0xf0,0x04,0xa0, 0xb0,0x65,0xa0,0x02,0x50,0xd8,0x32,0x60,0x01,0x28,0x6c,0x19,0xba,0x00,0x14,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sfons_fs_bytecode_metal_ios[2841] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x19,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x40,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0x7c,0x59,0x61,0x85,0x8c,0x08,0x62, 0xf6,0xd0,0x45,0x0a,0x3a,0xcb,0xa8,0xa5,0x3c,0x2d,0x6c,0x6b,0x9c,0x3d,0xf0,0xf5, 0xc4,0xdc,0xb5,0x90,0xdc,0xee,0x5a,0x9f,0x63,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x28,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x87,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1e,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x4c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x70,0x94,0x34,0x45,0x94,0x30, 0xf9,0xff,0x44,0x5c,0x13,0x15,0x11,0xbf,0x3d,0xfc,0xd3,0x18,0x01,0x30,0x88,0x30, 0x04,0x17,0x49,0x53,0x44,0x09,0x93,0xff,0x4b,0x00,0xf3,0x2c,0x44,0xf4,0x4f,0x63, 0x04,0xc0,0x20,0x42,0x21,0x94,0x42,0x84,0x40,0x0c,0x9d,0x61,0x04,0x01,0x98,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0x88,0x49,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x30,0x02,0xb1,0x8c,0x00,0x00,0x00,0x00,0x00,0x13,0xa8,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51, 0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78, 0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76, 0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0, 0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90, 0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06, 0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72, 0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10, 0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73, 0x20,0x07,0x43,0x18,0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0x8c,0x03, 0x04,0x80,0x00,0x00,0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00, 0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43, 0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70,0x2c,0x01,0x12,0x00, 0x00,0x79,0x18,0x00,0x00,0xb7,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2, 0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50, 0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c, 0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae, 0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06, 0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5, 0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60, 0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96, 0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7, 0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69, 0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d, 0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x67,0x21,0x19,0x84, 0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95, 0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85, 0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59, 0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9, 0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8, 0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e, 0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08,0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e, 0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99, 0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37, 0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74, 0x69,0x76,0x65,0x14,0xea,0xec,0x86,0x48,0xcb,0xf0,0x58,0xcf,0xf5,0x60,0x4f,0xf6, 0x40,0x4f,0xf4,0x48,0x8f,0xc6,0xa5,0x6e,0xae,0x4c,0x0e,0x85,0xed,0x6d,0xcc,0x2d, 0x26,0x85,0xc5,0xd8,0x1b,0xdb,0x9b,0xdc,0x10,0x69,0x11,0x1e,0xeb,0xe1,0x1e,0xec, 0xc9,0x1e,0xe8,0x89,0x1e,0xe9,0xe9,0xb8,0x84,0xa5,0xc9,0xb9,0xd0,0x95,0xe1,0xd1, 0xd5,0xc9,0x95,0x51,0x0a,0x4b,0x93,0x73,0x61,0x7b,0x1b,0x0b,0xa3,0x4b,0x7b,0x73, 0xfb,0x4a,0x73,0x23,0x2b,0xc3,0xa3,0x12,0x96,0x26,0xe7,0x32,0x17,0xd6,0x06,0xc7, 0x56,0x46,0x8c,0xae,0x0c,0x8f,0xae,0x4e,0xae,0x4c,0x86,0x8c,0xc7,0x8c,0xed,0x2d, 0x8c,0x8e,0x05,0x64,0x2e,0xac,0x0d,0x8e,0xad,0xcc,0x87,0x03,0x5d,0x19,0xde,0x10, 0x6a,0x21,0x9e,0xef,0x01,0x83,0x65,0x58,0x84,0x27,0x0c,0x1e,0xe8,0x11,0x83,0x47, 0x7a,0xc6,0x80,0x4b,0x58,0x9a,0x9c,0xcb,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x8f, 0xb9,0xb0,0x36,0x38,0xb6,0x32,0x39,0x0e,0x73,0x6d,0x70,0x43,0xa4,0xe5,0x78,0xca, 0xe0,0x01,0x83,0x65,0x58,0x84,0x07,0x7a,0xcc,0xe0,0x91,0x9e,0x33,0x18,0x82,0x3c, 0xdb,0xe3,0x3d,0x64,0xf0,0xa0,0xc1,0x10,0x03,0x01,0x9e,0xea,0x49,0x83,0x11,0x11, 0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b,0xb4,0xc3,0x3b,0x90,0x43,0x3d,0xb0,0x43,0x39, 0xb8,0x81,0x39,0xb0,0x43,0x38,0x9c,0xc3,0x3c,0x4c,0x11,0x82,0x61,0x84,0xc2,0x0e, 0xec,0x60,0x0f,0xed,0xe0,0x06,0xe9,0x40,0x0e,0xe5,0xe0,0x0e,0xf4,0x30,0x25,0x28, 0x46,0x2c,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xf6,0x50,0x0e,0xf2,0x30,0x0f,0xe9,0xf0, 0x0e,0xee,0x30,0x25,0x30,0x46,0x50,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xec,0x10,0x0e, 0xee,0x70,0x0e,0xf5,0x10,0x0e,0xe7,0x50,0x0e,0xbf,0x60,0x0f,0xe5,0x20,0x0f,0xf3, 0x90,0x0e,0xef,0xe0,0x0e,0x53,0x02,0x64,0xc4,0x14,0x0e,0xe9,0x20,0x0f,0x6e,0x30, 0x0e,0xef,0xd0,0x0e,0xf0,0x90,0x0e,0xec,0x50,0x0e,0xbf,0xf0,0x0e,0xf0,0x40,0x0f, 0xe9,0xf0,0x0e,0xee,0x30,0x0f,0x53,0x06,0x85,0x71,0x46,0x30,0xe1,0x90,0x0e,0xf2, 0xe0,0x06,0xe6,0x20,0x0f,0xe1,0x70,0x0e,0xed,0x50,0x0e,0xee,0x40,0x0f,0x53,0x02, 0x35,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80, 0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80, 0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80, 0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88, 0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78, 0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03, 0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f, 0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c, 0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39, 0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60, 0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87, 0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e, 0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c, 0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6, 0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94, 0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03, 0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07, 0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f, 0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33, 0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc, 0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c, 0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78, 0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca, 0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21, 0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43, 0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87, 0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c, 0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e, 0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c, 0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c, 0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00, 0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45, 0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00, 0x00,0x61,0x20,0x00,0x00,0x16,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00, 0x00,0x0b,0x00,0x00,0x00,0x14,0xc7,0x22,0x80,0x40,0x20,0x88,0x8d,0x00,0x8c,0x25, 0x00,0x01,0xa9,0x11,0x80,0x1a,0x20,0x31,0x03,0x40,0x61,0x0e,0xe2,0xba,0xae,0x6a, 0x06,0x80,0xc0,0x0c,0xc0,0x08,0xc0,0x18,0x01,0x08,0x82,0x20,0xfe,0x01,0x00,0x00, 0x00,0x83,0x0c,0x0f,0x91,0x8c,0x18,0x28,0x42,0x80,0x39,0x4d,0x80,0x2c,0xc9,0x30, 0xc8,0x70,0x04,0x8d,0x05,0x91,0x7c,0x66,0x1b,0x94,0x00,0xc8,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sfons_vs_source_metal_sim[756] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x6d,0x76,0x70,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x74,0x6d,0x3b,0x0a,0x7d,0x3b, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f, 0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34, 0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x70, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69,0x7a, 0x65,0x20,0x5b,0x5b,0x70,0x6f,0x69,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65,0x5d,0x5d, 0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74, 0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72, 0x64,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31, 0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75, 0x74,0x65,0x28,0x32,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x70,0x73,0x69,0x7a,0x65,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69, 0x62,0x75,0x74,0x65,0x28,0x33,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76, 0x65,0x72,0x74,0x65,0x78,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20, 0x6d,0x61,0x69,0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69, 0x6e,0x20,0x5b,0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20, 0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x26,0x20,0x5f,0x31,0x39,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72, 0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x5f,0x31,0x39,0x2e,0x6d,0x76,0x70,0x20,0x2a, 0x20,0x69,0x6e,0x2e,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x6f,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69, 0x7a,0x65,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75,0x76,0x20,0x3d,0x20,0x5f,0x31,0x39,0x2e, 0x74,0x6d,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x2e,0x74, 0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31, 0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a, 0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sfons_fs_source_metal_sim[464] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d, 0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f, 0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x66,0x72,0x61,0x67,0x6d,0x65, 0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65, 0x78,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d, 0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b, 0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75, 0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e, 0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x34,0x28,0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e, 0x30,0x2c,0x20,0x74,0x65,0x78,0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d, 0x70,0x2c,0x20,0x69,0x6e,0x2e,0x75,0x76,0x2e,0x78,0x79,0x29,0x2e,0x78,0x29,0x20, 0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _sfons_vs_bytecode_hlsl4[1032] = { 0x44,0x58,0x42,0x43,0x74,0x7f,0x01,0xd9,0xf4,0xd5,0xed,0x1d,0x74,0xc1,0x30,0x27, 0xd8,0xe9,0x9d,0x50,0x01,0x00,0x00,0x00,0x08,0x04,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x90,0x01,0x00,0x00,0x00,0x02,0x00,0x00, 0x8c,0x03,0x00,0x00,0x52,0x44,0x45,0x46,0xd8,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0xaf,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x00,0xab,0xab,0x3c,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x60,0x00,0x00,0x00, 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x90,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x98,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0xa8,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x98,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x31,0x39,0x5f, 0x6d,0x76,0x70,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x5f,0x31,0x39,0x5f,0x74,0x6d,0x00,0x4d,0x69,0x63,0x72,0x6f, 0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68, 0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30, 0x2e,0x31,0x00,0xab,0x49,0x53,0x47,0x4e,0x74,0x00,0x00,0x00,0x04,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x68,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x68,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x68,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab, 0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0xab,0xab,0xab, 0x53,0x48,0x44,0x52,0x84,0x01,0x00,0x00,0x40,0x00,0x01,0x00,0x61,0x00,0x00,0x00, 0x59,0x00,0x00,0x04,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x03, 0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00, 0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x67,0x00,0x00,0x04, 0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x00,0x00,0x02, 0x01,0x00,0x00,0x00,0x38,0x00,0x00,0x08,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x56,0x15,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x06,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x04,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x36,0x00,0x00,0x05, 0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x02,0x00,0x00,0x00, 0x38,0x00,0x00,0x08,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x56,0x15,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x06,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00, 0x00,0x00,0x00,0x00,0xa6,0x1a,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00, 0x32,0x00,0x00,0x0a,0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0xf6,0x1f,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54, 0x74,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sfons_fs_bytecode_hlsl4[628] = { 0x44,0x58,0x42,0x43,0xb6,0x66,0xf0,0xfc,0x09,0x54,0x2a,0x35,0x84,0x1d,0x27,0xd2, 0xff,0xb3,0x2e,0xdb,0x01,0x00,0x00,0x00,0x74,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x48,0x01,0x00,0x00, 0xf8,0x01,0x00,0x00,0x52,0x44,0x45,0x46,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0x64,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c, 0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x44,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x03,0x00,0x00, 0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x53,0x56,0x5f,0x54, 0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52,0xa8,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x2a,0x00,0x00,0x00,0x5a,0x00,0x00,0x03,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00,0x00,0x00,0x00,0x00, 0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00, 0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x96,0x73,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0x12,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x01,0x40,0x00,0x00,0x00,0x00,0x80,0x3f,0x38,0x00,0x00,0x07,0xf2,0x20,0x10,0x00, 0x00,0x00,0x00,0x00,0x06,0x0c,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00, 0x01,0x00,0x00,0x00,0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00, 0x04,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _sfons_vs_source_wgsl[1162] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x6d,0x76,0x70,0x20,0x3a,0x20,0x6d,0x61,0x74,0x34,0x78,0x34,0x66,0x2c,0x0a, 0x20,0x20,0x2f,0x2a,0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x36,0x34,0x29, 0x20,0x2a,0x2f,0x0a,0x20,0x20,0x74,0x6d,0x20,0x3a,0x20,0x6d,0x61,0x74,0x34,0x78, 0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28,0x30,0x29, 0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x30,0x29,0x20,0x76,0x61,0x72, 0x3c,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x31,0x39,0x20,0x3a, 0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x76,0x61,0x72, 0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76, 0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a, 0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20, 0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72, 0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63, 0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x70,0x73,0x69,0x7a,0x65,0x20,0x3a,0x20,0x66,0x33,0x32,0x3b,0x0a,0x0a, 0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x67,0x6c,0x5f, 0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b, 0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x32,0x20,0x3a,0x20,0x6d,0x61, 0x74,0x34,0x78,0x34,0x66,0x20,0x3d,0x20,0x78,0x5f,0x31,0x39,0x2e,0x6d,0x76,0x70, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x35,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f, 0x31,0x3b,0x0a,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x32,0x20,0x2a,0x20,0x78,0x5f,0x32,0x35,0x29, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x32,0x20,0x3a,0x20,0x6d, 0x61,0x74,0x34,0x78,0x34,0x66,0x20,0x3d,0x20,0x78,0x5f,0x31,0x39,0x2e,0x74,0x6d, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x36,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30, 0x3b,0x0a,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x28,0x78,0x5f,0x33,0x32,0x20,0x2a, 0x20,0x76,0x65,0x63,0x34,0x66,0x28,0x78,0x5f,0x33,0x36,0x2e,0x78,0x2c,0x20,0x78, 0x5f,0x33,0x36,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30, 0x66,0x29,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x35,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x78,0x5f,0x34,0x35, 0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73, 0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b, 0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c,0x74,0x69,0x6e,0x28,0x70,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x0a,0x20,0x20,0x75,0x76, 0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a, 0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a, 0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x32,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c, 0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x33,0x29,0x20,0x70,0x73, 0x69,0x7a,0x65,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x66,0x33,0x32,0x29, 0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20, 0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x3d,0x20,0x74,0x65, 0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x70,0x73,0x69,0x7a,0x65,0x20, 0x3d,0x20,0x70,0x73,0x69,0x7a,0x65,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74, 0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c,0x5f, 0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sfons_fs_source_wgsl[674] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75, 0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x38, 0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b,0x0a,0x0a,0x40,0x67, 0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67, 0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70,0x20,0x3a,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x34,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x36,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x78,0x5f,0x32,0x34,0x2e,0x78, 0x2c,0x20,0x78,0x5f,0x32,0x34,0x2e,0x79,0x29,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x33,0x32,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x28,0x76,0x65,0x63,0x34,0x66,0x28,0x31,0x2e, 0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x2c,0x20, 0x78,0x5f,0x32,0x36,0x2e,0x78,0x29,0x20,0x2a,0x20,0x78,0x5f,0x33,0x32,0x29,0x3b, 0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74, 0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a, 0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x0a,0x20, 0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20, 0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x66,0x72,0x61,0x67,0x6d, 0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40,0x6c,0x6f,0x63, 0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20,0x2d,0x3e,0x20, 0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x75,0x76,0x20, 0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20, 0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74, 0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a, 0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _sfons_vs_source_dummy = ""; static const char* _sfons_fs_source_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif typedef struct _sfons_t { sfons_desc_t desc; sg_shader shd; sgl_pipeline pip; sg_image img; sg_sampler smp; int cur_width, cur_height; bool img_dirty; } _sfons_t; static void _sfons_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } static void* _sfons_malloc(const sfons_allocator_t* allocator, size_t size) { SOKOL_ASSERT(allocator && (size > 0)); void* ptr; if (allocator->alloc_fn) { ptr = allocator->alloc_fn(size, allocator->user_data); } else { ptr = malloc(size); } SOKOL_ASSERT(ptr); return ptr; } static void* _sfons_malloc_clear(const sfons_allocator_t* allocator, size_t size) { void* ptr = _sfons_malloc(allocator, size); _sfons_clear(ptr, size); return ptr; } static void _sfons_free(const sfons_allocator_t* allocator, void* ptr) { SOKOL_ASSERT(allocator); if (allocator->free_fn) { allocator->free_fn(ptr, allocator->user_data); } else { free(ptr); } } static int _sfons_render_create(void* user_ptr, int width, int height) { SOKOL_ASSERT(user_ptr && (width > 8) && (height > 8)); _sfons_t* sfons = (_sfons_t*) user_ptr; // sokol-gl compatible shader which treats RED channel as alpha if (sfons->shd.id == SG_INVALID_ID) { sg_shader_desc shd_desc; _sfons_clear(&shd_desc, sizeof(shd_desc)); shd_desc.attrs[0].name = "position"; shd_desc.attrs[1].name = "texcoord0"; shd_desc.attrs[2].name = "color0"; shd_desc.attrs[3].name = "psize"; shd_desc.attrs[0].sem_name = "TEXCOORD"; shd_desc.attrs[0].sem_index = 0; shd_desc.attrs[1].sem_name = "TEXCOORD"; shd_desc.attrs[1].sem_index = 1; shd_desc.attrs[2].sem_name = "TEXCOORD"; shd_desc.attrs[2].sem_index = 2; shd_desc.attrs[3].sem_name = "TEXCOORD"; shd_desc.attrs[3].sem_index = 3; sg_shader_uniform_block_desc* ub = &shd_desc.vs.uniform_blocks[0]; ub->size = 128; ub->uniforms[0].name = "vs_params"; ub->uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; ub->uniforms[0].array_count = 8; shd_desc.fs.images[0].used = true; shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D; shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT; shd_desc.fs.samplers[0].used = true; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING; shd_desc.fs.image_sampler_pairs[0].used = true; shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp"; shd_desc.fs.image_sampler_pairs[0].image_slot = 0; shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0; shd_desc.label = "sokol-fontstash-shader"; #if defined(SOKOL_GLCORE) shd_desc.vs.source = (const char*)_sfons_vs_source_glsl410; shd_desc.fs.source = (const char*)_sfons_fs_source_glsl410; #elif defined(SOKOL_GLES3) shd_desc.vs.source = (const char*)_sfons_vs_source_glsl300es; shd_desc.fs.source = (const char*)_sfons_fs_source_glsl300es; #elif defined(SOKOL_METAL) shd_desc.vs.entry = "main0"; shd_desc.fs.entry = "main0"; switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: shd_desc.vs.bytecode = SG_RANGE(_sfons_vs_bytecode_metal_macos); shd_desc.fs.bytecode = SG_RANGE(_sfons_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: shd_desc.vs.bytecode = SG_RANGE(_sfons_vs_bytecode_metal_ios); shd_desc.fs.bytecode = SG_RANGE(_sfons_fs_bytecode_metal_ios); break; default: shd_desc.vs.source = (const char*)_sfons_vs_source_metal_sim; shd_desc.fs.source = (const char*)_sfons_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) shd_desc.vs.bytecode = SG_RANGE(_sfons_vs_bytecode_hlsl4); shd_desc.fs.bytecode = SG_RANGE(_sfons_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) shd_desc.vs.source = (const char*)_sfons_vs_source_wgsl; shd_desc.fs.source = (const char*)_sfons_fs_source_wgsl; #else shd_desc.vs.source = _sfons_vs_source_dummy; shd_desc.fs.source = _sfons_fs_source_dummy; #endif shd_desc.label = "sfons-shader"; sfons->shd = sg_make_shader(&shd_desc); } // sokol-gl pipeline object if (sfons->pip.id == SG_INVALID_ID) { sg_pipeline_desc pip_desc; _sfons_clear(&pip_desc, sizeof(pip_desc)); pip_desc.shader = sfons->shd; pip_desc.colors[0].blend.enabled = true; pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_SRC_ALPHA; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; sfons->pip = sgl_make_pipeline(&pip_desc); } // a sampler object if (sfons->smp.id == SG_INVALID_ID) { sg_sampler_desc smp_desc; _sfons_clear(&smp_desc, sizeof(smp_desc)); smp_desc.min_filter = SG_FILTER_LINEAR; smp_desc.mag_filter = SG_FILTER_LINEAR; sfons->smp = sg_make_sampler(&smp_desc); } // create or re-create font atlas texture if (sfons->img.id != SG_INVALID_ID) { sg_destroy_image(sfons->img); sfons->img.id = SG_INVALID_ID; } sfons->cur_width = width; sfons->cur_height = height; SOKOL_ASSERT(sfons->img.id == SG_INVALID_ID); sg_image_desc img_desc; _sfons_clear(&img_desc, sizeof(img_desc)); img_desc.width = sfons->cur_width; img_desc.height = sfons->cur_height; img_desc.usage = SG_USAGE_DYNAMIC; img_desc.pixel_format = SG_PIXELFORMAT_R8; sfons->img = sg_make_image(&img_desc); return 1; } static int _sfons_render_resize(void* user_ptr, int width, int height) { return _sfons_render_create(user_ptr, width, height); } static void _sfons_render_update(void* user_ptr, int* rect, const unsigned char* data) { SOKOL_ASSERT(user_ptr && rect && data); _SOKOL_UNUSED(rect); _SOKOL_UNUSED(data); _sfons_t* sfons = (_sfons_t*) user_ptr; sfons->img_dirty = true; } static void _sfons_render_draw(void* user_ptr, const float* verts, const float* tcoords, const unsigned int* colors, int nverts) { SOKOL_ASSERT(user_ptr && verts && tcoords && colors && (nverts > 0)); _sfons_t* sfons = (_sfons_t*) user_ptr; sgl_enable_texture(); sgl_texture(sfons->img, sfons->smp); sgl_push_pipeline(); sgl_load_pipeline(sfons->pip); sgl_begin_triangles(); for (int i = 0; i < nverts; i++) { sgl_v2f_t2f_c1i(verts[2*i+0], verts[2*i+1], tcoords[2*i+0], tcoords[2*i+1], colors[i]); } sgl_end(); sgl_pop_pipeline(); sgl_disable_texture(); } static void _sfons_render_delete(void* user_ptr) { SOKOL_ASSERT(user_ptr); _sfons_t* sfons = (_sfons_t*) user_ptr; if (sfons->img.id != SG_INVALID_ID) { sg_destroy_image(sfons->img); sfons->img.id = SG_INVALID_ID; } if (sfons->smp.id != SG_INVALID_ID) { sg_destroy_sampler(sfons->smp); sfons->smp.id = SG_INVALID_ID; } if (sfons->pip.id != SG_INVALID_ID) { sgl_destroy_pipeline(sfons->pip); sfons->pip.id = SG_INVALID_ID; } if (sfons->shd.id != SG_INVALID_ID) { sg_destroy_shader(sfons->shd); sfons->shd.id = SG_INVALID_ID; } } #define _sfons_def(val, def) (((val) == 0) ? (def) : (val)) static sfons_desc_t _sfons_desc_defaults(const sfons_desc_t* desc) { SOKOL_ASSERT(desc); sfons_desc_t res = *desc; res.width = _sfons_def(res.width, 512); res.height = _sfons_def(res.height, 512); return res; } SOKOL_API_IMPL FONScontext* sfons_create(const sfons_desc_t* desc) { SOKOL_ASSERT(desc); SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); _sfons_t* sfons = (_sfons_t*) _sfons_malloc_clear(&desc->allocator, sizeof(_sfons_t)); sfons->desc = _sfons_desc_defaults(desc); FONSparams params; _sfons_clear(&params, sizeof(params)); params.width = sfons->desc.width; params.height = sfons->desc.height; params.flags = FONS_ZERO_TOPLEFT; params.renderCreate = _sfons_render_create; params.renderResize = _sfons_render_resize; params.renderUpdate = _sfons_render_update; params.renderDraw = _sfons_render_draw; params.renderDelete = _sfons_render_delete; params.userPtr = sfons; return fonsCreateInternal(&params); } SOKOL_API_IMPL void sfons_destroy(FONScontext* ctx) { SOKOL_ASSERT(ctx); _sfons_t* sfons = (_sfons_t*) ctx->params.userPtr; fonsDeleteInternal(ctx); const sfons_allocator_t allocator = sfons->desc.allocator; _sfons_free(&allocator, sfons); } SOKOL_API_IMPL void sfons_flush(FONScontext* ctx) { SOKOL_ASSERT(ctx && ctx->params.userPtr); _sfons_t* sfons = (_sfons_t*) ctx->params.userPtr; if (sfons->img_dirty) { sfons->img_dirty = false; sg_image_data data; _sfons_clear(&data, sizeof(data)); data.subimage[0][0].ptr = ctx->texData; data.subimage[0][0].size = (size_t) (sfons->cur_width * sfons->cur_height); sg_update_image(sfons->img, &data); } } SOKOL_API_IMPL uint32_t sfons_rgba(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return ((uint32_t)r) | ((uint32_t)g<<8) | ((uint32_t)b<<16) | ((uint32_t)a<<24); } #endif // SOKOL_FONTSTASH_IMPL
0
repos/sokol
repos/sokol/util/sokol_debugtext.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_DEBUGTEXT_IMPL) #define SOKOL_DEBUGTEXT_IMPL #endif #ifndef SOKOL_DEBUGTEXT_INCLUDED /* sokol_debugtext.h - simple ASCII debug text rendering on top of sokol_gfx.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_DEBUGTEXT_IMPL before you include this file in *one* C or C++ file to create the implementation. The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL SOKOL_WGPU ...optionally provide the following macros to override defaults: SOKOL_VSNPRINTF - the function name of an alternative vsnprintf() function (default: vsnprintf) SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_DEBUGTEXT_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_DEBUGTEXT_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) SOKOL_UNREACHABLE() - a guard macro for unreachable code (default: assert(false)) If sokol_debugtext.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_DEBUGTEXT_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. Include the following headers before including sokol_debugtext.h: sokol_gfx.h FEATURES AND CONCEPTS ===================== - renders 8-bit ASCII text as fixed-size 8x8 pixel characters - comes with 6 embedded 8-bit home computer fonts (each taking up 2 KBytes) - easily plug in your own fonts - create multiple contexts for rendering text in different layers or render passes STEP BY STEP ============ --- to initialize sokol-debugtext, call sdtx_setup() *after* initializing sokol-gfx: sdtx_setup(&(sdtx_desc_t){ ... }); To see any warnings and errors, you should always install a logging callback. The easiest way is via sokol_log.h: #include "sokol_log.h" sdtx_setup(&(sdtx_desc_t){ .logger.func = slog_func, }); --- configure sokol-debugtext by populating the sdtx_desc_t struct: .context_pool_size (default: 8) The max number of text contexts that can be created. .printf_buf_size (default: 4096) The size of the internal text formatting buffer used by sdtx_printf() and sdtx_vprintf(). .fonts (default: none) An array of sdtx_font_desc_t structs used to configure the fonts that can be used for rendering. To use all builtin fonts call sdtx_setup() like this (in C99): sdtx_setup(&(sdtx_desc_t){ .fonts = { [0] = sdtx_font_kc853(), [1] = sdtx_font_kc854(), [2] = sdtx_font_z1013(), [3] = sdtx_font_cpc(), [4] = sdtx_font_c64(), [5] = sdtx_font_oric() } }); For documentation on how to use you own font data, search below for "USING YOUR OWN FONT DATA". .context The setup parameters for the default text context. This will be active right after sdtx_setup(), or when calling sdtx_set_context(SDTX_DEFAULT_CONTEXT): .max_commands (default: 4096) The max number of render commands that can be recorded into the internal command buffer. This directly translates to the number of render layer changes in a single frame. .char_buf_size (default: 4096) The number of characters that can be rendered per frame in this context, defines the size of an internal fixed-size vertex buffer. Any additional characters will be silently ignored. .canvas_width (default: 640) .canvas_height (default: 480) The 'virtual canvas size' in pixels. This defines how big characters will be rendered relative to the default framebuffer dimensions. Each character occupies a grid of 8x8 'virtual canvas pixels' (so a virtual canvas size of 640x480 means that 80x60 characters fit on the screen). For rendering in a resizeable window, you should dynamically update the canvas size in each frame by calling sdtx_canvas(w, h). .tab_width (default: 4) The width of a tab character in number of character cells. .color_format (default: 0) .depth_format (default: 0) .sample_count (default: 0) The pixel format description for the default context needed for creating the context's sg_pipeline object. When rendering to the default framebuffer you can leave those zero-initialized, in this case the proper values will be filled in by sokol-gfx. You only need to provide non-default values here when rendering to render targets with different pixel format attributes than the default framebuffer. --- Before starting to render text, optionally call sdtx_canvas() to dynamically resize the virtual canvas. This is recommended when rendering to a resizeable window. The virtual canvas size can also be used to scale text in relation to the display resolution. Examples when using sokol-app: - to render characters at 8x8 'physical pixels': sdtx_canvas(sapp_width(), sapp_height()); - to render characters at 16x16 physical pixels: sdtx_canvas(sapp_width()/2.0f, sapp_height()/2.0f); Do *not* use integer math here, since this will not look nice when the render target size isn't divisible by 2. --- Optionally define the origin for the character grid with: sdtx_origin(x, y); The provided coordinates are in character grid cells, not in virtual canvas pixels. E.g. to set the origin to 2 character tiles from the left and top border: sdtx_origin(2, 2); You can define fractions, e.g. to start rendering half a character tile from the top-left corner: sdtx_origin(0.5f, 0.5f); --- Optionally set a different font by calling: sdtx_font(font_index) sokol-debugtext provides 8 font slots which can be populated with the builtin fonts or with user-provided font data, so 'font_index' must be a number from 0 to 7. --- Position the text cursor with one of the following calls. All arguments are in character grid cells as floats and relative to the origin defined with sdtx_origin(): sdtx_pos(x, y) - sets absolute cursor position sdtx_pos_x(x) - only set absolute x cursor position sdtx_pos_y(y) - only set absolute y cursor position sdtx_move(x, y) - move cursor relative in x and y direction sdtx_move_x(x) - move cursor relative only in x direction sdtx_move_y(y) - move cursor relative only in y direction sdtx_crlf() - set cursor to beginning of next line (same as sdtx_pos_x(0) + sdtx_move_y(1)) sdtx_home() - resets the cursor to the origin (same as sdtx_pos(0, 0)) --- Set a new text color with any of the following functions: sdtx_color3b(r, g, b) - RGB 0..255, A=255 sdtx_color3f(r, g, b) - RGB 0.0f..1.0f, A=1.0f sdtx_color4b(r, g, b, a) - RGBA 0..255 sdtx_color4f(r, g, b, a) - RGBA 0.0f..1.0f sdtx_color1i(uint32_t rgba) - ABGR (0xAABBGGRR) --- Output 8-bit ASCII text with the following functions: sdtx_putc(c) - output a single character sdtx_puts(str) - output a null-terminated C string, note that this will *not* append a newline (so it behaves differently than the CRT's puts() function) sdtx_putr(str, len) - 'put range' output the first 'len' characters of a C string or until the zero character is encountered sdtx_printf(fmt, ...) - output with printf-formatting, note that you can inject your own printf-compatible function by overriding the SOKOL_VSNPRINTF define before including the implementation sdtx_vprintf(fmt, args) - same as sdtx_printf() but with the arguments provided in a va_list - Note that the text will not yet be rendered, only recorded for rendering at a later time, the actual rendering happens when sdtx_draw() is called inside a sokol-gfx render pass. - This means also you can output text anywhere in the frame, it doesn't have to be inside a render pass. - Note that character codes <32 are reserved as control characters and won't render anything. Currently only the following control characters are implemented: \r - carriage return (same as sdtx_pos_x(0)) \n - carriage return + line feed (same as stdx_crlf()) \t - a tab character --- You can 'record' text into render layers, this allows to mix/interleave sokol-debugtext rendering with other rendering operations inside sokol-gfx render passes. To start recording text into a different render layer, call: sdtx_layer(int layer_id) ...outside a sokol-gfx render pass. --- finally, from within a sokol-gfx render pass, call: sdtx_draw() ...for non-layered rendering, or to draw a specific layer: sdtx_draw_layer(int layer_id) NOTE that sdtx_draw() is equivalent to: sdtx_draw_layer(0) ...so sdtx_draw() will *NOT* render all text layers, instead it will only render the 'default layer' 0. --- at the end of a frame (defined by the call to sg_commit()), sokol-debugtext will rewind all contexts: - the internal vertex index is set to 0 - the internal command index is set to 0 - the current layer id is set to 0 - the current font is set to 0 - the cursor position is reset RENDERING WITH MULTIPLE CONTEXTS ================================ Use multiple text contexts if you need to render debug text in different sokol-gfx render passes, or want to render text to different layers in the same render pass, each with its own set of parameters. To create a new text context call: sdtx_context ctx = sdtx_make_context(&(sdtx_context_desc_t){ ... }); The creation parameters in the sdtx_context_desc_t struct are the same as already described above in the sdtx_setup() function: .char_buf_size -- max number of characters rendered in one frame, default: 4096 .canvas_width -- the initial virtual canvas width, default: 640 .canvas_height -- the initial virtual canvas height, default: 400 .tab_width -- tab width in number of characters, default: 4 .color_format -- color pixel format of target render pass .depth_format -- depth pixel format of target render pass .sample_count -- MSAA sample count of target render pass To make a new context the active context, call: sdtx_set_context(ctx) ...and after that call the text output functions as described above, and finally, inside a sokol-gfx render pass, call sdtx_draw() to actually render the text for this context. A context keeps track of the following parameters: - the active font - the virtual canvas size - the origin position - the current cursor position - the current tab width - the current color - and the current layer-id You can get the currently active context with: sdtx_get_context() To make the default context current, call sdtx_set_context() with the special SDTX_DEFAULT_CONTEXT handle: sdtx_set_context(SDTX_DEFAULT_CONTEXT) Alternatively, use the function sdtx_default_context() to get the default context handle: sdtx_set_context(sdtx_default_context()); To destroy a context, call: sdtx_destroy_context(ctx) If a context is set as active that no longer exists, all sokol-debugtext functions that require an active context will silently fail. You can directly draw the recorded text in a specific context without setting the active context: sdtx_context_draw(ctx) sdtx_context_draw_layer(ctx, layer_id) USING YOUR OWN FONT DATA ======================== Instead of the built-in fonts you can also plug your own font data into sokol-debugtext by providing one or several sdtx_font_desc_t structures in the sdtx_setup call. For instance to use a built-in font at slot 0, and a user-font at font slot 1, the sdtx_setup() call might look like this: sdtx_setup(&sdtx_desc_t){ .fonts = { [0] = sdtx_font_kc853(), [1] = { .data = { .ptr = my_font_data, .size = sizeof(my_font_data) }, .first_char = ..., .last_char = ... } } }); Where 'my_font_data' is a byte array where every character is described by 8 bytes arranged like this: bits 7 6 5 4 3 2 1 0 . . . X X . . . byte 0: 0x18 . . X X X X . . byte 1: 0x3C . X X . . X X . byte 2: 0x66 . X X . . X X . byte 3: 0x66 . X X X X X X . byte 4: 0x7E . X X . . X X . byte 5: 0x66 . X X . . X X . byte 6: 0x66 . . . . . . . . byte 7: 0x00 A complete font consists of 256 characters, resulting in 2048 bytes for the font data array (but note that the character codes 0..31 will never be rendered). If you provide such a complete font data array, you can drop the .first_char and .last_char initialization parameters since those default to 0 and 255, note that you can also use the SDTX_RANGE() helper macro to build the .data item: sdtx_setup(&sdtx_desc_t){ .fonts = { [0] = sdtx_font_kc853(), [1] = { .data = SDTX_RANGE(my_font_data) } } }); If the font doesn't define all 256 character tiles, or you don't need an entire 256-character font and want to save a couple of bytes, use the .first_char and .last_char initialization parameters to define a sub-range. For instance if the font only contains the characters between the Space (ASCII code 32) and uppercase character 'Z' (ASCII code 90): sdtx_setup(&sdtx_desc_t){ .fonts = { [0] = sdtx_font_kc853(), [1] = { .data = SDTX_RANGE(my_font_data), .first_char = 32, // could also write ' ' .last_char = 90 // could also write 'Z' } } }); Character tiles that haven't been defined in the font will be rendered as a solid 8x8 quad. MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... sdtx_setup(&(sdtx_desc_t){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... If no overrides are provided, malloc and free will be used. ERROR REPORTING AND LOGGING =========================== To get any logging information at all you need to provide a logging callback in the setup call, the easiest way is to use sokol_log.h: #include "sokol_log.h" sdtx_setup(&(sdtx_desc_t){ // ... .logger.func = slog_func }); To override logging with your own callback, first write a logging function like this: void my_log(const char* tag, // e.g. 'sdtx' uint32_t log_level, // 0=panic, 1=error, 2=warn, 3=info uint32_t log_item_id, // SDTX_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_debugtext.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data) { ... } ...and then setup sokol-debugtext like this: sdtx_setup(&(sdtx_desc_t){ .logger = { .func = my_log, .user_data = my_user_data, } }); The provided logging function must be reentrant (e.g. be callable from different threads). If you don't want to provide your own custom logger it is highly recommended to use the standard logger in sokol_log.h instead, otherwise you won't see any warnings or errors. LICENSE ======= zlib/libpng license Copyright (c) 2020 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_DEBUGTEXT_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> // size_t #include <stdarg.h> // va_list #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_debugtext.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_DEBUGTEXT_API_DECL) #define SOKOL_DEBUGTEXT_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_DEBUGTEXT_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_DEBUGTEXT_IMPL) #define SOKOL_DEBUGTEXT_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_DEBUGTEXT_API_DECL __declspec(dllimport) #else #define SOKOL_DEBUGTEXT_API_DECL extern #endif #endif #if defined(__GNUC__) #define SOKOL_DEBUGTEXT_PRINTF_ATTR __attribute__((format(printf, 1, 2))) #else #define SOKOL_DEBUGTEXT_PRINTF_ATTR #endif #ifdef __cplusplus extern "C" { #endif /* sdtx_log_item_t Log items are defined via X-Macros, and expanded to an enum 'sdtx_log_item' - and in debug mode only - corresponding strings. Used as parameter in the logging callback. */ #define _SDTX_LOG_ITEMS \ _SDTX_LOGITEM_XMACRO(OK, "Ok") \ _SDTX_LOGITEM_XMACRO(MALLOC_FAILED, "memory allocation failed") \ _SDTX_LOGITEM_XMACRO(ADD_COMMIT_LISTENER_FAILED, "sg_add_commit_listener() failed") \ _SDTX_LOGITEM_XMACRO(COMMAND_BUFFER_FULL, "command buffer full (adjust via sdtx_context_desc_t.max_commands)") \ _SDTX_LOGITEM_XMACRO(CONTEXT_POOL_EXHAUSTED, "context pool exhausted (adjust via sdtx_desc_t.context_pool_size)") \ _SDTX_LOGITEM_XMACRO(CANNOT_DESTROY_DEFAULT_CONTEXT, "cannot destroy default context") \ #define _SDTX_LOGITEM_XMACRO(item,msg) SDTX_LOGITEM_##item, typedef enum sdtx_log_item_t { _SDTX_LOG_ITEMS } sdtx_log_item_t; #undef _SDTX_LOGITEM_XMACRO /* sdtx_logger_t Used in sdtx_desc_t to provide a custom logging and error reporting callback to sokol-debugtext. */ typedef struct sdtx_logger_t { void (*func)( const char* tag, // always "sdtx" uint32_t log_level, // 0=panic, 1=error, 2=warning, 3=info uint32_t log_item_id, // SDTX_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_debugtext.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data); void* user_data; } sdtx_logger_t; /* a rendering context handle */ typedef struct sdtx_context { uint32_t id; } sdtx_context; /* the default context handle */ static const sdtx_context SDTX_DEFAULT_CONTEXT = { 0x00010001 }; /* sdtx_range is a pointer-size-pair struct used to pass memory blobs into sokol-debugtext. When initialized from a value type (array or struct), use the SDTX_RANGE() macro to build an sdtx_range struct. */ typedef struct sdtx_range { const void* ptr; size_t size; } sdtx_range; // disabling this for every includer isn't great, but the warning is also quite pointless #if defined(_MSC_VER) #pragma warning(disable:4221) /* /W4 only: nonstandard extension used: 'x': cannot be initialized using address of automatic variable 'y' */ #pragma warning(disable:4204) /* VS2015: nonstandard extension used: non-constant aggregate initializer */ #endif #if defined(__cplusplus) #define SDTX_RANGE(x) sdtx_range{ &x, sizeof(x) } #else #define SDTX_RANGE(x) (sdtx_range){ &x, sizeof(x) } #endif /* sdtx_font_desc_t Describes the pixel data of a font. A font consists of up to 256 8x8 character tiles, where each character tile is described by 8 consecutive bytes, each byte describing 8 pixels. For instance the character 'A' could look like this (this is also how most home computers used to describe their fonts in ROM): bits 7 6 5 4 3 2 1 0 . . . X X . . . byte 0: 0x18 . . X X X X . . byte 1: 0x3C . X X . . X X . byte 2: 0x66 . X X . . X X . byte 3: 0x66 . X X X X X X . byte 4: 0x7E . X X . . X X . byte 5: 0x66 . X X . . X X . byte 6: 0x66 . . . . . . . . byte 7: 0x00 */ #define SDTX_MAX_FONTS (8) typedef struct sdtx_font_desc_t { sdtx_range data; // pointer to and size of font pixel data uint8_t first_char; // first character index in font pixel data uint8_t last_char; // last character index in font pixel data, inclusive (default: 255) } sdtx_font_desc_t; /* sdtx_context_desc_t Describes the initialization parameters of a rendering context. Creating additional rendering contexts is useful if you want to render in different sokol-gfx rendering passes, or when rendering several layers of text. */ typedef struct sdtx_context_desc_t { int max_commands; // max number of draw commands, each layer transition counts as a command, default: 4096 int char_buf_size; // max number of characters rendered in one frame, default: 4096 float canvas_width; // the initial virtual canvas width, default: 640 float canvas_height; // the initial virtual canvas height, default: 400 int tab_width; // tab width in number of characters, default: 4 sg_pixel_format color_format; // color pixel format of target render pass sg_pixel_format depth_format; // depth pixel format of target render pass int sample_count; // MSAA sample count of target render pass } sdtx_context_desc_t; /* sdtx_allocator_t Used in sdtx_desc_t to provide custom memory-alloc and -free functions to sokol_debugtext.h. If memory management should be overridden, both the alloc_fn and free_fn function must be provided (e.g. it's not valid to override one function but not the other). */ typedef struct sdtx_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } sdtx_allocator_t; /* sdtx_desc_t Describes the sokol-debugtext API initialization parameters. Passed to the sdtx_setup() function. NOTE: to populate the fonts item array with builtin fonts, use any of the following functions: sdtx_font_kc853() sdtx_font_kc854() sdtx_font_z1013() sdtx_font_cpc() sdtx_font_c64() sdtx_font_oric() */ typedef struct sdtx_desc_t { int context_pool_size; // max number of rendering contexts that can be created, default: 8 int printf_buf_size; // size of internal buffer for snprintf(), default: 4096 sdtx_font_desc_t fonts[SDTX_MAX_FONTS]; // up to 8 fonts descriptions sdtx_context_desc_t context; // the default context creation parameters sdtx_allocator_t allocator; // optional memory allocation overrides (default: malloc/free) sdtx_logger_t logger; // optional log override function (default: NO LOGGING) } sdtx_desc_t; /* initialization/shutdown */ SOKOL_DEBUGTEXT_API_DECL void sdtx_setup(const sdtx_desc_t* desc); SOKOL_DEBUGTEXT_API_DECL void sdtx_shutdown(void); /* builtin font data (use to populate sdtx_desc.font[]) */ SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_kc853(void); SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_kc854(void); SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_z1013(void); SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_cpc(void); SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_c64(void); SOKOL_DEBUGTEXT_API_DECL sdtx_font_desc_t sdtx_font_oric(void); /* context functions */ SOKOL_DEBUGTEXT_API_DECL sdtx_context sdtx_make_context(const sdtx_context_desc_t* desc); SOKOL_DEBUGTEXT_API_DECL void sdtx_destroy_context(sdtx_context ctx); SOKOL_DEBUGTEXT_API_DECL void sdtx_set_context(sdtx_context ctx); SOKOL_DEBUGTEXT_API_DECL sdtx_context sdtx_get_context(void); SOKOL_DEBUGTEXT_API_DECL sdtx_context sdtx_default_context(void); /* drawing functions (call inside sokol-gfx render pass) */ SOKOL_DEBUGTEXT_API_DECL void sdtx_draw(void); SOKOL_DEBUGTEXT_API_DECL void sdtx_context_draw(sdtx_context ctx); SOKOL_DEBUGTEXT_API_DECL void sdtx_draw_layer(int layer_id); SOKOL_DEBUGTEXT_API_DECL void sdtx_context_draw_layer(sdtx_context ctx, int layer_id); /* switch render layer */ SOKOL_DEBUGTEXT_API_DECL void sdtx_layer(int layer_id); /* switch to a different font */ SOKOL_DEBUGTEXT_API_DECL void sdtx_font(int font_index); /* set a new virtual canvas size in screen pixels */ SOKOL_DEBUGTEXT_API_DECL void sdtx_canvas(float w, float h); /* set a new origin in character grid coordinates */ SOKOL_DEBUGTEXT_API_DECL void sdtx_origin(float x, float y); /* cursor movement functions (relative to origin in character grid coordinates) */ SOKOL_DEBUGTEXT_API_DECL void sdtx_home(void); SOKOL_DEBUGTEXT_API_DECL void sdtx_pos(float x, float y); SOKOL_DEBUGTEXT_API_DECL void sdtx_pos_x(float x); SOKOL_DEBUGTEXT_API_DECL void sdtx_pos_y(float y); SOKOL_DEBUGTEXT_API_DECL void sdtx_move(float dx, float dy); SOKOL_DEBUGTEXT_API_DECL void sdtx_move_x(float dx); SOKOL_DEBUGTEXT_API_DECL void sdtx_move_y(float dy); SOKOL_DEBUGTEXT_API_DECL void sdtx_crlf(void); /* set the current text color */ SOKOL_DEBUGTEXT_API_DECL void sdtx_color3b(uint8_t r, uint8_t g, uint8_t b); // RGB 0..255, A=255 SOKOL_DEBUGTEXT_API_DECL void sdtx_color3f(float r, float g, float b); // RGB 0.0f..1.0f, A=1.0f SOKOL_DEBUGTEXT_API_DECL void sdtx_color4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); // RGBA 0..255 SOKOL_DEBUGTEXT_API_DECL void sdtx_color4f(float r, float g, float b, float a); // RGBA 0.0f..1.0f SOKOL_DEBUGTEXT_API_DECL void sdtx_color1i(uint32_t rgba); // ABGR 0xAABBGGRR /* text rendering */ SOKOL_DEBUGTEXT_API_DECL void sdtx_putc(char c); SOKOL_DEBUGTEXT_API_DECL void sdtx_puts(const char* str); // does NOT append newline! SOKOL_DEBUGTEXT_API_DECL void sdtx_putr(const char* str, int len); // 'put range', also stops at zero-char SOKOL_DEBUGTEXT_API_DECL int sdtx_printf(const char* fmt, ...) SOKOL_DEBUGTEXT_PRINTF_ATTR; SOKOL_DEBUGTEXT_API_DECL int sdtx_vprintf(const char* fmt, va_list args); #ifdef __cplusplus } /* extern "C" */ /* C++ const-ref wrappers */ inline void sdtx_setup(const sdtx_desc_t& desc) { return sdtx_setup(&desc); } inline sdtx_context sdtx_make_context(const sdtx_context_desc_t& desc) { return sdtx_make_context(&desc); } #endif #endif /* SOKOL_DEBUGTEXT_INCLUDED */ // ██ ███ ███ ██████ ██ ███████ ███ ███ ███████ ███ ██ ████████ █████ ████████ ██ ██████ ███ ██ // ██ ████ ████ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ // ██ ██ ████ ██ ██████ ██ █████ ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ███████ ███████ ██ ██ ███████ ██ ████ ██ ██ ██ ██ ██ ██████ ██ ████ // // >>implementation #ifdef SOKOL_DEBUGTEXT_IMPL #define SOKOL_DEBUGTEXT_IMPL_INCLUDED (1) #if defined(SOKOL_MALLOC) || defined(SOKOL_CALLOC) || defined(SOKOL_FREE) #error "SOKOL_MALLOC/CALLOC/FREE macros are no longer supported, please use sdtx_desc_t.allocator to override memory allocation functions" #endif #include <string.h> // memset #include <math.h> // fmodf #include <stdarg.h> // for vsnprintf #include <stdlib.h> // malloc/free #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef SOKOL_UNREACHABLE #define SOKOL_UNREACHABLE SOKOL_ASSERT(false) #endif #ifndef _SOKOL_UNUSED #define _SOKOL_UNUSED(x) (void)(x) #endif #ifndef SOKOL_VSNPRINTF #include <stdio.h> #define SOKOL_VSNPRINTF vsnprintf #endif #define _sdtx_def(val, def) (((val) == 0) ? (def) : (val)) #define _SDTX_INIT_COOKIE (0xACBAABCA) #define _SDTX_DEFAULT_MAX_COMMANDS (4096) #define _SDTX_DEFAULT_CONTEXT_POOL_SIZE (8) #define _SDTX_DEFAULT_CHAR_BUF_SIZE (4096) #define _SDTX_DEFAULT_PRINTF_BUF_SIZE (4096) #define _SDTX_DEFAULT_CANVAS_WIDTH (640) #define _SDTX_DEFAULT_CANVAS_HEIGHT (480) #define _SDTX_DEFAULT_TAB_WIDTH (4) #define _SDTX_DEFAULT_COLOR (0xFF00FFFF) #define _SDTX_INVALID_SLOT_INDEX (0) #define _SDTX_SLOT_SHIFT (16) #define _SDTX_MAX_POOL_SIZE (1<<_SDTX_SLOT_SHIFT) #define _SDTX_SLOT_MASK (_SDTX_MAX_POOL_SIZE-1) /* embedded font data */ static const uint8_t _sdtx_font_kc853[2048] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFF, // 00 0x00, 0x00, 0x22, 0x72, 0x22, 0x3E, 0x00, 0x00, // 01 0x00, 0x00, 0x12, 0x32, 0x7E, 0x32, 0x12, 0x00, // 02 0x7E, 0x81, 0xB9, 0xA5, 0xB9, 0xA5, 0xB9, 0x81, // 03 0x55, 0xFF, 0x55, 0xFF, 0x55, 0xFF, 0x55, 0xFF, // 04 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, // 05 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, // 06 0x00, 0x00, 0x3C, 0x42, 0x42, 0x7E, 0x00, 0x00, // 07 0x00, 0x10, 0x30, 0x7E, 0x30, 0x10, 0x00, 0x00, // 08 0x00, 0x08, 0x0C, 0x7E, 0x0C, 0x08, 0x00, 0x00, // 09 0x00, 0x10, 0x10, 0x10, 0x7C, 0x38, 0x10, 0x00, // 0A 0x08, 0x1C, 0x3E, 0x08, 0x08, 0x08, 0x08, 0x00, // 0B 0x38, 0x30, 0x28, 0x08, 0x08, 0x08, 0x3E, 0x00, // 0C 0x00, 0x00, 0x12, 0x32, 0x7E, 0x30, 0x10, 0x00, // 0D 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, // 0E 0x3E, 0x7C, 0x7C, 0x3E, 0x3E, 0x7C, 0xF8, 0xF8, // 0F 0x38, 0x30, 0x28, 0x04, 0x04, 0x04, 0x04, 0x00, // 10 0x7F, 0x08, 0x1C, 0x2A, 0x08, 0x08, 0x08, 0x00, // 11 0x00, 0x08, 0x08, 0x08, 0x2A, 0x1C, 0x08, 0x7F, // 12 0x7E, 0x81, 0x9D, 0xA1, 0xB9, 0x85, 0x85, 0xB9, // 13 0x00, 0x3C, 0x42, 0x5A, 0x5A, 0x42, 0x3C, 0x00, // 14 0x88, 0x44, 0x22, 0x11, 0x88, 0x44, 0x22, 0x11, // 15 0x00, 0x7F, 0x22, 0x72, 0x27, 0x22, 0x7F, 0x00, // 16 0x11, 0x22, 0x44, 0x88, 0x11, 0x22, 0x44, 0x88, // 17 0x00, 0x01, 0x09, 0x0D, 0x7F, 0x0D, 0x09, 0x01, // 18 0x00, 0x90, 0xB0, 0xFE, 0xB0, 0x90, 0x00, 0x00, // 19 0x00, 0x08, 0x7C, 0x06, 0x7C, 0x08, 0x00, 0x00, // 1A 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, // 1B 0x7E, 0x81, 0xA1, 0xA1, 0xA1, 0xA1, 0xBD, 0x81, // 1C 0x7E, 0x81, 0xB9, 0xA5, 0xB9, 0xA5, 0xA5, 0x81, // 1D 0x7E, 0x81, 0x99, 0xA1, 0xA1, 0xA1, 0x99, 0x81, // 1E 0x00, 0x10, 0x3E, 0x60, 0x3E, 0x10, 0x00, 0x00, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x00, // 21 0x00, 0x66, 0x66, 0xCC, 0x00, 0x00, 0x00, 0x00, // 22 0x00, 0x36, 0x7F, 0x36, 0x36, 0x7F, 0x36, 0x00, // 23 0x18, 0x3E, 0x6C, 0x3E, 0x1B, 0x1B, 0x7E, 0x18, // 24 0x00, 0x63, 0x66, 0x0C, 0x18, 0x36, 0x66, 0x00, // 25 0x18, 0x24, 0x28, 0x11, 0x2A, 0x44, 0x4A, 0x31, // 26 0x00, 0x18, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, // 27 0x00, 0x18, 0x30, 0x30, 0x30, 0x30, 0x18, 0x00, // 28 0x00, 0x18, 0x0C, 0x0C, 0x0C, 0x0C, 0x18, 0x00, // 29 0x00, 0x00, 0x24, 0x18, 0x7E, 0x18, 0x24, 0x00, // 2A 0x00, 0x00, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x30, 0x00, // 2C 0x00, 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, // 2E 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x00, 0x00, // 2F 0x00, 0x3C, 0x6E, 0x6E, 0x76, 0x76, 0x3C, 0x00, // 30 0x00, 0x1C, 0x3C, 0x0C, 0x0C, 0x0C, 0x3E, 0x00, // 31 0x00, 0x3C, 0x66, 0x06, 0x3C, 0x60, 0x7E, 0x00, // 32 0x00, 0x3C, 0x66, 0x0C, 0x06, 0x66, 0x3C, 0x00, // 33 0x00, 0x3C, 0x6C, 0xCC, 0xFE, 0x0C, 0x0C, 0x00, // 34 0x00, 0x7E, 0x60, 0x7C, 0x06, 0x66, 0x3C, 0x00, // 35 0x00, 0x3C, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00, // 36 0x00, 0x7E, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x00, // 37 0x00, 0x3C, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00, // 38 0x00, 0x3C, 0x66, 0x66, 0x3E, 0x06, 0x3C, 0x00, // 39 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00, // 3A 0x00, 0x00, 0x18, 0x00, 0x18, 0x18, 0x30, 0x00, // 3B 0x00, 0x00, 0x18, 0x30, 0x60, 0x30, 0x18, 0x00, // 3C 0x00, 0x00, 0x00, 0x3E, 0x00, 0x3E, 0x00, 0x00, // 3D 0x00, 0x00, 0x30, 0x18, 0x0C, 0x18, 0x30, 0x00, // 3E 0x00, 0x3C, 0x66, 0x06, 0x1C, 0x18, 0x00, 0x18, // 3F 0x3C, 0x42, 0x81, 0x35, 0x49, 0x49, 0x49, 0x36, // 40 0x00, 0x3C, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x00, // 41 0x00, 0x7C, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00, // 42 0x00, 0x3C, 0x66, 0x60, 0x60, 0x66, 0x3C, 0x00, // 43 0x00, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x7C, 0x00, // 44 0x00, 0x7E, 0x60, 0x7C, 0x60, 0x60, 0x7E, 0x00, // 45 0x00, 0x7E, 0x60, 0x7C, 0x60, 0x60, 0x60, 0x00, // 46 0x00, 0x3C, 0x66, 0x60, 0x6E, 0x66, 0x3C, 0x00, // 47 0x00, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00, // 48 0x00, 0x3C, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // 49 0x00, 0x1E, 0x0C, 0x0C, 0x0C, 0x6C, 0x38, 0x00, // 4A 0x00, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x63, 0x00, // 4B 0x00, 0x60, 0x60, 0x60, 0x60, 0x60, 0x7E, 0x00, // 4C 0x00, 0x63, 0x77, 0x6B, 0x63, 0x63, 0x63, 0x00, // 4D 0x00, 0x63, 0x73, 0x6B, 0x67, 0x63, 0x63, 0x00, // 4E 0x00, 0x3C, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 4F 0x00, 0x7C, 0x66, 0x7C, 0x60, 0x60, 0x60, 0x00, // 50 0x00, 0x3C, 0x66, 0x66, 0x6E, 0x66, 0x3A, 0x01, // 51 0x00, 0x7C, 0x66, 0x7C, 0x6C, 0x66, 0x63, 0x00, // 52 0x00, 0x3C, 0x60, 0x3C, 0x06, 0x66, 0x3C, 0x00, // 53 0x00, 0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // 54 0x00, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 55 0x00, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // 56 0x00, 0x63, 0x63, 0x6B, 0x6B, 0x7F, 0x36, 0x00, // 57 0x00, 0x66, 0x3C, 0x18, 0x18, 0x3C, 0x66, 0x00, // 58 0x00, 0x66, 0x3C, 0x18, 0x18, 0x18, 0x18, 0x00, // 59 0x00, 0x7E, 0x0C, 0x18, 0x30, 0x60, 0x7E, 0x00, // 5A 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 5B 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // 5C 0x00, 0x7E, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, // 5D 0x00, 0x00, 0x00, 0x08, 0x1C, 0x36, 0x00, 0x00, // 5E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // 5F 0x7E, 0x81, 0x99, 0xA1, 0xA1, 0x99, 0x81, 0x7E, // 60 0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3B, 0x00, // 61 0x00, 0x60, 0x60, 0x78, 0x6C, 0x6C, 0x78, 0x00, // 62 0x00, 0x00, 0x3C, 0x66, 0x60, 0x66, 0x3C, 0x00, // 63 0x00, 0x06, 0x06, 0x1E, 0x36, 0x36, 0x1E, 0x00, // 64 0x00, 0x00, 0x38, 0x6C, 0x7C, 0x60, 0x38, 0x00, // 65 0x00, 0x1E, 0x18, 0x7E, 0x18, 0x18, 0x18, 0x00, // 66 0x00, 0x00, 0x3C, 0x66, 0x66, 0x3F, 0x06, 0x3C, // 67 0x00, 0x60, 0x60, 0x6C, 0x76, 0x66, 0x66, 0x00, // 68 0x00, 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x00, // 69 0x00, 0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x30, // 6A 0x00, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0x00, // 6B 0x00, 0x30, 0x30, 0x30, 0x30, 0x30, 0x18, 0x00, // 6C 0x00, 0x00, 0x36, 0x7F, 0x6B, 0x63, 0x63, 0x00, // 6D 0x00, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00, // 6E 0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // 6F 0x00, 0x00, 0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, // 70 0x00, 0x00, 0x3C, 0x66, 0x66, 0x3E, 0x06, 0x06, // 71 0x00, 0x00, 0x36, 0x38, 0x30, 0x30, 0x30, 0x00, // 72 0x00, 0x00, 0x1C, 0x30, 0x1C, 0x06, 0x3C, 0x00, // 73 0x00, 0x18, 0x18, 0x3C, 0x18, 0x18, 0x0C, 0x00, // 74 0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 75 0x00, 0x00, 0x66, 0x66, 0x3C, 0x3C, 0x18, 0x00, // 76 0x00, 0x00, 0x63, 0x63, 0x6B, 0x7F, 0x36, 0x00, // 77 0x00, 0x00, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x00, // 78 0x00, 0x00, 0x66, 0x3C, 0x18, 0x30, 0x60, 0x00, // 79 0x00, 0x00, 0x7E, 0x0C, 0x18, 0x30, 0x7E, 0x00, // 7A 0x66, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3B, 0x00, // 7B 0x66, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // 7C 0x66, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 7D 0x00, 0x38, 0x6C, 0x78, 0x6C, 0x78, 0x60, 0x60, // 7E 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, // 7F 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, // 80 0xFF, 0xFF, 0xDD, 0x8D, 0xDD, 0xC1, 0xFF, 0xFF, // 81 0xFF, 0xFF, 0xED, 0xCD, 0x81, 0xCD, 0xED, 0xFF, // 82 0x81, 0x7E, 0x46, 0x5A, 0x46, 0x5A, 0x46, 0x7E, // 83 0xAA, 0x00, 0xAA, 0x00, 0xAA, 0x00, 0xAA, 0x00, // 84 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, // 85 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, // 86 0xFF, 0xFF, 0xC3, 0xBD, 0xBD, 0x81, 0xFF, 0xFF, // 87 0xFF, 0xEF, 0xCF, 0x81, 0xCF, 0xEF, 0xFF, 0xFF, // 88 0xFF, 0xF7, 0xF3, 0x81, 0xF3, 0xF7, 0xFF, 0xFF, // 89 0xFF, 0xEF, 0xEF, 0xEF, 0x83, 0xC7, 0xEF, 0xFF, // 8A 0xF7, 0xE3, 0xC1, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, // 8B 0xC7, 0xCF, 0xD7, 0xF7, 0xF7, 0xF7, 0xC1, 0xFF, // 8C 0xFF, 0xFF, 0xED, 0xCD, 0x81, 0xCF, 0xEF, 0xFF, // 8D 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, // 8E 0xC1, 0x83, 0x83, 0xC1, 0xC1, 0x83, 0x07, 0x07, // 8F 0xC7, 0xCF, 0xD7, 0xFB, 0xFB, 0xFB, 0xFB, 0xFF, // 90 0x80, 0xF7, 0xE3, 0xD5, 0xF7, 0xF7, 0xF7, 0xFF, // 91 0xFF, 0xF7, 0xF7, 0xF7, 0xD5, 0xE3, 0xF7, 0x80, // 92 0x81, 0x7E, 0x62, 0x5E, 0x46, 0x7A, 0x7A, 0x46, // 93 0xFF, 0xC3, 0xBD, 0xA5, 0xA5, 0xBD, 0xC3, 0xFF, // 94 0x77, 0xBB, 0xDD, 0xEE, 0x77, 0xBB, 0xDD, 0xEE, // 95 0xFF, 0x80, 0xDD, 0x8D, 0xD8, 0xDD, 0x80, 0xFF, // 96 0xEE, 0xDD, 0xBB, 0x77, 0xEE, 0xDD, 0xBB, 0x77, // 97 0xFF, 0xFE, 0xF6, 0xF2, 0x80, 0xF2, 0xF6, 0xFE, // 98 0xFF, 0x6F, 0x4F, 0x01, 0x4F, 0x6F, 0xFF, 0xFF, // 99 0xFF, 0xF7, 0x83, 0xF9, 0x83, 0xF7, 0xFF, 0xFF, // 9A 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, // 9B 0x81, 0x7E, 0x5E, 0x5E, 0x5E, 0x5E, 0x42, 0x7E, // 9C 0x81, 0x7E, 0x46, 0x5A, 0x46, 0x5A, 0x5A, 0x7E, // 9D 0x81, 0x7E, 0x66, 0x5E, 0x5E, 0x5E, 0x66, 0x7E, // 9E 0xFF, 0xEF, 0xC1, 0x9F, 0xC1, 0xEF, 0xFF, 0xFF, // 9F 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A0 0xFF, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, 0xE7, 0xFF, // A1 0xFF, 0x99, 0x99, 0x33, 0xFF, 0xFF, 0xFF, 0xFF, // A2 0xFF, 0xC9, 0x80, 0xC9, 0xC9, 0x80, 0xC9, 0xFF, // A3 0xE7, 0xC1, 0x93, 0xC1, 0xE4, 0xE4, 0x81, 0xE7, // A4 0xFF, 0x9C, 0x99, 0xF3, 0xE7, 0xC9, 0x99, 0xFF, // A5 0xE7, 0xDB, 0xD7, 0xEE, 0xD5, 0xBB, 0xB5, 0xCE, // A6 0xFF, 0xE7, 0xE7, 0xCF, 0xFF, 0xFF, 0xFF, 0xFF, // A7 0xFF, 0xE7, 0xCF, 0xCF, 0xCF, 0xCF, 0xE7, 0xFF, // A8 0xFF, 0xE7, 0xF3, 0xF3, 0xF3, 0xF3, 0xE7, 0xFF, // A9 0xFF, 0xFF, 0xDB, 0xE7, 0x81, 0xE7, 0xDB, 0xFF, // AA 0xFF, 0xFF, 0xE7, 0xE7, 0x81, 0xE7, 0xE7, 0xFF, // AB 0xFF, 0xFF, 0xFF, 0xFF, 0xE7, 0xE7, 0xCF, 0xFF, // AC 0xFF, 0xFF, 0xFF, 0xFF, 0xC1, 0xFF, 0xFF, 0xFF, // AD 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE7, 0xE7, 0xFF, // AE 0xF9, 0xF3, 0xE7, 0xCF, 0x9F, 0x3F, 0xFF, 0xFF, // AF 0xFF, 0xC3, 0x91, 0x91, 0x89, 0x89, 0xC3, 0xFF, // B0 0xFF, 0xE3, 0xC3, 0xF3, 0xF3, 0xF3, 0xC1, 0xFF, // B1 0xFF, 0xC3, 0x99, 0xF9, 0xC3, 0x9F, 0x81, 0xFF, // B2 0xFF, 0xC3, 0x99, 0xF3, 0xF9, 0x99, 0xC3, 0xFF, // B3 0xFF, 0xC3, 0x93, 0x33, 0x01, 0xF3, 0xF3, 0xFF, // B4 0xFF, 0x81, 0x9F, 0x83, 0xF9, 0x99, 0xC3, 0xFF, // B5 0xFF, 0xC3, 0x9F, 0x83, 0x99, 0x99, 0xC3, 0xFF, // B6 0xFF, 0x81, 0xF9, 0xF3, 0xE7, 0xCF, 0x9F, 0xFF, // B7 0xFF, 0xC3, 0x99, 0xC3, 0x99, 0x99, 0xC3, 0xFF, // B8 0xFF, 0xC3, 0x99, 0x99, 0xC1, 0xF9, 0xC3, 0xFF, // B9 0xFF, 0xFF, 0xE7, 0xE7, 0xFF, 0xE7, 0xE7, 0xFF, // BA 0xFF, 0xFF, 0xE7, 0xFF, 0xE7, 0xE7, 0xCF, 0xFF, // BB 0xFF, 0xFF, 0xE7, 0xCF, 0x9F, 0xCF, 0xE7, 0xFF, // BC 0xFF, 0xFF, 0xFF, 0xC1, 0xFF, 0xC1, 0xFF, 0xFF, // BD 0xFF, 0xFF, 0xCF, 0xE7, 0xF3, 0xE7, 0xCF, 0xFF, // BE 0xFF, 0xC3, 0x99, 0xF9, 0xE3, 0xE7, 0xFF, 0xE7, // BF 0xC3, 0xBD, 0x7E, 0xCA, 0xB6, 0xB6, 0xB6, 0xC9, // C0 0xFF, 0xC3, 0x99, 0x99, 0x81, 0x99, 0x99, 0xFF, // C1 0xFF, 0x83, 0x99, 0x83, 0x99, 0x99, 0x83, 0xFF, // C2 0xFF, 0xC3, 0x99, 0x9F, 0x9F, 0x99, 0xC3, 0xFF, // C3 0xFF, 0x83, 0x99, 0x99, 0x99, 0x99, 0x83, 0xFF, // C4 0xFF, 0x81, 0x9F, 0x83, 0x9F, 0x9F, 0x81, 0xFF, // C5 0xFF, 0x81, 0x9F, 0x83, 0x9F, 0x9F, 0x9F, 0xFF, // C6 0xFF, 0xC3, 0x99, 0x9F, 0x91, 0x99, 0xC3, 0xFF, // C7 0xFF, 0x99, 0x99, 0x81, 0x99, 0x99, 0x99, 0xFF, // C8 0xFF, 0xC3, 0xE7, 0xE7, 0xE7, 0xE7, 0xC3, 0xFF, // C9 0xFF, 0xE1, 0xF3, 0xF3, 0xF3, 0x93, 0xC7, 0xFF, // CA 0xFF, 0x99, 0x93, 0x87, 0x93, 0x99, 0x9C, 0xFF, // CB 0xFF, 0x9F, 0x9F, 0x9F, 0x9F, 0x9F, 0x81, 0xFF, // CC 0xFF, 0x9C, 0x88, 0x94, 0x9C, 0x9C, 0x9C, 0xFF, // CD 0xFF, 0x9C, 0x8C, 0x94, 0x98, 0x9C, 0x9C, 0xFF, // CE 0xFF, 0xC3, 0x99, 0x99, 0x99, 0x99, 0xC3, 0xFF, // CF 0xFF, 0x83, 0x99, 0x83, 0x9F, 0x9F, 0x9F, 0xFF, // D0 0xFF, 0xC3, 0x99, 0x99, 0x91, 0x99, 0xC5, 0xFE, // D1 0xFF, 0x83, 0x99, 0x83, 0x93, 0x99, 0x9C, 0xFF, // D2 0xFF, 0xC3, 0x9F, 0xC3, 0xF9, 0x99, 0xC3, 0xFF, // D3 0xFF, 0x81, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, // D4 0xFF, 0x99, 0x99, 0x99, 0x99, 0x99, 0xC3, 0xFF, // D5 0xFF, 0x99, 0x99, 0x99, 0x99, 0xC3, 0xE7, 0xFF, // D6 0xFF, 0x9C, 0x9C, 0x94, 0x94, 0x80, 0xC9, 0xFF, // D7 0xFF, 0x99, 0xC3, 0xE7, 0xE7, 0xC3, 0x99, 0xFF, // D8 0xFF, 0x99, 0xC3, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, // D9 0xFF, 0x81, 0xF3, 0xE7, 0xCF, 0x9F, 0x81, 0xFF, // DA 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // DB 0xFF, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, // DC 0xFF, 0x81, 0xF9, 0xF9, 0xFF, 0xFF, 0xFF, 0xFF, // DD 0xFF, 0xFF, 0xFF, 0xF7, 0xE3, 0xC9, 0xFF, 0xFF, // DE 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, // DF 0x81, 0x7E, 0x66, 0x5E, 0x5E, 0x66, 0x7E, 0x81, // E0 0xFF, 0xFF, 0xC3, 0x99, 0x99, 0x99, 0xC4, 0xFF, // E1 0xFF, 0x9F, 0x9F, 0x87, 0x93, 0x93, 0x87, 0xFF, // E2 0xFF, 0xFF, 0xC3, 0x99, 0x9F, 0x99, 0xC3, 0xFF, // E3 0xFF, 0xF9, 0xF9, 0xE1, 0xC9, 0xC9, 0xE1, 0xFF, // E4 0xFF, 0xFF, 0xC7, 0x93, 0x83, 0x9F, 0xC7, 0xFF, // E5 0xFF, 0xE1, 0xE7, 0x81, 0xE7, 0xE7, 0xE7, 0xFF, // E6 0xFF, 0xFF, 0xC3, 0x99, 0x99, 0xC0, 0xF9, 0xC3, // E7 0xFF, 0x9F, 0x9F, 0x93, 0x89, 0x99, 0x99, 0xFF, // E8 0xFF, 0xE7, 0xFF, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, // E9 0xFF, 0xE7, 0xFF, 0xC7, 0xE7, 0xE7, 0xE7, 0xCF, // EA 0xFF, 0x9F, 0x99, 0x93, 0x87, 0x93, 0x99, 0xFF, // EB 0xFF, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0xE7, 0xFF, // EC 0xFF, 0xFF, 0xC9, 0x80, 0x94, 0x9C, 0x9C, 0xFF, // ED 0xFF, 0xFF, 0x83, 0x99, 0x99, 0x99, 0x99, 0xFF, // EE 0xFF, 0xFF, 0xC3, 0x99, 0x99, 0x99, 0xC3, 0xFF, // EF 0xFF, 0xFF, 0x83, 0x99, 0x99, 0x83, 0x9F, 0x9F, // F0 0xFF, 0xFF, 0xC3, 0x99, 0x99, 0xC1, 0xF9, 0xF9, // F1 0xFF, 0xFF, 0xC9, 0xC7, 0xCF, 0xCF, 0xCF, 0xFF, // F2 0xFF, 0xFF, 0xE3, 0xCF, 0xE3, 0xF9, 0xC3, 0xFF, // F3 0xFF, 0xE7, 0xE7, 0xC3, 0xE7, 0xE7, 0xF3, 0xFF, // F4 0xFF, 0xFF, 0x99, 0x99, 0x99, 0x99, 0xC3, 0xFF, // F5 0xFF, 0xFF, 0x99, 0x99, 0xC3, 0xC3, 0xE7, 0xFF, // F6 0xFF, 0xFF, 0x9C, 0x9C, 0x94, 0x80, 0xC9, 0xFF, // F7 0xFF, 0xFF, 0x99, 0xC3, 0xE7, 0xC3, 0x99, 0xFF, // F8 0xFF, 0xFF, 0x99, 0xC3, 0xE7, 0xCF, 0x9F, 0xFF, // F9 0xFF, 0xFF, 0x81, 0xF3, 0xE7, 0xCF, 0x81, 0xFF, // FA 0x99, 0xFF, 0xC3, 0x99, 0x99, 0x99, 0xC4, 0xFF, // FB 0x99, 0xFF, 0xC3, 0x99, 0x99, 0x99, 0xC3, 0xFF, // FC 0x99, 0xFF, 0x99, 0x99, 0x99, 0x99, 0xC3, 0xFF, // FD 0xFF, 0xC7, 0x93, 0x87, 0x93, 0x87, 0x9F, 0x9F, // FE 0x00, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x00, // FF }; static const uint8_t _sdtx_font_kc854[2048] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, 0xFF, // 00 0x00, 0x00, 0x22, 0x72, 0x22, 0x3E, 0x00, 0x00, // 01 0x00, 0x00, 0x12, 0x32, 0x7E, 0x32, 0x12, 0x00, // 02 0x7E, 0x81, 0xB9, 0xA5, 0xB9, 0xA5, 0xB9, 0x81, // 03 0x55, 0xFF, 0x55, 0xFF, 0x55, 0xFF, 0x55, 0xFF, // 04 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, // 05 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, // 06 0x00, 0x00, 0x3C, 0x42, 0x42, 0x7E, 0x00, 0x00, // 07 0x00, 0x10, 0x30, 0x7E, 0x30, 0x10, 0x00, 0x00, // 08 0x00, 0x08, 0x0C, 0x7E, 0x0C, 0x08, 0x00, 0x00, // 09 0x00, 0x10, 0x10, 0x10, 0x7C, 0x38, 0x10, 0x00, // 0A 0x08, 0x1C, 0x3E, 0x08, 0x08, 0x08, 0x08, 0x00, // 0B 0x38, 0x30, 0x28, 0x08, 0x08, 0x08, 0x3E, 0x00, // 0C 0x00, 0x00, 0x12, 0x32, 0x7E, 0x30, 0x10, 0x00, // 0D 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, // 0E 0x3E, 0x7C, 0x7C, 0x3E, 0x3E, 0x7C, 0xF8, 0xF8, // 0F 0x38, 0x30, 0x28, 0x04, 0x04, 0x04, 0x04, 0x00, // 10 0x7F, 0x08, 0x1C, 0x2A, 0x08, 0x08, 0x08, 0x00, // 11 0x00, 0x08, 0x08, 0x08, 0x2A, 0x1C, 0x08, 0x7F, // 12 0x7E, 0x81, 0x9D, 0xA1, 0xB9, 0x85, 0x85, 0xB9, // 13 0x00, 0x3C, 0x42, 0x5A, 0x5A, 0x42, 0x3C, 0x00, // 14 0x88, 0x44, 0x22, 0x11, 0x88, 0x44, 0x22, 0x11, // 15 0x00, 0x7F, 0x22, 0x72, 0x27, 0x22, 0x7F, 0x00, // 16 0x11, 0x22, 0x44, 0x88, 0x11, 0x22, 0x44, 0x88, // 17 0x00, 0x01, 0x09, 0x0D, 0x7F, 0x0D, 0x09, 0x01, // 18 0x00, 0x90, 0xB0, 0xFE, 0xB0, 0x90, 0x00, 0x00, // 19 0x00, 0x08, 0x7C, 0x06, 0x7C, 0x08, 0x00, 0x00, // 1A 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, // 1B 0x7E, 0x81, 0xA1, 0xA1, 0xA1, 0xA1, 0xBD, 0x81, // 1C 0x7E, 0x81, 0xB9, 0xA5, 0xB9, 0xA5, 0xA5, 0x81, // 1D 0x7E, 0x81, 0x99, 0xA1, 0xA1, 0xA1, 0x99, 0x81, // 1E 0x00, 0x10, 0x3E, 0x60, 0x3E, 0x10, 0x00, 0x00, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x30, 0x00, // 21 0x77, 0x33, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, // 22 0x36, 0x36, 0xFE, 0x6C, 0xFE, 0xD8, 0xD8, 0x00, // 23 0x18, 0x3E, 0x6C, 0x3E, 0x1B, 0x1B, 0x7E, 0x18, // 24 0x00, 0xC6, 0xCC, 0x18, 0x30, 0x66, 0xC6, 0x00, // 25 0x38, 0x6C, 0x38, 0x76, 0xDC, 0xCC, 0x76, 0x00, // 26 0x1C, 0x0C, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, // 27 0x18, 0x30, 0x60, 0x60, 0x60, 0x30, 0x18, 0x00, // 28 0x60, 0x30, 0x18, 0x18, 0x18, 0x30, 0x60, 0x00, // 29 0x00, 0x66, 0x3C, 0xFF, 0x3C, 0x66, 0x00, 0x00, // 2A 0x00, 0x30, 0x30, 0xFC, 0x30, 0x30, 0x00, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x00, 0x1C, 0x0C, 0x18, // 2C 0x00, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00, // 2E 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x80, 0x00, // 2F 0x7C, 0xC6, 0xCE, 0xDE, 0xF6, 0xE6, 0x7C, 0x00, // 30 0x30, 0x70, 0x30, 0x30, 0x30, 0x30, 0xFC, 0x00, // 31 0x78, 0xCC, 0x0C, 0x38, 0x60, 0xCC, 0xFC, 0x00, // 32 0xFC, 0x18, 0x30, 0x78, 0x0C, 0xCC, 0x78, 0x00, // 33 0x1C, 0x3C, 0x6C, 0xCC, 0xFE, 0x0C, 0x1E, 0x00, // 34 0xFC, 0xC0, 0xF8, 0x0C, 0x0C, 0xCC, 0x78, 0x00, // 35 0x38, 0x60, 0xC0, 0xF8, 0xCC, 0xCC, 0x78, 0x00, // 36 0xFC, 0xCC, 0x0C, 0x18, 0x30, 0x30, 0x30, 0x00, // 37 0x78, 0xCC, 0xCC, 0x78, 0xCC, 0xCC, 0x78, 0x00, // 38 0x78, 0xCC, 0xCC, 0x7C, 0x0C, 0x18, 0x70, 0x00, // 39 0x00, 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00, // 3A 0x00, 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x60, // 3B 0x18, 0x30, 0x60, 0xC0, 0x60, 0x30, 0x18, 0x00, // 3C 0x00, 0x00, 0xFC, 0x00, 0xFC, 0x00, 0x00, 0x00, // 3D 0x60, 0x30, 0x18, 0x0C, 0x18, 0x30, 0x60, 0x00, // 3E 0x78, 0xCC, 0x0C, 0x18, 0x30, 0x00, 0x30, 0x00, // 3F 0x7C, 0xC6, 0xDE, 0xDE, 0xDE, 0xC0, 0x78, 0x00, // 40 0x30, 0x78, 0xCC, 0xCC, 0xFC, 0xCC, 0xCC, 0x00, // 41 0xFC, 0x66, 0x66, 0x7C, 0x66, 0x66, 0xFC, 0x00, // 42 0x3C, 0x66, 0xC0, 0xC0, 0xC0, 0x66, 0x3C, 0x00, // 43 0xF8, 0x6C, 0x66, 0x66, 0x66, 0x6C, 0xF8, 0x00, // 44 0xFE, 0x62, 0x68, 0x78, 0x68, 0x62, 0xFE, 0x00, // 45 0xFE, 0x62, 0x68, 0x78, 0x68, 0x60, 0xF0, 0x00, // 46 0x3C, 0x66, 0xC0, 0xC0, 0xCE, 0x66, 0x3C, 0x00, // 47 0xCC, 0xCC, 0xCC, 0xFC, 0xCC, 0xCC, 0xCC, 0x00, // 48 0x78, 0x30, 0x30, 0x30, 0x30, 0x30, 0x78, 0x00, // 49 0x1E, 0x0C, 0x0C, 0x0C, 0xCC, 0xCC, 0x78, 0x00, // 4A 0xE6, 0x66, 0x6C, 0x70, 0x6C, 0x66, 0xE6, 0x00, // 4B 0xF0, 0x60, 0x60, 0x60, 0x62, 0x66, 0xFE, 0x00, // 4C 0xC6, 0xEE, 0xFE, 0xD6, 0xC6, 0xC6, 0xC6, 0x00, // 4D 0xC6, 0xE6, 0xF6, 0xDE, 0xCE, 0xC6, 0xC6, 0x00, // 4E 0x38, 0x6C, 0xC6, 0xC6, 0xC6, 0x6C, 0x38, 0x00, // 4F 0xFC, 0x66, 0x66, 0x7C, 0x60, 0x60, 0xF0, 0x00, // 50 0x78, 0xCC, 0xCC, 0xCC, 0xDC, 0x78, 0x1C, 0x00, // 51 0xFC, 0x66, 0x66, 0x7C, 0x6C, 0x66, 0xE6, 0x00, // 52 0x7C, 0xC6, 0xF0, 0x3C, 0x0E, 0xC6, 0x7C, 0x00, // 53 0xFC, 0xB4, 0x30, 0x30, 0x30, 0x30, 0x78, 0x00, // 54 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0xCC, 0x78, 0x00, // 55 0xCC, 0xCC, 0xCC, 0x78, 0x78, 0x30, 0x30, 0x00, // 56 0xC6, 0xC6, 0xC6, 0xD6, 0xFE, 0xEE, 0xC6, 0x00, // 57 0xC6, 0xC6, 0x6C, 0x38, 0x6C, 0xC6, 0xC6, 0x00, // 58 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0x30, 0x78, 0x00, // 59 0xFE, 0xC6, 0x8C, 0x18, 0x32, 0x66, 0xFE, 0x00, // 5A 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 5B 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // 5C 0x00, 0xFE, 0x06, 0x06, 0x00, 0x00, 0x00, 0x00, // 5D 0x10, 0x38, 0x6C, 0xC6, 0x00, 0x00, 0x00, 0x00, // 5E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // 5F 0x3C, 0x42, 0x99, 0xA1, 0xA1, 0x99, 0x42, 0x3C, // 60 0x00, 0x00, 0x78, 0x0C, 0x7C, 0xCC, 0x76, 0x00, // 61 0xE0, 0x60, 0x7C, 0x66, 0x66, 0x66, 0xDC, 0x00, // 62 0x00, 0x00, 0x78, 0xCC, 0xC0, 0xCC, 0x78, 0x00, // 63 0x1C, 0x0C, 0x7C, 0xCC, 0xCC, 0xCC, 0x76, 0x00, // 64 0x00, 0x00, 0x78, 0xCC, 0xFC, 0xC0, 0x78, 0x00, // 65 0x38, 0x6C, 0x60, 0xF0, 0x60, 0x60, 0xF0, 0x00, // 66 0x00, 0x00, 0x76, 0xCC, 0xCC, 0x7C, 0x0C, 0xF8, // 67 0xE0, 0x60, 0x6C, 0x76, 0x66, 0x66, 0xE6, 0x00, // 68 0x30, 0x00, 0x70, 0x30, 0x30, 0x30, 0xFC, 0x00, // 69 0x0C, 0x00, 0x1C, 0x0C, 0x0C, 0xCC, 0xCC, 0x78, // 6A 0xE0, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0xE6, 0x00, // 6B 0x70, 0x30, 0x30, 0x30, 0x30, 0x30, 0xFC, 0x00, // 6C 0x00, 0x00, 0xCC, 0xFE, 0xFE, 0xD6, 0xC6, 0x00, // 6D 0x00, 0x00, 0xF8, 0xCC, 0xCC, 0xCC, 0xCC, 0x00, // 6E 0x00, 0x00, 0x78, 0xCC, 0xCC, 0xCC, 0x78, 0x00, // 6F 0x00, 0x00, 0xDC, 0x66, 0x66, 0x7C, 0x60, 0xF0, // 70 0x00, 0x00, 0x76, 0xCC, 0xCC, 0x7C, 0x0C, 0x1E, // 71 0x00, 0x00, 0xDC, 0x76, 0x66, 0x60, 0xF0, 0x00, // 72 0x00, 0x00, 0x7C, 0xC0, 0x78, 0x0C, 0xF8, 0x00, // 73 0x10, 0x30, 0x7C, 0x30, 0x30, 0x34, 0x18, 0x00, // 74 0x00, 0x00, 0xCC, 0xCC, 0xCC, 0xCC, 0x76, 0x00, // 75 0x00, 0x00, 0xCC, 0xCC, 0xCC, 0x78, 0x30, 0x00, // 76 0x00, 0x00, 0xC6, 0xD6, 0xFE, 0xFE, 0x6C, 0x00, // 77 0x00, 0x00, 0xC6, 0x6C, 0x38, 0x6C, 0xC6, 0x00, // 78 0x00, 0x00, 0xCC, 0xCC, 0xCC, 0x7C, 0x0C, 0xF8, // 79 0x00, 0x00, 0xFC, 0x98, 0x30, 0x64, 0xFC, 0x00, // 7A 0x6C, 0x00, 0x78, 0x0C, 0x7C, 0xCC, 0x76, 0x00, // 7B 0xCC, 0x00, 0x78, 0xCC, 0xCC, 0xCC, 0x78, 0x00, // 7C 0xCC, 0x00, 0xCC, 0xCC, 0xCC, 0xCC, 0x76, 0x00, // 7D 0x3C, 0x66, 0x66, 0x6C, 0x66, 0x66, 0x6C, 0xF0, // 7E 0xFF, 0x81, 0x81, 0x81, 0x81, 0x81, 0x81, 0xFF, // 7F 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, // 80 0xFF, 0xFF, 0xDD, 0x8D, 0xDD, 0xC1, 0xFF, 0xFF, // 81 0xFF, 0xFF, 0xED, 0xCD, 0x81, 0xCD, 0xED, 0xFF, // 82 0x81, 0x7E, 0x46, 0x5A, 0x46, 0x5A, 0x46, 0x7E, // 83 0xAA, 0x00, 0xAA, 0x00, 0xAA, 0x00, 0xAA, 0x00, // 84 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, // 85 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, // 86 0xFF, 0xFF, 0xC3, 0xBD, 0xBD, 0x81, 0xFF, 0xFF, // 87 0xFF, 0xEF, 0xCF, 0x81, 0xCF, 0xEF, 0xFF, 0xFF, // 88 0xFF, 0xF7, 0xF3, 0x81, 0xF3, 0xF7, 0xFF, 0xFF, // 89 0xFF, 0xEF, 0xEF, 0xEF, 0x83, 0xC7, 0xEF, 0xFF, // 8A 0xF7, 0xE3, 0xC1, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, // 8B 0xC7, 0xCF, 0xD7, 0xF7, 0xF7, 0xF7, 0xC1, 0xFF, // 8C 0xFF, 0xFF, 0xED, 0xCD, 0x81, 0xCF, 0xEF, 0xFF, // 8D 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, // 8E 0xC1, 0x83, 0x83, 0xC1, 0xC1, 0x83, 0x07, 0x07, // 8F 0xC7, 0xCF, 0xD7, 0xFB, 0xFB, 0xFB, 0xFB, 0xFF, // 90 0x80, 0xF7, 0xE3, 0xD5, 0xF7, 0xF7, 0xF7, 0xFF, // 91 0xFF, 0xF7, 0xF7, 0xF7, 0xD5, 0xE3, 0xF7, 0x80, // 92 0x81, 0x7E, 0x62, 0x5E, 0x46, 0x7A, 0x7A, 0x46, // 93 0xFF, 0xC3, 0xBD, 0xA5, 0xA5, 0xBD, 0xC3, 0xFF, // 94 0x77, 0xBB, 0xDD, 0xEE, 0x77, 0xBB, 0xDD, 0xEE, // 95 0xFF, 0x80, 0xDD, 0x8D, 0xD8, 0xDD, 0x80, 0xFF, // 96 0xEE, 0xDD, 0xBB, 0x77, 0xEE, 0xDD, 0xBB, 0x77, // 97 0xFF, 0xFE, 0xF6, 0xF2, 0x80, 0xF2, 0xF6, 0xFE, // 98 0xFF, 0x6F, 0x4F, 0x01, 0x4F, 0x6F, 0xFF, 0xFF, // 99 0xFF, 0xF7, 0x83, 0xF9, 0x83, 0xF7, 0xFF, 0xFF, // 9A 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, // 9B 0x81, 0x7E, 0x5E, 0x5E, 0x5E, 0x5E, 0x42, 0x7E, // 9C 0x81, 0x7E, 0x46, 0x5A, 0x46, 0x5A, 0x5A, 0x7E, // 9D 0x81, 0x7E, 0x66, 0x5E, 0x5E, 0x5E, 0x66, 0x7E, // 9E 0xFF, 0xEF, 0xC1, 0x9F, 0xC1, 0xEF, 0xFF, 0xFF, // 9F 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A0 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0xFF, 0xCF, 0xFF, // A1 0x88, 0xCC, 0x99, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A2 0xC9, 0xC9, 0x01, 0x93, 0x01, 0x27, 0x27, 0xFF, // A3 0xE7, 0xC1, 0x93, 0xC1, 0xE4, 0xE4, 0x81, 0xE7, // A4 0xFF, 0x39, 0x33, 0xE7, 0xCF, 0x99, 0x39, 0xFF, // A5 0xC7, 0x93, 0xC7, 0x89, 0x23, 0x33, 0x89, 0xFF, // A6 0xE3, 0xF3, 0xE7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A7 0xE7, 0xCF, 0x9F, 0x9F, 0x9F, 0xCF, 0xE7, 0xFF, // A8 0x9F, 0xCF, 0xE7, 0xE7, 0xE7, 0xCF, 0x9F, 0xFF, // A9 0xFF, 0x99, 0xC3, 0x00, 0xC3, 0x99, 0xFF, 0xFF, // AA 0xFF, 0xCF, 0xCF, 0x03, 0xCF, 0xCF, 0xFF, 0xFF, // AB 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE3, 0xF3, 0xE7, // AC 0xFF, 0xFF, 0xFF, 0x01, 0xFF, 0xFF, 0xFF, 0xFF, // AD 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xCF, 0xCF, 0xFF, // AE 0xF9, 0xF3, 0xE7, 0xCF, 0x9F, 0x3F, 0x7F, 0xFF, // AF 0x83, 0x39, 0x31, 0x21, 0x09, 0x19, 0x83, 0xFF, // B0 0xCF, 0x8F, 0xCF, 0xCF, 0xCF, 0xCF, 0x03, 0xFF, // B1 0x87, 0x33, 0xF3, 0xC7, 0x9F, 0x33, 0x03, 0xFF, // B2 0x03, 0xE7, 0xCF, 0x87, 0xF3, 0x33, 0x87, 0xFF, // B3 0xE3, 0xC3, 0x93, 0x33, 0x01, 0xF3, 0xE1, 0xFF, // B4 0x03, 0x3F, 0x07, 0xF3, 0xF3, 0x33, 0x87, 0xFF, // B5 0xC7, 0x9F, 0x3F, 0x07, 0x33, 0x33, 0x87, 0xFF, // B6 0x03, 0x33, 0xF3, 0xE7, 0xCF, 0xCF, 0xCF, 0xFF, // B7 0x87, 0x33, 0x33, 0x87, 0x33, 0x33, 0x87, 0xFF, // B8 0x87, 0x33, 0x33, 0x83, 0xF3, 0xE7, 0x8F, 0xFF, // B9 0xFF, 0xFF, 0xCF, 0xCF, 0xFF, 0xCF, 0xCF, 0xFF, // BA 0xFF, 0xFF, 0xCF, 0xCF, 0xFF, 0xCF, 0xCF, 0x9F, // BB 0xE7, 0xCF, 0x9F, 0x3F, 0x9F, 0xCF, 0xE7, 0xFF, // BC 0xFF, 0xFF, 0x03, 0xFF, 0x03, 0xFF, 0xFF, 0xFF, // BD 0x9F, 0xCF, 0xE7, 0xF3, 0xE7, 0xCF, 0x9F, 0xFF, // BE 0x87, 0x33, 0xF3, 0xE7, 0xCF, 0xFF, 0xCF, 0xFF, // BF 0x83, 0x39, 0x21, 0x21, 0x21, 0x3F, 0x87, 0xFF, // C0 0xCF, 0x87, 0x33, 0x33, 0x03, 0x33, 0x33, 0xFF, // C1 0x03, 0x99, 0x99, 0x83, 0x99, 0x99, 0x03, 0xFF, // C2 0xC3, 0x99, 0x3F, 0x3F, 0x3F, 0x99, 0xC3, 0xFF, // C3 0x07, 0x93, 0x99, 0x99, 0x99, 0x93, 0x07, 0xFF, // C4 0x01, 0x9D, 0x97, 0x87, 0x97, 0x9D, 0x01, 0xFF, // C5 0x01, 0x9D, 0x97, 0x87, 0x97, 0x9F, 0x0F, 0xFF, // C6 0xC3, 0x99, 0x3F, 0x3F, 0x31, 0x99, 0xC3, 0xFF, // C7 0x33, 0x33, 0x33, 0x03, 0x33, 0x33, 0x33, 0xFF, // C8 0x87, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0x87, 0xFF, // C9 0xE1, 0xF3, 0xF3, 0xF3, 0x33, 0x33, 0x87, 0xFF, // CA 0x19, 0x99, 0x93, 0x8F, 0x93, 0x99, 0x19, 0xFF, // CB 0x0F, 0x9F, 0x9F, 0x9F, 0x9D, 0x99, 0x01, 0xFF, // CC 0x39, 0x11, 0x01, 0x29, 0x39, 0x39, 0x39, 0xFF, // CD 0x39, 0x19, 0x09, 0x21, 0x31, 0x39, 0x39, 0xFF, // CE 0xC7, 0x93, 0x39, 0x39, 0x39, 0x93, 0xC7, 0xFF, // CF 0x03, 0x99, 0x99, 0x83, 0x9F, 0x9F, 0x0F, 0xFF, // D0 0x87, 0x33, 0x33, 0x33, 0x23, 0x87, 0xE3, 0xFF, // D1 0x03, 0x99, 0x99, 0x83, 0x93, 0x99, 0x19, 0xFF, // D2 0x83, 0x39, 0x0F, 0xC3, 0xF1, 0x39, 0x83, 0xFF, // D3 0x03, 0x4B, 0xCF, 0xCF, 0xCF, 0xCF, 0x87, 0xFF, // D4 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x87, 0xFF, // D5 0x33, 0x33, 0x33, 0x87, 0x87, 0xCF, 0xCF, 0xFF, // D6 0x39, 0x39, 0x39, 0x29, 0x01, 0x11, 0x39, 0xFF, // D7 0x39, 0x39, 0x93, 0xC7, 0x93, 0x39, 0x39, 0xFF, // D8 0x33, 0x33, 0x33, 0x87, 0xCF, 0xCF, 0x87, 0xFF, // D9 0x01, 0x39, 0x73, 0xE7, 0xCD, 0x99, 0x01, 0xFF, // DA 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // DB 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xFF, // DC 0xFF, 0x01, 0xF9, 0xF9, 0xFF, 0xFF, 0xFF, 0xFF, // DD 0xEF, 0xC7, 0x93, 0x39, 0xFF, 0xFF, 0xFF, 0xFF, // DE 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, // DF 0xC3, 0xBD, 0x66, 0x5E, 0x5E, 0x66, 0xBD, 0xC3, // E0 0xFF, 0xFF, 0x87, 0xF3, 0x83, 0x33, 0x89, 0xFF, // E1 0x1F, 0x9F, 0x83, 0x99, 0x99, 0x99, 0x23, 0xFF, // E2 0xFF, 0xFF, 0x87, 0x33, 0x3F, 0x33, 0x87, 0xFF, // E3 0xE3, 0xF3, 0x83, 0x33, 0x33, 0x33, 0x89, 0xFF, // E4 0xFF, 0xFF, 0x87, 0x33, 0x03, 0x3F, 0x87, 0xFF, // E5 0xC7, 0x93, 0x9F, 0x0F, 0x9F, 0x9F, 0x0F, 0xFF, // E6 0xFF, 0xFF, 0x89, 0x33, 0x33, 0x83, 0xF3, 0x07, // E7 0x1F, 0x9F, 0x93, 0x89, 0x99, 0x99, 0x19, 0xFF, // E8 0xCF, 0xFF, 0x8F, 0xCF, 0xCF, 0xCF, 0x03, 0xFF, // E9 0xF3, 0xFF, 0xE3, 0xF3, 0xF3, 0x33, 0x33, 0x87, // EA 0x1F, 0x9F, 0x99, 0x93, 0x87, 0x93, 0x19, 0xFF, // EB 0x8F, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0x03, 0xFF, // EC 0xFF, 0xFF, 0x33, 0x01, 0x01, 0x29, 0x39, 0xFF, // ED 0xFF, 0xFF, 0x07, 0x33, 0x33, 0x33, 0x33, 0xFF, // EE 0xFF, 0xFF, 0x87, 0x33, 0x33, 0x33, 0x87, 0xFF, // EF 0xFF, 0xFF, 0x23, 0x99, 0x99, 0x83, 0x9F, 0x0F, // F0 0xFF, 0xFF, 0x89, 0x33, 0x33, 0x83, 0xF3, 0xE1, // F1 0xFF, 0xFF, 0x23, 0x89, 0x99, 0x9F, 0x0F, 0xFF, // F2 0xFF, 0xFF, 0x83, 0x3F, 0x87, 0xF3, 0x07, 0xFF, // F3 0xEF, 0xCF, 0x83, 0xCF, 0xCF, 0xCB, 0xE7, 0xFF, // F4 0xFF, 0xFF, 0x33, 0x33, 0x33, 0x33, 0x89, 0xFF, // F5 0xFF, 0xFF, 0x33, 0x33, 0x33, 0x87, 0xCF, 0xFF, // F6 0xFF, 0xFF, 0x39, 0x29, 0x01, 0x01, 0x93, 0xFF, // F7 0xFF, 0xFF, 0x39, 0x93, 0xC7, 0x93, 0x39, 0xFF, // F8 0xFF, 0xFF, 0x33, 0x33, 0x33, 0x83, 0xF3, 0x07, // F9 0xFF, 0xFF, 0x03, 0x67, 0xCF, 0x9B, 0x03, 0xFF, // FA 0x93, 0xFF, 0x87, 0xF3, 0x83, 0x33, 0x89, 0xFF, // FB 0x33, 0xFF, 0x87, 0x33, 0x33, 0x33, 0x87, 0xFF, // FC 0x33, 0xFF, 0x33, 0x33, 0x33, 0x33, 0x89, 0xFF, // FD 0xC3, 0x99, 0x99, 0x93, 0x99, 0x99, 0x93, 0x0F, // FE 0x00, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x00, // FF }; static const uint8_t _sdtx_font_z1013[2048] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 00 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 01 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 02 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 03 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 04 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 05 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 06 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 07 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 08 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 09 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0A 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0B 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0C 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 0D 0x00, 0x00, 0x18, 0x24, 0x24, 0x18, 0x24, 0x42, // 0E 0xDB, 0xA5, 0x81, 0xFF, 0x24, 0x24, 0x24, 0x42, // 0F 0x08, 0x34, 0x42, 0x81, 0x91, 0x69, 0x09, 0x31, // 10 0x42, 0x7E, 0x81, 0xFF, 0x00, 0x00, 0x00, 0x00, // 11 0x18, 0x24, 0x42, 0x99, 0xBD, 0x99, 0x42, 0x24, // 12 0x7E, 0x42, 0x99, 0xE7, 0x00, 0x00, 0x00, 0x00, // 13 0x18, 0xDB, 0xC3, 0x18, 0x99, 0xE7, 0x81, 0x42, // 14 0x18, 0x24, 0x18, 0xC3, 0xBD, 0x81, 0x81, 0x42, // 15 0x24, 0x7E, 0x81, 0xFF, 0x00, 0x00, 0x00, 0x00, // 16 0x00, 0x00, 0x18, 0x3C, 0x3C, 0x18, 0x3C, 0x7E, // 17 0xDB, 0xFF, 0xFF, 0xFF, 0x3C, 0x3C, 0x3C, 0x7E, // 18 0x08, 0x3C, 0x7E, 0xFF, 0xFF, 0x6F, 0x0F, 0x3F, // 19 0x7E, 0x7E, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // 1A 0x18, 0x3C, 0x7E, 0xE7, 0xC3, 0xE7, 0x7E, 0x3C, // 1B 0x7E, 0x7E, 0xFF, 0xE7, 0x00, 0x00, 0x00, 0x00, // 1C 0x18, 0xDB, 0xC3, 0x18, 0x99, 0xFF, 0xFF, 0x7E, // 1D 0x18, 0x3C, 0x18, 0xC3, 0xFF, 0xFF, 0xFF, 0x7E, // 1E 0x3C, 0x3C, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x10, 0x00, // 21 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, // 22 0x24, 0x7E, 0x24, 0x24, 0x24, 0x7E, 0x24, 0x00, // 23 0x10, 0x3C, 0x50, 0x38, 0x14, 0x78, 0x10, 0x00, // 24 0x60, 0x64, 0x08, 0x10, 0x20, 0x4C, 0x0C, 0x00, // 25 0x10, 0x28, 0x28, 0x30, 0x54, 0x48, 0x34, 0x00, // 26 0x10, 0x10, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, // 27 0x08, 0x10, 0x20, 0x20, 0x20, 0x10, 0x08, 0x00, // 28 0x20, 0x10, 0x08, 0x08, 0x08, 0x10, 0x20, 0x00, // 29 0x00, 0x10, 0x54, 0x38, 0x54, 0x10, 0x00, 0x00, // 2A 0x00, 0x10, 0x10, 0x7C, 0x10, 0x10, 0x00, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x20, 0x00, // 2C 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00, // 2E 0x00, 0x04, 0x08, 0x10, 0x20, 0x40, 0x00, 0x00, // 2F 0x38, 0x44, 0x44, 0x54, 0x44, 0x44, 0x38, 0x00, // 30 0x10, 0x30, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00, // 31 0x38, 0x44, 0x04, 0x08, 0x10, 0x20, 0x7C, 0x00, // 32 0x7C, 0x08, 0x10, 0x08, 0x04, 0x44, 0x38, 0x00, // 33 0x08, 0x18, 0x28, 0x48, 0x7C, 0x08, 0x08, 0x00, // 34 0x7C, 0x40, 0x78, 0x04, 0x04, 0x44, 0x38, 0x00, // 35 0x18, 0x20, 0x40, 0x78, 0x44, 0x44, 0x38, 0x00, // 36 0x7C, 0x04, 0x08, 0x10, 0x20, 0x20, 0x20, 0x00, // 37 0x38, 0x44, 0x44, 0x38, 0x44, 0x44, 0x38, 0x00, // 38 0x38, 0x44, 0x44, 0x3C, 0x04, 0x08, 0x30, 0x00, // 39 0x00, 0x30, 0x30, 0x00, 0x30, 0x30, 0x00, 0x00, // 3A 0x00, 0x00, 0x10, 0x00, 0x10, 0x10, 0x20, 0x00, // 3B 0x08, 0x10, 0x20, 0x40, 0x20, 0x10, 0x08, 0x00, // 3C 0x00, 0x00, 0x7C, 0x00, 0x7C, 0x00, 0x00, 0x00, // 3D 0x20, 0x10, 0x08, 0x04, 0x08, 0x10, 0x20, 0x00, // 3E 0x38, 0x44, 0x04, 0x08, 0x10, 0x00, 0x10, 0x00, // 3F 0x38, 0x44, 0x5C, 0x54, 0x5C, 0x40, 0x3C, 0x00, // 40 0x38, 0x44, 0x44, 0x7C, 0x44, 0x44, 0x44, 0x00, // 41 0x78, 0x24, 0x24, 0x38, 0x24, 0x24, 0x78, 0x00, // 42 0x38, 0x44, 0x40, 0x40, 0x40, 0x44, 0x38, 0x00, // 43 0x78, 0x24, 0x24, 0x24, 0x24, 0x24, 0x78, 0x00, // 44 0x7C, 0x40, 0x40, 0x78, 0x40, 0x40, 0x7C, 0x00, // 45 0x7C, 0x40, 0x40, 0x78, 0x40, 0x40, 0x40, 0x00, // 46 0x38, 0x44, 0x40, 0x40, 0x4C, 0x44, 0x3C, 0x00, // 47 0x44, 0x44, 0x44, 0x7C, 0x44, 0x44, 0x44, 0x00, // 48 0x38, 0x10, 0x10, 0x10, 0x10, 0x10, 0x38, 0x00, // 49 0x1C, 0x08, 0x08, 0x08, 0x08, 0x48, 0x30, 0x00, // 4A 0x44, 0x48, 0x50, 0x60, 0x50, 0x48, 0x44, 0x00, // 4B 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x7C, 0x00, // 4C 0x44, 0x6C, 0x54, 0x54, 0x44, 0x44, 0x44, 0x00, // 4D 0x44, 0x44, 0x64, 0x54, 0x4C, 0x44, 0x44, 0x00, // 4E 0x38, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00, // 4F 0x78, 0x44, 0x44, 0x78, 0x40, 0x40, 0x40, 0x00, // 50 0x38, 0x44, 0x44, 0x44, 0x54, 0x48, 0x34, 0x00, // 51 0x78, 0x44, 0x44, 0x78, 0x50, 0x48, 0x44, 0x00, // 52 0x3C, 0x40, 0x40, 0x38, 0x04, 0x04, 0x78, 0x00, // 53 0x7C, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, // 54 0x44, 0x44, 0x44, 0x44, 0x44, 0x44, 0x38, 0x00, // 55 0x44, 0x44, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00, // 56 0x44, 0x44, 0x44, 0x54, 0x54, 0x6C, 0x44, 0x00, // 57 0x44, 0x44, 0x28, 0x10, 0x28, 0x44, 0x44, 0x00, // 58 0x44, 0x44, 0x44, 0x28, 0x10, 0x10, 0x10, 0x00, // 59 0x7C, 0x04, 0x08, 0x10, 0x20, 0x40, 0x7C, 0x00, // 5A 0x38, 0x20, 0x20, 0x20, 0x20, 0x20, 0x38, 0x00, // 5B 0x00, 0x40, 0x20, 0x10, 0x08, 0x04, 0x00, 0x00, // 5C 0x38, 0x08, 0x08, 0x08, 0x08, 0x08, 0x38, 0x00, // 5D 0x10, 0x28, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, // 5E 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, // 5F 0x00, 0x20, 0x10, 0x08, 0x00, 0x00, 0x00, 0x00, // 60 0x00, 0x00, 0x34, 0x4C, 0x44, 0x44, 0x3A, 0x00, // 61 0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x78, 0x00, // 62 0x00, 0x00, 0x38, 0x44, 0x40, 0x44, 0x38, 0x00, // 63 0x04, 0x04, 0x34, 0x4C, 0x44, 0x44, 0x3A, 0x00, // 64 0x00, 0x00, 0x38, 0x44, 0x7C, 0x40, 0x38, 0x00, // 65 0x08, 0x10, 0x38, 0x10, 0x10, 0x10, 0x10, 0x00, // 66 0x00, 0x00, 0x34, 0x4C, 0x44, 0x3C, 0x04, 0x38, // 67 0x40, 0x40, 0x58, 0x64, 0x44, 0x44, 0x44, 0x00, // 68 0x10, 0x00, 0x10, 0x10, 0x10, 0x10, 0x08, 0x00, // 69 0x10, 0x00, 0x10, 0x10, 0x10, 0x10, 0x10, 0x20, // 6A 0x40, 0x40, 0x48, 0x50, 0x70, 0x48, 0x44, 0x00, // 6B 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x08, 0x00, // 6C 0x00, 0x00, 0x68, 0x54, 0x54, 0x54, 0x54, 0x00, // 6D 0x00, 0x00, 0x58, 0x64, 0x44, 0x44, 0x44, 0x00, // 6E 0x00, 0x00, 0x38, 0x44, 0x44, 0x44, 0x38, 0x00, // 6F 0x00, 0x00, 0x58, 0x64, 0x44, 0x78, 0x40, 0x40, // 70 0x00, 0x00, 0x34, 0x4C, 0x44, 0x3C, 0x04, 0x04, // 71 0x00, 0x00, 0x58, 0x64, 0x40, 0x40, 0x40, 0x00, // 72 0x00, 0x00, 0x38, 0x40, 0x38, 0x04, 0x78, 0x00, // 73 0x10, 0x10, 0x38, 0x10, 0x10, 0x10, 0x08, 0x00, // 74 0x00, 0x00, 0x44, 0x44, 0x44, 0x4C, 0x34, 0x00, // 75 0x00, 0x00, 0x44, 0x44, 0x44, 0x28, 0x10, 0x00, // 76 0x00, 0x00, 0x54, 0x54, 0x54, 0x54, 0x28, 0x00, // 77 0x00, 0x00, 0x44, 0x28, 0x10, 0x28, 0x44, 0x00, // 78 0x00, 0x00, 0x44, 0x44, 0x44, 0x3C, 0x04, 0x38, // 79 0x00, 0x00, 0x7C, 0x08, 0x10, 0x20, 0x7C, 0x00, // 7A 0x08, 0x10, 0x10, 0x20, 0x10, 0x10, 0x08, 0x00, // 7B 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, // 7C 0x20, 0x10, 0x10, 0x08, 0x10, 0x10, 0x20, 0x00, // 7D 0x00, 0x00, 0x00, 0x32, 0x4C, 0x00, 0x00, 0x00, // 7E 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 7F 0xC0, 0x20, 0x10, 0x10, 0x10, 0x10, 0x20, 0xC0, // 80 0x03, 0x04, 0x08, 0x08, 0x08, 0x08, 0x04, 0x03, // 81 0x81, 0x81, 0x42, 0x3C, 0x00, 0x00, 0x00, 0x00, // 82 0x00, 0x00, 0x00, 0x00, 0x3C, 0x42, 0x81, 0x81, // 83 0x10, 0x10, 0x20, 0xC0, 0x00, 0x00, 0x00, 0x00, // 84 0x08, 0x08, 0x04, 0x03, 0x00, 0x00, 0x00, 0x00, // 85 0x00, 0x00, 0x00, 0x00, 0x03, 0x04, 0x08, 0x08, // 86 0x00, 0x00, 0x00, 0x00, 0xC0, 0x20, 0x10, 0x10, // 87 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0xFF, // 88 0xFF, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, // 89 0x00, 0x10, 0x28, 0x44, 0x82, 0x44, 0x28, 0x10, // 8A 0xFF, 0xEF, 0xC7, 0x83, 0x01, 0x83, 0xC7, 0xEF, // 8B 0x3C, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x3C, // 8C 0xC3, 0x81, 0x00, 0x00, 0x00, 0x00, 0x81, 0xC3, // 8D 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0x80, // 8E 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE, 0xFF, // 8F 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, // 90 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01, // 91 0x00, 0x00, 0x00, 0x00, 0x03, 0x0C, 0x30, 0xC0, // 92 0x03, 0x0C, 0x30, 0xC0, 0x00, 0x00, 0x00, 0x00, // 93 0x03, 0x0C, 0x30, 0xC0, 0xC0, 0x30, 0x0C, 0x03, // 94 0x00, 0x00, 0x00, 0x00, 0xC0, 0x30, 0x0C, 0x03, // 95 0xC0, 0x30, 0x0C, 0x03, 0x00, 0x00, 0x00, 0x00, // 96 0xC0, 0x30, 0x0C, 0x03, 0x03, 0x0C, 0x30, 0xC0, // 97 0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80, // 98 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, // 99 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, // 9A 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, // 9B 0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01, // 9C 0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81, // 9D 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9E 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, // 9F 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // A0 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // A1 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x00, 0x00, 0x00, // A2 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x18, 0x18, 0x18, // A3 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x18, 0x18, 0x18, // A4 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x18, 0x18, 0x18, // A5 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x18, 0x18, 0x18, // A6 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x00, 0x00, 0x00, // A7 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x18, 0x18, 0x18, // A8 0x00, 0x00, 0x00, 0xF8, 0xF8, 0x18, 0x18, 0x18, // A9 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x00, 0x00, 0x00, // AA 0x80, 0x80, 0x80, 0x40, 0x40, 0x20, 0x18, 0x07, // AB 0x01, 0x01, 0x01, 0x02, 0x02, 0x04, 0x18, 0xE0, // AC 0xE0, 0x18, 0x04, 0x02, 0x02, 0x01, 0x01, 0x01, // AD 0x07, 0x18, 0x20, 0x40, 0x40, 0x80, 0x80, 0x80, // AE 0x81, 0x42, 0x24, 0x18, 0x18, 0x24, 0x42, 0x81, // AF 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x00, // B0 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, // B1 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, // B2 0x00, 0x00, 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, // B3 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, // B4 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, // B5 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // B6 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // B7 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, // B8 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, // B9 0x0F, 0x0F, 0x0F, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, // BA 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, // BB 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, // BC 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x0F, 0x0F, 0x0F, // BD 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F, 0x7F, 0xFF, // BE 0xFF, 0x7F, 0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01, // BF 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, // C0 0xFF, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, // C1 0xFF, 0x80, 0x80, 0x9C, 0x9C, 0x9C, 0x80, 0x80, // C2 0xFF, 0xFF, 0xFF, 0xE3, 0xE3, 0xE3, 0xFF, 0xFF, // C3 0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x3C, 0x7E, 0xFF, // C4 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, 0xFF, 0x00, // C5 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, // C6 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, // C7 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0xFF, // C8 0x00, 0x10, 0x38, 0x7C, 0xFE, 0x7C, 0x38, 0x10, // C9 0x38, 0x10, 0x92, 0xFE, 0x92, 0x10, 0x38, 0x7C, // CA 0x00, 0x6C, 0xFE, 0xFE, 0xFE, 0x7C, 0x38, 0x10, // CB 0x10, 0x38, 0x7C, 0xFE, 0xFE, 0x7C, 0x10, 0x7C, // CC 0xE7, 0xE7, 0x42, 0xFF, 0xFF, 0x42, 0xE7, 0xE7, // CD 0xDB, 0xFF, 0xDB, 0x18, 0x18, 0xDB, 0xFF, 0xDB, // CE 0x3C, 0x7E, 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x3C, // CF 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D0 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D1 0x0C, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D2 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D3 0x00, 0x00, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, // D4 0x00, 0x00, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, // D5 0x00, 0x00, 0x0C, 0x0C, 0x00, 0x00, 0x00, 0x00, // D6 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, // D7 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, 0x00, 0x00, // D8 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x00, 0x00, // D9 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x00, 0x00, // DA 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x00, 0x00, // DB 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, // DC 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x30, // DD 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, // DE 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, // DF 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, // E0 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3F, 0x3F, // E1 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, // E2 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFC, // E3 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 0xF0, // E4 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, // E5 0x00, 0x00, 0x00, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, // E6 0x00, 0x00, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // E7 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // E8 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, // E9 0xC0, 0xC0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, // EA 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // EB 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // EC 0xFC, 0xFC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ED 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // EE 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // EF 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // F0 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // F1 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00, // F2 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x00, 0x00, // F3 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // F4 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // F5 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03, // F6 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, // F7 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // F8 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, // F9 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // FA 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // FB 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // FC 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // FD 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // FE 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // FF }; static const uint8_t _sdtx_font_cpc[2048] = { 0xFF, 0xC3, 0xC3, 0xC3, 0xC3, 0xC3, 0xC3, 0xFF, // 00 0xFF, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // 01 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0xFF, // 02 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xFF, // 03 0x0C, 0x18, 0x30, 0x7E, 0x0C, 0x18, 0x30, 0x00, // 04 0xFF, 0xC3, 0xE7, 0xDB, 0xDB, 0xE7, 0xC3, 0xFF, // 05 0x00, 0x01, 0x03, 0x06, 0xCC, 0x78, 0x30, 0x00, // 06 0x3C, 0x66, 0xC3, 0xC3, 0xFF, 0x24, 0xE7, 0x00, // 07 0x00, 0x00, 0x30, 0x60, 0xFF, 0x60, 0x30, 0x00, // 08 0x00, 0x00, 0x0C, 0x06, 0xFF, 0x06, 0x0C, 0x00, // 09 0x18, 0x18, 0x18, 0x18, 0xDB, 0x7E, 0x3C, 0x18, // 0A 0x18, 0x3C, 0x7E, 0xDB, 0x18, 0x18, 0x18, 0x18, // 0B 0x18, 0x5A, 0x3C, 0x99, 0xDB, 0x7E, 0x3C, 0x18, // 0C 0x00, 0x03, 0x33, 0x63, 0xFE, 0x60, 0x30, 0x00, // 0D 0x3C, 0x66, 0xFF, 0xDB, 0xDB, 0xFF, 0x66, 0x3C, // 0E 0x3C, 0x66, 0xC3, 0xDB, 0xDB, 0xC3, 0x66, 0x3C, // 0F 0xFF, 0xC3, 0xC3, 0xFF, 0xC3, 0xC3, 0xC3, 0xFF, // 10 0x3C, 0x7E, 0xDB, 0xDB, 0xDF, 0xC3, 0x66, 0x3C, // 11 0x3C, 0x66, 0xC3, 0xDF, 0xDB, 0xDB, 0x7E, 0x3C, // 12 0x3C, 0x66, 0xC3, 0xFB, 0xDB, 0xDB, 0x7E, 0x3C, // 13 0x3C, 0x7E, 0xDB, 0xDB, 0xFB, 0xC3, 0x66, 0x3C, // 14 0x00, 0x01, 0x33, 0x1E, 0xCE, 0x7B, 0x31, 0x00, // 15 0x7E, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0xE7, // 16 0x03, 0x03, 0x03, 0xFF, 0x03, 0x03, 0x03, 0x00, // 17 0xFF, 0x66, 0x3C, 0x18, 0x18, 0x3C, 0x66, 0xFF, // 18 0x18, 0x18, 0x3C, 0x3C, 0x3C, 0x3C, 0x18, 0x18, // 19 0x3C, 0x66, 0x66, 0x30, 0x18, 0x00, 0x18, 0x00, // 1A 0x3C, 0x66, 0xC3, 0xFF, 0xC3, 0xC3, 0x66, 0x3C, // 1B 0xFF, 0xDB, 0xDB, 0xDB, 0xFB, 0xC3, 0xC3, 0xFF, // 1C 0xFF, 0xC3, 0xC3, 0xFB, 0xDB, 0xDB, 0xDB, 0xFF, // 1D 0xFF, 0xC3, 0xC3, 0xDF, 0xDB, 0xDB, 0xDB, 0xFF, // 1E 0xFF, 0xDB, 0xDB, 0xDB, 0xDF, 0xC3, 0xC3, 0xFF, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x18, 0x00, // 21 0x6C, 0x6C, 0x6C, 0x00, 0x00, 0x00, 0x00, 0x00, // 22 0x6C, 0x6C, 0xFE, 0x6C, 0xFE, 0x6C, 0x6C, 0x00, // 23 0x18, 0x3E, 0x58, 0x3C, 0x1A, 0x7C, 0x18, 0x00, // 24 0x00, 0xC6, 0xCC, 0x18, 0x30, 0x66, 0xC6, 0x00, // 25 0x38, 0x6C, 0x38, 0x76, 0xDC, 0xCC, 0x76, 0x00, // 26 0x18, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, // 27 0x0C, 0x18, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x00, // 28 0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x18, 0x30, 0x00, // 29 0x00, 0x66, 0x3C, 0xFF, 0x3C, 0x66, 0x00, 0x00, // 2A 0x00, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x00, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x30, // 2C 0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, // 2E 0x06, 0x0C, 0x18, 0x30, 0x60, 0xC0, 0x80, 0x00, // 2F 0x7C, 0xC6, 0xCE, 0xD6, 0xE6, 0xC6, 0x7C, 0x00, // 30 0x18, 0x38, 0x18, 0x18, 0x18, 0x18, 0x7E, 0x00, // 31 0x3C, 0x66, 0x06, 0x3C, 0x60, 0x66, 0x7E, 0x00, // 32 0x3C, 0x66, 0x06, 0x1C, 0x06, 0x66, 0x3C, 0x00, // 33 0x1C, 0x3C, 0x6C, 0xCC, 0xFE, 0x0C, 0x1E, 0x00, // 34 0x7E, 0x62, 0x60, 0x7C, 0x06, 0x66, 0x3C, 0x00, // 35 0x3C, 0x66, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00, // 36 0x7E, 0x66, 0x06, 0x0C, 0x18, 0x18, 0x18, 0x00, // 37 0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00, // 38 0x3C, 0x66, 0x66, 0x3E, 0x06, 0x66, 0x3C, 0x00, // 39 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00, // 3A 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x30, // 3B 0x0C, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0C, 0x00, // 3C 0x00, 0x00, 0x7E, 0x00, 0x00, 0x7E, 0x00, 0x00, // 3D 0x60, 0x30, 0x18, 0x0C, 0x18, 0x30, 0x60, 0x00, // 3E 0x3C, 0x66, 0x66, 0x0C, 0x18, 0x00, 0x18, 0x00, // 3F 0x7C, 0xC6, 0xDE, 0xDE, 0xDE, 0xC0, 0x7C, 0x00, // 40 0x18, 0x3C, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x00, // 41 0xFC, 0x66, 0x66, 0x7C, 0x66, 0x66, 0xFC, 0x00, // 42 0x3C, 0x66, 0xC0, 0xC0, 0xC0, 0x66, 0x3C, 0x00, // 43 0xF8, 0x6C, 0x66, 0x66, 0x66, 0x6C, 0xF8, 0x00, // 44 0xFE, 0x62, 0x68, 0x78, 0x68, 0x62, 0xFE, 0x00, // 45 0xFE, 0x62, 0x68, 0x78, 0x68, 0x60, 0xF0, 0x00, // 46 0x3C, 0x66, 0xC0, 0xC0, 0xCE, 0x66, 0x3E, 0x00, // 47 0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00, // 48 0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x7E, 0x00, // 49 0x1E, 0x0C, 0x0C, 0x0C, 0xCC, 0xCC, 0x78, 0x00, // 4A 0xE6, 0x66, 0x6C, 0x78, 0x6C, 0x66, 0xE6, 0x00, // 4B 0xF0, 0x60, 0x60, 0x60, 0x62, 0x66, 0xFE, 0x00, // 4C 0xC6, 0xEE, 0xFE, 0xFE, 0xD6, 0xC6, 0xC6, 0x00, // 4D 0xC6, 0xE6, 0xF6, 0xDE, 0xCE, 0xC6, 0xC6, 0x00, // 4E 0x38, 0x6C, 0xC6, 0xC6, 0xC6, 0x6C, 0x38, 0x00, // 4F 0xFC, 0x66, 0x66, 0x7C, 0x60, 0x60, 0xF0, 0x00, // 50 0x38, 0x6C, 0xC6, 0xC6, 0xDA, 0xCC, 0x76, 0x00, // 51 0xFC, 0x66, 0x66, 0x7C, 0x6C, 0x66, 0xE6, 0x00, // 52 0x3C, 0x66, 0x60, 0x3C, 0x06, 0x66, 0x3C, 0x00, // 53 0x7E, 0x5A, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // 54 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 55 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // 56 0xC6, 0xC6, 0xC6, 0xD6, 0xFE, 0xEE, 0xC6, 0x00, // 57 0xC6, 0x6C, 0x38, 0x38, 0x6C, 0xC6, 0xC6, 0x00, // 58 0x66, 0x66, 0x66, 0x3C, 0x18, 0x18, 0x3C, 0x00, // 59 0xFE, 0xC6, 0x8C, 0x18, 0x32, 0x66, 0xFE, 0x00, // 5A 0x3C, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x00, // 5B 0xC0, 0x60, 0x30, 0x18, 0x0C, 0x06, 0x02, 0x00, // 5C 0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x00, // 5D 0x18, 0x3C, 0x7E, 0x18, 0x18, 0x18, 0x18, 0x00, // 5E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // 5F 0x30, 0x18, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, // 60 0x00, 0x00, 0x78, 0x0C, 0x7C, 0xCC, 0x76, 0x00, // 61 0xE0, 0x60, 0x7C, 0x66, 0x66, 0x66, 0xDC, 0x00, // 62 0x00, 0x00, 0x3C, 0x66, 0x60, 0x66, 0x3C, 0x00, // 63 0x1C, 0x0C, 0x7C, 0xCC, 0xCC, 0xCC, 0x76, 0x00, // 64 0x00, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // 65 0x1C, 0x36, 0x30, 0x78, 0x30, 0x30, 0x78, 0x00, // 66 0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x7C, // 67 0xE0, 0x60, 0x6C, 0x76, 0x66, 0x66, 0xE6, 0x00, // 68 0x18, 0x00, 0x38, 0x18, 0x18, 0x18, 0x3C, 0x00, // 69 0x06, 0x00, 0x0E, 0x06, 0x06, 0x66, 0x66, 0x3C, // 6A 0xE0, 0x60, 0x66, 0x6C, 0x78, 0x6C, 0xE6, 0x00, // 6B 0x38, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // 6C 0x00, 0x00, 0x6C, 0xFE, 0xD6, 0xD6, 0xC6, 0x00, // 6D 0x00, 0x00, 0xDC, 0x66, 0x66, 0x66, 0x66, 0x00, // 6E 0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // 6F 0x00, 0x00, 0xDC, 0x66, 0x66, 0x7C, 0x60, 0xF0, // 70 0x00, 0x00, 0x76, 0xCC, 0xCC, 0x7C, 0x0C, 0x1E, // 71 0x00, 0x00, 0xDC, 0x76, 0x60, 0x60, 0xF0, 0x00, // 72 0x00, 0x00, 0x3C, 0x60, 0x3C, 0x06, 0x7C, 0x00, // 73 0x30, 0x30, 0x7C, 0x30, 0x30, 0x36, 0x1C, 0x00, // 74 0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00, // 75 0x00, 0x00, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // 76 0x00, 0x00, 0xC6, 0xD6, 0xD6, 0xFE, 0x6C, 0x00, // 77 0x00, 0x00, 0xC6, 0x6C, 0x38, 0x6C, 0xC6, 0x00, // 78 0x00, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x06, 0x7C, // 79 0x00, 0x00, 0x7E, 0x4C, 0x18, 0x32, 0x7E, 0x00, // 7A 0x0E, 0x18, 0x18, 0x70, 0x18, 0x18, 0x0E, 0x00, // 7B 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // 7C 0x70, 0x18, 0x18, 0x0E, 0x18, 0x18, 0x70, 0x00, // 7D 0x76, 0xDC, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 7E 0xCC, 0x33, 0xCC, 0x33, 0xCC, 0x33, 0xCC, 0x33, // 7F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 80 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x00, // 81 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, // 82 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // 83 0x00, 0x00, 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, // 84 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, // 85 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, // 86 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, // 87 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, // 88 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, // 89 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, // 8A 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x0F, 0x0F, 0x0F, // 8B 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // 8C 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, // 8D 0x0F, 0x0F, 0x0F, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, // 8E 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // 8F 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x00, // 90 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x00, // 91 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x00, 0x00, 0x00, // 92 0x18, 0x18, 0x18, 0x1F, 0x0F, 0x00, 0x00, 0x00, // 93 0x00, 0x00, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, // 94 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // 95 0x00, 0x00, 0x00, 0x0F, 0x1F, 0x18, 0x18, 0x18, // 96 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x18, 0x18, 0x18, // 97 0x00, 0x00, 0x00, 0xF8, 0xF8, 0x00, 0x00, 0x00, // 98 0x18, 0x18, 0x18, 0xF8, 0xF0, 0x00, 0x00, 0x00, // 99 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // 9A 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x00, 0x00, 0x00, // 9B 0x00, 0x00, 0x00, 0xF0, 0xF8, 0x18, 0x18, 0x18, // 9C 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x18, 0x18, 0x18, // 9D 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x18, 0x18, 0x18, // 9E 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x18, 0x18, 0x18, // 9F 0x10, 0x38, 0x6C, 0xC6, 0x00, 0x00, 0x00, 0x00, // A0 0x0C, 0x18, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, // A1 0x66, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // A2 0x3C, 0x66, 0x60, 0xF8, 0x60, 0x66, 0xFE, 0x00, // A3 0x38, 0x44, 0xBA, 0xA2, 0xBA, 0x44, 0x38, 0x00, // A4 0x7E, 0xF4, 0xF4, 0x74, 0x34, 0x34, 0x34, 0x00, // A5 0x1E, 0x30, 0x38, 0x6C, 0x38, 0x18, 0xF0, 0x00, // A6 0x18, 0x18, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, // A7 0x40, 0xC0, 0x44, 0x4C, 0x54, 0x1E, 0x04, 0x00, // A8 0x40, 0xC0, 0x4C, 0x52, 0x44, 0x08, 0x1E, 0x00, // A9 0xE0, 0x10, 0x62, 0x16, 0xEA, 0x0F, 0x02, 0x00, // AA 0x00, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x7E, 0x00, // AB 0x18, 0x18, 0x00, 0x7E, 0x00, 0x18, 0x18, 0x00, // AC 0x00, 0x00, 0x00, 0x7E, 0x06, 0x06, 0x00, 0x00, // AD 0x18, 0x00, 0x18, 0x30, 0x66, 0x66, 0x3C, 0x00, // AE 0x18, 0x00, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // AF 0x00, 0x00, 0x73, 0xDE, 0xCC, 0xDE, 0x73, 0x00, // B0 0x7C, 0xC6, 0xC6, 0xFC, 0xC6, 0xC6, 0xF8, 0xC0, // B1 0x00, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00, // B2 0x3C, 0x60, 0x60, 0x3C, 0x66, 0x66, 0x3C, 0x00, // B3 0x00, 0x00, 0x1E, 0x30, 0x7C, 0x30, 0x1E, 0x00, // B4 0x38, 0x6C, 0xC6, 0xFE, 0xC6, 0x6C, 0x38, 0x00, // B5 0x00, 0xC0, 0x60, 0x30, 0x38, 0x6C, 0xC6, 0x00, // B6 0x00, 0x00, 0x66, 0x66, 0x66, 0x7C, 0x60, 0x60, // B7 0x00, 0x00, 0x00, 0xFE, 0x6C, 0x6C, 0x6C, 0x00, // B8 0x00, 0x00, 0x00, 0x7E, 0xD8, 0xD8, 0x70, 0x00, // B9 0x03, 0x06, 0x0C, 0x3C, 0x66, 0x3C, 0x60, 0xC0, // BA 0x03, 0x06, 0x0C, 0x66, 0x66, 0x3C, 0x60, 0xC0, // BB 0x00, 0xE6, 0x3C, 0x18, 0x38, 0x6C, 0xC7, 0x00, // BC 0x00, 0x00, 0x66, 0xC3, 0xDB, 0xDB, 0x7E, 0x00, // BD 0xFE, 0xC6, 0x60, 0x30, 0x60, 0xC6, 0xFE, 0x00, // BE 0x00, 0x7C, 0xC6, 0xC6, 0xC6, 0x6C, 0xEE, 0x00, // BF 0x18, 0x30, 0x60, 0xC0, 0x80, 0x00, 0x00, 0x00, // C0 0x18, 0x0C, 0x06, 0x03, 0x01, 0x00, 0x00, 0x00, // C1 0x00, 0x00, 0x00, 0x01, 0x03, 0x06, 0x0C, 0x18, // C2 0x00, 0x00, 0x00, 0x80, 0xC0, 0x60, 0x30, 0x18, // C3 0x18, 0x3C, 0x66, 0xC3, 0x81, 0x00, 0x00, 0x00, // C4 0x18, 0x0C, 0x06, 0x03, 0x03, 0x06, 0x0C, 0x18, // C5 0x00, 0x00, 0x00, 0x81, 0xC3, 0x66, 0x3C, 0x18, // C6 0x18, 0x30, 0x60, 0xC0, 0xC0, 0x60, 0x30, 0x18, // C7 0x18, 0x30, 0x60, 0xC1, 0x83, 0x06, 0x0C, 0x18, // C8 0x18, 0x0C, 0x06, 0x83, 0xC1, 0x60, 0x30, 0x18, // C9 0x18, 0x3C, 0x66, 0xC3, 0xC3, 0x66, 0x3C, 0x18, // CA 0xC3, 0xE7, 0x7E, 0x3C, 0x3C, 0x7E, 0xE7, 0xC3, // CB 0x03, 0x07, 0x0E, 0x1C, 0x38, 0x70, 0xE0, 0xC0, // CC 0xC0, 0xE0, 0x70, 0x38, 0x1C, 0x0E, 0x07, 0x03, // CD 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, // CE 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, // CF 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // D0 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // D1 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, // D2 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // D3 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0x80, // D4 0xFF, 0x7F, 0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01, // D5 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F, 0x7F, 0xFF, // D6 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE, 0xFF, // D7 0xAA, 0x55, 0xAA, 0x55, 0x00, 0x00, 0x00, 0x00, // D8 0x0A, 0x05, 0x0A, 0x05, 0x0A, 0x05, 0x0A, 0x05, // D9 0x00, 0x00, 0x00, 0x00, 0xAA, 0x55, 0xAA, 0x55, // DA 0xA0, 0x50, 0xA0, 0x50, 0xA0, 0x50, 0xA0, 0x50, // DB 0xAA, 0x54, 0xA8, 0x50, 0xA0, 0x40, 0x80, 0x00, // DC 0xAA, 0x55, 0x2A, 0x15, 0x0A, 0x05, 0x02, 0x01, // DD 0x01, 0x02, 0x05, 0x0A, 0x15, 0x2A, 0x55, 0xAA, // DE 0x00, 0x80, 0x40, 0xA0, 0x50, 0xA8, 0x54, 0xAA, // DF 0x7E, 0xFF, 0x99, 0xFF, 0xBD, 0xC3, 0xFF, 0x7E, // E0 0x7E, 0xFF, 0x99, 0xFF, 0xC3, 0xBD, 0xFF, 0x7E, // E1 0x38, 0x38, 0xFE, 0xFE, 0xFE, 0x10, 0x38, 0x00, // E2 0x10, 0x38, 0x7C, 0xFE, 0x7C, 0x38, 0x10, 0x00, // E3 0x6C, 0xFE, 0xFE, 0xFE, 0x7C, 0x38, 0x10, 0x00, // E4 0x10, 0x38, 0x7C, 0xFE, 0xFE, 0x10, 0x38, 0x00, // E5 0x00, 0x3C, 0x66, 0xC3, 0xC3, 0x66, 0x3C, 0x00, // E6 0x00, 0x3C, 0x7E, 0xFF, 0xFF, 0x7E, 0x3C, 0x00, // E7 0x00, 0x7E, 0x66, 0x66, 0x66, 0x66, 0x7E, 0x00, // E8 0x00, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x7E, 0x00, // E9 0x0F, 0x07, 0x0D, 0x78, 0xCC, 0xCC, 0xCC, 0x78, // EA 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x7E, 0x18, // EB 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x7C, 0x38, // EC 0x18, 0x1C, 0x1E, 0x1B, 0x18, 0x78, 0xF8, 0x70, // ED 0x99, 0x5A, 0x24, 0xC3, 0xC3, 0x24, 0x5A, 0x99, // EE 0x10, 0x38, 0x38, 0x38, 0x38, 0x38, 0x7C, 0xD6, // EF 0x18, 0x3C, 0x7E, 0xFF, 0x18, 0x18, 0x18, 0x18, // F0 0x18, 0x18, 0x18, 0x18, 0xFF, 0x7E, 0x3C, 0x18, // F1 0x10, 0x30, 0x70, 0xFF, 0xFF, 0x70, 0x30, 0x10, // F2 0x08, 0x0C, 0x0E, 0xFF, 0xFF, 0x0E, 0x0C, 0x08, // F3 0x00, 0x00, 0x18, 0x3C, 0x7E, 0xFF, 0xFF, 0x00, // F4 0x00, 0x00, 0xFF, 0xFF, 0x7E, 0x3C, 0x18, 0x00, // F5 0x80, 0xE0, 0xF8, 0xFE, 0xF8, 0xE0, 0x80, 0x00, // F6 0x02, 0x0E, 0x3E, 0xFE, 0x3E, 0x0E, 0x02, 0x00, // F7 0x38, 0x38, 0x92, 0x7C, 0x10, 0x28, 0x28, 0x28, // F8 0x38, 0x38, 0x10, 0xFE, 0x10, 0x28, 0x44, 0x82, // F9 0x38, 0x38, 0x12, 0x7C, 0x90, 0x28, 0x24, 0x22, // FA 0x38, 0x38, 0x90, 0x7C, 0x12, 0x28, 0x48, 0x88, // FB 0x00, 0x3C, 0x18, 0x3C, 0x3C, 0x3C, 0x18, 0x00, // FC 0x3C, 0xFF, 0xFF, 0x18, 0x0C, 0x18, 0x30, 0x18, // FD 0x18, 0x3C, 0x7E, 0x18, 0x18, 0x7E, 0x3C, 0x18, // FE 0x00, 0x24, 0x66, 0xFF, 0x66, 0x24, 0x00, 0x00, // FF }; static const uint8_t _sdtx_font_c64[2048] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 00 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, // 01 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // 02 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 03 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // 04 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // 05 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, // 06 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // 07 0x00, 0x00, 0x00, 0x00, 0xCC, 0xCC, 0x33, 0x33, // 08 0xCC, 0x99, 0x33, 0x66, 0xCC, 0x99, 0x33, 0x66, // 09 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // 0A 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x18, 0x18, 0x18, // 0B 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, // 0C 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x00, 0x00, 0x00, // 0D 0x00, 0x00, 0x00, 0xF8, 0xF8, 0x18, 0x18, 0x18, // 0E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, // 0F 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x18, 0x18, 0x18, // 10 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x00, 0x00, 0x00, // 11 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x18, 0x18, 0x18, // 12 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x18, 0x18, 0x18, // 13 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // 14 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, // 15 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, // 16 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 17 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, // 18 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // 19 0x01, 0x03, 0x06, 0x6C, 0x78, 0x70, 0x60, 0x00, // 1A 0x00, 0x00, 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, // 1B 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, // 1C 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x00, 0x00, 0x00, // 1D 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x00, // 1E 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x18, 0x18, 0x18, 0x18, 0x00, 0x00, 0x18, 0x00, // 21 0x66, 0x66, 0x66, 0x00, 0x00, 0x00, 0x00, 0x00, // 22 0x66, 0x66, 0xFF, 0x66, 0xFF, 0x66, 0x66, 0x00, // 23 0x18, 0x3E, 0x60, 0x3C, 0x06, 0x7C, 0x18, 0x00, // 24 0x62, 0x66, 0x0C, 0x18, 0x30, 0x66, 0x46, 0x00, // 25 0x3C, 0x66, 0x3C, 0x38, 0x67, 0x66, 0x3F, 0x00, // 26 0x06, 0x0C, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, // 27 0x0C, 0x18, 0x30, 0x30, 0x30, 0x18, 0x0C, 0x00, // 28 0x30, 0x18, 0x0C, 0x0C, 0x0C, 0x18, 0x30, 0x00, // 29 0x00, 0x66, 0x3C, 0xFF, 0x3C, 0x66, 0x00, 0x00, // 2A 0x00, 0x18, 0x18, 0x7E, 0x18, 0x18, 0x00, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x30, // 2C 0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x18, 0x18, 0x00, // 2E 0x00, 0x03, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x00, // 2F 0x3C, 0x66, 0x6E, 0x76, 0x66, 0x66, 0x3C, 0x00, // 30 0x18, 0x18, 0x38, 0x18, 0x18, 0x18, 0x7E, 0x00, // 31 0x3C, 0x66, 0x06, 0x0C, 0x30, 0x60, 0x7E, 0x00, // 32 0x3C, 0x66, 0x06, 0x1C, 0x06, 0x66, 0x3C, 0x00, // 33 0x06, 0x0E, 0x1E, 0x66, 0x7F, 0x06, 0x06, 0x00, // 34 0x7E, 0x60, 0x7C, 0x06, 0x06, 0x66, 0x3C, 0x00, // 35 0x3C, 0x66, 0x60, 0x7C, 0x66, 0x66, 0x3C, 0x00, // 36 0x7E, 0x66, 0x0C, 0x18, 0x18, 0x18, 0x18, 0x00, // 37 0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C, 0x00, // 38 0x3C, 0x66, 0x66, 0x3E, 0x06, 0x66, 0x3C, 0x00, // 39 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x00, 0x00, // 3A 0x00, 0x00, 0x18, 0x00, 0x00, 0x18, 0x18, 0x30, // 3B 0x0E, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0E, 0x00, // 3C 0x00, 0x00, 0x7E, 0x00, 0x7E, 0x00, 0x00, 0x00, // 3D 0x70, 0x18, 0x0C, 0x06, 0x0C, 0x18, 0x70, 0x00, // 3E 0x3C, 0x66, 0x06, 0x0C, 0x18, 0x00, 0x18, 0x00, // 3F 0x3C, 0x66, 0x6E, 0x6E, 0x60, 0x62, 0x3C, 0x00, // 40 0x18, 0x3C, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00, // 41 0x7C, 0x66, 0x66, 0x7C, 0x66, 0x66, 0x7C, 0x00, // 42 0x3C, 0x66, 0x60, 0x60, 0x60, 0x66, 0x3C, 0x00, // 43 0x78, 0x6C, 0x66, 0x66, 0x66, 0x6C, 0x78, 0x00, // 44 0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x7E, 0x00, // 45 0x7E, 0x60, 0x60, 0x78, 0x60, 0x60, 0x60, 0x00, // 46 0x3C, 0x66, 0x60, 0x6E, 0x66, 0x66, 0x3C, 0x00, // 47 0x66, 0x66, 0x66, 0x7E, 0x66, 0x66, 0x66, 0x00, // 48 0x3C, 0x18, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // 49 0x1E, 0x0C, 0x0C, 0x0C, 0x0C, 0x6C, 0x38, 0x00, // 4A 0x66, 0x6C, 0x78, 0x70, 0x78, 0x6C, 0x66, 0x00, // 4B 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x7E, 0x00, // 4C 0x63, 0x77, 0x7F, 0x6B, 0x63, 0x63, 0x63, 0x00, // 4D 0x66, 0x76, 0x7E, 0x7E, 0x6E, 0x66, 0x66, 0x00, // 4E 0x3C, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 4F 0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, 0x60, 0x00, // 50 0x3C, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x0E, 0x00, // 51 0x7C, 0x66, 0x66, 0x7C, 0x78, 0x6C, 0x66, 0x00, // 52 0x3C, 0x66, 0x60, 0x3C, 0x06, 0x66, 0x3C, 0x00, // 53 0x7E, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x00, // 54 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x00, // 55 0x66, 0x66, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // 56 0x63, 0x63, 0x63, 0x6B, 0x7F, 0x77, 0x63, 0x00, // 57 0x66, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x66, 0x00, // 58 0x66, 0x66, 0x66, 0x3C, 0x18, 0x18, 0x18, 0x00, // 59 0x7E, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x7E, 0x00, // 5A 0x3C, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x00, // 5B 0x0C, 0x12, 0x30, 0x7C, 0x30, 0x62, 0xFC, 0x00, // 5C 0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x00, // 5D 0x00, 0x18, 0x3C, 0x7E, 0x18, 0x18, 0x18, 0x18, // 5E 0x00, 0x10, 0x30, 0x7F, 0x7F, 0x30, 0x10, 0x00, // 5F 0x3C, 0x66, 0x6E, 0x6E, 0x60, 0x62, 0x3C, 0x00, // 60 0x00, 0x00, 0x3C, 0x06, 0x3E, 0x66, 0x3E, 0x00, // 61 0x00, 0x60, 0x60, 0x7C, 0x66, 0x66, 0x7C, 0x00, // 62 0x00, 0x00, 0x3C, 0x60, 0x60, 0x60, 0x3C, 0x00, // 63 0x00, 0x06, 0x06, 0x3E, 0x66, 0x66, 0x3E, 0x00, // 64 0x00, 0x00, 0x3C, 0x66, 0x7E, 0x60, 0x3C, 0x00, // 65 0x00, 0x0E, 0x18, 0x3E, 0x18, 0x18, 0x18, 0x00, // 66 0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x7C, // 67 0x00, 0x60, 0x60, 0x7C, 0x66, 0x66, 0x66, 0x00, // 68 0x00, 0x18, 0x00, 0x38, 0x18, 0x18, 0x3C, 0x00, // 69 0x00, 0x06, 0x00, 0x06, 0x06, 0x06, 0x06, 0x3C, // 6A 0x00, 0x60, 0x60, 0x6C, 0x78, 0x6C, 0x66, 0x00, // 6B 0x00, 0x38, 0x18, 0x18, 0x18, 0x18, 0x3C, 0x00, // 6C 0x00, 0x00, 0x66, 0x7F, 0x7F, 0x6B, 0x63, 0x00, // 6D 0x00, 0x00, 0x7C, 0x66, 0x66, 0x66, 0x66, 0x00, // 6E 0x00, 0x00, 0x3C, 0x66, 0x66, 0x66, 0x3C, 0x00, // 6F 0x00, 0x00, 0x7C, 0x66, 0x66, 0x7C, 0x60, 0x60, // 70 0x00, 0x00, 0x3E, 0x66, 0x66, 0x3E, 0x06, 0x06, // 71 0x00, 0x00, 0x7C, 0x66, 0x60, 0x60, 0x60, 0x00, // 72 0x00, 0x00, 0x3E, 0x60, 0x3C, 0x06, 0x7C, 0x00, // 73 0x00, 0x18, 0x7E, 0x18, 0x18, 0x18, 0x0E, 0x00, // 74 0x00, 0x00, 0x66, 0x66, 0x66, 0x66, 0x3E, 0x00, // 75 0x00, 0x00, 0x66, 0x66, 0x66, 0x3C, 0x18, 0x00, // 76 0x00, 0x00, 0x63, 0x6B, 0x7F, 0x3E, 0x36, 0x00, // 77 0x00, 0x00, 0x66, 0x3C, 0x18, 0x3C, 0x66, 0x00, // 78 0x00, 0x00, 0x66, 0x66, 0x66, 0x3E, 0x0C, 0x78, // 79 0x00, 0x00, 0x7E, 0x0C, 0x18, 0x30, 0x7E, 0x00, // 7A 0x3C, 0x30, 0x30, 0x30, 0x30, 0x30, 0x3C, 0x00, // 7B 0x0C, 0x12, 0x30, 0x7C, 0x30, 0x62, 0xFC, 0x00, // 7C 0x3C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x3C, 0x00, // 7D 0x00, 0x18, 0x3C, 0x7E, 0x18, 0x18, 0x18, 0x18, // 7E 0x00, 0x10, 0x30, 0x7F, 0x7F, 0x30, 0x10, 0x00, // 7F 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // 80 0x08, 0x1C, 0x3E, 0x7F, 0x7F, 0x1C, 0x3E, 0x00, // 81 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // 82 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // 83 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // 84 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, // 85 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, // 86 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, // 87 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C, // 88 0x00, 0x00, 0x00, 0xE0, 0xF0, 0x38, 0x18, 0x18, // 89 0x18, 0x18, 0x1C, 0x0F, 0x07, 0x00, 0x00, 0x00, // 8A 0x18, 0x18, 0x38, 0xF0, 0xE0, 0x00, 0x00, 0x00, // 8B 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xFF, 0xFF, // 8C 0xC0, 0xE0, 0x70, 0x38, 0x1C, 0x0E, 0x07, 0x03, // 8D 0x03, 0x07, 0x0E, 0x1C, 0x38, 0x70, 0xE0, 0xC0, // 8E 0xFF, 0xFF, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // 8F 0xFF, 0xFF, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // 90 0x00, 0x3C, 0x7E, 0x7E, 0x7E, 0x7E, 0x3C, 0x00, // 91 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, // 92 0x36, 0x7F, 0x7F, 0x7F, 0x3E, 0x1C, 0x08, 0x00, // 93 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, 0x60, // 94 0x00, 0x00, 0x00, 0x07, 0x0F, 0x1C, 0x18, 0x18, // 95 0xC3, 0xE7, 0x7E, 0x3C, 0x3C, 0x7E, 0xE7, 0xC3, // 96 0x00, 0x3C, 0x7E, 0x66, 0x66, 0x7E, 0x3C, 0x00, // 97 0x18, 0x18, 0x66, 0x66, 0x18, 0x18, 0x3C, 0x00, // 98 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, // 99 0x08, 0x1C, 0x3E, 0x7F, 0x3E, 0x1C, 0x08, 0x00, // 9A 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x18, 0x18, 0x18, // 9B 0xC0, 0xC0, 0x30, 0x30, 0xC0, 0xC0, 0x30, 0x30, // 9C 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // 9D 0x00, 0x00, 0x03, 0x3E, 0x76, 0x36, 0x36, 0x00, // 9E 0xFF, 0x7F, 0x3F, 0x1F, 0x0F, 0x07, 0x03, 0x01, // 9F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // A0 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, 0xF0, // A1 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // A2 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // A3 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, // A4 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // A5 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, // A6 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // A7 0x00, 0x00, 0x00, 0x00, 0xCC, 0xCC, 0x33, 0x33, // A8 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0x80, // A9 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, // AA 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x18, 0x18, 0x18, // AB 0x00, 0x00, 0x00, 0x00, 0x0F, 0x0F, 0x0F, 0x0F, // AC 0x18, 0x18, 0x18, 0x1F, 0x1F, 0x00, 0x00, 0x00, // AD 0x00, 0x00, 0x00, 0xF8, 0xF8, 0x18, 0x18, 0x18, // AE 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, // AF 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x18, 0x18, 0x18, // B0 0x18, 0x18, 0x18, 0xFF, 0xFF, 0x00, 0x00, 0x00, // B1 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x18, 0x18, 0x18, // B2 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x18, 0x18, 0x18, // B3 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // B4 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, // B5 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, // B6 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // B7 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, // B8 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // B9 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0xFF, 0xFF, // BA 0x00, 0x00, 0x00, 0x00, 0xF0, 0xF0, 0xF0, 0xF0, // BB 0x0F, 0x0F, 0x0F, 0x0F, 0x00, 0x00, 0x00, 0x00, // BC 0x18, 0x18, 0x18, 0xF8, 0xF8, 0x00, 0x00, 0x00, // BD 0xF0, 0xF0, 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x00, // BE 0xF0, 0xF0, 0xF0, 0xF0, 0x0F, 0x0F, 0x0F, 0x0F, // BF 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // C0 0xF7, 0xE3, 0xC1, 0x80, 0x80, 0xE3, 0xC1, 0xFF, // C1 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, // C2 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // C3 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, // C4 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // C5 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0xFF, 0xFF, // C6 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, 0xCF, // C7 0xF3, 0xF3, 0xF3, 0xF3, 0xF3, 0xF3, 0xF3, 0xF3, // C8 0xFF, 0xFF, 0xFF, 0x1F, 0x0F, 0xC7, 0xE7, 0xE7, // C9 0xE7, 0xE7, 0xE3, 0xF0, 0xF8, 0xFF, 0xFF, 0xFF, // CA 0xE7, 0xE7, 0xC7, 0x0F, 0x1F, 0xFF, 0xFF, 0xFF, // CB 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x00, 0x00, // CC 0x3F, 0x1F, 0x8F, 0xC7, 0xE3, 0xF1, 0xF8, 0xFC, // CD 0xFC, 0xF8, 0xF1, 0xE3, 0xC7, 0x8F, 0x1F, 0x3F, // CE 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, // CF 0x00, 0x00, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, // D0 0xFF, 0xC3, 0x81, 0x81, 0x81, 0x81, 0xC3, 0xFF, // D1 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0xFF, // D2 0xC9, 0x80, 0x80, 0x80, 0xC1, 0xE3, 0xF7, 0xFF, // D3 0x9F, 0x9F, 0x9F, 0x9F, 0x9F, 0x9F, 0x9F, 0x9F, // D4 0xFF, 0xFF, 0xFF, 0xF8, 0xF0, 0xE3, 0xE7, 0xE7, // D5 0x3C, 0x18, 0x81, 0xC3, 0xC3, 0x81, 0x18, 0x3C, // D6 0xFF, 0xC3, 0x81, 0x99, 0x99, 0x81, 0xC3, 0xFF, // D7 0xE7, 0xE7, 0x99, 0x99, 0xE7, 0xE7, 0xC3, 0xFF, // D8 0xF9, 0xF9, 0xF9, 0xF9, 0xF9, 0xF9, 0xF9, 0xF9, // D9 0xF7, 0xE3, 0xC1, 0x80, 0xC1, 0xE3, 0xF7, 0xFF, // DA 0xE7, 0xE7, 0xE7, 0x00, 0x00, 0xE7, 0xE7, 0xE7, // DB 0x3F, 0x3F, 0xCF, 0xCF, 0x3F, 0x3F, 0xCF, 0xCF, // DC 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, 0xE7, // DD 0xFF, 0xFF, 0xFC, 0xC1, 0x89, 0xC9, 0xC9, 0xFF, // DE 0x00, 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE, // DF 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // E0 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, // E1 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, // E2 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // E3 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, // E4 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, // E5 0x33, 0x33, 0xCC, 0xCC, 0x33, 0x33, 0xCC, 0xCC, // E6 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, // E7 0xFF, 0xFF, 0xFF, 0xFF, 0x33, 0x33, 0xCC, 0xCC, // E8 0x00, 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F, 0x7F, // E9 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, // EA 0xE7, 0xE7, 0xE7, 0xE0, 0xE0, 0xE7, 0xE7, 0xE7, // EB 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0xF0, 0xF0, 0xF0, // EC 0xE7, 0xE7, 0xE7, 0xE0, 0xE0, 0xFF, 0xFF, 0xFF, // ED 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0xE7, 0xE7, 0xE7, // EE 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, // EF 0xFF, 0xFF, 0xFF, 0xE0, 0xE0, 0xE7, 0xE7, 0xE7, // F0 0xE7, 0xE7, 0xE7, 0x00, 0x00, 0xFF, 0xFF, 0xFF, // F1 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0xE7, 0xE7, 0xE7, // F2 0xE7, 0xE7, 0xE7, 0x07, 0x07, 0xE7, 0xE7, 0xE7, // F3 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, // F4 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, // F5 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, 0xF8, // F6 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // F7 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // F8 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, // F9 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0x00, 0x00, // FA 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x0F, 0x0F, 0x0F, // FB 0xF0, 0xF0, 0xF0, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, // FC 0xE7, 0xE7, 0xE7, 0x07, 0x07, 0xFF, 0xFF, 0xFF, // FD 0x0F, 0x0F, 0x0F, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, // FE 0x0F, 0x0F, 0x0F, 0x0F, 0xF0, 0xF0, 0xF0, 0xF0, // FF }; static const uint8_t _sdtx_font_oric[2048] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 00 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 01 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 02 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 03 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 04 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 05 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 06 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 07 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 08 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 09 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0A 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0B 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0C 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0D 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 10 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 13 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 14 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 15 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 17 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 18 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 19 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1A 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1B 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1C 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1D 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 1F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 20 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, 0x08, 0x00, // 21 0x14, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, // 22 0x14, 0x14, 0x3E, 0x14, 0x3E, 0x14, 0x14, 0x00, // 23 0x08, 0x1E, 0x28, 0x1C, 0x0A, 0x3C, 0x08, 0x00, // 24 0x30, 0x32, 0x04, 0x08, 0x10, 0x26, 0x06, 0x00, // 25 0x10, 0x28, 0x28, 0x10, 0x2A, 0x24, 0x1A, 0x00, // 26 0x08, 0x08, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, // 27 0x08, 0x10, 0x20, 0x20, 0x20, 0x10, 0x08, 0x00, // 28 0x08, 0x04, 0x02, 0x02, 0x02, 0x04, 0x08, 0x00, // 29 0x08, 0x2A, 0x1C, 0x08, 0x1C, 0x2A, 0x08, 0x00, // 2A 0x00, 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00, 0x00, // 2B 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x10, // 2C 0x00, 0x00, 0x00, 0x3E, 0x00, 0x00, 0x00, 0x00, // 2D 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, // 2E 0x00, 0x02, 0x04, 0x08, 0x10, 0x20, 0x00, 0x00, // 2F 0x1C, 0x22, 0x26, 0x2A, 0x32, 0x22, 0x1C, 0x00, // 30 0x08, 0x18, 0x08, 0x08, 0x08, 0x08, 0x1C, 0x00, // 31 0x1C, 0x22, 0x02, 0x04, 0x08, 0x10, 0x3E, 0x00, // 32 0x3E, 0x02, 0x04, 0x0C, 0x02, 0x22, 0x1C, 0x00, // 33 0x04, 0x0C, 0x14, 0x24, 0x3E, 0x04, 0x04, 0x00, // 34 0x3E, 0x20, 0x3C, 0x02, 0x02, 0x22, 0x1C, 0x00, // 35 0x0C, 0x10, 0x20, 0x3C, 0x22, 0x22, 0x1C, 0x00, // 36 0x3E, 0x02, 0x04, 0x08, 0x10, 0x10, 0x10, 0x00, // 37 0x1C, 0x22, 0x22, 0x1C, 0x22, 0x22, 0x1C, 0x00, // 38 0x1C, 0x22, 0x22, 0x1E, 0x02, 0x04, 0x18, 0x00, // 39 0x00, 0x00, 0x08, 0x00, 0x00, 0x08, 0x00, 0x00, // 3A 0x00, 0x00, 0x08, 0x00, 0x00, 0x08, 0x08, 0x10, // 3B 0x04, 0x08, 0x10, 0x20, 0x10, 0x08, 0x04, 0x00, // 3C 0x00, 0x00, 0x3E, 0x00, 0x3E, 0x00, 0x00, 0x00, // 3D 0x10, 0x08, 0x04, 0x02, 0x04, 0x08, 0x10, 0x00, // 3E 0x1C, 0x22, 0x04, 0x08, 0x08, 0x00, 0x08, 0x00, // 3F 0x1C, 0x22, 0x2A, 0x2E, 0x2C, 0x20, 0x1E, 0x00, // 40 0x08, 0x14, 0x22, 0x22, 0x3E, 0x22, 0x22, 0x00, // 41 0x3C, 0x22, 0x22, 0x3C, 0x22, 0x22, 0x3C, 0x00, // 42 0x1C, 0x22, 0x20, 0x20, 0x20, 0x22, 0x1C, 0x00, // 43 0x3C, 0x22, 0x22, 0x22, 0x22, 0x22, 0x3C, 0x00, // 44 0x3E, 0x20, 0x20, 0x3C, 0x20, 0x20, 0x3E, 0x00, // 45 0x3E, 0x20, 0x20, 0x3C, 0x20, 0x20, 0x20, 0x00, // 46 0x1E, 0x20, 0x20, 0x20, 0x26, 0x22, 0x1E, 0x00, // 47 0x22, 0x22, 0x22, 0x3E, 0x22, 0x22, 0x22, 0x00, // 48 0x1C, 0x08, 0x08, 0x08, 0x08, 0x08, 0x1C, 0x00, // 49 0x02, 0x02, 0x02, 0x02, 0x02, 0x22, 0x1C, 0x00, // 4A 0x22, 0x24, 0x28, 0x30, 0x28, 0x24, 0x22, 0x00, // 4B 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x3E, 0x00, // 4C 0x22, 0x36, 0x2A, 0x2A, 0x22, 0x22, 0x22, 0x00, // 4D 0x22, 0x22, 0x32, 0x2A, 0x26, 0x22, 0x22, 0x00, // 4E 0x1C, 0x22, 0x22, 0x22, 0x22, 0x22, 0x1C, 0x00, // 4F 0x3C, 0x22, 0x22, 0x3C, 0x20, 0x20, 0x20, 0x00, // 50 0x1C, 0x22, 0x22, 0x22, 0x2A, 0x24, 0x1A, 0x00, // 51 0x3C, 0x22, 0x22, 0x3C, 0x28, 0x24, 0x22, 0x00, // 52 0x1C, 0x22, 0x20, 0x1C, 0x02, 0x22, 0x1C, 0x00, // 53 0x3E, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, // 54 0x22, 0x22, 0x22, 0x22, 0x22, 0x22, 0x1C, 0x00, // 55 0x22, 0x22, 0x22, 0x22, 0x22, 0x14, 0x08, 0x00, // 56 0x22, 0x22, 0x22, 0x2A, 0x2A, 0x36, 0x22, 0x00, // 57 0x22, 0x22, 0x14, 0x08, 0x14, 0x22, 0x22, 0x00, // 58 0x22, 0x22, 0x14, 0x08, 0x08, 0x08, 0x08, 0x00, // 59 0x3E, 0x02, 0x04, 0x08, 0x10, 0x20, 0x3E, 0x00, // 5A 0x1E, 0x10, 0x10, 0x10, 0x10, 0x10, 0x1E, 0x00, // 5B 0x00, 0x20, 0x10, 0x08, 0x04, 0x02, 0x00, 0x00, // 5C 0x3C, 0x04, 0x04, 0x04, 0x04, 0x04, 0x3C, 0x00, // 5D 0x08, 0x14, 0x2A, 0x08, 0x08, 0x08, 0x08, 0x00, // 5E 0x0E, 0x11, 0x3C, 0x10, 0x3C, 0x11, 0x0E, 0x00, // 5F 0x0C, 0x12, 0x2D, 0x29, 0x29, 0x2D, 0x12, 0x0C, // 60 0x00, 0x00, 0x1C, 0x02, 0x1E, 0x22, 0x1E, 0x00, // 61 0x20, 0x20, 0x3C, 0x22, 0x22, 0x22, 0x3C, 0x00, // 62 0x00, 0x00, 0x1E, 0x20, 0x20, 0x20, 0x1E, 0x00, // 63 0x02, 0x02, 0x1E, 0x22, 0x22, 0x22, 0x1E, 0x00, // 64 0x00, 0x00, 0x1C, 0x22, 0x3E, 0x20, 0x1E, 0x00, // 65 0x0C, 0x12, 0x10, 0x3C, 0x10, 0x10, 0x10, 0x00, // 66 0x00, 0x00, 0x1C, 0x22, 0x22, 0x1E, 0x02, 0x1C, // 67 0x20, 0x20, 0x3C, 0x22, 0x22, 0x22, 0x22, 0x00, // 68 0x08, 0x00, 0x18, 0x08, 0x08, 0x08, 0x1C, 0x00, // 69 0x04, 0x00, 0x0C, 0x04, 0x04, 0x04, 0x24, 0x18, // 6A 0x20, 0x20, 0x22, 0x24, 0x38, 0x24, 0x22, 0x00, // 6B 0x18, 0x08, 0x08, 0x08, 0x08, 0x08, 0x1C, 0x00, // 6C 0x00, 0x00, 0x36, 0x2A, 0x2A, 0x2A, 0x22, 0x00, // 6D 0x00, 0x00, 0x3C, 0x22, 0x22, 0x22, 0x22, 0x00, // 6E 0x00, 0x00, 0x1C, 0x22, 0x22, 0x22, 0x1C, 0x00, // 6F 0x00, 0x00, 0x3C, 0x22, 0x22, 0x3C, 0x20, 0x20, // 70 0x00, 0x00, 0x1E, 0x22, 0x22, 0x1E, 0x02, 0x02, // 71 0x00, 0x00, 0x2E, 0x30, 0x20, 0x20, 0x20, 0x00, // 72 0x00, 0x00, 0x1E, 0x20, 0x1C, 0x02, 0x3C, 0x00, // 73 0x10, 0x10, 0x3C, 0x10, 0x10, 0x12, 0x0C, 0x00, // 74 0x00, 0x00, 0x22, 0x22, 0x22, 0x26, 0x1A, 0x00, // 75 0x00, 0x00, 0x22, 0x22, 0x22, 0x14, 0x08, 0x00, // 76 0x00, 0x00, 0x22, 0x22, 0x2A, 0x2A, 0x36, 0x00, // 77 0x00, 0x00, 0x22, 0x14, 0x08, 0x14, 0x22, 0x00, // 78 0x00, 0x00, 0x22, 0x22, 0x22, 0x1E, 0x02, 0x1C, // 79 0x00, 0x00, 0x3E, 0x04, 0x08, 0x10, 0x3E, 0x00, // 7A 0x0E, 0x18, 0x18, 0x30, 0x18, 0x18, 0x0E, 0x00, // 7B 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, // 7C 0x38, 0x0C, 0x0C, 0x06, 0x0C, 0x0C, 0x38, 0x00, // 7D 0x2A, 0x15, 0x2A, 0x15, 0x2A, 0x15, 0x2A, 0x15, // 7E 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, 0x3F, // 7F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 80 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 81 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 82 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 83 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 84 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 85 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 86 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 87 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 88 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 89 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8A 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8B 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8C 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8D 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 8F 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 90 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 91 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 92 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 93 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 94 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 95 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 96 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 97 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 98 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 99 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9A 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9B 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9C 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9D 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9E 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 9F 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A0 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, 0xF7, 0xFF, // A1 0xEB, 0xEB, 0xEB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A2 0xEB, 0xEB, 0xC1, 0xEB, 0xC1, 0xEB, 0xEB, 0xFF, // A3 0xF7, 0xE1, 0xD7, 0xE3, 0xF5, 0xC3, 0xF7, 0xFF, // A4 0xCF, 0xCD, 0xFB, 0xF7, 0xEF, 0xD9, 0xF9, 0xFF, // A5 0xEF, 0xD7, 0xD7, 0xEF, 0xD5, 0xDB, 0xE5, 0xFF, // A6 0xF7, 0xF7, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // A7 0xF7, 0xEF, 0xDF, 0xDF, 0xDF, 0xEF, 0xF7, 0xFF, // A8 0xF7, 0xFB, 0xFD, 0xFD, 0xFD, 0xFB, 0xF7, 0xFF, // A9 0xF7, 0xD5, 0xE3, 0xF7, 0xE3, 0xD5, 0xF7, 0xFF, // AA 0xFF, 0xF7, 0xF7, 0xC1, 0xF7, 0xF7, 0xFF, 0xFF, // AB 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xF7, 0xF7, 0xEF, // AC 0xFF, 0xFF, 0xFF, 0xC1, 0xFF, 0xFF, 0xFF, 0xFF, // AD 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xFF, 0xFF, // AE 0xFF, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xFF, 0xFF, // AF 0xE3, 0xDD, 0xD9, 0xD5, 0xCD, 0xDD, 0xE3, 0xFF, // B0 0xF7, 0xE7, 0xF7, 0xF7, 0xF7, 0xF7, 0xE3, 0xFF, // B1 0xE3, 0xDD, 0xFD, 0xFB, 0xF7, 0xEF, 0xC1, 0xFF, // B2 0xC1, 0xFD, 0xFB, 0xF3, 0xFD, 0xDD, 0xE3, 0xFF, // B3 0xFB, 0xF3, 0xEB, 0xDB, 0xC1, 0xFB, 0xFB, 0xFF, // B4 0xC1, 0xDF, 0xC3, 0xFD, 0xFD, 0xDD, 0xE3, 0xFF, // B5 0xF3, 0xEF, 0xDF, 0xC3, 0xDD, 0xDD, 0xE3, 0xFF, // B6 0xC1, 0xFD, 0xFB, 0xF7, 0xEF, 0xEF, 0xEF, 0xFF, // B7 0xE3, 0xDD, 0xDD, 0xE3, 0xDD, 0xDD, 0xE3, 0xFF, // B8 0xE3, 0xDD, 0xDD, 0xE1, 0xFD, 0xFB, 0xE7, 0xFF, // B9 0xFF, 0xFF, 0xF7, 0xFF, 0xFF, 0xF7, 0xFF, 0xFF, // BA 0xFF, 0xFF, 0xF7, 0xFF, 0xFF, 0xF7, 0xF7, 0xEF, // BB 0xFB, 0xF7, 0xEF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFF, // BC 0xFF, 0xFF, 0xC1, 0xFF, 0xC1, 0xFF, 0xFF, 0xFF, // BD 0xEF, 0xF7, 0xFB, 0xFD, 0xFB, 0xF7, 0xEF, 0xFF, // BE 0xE3, 0xDD, 0xFB, 0xF7, 0xF7, 0xFF, 0xF7, 0xFF, // BF 0xE3, 0xDD, 0xD5, 0xD1, 0xD3, 0xDF, 0xE1, 0xFF, // C0 0xF7, 0xEB, 0xDD, 0xDD, 0xC1, 0xDD, 0xDD, 0xFF, // C1 0xC3, 0xDD, 0xDD, 0xC3, 0xDD, 0xDD, 0xC3, 0xFF, // C2 0xE3, 0xDD, 0xDF, 0xDF, 0xDF, 0xDD, 0xE3, 0xFF, // C3 0xC3, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xC3, 0xFF, // C4 0xC1, 0xDF, 0xDF, 0xC3, 0xDF, 0xDF, 0xC1, 0xFF, // C5 0xC1, 0xDF, 0xDF, 0xC3, 0xDF, 0xDF, 0xDF, 0xFF, // C6 0xE1, 0xDF, 0xDF, 0xDF, 0xD9, 0xDD, 0xE1, 0xFF, // C7 0xDD, 0xDD, 0xDD, 0xC1, 0xDD, 0xDD, 0xDD, 0xFF, // C8 0xE3, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xE3, 0xFF, // C9 0xFD, 0xFD, 0xFD, 0xFD, 0xFD, 0xDD, 0xE3, 0xFF, // CA 0xDD, 0xDB, 0xD7, 0xCF, 0xD7, 0xDB, 0xDD, 0xFF, // CB 0xDF, 0xDF, 0xDF, 0xDF, 0xDF, 0xDF, 0xC1, 0xFF, // CC 0xDD, 0xC9, 0xD5, 0xD5, 0xDD, 0xDD, 0xDD, 0xFF, // CD 0xDD, 0xDD, 0xCD, 0xD5, 0xD9, 0xDD, 0xDD, 0xFF, // CE 0xE3, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xE3, 0xFF, // CF 0xC3, 0xDD, 0xDD, 0xC3, 0xDF, 0xDF, 0xDF, 0xFF, // D0 0xE3, 0xDD, 0xDD, 0xDD, 0xD5, 0xDB, 0xE5, 0xFF, // D1 0xC3, 0xDD, 0xDD, 0xC3, 0xD7, 0xDB, 0xDD, 0xFF, // D2 0xE3, 0xDD, 0xDF, 0xE3, 0xFD, 0xDD, 0xE3, 0xFF, // D3 0xC1, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, // D4 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xE3, 0xFF, // D5 0xDD, 0xDD, 0xDD, 0xDD, 0xDD, 0xEB, 0xF7, 0xFF, // D6 0xDD, 0xDD, 0xDD, 0xD5, 0xD5, 0xC9, 0xDD, 0xFF, // D7 0xDD, 0xDD, 0xEB, 0xF7, 0xEB, 0xDD, 0xDD, 0xFF, // D8 0xDD, 0xDD, 0xEB, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, // D9 0xC1, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xC1, 0xFF, // DA 0xE1, 0xEF, 0xEF, 0xEF, 0xEF, 0xEF, 0xE1, 0xFF, // DB 0xFF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD, 0xFF, 0xFF, // DC 0xC3, 0xFB, 0xFB, 0xFB, 0xFB, 0xFB, 0xC3, 0xFF, // DD 0xF7, 0xEB, 0xD5, 0xF7, 0xF7, 0xF7, 0xF7, 0xFF, // DE 0xF1, 0xEE, 0xC3, 0xEF, 0xC3, 0xEE, 0xF1, 0xFF, // DF 0xF3, 0xED, 0xD2, 0xD6, 0xD6, 0xD2, 0xED, 0xF3, // E0 0xFF, 0xFF, 0xE3, 0xFD, 0xE1, 0xDD, 0xE1, 0xFF, // E1 0xDF, 0xDF, 0xC3, 0xDD, 0xDD, 0xDD, 0xC3, 0xFF, // E2 0xFF, 0xFF, 0xE1, 0xDF, 0xDF, 0xDF, 0xE1, 0xFF, // E3 0xFD, 0xFD, 0xE1, 0xDD, 0xDD, 0xDD, 0xE1, 0xFF, // E4 0xFF, 0xFF, 0xE3, 0xDD, 0xC1, 0xDF, 0xE1, 0xFF, // E5 0xF3, 0xED, 0xEF, 0xC3, 0xEF, 0xEF, 0xEF, 0xFF, // E6 0xFF, 0xFF, 0xE3, 0xDD, 0xDD, 0xE1, 0xFD, 0xE3, // E7 0xDF, 0xDF, 0xC3, 0xDD, 0xDD, 0xDD, 0xDD, 0xFF, // E8 0xF7, 0xFF, 0xE7, 0xF7, 0xF7, 0xF7, 0xE3, 0xFF, // E9 0xFB, 0xFF, 0xF3, 0xFB, 0xFB, 0xFB, 0xDB, 0xE7, // EA 0xDF, 0xDF, 0xDD, 0xDB, 0xC7, 0xDB, 0xDD, 0xFF, // EB 0xE7, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xE3, 0xFF, // EC 0xFF, 0xFF, 0xC9, 0xD5, 0xD5, 0xD5, 0xDD, 0xFF, // ED 0xFF, 0xFF, 0xC3, 0xDD, 0xDD, 0xDD, 0xDD, 0xFF, // EE 0xFF, 0xFF, 0xE3, 0xDD, 0xDD, 0xDD, 0xE3, 0xFF, // EF 0xFF, 0xFF, 0xC3, 0xDD, 0xDD, 0xC3, 0xDF, 0xDF, // F0 0xFF, 0xFF, 0xE1, 0xDD, 0xDD, 0xE1, 0xFD, 0xFD, // F1 0xFF, 0xFF, 0xD1, 0xCF, 0xDF, 0xDF, 0xDF, 0xFF, // F2 0xFF, 0xFF, 0xE1, 0xDF, 0xE3, 0xFD, 0xC3, 0xFF, // F3 0xEF, 0xEF, 0xC3, 0xEF, 0xEF, 0xED, 0xF3, 0xFF, // F4 0xFF, 0xFF, 0xDD, 0xDD, 0xDD, 0xD9, 0xE5, 0xFF, // F5 0xFF, 0xFF, 0xDD, 0xDD, 0xDD, 0xEB, 0xF7, 0xFF, // F6 0xFF, 0xFF, 0xDD, 0xDD, 0xD5, 0xD5, 0xC9, 0xFF, // F7 0xFF, 0xFF, 0xDD, 0xEB, 0xF7, 0xEB, 0xDD, 0xFF, // F8 0xFF, 0xFF, 0xDD, 0xDD, 0xDD, 0xE1, 0xFD, 0xE3, // F9 0xFF, 0xFF, 0xC1, 0xFB, 0xF7, 0xEF, 0xC1, 0xFF, // FA 0xF1, 0xE7, 0xE7, 0xCF, 0xE7, 0xE7, 0xF1, 0xFF, // FB 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, 0xF7, // FC 0xC7, 0xF3, 0xF3, 0xF9, 0xF3, 0xF3, 0xC7, 0xFF, // FD 0xD5, 0xEA, 0xD5, 0xEA, 0xD5, 0xEA, 0xD5, 0xEA, // FE 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, // FF }; /* Embedded source code compiled with: sokol-shdc -i debugtext.glsl -o debugtext.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgsl -b (not that for Metal and D3D11 byte code, sokol-shdc must be run on macOS and Windows) @vs vs in vec2 position; in vec2 texcoord0; in vec4 color0; out vec2 uv; out vec4 color; void main() { gl_Position = vec4(position * vec2(2.0, -2.0) + vec2(-1.0, +1.0), 0.0, 1.0); uv = texcoord0; color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; in vec2 uv; in vec4 color; out vec4 frag_color; void main() { frag_color = texture(sampler2D(tex, smp), uv).xxxx * color; } @end @program debugtext vs fs */ #if defined(SOKOL_GLCORE) static const uint8_t _sdtx_vs_source_glsl410[343] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x6c,0x61, 0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20, 0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65, 0x63,0x32,0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f, 0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76, 0x65,0x63,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x31,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x66, 0x6d,0x61,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x76,0x65,0x63, 0x32,0x28,0x32,0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x76,0x65, 0x63,0x32,0x28,0x2d,0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x2c,0x20, 0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75, 0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sdtx_fs_source_glsl410[224] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65, 0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x2e,0x78,0x78, 0x78,0x78,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _sdtx_vs_source_glsl300es[301] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74, 0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79, 0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32, 0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x2a,0x20,0x76,0x65,0x63,0x32,0x28,0x32,0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e, 0x30,0x29,0x20,0x2b,0x20,0x76,0x65,0x63,0x32,0x28,0x2d,0x31,0x2e,0x30,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sdtx_fs_source_glsl300es[255] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20, 0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x32,0x20,0x75, 0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61, 0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x2e,0x78,0x78,0x78, 0x78,0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _sdtx_vs_bytecode_metal_macos[2796] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0xfe,0xa3,0xdd,0x3f,0xa3,0x19,0x66, 0x48,0xdb,0x53,0x17,0xfa,0x47,0xab,0xcd,0x1c,0x32,0x10,0x34,0x47,0xde,0x1e,0x11, 0x5c,0xfd,0x36,0x7a,0xb2,0xbe,0x26,0x50,0xa3,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xcc,0x09,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0x70,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x82,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x00,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x18,0xc2,0xff,0xff,0xff,0xff,0x0f,0x80,0x04,0x50,0x00, 0x49,0x18,0x00,0x00,0x02,0x00,0x00,0x00,0x13,0x82,0x60,0x42,0x20,0x00,0x00,0x00, 0x89,0x20,0x00,0x00,0x11,0x00,0x00,0x00,0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04, 0x13,0x22,0xa4,0x84,0x04,0x13,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c, 0x0b,0x84,0x84,0x4c,0x10,0x34,0x33,0x00,0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76, 0x08,0x91,0x42,0x4c,0x84,0x10,0x15,0x22,0x22,0x82,0x6c,0x20,0x60,0x8e,0x00,0x0c, 0x52,0x20,0x87,0x11,0x88,0x64,0x04,0x00,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48, 0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83, 0x76,0x08,0x87,0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38, 0x70,0x03,0x38,0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0, 0x07,0x78,0xd0,0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e, 0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73, 0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40, 0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10, 0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07, 0x76,0x40,0x07,0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a, 0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20, 0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07, 0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72, 0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0, 0x06,0xf6,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07, 0x71,0x20,0x07,0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70, 0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0, 0x07,0x71,0x60,0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x29,0x00,0x00,0x08,0x00,0x00, 0x00,0x00,0x00,0x18,0xc2,0x1c,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64,0x81, 0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90, 0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0xca,0x12,0x18,0x01,0x28,0x82,0x42,0x28,0x08, 0xd2,0xb1,0x84,0x26,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0xb1,0x00,0x00,0x00, 0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7, 0x21,0x46,0x42,0x20,0x80,0x72,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3, 0x2b,0x1b,0x62,0x24,0x02,0x22,0x24,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4, 0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac, 0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0x80,0x10, 0x43,0x8c,0x44,0x48,0x8c,0x64,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x41,0x8e, 0x44,0x48,0x84,0x64,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56, 0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56, 0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65, 0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c, 0x65,0x43,0x04,0x64,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1, 0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95, 0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x90,0x86,0x51, 0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d, 0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69, 0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34, 0xcc,0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9, 0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20,0x0f,0x02,0x21,0x11,0x22,0x21,0x13, 0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6, 0xf6,0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08,0x83,0x3c,0x88,0x85, 0x44,0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e, 0xed,0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10, 0x05,0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86,0x18,0x48,0x85,0x64,0x08,0x47,0x28, 0x2c,0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e, 0x52,0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b, 0x59,0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32,0x32,0x94,0xaf,0xaf, 0xb0,0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf, 0xaf,0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43,0xa8,0x64,0x40,0x3c, 0xe4,0x4b,0x86,0x44,0x40,0xc0,0x00,0x89,0x10,0x09,0x99,0x90,0x30,0x60,0x42,0x57, 0x86,0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84,0x4a,0x04,0xc4,0x43,0xbe,0x44,0x48, 0x04,0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72, 0x30,0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88,0x44,0x40,0xc0,0x00,0x89,0x90,0x0b, 0x99,0x90,0x32,0x18,0x62,0x20,0x62,0x80,0x90,0x01,0x62,0x06,0x43,0x8c,0x02,0x40, 0x3a,0xe4,0x0c,0x46,0x44,0xec,0xc0,0x0e,0xf6,0xd0,0x0e,0x6e,0xd0,0x0e,0xef,0x40, 0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0,0x0e,0xe1,0x70,0x0e,0xf3,0x30,0x45, 0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b,0xa4,0x03,0x39,0x94,0x83, 0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39, 0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94,0xc0,0x18,0x41,0x85,0x43,0x3a,0xc8, 0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4,0x43,0x38,0x9c,0x43,0x39,0xfc,0x82, 0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83,0x3b,0x4c,0x09,0x90,0x11,0x53,0x38, 0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b,0xc0,0x43,0x3a,0xb0,0x43,0x39,0xfc, 0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x3c,0x4c,0x19,0x14,0xc6,0x19, 0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8,0x03,0x3d,0x94,0x03,0x3e, 0x4c,0x09,0xd0,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c, 0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07, 0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e, 0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43, 0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c, 0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76, 0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e, 0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8, 0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4, 0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68, 0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07, 0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71, 0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5, 0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4, 0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90, 0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43, 0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b, 0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78, 0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2, 0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20, 0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0, 0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83, 0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07, 0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61, 0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d, 0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39, 0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79, 0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3, 0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4, 0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8, 0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83, 0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x05,0x00,0x00,0x00, 0x06,0x50,0x30,0x00,0xd2,0xd0,0x16,0xd0,0x00,0x48,0xe4,0x17,0x0c,0xe0,0x57,0x76, 0x71,0xdb,0x00,0x00,0x61,0x20,0x00,0x00,0x1b,0x00,0x00,0x00,0x13,0x04,0x41,0x2c, 0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0xb4,0x63,0x11,0x40,0x60,0x1c,0x73,0x10, 0x83,0xd0,0x34,0x94,0x33,0x00,0x14,0x63,0x09,0x20,0x08,0x82,0x20,0x18,0x80,0x20, 0x08,0x82,0xe0,0x30,0x96,0x00,0x82,0x20,0x88,0xff,0x02,0x08,0x82,0x20,0xfe,0xcd, 0x00,0x90,0xcc,0x41,0x54,0x15,0x35,0xd1,0xcc,0x00,0x10,0x8c,0x11,0x80,0x20,0x08, 0xe2,0xdf,0x08,0xc0,0x0c,0x00,0x00,0x00,0x23,0x06,0x86,0x10,0x54,0x0e,0x72,0x0c, 0x32,0x04,0xc7,0x32,0xc8,0x10,0x1c,0xcd,0x6c,0xc3,0x01,0x01,0xb3,0x0d,0x01,0x14, 0xcc,0x36,0x04,0x83,0x90,0x01,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sdtx_fs_bytecode_metal_macos[2825] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x09,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x30,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xf6,0x61,0xa5,0x24,0x2e,0x8e,0x25, 0x56,0xa9,0xb9,0xe4,0x35,0x58,0x0f,0xd8,0xb4,0x32,0x8b,0xbc,0x73,0xb0,0x70,0xbe, 0x5d,0x66,0xf0,0xf4,0x12,0x93,0x26,0xe5,0xdd,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x1c,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x84,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1e,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x4c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x30,0x02,0xb1,0x8c,0x00,0x00,0x00,0x00,0x00,0x13,0xb2,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x76,0x08,0x87,0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83, 0x38,0x70,0x03,0x38,0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78, 0xa0,0x07,0x78,0xd0,0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90, 0x0e,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e, 0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76, 0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20, 0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30, 0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07, 0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71, 0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20, 0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f, 0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76, 0xd0,0x06,0xf6,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50, 0x07,0x71,0x20,0x07,0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78, 0xa0,0x07,0x71,0x60,0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00, 0x00,0x00,0x00,0x00,0x18,0xc2,0x38,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64, 0x81,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c, 0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50, 0x10,0x65,0x40,0x70,0x2c,0xa1,0x09,0x00,0x00,0x79,0x18,0x00,0x00,0xb9,0x00,0x00, 0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37, 0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b, 0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c, 0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26, 0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac, 0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0, 0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79, 0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6, 0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6, 0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62, 0x6c,0x65,0x43,0x84,0x67,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5, 0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99, 0x95,0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86, 0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59, 0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f, 0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c, 0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd, 0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08, 0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b, 0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c, 0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72, 0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34,0xcc,0xd8,0xde, 0xc2,0xe8,0x64,0x28,0xd4,0xd9,0x0d,0x91,0x96,0xe1,0xb1,0x9e,0xeb,0xc1,0x9e,0xec, 0x81,0x1e,0xed,0x91,0x9e,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x5b, 0x4c,0x0a,0x8b,0xb1,0x37,0xb6,0x37,0xb9,0x21,0xd2,0x22,0x3c,0xd6,0xd3,0x3d,0xd8, 0x93,0x3d,0xd0,0x13,0x3d,0xd2,0xe3,0x71,0x09,0x4b,0x93,0x73,0xa1,0x2b,0xc3,0xa3, 0xab,0x93,0x2b,0xa3,0x14,0x96,0x26,0xe7,0xc2,0xf6,0x36,0x16,0x46,0x97,0xf6,0xe6, 0xf6,0x95,0xe6,0x46,0x56,0x86,0x47,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e, 0xad,0x8c,0x18,0x5d,0x19,0x1e,0x5d,0x9d,0x5c,0x99,0x0c,0x19,0x8f,0x19,0xdb,0x5b, 0x18,0x1d,0x0b,0xc8,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x0f,0x07,0xba,0x32,0xbc,0x21, 0xd4,0x42,0x3c,0x60,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x23,0x06,0x0f,0xf4,0x8c,0xc1, 0x23,0x3d,0x64,0xc0,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x4c,0x8e, 0xc7,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x87,0xb9,0x36,0xb8,0x21,0xd2,0x72,0x3c, 0x66,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x03,0x3d,0x67,0xf0,0x48,0x0f,0x1a,0x0c,0x41, 0x1e,0xee,0xf9,0x9e,0x32,0x78,0xd2,0x60,0x88,0x91,0x00,0x4f,0xf5,0xa8,0xc1,0x88, 0x88,0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xda,0xe1,0x1d,0xc8,0xa1,0x1e,0xd8,0xa1, 0x1c,0xdc,0xc0,0x1c,0xd8,0x21,0x1c,0xce,0x61,0x1e,0xa6,0x08,0xc1,0x30,0x42,0x61, 0x07,0x76,0xb0,0x87,0x76,0x70,0x83,0x74,0x20,0x87,0x72,0x70,0x07,0x7a,0x98,0x12, 0x14,0x23,0x96,0x70,0x48,0x07,0x79,0x70,0x03,0x7b,0x28,0x07,0x79,0x98,0x87,0x74, 0x78,0x07,0x77,0x98,0x12,0x18,0x23,0xa8,0x70,0x48,0x07,0x79,0x70,0x03,0x76,0x08, 0x07,0x77,0x38,0x87,0x7a,0x08,0x87,0x73,0x28,0x87,0x5f,0xb0,0x87,0x72,0x90,0x87, 0x79,0x48,0x87,0x77,0x70,0x87,0x29,0x01,0x32,0x62,0x0a,0x87,0x74,0x90,0x07,0x37, 0x18,0x87,0x77,0x68,0x07,0x78,0x48,0x07,0x76,0x28,0x87,0x5f,0x78,0x07,0x78,0xa0, 0x87,0x74,0x78,0x07,0x77,0x98,0x87,0x29,0x83,0xc2,0x38,0x23,0x98,0x70,0x48,0x07, 0x79,0x70,0x03,0x73,0x90,0x87,0x70,0x38,0x87,0x76,0x28,0x07,0x77,0xa0,0x87,0x29, 0xc1,0x1a,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80, 0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80, 0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80, 0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88, 0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78, 0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03, 0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f, 0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c, 0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39, 0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60, 0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87, 0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e, 0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c, 0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6, 0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94, 0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03, 0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07, 0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f, 0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33, 0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc, 0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c, 0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78, 0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca, 0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21, 0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43, 0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87, 0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c, 0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e, 0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c, 0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c, 0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00, 0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45, 0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00, 0x00,0x61,0x20,0x00,0x00,0x0f,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00, 0x00,0x06,0x00,0x00,0x00,0x14,0x47,0x00,0x88,0x8d,0x00,0x90,0x1a,0x01,0xa8,0x01, 0x12,0x33,0x00,0x14,0x66,0x00,0x08,0x8c,0x00,0x00,0x00,0x00,0x00,0x23,0x06,0x8a, 0x10,0x4c,0x09,0xb2,0x10,0x46,0x11,0x0c,0x32,0x04,0x03,0x62,0x01,0x23,0x9f,0xd9, 0x06,0x23,0x00,0x32,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sdtx_vs_bytecode_metal_ios[2796] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x09,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0xba,0x9f,0x15,0xc2,0x1c,0x90,0x81, 0x14,0x52,0x1d,0xff,0x02,0xbe,0x84,0x58,0x4b,0x16,0xdb,0x77,0xe8,0xfc,0xb2,0x67, 0xb1,0x23,0xf1,0x84,0xb0,0x8d,0xed,0xb3,0x81,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xc4,0x09,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0x6e,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x82,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x00,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x18,0xc2,0xff,0xff,0xff,0xff,0x0f,0x80,0x04,0x50,0x00, 0x49,0x18,0x00,0x00,0x02,0x00,0x00,0x00,0x13,0x82,0x60,0x42,0x20,0x00,0x00,0x00, 0x89,0x20,0x00,0x00,0x11,0x00,0x00,0x00,0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04, 0x13,0x22,0xa4,0x84,0x04,0x13,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c, 0x0b,0x84,0x84,0x4c,0x10,0x34,0x33,0x00,0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76, 0x08,0x91,0x42,0x4c,0x84,0x10,0x15,0x22,0x22,0x82,0x6c,0x20,0x60,0x8e,0x00,0x0c, 0x52,0x20,0x87,0x11,0x88,0x64,0x04,0x00,0x00,0x00,0x00,0x00,0x13,0xa8,0x70,0x48, 0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83, 0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e, 0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0, 0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0, 0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6, 0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07, 0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6, 0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80, 0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07, 0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75, 0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0, 0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07, 0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70, 0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20, 0x07,0x43,0x98,0x02,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0xcc,0x01,0x04, 0x80,0x00,0x00,0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0xca, 0x12,0x18,0x01,0x28,0x82,0x42,0x28,0x08,0xd2,0xb1,0x04,0x48,0x00,0x00,0x00,0x00, 0x79,0x18,0x00,0x00,0xb1,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25, 0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0x46,0x42,0x20,0x80,0x72,0x50,0xb9, 0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x24,0x02,0x22,0x24,0x05, 0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c, 0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04, 0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6, 0xe6,0xc6,0x45,0x26,0x65,0x88,0x80,0x10,0x43,0x8c,0x44,0x48,0x8c,0x64,0x60,0xd1, 0x54,0x46,0x17,0xc6,0x36,0x04,0x41,0x8e,0x44,0x48,0x84,0x64,0xe0,0x16,0x96,0x26, 0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36, 0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72, 0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61, 0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x64,0x21,0x19,0x84,0xa5, 0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89, 0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89, 0xb1,0x95,0x0d,0x11,0x90,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19, 0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7, 0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70, 0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5, 0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20, 0x0f,0x02,0x21,0x11,0x22,0x21,0x13,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b, 0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6,0xf6,0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed, 0x4d,0x6e,0x08,0x83,0x3c,0x88,0x85,0x44,0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d, 0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb, 0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10,0x05,0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86, 0x18,0x48,0x85,0x64,0x08,0x47,0x28,0x2c,0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c, 0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x52,0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18, 0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b,0x59,0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9, 0x30,0xba,0x32,0x32,0x94,0xaf,0xaf,0xb0,0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32, 0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf,0xaf,0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x43,0xa8,0x64,0x40,0x3c,0xe4,0x4b,0x86,0x44,0x40,0xc0,0x00,0x89,0x10, 0x09,0x99,0x90,0x30,0x60,0x42,0x57,0x86,0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84, 0x4a,0x04,0xc4,0x43,0xbe,0x44,0x48,0x04,0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19, 0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88, 0x44,0x40,0xc0,0x00,0x89,0x90,0x0b,0x99,0x90,0x32,0x18,0x62,0x20,0x62,0x80,0x90, 0x01,0x62,0x06,0x43,0x8c,0x02,0x40,0x3a,0xe4,0x0c,0x46,0x44,0xec,0xc0,0x0e,0xf6, 0xd0,0x0e,0x6e,0xd0,0x0e,0xef,0x40,0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0, 0x0e,0xe1,0x70,0x0e,0xf3,0x30,0x45,0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4, 0x83,0x1b,0xa4,0x03,0x39,0x94,0x83,0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43, 0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94, 0xc0,0x18,0x41,0x85,0x43,0x3a,0xc8,0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4, 0x43,0x38,0x9c,0x43,0x39,0xfc,0x82,0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83, 0x3b,0x4c,0x09,0x90,0x11,0x53,0x38,0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b, 0xc0,0x43,0x3a,0xb0,0x43,0x39,0xfc,0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8, 0xc3,0x3c,0x4c,0x19,0x14,0xc6,0x19,0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43, 0x39,0xc8,0x03,0x3d,0x94,0x03,0x3e,0x4c,0x09,0xd0,0x00,0x00,0x79,0x18,0x00,0x00, 0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88, 0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6, 0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce, 0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8, 0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48, 0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11, 0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e, 0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89, 0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b, 0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37, 0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78, 0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81, 0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1, 0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c, 0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39, 0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc, 0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58, 0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87, 0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f, 0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e, 0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66, 0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0, 0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e, 0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc, 0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3, 0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07, 0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e, 0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e, 0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d, 0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00, 0x71,0x20,0x00,0x00,0x05,0x00,0x00,0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x16,0xd0, 0x00,0x48,0xe4,0x17,0x0c,0xe0,0x57,0x76,0x71,0xdb,0x00,0x00,0x61,0x20,0x00,0x00, 0x1b,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x10,0x00,0x00,0x00, 0xb4,0x63,0x11,0x40,0x60,0x1c,0x73,0x10,0x83,0xd0,0x34,0x94,0x33,0x00,0x14,0x63, 0x09,0x20,0x08,0x82,0x20,0x18,0x80,0x20,0x08,0x82,0xe0,0x30,0x96,0x00,0x82,0x20, 0x88,0xff,0x02,0x08,0x82,0x20,0xfe,0xcd,0x00,0x90,0xcc,0x41,0x54,0x15,0x35,0xd1, 0xcc,0x00,0x10,0x8c,0x11,0x80,0x20,0x08,0xe2,0xdf,0x08,0xc0,0x0c,0x00,0x00,0x00, 0x23,0x06,0x86,0x10,0x54,0x0e,0x72,0x0c,0x32,0x04,0xc7,0x32,0xc8,0x10,0x1c,0xcd, 0x6c,0xc3,0x01,0x01,0xb3,0x0d,0x01,0x14,0xcc,0x36,0x04,0x83,0x90,0x01,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sdtx_fs_bytecode_metal_ios[2825] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x09,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x30,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0x5c,0x3b,0x31,0x10,0xb3,0x9b,0xe2, 0x6d,0x48,0xbf,0xdd,0x8e,0xac,0x5d,0xcc,0x7d,0x7b,0xba,0xe9,0xfb,0xe5,0xd0,0xdd, 0xf7,0xec,0x82,0x0c,0xb9,0x6a,0xd2,0x30,0x4d,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x14,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x82,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1e,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x4c,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x30,0x02,0xb1,0x8c,0x00,0x00,0x00,0x00,0x00,0x13,0xa8,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51, 0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78, 0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76, 0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0, 0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90, 0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06, 0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72, 0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10, 0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73, 0x20,0x07,0x43,0x98,0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0x8c,0x03, 0x04,0x80,0x00,0x00,0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00, 0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43, 0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70,0x2c,0x01,0x12,0x00, 0x00,0x79,0x18,0x00,0x00,0xb9,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2, 0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50, 0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c, 0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae, 0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06, 0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5, 0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60, 0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96, 0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7, 0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69, 0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d, 0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x67,0x21,0x19,0x84, 0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95, 0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85, 0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59, 0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9, 0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8, 0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e, 0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08,0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e, 0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99, 0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37, 0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74, 0x69,0x76,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28,0xd4,0xd9,0x0d,0x91,0x96, 0xe1,0xb1,0x9e,0xeb,0xc1,0x9e,0xec,0x81,0x1e,0xed,0x91,0x9e,0x8d,0x4b,0xdd,0x5c, 0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1,0x37,0xb6,0x37,0xb9,0x21, 0xd2,0x22,0x3c,0xd6,0xd3,0x3d,0xd8,0x93,0x3d,0xd0,0x13,0x3d,0xd2,0xe3,0x71,0x09, 0x4b,0x93,0x73,0xa1,0x2b,0xc3,0xa3,0xab,0x93,0x2b,0xa3,0x14,0x96,0x26,0xe7,0xc2, 0xf6,0x36,0x16,0x46,0x97,0xf6,0xe6,0xf6,0x95,0xe6,0x46,0x56,0x86,0x47,0x25,0x2c, 0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x8c,0x18,0x5d,0x19,0x1e,0x5d,0x9d,0x5c, 0x99,0x0c,0x19,0x8f,0x19,0xdb,0x5b,0x18,0x1d,0x0b,0xc8,0x5c,0x58,0x1b,0x1c,0x5b, 0x99,0x0f,0x07,0xba,0x32,0xbc,0x21,0xd4,0x42,0x3c,0x60,0xf0,0x84,0xc1,0x32,0x2c, 0xc2,0x23,0x06,0x0f,0xf4,0x8c,0xc1,0x23,0x3d,0x64,0xc0,0x25,0x2c,0x4d,0xce,0x65, 0x2e,0xac,0x0d,0x8e,0xad,0x4c,0x8e,0xc7,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x87, 0xb9,0x36,0xb8,0x21,0xd2,0x72,0x3c,0x66,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x03,0x3d, 0x67,0xf0,0x48,0x0f,0x1a,0x0c,0x41,0x1e,0xee,0xf9,0x9e,0x32,0x78,0xd2,0x60,0x88, 0x91,0x00,0x4f,0xf5,0xa8,0xc1,0x88,0x88,0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xda, 0xe1,0x1d,0xc8,0xa1,0x1e,0xd8,0xa1,0x1c,0xdc,0xc0,0x1c,0xd8,0x21,0x1c,0xce,0x61, 0x1e,0xa6,0x08,0xc1,0x30,0x42,0x61,0x07,0x76,0xb0,0x87,0x76,0x70,0x83,0x74,0x20, 0x87,0x72,0x70,0x07,0x7a,0x98,0x12,0x14,0x23,0x96,0x70,0x48,0x07,0x79,0x70,0x03, 0x7b,0x28,0x07,0x79,0x98,0x87,0x74,0x78,0x07,0x77,0x98,0x12,0x18,0x23,0xa8,0x70, 0x48,0x07,0x79,0x70,0x03,0x76,0x08,0x07,0x77,0x38,0x87,0x7a,0x08,0x87,0x73,0x28, 0x87,0x5f,0xb0,0x87,0x72,0x90,0x87,0x79,0x48,0x87,0x77,0x70,0x87,0x29,0x01,0x32, 0x62,0x0a,0x87,0x74,0x90,0x07,0x37,0x18,0x87,0x77,0x68,0x07,0x78,0x48,0x07,0x76, 0x28,0x87,0x5f,0x78,0x07,0x78,0xa0,0x87,0x74,0x78,0x07,0x77,0x98,0x87,0x29,0x83, 0xc2,0x38,0x23,0x98,0x70,0x48,0x07,0x79,0x70,0x03,0x73,0x90,0x87,0x70,0x38,0x87, 0x76,0x28,0x07,0x77,0xa0,0x87,0x29,0xc1,0x1a,0x00,0x00,0x00,0x00,0x79,0x18,0x00, 0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d, 0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c, 0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d, 0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d, 0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79, 0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc, 0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50, 0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30, 0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03, 0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07, 0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76, 0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98, 0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8, 0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21, 0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43, 0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f, 0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70, 0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0, 0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40, 0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41, 0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e, 0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07, 0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f, 0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d, 0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38, 0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88, 0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08, 0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50, 0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01, 0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03, 0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c, 0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00, 0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d, 0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x0f,0x00,0x00, 0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x14,0x47,0x00, 0x88,0x8d,0x00,0x90,0x1a,0x01,0xa8,0x01,0x12,0x33,0x00,0x14,0x66,0x00,0x08,0x8c, 0x00,0x00,0x00,0x00,0x00,0x23,0x06,0x8a,0x10,0x4c,0x09,0xb2,0x10,0x46,0x11,0x0c, 0x32,0x04,0x03,0x62,0x01,0x23,0x9f,0xd9,0x06,0x23,0x00,0x32,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sdtx_vs_source_metal_sim[577] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x20,0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28, 0x6c,0x6f,0x63,0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65, 0x72,0x28,0x6c,0x6f,0x63,0x6e,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x20,0x5b,0x5b,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b, 0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e, 0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74,0x74, 0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64, 0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74, 0x65,0x28,0x32,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x65,0x72,0x74, 0x65,0x78,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20, 0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74, 0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x67, 0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x34,0x28,0x66,0x6d,0x61,0x28,0x69,0x6e,0x2e,0x70,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x32,0x2e,0x30,0x2c, 0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x2d, 0x31,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x29,0x2c,0x20,0x30,0x2e,0x30,0x2c, 0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75, 0x76,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30, 0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x20, 0x3d,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a, 0x00, }; static const uint8_t _sdtx_fs_source_metal_sim[441] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d, 0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f, 0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x66,0x72,0x61,0x67,0x6d,0x65, 0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65, 0x78,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d, 0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b, 0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75, 0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e, 0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78, 0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x2c,0x20,0x69,0x6e,0x2e, 0x75,0x76,0x29,0x2e,0x78,0x78,0x78,0x78,0x20,0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f, 0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20, 0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _sdtx_vs_bytecode_hlsl4[692] = { 0x44,0x58,0x42,0x43,0x07,0x05,0xa0,0xb3,0x53,0xc1,0x0a,0x0d,0x1e,0xf4,0xe4,0xa6, 0x91,0xaf,0x4c,0xca,0x01,0x00,0x00,0x00,0xb4,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0xe4,0x00,0x00,0x00,0x54,0x01,0x00,0x00, 0x38,0x02,0x00,0x00,0x52,0x44,0x45,0x46,0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0x1c,0x00,0x00,0x00,0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66, 0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65, 0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00, 0x49,0x53,0x47,0x4e,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x03,0x00,0x00, 0x50,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x0c,0x00,0x00,0x50,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x0f,0x00,0x00,0x00,0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x54,0x45,0x58,0x43, 0x4f,0x4f,0x52,0x44,0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x00,0xab,0xab,0xab,0x53,0x48,0x44,0x52,0xdc,0x00,0x00,0x00,0x40,0x00,0x01,0x00, 0x37,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x5f,0x00,0x00,0x03, 0xf2,0x10,0x10,0x00,0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0x32,0x20,0x10,0x00, 0x00,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00, 0x67,0x00,0x00,0x04,0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x36,0x00,0x00,0x05,0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00, 0x46,0x1e,0x10,0x00,0x02,0x00,0x00,0x00,0x32,0x00,0x00,0x0f,0x32,0x20,0x10,0x00, 0x02,0x00,0x00,0x00,0x46,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x02,0x40,0x00,0x00, 0x00,0x00,0x00,0x40,0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x02,0x40,0x00,0x00,0x00,0x00,0x80,0xbf,0x00,0x00,0x80,0x3f,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x08,0xc2,0x20,0x10,0x00,0x02,0x00,0x00,0x00, 0x02,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x80,0x3f,0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, }; static const uint8_t _sdtx_fs_bytecode_hlsl4[608] = { 0x44,0x58,0x42,0x43,0xb7,0xcd,0xbd,0xb1,0x6f,0x85,0x5d,0x59,0x07,0x7e,0xa3,0x6e, 0xe2,0x23,0x68,0xa0,0x01,0x00,0x00,0x00,0x60,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x48,0x01,0x00,0x00, 0xe4,0x01,0x00,0x00,0x52,0x44,0x45,0x46,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0x64,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c, 0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x44,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00, 0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x53,0x56,0x5f,0x54, 0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52,0x94,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x5a,0x00,0x00,0x03,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00,0x00,0x00,0x00,0x00, 0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00, 0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x7e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x06,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x01,0x00,0x00,0x00, 0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _sdtx_vs_source_wgsl[922] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70, 0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x3a,0x20,0x76,0x65, 0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74, 0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a, 0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34, 0x66,0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20, 0x7b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x31,0x39,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f, 0x31,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x37,0x20,0x3a,0x20, 0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x28,0x28,0x78,0x5f,0x31,0x39,0x20,0x2a, 0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x32,0x2e,0x30,0x66,0x2c,0x20,0x2d,0x32,0x2e, 0x30,0x66,0x29,0x29,0x20,0x2b,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x2d,0x31,0x2e, 0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x29,0x3b,0x0a,0x20,0x20,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63,0x34, 0x66,0x28,0x78,0x5f,0x32,0x37,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x32,0x37,0x2e,0x79, 0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a,0x20, 0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x32, 0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x20, 0x20,0x75,0x76,0x20,0x3d,0x20,0x78,0x5f,0x33,0x37,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x34,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3d,0x20,0x78,0x5f,0x34,0x31,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72, 0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c,0x74, 0x69,0x6e,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20,0x67, 0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63, 0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x30,0x29,0x0a,0x20,0x20,0x75,0x76,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x32, 0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31, 0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65, 0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x28,0x30,0x29,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78,0x63, 0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65, 0x63,0x32,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x32, 0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a, 0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f, 0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72, 0x64,0x30,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3d, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74, 0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c,0x5f, 0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sdtx_fs_source_wgsl[663] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75, 0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x38, 0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b,0x0a,0x0a,0x40,0x67, 0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67, 0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70,0x20,0x3a,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x34,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x78,0x5f,0x32,0x33,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74, 0x20,0x78,0x5f,0x32,0x38,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f, 0x6c,0x6f,0x72,0x20,0x3d,0x20,0x28,0x76,0x65,0x63,0x34,0x66,0x28,0x78,0x5f,0x32, 0x34,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x32,0x34,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x32, 0x34,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x32,0x34,0x2e,0x78,0x29,0x20,0x2a,0x20,0x78, 0x5f,0x32,0x38,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a, 0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f, 0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x28,0x30,0x29,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40, 0x66,0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b, 0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31, 0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69, 0x6e,0x5f,0x6f,0x75,0x74,0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _sdtx_vs_src_dummy = ""; static const char* _sdtx_fs_src_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif // ███████ ████████ ██████ ██ ██ ██████ ████████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██████ ██ ██ ██ ██ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██ ██ ██ ██████ ██████ ██ ███████ // // >>structs typedef struct { uint32_t id; sg_resource_state state; } _sdtx_slot_t; typedef struct { int size; int queue_top; uint32_t* gen_ctrs; int* free_queue; } _sdtx_pool_t; typedef struct { float x, y; } _sdtx_float2_t; typedef struct { float x, y; uint16_t u, v; uint32_t color; } _sdtx_vertex_t; typedef struct { int layer_id; int first_vertex; int num_vertices; } _sdtx_command_t; typedef struct { _sdtx_slot_t slot; sdtx_context_desc_t desc; uint32_t frame_id; uint32_t update_frame_id; struct { int cap; int next; _sdtx_vertex_t* ptr; } vertices; struct { int cap; int next; _sdtx_command_t* ptr; } commands; sg_buffer vbuf; sg_pipeline pip; int cur_font; int cur_layer_id; _sdtx_float2_t canvas_size; _sdtx_float2_t glyph_size; _sdtx_float2_t origin; _sdtx_float2_t pos; float tab_width; uint32_t color; } _sdtx_context_t; typedef struct { _sdtx_pool_t pool; _sdtx_context_t* contexts; } _sdtx_context_pool_t; typedef struct { uint32_t init_cookie; sdtx_desc_t desc; sg_image font_img; sg_sampler font_smp; sg_shader shader; uint32_t fmt_buf_size; char* fmt_buf; sdtx_context def_ctx_id; sdtx_context cur_ctx_id; _sdtx_context_t* cur_ctx; // may be 0! _sdtx_context_pool_t context_pool; uint8_t font_pixels[SDTX_MAX_FONTS * 256 * 8 * 8]; } _sdtx_t; static _sdtx_t _sdtx; // ██ ██████ ██████ ██████ ██ ███ ██ ██████ // ██ ██ ██ ██ ██ ██ ████ ██ ██ // ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██████ ██████ ██████ ██ ██ ████ ██████ // // >>logging #if defined(SOKOL_DEBUG) #define _SDTX_LOGITEM_XMACRO(item,msg) #item ": " msg, static const char* _sdtx_log_messages[] = { _SDTX_LOG_ITEMS }; #undef _SDTX_LOGITEM_XMACRO #endif // SOKOL_DEBUG #define _SDTX_PANIC(code) _sdtx_log(SDTX_LOGITEM_ ##code, 0, __LINE__) #define _SDTX_ERROR(code) _sdtx_log(SDTX_LOGITEM_ ##code, 1, __LINE__) #define _SDTX_WARN(code) _sdtx_log(SDTX_LOGITEM_ ##code, 2, __LINE__) #define _SDTX_INFO(code) _sdtx_log(SDTX_LOGITEM_ ##code, 3, __LINE__) static void _sdtx_log(sdtx_log_item_t log_item, uint32_t log_level, uint32_t line_nr) { if (_sdtx.desc.logger.func) { #if defined(SOKOL_DEBUG) const char* filename = __FILE__; const char* message = _sdtx_log_messages[log_item]; #else const char* filename = 0; const char* message = 0; #endif _sdtx.desc.logger.func("sdtx", log_level, log_item, message, line_nr, filename, _sdtx.desc.logger.user_data); } else { // for log level PANIC it would be 'undefined behaviour' to continue if (log_level == 0) { abort(); } } } // ███ ███ ███████ ███ ███ ██████ ██████ ██ ██ // ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ██ ██████ ██ ██ ██ // // >>memory static void _sdtx_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } static void* _sdtx_malloc(size_t size) { SOKOL_ASSERT(size > 0); void* ptr; if (_sdtx.desc.allocator.alloc_fn) { ptr = _sdtx.desc.allocator.alloc_fn(size, _sdtx.desc.allocator.user_data); } else { ptr = malloc(size); } if (0 == ptr) { _SDTX_PANIC(MALLOC_FAILED); } return ptr; } static void* _sdtx_malloc_clear(size_t size) { void* ptr = _sdtx_malloc(size); _sdtx_clear(ptr, size); return ptr; } static void _sdtx_free(void* ptr) { if (_sdtx.desc.allocator.free_fn) { _sdtx.desc.allocator.free_fn(ptr, _sdtx.desc.allocator.user_data); } else { free(ptr); } } // ██████ ██████ ███ ██ ████████ ███████ ██ ██ ████████ ██████ ██████ ██████ ██ // ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ █████ ███ ██ ██████ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ████ ██ ███████ ██ ██ ██ ██ ██████ ██████ ███████ // // >>context pool static void _sdtx_init_pool(_sdtx_pool_t* pool, int num) { SOKOL_ASSERT(pool && (num >= 1)); // slot 0 is reserved for the 'invalid id', so bump the pool size by 1 pool->size = num + 1; pool->queue_top = 0; // generation counters indexable by pool slot index, slot 0 is reserved size_t gen_ctrs_size = sizeof(uint32_t) * (size_t)pool->size; pool->gen_ctrs = (uint32_t*) _sdtx_malloc_clear(gen_ctrs_size); // it's not a bug to only reserve 'num' here pool->free_queue = (int*) _sdtx_malloc_clear(sizeof(int) * (size_t)num); // never allocate the zero-th pool item since the invalid id is 0 for (int i = pool->size-1; i >= 1; i--) { pool->free_queue[pool->queue_top++] = i; } } static void _sdtx_discard_pool(_sdtx_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); _sdtx_free(pool->free_queue); pool->free_queue = 0; SOKOL_ASSERT(pool->gen_ctrs); _sdtx_free(pool->gen_ctrs); pool->gen_ctrs = 0; pool->size = 0; pool->queue_top = 0; } static int _sdtx_pool_alloc_index(_sdtx_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); if (pool->queue_top > 0) { int slot_index = pool->free_queue[--pool->queue_top]; SOKOL_ASSERT((slot_index > 0) && (slot_index < pool->size)); return slot_index; } else { // pool exhausted return _SDTX_INVALID_SLOT_INDEX; } } static void _sdtx_pool_free_index(_sdtx_pool_t* pool, int slot_index) { SOKOL_ASSERT((slot_index > _SDTX_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); SOKOL_ASSERT(pool->queue_top < pool->size); #ifdef SOKOL_DEBUG // debug check against double-free for (int i = 0; i < pool->queue_top; i++) { SOKOL_ASSERT(pool->free_queue[i] != slot_index); } #endif pool->free_queue[pool->queue_top++] = slot_index; SOKOL_ASSERT(pool->queue_top <= (pool->size-1)); } static void _sdtx_setup_context_pool(const sdtx_desc_t* desc) { SOKOL_ASSERT(desc); // note: the pool will have an additional item, since slot 0 is reserved SOKOL_ASSERT((desc->context_pool_size > 0) && (desc->context_pool_size < _SDTX_MAX_POOL_SIZE)); _sdtx_init_pool(&_sdtx.context_pool.pool, desc->context_pool_size); size_t pool_byte_size = sizeof(_sdtx_context_t) * (size_t)_sdtx.context_pool.pool.size; _sdtx.context_pool.contexts = (_sdtx_context_t*) _sdtx_malloc_clear(pool_byte_size); } static void _sdtx_discard_context_pool(void) { SOKOL_ASSERT(_sdtx.context_pool.contexts); _sdtx_free(_sdtx.context_pool.contexts); _sdtx.context_pool.contexts = 0; _sdtx_discard_pool(&_sdtx.context_pool.pool); } /* allocate the slot at slot_index: - bump the slot's generation counter - create a resource id from the generation counter and slot index - set the slot's id to this id - set the slot's state to ALLOC - return the resource id */ static uint32_t _sdtx_slot_alloc(_sdtx_pool_t* pool, _sdtx_slot_t* slot, int slot_index) { /* FIXME: add handling for an overflowing generation counter, for now, just overflow (another option is to disable the slot) */ SOKOL_ASSERT(pool && pool->gen_ctrs); SOKOL_ASSERT((slot_index > _SDTX_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT((slot->state == SG_RESOURCESTATE_INITIAL) && (slot->id == SG_INVALID_ID)); uint32_t ctr = ++pool->gen_ctrs[slot_index]; slot->id = (ctr<<_SDTX_SLOT_SHIFT)|(slot_index & _SDTX_SLOT_MASK); slot->state = SG_RESOURCESTATE_ALLOC; return slot->id; } // extract slot index from id static int _sdtx_slot_index(uint32_t id) { int slot_index = (int) (id & _SDTX_SLOT_MASK); SOKOL_ASSERT(_SDTX_INVALID_SLOT_INDEX != slot_index); return slot_index; } // get context pointer without id-check static _sdtx_context_t* _sdtx_context_at(uint32_t ctx_id) { SOKOL_ASSERT(SG_INVALID_ID != ctx_id); int slot_index = _sdtx_slot_index(ctx_id); SOKOL_ASSERT((slot_index > _SDTX_INVALID_SLOT_INDEX) && (slot_index < _sdtx.context_pool.pool.size)); return &_sdtx.context_pool.contexts[slot_index]; } // get context pointer with id-check, returns 0 if no match static _sdtx_context_t* _sdtx_lookup_context(uint32_t ctx_id) { if (SG_INVALID_ID != ctx_id) { _sdtx_context_t* ctx = _sdtx_context_at(ctx_id); if (ctx->slot.id == ctx_id) { return ctx; } } return 0; } // make context handle from raw uint32_t id static sdtx_context _sdtx_make_ctx_id(uint32_t ctx_id) { sdtx_context ctx; ctx.id = ctx_id; return ctx; } static sdtx_context _sdtx_alloc_context(void) { sdtx_context ctx_id; int slot_index = _sdtx_pool_alloc_index(&_sdtx.context_pool.pool); if (_SDTX_INVALID_SLOT_INDEX != slot_index) { ctx_id = _sdtx_make_ctx_id(_sdtx_slot_alloc(&_sdtx.context_pool.pool, &_sdtx.context_pool.contexts[slot_index].slot, slot_index)); } else { // pool is exhausted ctx_id = _sdtx_make_ctx_id(SG_INVALID_ID); } return ctx_id; } static sdtx_context_desc_t _sdtx_context_desc_defaults(const sdtx_context_desc_t* desc) { sdtx_context_desc_t res = *desc; res.max_commands = _sdtx_def(res.max_commands, _SDTX_DEFAULT_MAX_COMMANDS); res.char_buf_size = _sdtx_def(res.char_buf_size, _SDTX_DEFAULT_CHAR_BUF_SIZE); res.canvas_width = _sdtx_def(res.canvas_width, _SDTX_DEFAULT_CANVAS_WIDTH); res.canvas_height = _sdtx_def(res.canvas_height, _SDTX_DEFAULT_CANVAS_HEIGHT); res.tab_width = _sdtx_def(res.tab_width, _SDTX_DEFAULT_TAB_WIDTH); // keep pixel format attrs are passed as is into pipeline creation SOKOL_ASSERT(res.char_buf_size > 0); SOKOL_ASSERT(!isnan(res.canvas_width)); SOKOL_ASSERT(!isnan(res.canvas_height)); SOKOL_ASSERT(res.canvas_width > 0.0f); SOKOL_ASSERT(res.canvas_height > 0.0f); return res; } static void _sdtx_set_layer(_sdtx_context_t* ctx, int layer_id); static void _sdtx_rewind(_sdtx_context_t* ctx) { SOKOL_ASSERT(ctx); ctx->frame_id++; ctx->vertices.next = 0; ctx->commands.next = 0; _sdtx_set_layer(ctx, 0); ctx->cur_font = 0; ctx->pos.x = 0.0f; ctx->pos.y = 0.0f; } static void _sdtx_commit_listener(void* userdata) { _sdtx_context_t* ctx = _sdtx_lookup_context((uint32_t)(uintptr_t)userdata); if (ctx) { _sdtx_rewind(ctx); } } static sg_commit_listener _sdtx_make_commit_listener(_sdtx_context_t* ctx) { sg_commit_listener listener = { _sdtx_commit_listener, (void*)(uintptr_t)(ctx->slot.id) }; return listener; } static void _sdtx_init_context(sdtx_context ctx_id, const sdtx_context_desc_t* in_desc) { sg_push_debug_group("sokol-debugtext"); SOKOL_ASSERT((ctx_id.id != SG_INVALID_ID) && in_desc); _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); SOKOL_ASSERT(ctx); ctx->desc = _sdtx_context_desc_defaults(in_desc); // NOTE: frame_id must be non-zero, so that updates trigger in first frame ctx->frame_id = 1; ctx->vertices.cap = 6 * ctx->desc.char_buf_size; const size_t vbuf_size = (size_t)ctx->vertices.cap * sizeof(_sdtx_vertex_t); ctx->vertices.ptr = (_sdtx_vertex_t*) _sdtx_malloc(vbuf_size); ctx->commands.cap = ctx->desc.max_commands; ctx->commands.ptr = (_sdtx_command_t*) _sdtx_malloc((size_t)ctx->commands.cap * sizeof(_sdtx_command_t)); _sdtx_set_layer(ctx, 0); sg_buffer_desc vbuf_desc; _sdtx_clear(&vbuf_desc, sizeof(vbuf_desc)); vbuf_desc.size = vbuf_size; vbuf_desc.type = SG_BUFFERTYPE_VERTEXBUFFER; vbuf_desc.usage = SG_USAGE_STREAM; vbuf_desc.label = "sdtx-vbuf"; ctx->vbuf = sg_make_buffer(&vbuf_desc); SOKOL_ASSERT(SG_INVALID_ID != ctx->vbuf.id); sg_pipeline_desc pip_desc; _sdtx_clear(&pip_desc, sizeof(pip_desc)); pip_desc.layout.buffers[0].stride = sizeof(_sdtx_vertex_t); pip_desc.layout.attrs[0].format = SG_VERTEXFORMAT_FLOAT2; pip_desc.layout.attrs[1].format = SG_VERTEXFORMAT_USHORT2N; pip_desc.layout.attrs[2].format = SG_VERTEXFORMAT_UBYTE4N; pip_desc.shader = _sdtx.shader; pip_desc.index_type = SG_INDEXTYPE_NONE; pip_desc.sample_count = ctx->desc.sample_count; pip_desc.depth.pixel_format = ctx->desc.depth_format; pip_desc.colors[0].pixel_format = ctx->desc.color_format; pip_desc.colors[0].blend.enabled = true; pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_SRC_ALPHA; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ONE; pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ZERO; pip_desc.label = "sdtx-pipeline"; ctx->pip = sg_make_pipeline(&pip_desc); SOKOL_ASSERT(SG_INVALID_ID != ctx->pip.id); ctx->canvas_size.x = ctx->desc.canvas_width; ctx->canvas_size.y = ctx->desc.canvas_height; ctx->glyph_size.x = 8.0f / ctx->canvas_size.x; ctx->glyph_size.y = 8.0f / ctx->canvas_size.y; ctx->tab_width = (float) ctx->desc.tab_width; ctx->color = _SDTX_DEFAULT_COLOR; if (!sg_add_commit_listener(_sdtx_make_commit_listener(ctx))) { _SDTX_ERROR(ADD_COMMIT_LISTENER_FAILED); } sg_pop_debug_group(); } static void _sdtx_destroy_context(sdtx_context ctx_id) { _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); if (ctx) { if (ctx->vertices.ptr) { _sdtx_free(ctx->vertices.ptr); ctx->vertices.ptr = 0; ctx->vertices.cap = 0; ctx->vertices.next = 0; } if (ctx->commands.ptr) { _sdtx_free(ctx->commands.ptr); ctx->commands.ptr = 0; ctx->commands.cap = 0; ctx->commands.next = 0; } sg_push_debug_group("sokol_debugtext"); sg_destroy_buffer(ctx->vbuf); sg_destroy_pipeline(ctx->pip); sg_remove_commit_listener(_sdtx_make_commit_listener(ctx)); sg_pop_debug_group(); _sdtx_clear(ctx, sizeof(*ctx)); _sdtx_pool_free_index(&_sdtx.context_pool.pool, _sdtx_slot_index(ctx_id.id)); } } static bool _sdtx_is_default_context(sdtx_context ctx_id) { return ctx_id.id == SDTX_DEFAULT_CONTEXT.id; } // ███ ███ ██ ███████ ██████ // ████ ████ ██ ██ ██ // ██ ████ ██ ██ ███████ ██ // ██ ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ██████ // // >>misc // unpack linear 8x8 bits-per-pixel font data into 2D byte-per-pixel texture data static void _sdtx_unpack_font(const sdtx_font_desc_t* font_desc, uint8_t* out_pixels) { SOKOL_ASSERT(font_desc->data.ptr); SOKOL_ASSERT((font_desc->data.size > 0) && ((font_desc->data.size % 8) == 0)); SOKOL_ASSERT(font_desc->first_char <= font_desc->last_char); SOKOL_ASSERT((size_t)(((font_desc->last_char - font_desc->first_char) + 1) * 8) == font_desc->data.size); const uint8_t* ptr = (const uint8_t*) font_desc->data.ptr; for (int chr = font_desc->first_char; chr <= font_desc->last_char; chr++) { for (int line = 0; line < 8; line++) { uint8_t bits = *ptr++; for (int x = 0; x < 8; x++) { out_pixels[line*256*8 + chr*8 + x] = ((bits>>(7-x)) & 1) ? 0xFF : 0x00; } } } } static void _sdtx_setup_common(void) { // common printf formatting buffer _sdtx.fmt_buf_size = (uint32_t) _sdtx.desc.printf_buf_size + 1; _sdtx.fmt_buf = (char*) _sdtx_malloc_clear(_sdtx.fmt_buf_size); sg_push_debug_group("sokol-debugtext"); // common shader for all contexts sg_shader_desc shd_desc; _sdtx_clear(&shd_desc, sizeof(shd_desc)); shd_desc.label = "sokol-debugtext-shader"; shd_desc.attrs[0].name = "position"; shd_desc.attrs[1].name = "texcoord0"; shd_desc.attrs[2].name = "color0"; shd_desc.attrs[0].sem_name = "TEXCOORD"; shd_desc.attrs[0].sem_index = 0; shd_desc.attrs[1].sem_name = "TEXCOORD"; shd_desc.attrs[1].sem_index = 1; shd_desc.attrs[2].sem_name = "TEXCOORD"; shd_desc.attrs[2].sem_index = 2; shd_desc.fs.images[0].used = true; shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D; shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT; shd_desc.fs.samplers[0].used = true; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING; shd_desc.fs.image_sampler_pairs[0].used = true; shd_desc.fs.image_sampler_pairs[0].image_slot = 0; shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0; shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp"; #if defined(SOKOL_GLCORE) shd_desc.vs.source = (const char*)_sdtx_vs_source_glsl410; shd_desc.fs.source = (const char*)_sdtx_fs_source_glsl410; #elif defined(SOKOL_GLES3) shd_desc.vs.source = (const char*)_sdtx_vs_source_glsl300es; shd_desc.fs.source = (const char*)_sdtx_fs_source_glsl300es; #elif defined(SOKOL_METAL) shd_desc.vs.entry = "main0"; shd_desc.fs.entry = "main0"; switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: shd_desc.vs.bytecode = SG_RANGE(_sdtx_vs_bytecode_metal_macos); shd_desc.fs.bytecode = SG_RANGE(_sdtx_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: shd_desc.vs.bytecode = SG_RANGE(_sdtx_vs_bytecode_metal_ios); shd_desc.fs.bytecode = SG_RANGE(_sdtx_fs_bytecode_metal_ios); break; default: shd_desc.vs.source = (const char*)_sdtx_vs_source_metal_sim; shd_desc.fs.source = (const char*)_sdtx_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) shd_desc.vs.bytecode = SG_RANGE(_sdtx_vs_bytecode_hlsl4); shd_desc.fs.bytecode = SG_RANGE(_sdtx_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) shd_desc.vs.source = (const char*)_sdtx_vs_source_wgsl; shd_desc.fs.source = (const char*)_sdtx_fs_source_wgsl; #else shd_desc.vs.source = _sdtx_vs_src_dummy; shd_desc.fs.source = _sdtx_fs_src_dummy; #endif _sdtx.shader = sg_make_shader(&shd_desc); SOKOL_ASSERT(SG_INVALID_ID != _sdtx.shader.id); // unpack font data memset(_sdtx.font_pixels, 0xFF, sizeof(_sdtx.font_pixels)); const int unpacked_font_size = (int) (sizeof(_sdtx.font_pixels) / SDTX_MAX_FONTS); for (int i = 0; i < SDTX_MAX_FONTS; i++) { if (_sdtx.desc.fonts[i].data.ptr) { _sdtx_unpack_font(&_sdtx.desc.fonts[i], &_sdtx.font_pixels[i * unpacked_font_size]); } } // create font texture and sampler sg_image_desc img_desc; _sdtx_clear(&img_desc, sizeof(img_desc)); img_desc.width = 256 * 8; img_desc.height = SDTX_MAX_FONTS * 8; img_desc.pixel_format = SG_PIXELFORMAT_R8; img_desc.data.subimage[0][0] = SG_RANGE(_sdtx.font_pixels); img_desc.label = "sdtx-font-texture"; _sdtx.font_img = sg_make_image(&img_desc); SOKOL_ASSERT(SG_INVALID_ID != _sdtx.font_img.id); sg_sampler_desc smp_desc; _sdtx_clear(&smp_desc, sizeof(smp_desc)); smp_desc.min_filter = SG_FILTER_NEAREST; smp_desc.mag_filter = SG_FILTER_NEAREST; smp_desc.wrap_u = SG_WRAP_CLAMP_TO_EDGE; smp_desc.wrap_v = SG_WRAP_CLAMP_TO_EDGE; smp_desc.label = "sdtx-font-sampler"; _sdtx.font_smp = sg_make_sampler(&smp_desc); SOKOL_ASSERT(SG_INVALID_ID != _sdtx.font_smp.id); sg_pop_debug_group(); } static void _sdtx_discard_common(void) { sg_push_debug_group("sokol-debugtext"); sg_destroy_sampler(_sdtx.font_smp); sg_destroy_image(_sdtx.font_img); sg_destroy_shader(_sdtx.shader); if (_sdtx.fmt_buf) { _sdtx_free(_sdtx.fmt_buf); _sdtx.fmt_buf = 0; } sg_pop_debug_group(); } static uint32_t _sdtx_pack_rgbab(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return (uint32_t)(((uint32_t)a<<24)|((uint32_t)b<<16)|((uint32_t)g<<8)|r); } static float _sdtx_clamp(float v, float lo, float hi) { if (v < lo) return lo; else if (v > hi) return hi; else return v; } static uint32_t _sdtx_pack_rgbaf(float r, float g, float b, float a) { uint8_t r_u8 = (uint8_t) (_sdtx_clamp(r, 0.0f, 1.0f) * 255.0f); uint8_t g_u8 = (uint8_t) (_sdtx_clamp(g, 0.0f, 1.0f) * 255.0f); uint8_t b_u8 = (uint8_t) (_sdtx_clamp(b, 0.0f, 1.0f) * 255.0f); uint8_t a_u8 = (uint8_t) (_sdtx_clamp(a, 0.0f, 1.0f) * 255.0f); return _sdtx_pack_rgbab(r_u8, g_u8, b_u8, a_u8); } static void _sdtx_ctrl_char(_sdtx_context_t* ctx, uint8_t c) { switch (c) { case '\r': ctx->pos.x = 0.0f; break; case '\n': ctx->pos.x = 0.0f; ctx->pos.y += 1.0f; break; case '\t': ctx->pos.x = (ctx->pos.x - fmodf(ctx->pos.x, ctx->tab_width)) + ctx->tab_width; break; case ' ': ctx->pos.x += 1.0f; break; } } static _sdtx_vertex_t* _sdtx_next_vertex(_sdtx_context_t* ctx) { if ((ctx->vertices.next + 6) <= ctx->vertices.cap) { _sdtx_vertex_t* vx = &ctx->vertices.ptr[ctx->vertices.next]; ctx->vertices.next += 6; return vx; } else { return 0; } } static _sdtx_command_t* _sdtx_cur_command(_sdtx_context_t* ctx) { if (ctx->commands.next > 0) { return &ctx->commands.ptr[ctx->commands.next - 1]; } else { return 0; } } static _sdtx_command_t* _sdtx_next_command(_sdtx_context_t* ctx) { if (ctx->commands.next < ctx->commands.cap) { return &ctx->commands.ptr[ctx->commands.next++]; } else { _SDTX_ERROR(COMMAND_BUFFER_FULL); return 0; } } static void _sdtx_set_layer(_sdtx_context_t* ctx, int layer_id) { ctx->cur_layer_id = layer_id; _sdtx_command_t* cur_cmd = _sdtx_cur_command(ctx); if (cur_cmd) { if ((cur_cmd->num_vertices == 0) || (cur_cmd->layer_id == layer_id)) { // no vertices recorded in current draw command, or layer hasn't changed, can just reuse this cur_cmd->layer_id = layer_id; } else { // layer has changed, need to start a new draw command _sdtx_command_t* next_cmd = _sdtx_next_command(ctx); if (next_cmd) { next_cmd->layer_id = layer_id; next_cmd->first_vertex = cur_cmd->first_vertex + cur_cmd->num_vertices; next_cmd->num_vertices = 0; } } } else { // first draw command in frame _sdtx_command_t* next_cmd = _sdtx_next_command(ctx); if (next_cmd) { next_cmd->layer_id = layer_id; next_cmd->first_vertex = 0; next_cmd->num_vertices = 0; } } } static void _sdtx_render_char(_sdtx_context_t* ctx, uint8_t c) { _sdtx_vertex_t* vx = _sdtx_next_vertex(ctx); _sdtx_command_t* cmd = _sdtx_cur_command(ctx); if (vx && cmd) { // update vertex count in current draw command cmd->num_vertices += 6; const float x0 = (ctx->origin.x + ctx->pos.x) * ctx->glyph_size.x; const float y0 = (ctx->origin.y + ctx->pos.y) * ctx->glyph_size.y; const float x1 = x0 + ctx->glyph_size.x; const float y1 = y0 + ctx->glyph_size.y; // glyph width and height in font texture space // NOTE: the '+1' and '-2' fixes texture bleeding into the neighboring font texture cell const uint16_t uvw = 0x10000 / 0x100; const uint16_t uvh = 0x10000 / SDTX_MAX_FONTS; const uint16_t u0 = (((uint16_t)c) * uvw) + 1; const uint16_t v0 = (((uint16_t)ctx->cur_font) * uvh) + 1; uint16_t u1 = (u0 + uvw) - 2; uint16_t v1 = (v0 + uvh) - 2; const uint32_t color = ctx->color; // write 6 vertices vx->x=x0; vx->y=y0; vx->u = u0; vx->v = v0; vx->color = color; vx++; vx->x=x1; vx->y=y0; vx->u = u1; vx->v = v0; vx->color = color; vx++; vx->x=x1; vx->y=y1; vx->u = u1; vx->v = v1; vx->color = color; vx++; vx->x=x0; vx->y=y0; vx->u = u0; vx->v = v0; vx->color = color; vx++; vx->x=x1; vx->y=y1; vx->u = u1; vx->v = v1; vx->color = color; vx++; vx->x=x0; vx->y=y1; vx->u = u0; vx->v = v1; vx->color = color; vx++; } ctx->pos.x += 1.0f; } static void _sdtx_put_char(_sdtx_context_t* ctx, char c) { uint8_t c_u8 = (uint8_t)c; if (c_u8 <= 32) { _sdtx_ctrl_char(ctx, c_u8); } else { _sdtx_render_char(ctx, c_u8); } } SOKOL_API_IMPL void _sdtx_draw_layer(_sdtx_context_t* ctx, int layer_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT(ctx); if ((ctx->vertices.next > 0) && (ctx->commands.next > 0)) { sg_push_debug_group("sokol-debugtext"); if (ctx->update_frame_id != ctx->frame_id) { ctx->update_frame_id = ctx->frame_id; const sg_range range = { ctx->vertices.ptr, (size_t)ctx->vertices.next * sizeof(_sdtx_vertex_t) }; sg_update_buffer(ctx->vbuf, &range); } sg_apply_pipeline(ctx->pip); sg_bindings bindings; _sdtx_clear(&bindings, sizeof(bindings)); bindings.vertex_buffers[0] = ctx->vbuf; bindings.fs.images[0] = _sdtx.font_img; bindings.fs.samplers[0] = _sdtx.font_smp; sg_apply_bindings(&bindings); for (int cmd_index = 0; cmd_index < ctx->commands.next; cmd_index++) { const _sdtx_command_t* cmd = &ctx->commands.ptr[cmd_index]; if (cmd->layer_id != layer_id) { continue; } SOKOL_ASSERT((cmd->num_vertices % 6) == 0); sg_draw(cmd->first_vertex, cmd->num_vertices, 1); } sg_pop_debug_group(); } } static sdtx_desc_t _sdtx_desc_defaults(const sdtx_desc_t* desc) { SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); sdtx_desc_t res = *desc; res.context_pool_size = _sdtx_def(res.context_pool_size, _SDTX_DEFAULT_CONTEXT_POOL_SIZE); res.printf_buf_size = _sdtx_def(res.printf_buf_size, _SDTX_DEFAULT_PRINTF_BUF_SIZE); for (int i = 0; i < SDTX_MAX_FONTS; i++) { if (res.fonts[i].data.ptr) { res.fonts[i].last_char = _sdtx_def(res.fonts[i].last_char, 255); } } res.context = _sdtx_context_desc_defaults(&res.context); SOKOL_ASSERT(res.context_pool_size > 0); SOKOL_ASSERT(res.printf_buf_size > 0); SOKOL_ASSERT(res.context.char_buf_size > 0); return res; } // ██████ ██ ██ ██████ ██ ██ ██████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██████ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ ██ ██████ // // >>public SOKOL_API_IMPL void sdtx_setup(const sdtx_desc_t* desc) { SOKOL_ASSERT(desc); _sdtx_clear(&_sdtx, sizeof(_sdtx)); _sdtx.init_cookie = _SDTX_INIT_COOKIE; _sdtx.desc = _sdtx_desc_defaults(desc); _sdtx_setup_context_pool(&_sdtx.desc); _sdtx_setup_common(); _sdtx.def_ctx_id = sdtx_make_context(&_sdtx.desc.context); SOKOL_ASSERT(SDTX_DEFAULT_CONTEXT.id == _sdtx.def_ctx_id.id); sdtx_set_context(_sdtx.def_ctx_id); } SOKOL_API_IMPL void sdtx_shutdown(void) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); for (int i = 0; i < _sdtx.context_pool.pool.size; i++) { _sdtx_context_t* ctx = &_sdtx.context_pool.contexts[i]; _sdtx_destroy_context(_sdtx_make_ctx_id(ctx->slot.id)); } _sdtx_discard_common(); _sdtx_discard_context_pool(); _sdtx.init_cookie = 0; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_kc853(void) { sdtx_font_desc_t desc = { { _sdtx_font_kc853, sizeof(_sdtx_font_kc853) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_kc854(void) { sdtx_font_desc_t desc = { { _sdtx_font_kc854, sizeof(_sdtx_font_kc854) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_z1013(void) { sdtx_font_desc_t desc = { { _sdtx_font_z1013, sizeof(_sdtx_font_z1013) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_cpc(void) { sdtx_font_desc_t desc = { { _sdtx_font_cpc, sizeof(_sdtx_font_cpc) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_c64(void) { sdtx_font_desc_t desc = { { _sdtx_font_c64, sizeof(_sdtx_font_c64) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_font_desc_t sdtx_font_oric(void) { sdtx_font_desc_t desc = { { _sdtx_font_oric, sizeof(_sdtx_font_oric) }, 0, 255 }; return desc; } SOKOL_API_IMPL sdtx_context sdtx_make_context(const sdtx_context_desc_t* desc) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT(desc); sdtx_context ctx_id = _sdtx_alloc_context(); if (ctx_id.id != SG_INVALID_ID) { _sdtx_init_context(ctx_id, desc); } else { _SDTX_ERROR(CONTEXT_POOL_EXHAUSTED); } return ctx_id; } SOKOL_API_IMPL void sdtx_destroy_context(sdtx_context ctx_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); if (_sdtx_is_default_context(ctx_id)) { _SDTX_ERROR(CANNOT_DESTROY_DEFAULT_CONTEXT); return; } _sdtx_destroy_context(ctx_id); // re-validate the current context pointer (this will return a nullptr // if we just destroyed the current context) _sdtx.cur_ctx = _sdtx_lookup_context(_sdtx.cur_ctx_id.id); } SOKOL_API_IMPL void sdtx_set_context(sdtx_context ctx_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); if (_sdtx_is_default_context(ctx_id)) { _sdtx.cur_ctx_id = _sdtx.def_ctx_id; } else { _sdtx.cur_ctx_id = ctx_id; } // this may return a nullptr if the ctx_id handle is invalid _sdtx.cur_ctx = _sdtx_lookup_context(_sdtx.cur_ctx_id.id); } SOKOL_API_IMPL sdtx_context sdtx_get_context(void) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); return _sdtx.cur_ctx_id; } SOKOL_API_IMPL sdtx_context sdtx_default_context(void) { return SDTX_DEFAULT_CONTEXT; } SOKOL_API_IMPL void sdtx_layer(int layer_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { _sdtx_set_layer(ctx, layer_id); } } SOKOL_API_IMPL void sdtx_font(int font_index) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT((font_index >= 0) && (font_index < SDTX_MAX_FONTS)); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->cur_font = font_index; } } SOKOL_API_IMPL void sdtx_canvas(float w, float h) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT(!isnan(w)); SOKOL_ASSERT(!isnan(h)); SOKOL_ASSERT((w > 0.0f) && (h > 0.0f)); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->canvas_size.x = w; ctx->canvas_size.y = h; ctx->glyph_size.x = (8.0f / ctx->canvas_size.x); ctx->glyph_size.y = (8.0f / ctx->canvas_size.y); ctx->origin.x = 0.0f; ctx->origin.y = 0.0f; ctx->pos.x = 0.0f; ctx->pos.y = 0.0f; } } SOKOL_API_IMPL void sdtx_origin(float x, float y) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->origin.x = x; ctx->origin.y = y; } } SOKOL_API_IMPL void sdtx_home(void) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x = 0.0f; ctx->pos.y = 0.0f; } } SOKOL_API_IMPL void sdtx_pos(float x, float y) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x = x; ctx->pos.y = y; } } SOKOL_API_IMPL void sdtx_pos_x(float x) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x = x; } } SOKOL_API_IMPL void sdtx_pos_y(float y) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.y = y; } } SOKOL_API_IMPL void sdtx_move(float dx, float dy) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x += dx; ctx->pos.y += dy; } } SOKOL_API_IMPL void sdtx_move_x(float dx) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x += dx; } } SOKOL_API_IMPL void sdtx_move_y(float dy) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.y += dy; } } SOKOL_API_IMPL void sdtx_crlf(void) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->pos.x = 0.0f; ctx->pos.y += 1.0f; } } SOKOL_API_IMPL void sdtx_color3b(uint8_t r, uint8_t g, uint8_t b) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->color = _sdtx_pack_rgbab(r, g, b, 255); } } SOKOL_API_IMPL void sdtx_color3f(float r, float g, float b) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->color = _sdtx_pack_rgbaf(r, g, b, 1.0f); } } SOKOL_API_IMPL void sdtx_color4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->color = _sdtx_pack_rgbab(r, g, b, a); } } SOKOL_API_IMPL void sdtx_color4f(float r, float g, float b, float a) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->color = _sdtx_pack_rgbaf(r, g, b, a); } } SOKOL_API_IMPL void sdtx_color1i(uint32_t rgba) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { ctx->color = rgba; } } SOKOL_DEBUGTEXT_API_DECL void sdtx_putc(char chr) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { _sdtx_put_char(ctx, chr); } } SOKOL_DEBUGTEXT_API_DECL void sdtx_puts(const char* str) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { char chr; while (0 != (chr = *str++)) { _sdtx_put_char(ctx, chr); } } } SOKOL_DEBUGTEXT_API_DECL void sdtx_putr(const char* str, int len) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { for (int i = 0; i < len; i++) { char chr = str[i]; if (0 == chr) { break; } _sdtx_put_char(ctx, chr); } } } SOKOL_DEBUGTEXT_API_DECL int sdtx_vprintf(const char* fmt, va_list args) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT(_sdtx.fmt_buf && (_sdtx.fmt_buf_size >= 2)); int res = SOKOL_VSNPRINTF(_sdtx.fmt_buf, _sdtx.fmt_buf_size, fmt, args); // make sure we're 0-terminated in case we're on an old MSVC _sdtx.fmt_buf[_sdtx.fmt_buf_size-1] = 0; sdtx_puts(_sdtx.fmt_buf); return res; } SOKOL_DEBUGTEXT_API_DECL int sdtx_printf(const char* fmt, ...) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); SOKOL_ASSERT(_sdtx.fmt_buf && (_sdtx.fmt_buf_size >= 2)); va_list args; va_start(args, fmt); int res = SOKOL_VSNPRINTF(_sdtx.fmt_buf, _sdtx.fmt_buf_size, fmt, args); va_end(args); // make sure we're 0-terminated in case we're on an old MSVC _sdtx.fmt_buf[_sdtx.fmt_buf_size-1] = 0; sdtx_puts(_sdtx.fmt_buf); return res; } SOKOL_API_IMPL void sdtx_draw(void) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { _sdtx_draw_layer(ctx, 0); } } SOKOL_API_IMPL void sdtx_context_draw(sdtx_context ctx_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); if (ctx) { _sdtx_draw_layer(ctx, 0); } } SOKOL_API_IMPL void sdtx_draw_layer(int layer_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx.cur_ctx; if (ctx) { _sdtx_draw_layer(ctx, layer_id); } } SOKOL_API_IMPL void sdtx_context_draw_layer(sdtx_context ctx_id, int layer_id) { SOKOL_ASSERT(_SDTX_INIT_COOKIE == _sdtx.init_cookie); _sdtx_context_t* ctx = _sdtx_lookup_context(ctx_id.id); if (ctx) { _sdtx_draw_layer(ctx, layer_id); } } #endif // SOKOL_DEBUGTEXT_IMPL
0
repos/sokol
repos/sokol/util/sokol_nuklear.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_NUKLEAR_IMPL) #define SOKOL_NUKLEAR_IMPL #endif #ifndef SOKOL_NUKLEAR_INCLUDED /* sokol_nuklear.h -- drop-in Nuklear renderer/event-handler for sokol_gfx.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_NUKLEAR_IMPL before you include this file in *one* C or C++ file to create the implementation. The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL SOKOL_WGPU Optionally provide the following configuration defines before including the implementation: SOKOL_NUKLEAR_NO_SOKOL_APP - don't depend on sokol_app.h (see below for details) Optionally provide the following macros before including the implementation to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_NUKLEAR_API_DECL- public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_NUKLEAR_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) If sokol_nuklear.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_NUKLEAR_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. Include the following headers before sokol_nuklear.h (both before including the declaration and implementation): sokol_gfx.h sokol_app.h (except SOKOL_NUKLEAR_NO_SOKOL_APP) nuklear.h NOTE: Unlike most other sokol-headers, the implementation must be compiled as C, compiling as C++ isn't supported. The interface is callable from C++ of course. FEATURE OVERVIEW: ================= sokol_nuklear.h implements the initialization, rendering and event-handling code for Nuklear (https://github.com/Immediate-Mode-UI/Nuklear) on top of sokol_gfx.h and (optionally) sokol_app.h. The sokol_app.h dependency is optional and used for input event handling. If you only use sokol_gfx.h but not sokol_app.h in your application, define SOKOL_NUKLEAR_NO_SOKOL_APP before including the implementation of sokol_nuklear.h, this will remove any dependency to sokol_app.h, but you must feed input events into Nuklear yourself. sokol_nuklear.h is not thread-safe, all calls must be made from the same thread where sokol_gfx.h is running. HOWTO: ====== --- To initialize sokol-nuklear, call: snk_setup(const snk_desc_t* desc) This will initialize Nuklear and create sokol-gfx resources (two buffers for vertices and indices, a font texture and a pipeline- state-object). Use the following snk_desc_t members to configure behaviour: int max_vertices The maximum number of vertices used for UI rendering, default is 65536. sokol-nuklear will use this to compute the size of the vertex- and index-buffers allocated via sokol_gfx.h int image_pool_size Number of snk_image_t objects which can be alive at the same time. The default is 256. sg_pixel_format color_format The color pixel format of the render pass where the UI will be rendered. The default is SG_PIXELFORMAT_RGBA8 sg_pixel_format depth_format The depth-buffer pixel format of the render pass where the UI will be rendered. The default is SG_PIXELFORMAT_DEPTHSTENCIL. int sample_count The MSAA sample-count of the render pass where the UI will be rendered. The default is 1. float dpi_scale DPI scaling factor. Set this to the result of sapp_dpi_scale(). To render in high resolution on a Retina Mac this would typically be 2.0. The default value is 1.0 bool no_default_font Set this to true if you don't want to use Nuklear's default font. In this case you need to initialize the font yourself after snk_setup() is called. --- At the start of a frame, call: struct nk_context *snk_new_frame() This updates Nuklear's event handling state and then returns a Nuklear context pointer which you use to build the UI. For example: struct nk_context *ctx = snk_new_frame(); if (nk_begin(ctx, "Demo", nk_rect(50, 50, 200, 200), ... --- at the end of the frame, before the sg_end_pass() where you want to render the UI, call: snk_render(int width, int height) where 'width' and 'height' are the dimensions of the rendering surface. For example, if you're using sokol_app.h and render to the default framebuffer: snk_render(sapp_width(), sapp_height()); This will convert Nuklear's command list into a vertex and index buffer, and then render that through sokol_gfx.h --- if you're using sokol_app.h, from inside the sokol_app.h event callback, call: bool snk_handle_event(const sapp_event* ev); This will feed the event into Nuklear's event handling code, and return true if the event was handled by Nuklear, or false if the event should be handled by the application. --- finally, on application shutdown, call snk_shutdown() --- Note that for touch-based systems, like iOS, there is a wrapper around nk_edit_string(...), called snk_edit_string(...) which will show and hide the onscreen keyboard as required. ON USER-PROVIDED IMAGES AND SAMPLERS ==================================== To render your own images via nk_image(), first create an snk_image_t object from a sokol-gfx image and sampler object. // create a sokol-nuklear image object which associates an sg_image with an sg_sampler snk_image_t snk_img = snk_make_image(&(snk_image_desc_t){ .image = sg_make_image(...), .sampler = sg_make_sampler(...), }); // convert the returned image handle into an nk_handle object struct nk_handle nk_hnd = snk_nkhandle(snk_img); // create a nuklear image from the generic handle (note that there a different helper functions for this) struct nk_image nk_img = nk_image_handle(nk_hnd); // finally specify a Nuklear image UI object nk_image(ctx, nk_img); snk_image_t objects are small and cheap (literally just the image and sampler handle). You can omit the sampler handle in the snk_make_image() call, in this case a default sampler will be used with nearest-filtering and clamp-to-edge. Trying to render with an invalid snk_image_t handle will render a small 8x8 white default texture instead. To destroy a sokol-nuklear image object, call snk_destroy_image(snk_img); But please be aware that the image object needs to be around until snk_render() is called in a frame (if this turns out to be too much of a hassle we could introduce some sort of garbage collection where destroyed snk_image_t objects are kept around until the snk_render() call). You can call: snk_image_desc_t desc = snk_query_image_desc(img) ...to get the original desc struct, useful if you need to get the sokol-gfx image and sampler handle of the snk_image_t object. You can convert an nk_handle back into an snk_image_t handle: snk_image_t img = snk_image_from_nkhandle(nk_hnd); MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... snk_setup(&(snk_desc_t){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... If no overrides are provided, malloc and free will be used. This only affects memory allocation calls done by sokol_nuklear.h itself though, not any allocations in Nuklear. ERROR REPORTING AND LOGGING =========================== To get any logging information at all you need to provide a logging callback in the setup call the easiest way is to use sokol_log.h: #include "sokol_log.h" snk_setup(&(snk_desc_t){ .logger.func = slog_func }); To override logging with your own callback, first write a logging function like this: void my_log(const char* tag, // e.g. 'snk' uint32_t log_level, // 0=panic, 1=error, 2=warn, 3=info uint32_t log_item_id, // SNK_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_nuklear.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data) { ... } ...and then setup sokol-nuklear like this: snk_setup(&(snk_desc_t){ .logger = { .func = my_log, .user_data = my_user_data, } }); The provided logging function must be reentrant (e.g. be callable from different threads). If you don't want to provide your own custom logger it is highly recommended to use the standard logger in sokol_log.h instead, otherwise you won't see any warnings or errors. LICENSE ======= zlib/libpng license Copyright (c) 2020 Warren Merrifield This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_NUKLEAR_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_nuklear.h" #endif #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) && !defined(SOKOL_APP_INCLUDED) #error "Please include sokol_app.h before sokol_nuklear.h" #endif #if !defined(NK_UNDEFINED) #error "Please include nuklear.h before sokol_nuklear.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_NUKLEAR_API_DECL) #define SOKOL_NUKLEAR_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_NUKLEAR_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_NUKLEAR_IMPL) #define SOKOL_NUKLEAR_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_NUKLEAR_API_DECL __declspec(dllimport) #else #define SOKOL_NUKLEAR_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif enum { SNK_INVALID_ID = 0, }; /* snk_image_t A combined image-sampler pair used to inject custom images and samplers into Nuklear Create with snk_make_image(), and convert to an nk_handle via snk_nkhandle(). */ typedef struct snk_image_t { uint32_t id; } snk_image_t; /* snk_image_desc_t Descriptor struct for snk_make_image(). You must provide at least an sg_image handle. Keeping the sg_sampler handle zero-initialized will select the builtin default sampler which uses linear filtering. */ typedef struct snk_image_desc_t { sg_image image; sg_sampler sampler; } snk_image_desc_t; /* snk_log_item An enum with a unique item for each log message, warning, error and validation layer message. */ #define _SNK_LOG_ITEMS \ _SNK_LOGITEM_XMACRO(OK, "Ok") \ _SNK_LOGITEM_XMACRO(MALLOC_FAILED, "memory allocation failed") \ _SNK_LOGITEM_XMACRO(IMAGE_POOL_EXHAUSTED, "image pool exhausted") \ #define _SNK_LOGITEM_XMACRO(item,msg) SNK_LOGITEM_##item, typedef enum snk_log_item_t { _SNK_LOG_ITEMS } snk_log_item_t; #undef _SNK_LOGITEM_XMACRO /* snk_allocator_t Used in snk_desc_t to provide custom memory-alloc and -free functions to sokol_nuklear.h. If memory management should be overridden, both the alloc_fn and free_fn function must be provided (e.g. it's not valid to override one function but not the other). */ typedef struct snk_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } snk_allocator_t; /* snk_logger Used in snk_desc_t to provide a logging function. Please be aware that without logging function, sokol-nuklear will be completely silent, e.g. it will not report errors, warnings and validation layer messages. For maximum error verbosity, compile in debug mode (e.g. NDEBUG *not* defined) and install a logger (for instance the standard logging function from sokol_log.h). */ typedef struct snk_logger_t { void (*func)( const char* tag, // always "snk" uint32_t log_level, // 0=panic, 1=error, 2=warning, 3=info uint32_t log_item_id, // SNK_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_imgui.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data); void* user_data; } snk_logger_t; typedef struct snk_desc_t { int max_vertices; // default: 65536 int image_pool_size; // default: 256 sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; float dpi_scale; bool no_default_font; snk_allocator_t allocator; // optional memory allocation overrides (default: malloc/free) snk_logger_t logger; // optional log function override } snk_desc_t; SOKOL_NUKLEAR_API_DECL void snk_setup(const snk_desc_t* desc); SOKOL_NUKLEAR_API_DECL struct nk_context* snk_new_frame(void); SOKOL_NUKLEAR_API_DECL void snk_render(int width, int height); SOKOL_NUKLEAR_API_DECL snk_image_t snk_make_image(const snk_image_desc_t* desc); SOKOL_NUKLEAR_API_DECL void snk_destroy_image(snk_image_t img); SOKOL_NUKLEAR_API_DECL snk_image_desc_t snk_query_image_desc(snk_image_t img); SOKOL_NUKLEAR_API_DECL nk_handle snk_nkhandle(snk_image_t img); SOKOL_NUKLEAR_API_DECL snk_image_t snk_image_from_nkhandle(nk_handle handle); #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) SOKOL_NUKLEAR_API_DECL bool snk_handle_event(const sapp_event* ev); SOKOL_NUKLEAR_API_DECL nk_flags snk_edit_string(struct nk_context *ctx, nk_flags flags, char *memory, int *len, int max, nk_plugin_filter filter); #endif SOKOL_NUKLEAR_API_DECL void snk_shutdown(void); #ifdef __cplusplus } /* extern "C" */ /* reference-based equivalents for C++ */ inline void snk_setup(const snk_desc_t& desc) { return snk_setup(&desc); } inline snk_image_t snk_make_image(const snk_image_desc_t& desc) { return snk_make_image(&desc); } #endif #endif /* SOKOL_NUKLEAR_INCLUDED */ /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_NUKLEAR_IMPL #define SOKOL_NUKLEAR_IMPL_INCLUDED (1) #if !defined(NK_INCLUDE_VERTEX_BUFFER_OUTPUT) #error "Please ensure that NK_INCLUDE_VERTEX_BUFFER_OUTPUT is #defined before including nuklear.h" #endif #ifdef __cplusplus #error "The sokol_nuklear.h implementation must be compiled as C." #endif #include <stdlib.h> #include <string.h> // memset #if defined(__EMSCRIPTEN__) && !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) && !defined(SOKOL_DUMMY_BACKEND) #include <emscripten.h> #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef _SOKOL_PRIVATE #if defined(__GNUC__) || defined(__clang__) #define _SOKOL_PRIVATE __attribute__((unused)) static #else #define _SOKOL_PRIVATE static #endif #endif #define _SNK_INIT_COOKIE (0xBABEBABE) #define _SNK_INVALID_SLOT_INDEX (0) #define _SNK_SLOT_SHIFT (16) #define _SNK_MAX_POOL_SIZE (1<<_SNK_SLOT_SHIFT) #define _SNK_SLOT_MASK (_SNK_MAX_POOL_SIZE-1) // helper macros #define _snk_def(val, def) (((val) == 0) ? (def) : (val)) typedef struct _snk_vertex_t { float pos[2]; float uv[2]; uint8_t col[4]; } _snk_vertex_t; typedef struct _snk_vs_params_t { float disp_size[2]; uint8_t _pad_8[8]; } _snk_vs_params_t; typedef enum { _SNK_RESOURCESTATE_INITIAL, _SNK_RESOURCESTATE_ALLOC, _SNK_RESOURCESTATE_VALID, _SNK_RESOURCESTATE_FAILED, _SNK_RESOURCESTATE_INVALID, _SNK_RESOURCESTATE_FORCE_U32 = 0x7FFFFFFF } _snk_resource_state; typedef struct { uint32_t id; _snk_resource_state state; } _snk_slot_t; typedef struct { int size; int queue_top; uint32_t* gen_ctrs; int* free_queue; } _snk_pool_t; typedef struct { _snk_slot_t slot; sg_image image; sg_sampler sampler; } _snk_image_t; typedef struct { _snk_pool_t pool; _snk_image_t* items; } _snk_image_pool_t; typedef struct { uint32_t init_cookie; snk_desc_t desc; struct nk_context ctx; struct nk_font_atlas atlas; _snk_vs_params_t vs_params; size_t vertex_buffer_size; size_t index_buffer_size; sg_buffer vbuf; sg_buffer ibuf; sg_image font_img; sg_sampler font_smp; snk_image_t default_font; sg_image def_img; sg_sampler def_smp; sg_shader shd; sg_pipeline pip; bool is_osx; // true if running on OSX (or HTML5 OSX), needed for copy/paste _snk_image_pool_t image_pool; #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) int mouse_pos[2]; float mouse_scroll[2]; bool mouse_did_move; bool mouse_did_scroll; bool btn_down[NK_BUTTON_MAX]; bool btn_up[NK_BUTTON_MAX]; char char_buffer[NK_INPUT_MAX]; bool keys_down[NK_KEY_MAX]; bool keys_up[NK_KEY_MAX]; #endif } _snk_state_t; static _snk_state_t _snuklear; /* Embedded source code compiled with: sokol-shdc -i snuk.glsl -o snuk.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgsl -b (not that for Metal and D3D11 byte code, sokol-shdc must be run on macOS and Windows) @vs vs uniform vs_params { vec2 disp_size; }; in vec2 position; in vec2 texcoord0; in vec4 color0; out vec2 uv; out vec4 color; void main() { gl_Position = vec4(((position/disp_size)-0.5)*vec2(2.0,-2.0), 0.5, 1.0); uv = texcoord0; color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; in vec2 uv; in vec4 color; out vec4 frag_color; void main() { frag_color = texture(sampler2D(tex, smp), uv) * color; } @end @program snuk vs fs */ #if defined(SOKOL_GLCORE) static const uint8_t _snk_vs_source_glsl410[383] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e, 0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76, 0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74, 0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63,0x34,0x28,0x28,0x28,0x70,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73, 0x5b,0x30,0x5d,0x2e,0x78,0x79,0x29,0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x28,0x30, 0x2e,0x35,0x29,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x32,0x28,0x32,0x2e,0x30,0x2c, 0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x30,0x2e,0x35,0x2c,0x20,0x31,0x2e,0x30, 0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63, 0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _snk_fs_source_glsl410[219] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65, 0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x20,0x2a,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _snk_vs_source_glsl300es[344] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f, 0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29, 0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x32,0x20,0x75,0x76,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x32,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20, 0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f, 0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65, 0x63,0x34,0x28,0x28,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2e,0x78,0x79,0x29, 0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x28,0x30,0x2e,0x35,0x29,0x29,0x20,0x2a,0x20, 0x76,0x65,0x63,0x32,0x28,0x32,0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c, 0x20,0x30,0x2e,0x35,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x75,0x76,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _snk_fs_source_glsl300es[250] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20, 0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x32,0x20,0x75, 0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61, 0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x29,0x20,0x2a,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _snk_vs_bytecode_metal_macos[3052] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x7b,0x12,0x23,0x17,0xd9,0x25,0x1c, 0x1b,0x42,0x42,0x9f,0xbf,0x31,0xd2,0x2c,0x3a,0x55,0x22,0x1d,0x40,0xd8,0xc4,0xf8, 0x20,0x49,0x60,0x6d,0x3c,0xea,0x4e,0x1c,0x34,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xc8,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xaf,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x81,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x18,0x02,0x01,0x2c,0x40,0x05,0x00,0x49,0x18,0x00,0x00, 0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00,0x16,0x00,0x00,0x00, 0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04,0x13,0x22,0xa4,0x84,0x04,0x13,0x22,0xe3, 0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c,0x0b,0x84,0x84,0x4c,0x10,0x3c,0x33,0x00, 0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x91,0x83,0xa4,0x29,0xa2,0x84,0xc9, 0xaf,0xa4,0xff,0x01,0x22,0x80,0x91,0x50,0x10,0x83,0x08,0x84,0x50,0x8a,0x89,0x90, 0x22,0x1b,0x08,0x98,0x23,0x00,0x83,0x14,0xc8,0x39,0x02,0x50,0x18,0x44,0x08,0x84, 0x61,0x04,0x22,0x19,0x01,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0,0x03, 0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87,0x71, 0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38,0xd8, 0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06, 0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07,0x7a, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07, 0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73,0x20, 0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d, 0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80, 0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07, 0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07,0x75, 0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50,0x07, 0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x6d, 0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74,0xa0, 0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60,0x07, 0x7a,0x30,0x07,0x72,0x30,0x84,0x39,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0xc8, 0x02,0x01,0x00,0x00,0x09,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90, 0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0xca,0x12,0x18,0x01,0x28,0x88,0x22,0x28,0x84, 0x32,0xa0,0x1d,0x01,0x20,0x1d,0x4b,0x68,0x02,0x00,0x00,0x00,0x79,0x18,0x00,0x00, 0xea,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9, 0xb9,0xb4,0x37,0xb7,0x21,0x46,0x42,0x20,0x80,0x82,0x50,0xb9,0x1b,0x43,0x0b,0x93, 0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x24,0x01,0x22,0x24,0x05,0xe7,0x20,0x08,0x0e, 0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd, 0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e, 0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26, 0x65,0x88,0x80,0x10,0x43,0x8c,0x24,0x48,0x86,0x44,0x60,0xd1,0x54,0x46,0x17,0xc6, 0x36,0x04,0x41,0x8e,0x24,0x48,0x82,0x44,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6, 0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36, 0x17,0x26,0xc6,0x56,0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d, 0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65, 0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x64,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd, 0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95, 0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d, 0x11,0x90,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b, 0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98, 0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e, 0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84, 0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20,0x0f,0x02,0x21, 0x11,0x22,0x21,0x13,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b, 0x49,0xa1,0x61,0xc6,0xf6,0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08, 0x83,0x3c,0x88,0x85,0x44,0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee, 0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d, 0xda,0x9b,0xdb,0x10,0x05,0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86,0x18,0x48,0x85, 0x64,0x08,0x47,0x28,0x2c,0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd, 0x0d,0xae,0x8e,0x8e,0x52,0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b, 0xdb,0x57,0x9a,0x1b,0x59,0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32, 0x32,0x94,0xaf,0xaf,0xb0,0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36, 0xb2,0x32,0xb9,0xaf,0xaf,0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43, 0xa8,0x44,0x40,0x3c,0xe4,0x4b,0x84,0x24,0x40,0xc0,0x00,0x89,0x10,0x09,0x99,0x90, 0x30,0x60,0x42,0x57,0x86,0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84,0x4a,0x02,0xc4, 0x43,0xbe,0x24,0x48,0x02,0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19,0x03,0x1a,0x63, 0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88,0x24,0x40,0xc0, 0x00,0x89,0x90,0x0b,0x99,0x90,0x32,0xa0,0x12,0x96,0x26,0xe7,0x22,0x56,0x67,0x66, 0x56,0x26,0xc7,0x27,0x2c,0x4d,0xce,0x45,0xac,0xce,0xcc,0xac,0x4c,0xee,0x6b,0x2e, 0x4d,0xaf,0x8c,0x48,0x58,0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39, 0x97,0x39,0x3a,0xb9,0xba,0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3, 0x37,0x26,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x43,0x94,0x44,0x48,0x86, 0x44,0x40,0x24,0x64,0x0d,0x18,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5, 0xc1,0x95,0x7d,0xcd,0xa5,0xe9,0x95,0xf1,0x0a,0x4b,0x93,0x73,0x09,0x93,0x3b,0xfb, 0xa2,0xcb,0x83,0x2b,0xfb,0x0a,0x63,0x4b,0x3b,0x73,0xfb,0x9a,0x4b,0xd3,0x2b,0x63, 0x62,0x37,0xf7,0x05,0x17,0x26,0x17,0xd6,0x36,0xc7,0xe1,0x4b,0x46,0x66,0x08,0x19, 0x24,0x06,0x72,0x06,0x08,0x1a,0x24,0x03,0xf2,0x25,0x42,0x12,0x20,0x69,0x80,0xa8, 0x01,0xc2,0x06,0x48,0x1b,0x24,0x03,0xe2,0x06,0xc9,0x80,0x44,0xc8,0x1b,0x20,0x13, 0x02,0x07,0x43,0x10,0x44,0x0c,0x10,0x32,0x40,0xcc,0x00,0x89,0x83,0x21,0xc6,0x01, 0x20,0x1d,0x22,0x07,0x7c,0xde,0xda,0xdc,0xd2,0xe0,0xde,0xe8,0xca,0xdc,0xe8,0x40, 0xc6,0xd0,0xc2,0xe4,0xf8,0x4c,0xa5,0xb5,0xc1,0xb1,0x95,0x81,0x0c,0xad,0xac,0x80, 0x50,0x09,0x05,0x05,0x0d,0x11,0x90,0x3a,0x18,0x62,0x20,0x74,0x80,0xd8,0xc1,0x72, 0x0c,0x31,0x90,0x3b,0x40,0xee,0x60,0x39,0x46,0x44,0xec,0xc0,0x0e,0xf6,0xd0,0x0e, 0x6e,0xd0,0x0e,0xef,0x40,0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0,0x0e,0xe1, 0x70,0x0e,0xf3,0x30,0x45,0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b, 0xa4,0x03,0x39,0x94,0x83,0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43,0x3a,0xc8, 0x83,0x1b,0xd8,0x43,0x39,0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94,0xc0,0x18, 0x41,0x85,0x43,0x3a,0xc8,0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4,0x43,0x38, 0x9c,0x43,0x39,0xfc,0x82,0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83,0x3b,0x4c, 0x09,0x90,0x11,0x53,0x38,0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b,0xc0,0x43, 0x3a,0xb0,0x43,0x39,0xfc,0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x3c, 0x4c,0x19,0x14,0xc6,0x19,0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8, 0x03,0x3d,0x94,0x03,0x3e,0x4c,0x09,0xe6,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00, 0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88, 0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6, 0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce, 0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8, 0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48, 0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11, 0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e, 0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89, 0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b, 0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37, 0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78, 0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81, 0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1, 0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c, 0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39, 0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc, 0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58, 0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87, 0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f, 0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e, 0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66, 0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0, 0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e, 0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc, 0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3, 0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07, 0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e, 0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e, 0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d, 0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00, 0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00, 0x61,0x20,0x00,0x00,0x23,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00, 0x11,0x00,0x00,0x00,0xd4,0x63,0x11,0x40,0x60,0x1c,0x73,0x10,0x42,0xf0,0x3c,0x94, 0x33,0x00,0x14,0x63,0x09,0x20,0x08,0x82,0xf0,0x2f,0x80,0x20,0x08,0xc2,0xbf,0x30, 0x96,0x00,0x82,0x20,0x08,0x82,0x01,0x08,0x82,0x20,0x08,0x0e,0x33,0x00,0x24,0x73, 0x10,0xd7,0x65,0x55,0x34,0x33,0x00,0x04,0x63,0x04,0x20,0x08,0x82,0xf8,0x37,0x46, 0x00,0x82,0x20,0x08,0x7f,0x33,0x00,0x00,0xe3,0x0d,0x4c,0x64,0x51,0x40,0x2c,0x0a, 0xe8,0x63,0xc1,0x02,0x1f,0x0b,0x16,0xf9,0x0c,0x32,0x04,0xcb,0x33,0xc8,0x10,0x2c, 0xd1,0x6c,0xc3,0x52,0x01,0xb3,0x0d,0x41,0x15,0xcc,0x36,0x04,0x83,0x90,0x41,0x40, 0x0c,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x5b,0x86,0x20,0xc0,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _snk_fs_bytecode_metal_macos[2809] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf9,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xa1,0xce,0x6b,0xd1,0x1f,0x32,0x9e, 0x8d,0x8d,0x1c,0xcc,0x19,0xcb,0xd3,0xb6,0x21,0x99,0x0b,0xb6,0x46,0x8b,0x87,0x98, 0x8e,0x2d,0xb5,0x98,0x92,0x0a,0x81,0x7d,0xf3,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x0c,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x80,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87, 0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38, 0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0, 0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0, 0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76, 0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50, 0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07, 0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, 0x18,0xc2,0x38,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64,0x81,0x00,0x00,0x00, 0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26, 0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70, 0x2c,0xa1,0x09,0x00,0x00,0x79,0x18,0x00,0x00,0xb9,0x00,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42, 0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45, 0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84, 0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84, 0x67,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c, 0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0, 0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32, 0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe, 0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d, 0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08,0x0f,0x45,0x29,0x2c, 0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e, 0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34, 0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72, 0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28, 0xd4,0xd9,0x0d,0x91,0x96,0xe1,0xb1,0x9e,0xeb,0xc1,0x9e,0xec,0x81,0x1e,0xed,0x91, 0x9e,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1, 0x37,0xb6,0x37,0xb9,0x21,0xd2,0x22,0x3c,0xd6,0xd3,0x3d,0xd8,0x93,0x3d,0xd0,0x13, 0x3d,0xd2,0xe3,0x71,0x09,0x4b,0x93,0x73,0xa1,0x2b,0xc3,0xa3,0xab,0x93,0x2b,0xa3, 0x14,0x96,0x26,0xe7,0xc2,0xf6,0x36,0x16,0x46,0x97,0xf6,0xe6,0xf6,0x95,0xe6,0x46, 0x56,0x86,0x47,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x8c,0x18,0x5d, 0x19,0x1e,0x5d,0x9d,0x5c,0x99,0x0c,0x19,0x8f,0x19,0xdb,0x5b,0x18,0x1d,0x0b,0xc8, 0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x0f,0x07,0xba,0x32,0xbc,0x21,0xd4,0x42,0x3c,0x60, 0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x23,0x06,0x0f,0xf4,0x8c,0xc1,0x23,0x3d,0x64,0xc0, 0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e,0xad,0x4c,0x8e,0xc7,0x5c,0x58,0x1b, 0x1c,0x5b,0x99,0x1c,0x87,0xb9,0x36,0xb8,0x21,0xd2,0x72,0x3c,0x66,0xf0,0x84,0xc1, 0x32,0x2c,0xc2,0x03,0x3d,0x67,0xf0,0x48,0x0f,0x1a,0x0c,0x41,0x1e,0xee,0xf9,0x9e, 0x32,0x78,0xd2,0x60,0x88,0x91,0x00,0x4f,0xf5,0xa8,0xc1,0x88,0x88,0x1d,0xd8,0xc1, 0x1e,0xda,0xc1,0x0d,0xda,0xe1,0x1d,0xc8,0xa1,0x1e,0xd8,0xa1,0x1c,0xdc,0xc0,0x1c, 0xd8,0x21,0x1c,0xce,0x61,0x1e,0xa6,0x08,0xc1,0x30,0x42,0x61,0x07,0x76,0xb0,0x87, 0x76,0x70,0x83,0x74,0x20,0x87,0x72,0x70,0x07,0x7a,0x98,0x12,0x14,0x23,0x96,0x70, 0x48,0x07,0x79,0x70,0x03,0x7b,0x28,0x07,0x79,0x98,0x87,0x74,0x78,0x07,0x77,0x98, 0x12,0x18,0x23,0xa8,0x70,0x48,0x07,0x79,0x70,0x03,0x76,0x08,0x07,0x77,0x38,0x87, 0x7a,0x08,0x87,0x73,0x28,0x87,0x5f,0xb0,0x87,0x72,0x90,0x87,0x79,0x48,0x87,0x77, 0x70,0x87,0x29,0x01,0x32,0x62,0x0a,0x87,0x74,0x90,0x07,0x37,0x18,0x87,0x77,0x68, 0x07,0x78,0x48,0x07,0x76,0x28,0x87,0x5f,0x78,0x07,0x78,0xa0,0x87,0x74,0x78,0x07, 0x77,0x98,0x87,0x29,0x83,0xc2,0x38,0x23,0x98,0x70,0x48,0x07,0x79,0x70,0x03,0x73, 0x90,0x87,0x70,0x38,0x87,0x76,0x28,0x07,0x77,0xa0,0x87,0x29,0xc1,0x1a,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01, 0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e, 0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00, 0x00,0x0c,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x04,0x00,0x00, 0x00,0xc4,0x46,0x00,0x48,0x8d,0x00,0xd4,0x00,0x89,0x19,0x00,0x02,0x23,0x00,0x00, 0x00,0x23,0x06,0x8a,0x10,0x44,0x87,0x91,0x0c,0x05,0x11,0x58,0x90,0xc8,0x67,0xb6, 0x81,0x08,0x80,0x0c,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _snk_vs_bytecode_metal_ios[3052] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xec,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x3b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0c,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x69,0x97,0x6b,0xac,0xd8,0xa2,0x51, 0x33,0x7c,0x5f,0x96,0xb2,0xb1,0x06,0x06,0x7c,0xbb,0x5f,0x88,0xa0,0xeb,0x9f,0xea, 0x6e,0x6b,0x70,0xa9,0x6e,0xef,0xe6,0xa4,0xea,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x37,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x22,0x00,0x03,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x56,0x41,0x54,0x59,0x05,0x00,0x03,0x00,0x04,0x04,0x06, 0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b, 0x00,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0xc0,0x0a,0x00,0x00,0xff,0xff,0xff,0xff, 0x42,0x43,0xc0,0xde,0x21,0x0c,0x00,0x00,0xad,0x02,0x00,0x00,0x0b,0x82,0x20,0x00, 0x02,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49, 0x06,0x10,0x32,0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62, 0x80,0x10,0x45,0x02,0x42,0x92,0x0b,0x42,0x84,0x10,0x32,0x14,0x38,0x08,0x18,0x49, 0x0a,0x32,0x44,0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72, 0x24,0x07,0xc8,0x08,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00, 0x51,0x18,0x00,0x00,0x82,0x00,0x00,0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff, 0x01,0x90,0x80,0x8a,0x18,0x87,0x77,0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76, 0xc8,0x87,0x36,0x90,0x87,0x77,0xa8,0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20, 0x87,0x74,0xb0,0x87,0x74,0x20,0x87,0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81, 0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c,0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c, 0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8,0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6, 0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79, 0x68,0x03,0x78,0x90,0x87,0x72,0x18,0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80, 0x87,0x76,0x08,0x07,0x72,0x00,0xcc,0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc, 0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21,0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21, 0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e,0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0, 0x07,0x79,0xa8,0x87,0x72,0x00,0x06,0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87, 0x76,0x28,0x87,0x36,0x80,0x87,0x77,0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36, 0x28,0x07,0x76,0x48,0x87,0x76,0x68,0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28, 0x87,0x70,0x30,0x07,0x80,0x70,0x87,0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87, 0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1, 0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d, 0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87, 0x72,0x00,0x08,0x77,0x78,0x87,0x36,0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73, 0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c, 0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6,0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda, 0x40,0x1f,0xca,0x41,0x1e,0xde,0x61,0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21, 0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90,0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68, 0x03,0x7a,0x90,0x87,0x70,0x80,0x07,0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87, 0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21, 0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e,0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e, 0xde,0x41,0x1e,0xda,0x40,0x1c,0xea,0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6, 0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c,0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73, 0x28,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e, 0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea,0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc, 0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1,0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76, 0x98,0x87,0x72,0x00,0x36,0x20,0x02,0x01,0x24,0xc0,0x02,0x54,0x00,0x00,0x00,0x00, 0x49,0x18,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00, 0x16,0x00,0x00,0x00,0x32,0x22,0x08,0x09,0x20,0x64,0x85,0x04,0x13,0x22,0xa4,0x84, 0x04,0x13,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x88,0x8c,0x0b,0x84,0x84,0x4c, 0x10,0x3c,0x33,0x00,0xc3,0x08,0x02,0x30,0x8c,0x40,0x00,0x76,0x08,0x91,0x83,0xa4, 0x29,0xa2,0x84,0xc9,0xaf,0xa4,0xff,0x01,0x22,0x80,0x91,0x50,0x10,0x83,0x08,0x84, 0x50,0x8a,0x89,0x90,0x22,0x1b,0x08,0x98,0x23,0x00,0x83,0x14,0xc8,0x39,0x02,0x50, 0x18,0x44,0x08,0x84,0x61,0x04,0x22,0x19,0x01,0x00,0x00,0x00,0x13,0xa8,0x70,0x48, 0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83, 0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e, 0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0, 0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0, 0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6, 0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07, 0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6, 0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80, 0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07, 0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75, 0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0, 0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07, 0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70, 0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20, 0x07,0x43,0x98,0x03,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x2c,0x10,0x00,0x00, 0x09,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47, 0xc6,0x04,0x43,0xca,0x12,0x18,0x01,0x28,0x88,0x22,0x28,0x84,0x32,0xa0,0x1d,0x01, 0x20,0x1d,0x4b,0x80,0x04,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0xe9,0x00,0x00,0x00, 0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7, 0x21,0x46,0x42,0x20,0x80,0x82,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3, 0x2b,0x1b,0x62,0x24,0x01,0x22,0x24,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4, 0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac, 0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0x80,0x10, 0x43,0x8c,0x24,0x48,0x86,0x44,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x41,0x8e, 0x24,0x48,0x82,0x44,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56, 0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56, 0x36,0x44,0x40,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65, 0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c, 0x65,0x43,0x04,0x64,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1, 0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95, 0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d,0x11,0x90,0x86,0x51,0x58, 0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d, 0x97,0xba,0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72, 0x2e,0x61,0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc, 0xd8,0xde,0xc2,0xe8,0x64,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85, 0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2,0x20,0x0f,0x02,0x21,0x11,0x22,0x21,0x13,0x42, 0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0xa1,0x61,0xc6,0xf6, 0x16,0x46,0x47,0xc3,0x62,0xec,0x8d,0xed,0x4d,0x6e,0x08,0x83,0x3c,0x88,0x85,0x44, 0xc8,0x85,0x4c,0x08,0x46,0x26,0x2c,0x4d,0xce,0x05,0xee,0x6d,0x2e,0x8d,0x2e,0xed, 0xcd,0x8d,0xcb,0x19,0xdb,0x17,0xd4,0xdb,0x5c,0x1a,0x5d,0xda,0x9b,0xdb,0x10,0x05, 0xd1,0x90,0x08,0xb9,0x90,0x09,0xd9,0x86,0x18,0x48,0x85,0x64,0x08,0x47,0x28,0x2c, 0x4d,0xce,0xc5,0xae,0x4c,0x8e,0xae,0x0c,0xef,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x52, 0x58,0x9a,0x9c,0x0b,0xdb,0xdb,0x58,0x18,0x5d,0xda,0x9b,0xdb,0x57,0x9a,0x1b,0x59, 0x19,0x1e,0xbd,0xb3,0x32,0xb7,0x32,0xb9,0x30,0xba,0x32,0x32,0x94,0xaf,0xaf,0xb0, 0x34,0xb9,0x2f,0x38,0xb6,0xb0,0xb1,0x32,0xb4,0x37,0x36,0xb2,0x32,0xb9,0xaf,0xaf, 0x14,0x22,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x43,0xa8,0x44,0x40,0x3c,0xe4, 0x4b,0x84,0x24,0x40,0xc0,0x00,0x89,0x10,0x09,0x99,0x90,0x30,0x60,0x42,0x57,0x86, 0x37,0xf6,0xf6,0x26,0x47,0x06,0x33,0x84,0x4a,0x02,0xc4,0x43,0xbe,0x24,0x48,0x02, 0x04,0x0c,0x90,0x08,0x91,0x90,0x09,0x19,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x43,0xa8,0x84,0x40,0x3c,0xe4,0x4b,0x88,0x24,0x40,0xc0,0x00,0x89,0x90,0x0b,0x99, 0x90,0x32,0xa0,0x12,0x96,0x26,0xe7,0x22,0x56,0x67,0x66,0x56,0x26,0xc7,0x27,0x2c, 0x4d,0xce,0x45,0xac,0xce,0xcc,0xac,0x4c,0xee,0x6b,0x2e,0x4d,0xaf,0x8c,0x48,0x58, 0x9a,0x9c,0x8b,0x5c,0x59,0x18,0x19,0xa9,0xb0,0x34,0x39,0x97,0x39,0x3a,0xb9,0xba, 0x31,0xba,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x34,0x37,0xb3,0x37,0x26,0x64,0x69,0x73, 0x70,0x5f,0x73,0x69,0x7a,0x65,0x43,0x94,0x44,0x48,0x86,0x44,0x40,0x24,0x64,0x0d, 0x18,0x85,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xd1,0xe5,0xc1,0x95,0x7d,0xcd,0xa5, 0xe9,0x95,0xf1,0x0a,0x4b,0x93,0x73,0x09,0x93,0x3b,0xfb,0xa2,0xcb,0x83,0x2b,0xfb, 0x0a,0x63,0x4b,0x3b,0x73,0xfb,0x9a,0x4b,0xd3,0x2b,0x63,0x62,0x37,0xf7,0x05,0x17, 0x26,0x17,0xd6,0x36,0xc7,0xe1,0x4b,0x46,0x66,0x08,0x19,0x24,0x06,0x72,0x06,0x08, 0x1a,0x24,0x03,0xf2,0x25,0x42,0x12,0x20,0x69,0x80,0xa8,0x01,0xc2,0x06,0x48,0x1b, 0x24,0x03,0xe2,0x06,0xc9,0x80,0x44,0xc8,0x1b,0x20,0x13,0x02,0x07,0x43,0x10,0x44, 0x0c,0x10,0x32,0x40,0xcc,0x00,0x89,0x83,0x21,0xc6,0x01,0x20,0x1d,0x22,0x07,0x7c, 0xde,0xda,0xdc,0xd2,0xe0,0xde,0xe8,0xca,0xdc,0xe8,0x40,0xc6,0xd0,0xc2,0xe4,0xf8, 0x4c,0xa5,0xb5,0xc1,0xb1,0x95,0x81,0x0c,0xad,0xac,0x80,0x50,0x09,0x05,0x05,0x0d, 0x11,0x90,0x3a,0x18,0x62,0x20,0x74,0x80,0xd8,0xc1,0x72,0x0c,0x31,0x90,0x3b,0x40, 0xee,0x60,0x39,0x46,0x44,0xec,0xc0,0x0e,0xf6,0xd0,0x0e,0x6e,0xd0,0x0e,0xef,0x40, 0x0e,0xf5,0xc0,0x0e,0xe5,0xe0,0x06,0xe6,0xc0,0x0e,0xe1,0x70,0x0e,0xf3,0x30,0x45, 0x08,0x86,0x11,0x0a,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b,0xa4,0x03,0x39,0x94,0x83, 0x3b,0xd0,0xc3,0x94,0xa0,0x18,0xb1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39, 0xc8,0xc3,0x3c,0xa4,0xc3,0x3b,0xb8,0xc3,0x94,0xc0,0x18,0x41,0x85,0x43,0x3a,0xc8, 0x83,0x1b,0xb0,0x43,0x38,0xb8,0xc3,0x39,0xd4,0x43,0x38,0x9c,0x43,0x39,0xfc,0x82, 0x3d,0x94,0x83,0x3c,0xcc,0x43,0x3a,0xbc,0x83,0x3b,0x4c,0x09,0x90,0x11,0x53,0x38, 0xa4,0x83,0x3c,0xb8,0xc1,0x38,0xbc,0x43,0x3b,0xc0,0x43,0x3a,0xb0,0x43,0x39,0xfc, 0xc2,0x3b,0xc0,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x3c,0x4c,0x19,0x14,0xc6,0x19, 0xa1,0x84,0x43,0x3a,0xc8,0x83,0x1b,0xd8,0x43,0x39,0xc8,0x03,0x3d,0x94,0x03,0x3e, 0x4c,0x09,0xe6,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c, 0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07, 0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e, 0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43, 0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c, 0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76, 0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e, 0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8, 0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4, 0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68, 0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07, 0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71, 0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5, 0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4, 0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90, 0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43, 0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b, 0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78, 0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2, 0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20, 0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0, 0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83, 0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07, 0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61, 0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d, 0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39, 0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79, 0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3, 0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4, 0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8, 0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83, 0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00, 0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x23,0x00,0x00,0x00, 0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0xd4,0x63,0x11,0x40, 0x60,0x1c,0x73,0x10,0x42,0xf0,0x3c,0x94,0x33,0x00,0x14,0x63,0x09,0x20,0x08,0x82, 0xf0,0x2f,0x80,0x20,0x08,0xc2,0xbf,0x30,0x96,0x00,0x82,0x20,0x08,0x82,0x01,0x08, 0x82,0x20,0x08,0x0e,0x33,0x00,0x24,0x73,0x10,0xd7,0x65,0x55,0x34,0x33,0x00,0x04, 0x63,0x04,0x20,0x08,0x82,0xf8,0x37,0x46,0x00,0x82,0x20,0x08,0x7f,0x33,0x00,0x00, 0xe3,0x0d,0x4c,0x64,0x51,0x40,0x2c,0x0a,0xe8,0x63,0xc1,0x02,0x1f,0x0b,0x16,0xf9, 0x0c,0x32,0x04,0xcb,0x33,0xc8,0x10,0x2c,0xd1,0x6c,0xc3,0x52,0x01,0xb3,0x0d,0x41, 0x15,0xcc,0x36,0x04,0x83,0x90,0x41,0x40,0x0c,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x5b,0x86,0x20,0xc0,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _snk_fs_bytecode_metal_ios[2809] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf9,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xf0,0xa4,0xb3,0x95,0x4b,0xab,0x64, 0x94,0xe7,0xa9,0x8a,0x69,0x27,0x6d,0x28,0x77,0x84,0x8d,0x3f,0xaf,0x7d,0x3c,0x39, 0x31,0xc4,0xcb,0x53,0x6d,0xc0,0x0d,0xdf,0x08,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x04,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x7e,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x30,0x8c,0x20,0x00,0x47,0x49, 0x53,0x44,0x09,0x93,0xff,0x4f,0xc4,0x35,0x51,0x11,0xf1,0xdb,0xc3,0x3f,0x8d,0x11, 0x00,0x83,0x08,0x44,0x70,0x91,0x34,0x45,0x94,0x30,0xf9,0xbf,0x04,0x30,0xcf,0x42, 0x44,0xff,0x34,0x46,0x00,0x0c,0x22,0x18,0x42,0x29,0xc4,0x08,0xe5,0x10,0x9a,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0xca,0x19,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xa8,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x74,0x78,0x87, 0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e,0x6d,0x00,0x0f, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe9, 0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0,0x07,0x78,0xa0, 0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07, 0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0, 0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xf6,0x20, 0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x40,0x07,0x78, 0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07,0x76,0xa0,0x07, 0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x72, 0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60, 0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07, 0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a, 0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10, 0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07,0x70,0x20,0x07, 0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20,0x07,0x43,0x98, 0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0x8c,0x03,0x04,0x80,0x00,0x00, 0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98, 0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02, 0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70,0x2c,0x01,0x12,0x00,0x00,0x79,0x18,0x00, 0x00,0xb9,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32, 0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b, 0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08, 0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed, 0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c, 0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45, 0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17, 0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6, 0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96, 0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f, 0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x67,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c, 0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99, 0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d, 0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d, 0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c, 0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2, 0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d, 0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9, 0x99,0x86,0x08,0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc, 0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb, 0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e, 0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x34, 0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x28,0xd4,0xd9,0x0d,0x91,0x96,0xe1,0xb1,0x9e,0xeb, 0xc1,0x9e,0xec,0x81,0x1e,0xed,0x91,0x9e,0x8d,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb, 0xdb,0x98,0x5b,0x4c,0x0a,0x8b,0xb1,0x37,0xb6,0x37,0xb9,0x21,0xd2,0x22,0x3c,0xd6, 0xd3,0x3d,0xd8,0x93,0x3d,0xd0,0x13,0x3d,0xd2,0xe3,0x71,0x09,0x4b,0x93,0x73,0xa1, 0x2b,0xc3,0xa3,0xab,0x93,0x2b,0xa3,0x14,0x96,0x26,0xe7,0xc2,0xf6,0x36,0x16,0x46, 0x97,0xf6,0xe6,0xf6,0x95,0xe6,0x46,0x56,0x86,0x47,0x25,0x2c,0x4d,0xce,0x65,0x2e, 0xac,0x0d,0x8e,0xad,0x8c,0x18,0x5d,0x19,0x1e,0x5d,0x9d,0x5c,0x99,0x0c,0x19,0x8f, 0x19,0xdb,0x5b,0x18,0x1d,0x0b,0xc8,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x0f,0x07,0xba, 0x32,0xbc,0x21,0xd4,0x42,0x3c,0x60,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x23,0x06,0x0f, 0xf4,0x8c,0xc1,0x23,0x3d,0x64,0xc0,0x25,0x2c,0x4d,0xce,0x65,0x2e,0xac,0x0d,0x8e, 0xad,0x4c,0x8e,0xc7,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x87,0xb9,0x36,0xb8,0x21, 0xd2,0x72,0x3c,0x66,0xf0,0x84,0xc1,0x32,0x2c,0xc2,0x03,0x3d,0x67,0xf0,0x48,0x0f, 0x1a,0x0c,0x41,0x1e,0xee,0xf9,0x9e,0x32,0x78,0xd2,0x60,0x88,0x91,0x00,0x4f,0xf5, 0xa8,0xc1,0x88,0x88,0x1d,0xd8,0xc1,0x1e,0xda,0xc1,0x0d,0xda,0xe1,0x1d,0xc8,0xa1, 0x1e,0xd8,0xa1,0x1c,0xdc,0xc0,0x1c,0xd8,0x21,0x1c,0xce,0x61,0x1e,0xa6,0x08,0xc1, 0x30,0x42,0x61,0x07,0x76,0xb0,0x87,0x76,0x70,0x83,0x74,0x20,0x87,0x72,0x70,0x07, 0x7a,0x98,0x12,0x14,0x23,0x96,0x70,0x48,0x07,0x79,0x70,0x03,0x7b,0x28,0x07,0x79, 0x98,0x87,0x74,0x78,0x07,0x77,0x98,0x12,0x18,0x23,0xa8,0x70,0x48,0x07,0x79,0x70, 0x03,0x76,0x08,0x07,0x77,0x38,0x87,0x7a,0x08,0x87,0x73,0x28,0x87,0x5f,0xb0,0x87, 0x72,0x90,0x87,0x79,0x48,0x87,0x77,0x70,0x87,0x29,0x01,0x32,0x62,0x0a,0x87,0x74, 0x90,0x07,0x37,0x18,0x87,0x77,0x68,0x07,0x78,0x48,0x07,0x76,0x28,0x87,0x5f,0x78, 0x07,0x78,0xa0,0x87,0x74,0x78,0x07,0x77,0x98,0x87,0x29,0x83,0xc2,0x38,0x23,0x98, 0x70,0x48,0x07,0x79,0x70,0x03,0x73,0x90,0x87,0x70,0x38,0x87,0x76,0x28,0x07,0x77, 0xa0,0x87,0x29,0xc1,0x1a,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00, 0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84, 0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed, 0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66, 0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c, 0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70, 0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90, 0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4, 0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83, 0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14, 0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70, 0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80, 0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0, 0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1, 0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d, 0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39, 0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc, 0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70, 0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53, 0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e, 0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c, 0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38, 0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37, 0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33, 0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4, 0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0, 0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3, 0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07, 0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23, 0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59, 0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b, 0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00, 0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f, 0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20, 0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x0c,0x00,0x00,0x00,0x13,0x04,0x41, 0x2c,0x10,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xc4,0x46,0x00,0x48,0x8d,0x00,0xd4, 0x00,0x89,0x19,0x00,0x02,0x23,0x00,0x00,0x00,0x23,0x06,0x8a,0x10,0x44,0x87,0x91, 0x0c,0x05,0x11,0x58,0x90,0xc8,0x67,0xb6,0x81,0x08,0x80,0x0c,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _snk_vs_source_metal_sim[672] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x32,0x20,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x3b, 0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e, 0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x32,0x20,0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63, 0x6e,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c, 0x6f,0x63,0x6e,0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x34,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20, 0x5b,0x5b,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69, 0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x70, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62, 0x75,0x74,0x65,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c, 0x6f,0x61,0x74,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x5b, 0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31,0x29,0x5d,0x5d,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x32, 0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76,0x65,0x72,0x74,0x65,0x78,0x20, 0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x28, 0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b,0x5b,0x73,0x74, 0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x63,0x6f,0x6e,0x73,0x74,0x61, 0x6e,0x74,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x26,0x20,0x5f,0x32, 0x32,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29, 0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74, 0x20,0x6f,0x75,0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f, 0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x28,0x28,0x69,0x6e,0x2e,0x70,0x6f,0x73, 0x69,0x74,0x69,0x6f,0x6e,0x20,0x2f,0x20,0x5f,0x32,0x32,0x2e,0x64,0x69,0x73,0x70, 0x5f,0x73,0x69,0x7a,0x65,0x29,0x20,0x2d,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28, 0x30,0x2e,0x35,0x29,0x29,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x28,0x32, 0x2e,0x30,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x29,0x2c,0x20,0x30,0x2e,0x35,0x2c,0x20, 0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75,0x76, 0x20,0x3d,0x20,0x69,0x6e,0x2e,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d, 0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _snk_fs_source_metal_sim[436] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d, 0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f, 0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x66,0x72,0x61,0x67,0x6d,0x65, 0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65, 0x78,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d, 0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b, 0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75, 0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e, 0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78, 0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x2c,0x20,0x69,0x6e,0x2e, 0x75,0x76,0x29,0x20,0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a, 0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _snk_vs_bytecode_hlsl4[892] = { 0x44,0x58,0x42,0x43,0x0d,0xbd,0x9e,0x9e,0x7d,0xc0,0x2b,0x54,0x88,0xf9,0xca,0x89, 0x32,0xe4,0x0c,0x59,0x01,0x00,0x00,0x00,0x7c,0x03,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xfc,0x00,0x00,0x00,0x60,0x01,0x00,0x00,0xd0,0x01,0x00,0x00, 0x00,0x03,0x00,0x00,0x52,0x44,0x45,0x46,0xc0,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0x98,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x00,0xab,0xab,0x3c,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00, 0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x78,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x88,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x5f,0x32,0x32,0x5f,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a, 0x65,0x00,0xab,0xab,0x01,0x00,0x03,0x00,0x01,0x00,0x02,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52, 0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e, 0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x03,0x00,0x00,0x50,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab, 0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x0c,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0xab,0xab,0xab, 0x53,0x48,0x44,0x52,0x28,0x01,0x00,0x00,0x40,0x00,0x01,0x00,0x4a,0x00,0x00,0x00, 0x59,0x00,0x00,0x04,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x03, 0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00, 0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x67,0x00,0x00,0x04, 0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x00,0x00,0x02, 0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0x32,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x36,0x00,0x00,0x05,0xf2,0x20,0x10,0x00, 0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x02,0x00,0x00,0x00,0x0e,0x00,0x00,0x08, 0x32,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x80,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0a, 0x32,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x02,0x40,0x00,0x00,0x00,0x00,0x00,0xbf,0x00,0x00,0x00,0xbf,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x0a,0x32,0x20,0x10,0x00,0x02,0x00,0x00,0x00, 0x46,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x02,0x40,0x00,0x00,0x00,0x00,0x00,0x40, 0x00,0x00,0x00,0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x08, 0xc2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x02,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x00,0x00,0x80,0x3f,0x3e,0x00,0x00,0x01, 0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _snk_fs_bytecode_hlsl4[608] = { 0x44,0x58,0x42,0x43,0x3a,0xa7,0x41,0x21,0xb4,0x2d,0xa7,0x6e,0xfe,0x31,0xb0,0xe0, 0x14,0xe0,0xdf,0x5a,0x01,0x00,0x00,0x00,0x60,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x48,0x01,0x00,0x00, 0xe4,0x01,0x00,0x00,0x52,0x44,0x45,0x46,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0x64,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c, 0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x44,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x00,0x00, 0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x53,0x56,0x5f,0x54, 0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52,0x94,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x5a,0x00,0x00,0x03,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00,0x00,0x00,0x00,0x00, 0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00, 0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x7e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x01,0x00,0x00,0x00, 0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _snk_vs_source_wgsl[1083] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x20,0x3a, 0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28, 0x30,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x30,0x29,0x20,0x76, 0x61,0x72,0x3c,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x32,0x32, 0x20,0x3a,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x76, 0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a, 0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20, 0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72, 0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63, 0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20, 0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f, 0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x31,0x39, 0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x5f,0x31,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x35,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x78,0x5f,0x32,0x32, 0x2e,0x64,0x69,0x73,0x70,0x5f,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x33,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x20,0x3d, 0x20,0x28,0x28,0x28,0x78,0x5f,0x31,0x39,0x20,0x2f,0x20,0x78,0x5f,0x32,0x35,0x29, 0x20,0x2d,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x30,0x2e,0x35,0x66,0x2c,0x20,0x30, 0x2e,0x35,0x66,0x29,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x32,0x2e, 0x30,0x66,0x2c,0x20,0x2d,0x32,0x2e,0x30,0x66,0x29,0x29,0x3b,0x0a,0x20,0x20,0x67, 0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x76,0x65,0x63, 0x34,0x66,0x28,0x78,0x5f,0x33,0x33,0x2e,0x78,0x2c,0x20,0x78,0x5f,0x33,0x33,0x2e, 0x79,0x2c,0x20,0x30,0x2e,0x35,0x66,0x2c,0x20,0x31,0x2e,0x30,0x66,0x29,0x3b,0x0a, 0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x33,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x78,0x5f,0x34,0x33,0x3b,0x0a,0x20,0x20,0x6c, 0x65,0x74,0x20,0x78,0x5f,0x34,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x20,0x3d,0x20,0x78,0x5f,0x34,0x37,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75, 0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61, 0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c, 0x74,0x69,0x6e,0x28,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65, 0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x28,0x30,0x29,0x0a,0x20,0x20,0x75,0x76,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63, 0x32,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x31,0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78, 0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69, 0x6f,0x6e,0x28,0x30,0x29,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78, 0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x32,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e, 0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20, 0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65, 0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c, 0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _snk_fs_source_wgsl[630] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75, 0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x38, 0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b,0x0a,0x0a,0x40,0x67, 0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67, 0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70,0x20,0x3a,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x34,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x78,0x5f,0x32,0x33,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74, 0x20,0x78,0x5f,0x32,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f, 0x6c,0x6f,0x72,0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x34,0x20,0x2a,0x20,0x78,0x5f, 0x32,0x37,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75, 0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28, 0x30,0x29,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x5f, 0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x66, 0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x28, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x29, 0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20, 0x20,0x75,0x76,0x20,0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28, 0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x5f,0x6f,0x75,0x74,0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x29, 0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _snk_vs_source_dummy = ""; static const char* _snk_fs_source_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) static void _snk_clipboard_copy(nk_handle usr, const char *text, int len) { (void)usr; if (len == 0) { return; } sapp_set_clipboard_string(text); } static void _snk_clipboard_paste(nk_handle usr, struct nk_text_edit *edit) { const char *text = sapp_get_clipboard_string(); if (text) { nk_textedit_paste(edit, text, nk_strlen(text)); } (void)usr; } #if defined(__EMSCRIPTEN__) && !defined(SOKOL_DUMMY_BACKEND) EM_JS(int, snk_js_is_osx, (void), { if (navigator.userAgent.includes('Macintosh')) { return 1; } else { return 0; } }); #endif static bool _snk_is_osx(void) { #if defined(SOKOL_DUMMY_BACKEND) return false; #elif defined(__EMSCRIPTEN__) return snk_js_is_osx(); #elif defined(__APPLE__) return true; #else return false; #endif } #endif // !SOKOL_NUKLEAR_NO_SOKOL_APP // ██ ██████ ██████ ██████ ██ ███ ██ ██████ // ██ ██ ██ ██ ██ ██ ████ ██ ██ // ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██████ ██████ ██████ ██ ██ ████ ██████ // // >>logging #if defined(SOKOL_DEBUG) #define _SNK_LOGITEM_XMACRO(item,msg) #item ": " msg, static const char* _snk_log_messages[] = { _SNK_LOG_ITEMS }; #undef _SNK_LOGITEM_XMACRO #endif // SOKOL_DEBUG #define _SNK_PANIC(code) _snk_log(SNK_LOGITEM_ ##code, 0, 0, __LINE__) #define _SNK_ERROR(code) _snk_log(SNK_LOGITEM_ ##code, 1, 0, __LINE__) #define _SNK_WARN(code) _snk_log(SNK_LOGITEM_ ##code, 2, 0, __LINE__) #define _SNK_INFO(code) _snk_log(SNK_LOGITEM_ ##code, 3, 0, __LINE__) #define _SNK_LOGMSG(code,msg) _snk_log(SNK_LOGITEM_ ##code, 3, msg, __LINE__) static void _snk_log(snk_log_item_t log_item, uint32_t log_level, const char* msg, uint32_t line_nr) { if (_snuklear.desc.logger.func) { const char* filename = 0; #if defined(SOKOL_DEBUG) filename = __FILE__; if (0 == msg) { msg = _snk_log_messages[log_item]; } #endif _snuklear.desc.logger.func("snk", log_level, log_item, msg, line_nr, filename, _snuklear.desc.logger.user_data); } else { // for log level PANIC it would be 'undefined behaviour' to continue if (log_level == 0) { abort(); } } } // ███ ███ ███████ ███ ███ ██████ ██████ ██ ██ // ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ██ ██████ ██ ██ ██ // // >>memory static void _snk_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } static void* _snk_malloc(size_t size) { SOKOL_ASSERT(size > 0); void* ptr; if (_snuklear.desc.allocator.alloc_fn) { ptr = _snuklear.desc.allocator.alloc_fn(size, _snuklear.desc.allocator.user_data); } else { ptr = malloc(size); } if (0 == ptr) { _SNK_PANIC(MALLOC_FAILED); } return ptr; } static void* _snk_malloc_clear(size_t size) { void* ptr = _snk_malloc(size); _snk_clear(ptr, size); return ptr; } static void _snk_free(void* ptr) { if (_snuklear.desc.allocator.free_fn) { _snuklear.desc.allocator.free_fn(ptr, _snuklear.desc.allocator.user_data); } else { free(ptr); } } // ██████ ██████ ██████ ██ // ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ // // >>pool static void _snk_init_pool(_snk_pool_t* pool, int num) { SOKOL_ASSERT(pool && (num >= 1)); // slot 0 is reserved for the 'invalid id', so bump the pool size by 1 pool->size = num + 1; pool->queue_top = 0; // generation counters indexable by pool slot index, slot 0 is reserved size_t gen_ctrs_size = sizeof(uint32_t) * (size_t)pool->size; pool->gen_ctrs = (uint32_t*) _snk_malloc_clear(gen_ctrs_size); // it's not a bug to only reserve 'num' here pool->free_queue = (int*) _snk_malloc_clear(sizeof(int) * (size_t)num); // never allocate the zero-th pool item since the invalid id is 0 for (int i = pool->size-1; i >= 1; i--) { pool->free_queue[pool->queue_top++] = i; } } static void _snk_discard_pool(_snk_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); _snk_free(pool->free_queue); pool->free_queue = 0; SOKOL_ASSERT(pool->gen_ctrs); _snk_free(pool->gen_ctrs); pool->gen_ctrs = 0; pool->size = 0; pool->queue_top = 0; } static int _snk_pool_alloc_index(_snk_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); if (pool->queue_top > 0) { int slot_index = pool->free_queue[--pool->queue_top]; SOKOL_ASSERT((slot_index > 0) && (slot_index < pool->size)); return slot_index; } else { // pool exhausted return _SNK_INVALID_SLOT_INDEX; } } static void _snk_pool_free_index(_snk_pool_t* pool, int slot_index) { SOKOL_ASSERT((slot_index > _SNK_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); SOKOL_ASSERT(pool->queue_top < pool->size); #ifdef SOKOL_DEBUG // debug check against double-free for (int i = 0; i < pool->queue_top; i++) { SOKOL_ASSERT(pool->free_queue[i] != slot_index); } #endif pool->free_queue[pool->queue_top++] = slot_index; SOKOL_ASSERT(pool->queue_top <= (pool->size-1)); } /* initialize a pool slot: - bump the slot's generation counter - create a resource id from the generation counter and slot index - set the slot's id to this id - set the slot's state to ALLOC - return the handle id */ static uint32_t _snk_slot_init(_snk_pool_t* pool, _snk_slot_t* slot, int slot_index) { /* FIXME: add handling for an overflowing generation counter, for now, just overflow (another option is to disable the slot) */ SOKOL_ASSERT(pool && pool->gen_ctrs); SOKOL_ASSERT((slot_index > _SNK_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT((slot->state == _SNK_RESOURCESTATE_INITIAL) && (slot->id == SNK_INVALID_ID)); uint32_t ctr = ++pool->gen_ctrs[slot_index]; slot->id = (ctr<<_SNK_SLOT_SHIFT)|(slot_index & _SNK_SLOT_MASK); slot->state = _SNK_RESOURCESTATE_ALLOC; return slot->id; } // extract slot index from id static int _snk_slot_index(uint32_t id) { int slot_index = (int) (id & _SNK_SLOT_MASK); SOKOL_ASSERT(_SNK_INVALID_SLOT_INDEX != slot_index); return slot_index; } static void _snk_init_item_pool(_snk_pool_t* pool, int pool_size, void** items_ptr, size_t item_size_bytes) { // NOTE: the pools will have an additional item, since slot 0 is reserved SOKOL_ASSERT(pool && (pool->size == 0)); SOKOL_ASSERT((pool_size > 0) && (pool_size < _SNK_MAX_POOL_SIZE)); SOKOL_ASSERT(items_ptr && (*items_ptr == 0)); SOKOL_ASSERT(item_size_bytes > 0); _snk_init_pool(pool, pool_size); const size_t pool_size_bytes = item_size_bytes * (size_t)pool->size; *items_ptr = _snk_malloc_clear(pool_size_bytes); } static void _snk_discard_item_pool(_snk_pool_t* pool, void** items_ptr) { SOKOL_ASSERT(pool && (pool->size != 0)); SOKOL_ASSERT(items_ptr && (*items_ptr != 0)); _snk_free(*items_ptr); *items_ptr = 0; _snk_discard_pool(pool); } static void _snk_setup_image_pool(int pool_size) { _snk_image_pool_t* p = &_snuklear.image_pool; _snk_init_item_pool(&p->pool, pool_size, (void**)&p->items, sizeof(_snk_image_t)); } static void _snk_discard_image_pool(void) { _snk_image_pool_t* p = &_snuklear.image_pool; _snk_discard_item_pool(&p->pool, (void**)&p->items); } static snk_image_t _snk_make_image_handle(uint32_t id) { snk_image_t handle = { id }; return handle; } static _snk_image_t* _snk_image_at(uint32_t id) { SOKOL_ASSERT(SNK_INVALID_ID != id); const _snk_image_pool_t* p = &_snuklear.image_pool; int slot_index = _snk_slot_index(id); SOKOL_ASSERT((slot_index > _SNK_INVALID_SLOT_INDEX) && (slot_index < p->pool.size)); return &p->items[slot_index]; } static _snk_image_t* _snk_lookup_image(uint32_t id) { if (SNK_INVALID_ID != id) { _snk_image_t* img = _snk_image_at(id); if (img->slot.id == id) { return img; } } return 0; } static snk_image_t _snk_alloc_image(void) { _snk_image_pool_t* p = &_snuklear.image_pool; int slot_index = _snk_pool_alloc_index(&p->pool); if (_SNK_INVALID_SLOT_INDEX != slot_index) { uint32_t id = _snk_slot_init(&p->pool, &p->items[slot_index].slot, slot_index); return _snk_make_image_handle(id); } else { // pool exhausted return _snk_make_image_handle(SNK_INVALID_ID); } } static _snk_resource_state _snk_init_image(_snk_image_t* img, const snk_image_desc_t* desc) { SOKOL_ASSERT(img && (img->slot.state == _SNK_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); img->image = desc->image; img->sampler = desc->sampler; return _SNK_RESOURCESTATE_VALID; } static void _snk_deinit_image(_snk_image_t* img) { SOKOL_ASSERT(img); img->image.id = SNK_INVALID_ID; img->sampler.id = SNK_INVALID_ID; } static void _snk_destroy_image(snk_image_t img_id) { _snk_image_t* img = _snk_lookup_image(img_id.id); if (img) { _snk_deinit_image(img); _snk_image_pool_t* p = &_snuklear.image_pool; _snk_clear(img, sizeof(_snk_image_t)); _snk_pool_free_index(&p->pool, _snk_slot_index(img_id.id)); } } static void _snk_destroy_all_images(void) { _snk_image_pool_t* p = &_snuklear.image_pool; for (int i = 0; i < p->pool.size; i++) { _snk_image_t* img = &p->items[i]; _snk_destroy_image(_snk_make_image_handle(img->slot.id)); } } static snk_image_desc_t _snk_image_desc_defaults(const snk_image_desc_t* desc) { SOKOL_ASSERT(desc); snk_image_desc_t res = *desc; res.image.id = _snk_def(res.image.id, _snuklear.def_img.id); res.sampler.id = _snk_def(res.sampler.id, _snuklear.def_smp.id); return res; } static snk_desc_t _snk_desc_defaults(const snk_desc_t* desc) { SOKOL_ASSERT(desc); snk_desc_t res = *desc; res.max_vertices = _snk_def(res.max_vertices, 65536); res.dpi_scale = _snk_def(res.dpi_scale, 1.0f); res.image_pool_size = _snk_def(res.image_pool_size, 256); return res; } // ██████ ██ ██ ██████ ██ ██ ██████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██████ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ ██ ██████ // // >>public SOKOL_API_IMPL void snk_setup(const snk_desc_t* desc) { SOKOL_ASSERT(desc); _snk_clear(&_snuklear, sizeof(_snuklear)); _snuklear.init_cookie = _SNK_INIT_COOKIE; _snuklear.desc = _snk_desc_defaults(desc); #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) _snuklear.is_osx = _snk_is_osx(); #endif // can keep color_format, depth_format and sample_count as is, // since sokol_gfx.h will do its own default-value handling _snk_setup_image_pool(_snuklear.desc.image_pool_size); // initialize Nuklear nk_bool init_res = nk_init_default(&_snuklear.ctx, 0); SOKOL_ASSERT(1 == init_res); (void)init_res; // silence unused warning in release mode #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) _snuklear.ctx.clip.copy = _snk_clipboard_copy; _snuklear.ctx.clip.paste = _snk_clipboard_paste; #endif // create sokol-gfx resources sg_push_debug_group("sokol-nuklear"); // vertex buffer _snuklear.vertex_buffer_size = (size_t)_snuklear.desc.max_vertices * sizeof(_snk_vertex_t); _snuklear.vbuf = sg_make_buffer(&(sg_buffer_desc){ .usage = SG_USAGE_STREAM, .size = _snuklear.vertex_buffer_size, .label = "sokol-nuklear-vertices" }); // index buffer _snuklear.index_buffer_size = (size_t)_snuklear.desc.max_vertices * 3 * sizeof(uint16_t); _snuklear.ibuf = sg_make_buffer(&(sg_buffer_desc){ .type = SG_BUFFERTYPE_INDEXBUFFER, .usage = SG_USAGE_STREAM, .size = _snuklear.index_buffer_size, .label = "sokol-nuklear-indices" }); // default font sampler _snuklear.font_smp = sg_make_sampler(&(sg_sampler_desc){ .min_filter = SG_FILTER_LINEAR, .mag_filter = SG_FILTER_LINEAR, .wrap_u = SG_WRAP_CLAMP_TO_EDGE, .wrap_v = SG_WRAP_CLAMP_TO_EDGE, .label = "sokol-nuklear-font-sampler", }); // default user-image sampler _snuklear.def_smp = sg_make_sampler(&(sg_sampler_desc){ .min_filter = SG_FILTER_NEAREST, .mag_filter = SG_FILTER_NEAREST, .wrap_u = SG_WRAP_CLAMP_TO_EDGE, .wrap_v = SG_WRAP_CLAMP_TO_EDGE, .label = "sokol-nuklear-default-sampler", }); // default font texture if (!_snuklear.desc.no_default_font) { nk_font_atlas_init_default(&_snuklear.atlas); nk_font_atlas_begin(&_snuklear.atlas); int font_width = 0, font_height = 0; const void* pixels = nk_font_atlas_bake(&_snuklear.atlas, &font_width, &font_height, NK_FONT_ATLAS_RGBA32); SOKOL_ASSERT((font_width > 0) && (font_height > 0)); _snuklear.font_img = sg_make_image(&(sg_image_desc){ .width = font_width, .height = font_height, .pixel_format = SG_PIXELFORMAT_RGBA8, .data.subimage[0][0] = { .ptr = pixels, .size = (size_t)(font_width * font_height) * sizeof(uint32_t) }, .label = "sokol-nuklear-font" }); _snuklear.default_font = snk_make_image(&(snk_image_desc_t){ .image = _snuklear.font_img, .sampler = _snuklear.font_smp, }); nk_font_atlas_end(&_snuklear.atlas, snk_nkhandle(_snuklear.default_font), 0); nk_font_atlas_cleanup(&_snuklear.atlas); if (_snuklear.atlas.default_font) { nk_style_set_font(&_snuklear.ctx, &_snuklear.atlas.default_font->handle); } } // default user image static uint32_t def_pixels[64]; memset(def_pixels, 0xFF, sizeof(def_pixels)); _snuklear.def_img = sg_make_image(&(sg_image_desc){ .width = 8, .height = 8, .pixel_format = SG_PIXELFORMAT_RGBA8, .data.subimage[0][0] = SG_RANGE(def_pixels), .label = "sokol-nuklear-default-image", }); // shader #if defined SOKOL_METAL const char* vs_entry = "main0"; const char* fs_entry = "main0"; #else const char* vs_entry = "main"; const char* fs_entry = "main"; #endif sg_range vs_bytecode = { .ptr = 0, .size = 0 }; sg_range fs_bytecode = { .ptr = 0, .size = 0 }; const char* vs_source = 0; const char* fs_source = 0; #if defined(SOKOL_GLCORE) vs_source = (const char*)_snk_vs_source_glsl410; fs_source = (const char*)_snk_fs_source_glsl410; #elif defined(SOKOL_GLES3) vs_source = (const char*)_snk_vs_source_glsl300es; fs_source = (const char*)_snk_fs_source_glsl300es; #elif defined(SOKOL_METAL) switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: vs_bytecode = SG_RANGE(_snk_vs_bytecode_metal_macos); fs_bytecode = SG_RANGE(_snk_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: vs_bytecode = SG_RANGE(_snk_vs_bytecode_metal_ios); fs_bytecode = SG_RANGE(_snk_fs_bytecode_metal_ios); break; default: vs_source = (const char*)_snk_vs_source_metal_sim; fs_source = (const char*)_snk_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) vs_bytecode = SG_RANGE(_snk_vs_bytecode_hlsl4); fs_bytecode = SG_RANGE(_snk_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) vs_source = (const char*)_snk_vs_source_wgsl; fs_source = (const char*)_snk_fs_source_wgsl; #else vs_source = _snk_vs_source_dummy; fs_source = _snk_fs_source_dummy; #endif _snuklear.shd = sg_make_shader(&(sg_shader_desc){ .attrs = { [0] = { .name = "position", .sem_name = "TEXCOORD", .sem_index = 0 }, [1] = { .name = "texcoord0", .sem_name = "TEXCOORD", .sem_index = 1 }, [2] = { .name = "color0", .sem_name = "TEXCOORD", .sem_index = 2 }, }, .vs = { .source = vs_source, .bytecode = vs_bytecode, .entry = vs_entry, .d3d11_target = "vs_4_0", .uniform_blocks[0] = { .size = sizeof(_snk_vs_params_t), .uniforms[0] = { .name = "vs_params", .type = SG_UNIFORMTYPE_FLOAT4, .array_count = 1, } }, }, .fs = { .source = fs_source, .bytecode = fs_bytecode, .entry = fs_entry, .d3d11_target = "ps_4_0", .images[0] = { .used = true, .image_type = SG_IMAGETYPE_2D, .sample_type = SG_IMAGESAMPLETYPE_FLOAT }, .samplers[0] = { .used = true, .sampler_type = SG_SAMPLERTYPE_FILTERING }, .image_sampler_pairs[0] = { .used = true, .glsl_name = "tex_smp", .image_slot = 0, .sampler_slot = 0 }, }, .label = "sokol-nuklear-shader" }); // pipeline object _snuklear.pip = sg_make_pipeline(&(sg_pipeline_desc){ .layout = { .attrs = { [0] = { .offset = offsetof(_snk_vertex_t, pos), .format=SG_VERTEXFORMAT_FLOAT2 }, [1] = { .offset = offsetof(_snk_vertex_t, uv), .format=SG_VERTEXFORMAT_FLOAT2 }, [2] = { .offset = offsetof(_snk_vertex_t, col), .format=SG_VERTEXFORMAT_UBYTE4N } } }, .shader = _snuklear.shd, .index_type = SG_INDEXTYPE_UINT16, .sample_count = _snuklear.desc.sample_count, .depth.pixel_format = _snuklear.desc.depth_format, .colors[0] = { .pixel_format = _snuklear.desc.color_format, .write_mask = SG_COLORMASK_RGB, .blend = { .enabled = true, .src_factor_rgb = SG_BLENDFACTOR_SRC_ALPHA, .dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA, } }, .label = "sokol-nuklear-pipeline" }); sg_pop_debug_group(); } SOKOL_API_IMPL void snk_shutdown(void) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); nk_free(&_snuklear.ctx); nk_font_atlas_clear(&_snuklear.atlas); // NOTE: it's valid to call the destroy funcs with SG_INVALID_ID sg_push_debug_group("sokol-nuklear"); sg_destroy_pipeline(_snuklear.pip); sg_destroy_shader(_snuklear.shd); sg_destroy_sampler(_snuklear.font_smp); sg_destroy_image(_snuklear.font_img); sg_destroy_sampler(_snuklear.def_smp); sg_destroy_image(_snuklear.def_img); sg_destroy_buffer(_snuklear.ibuf); sg_destroy_buffer(_snuklear.vbuf); sg_pop_debug_group(); _snk_destroy_all_images(); _snk_discard_image_pool(); _snuklear.init_cookie = 0; } SOKOL_API_IMPL struct nk_context* snk_new_frame(void) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) nk_input_begin(&_snuklear.ctx); if (_snuklear.mouse_did_move) { nk_input_motion(&_snuklear.ctx, _snuklear.mouse_pos[0], _snuklear.mouse_pos[1]); _snuklear.mouse_did_move = false; } if (_snuklear.mouse_did_scroll) { nk_input_scroll(&_snuklear.ctx, nk_vec2(_snuklear.mouse_scroll[0], _snuklear.mouse_scroll[1])); _snuklear.mouse_did_scroll = false; } for (int i = 0; i < NK_BUTTON_MAX; i++) { if (_snuklear.btn_down[i]) { _snuklear.btn_down[i] = false; nk_input_button(&_snuklear.ctx, (enum nk_buttons)i, _snuklear.mouse_pos[0], _snuklear.mouse_pos[1], 1); } else if (_snuklear.btn_up[i]) { _snuklear.btn_up[i] = false; nk_input_button(&_snuklear.ctx, (enum nk_buttons)i, _snuklear.mouse_pos[0], _snuklear.mouse_pos[1], 0); } } const size_t char_buffer_len = strlen(_snuklear.char_buffer); if (char_buffer_len > 0) { for (size_t i = 0; i < char_buffer_len; i++) { nk_input_char(&_snuklear.ctx, _snuklear.char_buffer[i]); } _snk_clear(_snuklear.char_buffer, NK_INPUT_MAX); } for (int i = 0; i < NK_KEY_MAX; i++) { if (_snuklear.keys_down[i]) { nk_input_key(&_snuklear.ctx, (enum nk_keys)i, true); _snuklear.keys_down[i] = 0; } if (_snuklear.keys_up[i]) { nk_input_key(&_snuklear.ctx, (enum nk_keys)i, false); _snuklear.keys_up[i] = 0; } } nk_input_end(&_snuklear.ctx); #endif nk_clear(&_snuklear.ctx); return &_snuklear.ctx; } SOKOL_API_IMPL snk_image_t snk_make_image(const snk_image_desc_t* desc) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); SOKOL_ASSERT(desc); const snk_image_desc_t desc_def = _snk_image_desc_defaults(desc); snk_image_t img_id = _snk_alloc_image(); _snk_image_t* img = _snk_lookup_image(img_id.id); if (img) { img->slot.state = _snk_init_image(img, &desc_def); SOKOL_ASSERT((img->slot.state == _SNK_RESOURCESTATE_VALID) || (img->slot.state == _SNK_RESOURCESTATE_FAILED)); } else { _SNK_ERROR(IMAGE_POOL_EXHAUSTED); } return img_id; } SOKOL_API_IMPL void snk_destroy_image(snk_image_t img_id) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); _snk_destroy_image(img_id); } SOKOL_API_IMPL snk_image_desc_t snk_query_image_desc(snk_image_t img_id) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); _snk_image_t* img = _snk_lookup_image(img_id.id); if (img) { return (snk_image_desc_t){ .image = img->image, .sampler = img->sampler, }; } else { return (snk_image_desc_t){0}; } } SOKOL_API_IMPL nk_handle snk_nkhandle(snk_image_t img) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); return (nk_handle) { .id = (int)img.id }; } SOKOL_API_IMPL snk_image_t snk_image_from_nkhandle(nk_handle h) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); return (snk_image_t){ .id = (uint32_t) h.id }; } static void _snk_bind_image_sampler(sg_bindings* bindings, nk_handle h) { _snk_image_t* img = _snk_lookup_image((uint32_t)h.id); if (img) { bindings->fs.images[0] = img->image; bindings->fs.samplers[0] = img->sampler; } else { bindings->fs.images[0] = _snuklear.def_img; bindings->fs.samplers[0] = _snuklear.def_smp; } } SOKOL_API_IMPL void snk_render(int width, int height) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); static const struct nk_draw_vertex_layout_element vertex_layout[] = { {NK_VERTEX_POSITION, NK_FORMAT_FLOAT, NK_OFFSETOF(struct _snk_vertex_t, pos)}, {NK_VERTEX_TEXCOORD, NK_FORMAT_FLOAT, NK_OFFSETOF(struct _snk_vertex_t, uv)}, {NK_VERTEX_COLOR, NK_FORMAT_R8G8B8A8, NK_OFFSETOF(struct _snk_vertex_t, col)}, {NK_VERTEX_LAYOUT_END} }; struct nk_convert_config cfg = { .shape_AA = NK_ANTI_ALIASING_ON, .line_AA = NK_ANTI_ALIASING_ON, .vertex_layout = vertex_layout, .vertex_size = sizeof(_snk_vertex_t), .vertex_alignment = 4, .circle_segment_count = 22, .curve_segment_count = 22, .arc_segment_count = 22, .global_alpha = 1.0f }; _snuklear.vs_params.disp_size[0] = (float)width; _snuklear.vs_params.disp_size[1] = (float)height; // Setup vert/index buffers and convert struct nk_buffer cmds, verts, idx; nk_buffer_init_default(&cmds); nk_buffer_init_default(&verts); nk_buffer_init_default(&idx); nk_convert(&_snuklear.ctx, &cmds, &verts, &idx, &cfg); // Check for vertex- and index-buffer overflow, assert in debug-mode, // otherwise silently skip rendering const bool vertex_buffer_overflow = nk_buffer_total(&verts) > _snuklear.vertex_buffer_size; const bool index_buffer_overflow = nk_buffer_total(&idx) > _snuklear.index_buffer_size; SOKOL_ASSERT(!vertex_buffer_overflow && !index_buffer_overflow); if (!vertex_buffer_overflow && !index_buffer_overflow) { // Setup rendering sg_update_buffer(_snuklear.vbuf, &(sg_range){ nk_buffer_memory_const(&verts), nk_buffer_total(&verts) }); sg_update_buffer(_snuklear.ibuf, &(sg_range){ nk_buffer_memory_const(&idx), nk_buffer_total(&idx) }); const float dpi_scale = _snuklear.desc.dpi_scale; const int fb_width = (int)(_snuklear.vs_params.disp_size[0] * dpi_scale); const int fb_height = (int)(_snuklear.vs_params.disp_size[1] * dpi_scale); sg_apply_viewport(0, 0, fb_width, fb_height, true); sg_apply_scissor_rect(0, 0, fb_width, fb_height, true); sg_apply_pipeline(_snuklear.pip); sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, &SG_RANGE(_snuklear.vs_params)); // Iterate through the command list, rendering each one const struct nk_draw_command* cmd = NULL; int idx_offset = 0; sg_bindings bindings = { .vertex_buffers[0] = _snuklear.vbuf, .index_buffer = _snuklear.ibuf, .index_buffer_offset = idx_offset }; nk_draw_foreach(cmd, &_snuklear.ctx, &cmds) { if (cmd->elem_count > 0) { _snk_bind_image_sampler(&bindings, cmd->texture); sg_apply_bindings(&bindings); sg_apply_scissor_rectf(cmd->clip_rect.x * dpi_scale, cmd->clip_rect.y * dpi_scale, cmd->clip_rect.w * dpi_scale, cmd->clip_rect.h * dpi_scale, true); sg_draw(0, (int)cmd->elem_count, 1); bindings.index_buffer_offset += (int)cmd->elem_count * (int)sizeof(uint16_t); } } sg_apply_scissor_rect(0, 0, fb_width, fb_height, true); } // Cleanup nk_buffer_free(&cmds); nk_buffer_free(&verts); nk_buffer_free(&idx); } #if !defined(SOKOL_NUKLEAR_NO_SOKOL_APP) _SOKOL_PRIVATE bool _snk_is_ctrl(uint32_t modifiers) { if (_snuklear.is_osx) { return 0 != (modifiers & SAPP_MODIFIER_SUPER); } else { return 0 != (modifiers & SAPP_MODIFIER_CTRL); } } _SOKOL_PRIVATE void _snk_append_char(uint32_t char_code) { size_t idx = strlen(_snuklear.char_buffer); if (idx<NK_INPUT_MAX) { _snuklear.char_buffer[idx] = (char)char_code; } } _SOKOL_PRIVATE enum nk_keys _snk_event_to_nuklearkey(const sapp_event* ev) { switch (ev->key_code) { case SAPP_KEYCODE_C: if (_snk_is_ctrl(ev->modifiers)) { return NK_KEY_COPY; } else { return NK_KEY_NONE; } break; case SAPP_KEYCODE_X: if (_snk_is_ctrl(ev->modifiers)) { return NK_KEY_CUT; } else { return NK_KEY_NONE; } break; case SAPP_KEYCODE_A: if (_snk_is_ctrl(ev->modifiers)) { return NK_KEY_TEXT_SELECT_ALL; } else { return NK_KEY_NONE; } break; case SAPP_KEYCODE_Z: if (_snk_is_ctrl(ev->modifiers)) { if (ev->modifiers & SAPP_MODIFIER_SHIFT) { return NK_KEY_TEXT_REDO; } else { return NK_KEY_TEXT_UNDO; } } else { return NK_KEY_NONE; } break; case SAPP_KEYCODE_DELETE: return NK_KEY_DEL; case SAPP_KEYCODE_ENTER: return NK_KEY_ENTER; case SAPP_KEYCODE_TAB: return NK_KEY_TAB; case SAPP_KEYCODE_BACKSPACE: return NK_KEY_BACKSPACE; case SAPP_KEYCODE_UP: return NK_KEY_UP; case SAPP_KEYCODE_DOWN: return NK_KEY_DOWN; case SAPP_KEYCODE_LEFT: return NK_KEY_LEFT; case SAPP_KEYCODE_RIGHT: return NK_KEY_RIGHT; case SAPP_KEYCODE_LEFT_SHIFT: return NK_KEY_SHIFT; case SAPP_KEYCODE_RIGHT_SHIFT: return NK_KEY_SHIFT; case SAPP_KEYCODE_LEFT_CONTROL: return NK_KEY_CTRL; case SAPP_KEYCODE_RIGHT_CONTROL: return NK_KEY_CTRL; default: return NK_KEY_NONE; } } SOKOL_API_IMPL bool snk_handle_event(const sapp_event* ev) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); const float dpi_scale = _snuklear.desc.dpi_scale; switch (ev->type) { case SAPP_EVENTTYPE_MOUSE_DOWN: _snuklear.mouse_pos[0] = (int) (ev->mouse_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->mouse_y / dpi_scale); switch (ev->mouse_button) { case SAPP_MOUSEBUTTON_LEFT: _snuklear.btn_down[NK_BUTTON_LEFT] = true; break; case SAPP_MOUSEBUTTON_RIGHT: _snuklear.btn_down[NK_BUTTON_RIGHT] = true; break; case SAPP_MOUSEBUTTON_MIDDLE: _snuklear.btn_down[NK_BUTTON_MIDDLE] = true; break; default: break; } break; case SAPP_EVENTTYPE_MOUSE_UP: _snuklear.mouse_pos[0] = (int) (ev->mouse_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->mouse_y / dpi_scale); switch (ev->mouse_button) { case SAPP_MOUSEBUTTON_LEFT: _snuklear.btn_up[NK_BUTTON_LEFT] = true; break; case SAPP_MOUSEBUTTON_RIGHT: _snuklear.btn_up[NK_BUTTON_RIGHT] = true; break; case SAPP_MOUSEBUTTON_MIDDLE: _snuklear.btn_up[NK_BUTTON_MIDDLE] = true; break; default: break; } break; case SAPP_EVENTTYPE_MOUSE_MOVE: _snuklear.mouse_pos[0] = (int) (ev->mouse_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->mouse_y / dpi_scale); _snuklear.mouse_did_move = true; break; case SAPP_EVENTTYPE_MOUSE_ENTER: case SAPP_EVENTTYPE_MOUSE_LEAVE: for (int i = 0; i < NK_BUTTON_MAX; i++) { _snuklear.btn_down[i] = false; _snuklear.btn_up[i] = false; } break; case SAPP_EVENTTYPE_MOUSE_SCROLL: _snuklear.mouse_scroll[0] = ev->scroll_x; _snuklear.mouse_scroll[1] = ev->scroll_y; _snuklear.mouse_did_scroll = true; break; case SAPP_EVENTTYPE_TOUCHES_BEGAN: _snuklear.btn_down[NK_BUTTON_LEFT] = true; _snuklear.mouse_pos[0] = (int) (ev->touches[0].pos_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->touches[0].pos_y / dpi_scale); _snuklear.mouse_did_move = true; break; case SAPP_EVENTTYPE_TOUCHES_MOVED: _snuklear.mouse_pos[0] = (int) (ev->touches[0].pos_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->touches[0].pos_y / dpi_scale); _snuklear.mouse_did_move = true; break; case SAPP_EVENTTYPE_TOUCHES_ENDED: _snuklear.btn_up[NK_BUTTON_LEFT] = true; _snuklear.mouse_pos[0] = (int) (ev->touches[0].pos_x / dpi_scale); _snuklear.mouse_pos[1] = (int) (ev->touches[0].pos_y / dpi_scale); _snuklear.mouse_did_move = true; break; case SAPP_EVENTTYPE_TOUCHES_CANCELLED: _snuklear.btn_up[NK_BUTTON_LEFT] = false; _snuklear.btn_down[NK_BUTTON_LEFT] = false; break; case SAPP_EVENTTYPE_KEY_DOWN: /* intercept Ctrl-V, this is handled via EVENTTYPE_CLIPBOARD_PASTED */ if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_V)) { break; } /* on web platform, don't forward Ctrl-X, Ctrl-V to the browser */ if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_X)) { sapp_consume_event(); } if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_C)) { sapp_consume_event(); } _snuklear.keys_down[_snk_event_to_nuklearkey(ev)] = true; break; case SAPP_EVENTTYPE_KEY_UP: /* intercept Ctrl-V, this is handled via EVENTTYPE_CLIPBOARD_PASTED */ if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_V)) { break; } /* on web platform, don't forward Ctrl-X, Ctrl-V to the browser */ if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_X)) { sapp_consume_event(); } if (_snk_is_ctrl(ev->modifiers) && (ev->key_code == SAPP_KEYCODE_C)) { sapp_consume_event(); } _snuklear.keys_up[_snk_event_to_nuklearkey(ev)] = true; break; case SAPP_EVENTTYPE_CHAR: if ((ev->char_code >= 32) && (ev->char_code != 127) && (0 == (ev->modifiers & (SAPP_MODIFIER_ALT|SAPP_MODIFIER_CTRL|SAPP_MODIFIER_SUPER)))) { _snk_append_char(ev->char_code); } break; case SAPP_EVENTTYPE_CLIPBOARD_PASTED: _snuklear.keys_down[NK_KEY_PASTE] = _snuklear.keys_up[NK_KEY_PASTE] = true; break; default: break; } return nk_item_is_any_active(&_snuklear.ctx); } SOKOL_API_IMPL nk_flags snk_edit_string(struct nk_context *ctx, nk_flags flags, char *memory, int *len, int max, nk_plugin_filter filter) { SOKOL_ASSERT(_SNK_INIT_COOKIE == _snuklear.init_cookie); nk_flags event = nk_edit_string(ctx, flags, memory, len, max, filter); if ((event & NK_EDIT_ACTIVATED) && !sapp_keyboard_shown()) { sapp_show_keyboard(true); } if ((event & NK_EDIT_DEACTIVATED) && sapp_keyboard_shown()) { sapp_show_keyboard(false); } return event; } #endif // SOKOL_NUKLEAR_NO_SOKOL_APP #endif // SOKOL_IMPL
0
repos/sokol
repos/sokol/util/sokol_gfx_imgui.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_GFX_IMGUI_IMPL) #define SOKOL_GFX_IMGUI_IMPL #endif #ifndef SOKOL_GFX_IMGUI_INCLUDED /* sokol_gfx_imgui.h -- debug-inspection UI for sokol_gfx.h using Dear ImGui Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_GFX_IMGUI_IMPL before you include this file in *one* C or C++ file to create the implementation. NOTE that the implementation can be compiled either as C++ or as C. When compiled as C++, sokol_gfx_imgui.h will directly call into the Dear ImGui C++ API. When compiled as C, sokol_gfx_imgui.h will call cimgui.h functions instead. Include the following file(s) before including sokol_gfx_imgui.h: sokol_gfx.h Additionally, include the following headers before including the implementation: If the implementation is compiled as C++: imgui.h If the implementation is compiled as C: cimgui.h The sokol_gfx.h implementation must be compiled with debug trace hooks enabled by defining: SOKOL_TRACE_HOOKS ...before including the sokol_gfx.h implementation. Before including the sokol_gfx_imgui.h implementation, optionally override the following macros: SOKOL_ASSERT(c) -- your own assert macro, default: assert(c) SOKOL_UNREACHABLE -- your own macro to annotate unreachable code, default: SOKOL_ASSERT(false) SOKOL_GFX_IMGUI_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_GFX_IMGUI_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) If sokol_gfx_imgui.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_GFX_IMGUI_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. STEP BY STEP: ============= --- create an sgimgui_t struct (which must be preserved between frames) and initialize it with: sgimgui_init(&sgimgui, &(sgimgui_desc_t){ 0 }); Note that from C++ you can't inline the desc structure initialization: const sgimgui_desc_t desc = { }; sgimgui_init(&sgimgui, &desc); Provide optional memory allocator override functions (compatible with malloc/free) like this: sgimgui_init(&sgimgui, &(sgimgui_desc_t){ .allocator = { .alloc_fn = my_malloc, .free_fn = my_free, } }); --- somewhere in the per-frame code call: sgimgui_draw(&sgimgui) this won't draw anything yet, since no windows are open. --- call the convenience function sgimgui_draw_menu(ctx, title) to render a menu which allows to open/close the provided debug windows sgimgui_draw_menu(&sgimgui, "sokol-gfx"); --- alternative, open and close windows directly by setting the following public booleans in the sgimgui_t struct: sgimgui.caps_window.open = true; sgimgui.frame_stats_window.open = true; sgimgui.buffer_window.open = true; sgimgui.image_window.open = true; sgimgui.sampler_window.open = true; sgimgui.shader_window.open = true; sgimgui.pipeline_window.open = true; sgimgui.attachments_window.open = true; sgimgui.capture_window.open = true; sgimgui.frame_stats_window.open = true; ...for instance, to control the window visibility through menu items, the following code can be used: if (ImGui::BeginMainMenuBar()) { if (ImGui::BeginMenu("sokol-gfx")) { ImGui::MenuItem("Capabilities", 0, &sgimgui.caps_window.open); ImGui::MenuItem("Frame Stats", 0, &sgimgui.frame_stats_window.open); ImGui::MenuItem("Buffers", 0, &sgimgui.buffer_window.open); ImGui::MenuItem("Images", 0, &sgimgui.image_window.open); ImGui::MenuItem("Samplers", 0, &sgimgui.sampler_window.open); ImGui::MenuItem("Shaders", 0, &sgimgui.shader_window.open); ImGui::MenuItem("Pipelines", 0, &sgimgui.pipeline_window.open); ImGui::MenuItem("Attachments", 0, &sgimgui.attachments_window.open); ImGui::MenuItem("Calls", 0, &sgimgui.capture_window.open); ImGui::EndMenu(); } ImGui::EndMainMenuBar(); } --- before application shutdown, call: sgimgui_discard(&sgimgui); ...this is not strictly necessary because the application exits anyway, but not doing this may trigger memory leak detection tools. --- finally, your application needs an ImGui renderer, you can either provide your own, or drop in the sokol_imgui.h utility header ALTERNATIVE DRAWING FUNCTIONS: ============================== Instead of the convenient, but all-in-one sgimgui_draw() function, you can also use the following granular functions which might allow better integration with your existing UI: The following functions only render the window *content* (so you can integrate the UI into you own windows): void sgimgui_draw_buffer_window_content(sgimgui_t* ctx); void sgimgui_draw_image_window_content(sgimgui_t* ctx); void sgimgui_draw_sampler_window_content(sgimgui_t* ctx); void sgimgui_draw_shader_window_content(sgimgui_t* ctx); void sgimgui_draw_pipeline_window_content(sgimgui_t* ctx); void sgimgui_draw_attachments_window_content(sgimgui_t* ctx); void sgimgui_draw_capture_window_content(sgimgui_t* ctx); And these are the 'full window' drawing functions: void sgimgui_draw_buffer_window(sgimgui_t* ctx); void sgimgui_draw_image_window(sgimgui_t* ctx); void sgimgui_draw_sampler_window(sgimgui_t* ctx); void sgimgui_draw_shader_window(sgimgui_t* ctx); void sgimgui_draw_pipeline_window(sgimgui_t* ctx); void sgimgui_draw_attachments_window(sgimgui_t* ctx); void sgimgui_draw_capture_window(sgimgui_t* ctx); Finer-grained drawing functions may be moved to the public API in the future as needed. MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... sgimgui_init(&(&ctx, &(sgimgui_desc_t){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... This only affects memory allocation calls done by sokol_gfx_imgui.h itself though, not any allocations in OS libraries. LICENSE ======= zlib/libpng license Copyright (c) 2018 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_GFX_IMGUI_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> // size_t #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_gfx_imgui.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_GFX_IMGUI_API_DECL) #define SOKOL_GFX_IMGUI_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_GFX_IMGUI_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_GFX_IMGUI_IMPL) #define SOKOL_GFX_IMGUI_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_GFX_IMGUI_API_DECL __declspec(dllimport) #else #define SOKOL_GFX_IMGUI_API_DECL extern #endif #endif #if defined(__cplusplus) extern "C" { #endif #define sgimgui_STRBUF_LEN (96) /* max number of captured calls per frame */ #define sgimgui_MAX_FRAMECAPTURE_ITEMS (4096) typedef struct sgimgui_str_t { char buf[sgimgui_STRBUF_LEN]; } sgimgui_str_t; typedef struct sgimgui_buffer_t { sg_buffer res_id; sgimgui_str_t label; sg_buffer_desc desc; } sgimgui_buffer_t; typedef struct sgimgui_image_t { sg_image res_id; float ui_scale; sgimgui_str_t label; sg_image_desc desc; simgui_image_t simgui_img; } sgimgui_image_t; typedef struct sgimgui_sampler_t { sg_sampler res_id; sgimgui_str_t label; sg_sampler_desc desc; } sgimgui_sampler_t; typedef struct sgimgui_shader_t { sg_shader res_id; sgimgui_str_t label; sgimgui_str_t vs_entry; sgimgui_str_t vs_d3d11_target; sgimgui_str_t vs_image_sampler_name[SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS]; sgimgui_str_t vs_uniform_name[SG_MAX_SHADERSTAGE_UBS][SG_MAX_UB_MEMBERS]; sgimgui_str_t fs_entry; sgimgui_str_t fs_d3d11_target; sgimgui_str_t fs_image_sampler_name[SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS]; sgimgui_str_t fs_uniform_name[SG_MAX_SHADERSTAGE_UBS][SG_MAX_UB_MEMBERS]; sgimgui_str_t attr_name[SG_MAX_VERTEX_ATTRIBUTES]; sgimgui_str_t attr_sem_name[SG_MAX_VERTEX_ATTRIBUTES]; sg_shader_desc desc; } sgimgui_shader_t; typedef struct sgimgui_pipeline_t { sg_pipeline res_id; sgimgui_str_t label; sg_pipeline_desc desc; } sgimgui_pipeline_t; typedef struct sgimgui_attachments_t { sg_attachments res_id; sgimgui_str_t label; float color_image_scale[SG_MAX_COLOR_ATTACHMENTS]; float resolve_image_scale[SG_MAX_COLOR_ATTACHMENTS]; float ds_image_scale; sg_attachments_desc desc; } sgimgui_attachments_t; typedef struct sgimgui_buffer_window_t { bool open; int num_slots; sg_buffer sel_buf; sgimgui_buffer_t* slots; } sgimgui_buffer_window_t; typedef struct sgimgui_image_window_t { bool open; int num_slots; sg_image sel_img; sgimgui_image_t* slots; } sgimgui_image_window_t; typedef struct sgimgui_sampler_window_t { bool open; int num_slots; sg_sampler sel_smp; sgimgui_sampler_t* slots; } sgimgui_sampler_window_t; typedef struct sgimgui_shader_window_t { bool open; int num_slots; sg_shader sel_shd; sgimgui_shader_t* slots; } sgimgui_shader_window_t; typedef struct sgimgui_pipeline_window_t { bool open; int num_slots; sg_pipeline sel_pip; sgimgui_pipeline_t* slots; } sgimgui_pipeline_window_t; typedef struct sgimgui_attachments_window_t { bool open; int num_slots; sg_attachments sel_atts; sgimgui_attachments_t* slots; } sgimgui_attachments_window_t; typedef enum sgimgui_cmd_t { SGIMGUI_CMD_INVALID, SGIMGUI_CMD_RESET_STATE_CACHE, SGIMGUI_CMD_MAKE_BUFFER, SGIMGUI_CMD_MAKE_IMAGE, SGIMGUI_CMD_MAKE_SAMPLER, SGIMGUI_CMD_MAKE_SHADER, SGIMGUI_CMD_MAKE_PIPELINE, SGIMGUI_CMD_MAKE_ATTACHMENTS, SGIMGUI_CMD_DESTROY_BUFFER, SGIMGUI_CMD_DESTROY_IMAGE, SGIMGUI_CMD_DESTROY_SAMPLER, SGIMGUI_CMD_DESTROY_SHADER, SGIMGUI_CMD_DESTROY_PIPELINE, SGIMGUI_CMD_DESTROY_ATTACHMENTS, SGIMGUI_CMD_UPDATE_BUFFER, SGIMGUI_CMD_UPDATE_IMAGE, SGIMGUI_CMD_APPEND_BUFFER, SGIMGUI_CMD_BEGIN_PASS, SGIMGUI_CMD_APPLY_VIEWPORT, SGIMGUI_CMD_APPLY_SCISSOR_RECT, SGIMGUI_CMD_APPLY_PIPELINE, SGIMGUI_CMD_APPLY_BINDINGS, SGIMGUI_CMD_APPLY_UNIFORMS, SGIMGUI_CMD_DRAW, SGIMGUI_CMD_END_PASS, SGIMGUI_CMD_COMMIT, SGIMGUI_CMD_ALLOC_BUFFER, SGIMGUI_CMD_ALLOC_IMAGE, SGIMGUI_CMD_ALLOC_SAMPLER, SGIMGUI_CMD_ALLOC_SHADER, SGIMGUI_CMD_ALLOC_PIPELINE, SGIMGUI_CMD_ALLOC_ATTACHMENTS, SGIMGUI_CMD_DEALLOC_BUFFER, SGIMGUI_CMD_DEALLOC_IMAGE, SGIMGUI_CMD_DEALLOC_SAMPLER, SGIMGUI_CMD_DEALLOC_SHADER, SGIMGUI_CMD_DEALLOC_PIPELINE, SGIMGUI_CMD_DEALLOC_ATTACHMENTS, SGIMGUI_CMD_INIT_BUFFER, SGIMGUI_CMD_INIT_IMAGE, SGIMGUI_CMD_INIT_SAMPLER, SGIMGUI_CMD_INIT_SHADER, SGIMGUI_CMD_INIT_PIPELINE, SGIMGUI_CMD_INIT_ATTACHMENTS, SGIMGUI_CMD_UNINIT_BUFFER, SGIMGUI_CMD_UNINIT_IMAGE, SGIMGUI_CMD_UNINIT_SAMPLER, SGIMGUI_CMD_UNINIT_SHADER, SGIMGUI_CMD_UNINIT_PIPELINE, SGIMGUI_CMD_UNINIT_ATTACHMENTS, SGIMGUI_CMD_FAIL_BUFFER, SGIMGUI_CMD_FAIL_IMAGE, SGIMGUI_CMD_FAIL_SAMPLER, SGIMGUI_CMD_FAIL_SHADER, SGIMGUI_CMD_FAIL_PIPELINE, SGIMGUI_CMD_FAIL_ATTACHMENTS, SGIMGUI_CMD_PUSH_DEBUG_GROUP, SGIMGUI_CMD_POP_DEBUG_GROUP, } sgimgui_cmd_t; typedef struct sgimgui_args_make_buffer_t { sg_buffer result; } sgimgui_args_make_buffer_t; typedef struct sgimgui_args_make_image_t { sg_image result; } sgimgui_args_make_image_t; typedef struct sgimgui_args_make_sampler_t { sg_sampler result; } sgimgui_args_make_sampler_t; typedef struct sgimgui_args_make_shader_t { sg_shader result; } sgimgui_args_make_shader_t; typedef struct sgimgui_args_make_pipeline_t { sg_pipeline result; } sgimgui_args_make_pipeline_t; typedef struct sgimgui_args_make_attachments_t { sg_attachments result; } sgimgui_args_make_attachments_t; typedef struct sgimgui_args_destroy_buffer_t { sg_buffer buffer; } sgimgui_args_destroy_buffer_t; typedef struct sgimgui_args_destroy_image_t { sg_image image; } sgimgui_args_destroy_image_t; typedef struct sgimgui_args_destroy_sampler_t { sg_sampler sampler; } sgimgui_args_destroy_sampler_t; typedef struct sgimgui_args_destroy_shader_t { sg_shader shader; } sgimgui_args_destroy_shader_t; typedef struct sgimgui_args_destroy_pipeline_t { sg_pipeline pipeline; } sgimgui_args_destroy_pipeline_t; typedef struct sgimgui_args_destroy_attachments_t { sg_attachments attachments; } sgimgui_args_destroy_attachments_t; typedef struct sgimgui_args_update_buffer_t { sg_buffer buffer; size_t data_size; } sgimgui_args_update_buffer_t; typedef struct sgimgui_args_update_image_t { sg_image image; } sgimgui_args_update_image_t; typedef struct sgimgui_args_append_buffer_t { sg_buffer buffer; size_t data_size; int result; } sgimgui_args_append_buffer_t; typedef struct sgimgui_args_begin_pass_t { sg_pass pass; } sgimgui_args_begin_pass_t; typedef struct sgimgui_args_apply_viewport_t { int x, y, width, height; bool origin_top_left; } sgimgui_args_apply_viewport_t; typedef struct sgimgui_args_apply_scissor_rect_t { int x, y, width, height; bool origin_top_left; } sgimgui_args_apply_scissor_rect_t; typedef struct sgimgui_args_apply_pipeline_t { sg_pipeline pipeline; } sgimgui_args_apply_pipeline_t; typedef struct sgimgui_args_apply_bindings_t { sg_bindings bindings; } sgimgui_args_apply_bindings_t; typedef struct sgimgui_args_apply_uniforms_t { sg_shader_stage stage; int ub_index; size_t data_size; sg_pipeline pipeline; /* the pipeline which was active at this call */ size_t ubuf_pos; /* start of copied data in capture buffer */ } sgimgui_args_apply_uniforms_t; typedef struct sgimgui_args_draw_t { int base_element; int num_elements; int num_instances; } sgimgui_args_draw_t; typedef struct sgimgui_args_alloc_buffer_t { sg_buffer result; } sgimgui_args_alloc_buffer_t; typedef struct sgimgui_args_alloc_image_t { sg_image result; } sgimgui_args_alloc_image_t; typedef struct sgimgui_args_alloc_sampler_t { sg_sampler result; } sgimgui_args_alloc_sampler_t; typedef struct sgimgui_args_alloc_shader_t { sg_shader result; } sgimgui_args_alloc_shader_t; typedef struct sgimgui_args_alloc_pipeline_t { sg_pipeline result; } sgimgui_args_alloc_pipeline_t; typedef struct sgimgui_args_alloc_attachments_t { sg_attachments result; } sgimgui_args_alloc_attachments_t; typedef struct sgimgui_args_dealloc_buffer_t { sg_buffer buffer; } sgimgui_args_dealloc_buffer_t; typedef struct sgimgui_args_dealloc_image_t { sg_image image; } sgimgui_args_dealloc_image_t; typedef struct sgimgui_args_dealloc_sampler_t { sg_sampler sampler; } sgimgui_args_dealloc_sampler_t; typedef struct sgimgui_args_dealloc_shader_t { sg_shader shader; } sgimgui_args_dealloc_shader_t; typedef struct sgimgui_args_dealloc_pipeline_t { sg_pipeline pipeline; } sgimgui_args_dealloc_pipeline_t; typedef struct sgimgui_args_dealloc_attachments_t { sg_attachments attachments; } sgimgui_args_dealloc_attachments_t; typedef struct sgimgui_args_init_buffer_t { sg_buffer buffer; } sgimgui_args_init_buffer_t; typedef struct sgimgui_args_init_image_t { sg_image image; } sgimgui_args_init_image_t; typedef struct sgimgui_args_init_sampler_t { sg_sampler sampler; } sgimgui_args_init_sampler_t; typedef struct sgimgui_args_init_shader_t { sg_shader shader; } sgimgui_args_init_shader_t; typedef struct sgimgui_args_init_pipeline_t { sg_pipeline pipeline; } sgimgui_args_init_pipeline_t; typedef struct sgimgui_args_init_attachments_t { sg_attachments attachments; } sgimgui_args_init_attachments_t; typedef struct sgimgui_args_uninit_buffer_t { sg_buffer buffer; } sgimgui_args_uninit_buffer_t; typedef struct sgimgui_args_uninit_image_t { sg_image image; } sgimgui_args_uninit_image_t; typedef struct sgimgui_args_uninit_sampler_t { sg_sampler sampler; } sgimgui_args_uninit_sampler_t; typedef struct sgimgui_args_uninit_shader_t { sg_shader shader; } sgimgui_args_uninit_shader_t; typedef struct sgimgui_args_uninit_pipeline_t { sg_pipeline pipeline; } sgimgui_args_uninit_pipeline_t; typedef struct sgimgui_args_uninit_attachments_t { sg_attachments attachments; } sgimgui_args_uninit_attachments_t; typedef struct sgimgui_args_fail_buffer_t { sg_buffer buffer; } sgimgui_args_fail_buffer_t; typedef struct sgimgui_args_fail_image_t { sg_image image; } sgimgui_args_fail_image_t; typedef struct sgimgui_args_fail_sampler_t { sg_sampler sampler; } sgimgui_args_fail_sampler_t; typedef struct sgimgui_args_fail_shader_t { sg_shader shader; } sgimgui_args_fail_shader_t; typedef struct sgimgui_args_fail_pipeline_t { sg_pipeline pipeline; } sgimgui_args_fail_pipeline_t; typedef struct sgimgui_args_fail_attachments_t { sg_attachments attachments; } sgimgui_args_fail_attachments_t; typedef struct sgimgui_args_push_debug_group_t { sgimgui_str_t name; } sgimgui_args_push_debug_group_t; typedef union sgimgui_args_t { sgimgui_args_make_buffer_t make_buffer; sgimgui_args_make_image_t make_image; sgimgui_args_make_sampler_t make_sampler; sgimgui_args_make_shader_t make_shader; sgimgui_args_make_pipeline_t make_pipeline; sgimgui_args_make_attachments_t make_attachments; sgimgui_args_destroy_buffer_t destroy_buffer; sgimgui_args_destroy_image_t destroy_image; sgimgui_args_destroy_sampler_t destroy_sampler; sgimgui_args_destroy_shader_t destroy_shader; sgimgui_args_destroy_pipeline_t destroy_pipeline; sgimgui_args_destroy_attachments_t destroy_attachments; sgimgui_args_update_buffer_t update_buffer; sgimgui_args_update_image_t update_image; sgimgui_args_append_buffer_t append_buffer; sgimgui_args_begin_pass_t begin_pass; sgimgui_args_apply_viewport_t apply_viewport; sgimgui_args_apply_scissor_rect_t apply_scissor_rect; sgimgui_args_apply_pipeline_t apply_pipeline; sgimgui_args_apply_bindings_t apply_bindings; sgimgui_args_apply_uniforms_t apply_uniforms; sgimgui_args_draw_t draw; sgimgui_args_alloc_buffer_t alloc_buffer; sgimgui_args_alloc_image_t alloc_image; sgimgui_args_alloc_sampler_t alloc_sampler; sgimgui_args_alloc_shader_t alloc_shader; sgimgui_args_alloc_pipeline_t alloc_pipeline; sgimgui_args_alloc_attachments_t alloc_attachments; sgimgui_args_dealloc_buffer_t dealloc_buffer; sgimgui_args_dealloc_image_t dealloc_image; sgimgui_args_dealloc_sampler_t dealloc_sampler; sgimgui_args_dealloc_shader_t dealloc_shader; sgimgui_args_dealloc_pipeline_t dealloc_pipeline; sgimgui_args_dealloc_attachments_t dealloc_attachments; sgimgui_args_init_buffer_t init_buffer; sgimgui_args_init_image_t init_image; sgimgui_args_init_sampler_t init_sampler; sgimgui_args_init_shader_t init_shader; sgimgui_args_init_pipeline_t init_pipeline; sgimgui_args_init_attachments_t init_attachments; sgimgui_args_uninit_buffer_t uninit_buffer; sgimgui_args_uninit_image_t uninit_image; sgimgui_args_uninit_sampler_t uninit_sampler; sgimgui_args_uninit_shader_t uninit_shader; sgimgui_args_uninit_pipeline_t uninit_pipeline; sgimgui_args_uninit_attachments_t uninit_attachments; sgimgui_args_fail_buffer_t fail_buffer; sgimgui_args_fail_image_t fail_image; sgimgui_args_fail_sampler_t fail_sampler; sgimgui_args_fail_shader_t fail_shader; sgimgui_args_fail_pipeline_t fail_pipeline; sgimgui_args_fail_attachments_t fail_attachments; sgimgui_args_push_debug_group_t push_debug_group; } sgimgui_args_t; typedef struct sgimgui_capture_item_t { sgimgui_cmd_t cmd; uint32_t color; sgimgui_args_t args; } sgimgui_capture_item_t; typedef struct sgimgui_capture_bucket_t { size_t ubuf_size; /* size of uniform capture buffer in bytes */ size_t ubuf_pos; /* current uniform buffer pos */ uint8_t* ubuf; /* buffer for capturing uniform updates */ int num_items; sgimgui_capture_item_t items[sgimgui_MAX_FRAMECAPTURE_ITEMS]; } sgimgui_capture_bucket_t; /* double-buffered call-capture buckets, one bucket is currently recorded, the previous bucket is displayed */ typedef struct sgimgui_capture_window_t { bool open; int bucket_index; /* which bucket to record to, 0 or 1 */ int sel_item; /* currently selected capture item by index */ sgimgui_capture_bucket_t bucket[2]; } sgimgui_capture_window_t; typedef struct sgimgui_caps_window_t { bool open; } sgimgui_caps_window_t; typedef struct sgimgui_frame_stats_window_t { bool open; bool disable_sokol_imgui_stats; bool in_sokol_imgui; sg_frame_stats stats; // FIXME: add a ringbuffer for a stats history here } sgimgui_frame_stats_window_t; /* sgimgui_allocator_t Used in sgimgui_desc_t to provide custom memory-alloc and -free functions to sokol_gfx_imgui.h. If memory management should be overridden, both the alloc and free function must be provided (e.g. it's not valid to override one function but not the other). */ typedef struct sgimgui_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } sgimgui_allocator_t; /* sgimgui_desc_t Initialization options for sgimgui_init(). */ typedef struct sgimgui_desc_t { sgimgui_allocator_t allocator; // optional memory allocation overrides (default: malloc/free) } sgimgui_desc_t; typedef struct sgimgui_t { uint32_t init_tag; sgimgui_desc_t desc; sgimgui_buffer_window_t buffer_window; sgimgui_image_window_t image_window; sgimgui_sampler_window_t sampler_window; sgimgui_shader_window_t shader_window; sgimgui_pipeline_window_t pipeline_window; sgimgui_attachments_window_t attachments_window; sgimgui_capture_window_t capture_window; sgimgui_caps_window_t caps_window; sgimgui_frame_stats_window_t frame_stats_window; sg_pipeline cur_pipeline; sg_trace_hooks hooks; } sgimgui_t; SOKOL_GFX_IMGUI_API_DECL void sgimgui_init(sgimgui_t* ctx, const sgimgui_desc_t* desc); SOKOL_GFX_IMGUI_API_DECL void sgimgui_discard(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_menu(sgimgui_t* ctx, const char* title); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_buffer_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_image_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_sampler_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_shader_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_pipeline_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_attachments_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_capture_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_capabilities_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_frame_stats_window_content(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_buffer_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_image_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_sampler_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_shader_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_pipeline_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_attachments_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_capture_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_capabilities_window(sgimgui_t* ctx); SOKOL_GFX_IMGUI_API_DECL void sgimgui_draw_frame_stats_window(sgimgui_t* ctx); #if defined(__cplusplus) } /* extern "C" */ #endif #endif /* SOKOL_GFX_IMGUI_INCLUDED */ /*=== IMPLEMENTATION =========================================================*/ #ifdef SOKOL_GFX_IMGUI_IMPL #define SOKOL_GFX_IMGUI_IMPL_INCLUDED (1) #if defined(SOKOL_MALLOC) || defined(SOKOL_CALLOC) || defined(SOKOL_FREE) #error "SOKOL_MALLOC/CALLOC/FREE macros are no longer supported, please use sgimgui_desc_t.allocator to override memory allocation functions" #endif #if defined(__cplusplus) #if !defined(IMGUI_VERSION) #error "Please include imgui.h before the sokol_imgui.h implementation" #endif #else #if !defined(CIMGUI_INCLUDED) #error "Please include cimgui.h before the sokol_imgui.h implementation" #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #ifndef SOKOL_UNREACHABLE #define SOKOL_UNREACHABLE SOKOL_ASSERT(false) #endif #ifndef _SOKOL_PRIVATE #if defined(__GNUC__) || defined(__clang__) #define _SOKOL_PRIVATE __attribute__((unused)) static #else #define _SOKOL_PRIVATE static #endif #endif #ifndef _SOKOL_UNUSED #define _SOKOL_UNUSED(x) (void)(x) #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #include <string.h> #include <stdio.h> // snprintf #include <stdlib.h> // malloc, free #define _SGIMGUI_SLOT_MASK (0xFFFF) #define _SGIMGUI_LIST_WIDTH (192) #define _SGIMGUI_COLOR_OTHER 0xFFCCCCCC #define _SGIMGUI_COLOR_RSRC 0xFF00FFFF #define _SGIMGUI_COLOR_PASS 0xFFFFFF00 #define _SGIMGUI_COLOR_APPLY 0xFFCCCC00 #define _SGIMGUI_COLOR_DRAW 0xFF00FF00 #define _SGIMGUI_COLOR_ERR 0xFF8888FF /*--- C => C++ layer ---------------------------------------------------------*/ #if defined(__cplusplus) #define IMVEC2(x,y) ImVec2(x,y) #define IMVEC4(x,y,z,w) ImVec4(x,y,z,w) _SOKOL_PRIVATE void igText(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::TextV(fmt, args); va_end(args); } _SOKOL_PRIVATE void igSeparator() { return ImGui::Separator(); } _SOKOL_PRIVATE void igSameLine(float offset_from_start_x, float spacing) { return ImGui::SameLine(offset_from_start_x,spacing); } _SOKOL_PRIVATE void igPushID_Int(int int_id) { return ImGui::PushID(int_id); } _SOKOL_PRIVATE void igPopID() { return ImGui::PopID(); } _SOKOL_PRIVATE bool igSelectable_Bool(const char* label,bool selected,ImGuiSelectableFlags flags,const ImVec2 size) { return ImGui::Selectable(label,selected,flags,size); } _SOKOL_PRIVATE bool igSmallButton(const char* label) { return ImGui::SmallButton(label); } _SOKOL_PRIVATE bool igBeginChild_Str(const char* str_id,const ImVec2 size,bool border,ImGuiWindowFlags flags) { return ImGui::BeginChild(str_id,size,border,flags); } _SOKOL_PRIVATE void igEndChild() { return ImGui::EndChild(); } _SOKOL_PRIVATE void igPushStyleColor_U32(ImGuiCol idx, ImU32 col) { return ImGui::PushStyleColor(idx,col); } _SOKOL_PRIVATE void igPopStyleColor(int count) { return ImGui::PopStyleColor(count); } _SOKOL_PRIVATE bool igTreeNode_StrStr(const char* str_id,const char* fmt,...) { va_list args; va_start(args, fmt); bool ret = ImGui::TreeNodeV(str_id,fmt,args); va_end(args); return ret; } _SOKOL_PRIVATE bool igTreeNode_Str(const char* label) { return ImGui::TreeNode(label); } _SOKOL_PRIVATE void igTreePop() { return ImGui::TreePop(); } _SOKOL_PRIVATE bool igIsItemHovered(ImGuiHoveredFlags flags) { return ImGui::IsItemHovered(flags); } _SOKOL_PRIVATE void igSetTooltip(const char* fmt,...) { va_list args; va_start(args, fmt); ImGui::SetTooltipV(fmt,args); va_end(args); } _SOKOL_PRIVATE bool igSliderFloat(const char* label,float* v,float v_min,float v_max,const char* format,ImGuiSliderFlags flags) { return ImGui::SliderFloat(label,v,v_min,v_max,format,flags); } _SOKOL_PRIVATE void igImage(ImTextureID user_texture_id,const ImVec2 size,const ImVec2 uv0,const ImVec2 uv1,const ImVec4 tint_col,const ImVec4 border_col) { return ImGui::Image(user_texture_id,size,uv0,uv1,tint_col,border_col); } _SOKOL_PRIVATE void igSetNextWindowSize(const ImVec2 size,ImGuiCond cond) { return ImGui::SetNextWindowSize(size,cond); } _SOKOL_PRIVATE bool igBegin(const char* name,bool* p_open,ImGuiWindowFlags flags) { return ImGui::Begin(name,p_open,flags); } _SOKOL_PRIVATE void igEnd() { return ImGui::End(); } _SOKOL_PRIVATE bool igBeginMenu(const char* label, bool enabled) { return ImGui::BeginMenu(label, enabled); } _SOKOL_PRIVATE void igEndMenu(void) { ImGui::EndMenu(); } _SOKOL_PRIVATE bool igMenuItem_BoolPtr(const char* label, const char* shortcut, bool* p_selected, bool enabled) { return ImGui::MenuItem(label, shortcut, p_selected, enabled); } _SOKOL_PRIVATE bool igBeginTable(const char* str_id, int column, ImGuiTableFlags flags, const ImVec2 outer_size, float inner_width) { return ImGui::BeginTable(str_id, column, flags, outer_size, inner_width); } _SOKOL_PRIVATE void igEndTable(void) { ImGui::EndTable(); } _SOKOL_PRIVATE void igTableSetupScrollFreeze(int cols, int rows) { ImGui::TableSetupScrollFreeze(cols, rows); } _SOKOL_PRIVATE void igTableSetupColumn(const char* label, ImGuiTableColumnFlags flags, float init_width_or_weight, ImGuiID user_id) { ImGui::TableSetupColumn(label, flags, init_width_or_weight, user_id); } _SOKOL_PRIVATE void igTableHeadersRow(void) { ImGui::TableHeadersRow(); } _SOKOL_PRIVATE void igTableNextRow(ImGuiTableRowFlags row_flags, float min_row_height) { ImGui::TableNextRow(row_flags, min_row_height); } _SOKOL_PRIVATE bool igTableSetColumnIndex(int column_n) { return ImGui::TableSetColumnIndex(column_n); } _SOKOL_PRIVATE bool igCheckbox(const char* label, bool* v) { return ImGui::Checkbox(label, v); } #else #define IMVEC2(x,y) (ImVec2){x,y} #define IMVEC4(x,y,z,w) (ImVec4){x,y,z,w} #endif /*--- UTILS ------------------------------------------------------------------*/ _SOKOL_PRIVATE void _sgimgui_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } _SOKOL_PRIVATE void* _sgimgui_malloc(const sgimgui_allocator_t* allocator, size_t size) { SOKOL_ASSERT(allocator && (size > 0)); void* ptr; if (allocator->alloc_fn) { ptr = allocator->alloc_fn(size, allocator->user_data); } else { ptr = malloc(size); } SOKOL_ASSERT(ptr); return ptr; } _SOKOL_PRIVATE void* _sgimgui_malloc_clear(const sgimgui_allocator_t* allocator, size_t size) { void* ptr = _sgimgui_malloc(allocator, size); _sgimgui_clear(ptr, size); return ptr; } _SOKOL_PRIVATE void _sgimgui_free(const sgimgui_allocator_t* allocator, void* ptr) { SOKOL_ASSERT(allocator); if (allocator->free_fn) { allocator->free_fn(ptr, allocator->user_data); } else { free(ptr); } } _SOKOL_PRIVATE void* _sgimgui_realloc(const sgimgui_allocator_t* allocator, void* old_ptr, size_t old_size, size_t new_size) { SOKOL_ASSERT(allocator && (new_size > 0) && (new_size > old_size)); void* new_ptr = _sgimgui_malloc(allocator, new_size); if (old_ptr) { if (old_size > 0) { memcpy(new_ptr, old_ptr, old_size); } _sgimgui_free(allocator, old_ptr); } return new_ptr; } _SOKOL_PRIVATE int _sgimgui_slot_index(uint32_t id) { int slot_index = (int) (id & _SGIMGUI_SLOT_MASK); SOKOL_ASSERT(0 != slot_index); return slot_index; } _SOKOL_PRIVATE uint32_t _sgimgui_align_u32(uint32_t val, uint32_t align) { SOKOL_ASSERT((align > 0) && ((align & (align - 1)) == 0)); return (val + (align - 1)) & ~(align - 1); } _SOKOL_PRIVATE uint32_t _sgimgui_std140_uniform_alignment(sg_uniform_type type, int array_count) { SOKOL_ASSERT(array_count > 0); if (array_count == 1) { switch (type) { case SG_UNIFORMTYPE_FLOAT: case SG_UNIFORMTYPE_INT: return 4; case SG_UNIFORMTYPE_FLOAT2: case SG_UNIFORMTYPE_INT2: return 8; case SG_UNIFORMTYPE_FLOAT3: case SG_UNIFORMTYPE_FLOAT4: case SG_UNIFORMTYPE_INT3: case SG_UNIFORMTYPE_INT4: return 16; case SG_UNIFORMTYPE_MAT4: return 16; default: SOKOL_UNREACHABLE; return 1; } } else { return 16; } } _SOKOL_PRIVATE uint32_t _sgimgui_std140_uniform_size(sg_uniform_type type, int array_count) { SOKOL_ASSERT(array_count > 0); if (array_count == 1) { switch (type) { case SG_UNIFORMTYPE_FLOAT: case SG_UNIFORMTYPE_INT: return 4; case SG_UNIFORMTYPE_FLOAT2: case SG_UNIFORMTYPE_INT2: return 8; case SG_UNIFORMTYPE_FLOAT3: case SG_UNIFORMTYPE_INT3: return 12; case SG_UNIFORMTYPE_FLOAT4: case SG_UNIFORMTYPE_INT4: return 16; case SG_UNIFORMTYPE_MAT4: return 64; default: SOKOL_UNREACHABLE; return 0; } } else { switch (type) { case SG_UNIFORMTYPE_FLOAT: case SG_UNIFORMTYPE_FLOAT2: case SG_UNIFORMTYPE_FLOAT3: case SG_UNIFORMTYPE_FLOAT4: case SG_UNIFORMTYPE_INT: case SG_UNIFORMTYPE_INT2: case SG_UNIFORMTYPE_INT3: case SG_UNIFORMTYPE_INT4: return 16 * (uint32_t)array_count; case SG_UNIFORMTYPE_MAT4: return 64 * (uint32_t)array_count; default: SOKOL_UNREACHABLE; return 0; } } } _SOKOL_PRIVATE void _sgimgui_strcpy(sgimgui_str_t* dst, const char* src) { SOKOL_ASSERT(dst); if (src) { #if defined(_MSC_VER) strncpy_s(dst->buf, sgimgui_STRBUF_LEN, src, (sgimgui_STRBUF_LEN-1)); #else strncpy(dst->buf, src, sgimgui_STRBUF_LEN); #endif dst->buf[sgimgui_STRBUF_LEN-1] = 0; } else { _sgimgui_clear(dst->buf, sgimgui_STRBUF_LEN); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_make_str(const char* str) { sgimgui_str_t res; _sgimgui_strcpy(&res, str); return res; } _SOKOL_PRIVATE const char* _sgimgui_str_dup(const sgimgui_allocator_t* allocator, const char* src) { SOKOL_ASSERT(allocator && src); size_t len = strlen(src) + 1; char* dst = (char*) _sgimgui_malloc(allocator, len); memcpy(dst, src, len); return (const char*) dst; } _SOKOL_PRIVATE const void* _sgimgui_bin_dup(const sgimgui_allocator_t* allocator, const void* src, size_t num_bytes) { SOKOL_ASSERT(allocator && src && (num_bytes > 0)); void* dst = _sgimgui_malloc(allocator, num_bytes); memcpy(dst, src, num_bytes); return (const void*) dst; } _SOKOL_PRIVATE void _sgimgui_snprintf(sgimgui_str_t* dst, const char* fmt, ...) { SOKOL_ASSERT(dst); va_list args; va_start(args, fmt); vsnprintf(dst->buf, sizeof(dst->buf), fmt, args); dst->buf[sizeof(dst->buf)-1] = 0; va_end(args); } /*--- STRING CONVERSION ------------------------------------------------------*/ _SOKOL_PRIVATE const char* _sgimgui_resourcestate_string(sg_resource_state s) { switch (s) { case SG_RESOURCESTATE_INITIAL: return "SG_RESOURCESTATE_INITIAL"; case SG_RESOURCESTATE_ALLOC: return "SG_RESOURCESTATE_ALLOC"; case SG_RESOURCESTATE_VALID: return "SG_RESOURCESTATE_VALID"; case SG_RESOURCESTATE_FAILED: return "SG_RESOURCESTATE_FAILED"; default: return "SG_RESOURCESTATE_INVALID"; } } _SOKOL_PRIVATE void _sgimgui_draw_resource_slot(const sg_slot_info* slot) { igText("ResId: %08X", slot->res_id); igText("State: %s", _sgimgui_resourcestate_string(slot->state)); } _SOKOL_PRIVATE const char* _sgimgui_backend_string(sg_backend b) { switch (b) { case SG_BACKEND_GLCORE: return "SG_BACKEND_GLCORE"; case SG_BACKEND_GLES3: return "SG_BACKEND_GLES3"; case SG_BACKEND_D3D11: return "SG_BACKEND_D3D11"; case SG_BACKEND_METAL_IOS: return "SG_BACKEND_METAL_IOS"; case SG_BACKEND_METAL_MACOS: return "SG_BACKEND_METAL_MACOS"; case SG_BACKEND_METAL_SIMULATOR: return "SG_BACKEND_METAL_SIMULATOR"; case SG_BACKEND_WGPU: return "SG_BACKEND_WGPU"; case SG_BACKEND_DUMMY: return "SG_BACKEND_DUMMY"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_buffertype_string(sg_buffer_type t) { switch (t) { case SG_BUFFERTYPE_VERTEXBUFFER: return "SG_BUFFERTYPE_VERTEXBUFFER"; case SG_BUFFERTYPE_INDEXBUFFER: return "SG_BUFFERTYPE_INDEXBUFFER"; case SG_BUFFERTYPE_STORAGEBUFFER: return "SG_BUFFERTYPE_STORAGEBUFFER"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_usage_string(sg_usage u) { switch (u) { case SG_USAGE_IMMUTABLE: return "SG_USAGE_IMMUTABLE"; case SG_USAGE_DYNAMIC: return "SG_USAGE_DYNAMIC"; case SG_USAGE_STREAM: return "SG_USAGE_STREAM"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_imagetype_string(sg_image_type t) { switch (t) { case SG_IMAGETYPE_2D: return "SG_IMAGETYPE_2D"; case SG_IMAGETYPE_CUBE: return "SG_IMAGETYPE_CUBE"; case SG_IMAGETYPE_3D: return "SG_IMAGETYPE_3D"; case SG_IMAGETYPE_ARRAY: return "SG_IMAGETYPE_ARRAY"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_imagesampletype_string(sg_image_sample_type t) { switch (t) { case SG_IMAGESAMPLETYPE_FLOAT: return "SG_IMAGESAMPLETYPE_FLOAT"; case SG_IMAGESAMPLETYPE_DEPTH: return "SG_IMAGESAMPLETYPE_DEPTH"; case SG_IMAGESAMPLETYPE_SINT: return "SG_IMAGESAMPLETYPE_SINT"; case SG_IMAGESAMPLETYPE_UINT: return "SG_IMAGESAMPLETYPE_UINT"; case SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT: return "SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_samplertype_string(sg_sampler_type t) { switch (t) { case SG_SAMPLERTYPE_FILTERING: return "SG_SAMPLERTYPE_FILTERING"; case SG_SAMPLERTYPE_COMPARISON: return "SG_SAMPLERTYPE_COMPARISON"; case SG_SAMPLERTYPE_NONFILTERING: return "SG_SAMPLERTYPE_NONFILTERING"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_uniformlayout_string(sg_uniform_layout l) { switch (l) { case SG_UNIFORMLAYOUT_NATIVE: return "SG_UNIFORMLAYOUT_NATIVE"; case SG_UNIFORMLAYOUT_STD140: return "SG_UNIFORMLAYOUT_STD140"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_pixelformat_string(sg_pixel_format fmt) { switch (fmt) { case SG_PIXELFORMAT_NONE: return "SG_PIXELFORMAT_NONE"; case SG_PIXELFORMAT_R8: return "SG_PIXELFORMAT_R8"; case SG_PIXELFORMAT_R8SN: return "SG_PIXELFORMAT_R8SN"; case SG_PIXELFORMAT_R8UI: return "SG_PIXELFORMAT_R8UI"; case SG_PIXELFORMAT_R8SI: return "SG_PIXELFORMAT_R8SI"; case SG_PIXELFORMAT_R16: return "SG_PIXELFORMAT_R16"; case SG_PIXELFORMAT_R16SN: return "SG_PIXELFORMAT_R16SN"; case SG_PIXELFORMAT_R16UI: return "SG_PIXELFORMAT_R16UI"; case SG_PIXELFORMAT_R16SI: return "SG_PIXELFORMAT_R16SI"; case SG_PIXELFORMAT_R16F: return "SG_PIXELFORMAT_R16F"; case SG_PIXELFORMAT_RG8: return "SG_PIXELFORMAT_RG8"; case SG_PIXELFORMAT_RG8SN: return "SG_PIXELFORMAT_RG8SN"; case SG_PIXELFORMAT_RG8UI: return "SG_PIXELFORMAT_RG8UI"; case SG_PIXELFORMAT_RG8SI: return "SG_PIXELFORMAT_RG8SI"; case SG_PIXELFORMAT_R32UI: return "SG_PIXELFORMAT_R32UI"; case SG_PIXELFORMAT_R32SI: return "SG_PIXELFORMAT_R32SI"; case SG_PIXELFORMAT_R32F: return "SG_PIXELFORMAT_R32F"; case SG_PIXELFORMAT_RG16: return "SG_PIXELFORMAT_RG16"; case SG_PIXELFORMAT_RG16SN: return "SG_PIXELFORMAT_RG16SN"; case SG_PIXELFORMAT_RG16UI: return "SG_PIXELFORMAT_RG16UI"; case SG_PIXELFORMAT_RG16SI: return "SG_PIXELFORMAT_RG16SI"; case SG_PIXELFORMAT_RG16F: return "SG_PIXELFORMAT_RG16F"; case SG_PIXELFORMAT_RGBA8: return "SG_PIXELFORMAT_RGBA8"; case SG_PIXELFORMAT_SRGB8A8: return "SG_PIXELFORMAT_SRGB8A8"; case SG_PIXELFORMAT_RGBA8SN: return "SG_PIXELFORMAT_RGBA8SN"; case SG_PIXELFORMAT_RGBA8UI: return "SG_PIXELFORMAT_RGBA8UI"; case SG_PIXELFORMAT_RGBA8SI: return "SG_PIXELFORMAT_RGBA8SI"; case SG_PIXELFORMAT_BGRA8: return "SG_PIXELFORMAT_BGRA8"; case SG_PIXELFORMAT_RGB10A2: return "SG_PIXELFORMAT_RGB10A2"; case SG_PIXELFORMAT_RG11B10F: return "SG_PIXELFORMAT_RG11B10F"; case SG_PIXELFORMAT_RG32UI: return "SG_PIXELFORMAT_RG32UI"; case SG_PIXELFORMAT_RG32SI: return "SG_PIXELFORMAT_RG32SI"; case SG_PIXELFORMAT_RG32F: return "SG_PIXELFORMAT_RG32F"; case SG_PIXELFORMAT_RGBA16: return "SG_PIXELFORMAT_RGBA16"; case SG_PIXELFORMAT_RGBA16SN: return "SG_PIXELFORMAT_RGBA16SN"; case SG_PIXELFORMAT_RGBA16UI: return "SG_PIXELFORMAT_RGBA16UI"; case SG_PIXELFORMAT_RGBA16SI: return "SG_PIXELFORMAT_RGBA16SI"; case SG_PIXELFORMAT_RGBA16F: return "SG_PIXELFORMAT_RGBA16F"; case SG_PIXELFORMAT_RGBA32UI: return "SG_PIXELFORMAT_RGBA32UI"; case SG_PIXELFORMAT_RGBA32SI: return "SG_PIXELFORMAT_RGBA32SI"; case SG_PIXELFORMAT_RGBA32F: return "SG_PIXELFORMAT_RGBA32F"; case SG_PIXELFORMAT_DEPTH: return "SG_PIXELFORMAT_DEPTH"; case SG_PIXELFORMAT_DEPTH_STENCIL: return "SG_PIXELFORMAT_DEPTH_STENCIL"; case SG_PIXELFORMAT_BC1_RGBA: return "SG_PIXELFORMAT_BC1_RGBA"; case SG_PIXELFORMAT_BC2_RGBA: return "SG_PIXELFORMAT_BC2_RGBA"; case SG_PIXELFORMAT_BC3_RGBA: return "SG_PIXELFORMAT_BC3_RGBA"; case SG_PIXELFORMAT_BC4_R: return "SG_PIXELFORMAT_BC4_R"; case SG_PIXELFORMAT_BC4_RSN: return "SG_PIXELFORMAT_BC4_RSN"; case SG_PIXELFORMAT_BC5_RG: return "SG_PIXELFORMAT_BC5_RG"; case SG_PIXELFORMAT_BC5_RGSN: return "SG_PIXELFORMAT_BC5_RGSN"; case SG_PIXELFORMAT_BC6H_RGBF: return "SG_PIXELFORMAT_BC6H_RGBF"; case SG_PIXELFORMAT_BC6H_RGBUF: return "SG_PIXELFORMAT_BC6H_RGBUF"; case SG_PIXELFORMAT_BC7_RGBA: return "SG_PIXELFORMAT_BC7_RGBA"; case SG_PIXELFORMAT_PVRTC_RGB_2BPP: return "SG_PIXELFORMAT_PVRTC_RGB_2BPP"; case SG_PIXELFORMAT_PVRTC_RGB_4BPP: return "SG_PIXELFORMAT_PVRTC_RGB_4BPP"; case SG_PIXELFORMAT_PVRTC_RGBA_2BPP: return "SG_PIXELFORMAT_PVRTC_RGBA_2BPP"; case SG_PIXELFORMAT_PVRTC_RGBA_4BPP: return "SG_PIXELFORMAT_PVRTC_RGBA_4BPP"; case SG_PIXELFORMAT_ETC2_RGB8: return "SG_PIXELFORMAT_ETC2_RGB8"; case SG_PIXELFORMAT_ETC2_RGB8A1: return "SG_PIXELFORMAT_ETC2_RGB8A1"; case SG_PIXELFORMAT_ETC2_RGBA8: return "SG_PIXELFORMAT_ETC2_RGBA8"; case SG_PIXELFORMAT_EAC_R11: return "SG_PIXELFORMAT_EAC_R11"; case SG_PIXELFORMAT_EAC_R11SN: return "SG_PIXELFORMAT_EAC_R11SN"; case SG_PIXELFORMAT_EAC_RG11: return "SG_PIXELFORMAT_EAC_RG11"; case SG_PIXELFORMAT_EAC_RG11SN: return "SG_PIXELFORMAT_EAC_RG11SN"; case SG_PIXELFORMAT_RGB9E5: return "SG_PIXELFORMAT_RGB9E5"; case SG_PIXELFORMAT_BC3_SRGBA: return "SG_PIXELFORMAT_BC3_SRGBA"; case SG_PIXELFORMAT_BC7_SRGBA: return "SG_PIXELFORMAT_BC7_SRGBA"; case SG_PIXELFORMAT_ETC2_SRGB8: return "SG_PIXELFORMAT_ETC2_SRGB8"; case SG_PIXELFORMAT_ETC2_SRGB8A8: return "SG_PIXELFORMAT_ETC2_SRGB8A8"; case SG_PIXELFORMAT_ASTC_4x4_RGBA: return "SG_PIXELFORMAT_ASTC_4x4_RGBA"; case SG_PIXELFORMAT_ASTC_4x4_SRGBA: return "SG_PIXELFORMAT_ASTC_4x4_SRGBA"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_filter_string(sg_filter f) { switch (f) { case SG_FILTER_NEAREST: return "SG_FILTER_NEAREST"; case SG_FILTER_LINEAR: return "SG_FILTER_LINEAR"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_wrap_string(sg_wrap w) { switch (w) { case SG_WRAP_REPEAT: return "SG_WRAP_REPEAT"; case SG_WRAP_CLAMP_TO_EDGE: return "SG_WRAP_CLAMP_TO_EDGE"; case SG_WRAP_CLAMP_TO_BORDER: return "SG_WRAP_CLAMP_TO_BORDER"; case SG_WRAP_MIRRORED_REPEAT: return "SG_WRAP_MIRRORED_REPEAT"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_bordercolor_string(sg_border_color bc) { switch (bc) { case SG_BORDERCOLOR_TRANSPARENT_BLACK: return "SG_BORDERCOLOR_TRANSPARENT_BLACK"; case SG_BORDERCOLOR_OPAQUE_BLACK: return "SG_BORDERCOLOR_OPAQUE_BLACK"; case SG_BORDERCOLOR_OPAQUE_WHITE: return "SG_BORDERCOLOR_OPAQUE_WHITE"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_uniformtype_string(sg_uniform_type t) { switch (t) { case SG_UNIFORMTYPE_FLOAT: return "SG_UNIFORMTYPE_FLOAT"; case SG_UNIFORMTYPE_FLOAT2: return "SG_UNIFORMTYPE_FLOAT2"; case SG_UNIFORMTYPE_FLOAT3: return "SG_UNIFORMTYPE_FLOAT3"; case SG_UNIFORMTYPE_FLOAT4: return "SG_UNIFORMTYPE_FLOAT4"; case SG_UNIFORMTYPE_INT: return "SG_UNIFORMTYPE_INT"; case SG_UNIFORMTYPE_INT2: return "SG_UNIFORMTYPE_INT2"; case SG_UNIFORMTYPE_INT3: return "SG_UNIFORMTYPE_INT3"; case SG_UNIFORMTYPE_INT4: return "SG_UNIFORMTYPE_INT4"; case SG_UNIFORMTYPE_MAT4: return "SG_UNIFORMTYPE_MAT4"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_vertexstep_string(sg_vertex_step s) { switch (s) { case SG_VERTEXSTEP_PER_VERTEX: return "SG_VERTEXSTEP_PER_VERTEX"; case SG_VERTEXSTEP_PER_INSTANCE: return "SG_VERTEXSTEP_PER_INSTANCE"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_vertexformat_string(sg_vertex_format f) { switch (f) { case SG_VERTEXFORMAT_FLOAT: return "SG_VERTEXFORMAT_FLOAT"; case SG_VERTEXFORMAT_FLOAT2: return "SG_VERTEXFORMAT_FLOAT2"; case SG_VERTEXFORMAT_FLOAT3: return "SG_VERTEXFORMAT_FLOAT3"; case SG_VERTEXFORMAT_FLOAT4: return "SG_VERTEXFORMAT_FLOAT4"; case SG_VERTEXFORMAT_BYTE4: return "SG_VERTEXFORMAT_BYTE4"; case SG_VERTEXFORMAT_BYTE4N: return "SG_VERTEXFORMAT_BYTE4N"; case SG_VERTEXFORMAT_UBYTE4: return "SG_VERTEXFORMAT_UBYTE4"; case SG_VERTEXFORMAT_UBYTE4N: return "SG_VERTEXFORMAT_UBYTE4N"; case SG_VERTEXFORMAT_SHORT2: return "SG_VERTEXFORMAT_SHORT2"; case SG_VERTEXFORMAT_SHORT2N: return "SG_VERTEXFORMAT_SHORT2N"; case SG_VERTEXFORMAT_USHORT2N: return "SG_VERTEXFORMAT_USHORT2N"; case SG_VERTEXFORMAT_SHORT4: return "SG_VERTEXFORMAT_SHORT4"; case SG_VERTEXFORMAT_SHORT4N: return "SG_VERTEXFORMAT_SHORT4N"; case SG_VERTEXFORMAT_USHORT4N: return "SG_VERTEXFORMAT_USHORT4N"; case SG_VERTEXFORMAT_UINT10_N2: return "SG_VERTEXFORMAT_UINT10_N2"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_primitivetype_string(sg_primitive_type t) { switch (t) { case SG_PRIMITIVETYPE_POINTS: return "SG_PRIMITIVETYPE_POINTS"; case SG_PRIMITIVETYPE_LINES: return "SG_PRIMITIVETYPE_LINES"; case SG_PRIMITIVETYPE_LINE_STRIP: return "SG_PRIMITIVETYPE_LINE_STRIP"; case SG_PRIMITIVETYPE_TRIANGLES: return "SG_PRIMITIVETYPE_TRIANGLES"; case SG_PRIMITIVETYPE_TRIANGLE_STRIP: return "SG_PRIMITIVETYPE_TRIANGLE_STRIP"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_indextype_string(sg_index_type t) { switch (t) { case SG_INDEXTYPE_NONE: return "SG_INDEXTYPE_NONE"; case SG_INDEXTYPE_UINT16: return "SG_INDEXTYPE_UINT16"; case SG_INDEXTYPE_UINT32: return "SG_INDEXTYPE_UINT32"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_stencilop_string(sg_stencil_op op) { switch (op) { case SG_STENCILOP_KEEP: return "SG_STENCILOP_KEEP"; case SG_STENCILOP_ZERO: return "SG_STENCILOP_ZERO"; case SG_STENCILOP_REPLACE: return "SG_STENCILOP_REPLACE"; case SG_STENCILOP_INCR_CLAMP: return "SG_STENCILOP_INCR_CLAMP"; case SG_STENCILOP_DECR_CLAMP: return "SG_STENCILOP_DECR_CLAMP"; case SG_STENCILOP_INVERT: return "SG_STENCILOP_INVERT"; case SG_STENCILOP_INCR_WRAP: return "SG_STENCILOP_INCR_WRAP"; case SG_STENCILOP_DECR_WRAP: return "SG_STENCILOP_DECR_WRAP"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_comparefunc_string(sg_compare_func f) { switch (f) { case SG_COMPAREFUNC_NEVER: return "SG_COMPAREFUNC_NEVER"; case SG_COMPAREFUNC_LESS: return "SG_COMPAREFUNC_LESS"; case SG_COMPAREFUNC_EQUAL: return "SG_COMPAREFUNC_EQUAL"; case SG_COMPAREFUNC_LESS_EQUAL: return "SG_COMPAREFUNC_LESS_EQUAL"; case SG_COMPAREFUNC_GREATER: return "SG_COMPAREFUNC_GREATER"; case SG_COMPAREFUNC_NOT_EQUAL: return "SG_COMPAREFUNC_NOT_EQUAL"; case SG_COMPAREFUNC_GREATER_EQUAL: return "SG_COMPAREFUNC_GREATER_EQUAL"; case SG_COMPAREFUNC_ALWAYS: return "SG_COMPAREFUNC_ALWAYS"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_blendfactor_string(sg_blend_factor f) { switch (f) { case SG_BLENDFACTOR_ZERO: return "SG_BLENDFACTOR_ZERO"; case SG_BLENDFACTOR_ONE: return "SG_BLENDFACTOR_ONE"; case SG_BLENDFACTOR_SRC_COLOR: return "SG_BLENDFACTOR_SRC_COLOR"; case SG_BLENDFACTOR_ONE_MINUS_SRC_COLOR: return "SG_BLENDFACTOR_ONE_MINUS_SRC_COLOR"; case SG_BLENDFACTOR_SRC_ALPHA: return "SG_BLENDFACTOR_SRC_ALPHA"; case SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA: return "SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA"; case SG_BLENDFACTOR_DST_COLOR: return "SG_BLENDFACTOR_DST_COLOR"; case SG_BLENDFACTOR_ONE_MINUS_DST_COLOR: return "SG_BLENDFACTOR_ONE_MINUS_DST_COLOR"; case SG_BLENDFACTOR_DST_ALPHA: return "SG_BLENDFACTOR_DST_ALPHA"; case SG_BLENDFACTOR_ONE_MINUS_DST_ALPHA: return "SG_BLENDFACTOR_ONE_MINUS_DST_ALPHA"; case SG_BLENDFACTOR_SRC_ALPHA_SATURATED: return "SG_BLENDFACTOR_SRC_ALPHA_SATURATED"; case SG_BLENDFACTOR_BLEND_COLOR: return "SG_BLENDFACTOR_BLEND_COLOR"; case SG_BLENDFACTOR_ONE_MINUS_BLEND_COLOR: return "SG_BLENDFACTOR_ONE_MINUS_BLEND_COLOR"; case SG_BLENDFACTOR_BLEND_ALPHA: return "SG_BLENDFACTOR_BLEND_ALPHA"; case SG_BLENDFACTOR_ONE_MINUS_BLEND_ALPHA: return "SG_BLENDFACTOR_ONE_MINUS_BLEND_ALPHA"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_blendop_string(sg_blend_op op) { switch (op) { case SG_BLENDOP_ADD: return "SG_BLENDOP_ADD"; case SG_BLENDOP_SUBTRACT: return "SG_BLENDOP_SUBTRACT"; case SG_BLENDOP_REVERSE_SUBTRACT: return "SG_BLENDOP_REVERSE_SUBTRACT"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_colormask_string(sg_color_mask m) { static const char* str[] = { "NONE", "R", "G", "RG", "B", "RB", "GB", "RGB", "A", "RA", "GA", "RGA", "BA", "RBA", "GBA", "RGBA", }; return str[m & 0xF]; } _SOKOL_PRIVATE const char* _sgimgui_cullmode_string(sg_cull_mode cm) { switch (cm) { case SG_CULLMODE_NONE: return "SG_CULLMODE_NONE"; case SG_CULLMODE_FRONT: return "SG_CULLMODE_FRONT"; case SG_CULLMODE_BACK: return "SG_CULLMODE_BACK"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_facewinding_string(sg_face_winding fw) { switch (fw) { case SG_FACEWINDING_CCW: return "SG_FACEWINDING_CCW"; case SG_FACEWINDING_CW: return "SG_FACEWINDING_CW"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_shaderstage_string(sg_shader_stage stage) { switch (stage) { case SG_SHADERSTAGE_VS: return "SG_SHADERSTAGE_VS"; case SG_SHADERSTAGE_FS: return "SG_SHADERSTAGE_FS"; default: return "???"; } } _SOKOL_PRIVATE const char* _sgimgui_bool_string(bool b) { return b ? "true" : "false"; } _SOKOL_PRIVATE const char* _sgimgui_color_string(sgimgui_str_t* dst_str, sg_color color) { _sgimgui_snprintf(dst_str, "%.3f %.3f %.3f %.3f", color.r, color.g, color.b, color.a); return dst_str->buf; } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_res_id_string(uint32_t res_id, const char* label) { SOKOL_ASSERT(label); sgimgui_str_t res; if (label[0]) { _sgimgui_snprintf(&res, "'%s'", label); } else { _sgimgui_snprintf(&res, "0x%08X", res_id); } return res; } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_buffer_id_string(sgimgui_t* ctx, sg_buffer buf_id) { if (buf_id.id != SG_INVALID_ID) { const sgimgui_buffer_t* buf_ui = &ctx->buffer_window.slots[_sgimgui_slot_index(buf_id.id)]; return _sgimgui_res_id_string(buf_id.id, buf_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_image_id_string(sgimgui_t* ctx, sg_image img_id) { if (img_id.id != SG_INVALID_ID) { const sgimgui_image_t* img_ui = &ctx->image_window.slots[_sgimgui_slot_index(img_id.id)]; return _sgimgui_res_id_string(img_id.id, img_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_sampler_id_string(sgimgui_t* ctx, sg_sampler smp_id) { if (smp_id.id != SG_INVALID_ID) { const sgimgui_sampler_t* smp_ui = &ctx->sampler_window.slots[_sgimgui_slot_index(smp_id.id)]; return _sgimgui_res_id_string(smp_id.id, smp_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_shader_id_string(sgimgui_t* ctx, sg_shader shd_id) { if (shd_id.id != SG_INVALID_ID) { const sgimgui_shader_t* shd_ui = &ctx->shader_window.slots[_sgimgui_slot_index(shd_id.id)]; return _sgimgui_res_id_string(shd_id.id, shd_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_pipeline_id_string(sgimgui_t* ctx, sg_pipeline pip_id) { if (pip_id.id != SG_INVALID_ID) { const sgimgui_pipeline_t* pip_ui = &ctx->pipeline_window.slots[_sgimgui_slot_index(pip_id.id)]; return _sgimgui_res_id_string(pip_id.id, pip_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_attachments_id_string(sgimgui_t* ctx, sg_attachments atts_id) { if (atts_id.id != SG_INVALID_ID) { const sgimgui_attachments_t* atts_ui = &ctx->attachments_window.slots[_sgimgui_slot_index(atts_id.id)]; return _sgimgui_res_id_string(atts_id.id, atts_ui->label.buf); } else { return _sgimgui_make_str("<invalid>"); } } /*--- RESOURCE HELPERS -------------------------------------------------------*/ _SOKOL_PRIVATE void _sgimgui_buffer_created(sgimgui_t* ctx, sg_buffer res_id, int slot_index, const sg_buffer_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->buffer_window.num_slots)); sgimgui_buffer_t* buf = &ctx->buffer_window.slots[slot_index]; buf->res_id = res_id; buf->desc = *desc; buf->label = _sgimgui_make_str(desc->label); } _SOKOL_PRIVATE void _sgimgui_buffer_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->buffer_window.num_slots)); sgimgui_buffer_t* buf = &ctx->buffer_window.slots[slot_index]; buf->res_id.id = SG_INVALID_ID; } _SOKOL_PRIVATE void _sgimgui_image_created(sgimgui_t* ctx, sg_image res_id, int slot_index, const sg_image_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->image_window.num_slots)); sgimgui_image_t* img = &ctx->image_window.slots[slot_index]; img->res_id = res_id; img->desc = *desc; img->ui_scale = 1.0f; img->label = _sgimgui_make_str(desc->label); simgui_image_desc_t simgui_img_desc; _sgimgui_clear(&simgui_img_desc, sizeof(simgui_img_desc)); simgui_img_desc.image = res_id; // keep sampler at default, which will use sokol_imgui.h's default nearest-filtering sampler img->simgui_img = simgui_make_image(&simgui_img_desc); } _SOKOL_PRIVATE void _sgimgui_image_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->image_window.num_slots)); sgimgui_image_t* img = &ctx->image_window.slots[slot_index]; img->res_id.id = SG_INVALID_ID; simgui_destroy_image(img->simgui_img); } _SOKOL_PRIVATE void _sgimgui_sampler_created(sgimgui_t* ctx, sg_sampler res_id, int slot_index, const sg_sampler_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->sampler_window.num_slots)); sgimgui_sampler_t* smp = &ctx->sampler_window.slots[slot_index]; smp->res_id = res_id; smp->desc = *desc; smp->label = _sgimgui_make_str(desc->label); } _SOKOL_PRIVATE void _sgimgui_sampler_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->sampler_window.num_slots)); sgimgui_sampler_t* smp = &ctx->sampler_window.slots[slot_index]; smp->res_id.id = SG_INVALID_ID; } _SOKOL_PRIVATE void _sgimgui_shader_created(sgimgui_t* ctx, sg_shader res_id, int slot_index, const sg_shader_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->shader_window.num_slots)); sgimgui_shader_t* shd = &ctx->shader_window.slots[slot_index]; shd->res_id = res_id; shd->desc = *desc; shd->label = _sgimgui_make_str(desc->label); if (shd->desc.vs.entry) { shd->vs_entry = _sgimgui_make_str(shd->desc.vs.entry); shd->desc.vs.entry = shd->vs_entry.buf; } if (shd->desc.fs.entry) { shd->fs_entry = _sgimgui_make_str(shd->desc.fs.entry); shd->desc.fs.entry = shd->fs_entry.buf; } if (shd->desc.vs.d3d11_target) { shd->vs_d3d11_target = _sgimgui_make_str(shd->desc.vs.d3d11_target); shd->desc.fs.d3d11_target = shd->vs_d3d11_target.buf; } if (shd->desc.fs.d3d11_target) { shd->fs_d3d11_target = _sgimgui_make_str(shd->desc.fs.d3d11_target); shd->desc.fs.d3d11_target = shd->fs_d3d11_target.buf; } for (int i = 0; i < SG_MAX_SHADERSTAGE_UBS; i++) { for (int j = 0; j < SG_MAX_UB_MEMBERS; j++) { sg_shader_uniform_desc* ud = &shd->desc.vs.uniform_blocks[i].uniforms[j]; if (ud->name) { shd->vs_uniform_name[i][j] = _sgimgui_make_str(ud->name); ud->name = shd->vs_uniform_name[i][j].buf; } } } for (int i = 0; i < SG_MAX_SHADERSTAGE_UBS; i++) { for (int j = 0; j < SG_MAX_UB_MEMBERS; j++) { sg_shader_uniform_desc* ud = &shd->desc.fs.uniform_blocks[i].uniforms[j]; if (ud->name) { shd->fs_uniform_name[i][j] = _sgimgui_make_str(ud->name); ud->name = shd->fs_uniform_name[i][j].buf; } } } for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS; i++) { if (shd->desc.vs.image_sampler_pairs[i].glsl_name) { shd->vs_image_sampler_name[i] = _sgimgui_make_str(shd->desc.vs.image_sampler_pairs[i].glsl_name); shd->desc.vs.image_sampler_pairs[i].glsl_name = shd->vs_image_sampler_name[i].buf; } } for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS; i++) { if (shd->desc.fs.image_sampler_pairs[i].glsl_name) { shd->fs_image_sampler_name[i] = _sgimgui_make_str(shd->desc.fs.image_sampler_pairs[i].glsl_name); shd->desc.fs.image_sampler_pairs[i].glsl_name = shd->fs_image_sampler_name[i].buf; } } if (shd->desc.vs.source) { shd->desc.vs.source = _sgimgui_str_dup(&ctx->desc.allocator, shd->desc.vs.source); } if (shd->desc.vs.bytecode.ptr) { shd->desc.vs.bytecode.ptr = _sgimgui_bin_dup(&ctx->desc.allocator, shd->desc.vs.bytecode.ptr, shd->desc.vs.bytecode.size); } if (shd->desc.fs.source) { shd->desc.fs.source = _sgimgui_str_dup(&ctx->desc.allocator, shd->desc.fs.source); } if (shd->desc.fs.bytecode.ptr) { shd->desc.fs.bytecode.ptr = _sgimgui_bin_dup(&ctx->desc.allocator, shd->desc.fs.bytecode.ptr, shd->desc.fs.bytecode.size); } for (int i = 0; i < SG_MAX_VERTEX_ATTRIBUTES; i++) { sg_shader_attr_desc* ad = &shd->desc.attrs[i]; if (ad->name) { shd->attr_name[i] = _sgimgui_make_str(ad->name); ad->name = shd->attr_name[i].buf; } if (ad->sem_name) { shd->attr_sem_name[i] = _sgimgui_make_str(ad->sem_name); ad->sem_name = shd->attr_sem_name[i].buf; } } } _SOKOL_PRIVATE void _sgimgui_shader_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->shader_window.num_slots)); sgimgui_shader_t* shd = &ctx->shader_window.slots[slot_index]; shd->res_id.id = SG_INVALID_ID; if (shd->desc.vs.source) { _sgimgui_free(&ctx->desc.allocator, (void*)shd->desc.vs.source); shd->desc.vs.source = 0; } if (shd->desc.vs.bytecode.ptr) { _sgimgui_free(&ctx->desc.allocator, (void*)shd->desc.vs.bytecode.ptr); shd->desc.vs.bytecode.ptr = 0; } if (shd->desc.fs.source) { _sgimgui_free(&ctx->desc.allocator, (void*)shd->desc.fs.source); shd->desc.fs.source = 0; } if (shd->desc.fs.bytecode.ptr) { _sgimgui_free(&ctx->desc.allocator, (void*)shd->desc.fs.bytecode.ptr); shd->desc.fs.bytecode.ptr = 0; } } _SOKOL_PRIVATE void _sgimgui_pipeline_created(sgimgui_t* ctx, sg_pipeline res_id, int slot_index, const sg_pipeline_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->pipeline_window.num_slots)); sgimgui_pipeline_t* pip = &ctx->pipeline_window.slots[slot_index]; pip->res_id = res_id; pip->label = _sgimgui_make_str(desc->label); pip->desc = *desc; } _SOKOL_PRIVATE void _sgimgui_pipeline_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->pipeline_window.num_slots)); sgimgui_pipeline_t* pip = &ctx->pipeline_window.slots[slot_index]; pip->res_id.id = SG_INVALID_ID; } _SOKOL_PRIVATE void _sgimgui_attachments_created(sgimgui_t* ctx, sg_attachments res_id, int slot_index, const sg_attachments_desc* desc) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->attachments_window.num_slots)); sgimgui_attachments_t* atts = &ctx->attachments_window.slots[slot_index]; atts->res_id = res_id; for (int i = 0; i < SG_MAX_COLOR_ATTACHMENTS; i++) { atts->color_image_scale[i] = 0.25f; atts->resolve_image_scale[i] = 0.25f; } atts->ds_image_scale = 0.25f; atts->label = _sgimgui_make_str(desc->label); atts->desc = *desc; } _SOKOL_PRIVATE void _sgimgui_attachments_destroyed(sgimgui_t* ctx, int slot_index) { SOKOL_ASSERT((slot_index > 0) && (slot_index < ctx->attachments_window.num_slots)); sgimgui_attachments_t* atts = &ctx->attachments_window.slots[slot_index]; atts->res_id.id = SG_INVALID_ID; } /*--- COMMAND CAPTURING ------------------------------------------------------*/ _SOKOL_PRIVATE void _sgimgui_capture_init(sgimgui_t* ctx) { const size_t ubuf_initial_size = 256 * 1024; for (int i = 0; i < 2; i++) { sgimgui_capture_bucket_t* bucket = &ctx->capture_window.bucket[i]; bucket->ubuf_size = ubuf_initial_size; bucket->ubuf = (uint8_t*) _sgimgui_malloc(&ctx->desc.allocator, bucket->ubuf_size); } } _SOKOL_PRIVATE void _sgimgui_capture_discard(sgimgui_t* ctx) { for (int i = 0; i < 2; i++) { sgimgui_capture_bucket_t* bucket = &ctx->capture_window.bucket[i]; SOKOL_ASSERT(bucket->ubuf); _sgimgui_free(&ctx->desc.allocator, bucket->ubuf); bucket->ubuf = 0; } } _SOKOL_PRIVATE sgimgui_capture_bucket_t* _sgimgui_capture_get_write_bucket(sgimgui_t* ctx) { return &ctx->capture_window.bucket[ctx->capture_window.bucket_index & 1]; } _SOKOL_PRIVATE sgimgui_capture_bucket_t* _sgimgui_capture_get_read_bucket(sgimgui_t* ctx) { return &ctx->capture_window.bucket[(ctx->capture_window.bucket_index + 1) & 1]; } _SOKOL_PRIVATE void _sgimgui_capture_next_frame(sgimgui_t* ctx) { ctx->capture_window.bucket_index = (ctx->capture_window.bucket_index + 1) & 1; sgimgui_capture_bucket_t* bucket = &ctx->capture_window.bucket[ctx->capture_window.bucket_index]; bucket->num_items = 0; bucket->ubuf_pos = 0; } _SOKOL_PRIVATE void _sgimgui_capture_grow_ubuf(sgimgui_t* ctx, size_t required_size) { sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_write_bucket(ctx); SOKOL_ASSERT(required_size > bucket->ubuf_size); size_t old_size = bucket->ubuf_size; size_t new_size = required_size + (required_size>>1); /* allocate a bit ahead */ bucket->ubuf_size = new_size; bucket->ubuf = (uint8_t*) _sgimgui_realloc(&ctx->desc.allocator, bucket->ubuf, old_size, new_size); } _SOKOL_PRIVATE sgimgui_capture_item_t* _sgimgui_capture_next_write_item(sgimgui_t* ctx) { sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_write_bucket(ctx); if (bucket->num_items < sgimgui_MAX_FRAMECAPTURE_ITEMS) { sgimgui_capture_item_t* item = &bucket->items[bucket->num_items++]; return item; } else { return 0; } } _SOKOL_PRIVATE int _sgimgui_capture_num_read_items(sgimgui_t* ctx) { sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_read_bucket(ctx); return bucket->num_items; } _SOKOL_PRIVATE sgimgui_capture_item_t* _sgimgui_capture_read_item_at(sgimgui_t* ctx, int index) { sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_read_bucket(ctx); SOKOL_ASSERT(index < bucket->num_items); return &bucket->items[index]; } _SOKOL_PRIVATE size_t _sgimgui_capture_uniforms(sgimgui_t* ctx, const sg_range* data) { sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_write_bucket(ctx); const size_t required_size = bucket->ubuf_pos + data->size; if (required_size > bucket->ubuf_size) { _sgimgui_capture_grow_ubuf(ctx, required_size); } SOKOL_ASSERT(required_size <= bucket->ubuf_size); memcpy(bucket->ubuf + bucket->ubuf_pos, data->ptr, data->size); const size_t pos = bucket->ubuf_pos; bucket->ubuf_pos += data->size; SOKOL_ASSERT(bucket->ubuf_pos <= bucket->ubuf_size); return pos; } _SOKOL_PRIVATE sgimgui_str_t _sgimgui_capture_item_string(sgimgui_t* ctx, int index, const sgimgui_capture_item_t* item) { sgimgui_str_t str = _sgimgui_make_str(0); switch (item->cmd) { case SGIMGUI_CMD_RESET_STATE_CACHE: _sgimgui_snprintf(&str, "%d: sg_reset_state_cache()", index); break; case SGIMGUI_CMD_MAKE_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.make_buffer.result); _sgimgui_snprintf(&str, "%d: sg_make_buffer(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_MAKE_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.make_image.result); _sgimgui_snprintf(&str, "%d: sg_make_image(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_MAKE_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.make_sampler.result); _sgimgui_snprintf(&str, "%d: sg_make_sampler(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_MAKE_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.make_shader.result); _sgimgui_snprintf(&str, "%d: sg_make_shader(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_MAKE_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.make_pipeline.result); _sgimgui_snprintf(&str, "%d: sg_make_pipeline(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_MAKE_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.make_attachments.result); _sgimgui_snprintf(&str, "%d: sg_make_attachments(desc=..) => %s", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.destroy_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_destroy_buffer(buf=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.destroy_image.image); _sgimgui_snprintf(&str, "%d: sg_destroy_image(img=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.destroy_sampler.sampler); _sgimgui_snprintf(&str, "%d: sg_destroy_sampler(smp=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.destroy_shader.shader); _sgimgui_snprintf(&str, "%d: sg_destroy_shader(shd=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.destroy_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_destroy_pipeline(pip=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DESTROY_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.destroy_attachments.attachments); _sgimgui_snprintf(&str, "%d: sg_destroy_attachments(atts=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UPDATE_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.update_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_update_buffer(buf=%s, data.size=%d)", index, res_id.buf, item->args.update_buffer.data_size); } break; case SGIMGUI_CMD_UPDATE_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.update_image.image); _sgimgui_snprintf(&str, "%d: sg_update_image(img=%s, data=..)", index, res_id.buf); } break; case SGIMGUI_CMD_APPEND_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.append_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_append_buffer(buf=%s, data.size=%d) => %d", index, res_id.buf, item->args.append_buffer.data_size, item->args.append_buffer.result); } break; case SGIMGUI_CMD_BEGIN_PASS: { _sgimgui_snprintf(&str, "%d: sg_begin_pass(pass=...)", index); } break; case SGIMGUI_CMD_APPLY_VIEWPORT: _sgimgui_snprintf(&str, "%d: sg_apply_viewport(x=%d, y=%d, width=%d, height=%d, origin_top_left=%s)", index, item->args.apply_viewport.x, item->args.apply_viewport.y, item->args.apply_viewport.width, item->args.apply_viewport.height, _sgimgui_bool_string(item->args.apply_viewport.origin_top_left)); break; case SGIMGUI_CMD_APPLY_SCISSOR_RECT: _sgimgui_snprintf(&str, "%d: sg_apply_scissor_rect(x=%d, y=%d, width=%d, height=%d, origin_top_left=%s)", index, item->args.apply_scissor_rect.x, item->args.apply_scissor_rect.y, item->args.apply_scissor_rect.width, item->args.apply_scissor_rect.height, _sgimgui_bool_string(item->args.apply_scissor_rect.origin_top_left)); break; case SGIMGUI_CMD_APPLY_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.apply_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_apply_pipeline(pip=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_APPLY_BINDINGS: _sgimgui_snprintf(&str, "%d: sg_apply_bindings(bindings=..)", index); break; case SGIMGUI_CMD_APPLY_UNIFORMS: _sgimgui_snprintf(&str, "%d: sg_apply_uniforms(stage=%s, ub_index=%d, data.size=%d)", index, _sgimgui_shaderstage_string(item->args.apply_uniforms.stage), item->args.apply_uniforms.ub_index, item->args.apply_uniforms.data_size); break; case SGIMGUI_CMD_DRAW: _sgimgui_snprintf(&str, "%d: sg_draw(base_element=%d, num_elements=%d, num_instances=%d)", index, item->args.draw.base_element, item->args.draw.num_elements, item->args.draw.num_instances); break; case SGIMGUI_CMD_END_PASS: _sgimgui_snprintf(&str, "%d: sg_end_pass()", index); break; case SGIMGUI_CMD_COMMIT: _sgimgui_snprintf(&str, "%d: sg_commit()", index); break; case SGIMGUI_CMD_ALLOC_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.alloc_buffer.result); _sgimgui_snprintf(&str, "%d: sg_alloc_buffer() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_ALLOC_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.alloc_image.result); _sgimgui_snprintf(&str, "%d: sg_alloc_image() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_ALLOC_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.alloc_sampler.result); _sgimgui_snprintf(&str, "%d: sg_alloc_sampler() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_ALLOC_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.alloc_shader.result); _sgimgui_snprintf(&str, "%d: sg_alloc_shader() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_ALLOC_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.alloc_pipeline.result); _sgimgui_snprintf(&str, "%d: sg_alloc_pipeline() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_ALLOC_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.alloc_attachments.result); _sgimgui_snprintf(&str, "%d: sg_alloc_attachments() => %s", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.dealloc_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_dealloc_buffer(buf=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.dealloc_image.image); _sgimgui_snprintf(&str, "%d: sg_dealloc_image(img=%d)", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.dealloc_sampler.sampler); _sgimgui_snprintf(&str, "%d: sg_dealloc_sampler(smp=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.dealloc_shader.shader); _sgimgui_snprintf(&str, "%d: sg_dealloc_shader(shd=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.dealloc_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_dealloc_pipeline(pip=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_DEALLOC_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.dealloc_attachments.attachments); _sgimgui_snprintf(&str, "%d: sg_dealloc_attachments(atts=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.init_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_init_buffer(buf=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.init_image.image); _sgimgui_snprintf(&str, "%d: sg_init_image(img=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.init_sampler.sampler); _sgimgui_snprintf(&str, "%d: sg_init_sampler(smp=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.init_shader.shader); _sgimgui_snprintf(&str, "%d: sg_init_shader(shd=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.init_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_init_pipeline(pip=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_INIT_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.init_attachments.attachments); _sgimgui_snprintf(&str, "%d: sg_init_attachments(atts=%s, desc=..)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.uninit_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_uninit_buffer(buf=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.uninit_image.image); _sgimgui_snprintf(&str, "%d: sg_uninit_image(img=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.uninit_sampler.sampler); _sgimgui_snprintf(&str, "%d: sg_uninit_sampler(smp=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.uninit_shader.shader); _sgimgui_snprintf(&str, "%d: sg_uninit_shader(shd=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.uninit_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_uninit_pipeline(pip=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_UNINIT_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.uninit_attachments.attachments); _sgimgui_snprintf(&str, "%d: sg_uninit_attachments(atts=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_BUFFER: { sgimgui_str_t res_id = _sgimgui_buffer_id_string(ctx, item->args.fail_buffer.buffer); _sgimgui_snprintf(&str, "%d: sg_fail_buffer(buf=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_IMAGE: { sgimgui_str_t res_id = _sgimgui_image_id_string(ctx, item->args.fail_image.image); _sgimgui_snprintf(&str, "%d: sg_fail_image(img=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_SAMPLER: { sgimgui_str_t res_id = _sgimgui_sampler_id_string(ctx, item->args.fail_sampler.sampler); _sgimgui_snprintf(&str, "%d: sg_fail_sampler(smp=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_SHADER: { sgimgui_str_t res_id = _sgimgui_shader_id_string(ctx, item->args.fail_shader.shader); _sgimgui_snprintf(&str, "%d: sg_fail_shader(shd=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_PIPELINE: { sgimgui_str_t res_id = _sgimgui_pipeline_id_string(ctx, item->args.fail_pipeline.pipeline); _sgimgui_snprintf(&str, "%d: sg_fail_pipeline(shd=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_FAIL_ATTACHMENTS: { sgimgui_str_t res_id = _sgimgui_attachments_id_string(ctx, item->args.fail_attachments.attachments); _sgimgui_snprintf(&str, "%d: sg_fail_attachments(atts=%s)", index, res_id.buf); } break; case SGIMGUI_CMD_PUSH_DEBUG_GROUP: _sgimgui_snprintf(&str, "%d: sg_push_debug_group(name=%s)", index, item->args.push_debug_group.name.buf); break; case SGIMGUI_CMD_POP_DEBUG_GROUP: _sgimgui_snprintf(&str, "%d: sg_pop_debug_group()", index); break; default: _sgimgui_snprintf(&str, "%d: ???", index); break; } return str; } /*--- CAPTURE CALLBACKS ------------------------------------------------------*/ _SOKOL_PRIVATE void _sgimgui_reset_state_cache(void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_RESET_STATE_CACHE; item->color = _SGIMGUI_COLOR_OTHER; } if (ctx->hooks.reset_state_cache) { ctx->hooks.reset_state_cache(ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_make_buffer(const sg_buffer_desc* desc, sg_buffer buf_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_buffer.result = buf_id; } if (ctx->hooks.make_buffer) { ctx->hooks.make_buffer(desc, buf_id, ctx->hooks.user_data); } if (buf_id.id != SG_INVALID_ID) { _sgimgui_buffer_created(ctx, buf_id, _sgimgui_slot_index(buf_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_make_image(const sg_image_desc* desc, sg_image img_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_image.result = img_id; } if (ctx->hooks.make_image) { ctx->hooks.make_image(desc, img_id, ctx->hooks.user_data); } if (img_id.id != SG_INVALID_ID) { _sgimgui_image_created(ctx, img_id, _sgimgui_slot_index(img_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_make_sampler(const sg_sampler_desc* desc, sg_sampler smp_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_sampler.result = smp_id; } if (ctx->hooks.make_sampler) { ctx->hooks.make_sampler(desc, smp_id, ctx->hooks.user_data); } if (smp_id.id != SG_INVALID_ID) { _sgimgui_sampler_created(ctx, smp_id, _sgimgui_slot_index(smp_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_make_shader(const sg_shader_desc* desc, sg_shader shd_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_shader.result = shd_id; } if (ctx->hooks.make_shader) { ctx->hooks.make_shader(desc, shd_id, ctx->hooks.user_data); } if (shd_id.id != SG_INVALID_ID) { _sgimgui_shader_created(ctx, shd_id, _sgimgui_slot_index(shd_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_make_pipeline(const sg_pipeline_desc* desc, sg_pipeline pip_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_pipeline.result = pip_id; } if (ctx->hooks.make_pipeline) { ctx->hooks.make_pipeline(desc, pip_id, ctx->hooks.user_data); } if (pip_id.id != SG_INVALID_ID) { _sgimgui_pipeline_created(ctx, pip_id, _sgimgui_slot_index(pip_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_make_attachments(const sg_attachments_desc* desc, sg_attachments atts_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_MAKE_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.make_attachments.result = atts_id; } if (ctx->hooks.make_attachments) { ctx->hooks.make_attachments(desc, atts_id, ctx->hooks.user_data); } if (atts_id.id != SG_INVALID_ID) { _sgimgui_attachments_created(ctx, atts_id, _sgimgui_slot_index(atts_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_destroy_buffer(sg_buffer buf, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_buffer.buffer = buf; } if (ctx->hooks.destroy_buffer) { ctx->hooks.destroy_buffer(buf, ctx->hooks.user_data); } if (buf.id != SG_INVALID_ID) { _sgimgui_buffer_destroyed(ctx, _sgimgui_slot_index(buf.id)); } } _SOKOL_PRIVATE void _sgimgui_destroy_image(sg_image img, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_image.image = img; } if (ctx->hooks.destroy_image) { ctx->hooks.destroy_image(img, ctx->hooks.user_data); } if (img.id != SG_INVALID_ID) { _sgimgui_image_destroyed(ctx, _sgimgui_slot_index(img.id)); } } _SOKOL_PRIVATE void _sgimgui_destroy_sampler(sg_sampler smp, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_sampler.sampler = smp; } if (ctx->hooks.destroy_sampler) { ctx->hooks.destroy_sampler(smp, ctx->hooks.user_data); } if (smp.id != SG_INVALID_ID) { _sgimgui_sampler_destroyed(ctx, _sgimgui_slot_index(smp.id)); } } _SOKOL_PRIVATE void _sgimgui_destroy_shader(sg_shader shd, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_shader.shader = shd; } if (ctx->hooks.destroy_shader) { ctx->hooks.destroy_shader(shd, ctx->hooks.user_data); } if (shd.id != SG_INVALID_ID) { _sgimgui_shader_destroyed(ctx, _sgimgui_slot_index(shd.id)); } } _SOKOL_PRIVATE void _sgimgui_destroy_pipeline(sg_pipeline pip, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_pipeline.pipeline = pip; } if (ctx->hooks.destroy_pipeline) { ctx->hooks.destroy_pipeline(pip, ctx->hooks.user_data); } if (pip.id != SG_INVALID_ID) { _sgimgui_pipeline_destroyed(ctx, _sgimgui_slot_index(pip.id)); } } _SOKOL_PRIVATE void _sgimgui_destroy_attachments(sg_attachments atts, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DESTROY_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.destroy_attachments.attachments = atts; } if (ctx->hooks.destroy_attachments) { ctx->hooks.destroy_attachments(atts, ctx->hooks.user_data); } if (atts.id != SG_INVALID_ID) { _sgimgui_attachments_destroyed(ctx, _sgimgui_slot_index(atts.id)); } } _SOKOL_PRIVATE void _sgimgui_update_buffer(sg_buffer buf, const sg_range* data, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UPDATE_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.update_buffer.buffer = buf; item->args.update_buffer.data_size = data->size; } if (ctx->hooks.update_buffer) { ctx->hooks.update_buffer(buf, data, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_update_image(sg_image img, const sg_image_data* data, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UPDATE_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.update_image.image = img; } if (ctx->hooks.update_image) { ctx->hooks.update_image(img, data, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_append_buffer(sg_buffer buf, const sg_range* data, int result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_APPEND_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.append_buffer.buffer = buf; item->args.append_buffer.data_size = data->size; item->args.append_buffer.result = result; } if (ctx->hooks.append_buffer) { ctx->hooks.append_buffer(buf, data, result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_begin_pass(const sg_pass* pass, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { SOKOL_ASSERT(pass); item->cmd = SGIMGUI_CMD_BEGIN_PASS; item->color = _SGIMGUI_COLOR_PASS; item->args.begin_pass.pass = *pass; } if (ctx->hooks.begin_pass) { ctx->hooks.begin_pass(pass, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_apply_viewport(int x, int y, int width, int height, bool origin_top_left, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_APPLY_VIEWPORT; item->color = _SGIMGUI_COLOR_APPLY; item->args.apply_viewport.x = x; item->args.apply_viewport.y = y; item->args.apply_viewport.width = width; item->args.apply_viewport.height = height; item->args.apply_viewport.origin_top_left = origin_top_left; } if (ctx->hooks.apply_viewport) { ctx->hooks.apply_viewport(x, y, width, height, origin_top_left, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_apply_scissor_rect(int x, int y, int width, int height, bool origin_top_left, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_APPLY_SCISSOR_RECT; item->color = _SGIMGUI_COLOR_APPLY; item->args.apply_scissor_rect.x = x; item->args.apply_scissor_rect.y = y; item->args.apply_scissor_rect.width = width; item->args.apply_scissor_rect.height = height; item->args.apply_scissor_rect.origin_top_left = origin_top_left; } if (ctx->hooks.apply_scissor_rect) { ctx->hooks.apply_scissor_rect(x, y, width, height, origin_top_left, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_apply_pipeline(sg_pipeline pip, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); ctx->cur_pipeline = pip; /* stored for _sgimgui_apply_uniforms */ sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_APPLY_PIPELINE; item->color = _SGIMGUI_COLOR_APPLY; item->args.apply_pipeline.pipeline = pip; } if (ctx->hooks.apply_pipeline) { ctx->hooks.apply_pipeline(pip, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_apply_bindings(const sg_bindings* bindings, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { SOKOL_ASSERT(bindings); item->cmd = SGIMGUI_CMD_APPLY_BINDINGS; item->color = _SGIMGUI_COLOR_APPLY; item->args.apply_bindings.bindings = *bindings; } if (ctx->hooks.apply_bindings) { ctx->hooks.apply_bindings(bindings, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_apply_uniforms(sg_shader_stage stage, int ub_index, const sg_range* data, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); SOKOL_ASSERT(data); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_APPLY_UNIFORMS; item->color = _SGIMGUI_COLOR_APPLY; sgimgui_args_apply_uniforms_t* args = &item->args.apply_uniforms; args->stage = stage; args->ub_index = ub_index; args->data_size = data->size; args->pipeline = ctx->cur_pipeline; args->ubuf_pos = _sgimgui_capture_uniforms(ctx, data); } if (ctx->hooks.apply_uniforms) { ctx->hooks.apply_uniforms(stage, ub_index, data, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_draw(int base_element, int num_elements, int num_instances, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DRAW; item->color = _SGIMGUI_COLOR_DRAW; item->args.draw.base_element = base_element; item->args.draw.num_elements = num_elements; item->args.draw.num_instances = num_instances; } if (ctx->hooks.draw) { ctx->hooks.draw(base_element, num_elements, num_instances, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_end_pass(void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); ctx->cur_pipeline.id = SG_INVALID_ID; sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_END_PASS; item->color = _SGIMGUI_COLOR_PASS; } if (ctx->hooks.end_pass) { ctx->hooks.end_pass(ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_commit(void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_COMMIT; item->color = _SGIMGUI_COLOR_OTHER; } _sgimgui_capture_next_frame(ctx); if (ctx->hooks.commit) { ctx->hooks.commit(ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_buffer(sg_buffer result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_buffer.result = result; } if (ctx->hooks.alloc_buffer) { ctx->hooks.alloc_buffer(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_image(sg_image result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_image.result = result; } if (ctx->hooks.alloc_image) { ctx->hooks.alloc_image(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_sampler(sg_sampler result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_sampler.result = result; } if (ctx->hooks.alloc_sampler) { ctx->hooks.alloc_sampler(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_shader(sg_shader result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_shader.result = result; } if (ctx->hooks.alloc_shader) { ctx->hooks.alloc_shader(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_pipeline(sg_pipeline result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_pipeline.result = result; } if (ctx->hooks.alloc_pipeline) { ctx->hooks.alloc_pipeline(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_alloc_attachments(sg_attachments result, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_ALLOC_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.alloc_attachments.result = result; } if (ctx->hooks.alloc_attachments) { ctx->hooks.alloc_attachments(result, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_buffer(sg_buffer buf_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_buffer.buffer = buf_id; } if (ctx->hooks.dealloc_buffer) { ctx->hooks.dealloc_buffer(buf_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_image(sg_image img_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_image.image = img_id; } if (ctx->hooks.dealloc_image) { ctx->hooks.dealloc_image(img_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_sampler(sg_sampler smp_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_sampler.sampler = smp_id; } if (ctx->hooks.dealloc_sampler) { ctx->hooks.dealloc_sampler(smp_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_shader(sg_shader shd_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_shader.shader = shd_id; } if (ctx->hooks.dealloc_shader) { ctx->hooks.dealloc_shader(shd_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_pipeline(sg_pipeline pip_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_pipeline.pipeline = pip_id; } if (ctx->hooks.dealloc_pipeline) { ctx->hooks.dealloc_pipeline(pip_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_dealloc_attachments(sg_attachments atts_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_DEALLOC_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.dealloc_attachments.attachments = atts_id; } if (ctx->hooks.dealloc_attachments) { ctx->hooks.dealloc_attachments(atts_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_init_buffer(sg_buffer buf_id, const sg_buffer_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_buffer.buffer = buf_id; } if (ctx->hooks.init_buffer) { ctx->hooks.init_buffer(buf_id, desc, ctx->hooks.user_data); } if (buf_id.id != SG_INVALID_ID) { _sgimgui_buffer_created(ctx, buf_id, _sgimgui_slot_index(buf_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_init_image(sg_image img_id, const sg_image_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_image.image = img_id; } if (ctx->hooks.init_image) { ctx->hooks.init_image(img_id, desc, ctx->hooks.user_data); } if (img_id.id != SG_INVALID_ID) { _sgimgui_image_created(ctx, img_id, _sgimgui_slot_index(img_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_init_sampler(sg_sampler smp_id, const sg_sampler_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_sampler.sampler = smp_id; } if (ctx->hooks.init_sampler) { ctx->hooks.init_sampler(smp_id, desc, ctx->hooks.user_data); } if (smp_id.id != SG_INVALID_ID) { _sgimgui_sampler_created(ctx, smp_id, _sgimgui_slot_index(smp_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_init_shader(sg_shader shd_id, const sg_shader_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_shader.shader = shd_id; } if (ctx->hooks.init_shader) { ctx->hooks.init_shader(shd_id, desc, ctx->hooks.user_data); } if (shd_id.id != SG_INVALID_ID) { _sgimgui_shader_created(ctx, shd_id, _sgimgui_slot_index(shd_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_init_pipeline(sg_pipeline pip_id, const sg_pipeline_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_pipeline.pipeline = pip_id; } if (ctx->hooks.init_pipeline) { ctx->hooks.init_pipeline(pip_id, desc, ctx->hooks.user_data); } if (pip_id.id != SG_INVALID_ID) { _sgimgui_pipeline_created(ctx, pip_id, _sgimgui_slot_index(pip_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_init_attachments(sg_attachments atts_id, const sg_attachments_desc* desc, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_INIT_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.init_attachments.attachments = atts_id; } if (ctx->hooks.init_attachments) { ctx->hooks.init_attachments(atts_id, desc, ctx->hooks.user_data); } if (atts_id.id != SG_INVALID_ID) { _sgimgui_attachments_created(ctx, atts_id, _sgimgui_slot_index(atts_id.id), desc); } } _SOKOL_PRIVATE void _sgimgui_uninit_buffer(sg_buffer buf, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_buffer.buffer = buf; } if (ctx->hooks.uninit_buffer) { ctx->hooks.uninit_buffer(buf, ctx->hooks.user_data); } if (buf.id != SG_INVALID_ID) { _sgimgui_buffer_destroyed(ctx, _sgimgui_slot_index(buf.id)); } } _SOKOL_PRIVATE void _sgimgui_uninit_image(sg_image img, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_image.image = img; } if (ctx->hooks.uninit_image) { ctx->hooks.uninit_image(img, ctx->hooks.user_data); } if (img.id != SG_INVALID_ID) { _sgimgui_image_destroyed(ctx, _sgimgui_slot_index(img.id)); } } _SOKOL_PRIVATE void _sgimgui_uninit_sampler(sg_sampler smp, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_sampler.sampler = smp; } if (ctx->hooks.uninit_sampler) { ctx->hooks.uninit_sampler(smp, ctx->hooks.user_data); } if (smp.id != SG_INVALID_ID) { _sgimgui_sampler_destroyed(ctx, _sgimgui_slot_index(smp.id)); } } _SOKOL_PRIVATE void _sgimgui_uninit_shader(sg_shader shd, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_shader.shader = shd; } if (ctx->hooks.uninit_shader) { ctx->hooks.uninit_shader(shd, ctx->hooks.user_data); } if (shd.id != SG_INVALID_ID) { _sgimgui_shader_destroyed(ctx, _sgimgui_slot_index(shd.id)); } } _SOKOL_PRIVATE void _sgimgui_uninit_pipeline(sg_pipeline pip, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_pipeline.pipeline = pip; } if (ctx->hooks.uninit_pipeline) { ctx->hooks.uninit_pipeline(pip, ctx->hooks.user_data); } if (pip.id != SG_INVALID_ID) { _sgimgui_pipeline_destroyed(ctx, _sgimgui_slot_index(pip.id)); } } _SOKOL_PRIVATE void _sgimgui_uninit_attachments(sg_attachments atts, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_UNINIT_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.uninit_attachments.attachments = atts; } if (ctx->hooks.uninit_attachments) { ctx->hooks.uninit_attachments(atts, ctx->hooks.user_data); } if (atts.id != SG_INVALID_ID) { _sgimgui_attachments_destroyed(ctx, _sgimgui_slot_index(atts.id)); } } _SOKOL_PRIVATE void _sgimgui_fail_buffer(sg_buffer buf_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_BUFFER; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_buffer.buffer = buf_id; } if (ctx->hooks.fail_buffer) { ctx->hooks.fail_buffer(buf_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_fail_image(sg_image img_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_IMAGE; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_image.image = img_id; } if (ctx->hooks.fail_image) { ctx->hooks.fail_image(img_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_fail_sampler(sg_sampler smp_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_SAMPLER; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_sampler.sampler = smp_id; } if (ctx->hooks.fail_sampler) { ctx->hooks.fail_sampler(smp_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_fail_shader(sg_shader shd_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_SHADER; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_shader.shader = shd_id; } if (ctx->hooks.fail_shader) { ctx->hooks.fail_shader(shd_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_fail_pipeline(sg_pipeline pip_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_PIPELINE; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_pipeline.pipeline = pip_id; } if (ctx->hooks.fail_pipeline) { ctx->hooks.fail_pipeline(pip_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_fail_attachments(sg_attachments atts_id, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_FAIL_ATTACHMENTS; item->color = _SGIMGUI_COLOR_RSRC; item->args.fail_attachments.attachments = atts_id; } if (ctx->hooks.fail_attachments) { ctx->hooks.fail_attachments(atts_id, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_push_debug_group(const char* name, void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); if (0 == strcmp(name, "sokol-imgui")) { ctx->frame_stats_window.in_sokol_imgui = true; if (ctx->frame_stats_window.disable_sokol_imgui_stats) { sg_disable_frame_stats(); } } sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_PUSH_DEBUG_GROUP; item->color = _SGIMGUI_COLOR_OTHER; item->args.push_debug_group.name = _sgimgui_make_str(name); } if (ctx->hooks.push_debug_group) { ctx->hooks.push_debug_group(name, ctx->hooks.user_data); } } _SOKOL_PRIVATE void _sgimgui_pop_debug_group(void* user_data) { sgimgui_t* ctx = (sgimgui_t*) user_data; SOKOL_ASSERT(ctx); if (ctx->frame_stats_window.in_sokol_imgui) { ctx->frame_stats_window.in_sokol_imgui = false; if (ctx->frame_stats_window.disable_sokol_imgui_stats) { sg_enable_frame_stats(); } } sgimgui_capture_item_t* item = _sgimgui_capture_next_write_item(ctx); if (item) { item->cmd = SGIMGUI_CMD_POP_DEBUG_GROUP; item->color = _SGIMGUI_COLOR_OTHER; } if (ctx->hooks.pop_debug_group) { ctx->hooks.pop_debug_group(ctx->hooks.user_data); } } /*--- IMGUI HELPERS ----------------------------------------------------------*/ _SOKOL_PRIVATE bool _sgimgui_draw_resid_list_item(uint32_t res_id, const char* label, bool selected) { igPushID_Int((int)res_id); bool res; if (label[0]) { res = igSelectable_Bool(label, selected, 0, IMVEC2(0,0)); } else { sgimgui_str_t str; _sgimgui_snprintf(&str, "0x%08X", res_id); res = igSelectable_Bool(str.buf, selected, 0, IMVEC2(0,0)); } igPopID(); return res; } _SOKOL_PRIVATE bool _sgimgui_draw_resid_link(uint32_t res_type, uint32_t res_id, const char* label) { SOKOL_ASSERT(label); sgimgui_str_t str_buf; const char* str; if (label[0]) { str = label; } else { _sgimgui_snprintf(&str_buf, "0x%08X", res_id); str = str_buf.buf; } igPushID_Int((int)((res_type<<24)|res_id)); bool res = igSmallButton(str); igPopID(); return res; } _SOKOL_PRIVATE bool _sgimgui_draw_buffer_link(sgimgui_t* ctx, sg_buffer buf) { bool retval = false; if (buf.id != SG_INVALID_ID) { const sgimgui_buffer_t* buf_ui = &ctx->buffer_window.slots[_sgimgui_slot_index(buf.id)]; retval = _sgimgui_draw_resid_link(1, buf.id, buf_ui->label.buf); } return retval; } _SOKOL_PRIVATE bool _sgimgui_draw_image_link(sgimgui_t* ctx, sg_image img) { bool retval = false; if (img.id != SG_INVALID_ID) { const sgimgui_image_t* img_ui = &ctx->image_window.slots[_sgimgui_slot_index(img.id)]; retval = _sgimgui_draw_resid_link(2, img.id, img_ui->label.buf); } return retval; } _SOKOL_PRIVATE bool _sgimgui_draw_sampler_link(sgimgui_t* ctx, sg_sampler smp) { bool retval = false; if (smp.id != SG_INVALID_ID) { const sgimgui_sampler_t* smp_ui = &ctx->sampler_window.slots[_sgimgui_slot_index(smp.id)]; retval = _sgimgui_draw_resid_link(2, smp.id, smp_ui->label.buf); } return retval; } _SOKOL_PRIVATE bool _sgimgui_draw_shader_link(sgimgui_t* ctx, sg_shader shd) { bool retval = false; if (shd.id != SG_INVALID_ID) { const sgimgui_shader_t* shd_ui = &ctx->shader_window.slots[_sgimgui_slot_index(shd.id)]; retval = _sgimgui_draw_resid_link(3, shd.id, shd_ui->label.buf); } return retval; } _SOKOL_PRIVATE void _sgimgui_show_buffer(sgimgui_t* ctx, sg_buffer buf) { ctx->buffer_window.open = true; ctx->buffer_window.sel_buf = buf; } _SOKOL_PRIVATE void _sgimgui_show_image(sgimgui_t* ctx, sg_image img) { ctx->image_window.open = true; ctx->image_window.sel_img = img; } _SOKOL_PRIVATE void _sgimgui_show_sampler(sgimgui_t* ctx, sg_sampler smp) { ctx->sampler_window.open = true; ctx->sampler_window.sel_smp = smp; } _SOKOL_PRIVATE void _sgimgui_show_shader(sgimgui_t* ctx, sg_shader shd) { ctx->shader_window.open = true; ctx->shader_window.sel_shd = shd; } _SOKOL_PRIVATE void _sgimgui_draw_buffer_list(sgimgui_t* ctx) { igBeginChild_Str("buffer_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 0; i < ctx->buffer_window.num_slots; i++) { sg_buffer buf = ctx->buffer_window.slots[i].res_id; sg_resource_state state = sg_query_buffer_state(buf); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->buffer_window.sel_buf.id == buf.id; if (_sgimgui_draw_resid_list_item(buf.id, ctx->buffer_window.slots[i].label.buf, selected)) { ctx->buffer_window.sel_buf.id = buf.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_image_list(sgimgui_t* ctx) { igBeginChild_Str("image_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 0; i < ctx->image_window.num_slots; i++) { sg_image img = ctx->image_window.slots[i].res_id; sg_resource_state state = sg_query_image_state(img); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->image_window.sel_img.id == img.id; if (_sgimgui_draw_resid_list_item(img.id, ctx->image_window.slots[i].label.buf, selected)) { ctx->image_window.sel_img.id = img.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_sampler_list(sgimgui_t* ctx) { igBeginChild_Str("sampler_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 0; i < ctx->sampler_window.num_slots; i++) { sg_sampler smp = ctx->sampler_window.slots[i].res_id; sg_resource_state state = sg_query_sampler_state(smp); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->sampler_window.sel_smp.id == smp.id; if (_sgimgui_draw_resid_list_item(smp.id, ctx->sampler_window.slots[i].label.buf, selected)) { ctx->sampler_window.sel_smp.id = smp.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_shader_list(sgimgui_t* ctx) { igBeginChild_Str("shader_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 0; i < ctx->shader_window.num_slots; i++) { sg_shader shd = ctx->shader_window.slots[i].res_id; sg_resource_state state = sg_query_shader_state(shd); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->shader_window.sel_shd.id == shd.id; if (_sgimgui_draw_resid_list_item(shd.id, ctx->shader_window.slots[i].label.buf, selected)) { ctx->shader_window.sel_shd.id = shd.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_pipeline_list(sgimgui_t* ctx) { igBeginChild_Str("pipeline_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 1; i < ctx->pipeline_window.num_slots; i++) { sg_pipeline pip = ctx->pipeline_window.slots[i].res_id; sg_resource_state state = sg_query_pipeline_state(pip); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->pipeline_window.sel_pip.id == pip.id; if (_sgimgui_draw_resid_list_item(pip.id, ctx->pipeline_window.slots[i].label.buf, selected)) { ctx->pipeline_window.sel_pip.id = pip.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_attachments_list(sgimgui_t* ctx) { igBeginChild_Str("pass_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); for (int i = 1; i < ctx->attachments_window.num_slots; i++) { sg_attachments atts = ctx->attachments_window.slots[i].res_id; sg_resource_state state = sg_query_attachments_state(atts); if ((state != SG_RESOURCESTATE_INVALID) && (state != SG_RESOURCESTATE_INITIAL)) { bool selected = ctx->attachments_window.sel_atts.id == atts.id; if (_sgimgui_draw_resid_list_item(atts.id, ctx->attachments_window.slots[i].label.buf, selected)) { ctx->attachments_window.sel_atts.id = atts.id; } } } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_capture_list(sgimgui_t* ctx) { igBeginChild_Str("capture_list", IMVEC2(_SGIMGUI_LIST_WIDTH,0), true, 0); const int num_items = _sgimgui_capture_num_read_items(ctx); uint64_t group_stack = 1; /* bit set: group unfolded, cleared: folded */ for (int i = 0; i < num_items; i++) { const sgimgui_capture_item_t* item = _sgimgui_capture_read_item_at(ctx, i); sgimgui_str_t item_string = _sgimgui_capture_item_string(ctx, i, item); igPushStyleColor_U32(ImGuiCol_Text, item->color); igPushID_Int(i); if (item->cmd == SGIMGUI_CMD_PUSH_DEBUG_GROUP) { if (group_stack & 1) { group_stack <<= 1; const char* group_name = item->args.push_debug_group.name.buf; if (igTreeNode_StrStr(group_name, "Group: %s", group_name)) { group_stack |= 1; } } else { group_stack <<= 1; } } else if (item->cmd == SGIMGUI_CMD_POP_DEBUG_GROUP) { if (group_stack & 1) { igTreePop(); } group_stack >>= 1; } else if (group_stack & 1) { if (igSelectable_Bool(item_string.buf, ctx->capture_window.sel_item == i, 0, IMVEC2(0,0))) { ctx->capture_window.sel_item = i; } if (igIsItemHovered(0)) { igSetTooltip("%s", item_string.buf); } } igPopID(); igPopStyleColor(1); } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_buffer_panel(sgimgui_t* ctx, sg_buffer buf) { if (buf.id != SG_INVALID_ID) { igBeginChild_Str("buffer", IMVEC2(0,0), false, 0); sg_buffer_info info = sg_query_buffer_info(buf); if (info.slot.state == SG_RESOURCESTATE_VALID) { const sgimgui_buffer_t* buf_ui = &ctx->buffer_window.slots[_sgimgui_slot_index(buf.id)]; igText("Label: %s", buf_ui->label.buf[0] ? buf_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); igSeparator(); igText("Type: %s", _sgimgui_buffertype_string(buf_ui->desc.type)); igText("Usage: %s", _sgimgui_usage_string(buf_ui->desc.usage)); igText("Size: %d", buf_ui->desc.size); if (buf_ui->desc.usage != SG_USAGE_IMMUTABLE) { igSeparator(); igText("Num Slots: %d", info.num_slots); igText("Active Slot: %d", info.active_slot); igText("Update Frame Index: %d", info.update_frame_index); igText("Append Frame Index: %d", info.append_frame_index); igText("Append Pos: %d", info.append_pos); igText("Append Overflow: %s", _sgimgui_bool_string(info.append_overflow)); } } else { igText("Buffer 0x%08X not valid.", buf.id); } igEndChild(); } } _SOKOL_PRIVATE bool _sgimgui_image_renderable(sg_image_type type, sg_pixel_format fmt, int sample_count) { return (type == SG_IMAGETYPE_2D) && sg_query_pixelformat(fmt).sample && sample_count == 1; } _SOKOL_PRIVATE void _sgimgui_draw_embedded_image(sgimgui_t* ctx, sg_image img, float* scale) { if (sg_query_image_state(img) == SG_RESOURCESTATE_VALID) { sgimgui_image_t* img_ui = &ctx->image_window.slots[_sgimgui_slot_index(img.id)]; if (_sgimgui_image_renderable(img_ui->desc.type, img_ui->desc.pixel_format, img_ui->desc.sample_count)) { igPushID_Int((int)img.id); igSliderFloat("Scale", scale, 0.125f, 8.0f, "%.3f", ImGuiSliderFlags_Logarithmic); float w = (float)img_ui->desc.width * (*scale); float h = (float)img_ui->desc.height * (*scale); igImage(simgui_imtextureid(img_ui->simgui_img), IMVEC2(w, h), IMVEC2(0,0), IMVEC2(1,1), IMVEC4(1,1,1,1), IMVEC4(0,0,0,0)); igPopID(); } else { igText("Image not renderable."); } } } _SOKOL_PRIVATE void _sgimgui_draw_image_panel(sgimgui_t* ctx, sg_image img) { if (img.id != SG_INVALID_ID) { igBeginChild_Str("image", IMVEC2(0,0), false, 0); sg_image_info info = sg_query_image_info(img); if (info.slot.state == SG_RESOURCESTATE_VALID) { sgimgui_image_t* img_ui = &ctx->image_window.slots[_sgimgui_slot_index(img.id)]; const sg_image_desc* desc = &img_ui->desc; igText("Label: %s", img_ui->label.buf[0] ? img_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); igSeparator(); _sgimgui_draw_embedded_image(ctx, img, &img_ui->ui_scale); igSeparator(); igText("Type: %s", _sgimgui_imagetype_string(desc->type)); igText("Usage: %s", _sgimgui_usage_string(desc->usage)); igText("Render Target: %s", _sgimgui_bool_string(desc->render_target)); igText("Width: %d", desc->width); igText("Height: %d", desc->height); igText("Num Slices: %d", desc->num_slices); igText("Num Mipmaps: %d", desc->num_mipmaps); igText("Pixel Format: %s", _sgimgui_pixelformat_string(desc->pixel_format)); igText("Sample Count: %d", desc->sample_count); if (desc->usage != SG_USAGE_IMMUTABLE) { igSeparator(); igText("Num Slots: %d", info.num_slots); igText("Active Slot: %d", info.active_slot); igText("Update Frame Index: %d", info.upd_frame_index); } } else { igText("Image 0x%08X not valid.", img.id); } igEndChild(); } } _SOKOL_PRIVATE void _sgimgui_draw_sampler_panel(sgimgui_t* ctx, sg_sampler smp) { if (smp.id != SG_INVALID_ID) { igBeginChild_Str("sampler", IMVEC2(0,0), false, 0); sg_sampler_info info = sg_query_sampler_info(smp); if (info.slot.state == SG_RESOURCESTATE_VALID) { sgimgui_sampler_t* smp_ui = &ctx->sampler_window.slots[_sgimgui_slot_index(smp.id)]; const sg_sampler_desc* desc = &smp_ui->desc; igText("Label: %s", smp_ui->label.buf[0] ? smp_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); igSeparator(); igText("Min Filter: %s", _sgimgui_filter_string(desc->min_filter)); igText("Mag Filter: %s", _sgimgui_filter_string(desc->mag_filter)); igText("Mipmap Filter: %s", _sgimgui_filter_string(desc->mipmap_filter)); igText("Wrap U: %s", _sgimgui_wrap_string(desc->wrap_u)); igText("Wrap V: %s", _sgimgui_wrap_string(desc->wrap_v)); igText("Wrap W: %s", _sgimgui_wrap_string(desc->wrap_w)); igText("Min LOD: %.3f", desc->min_lod); igText("Max LOD: %.3f", desc->max_lod); igText("Border Color: %s", _sgimgui_bordercolor_string(desc->border_color)); igText("Compare: %s", _sgimgui_comparefunc_string(desc->compare)); igText("Max Anisotropy: %d", desc->max_anisotropy); } else { igText("Sampler 0x%08X not valid.", smp.id); } igEndChild(); } } _SOKOL_PRIVATE void _sgimgui_draw_shader_stage(const sg_shader_stage_desc* stage) { int num_valid_ubs = 0; for (int i = 0; i < SG_MAX_SHADERSTAGE_UBS; i++) { const sg_shader_uniform_block_desc* ub = &stage->uniform_blocks[i]; for (int j = 0; j < SG_MAX_UB_MEMBERS; j++) { const sg_shader_uniform_desc* u = &ub->uniforms[j]; if (SG_UNIFORMTYPE_INVALID != u->type) { num_valid_ubs++; break; } } } int num_valid_images = 0; for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGES; i++) { if (stage->images[i].used) { num_valid_images++; } else { break; } } int num_valid_samplers = 0; for (int i = 0; i < SG_MAX_SHADERSTAGE_SAMPLERS; i++) { if (stage->samplers[i].used) { num_valid_samplers++; } else { break; } } int num_valid_image_sampler_pairs = 0; for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGESAMPLERPAIRS; i++) { if (stage->image_sampler_pairs[i].used) { num_valid_image_sampler_pairs++; } else { break; } } int num_valid_storage_buffers = 0; for (int i = 0; i < SG_MAX_SHADERSTAGE_STORAGEBUFFERS; i++) { if (stage->storage_buffers[i].used) { num_valid_storage_buffers++; } else { break; } } if (num_valid_ubs > 0) { if (igTreeNode_Str("Uniform Blocks")) { for (int i = 0; i < num_valid_ubs; i++) { const sg_shader_uniform_block_desc* ub = &stage->uniform_blocks[i]; igText("#%d: (size: %d layout: %s)\n", i, ub->size, _sgimgui_uniformlayout_string(ub->layout)); for (int j = 0; j < SG_MAX_UB_MEMBERS; j++) { const sg_shader_uniform_desc* u = &ub->uniforms[j]; if (SG_UNIFORMTYPE_INVALID != u->type) { if (u->array_count <= 1) { igText(" %s %s", _sgimgui_uniformtype_string(u->type), u->name ? u->name : ""); } else { igText(" %s[%d] %s", _sgimgui_uniformtype_string(u->type), u->array_count, u->name ? u->name : ""); } } } } igTreePop(); } } if (num_valid_images > 0) { if (igTreeNode_Str("Images")) { for (int i = 0; i < num_valid_images; i++) { const sg_shader_image_desc* sid = &stage->images[i]; igText("slot: %d\n multisampled: %s\n image_type: %s\n sample_type: %s", i, sid->multisampled ? "true" : "false", _sgimgui_imagetype_string(sid->image_type), _sgimgui_imagesampletype_string(sid->sample_type)); } igTreePop(); } } if (num_valid_samplers > 0) { if (igTreeNode_Str("Samplers")) { for (int i = 0; i < num_valid_samplers; i++) { const sg_shader_sampler_desc* ssd = &stage->samplers[i]; igText("slot: %d\n sampler_type: %s", i, _sgimgui_samplertype_string(ssd->sampler_type)); } igTreePop(); } } if (num_valid_image_sampler_pairs > 0) { if (igTreeNode_Str("Image Sampler Pairs")) { for (int i = 0; i < num_valid_image_sampler_pairs; i++) { const sg_shader_image_sampler_pair_desc* sispd = &stage->image_sampler_pairs[i]; igText("slot: %d\n image_slot: %d\n sampler_slot: %d\n glsl_name: %s\n", i, sispd->image_slot, sispd->sampler_slot, sispd->glsl_name ? sispd->glsl_name : "---"); } igTreePop(); } } if (num_valid_storage_buffers > 0) { if (igTreeNode_Str("Storage Buffers")) { for (int i = 0; i < num_valid_storage_buffers; i++) { const sg_shader_storage_buffer_desc* sbuf_desc = &stage->storage_buffers[i]; igText("slot: %d\n readonly: %s\n", i, sbuf_desc->readonly ? "true" : "false"); } igTreePop(); } } if (stage->entry) { igText("Entry: %s", stage->entry); } if (stage->d3d11_target) { igText("D3D11 Target: %s", stage->d3d11_target); } if (stage->source) { if (igTreeNode_Str("Source")) { igText("%s", stage->source); igTreePop(); } } else if (stage->bytecode.ptr) { if (igTreeNode_Str("Byte Code")) { igText("Byte-code display currently not supported."); igTreePop(); } } } _SOKOL_PRIVATE void _sgimgui_draw_shader_panel(sgimgui_t* ctx, sg_shader shd) { if (shd.id != SG_INVALID_ID) { igBeginChild_Str("shader", IMVEC2(0,0), false, ImGuiWindowFlags_HorizontalScrollbar); sg_shader_info info = sg_query_shader_info(shd); if (info.slot.state == SG_RESOURCESTATE_VALID) { const sgimgui_shader_t* shd_ui = &ctx->shader_window.slots[_sgimgui_slot_index(shd.id)]; igText("Label: %s", shd_ui->label.buf[0] ? shd_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); igSeparator(); if (igTreeNode_Str("Attrs")) { for (int i = 0; i < SG_MAX_VERTEX_ATTRIBUTES; i++) { const sg_shader_attr_desc* a_desc = &shd_ui->desc.attrs[i]; if (a_desc->name || a_desc->sem_index) { igText("#%d:", i); igText(" Name: %s", a_desc->name ? a_desc->name : "---"); igText(" Sem Name: %s", a_desc->sem_name ? a_desc->sem_name : "---"); igText(" Sem Index: %d", a_desc->sem_index); } } igTreePop(); } if (igTreeNode_Str("Vertex Shader Stage")) { _sgimgui_draw_shader_stage(&shd_ui->desc.vs); igTreePop(); } if (igTreeNode_Str("Fragment Shader Stage")) { _sgimgui_draw_shader_stage(&shd_ui->desc.fs); igTreePop(); } } else { igText("Shader 0x%08X not valid!", shd.id); } igEndChild(); } } _SOKOL_PRIVATE void _sgimgui_draw_vertex_layout_state(const sg_vertex_layout_state* layout) { if (igTreeNode_Str("Buffers")) { for (int i = 0; i < SG_MAX_VERTEX_BUFFERS; i++) { const sg_vertex_buffer_layout_state* l_state = &layout->buffers[i]; if (l_state->stride > 0) { igText("#%d:", i); igText(" Stride: %d", l_state->stride); igText(" Step Func: %s", _sgimgui_vertexstep_string(l_state->step_func)); igText(" Step Rate: %d", l_state->step_rate); } } igTreePop(); } if (igTreeNode_Str("Attrs")) { for (int i = 0; i < SG_MAX_VERTEX_ATTRIBUTES; i++) { const sg_vertex_attr_state* a_state = &layout->attrs[i]; if (a_state->format != SG_VERTEXFORMAT_INVALID) { igText("#%d:", i); igText(" Format: %s", _sgimgui_vertexformat_string(a_state->format)); igText(" Offset: %d", a_state->offset); igText(" Buffer Index: %d", a_state->buffer_index); } } igTreePop(); } } _SOKOL_PRIVATE void _sgimgui_draw_stencil_face_state(const sg_stencil_face_state* sfs) { igText("Fail Op: %s", _sgimgui_stencilop_string(sfs->fail_op)); igText("Depth Fail Op: %s", _sgimgui_stencilop_string(sfs->depth_fail_op)); igText("Pass Op: %s", _sgimgui_stencilop_string(sfs->pass_op)); igText("Compare: %s", _sgimgui_comparefunc_string(sfs->compare)); } _SOKOL_PRIVATE void _sgimgui_draw_stencil_state(const sg_stencil_state* ss) { igText("Enabled: %s", _sgimgui_bool_string(ss->enabled)); igText("Read Mask: 0x%02X", ss->read_mask); igText("Write Mask: 0x%02X", ss->write_mask); igText("Ref: 0x%02X", ss->ref); if (igTreeNode_Str("Front")) { _sgimgui_draw_stencil_face_state(&ss->front); igTreePop(); } if (igTreeNode_Str("Back")) { _sgimgui_draw_stencil_face_state(&ss->back); igTreePop(); } } _SOKOL_PRIVATE void _sgimgui_draw_depth_state(const sg_depth_state* ds) { igText("Pixel Format: %s", _sgimgui_pixelformat_string(ds->pixel_format)); igText("Compare: %s", _sgimgui_comparefunc_string(ds->compare)); igText("Write Enabled: %s", _sgimgui_bool_string(ds->write_enabled)); igText("Bias: %f", ds->bias); igText("Bias Slope: %f", ds->bias_slope_scale); igText("Bias Clamp: %f", ds->bias_clamp); } _SOKOL_PRIVATE void _sgimgui_draw_blend_state(const sg_blend_state* bs) { igText("Blend Enabled: %s", _sgimgui_bool_string(bs->enabled)); igText("Src Factor RGB: %s", _sgimgui_blendfactor_string(bs->src_factor_rgb)); igText("Dst Factor RGB: %s", _sgimgui_blendfactor_string(bs->dst_factor_rgb)); igText("Op RGB: %s", _sgimgui_blendop_string(bs->op_rgb)); igText("Src Factor Alpha: %s", _sgimgui_blendfactor_string(bs->src_factor_alpha)); igText("Dst Factor Alpha: %s", _sgimgui_blendfactor_string(bs->dst_factor_alpha)); igText("Op Alpha: %s", _sgimgui_blendop_string(bs->op_alpha)); } _SOKOL_PRIVATE void _sgimgui_draw_color_target_state(const sg_color_target_state* cs) { igText("Pixel Format: %s", _sgimgui_pixelformat_string(cs->pixel_format)); igText("Write Mask: %s", _sgimgui_colormask_string(cs->write_mask)); if (igTreeNode_Str("Blend State:")) { _sgimgui_draw_blend_state(&cs->blend); igTreePop(); } } _SOKOL_PRIVATE void _sgimgui_draw_pipeline_panel(sgimgui_t* ctx, sg_pipeline pip) { if (pip.id != SG_INVALID_ID) { igBeginChild_Str("pipeline", IMVEC2(0,0), false, 0); sg_pipeline_info info = sg_query_pipeline_info(pip); if (info.slot.state == SG_RESOURCESTATE_VALID) { const sgimgui_pipeline_t* pip_ui = &ctx->pipeline_window.slots[_sgimgui_slot_index(pip.id)]; igText("Label: %s", pip_ui->label.buf[0] ? pip_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); igSeparator(); igText("Shader: "); igSameLine(0,-1); if (_sgimgui_draw_shader_link(ctx, pip_ui->desc.shader)) { _sgimgui_show_shader(ctx, pip_ui->desc.shader); } if (igTreeNode_Str("Vertex Layout State")) { _sgimgui_draw_vertex_layout_state(&pip_ui->desc.layout); igTreePop(); } if (igTreeNode_Str("Depth State")) { _sgimgui_draw_depth_state(&pip_ui->desc.depth); igTreePop(); } if (igTreeNode_Str("Stencil State")) { _sgimgui_draw_stencil_state(&pip_ui->desc.stencil); igTreePop(); } igText("Color Count: %d", pip_ui->desc.color_count); for (int i = 0; i < pip_ui->desc.color_count; i++) { sgimgui_str_t str; _sgimgui_snprintf(&str, "Color Target %d", i); if (igTreeNode_Str(str.buf)) { _sgimgui_draw_color_target_state(&pip_ui->desc.colors[i]); igTreePop(); } } igText("Prim Type: %s", _sgimgui_primitivetype_string(pip_ui->desc.primitive_type)); igText("Index Type: %s", _sgimgui_indextype_string(pip_ui->desc.index_type)); igText("Cull Mode: %s", _sgimgui_cullmode_string(pip_ui->desc.cull_mode)); igText("Face Winding: %s", _sgimgui_facewinding_string(pip_ui->desc.face_winding)); igText("Sample Count: %d", pip_ui->desc.sample_count); sgimgui_str_t blend_color_str; igText("Blend Color: %.3f %.3f %.3f %.3f", _sgimgui_color_string(&blend_color_str, pip_ui->desc.blend_color)); igText("Alpha To Coverage: %s", _sgimgui_bool_string(pip_ui->desc.alpha_to_coverage_enabled)); } else { igText("Pipeline 0x%08X not valid.", pip.id); } igEndChild(); } } _SOKOL_PRIVATE void _sgimgui_draw_attachment(sgimgui_t* ctx, const sg_attachment_desc* att, float* img_scale) { igText(" Image: "); igSameLine(0,-1); if (_sgimgui_draw_image_link(ctx, att->image)) { _sgimgui_show_image(ctx, att->image); } igText(" Mip Level: %d", att->mip_level); igText(" Slice: %d", att->slice); _sgimgui_draw_embedded_image(ctx, att->image, img_scale); } _SOKOL_PRIVATE void _sgimgui_draw_attachments_panel(sgimgui_t* ctx, sg_attachments atts) { if (atts.id != SG_INVALID_ID) { igBeginChild_Str("attachments", IMVEC2(0,0), false, 0); sg_attachments_info info = sg_query_attachments_info(atts); if (info.slot.state == SG_RESOURCESTATE_VALID) { sgimgui_attachments_t* atts_ui = &ctx->attachments_window.slots[_sgimgui_slot_index(atts.id)]; igText("Label: %s", atts_ui->label.buf[0] ? atts_ui->label.buf : "---"); _sgimgui_draw_resource_slot(&info.slot); for (int i = 0; i < SG_MAX_COLOR_ATTACHMENTS; i++) { if (atts_ui->desc.colors[i].image.id == SG_INVALID_ID) { break; } igSeparator(); igText("Color Image #%d:", i); _sgimgui_draw_attachment(ctx, &atts_ui->desc.colors[i], &atts_ui->color_image_scale[i]); } for (int i = 0; i < SG_MAX_COLOR_ATTACHMENTS; i++) { if (atts_ui->desc.resolves[i].image.id == SG_INVALID_ID) { break; } igSeparator(); igText("Resolve Image #%d:", i); _sgimgui_draw_attachment(ctx, &atts_ui->desc.resolves[i], &atts_ui->resolve_image_scale[i]); } if (atts_ui->desc.depth_stencil.image.id != SG_INVALID_ID) { igSeparator(); igText("Depth-Stencil Image:"); _sgimgui_draw_attachment(ctx, &atts_ui->desc.depth_stencil, &atts_ui->ds_image_scale); } } else { igText("Attachments 0x%08X not valid.", atts.id); } igEndChild(); } } _SOKOL_PRIVATE void _sgimgui_draw_bindings_panel(sgimgui_t* ctx, const sg_bindings* bnd) { for (int i = 0; i < SG_MAX_VERTEX_BUFFERS; i++) { sg_buffer buf = bnd->vertex_buffers[i]; if (buf.id != SG_INVALID_ID) { igSeparator(); igText("Vertex Buffer Slot #%d:", i); igText(" Buffer: "); igSameLine(0,-1); if (_sgimgui_draw_buffer_link(ctx, buf)) { _sgimgui_show_buffer(ctx, buf); } igText(" Offset: %d", bnd->vertex_buffer_offsets[i]); } else { break; } } if (bnd->index_buffer.id != SG_INVALID_ID) { sg_buffer buf = bnd->index_buffer; if (buf.id != SG_INVALID_ID) { igSeparator(); igText("Index Buffer Slot:"); igText(" Buffer: "); igSameLine(0,-1); if (_sgimgui_draw_buffer_link(ctx, buf)) { _sgimgui_show_buffer(ctx, buf); } igText(" Offset: %d", bnd->index_buffer_offset); } } for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGES; i++) { sg_image img = bnd->vs.images[i]; if (img.id != SG_INVALID_ID) { igSeparator(); igText("Vertex Stage Image Slot #%d:", i); igText(" Image: "); igSameLine(0,-1); if (_sgimgui_draw_image_link(ctx, img)) { _sgimgui_show_image(ctx, img); } } else { break; } } for (int i = 0; i < SG_MAX_SHADERSTAGE_SAMPLERS; i++) { sg_sampler smp = bnd->vs.samplers[i]; if (smp.id != SG_INVALID_ID) { igSeparator(); igText("Vertex Stage Sampler Slot #%d:", i); igText(" Sampler: "); igSameLine(0,-1); if (_sgimgui_draw_sampler_link(ctx, smp)) { _sgimgui_show_sampler(ctx, smp); } } else { break; } } for (int i = 0; i < SG_MAX_SHADERSTAGE_STORAGEBUFFERS; i++) { sg_buffer buf = bnd->vs.storage_buffers[i]; if (buf.id != SG_INVALID_ID) { igSeparator(); igText("Vertex Stage Storage Buffer Slot #%d:", i); igText(" Buffer: "); igSameLine(0,-1); if (_sgimgui_draw_buffer_link(ctx, buf)) { _sgimgui_show_buffer(ctx, buf); } } } for (int i = 0; i < SG_MAX_SHADERSTAGE_IMAGES; i++) { sg_image img = bnd->fs.images[i]; if (img.id != SG_INVALID_ID) { igSeparator(); igText("Fragment Stage Image Slot #%d:", i); igText(" Image: "); igSameLine(0,-1); if (_sgimgui_draw_image_link(ctx, img)) { _sgimgui_show_image(ctx, img); } } } for (int i = 0; i < SG_MAX_SHADERSTAGE_SAMPLERS; i++) { sg_sampler smp = bnd->fs.samplers[i]; if (smp.id != SG_INVALID_ID) { igSeparator(); igText("Fragment Stage Sampler Slot #%d:", i); igText(" Sampler: "); igSameLine(0,-1); if (_sgimgui_draw_sampler_link(ctx, smp)) { _sgimgui_show_sampler(ctx, smp); } } } for (int i = 0; i < SG_MAX_SHADERSTAGE_STORAGEBUFFERS; i++) { sg_buffer buf = bnd->fs.storage_buffers[i]; if (buf.id != SG_INVALID_ID) { igSeparator(); igText("Fragment Stage Storage Buffer Slot #%d:", i); igText(" Buffer: "); igSameLine(0,-1); if (_sgimgui_draw_buffer_link(ctx, buf)) { _sgimgui_show_buffer(ctx, buf); } } } } _SOKOL_PRIVATE void _sgimgui_draw_uniforms_panel(sgimgui_t* ctx, const sgimgui_args_apply_uniforms_t* args) { SOKOL_ASSERT(args->ub_index < SG_MAX_VERTEX_BUFFERS); /* check if all the required information for drawing the structured uniform block content is available, otherwise just render a generic hexdump */ if (sg_query_pipeline_state(args->pipeline) != SG_RESOURCESTATE_VALID) { igText("Pipeline object not valid!"); return; } sgimgui_pipeline_t* pip_ui = &ctx->pipeline_window.slots[_sgimgui_slot_index(args->pipeline.id)]; if (sg_query_shader_state(pip_ui->desc.shader) != SG_RESOURCESTATE_VALID) { igText("Shader object not valid!"); return; } sgimgui_shader_t* shd_ui = &ctx->shader_window.slots[_sgimgui_slot_index(pip_ui->desc.shader.id)]; SOKOL_ASSERT(shd_ui->res_id.id == pip_ui->desc.shader.id); const sg_shader_uniform_block_desc* ub_desc = (args->stage == SG_SHADERSTAGE_VS) ? &shd_ui->desc.vs.uniform_blocks[args->ub_index] : &shd_ui->desc.fs.uniform_blocks[args->ub_index]; SOKOL_ASSERT(args->data_size <= ub_desc->size); bool draw_dump = false; if (ub_desc->uniforms[0].type == SG_UNIFORMTYPE_INVALID) { draw_dump = true; } sgimgui_capture_bucket_t* bucket = _sgimgui_capture_get_read_bucket(ctx); SOKOL_ASSERT((args->ubuf_pos + args->data_size) <= bucket->ubuf_size); const float* uptrf = (const float*) (bucket->ubuf + args->ubuf_pos); const int32_t* uptri32 = (const int32_t*) uptrf; if (!draw_dump) { uint32_t u_off = 0; for (int i = 0; i < SG_MAX_UB_MEMBERS; i++) { const sg_shader_uniform_desc* ud = &ub_desc->uniforms[i]; if (ud->type == SG_UNIFORMTYPE_INVALID) { break; } int num_items = (ud->array_count > 1) ? ud->array_count : 1; if (num_items > 1) { igText("%d: %s %s[%d] =", i, _sgimgui_uniformtype_string(ud->type), ud->name?ud->name:"", ud->array_count); } else { igText("%d: %s %s =", i, _sgimgui_uniformtype_string(ud->type), ud->name?ud->name:""); } for (int item_index = 0; item_index < num_items; item_index++) { const uint32_t u_size = _sgimgui_std140_uniform_size(ud->type, ud->array_count) / 4; const uint32_t u_align = _sgimgui_std140_uniform_alignment(ud->type, ud->array_count) / 4; u_off = _sgimgui_align_u32(u_off, u_align); switch (ud->type) { case SG_UNIFORMTYPE_FLOAT: igText(" %.3f", uptrf[u_off]); break; case SG_UNIFORMTYPE_INT: igText(" %d", uptri32[u_off]); break; case SG_UNIFORMTYPE_FLOAT2: igText(" %.3f, %.3f", uptrf[u_off], uptrf[u_off+1]); break; case SG_UNIFORMTYPE_INT2: igText(" %d, %d", uptri32[u_off], uptri32[u_off+1]); break; case SG_UNIFORMTYPE_FLOAT3: igText(" %.3f, %.3f, %.3f", uptrf[u_off], uptrf[u_off+1], uptrf[u_off+2]); break; case SG_UNIFORMTYPE_INT3: igText(" %d, %d, %d", uptri32[u_off], uptri32[u_off+1], uptri32[u_off+2]); break; case SG_UNIFORMTYPE_FLOAT4: igText(" %.3f, %.3f, %.3f, %.3f", uptrf[u_off], uptrf[u_off+1], uptrf[u_off+2], uptrf[u_off+3]); break; case SG_UNIFORMTYPE_INT4: igText(" %d, %d, %d, %d", uptri32[u_off], uptri32[u_off+1], uptri32[u_off+2], uptri32[u_off+3]); break; case SG_UNIFORMTYPE_MAT4: igText(" %.3f, %.3f, %.3f, %.3f\n" " %.3f, %.3f, %.3f, %.3f\n" " %.3f, %.3f, %.3f, %.3f\n" " %.3f, %.3f, %.3f, %.3f", uptrf[u_off+0], uptrf[u_off+1], uptrf[u_off+2], uptrf[u_off+3], uptrf[u_off+4], uptrf[u_off+5], uptrf[u_off+6], uptrf[u_off+7], uptrf[u_off+8], uptrf[u_off+9], uptrf[u_off+10], uptrf[u_off+11], uptrf[u_off+12], uptrf[u_off+13], uptrf[u_off+14], uptrf[u_off+15]); break; default: igText("???"); break; } u_off += u_size; } } } else { // FIXME: float vs int const size_t num_floats = ub_desc->size / sizeof(float); for (uint32_t i = 0; i < num_floats; i++) { igText("%.3f, ", uptrf[i]); if (((i + 1) % 4) != 0) { igSameLine(0,-1); } } } } _SOKOL_PRIVATE void _sgimgui_draw_passaction_panel(sgimgui_t* ctx, sg_attachments atts, const sg_pass_action* action) { /* determine number of valid color attachments */ int num_color_atts = 0; if (SG_INVALID_ID == atts.id) { /* a swapchain pass: one color attachment */ num_color_atts = 1; } else { const sgimgui_attachments_t* atts_ui = &ctx->attachments_window.slots[_sgimgui_slot_index(atts.id)]; for (int i = 0; i < SG_MAX_COLOR_ATTACHMENTS; i++) { if (atts_ui->desc.colors[i].image.id != SG_INVALID_ID) { num_color_atts++; } } } igText("Pass Action: "); for (int i = 0; i < num_color_atts; i++) { const sg_color_attachment_action* c_att = &action->colors[i]; igText(" Color Attachment %d:", i); sgimgui_str_t color_str; switch (c_att->load_action) { case SG_LOADACTION_LOAD: igText(" SG_LOADACTION_LOAD"); break; case SG_LOADACTION_DONTCARE: igText(" SG_LOADACTION_DONTCARE"); break; case SG_LOADACTION_CLEAR: igText(" SG_LOADACTION_CLEAR: %s", _sgimgui_color_string(&color_str, c_att->clear_value)); break; default: igText(" ???"); break; } switch (c_att->store_action) { case SG_STOREACTION_STORE: igText(" SG_STOREACTION_STORE"); break; case SG_STOREACTION_DONTCARE: igText(" SG_STOREACTION_DONTCARE"); break; default: igText(" ???"); break; } } const sg_depth_attachment_action* d_att = &action->depth; igText(" Depth Attachment:"); switch (d_att->load_action) { case SG_LOADACTION_LOAD: igText(" SG_LOADACTION_LOAD"); break; case SG_LOADACTION_DONTCARE: igText(" SG_LOADACTION_DONTCARE"); break; case SG_LOADACTION_CLEAR: igText(" SG_LOADACTION_CLEAR: %.3f", d_att->clear_value); break; default: igText(" ???"); break; } switch (d_att->store_action) { case SG_STOREACTION_STORE: igText(" SG_STOREACTION_STORE"); break; case SG_STOREACTION_DONTCARE: igText(" SG_STOREACTION_DONTCARE"); break; default: igText(" ???"); break; } const sg_stencil_attachment_action* s_att = &action->stencil; igText(" Stencil Attachment"); switch (s_att->load_action) { case SG_LOADACTION_LOAD: igText(" SG_LOADACTION_LOAD"); break; case SG_LOADACTION_DONTCARE: igText(" SG_LOADACTION_DONTCARE"); break; case SG_LOADACTION_CLEAR: igText(" SG_LOADACTION_CLEAR: 0x%02X", s_att->clear_value); break; default: igText(" ???"); break; } switch (d_att->store_action) { case SG_STOREACTION_STORE: igText(" SG_STOREACTION_STORE"); break; case SG_STOREACTION_DONTCARE: igText(" SG_STOREACTION_DONTCARE"); break; default: igText(" ???"); break; } } _SOKOL_PRIVATE void _sgimgui_draw_swapchain_panel(sg_swapchain* swapchain) { igText("Swapchain"); igText(" Width: %d", swapchain->width); igText(" Height: %d", swapchain->height); igText(" Sample Count: %d", swapchain->sample_count); igText(" Color Format: %s", _sgimgui_pixelformat_string(swapchain->color_format)); igText(" Depth Format: %s", _sgimgui_pixelformat_string(swapchain->depth_format)); igSeparator(); switch (sg_query_backend()) { case SG_BACKEND_D3D11: igText("D3D11 Objects:"); igText(" Render View: %p", swapchain->d3d11.render_view); igText(" Resolve View: %p", swapchain->d3d11.resolve_view); igText(" Depth Stencil View: %p", swapchain->d3d11.depth_stencil_view); break; case SG_BACKEND_WGPU: igText("WGPU Objects:"); igText(" Render View: %p", swapchain->wgpu.render_view); igText(" Resolve View: %p", swapchain->wgpu.resolve_view); igText(" Depth Stencil View: %p", swapchain->wgpu.depth_stencil_view); break; case SG_BACKEND_METAL_MACOS: case SG_BACKEND_METAL_IOS: case SG_BACKEND_METAL_SIMULATOR: igText("Metal Objects:"); igText(" Current Drawable: %p", swapchain->metal.current_drawable); igText(" Depth Stencil Texture: %p", swapchain->metal.depth_stencil_texture); igText(" MSAA Color Texture: %p", swapchain->metal.msaa_color_texture); break; case SG_BACKEND_GLCORE: case SG_BACKEND_GLES3: igText("GL Objects:"); igText(" Framebuffer: %d", swapchain->gl.framebuffer); break; default: igText(" UNKNOWN BACKEND!"); break; } } _SOKOL_PRIVATE void _sgimgui_draw_capture_panel(sgimgui_t* ctx) { int sel_item_index = ctx->capture_window.sel_item; if (sel_item_index >= _sgimgui_capture_num_read_items(ctx)) { return; } sgimgui_capture_item_t* item = _sgimgui_capture_read_item_at(ctx, sel_item_index); igBeginChild_Str("capture_item", IMVEC2(0, 0), false, 0); igPushStyleColor_U32(ImGuiCol_Text, item->color); igText("%s", _sgimgui_capture_item_string(ctx, sel_item_index, item).buf); igPopStyleColor(1); igSeparator(); switch (item->cmd) { case SGIMGUI_CMD_RESET_STATE_CACHE: break; case SGIMGUI_CMD_MAKE_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.make_buffer.result); break; case SGIMGUI_CMD_MAKE_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.make_image.result); break; case SGIMGUI_CMD_MAKE_SAMPLER: _sgimgui_draw_sampler_panel(ctx, item->args.make_sampler.result); break; case SGIMGUI_CMD_MAKE_SHADER: _sgimgui_draw_shader_panel(ctx, item->args.make_shader.result); break; case SGIMGUI_CMD_MAKE_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.make_pipeline.result); break; case SGIMGUI_CMD_MAKE_ATTACHMENTS: _sgimgui_draw_attachments_panel(ctx, item->args.make_attachments.result); break; case SGIMGUI_CMD_DESTROY_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.destroy_buffer.buffer); break; case SGIMGUI_CMD_DESTROY_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.destroy_image.image); break; case SGIMGUI_CMD_DESTROY_SAMPLER: _sgimgui_draw_sampler_panel(ctx, item->args.destroy_sampler.sampler); break; case SGIMGUI_CMD_DESTROY_SHADER: _sgimgui_draw_shader_panel(ctx, item->args.destroy_shader.shader); break; case SGIMGUI_CMD_DESTROY_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.destroy_pipeline.pipeline); break; case SGIMGUI_CMD_DESTROY_ATTACHMENTS: _sgimgui_draw_attachments_panel(ctx, item->args.destroy_attachments.attachments); break; case SGIMGUI_CMD_UPDATE_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.update_buffer.buffer); break; case SGIMGUI_CMD_UPDATE_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.update_image.image); break; case SGIMGUI_CMD_APPEND_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.update_buffer.buffer); break; case SGIMGUI_CMD_BEGIN_PASS: _sgimgui_draw_passaction_panel(ctx, item->args.begin_pass.pass.attachments, &item->args.begin_pass.pass.action); igSeparator(); if (item->args.begin_pass.pass.attachments.id != SG_INVALID_ID) { _sgimgui_draw_attachments_panel(ctx, item->args.begin_pass.pass.attachments); } else { _sgimgui_draw_swapchain_panel(&item->args.begin_pass.pass.swapchain); } break; case SGIMGUI_CMD_APPLY_VIEWPORT: case SGIMGUI_CMD_APPLY_SCISSOR_RECT: break; case SGIMGUI_CMD_APPLY_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.apply_pipeline.pipeline); break; case SGIMGUI_CMD_APPLY_BINDINGS: _sgimgui_draw_bindings_panel(ctx, &item->args.apply_bindings.bindings); break; case SGIMGUI_CMD_APPLY_UNIFORMS: _sgimgui_draw_uniforms_panel(ctx, &item->args.apply_uniforms); break; case SGIMGUI_CMD_DRAW: case SGIMGUI_CMD_END_PASS: case SGIMGUI_CMD_COMMIT: break; case SGIMGUI_CMD_ALLOC_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.alloc_buffer.result); break; case SGIMGUI_CMD_ALLOC_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.alloc_image.result); break; case SGIMGUI_CMD_ALLOC_SAMPLER: _sgimgui_draw_sampler_panel(ctx, item->args.alloc_sampler.result); break; case SGIMGUI_CMD_ALLOC_SHADER: _sgimgui_draw_shader_panel(ctx, item->args.alloc_shader.result); break; case SGIMGUI_CMD_ALLOC_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.alloc_pipeline.result); break; case SGIMGUI_CMD_ALLOC_ATTACHMENTS: _sgimgui_draw_attachments_panel(ctx, item->args.alloc_attachments.result); break; case SGIMGUI_CMD_INIT_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.init_buffer.buffer); break; case SGIMGUI_CMD_INIT_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.init_image.image); break; case SGIMGUI_CMD_INIT_SAMPLER: _sgimgui_draw_sampler_panel(ctx, item->args.init_sampler.sampler); break; case SGIMGUI_CMD_INIT_SHADER: _sgimgui_draw_shader_panel(ctx, item->args.init_shader.shader); break; case SGIMGUI_CMD_INIT_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.init_pipeline.pipeline); break; case SGIMGUI_CMD_INIT_ATTACHMENTS: _sgimgui_draw_attachments_panel(ctx, item->args.init_attachments.attachments); break; case SGIMGUI_CMD_FAIL_BUFFER: _sgimgui_draw_buffer_panel(ctx, item->args.fail_buffer.buffer); break; case SGIMGUI_CMD_FAIL_IMAGE: _sgimgui_draw_image_panel(ctx, item->args.fail_image.image); break; case SGIMGUI_CMD_FAIL_SAMPLER: _sgimgui_draw_sampler_panel(ctx, item->args.fail_sampler.sampler); break; case SGIMGUI_CMD_FAIL_SHADER: _sgimgui_draw_shader_panel(ctx, item->args.fail_shader.shader); break; case SGIMGUI_CMD_FAIL_PIPELINE: _sgimgui_draw_pipeline_panel(ctx, item->args.fail_pipeline.pipeline); break; case SGIMGUI_CMD_FAIL_ATTACHMENTS: _sgimgui_draw_attachments_panel(ctx, item->args.fail_attachments.attachments); break; default: break; } igEndChild(); } _SOKOL_PRIVATE void _sgimgui_draw_caps_panel(void) { igText("Backend: %s\n\n", _sgimgui_backend_string(sg_query_backend())); sg_features f = sg_query_features(); igText("Features:"); igText(" origin_top_left: %s", _sgimgui_bool_string(f.origin_top_left)); igText(" image_clamp_to_border: %s", _sgimgui_bool_string(f.image_clamp_to_border)); igText(" mrt_independent_blend_state: %s", _sgimgui_bool_string(f.mrt_independent_blend_state)); igText(" mrt_independent_write_mask: %s", _sgimgui_bool_string(f.mrt_independent_write_mask)); igText(" storage_buffer: %s", _sgimgui_bool_string(f.storage_buffer)); sg_limits l = sg_query_limits(); igText("\nLimits:\n"); igText(" max_image_size_2d: %d", l.max_image_size_2d); igText(" max_image_size_cube: %d", l.max_image_size_cube); igText(" max_image_size_3d: %d", l.max_image_size_3d); igText(" max_image_size_array: %d", l.max_image_size_array); igText(" max_image_array_layers: %d", l.max_image_array_layers); igText(" max_vertex_attrs: %d", l.max_vertex_attrs); igText(" gl_max_vertex_uniform_components: %d", l.gl_max_vertex_uniform_components); igText(" gl_max_combined_texture_image_units: %d", l.gl_max_combined_texture_image_units); igText("\nUsable Pixelformats:"); for (int i = (int)(SG_PIXELFORMAT_NONE+1); i < (int)_SG_PIXELFORMAT_NUM; i++) { sg_pixel_format fmt = (sg_pixel_format)i; sg_pixelformat_info info = sg_query_pixelformat(fmt); if (info.sample) { igText(" %s: %s%s%s%s%s%s", _sgimgui_pixelformat_string(fmt), info.sample ? "SAMPLE ":"", info.filter ? "FILTER ":"", info.blend ? "BLEND ":"", info.render ? "RENDER ":"", info.msaa ? "MSAA ":"", info.depth ? "DEPTH ":""); } } } _SOKOL_PRIVATE void _sgimgui_frame_add_stats_row(const char* key, uint32_t value) { igTableNextRow(0, 0.0f); igTableSetColumnIndex(0); igText(key); igTableSetColumnIndex(1); igText("%d", value); } #define _sgimgui_frame_stats(key) _sgimgui_frame_add_stats_row(#key, stats->key) _SOKOL_PRIVATE void _sgimgui_draw_frame_stats_panel(sgimgui_t* ctx) { _SOKOL_UNUSED(ctx); igCheckbox("Ignore sokol_imgui.h", &ctx->frame_stats_window.disable_sokol_imgui_stats); const sg_frame_stats* stats = &ctx->frame_stats_window.stats; const ImGuiTableFlags flags = ImGuiTableFlags_Resizable | ImGuiTableFlags_ScrollY | ImGuiTableFlags_SizingFixedFit | ImGuiTableFlags_Borders; if (igBeginTable("##frame_stats_table", 2, flags, IMVEC2(0, 0), 0)) { igTableSetupScrollFreeze(0, 1); igTableSetupColumn("key", ImGuiTableColumnFlags_None, 0, 0); igTableSetupColumn("value", ImGuiTableColumnFlags_None, 0, 0); igTableHeadersRow(); _sgimgui_frame_stats(frame_index); _sgimgui_frame_stats(num_passes); _sgimgui_frame_stats(num_apply_viewport); _sgimgui_frame_stats(num_apply_scissor_rect); _sgimgui_frame_stats(num_apply_pipeline); _sgimgui_frame_stats(num_apply_bindings); _sgimgui_frame_stats(num_apply_uniforms); _sgimgui_frame_stats(num_draw); _sgimgui_frame_stats(num_update_buffer); _sgimgui_frame_stats(num_append_buffer); _sgimgui_frame_stats(num_update_image); _sgimgui_frame_stats(size_apply_uniforms); _sgimgui_frame_stats(size_update_buffer); _sgimgui_frame_stats(size_append_buffer); _sgimgui_frame_stats(size_update_image); switch (sg_query_backend()) { case SG_BACKEND_GLCORE: case SG_BACKEND_GLES3: _sgimgui_frame_stats(gl.num_bind_buffer); _sgimgui_frame_stats(gl.num_active_texture); _sgimgui_frame_stats(gl.num_bind_texture); _sgimgui_frame_stats(gl.num_bind_sampler); _sgimgui_frame_stats(gl.num_use_program); _sgimgui_frame_stats(gl.num_render_state); _sgimgui_frame_stats(gl.num_vertex_attrib_pointer); _sgimgui_frame_stats(gl.num_vertex_attrib_divisor); _sgimgui_frame_stats(gl.num_enable_vertex_attrib_array); _sgimgui_frame_stats(gl.num_disable_vertex_attrib_array); _sgimgui_frame_stats(gl.num_uniform); break; case SG_BACKEND_WGPU: _sgimgui_frame_stats(wgpu.uniforms.num_set_bindgroup); _sgimgui_frame_stats(wgpu.uniforms.size_write_buffer); _sgimgui_frame_stats(wgpu.bindings.num_set_vertex_buffer); _sgimgui_frame_stats(wgpu.bindings.num_skip_redundant_vertex_buffer); _sgimgui_frame_stats(wgpu.bindings.num_set_index_buffer); _sgimgui_frame_stats(wgpu.bindings.num_skip_redundant_index_buffer); _sgimgui_frame_stats(wgpu.bindings.num_create_bindgroup); _sgimgui_frame_stats(wgpu.bindings.num_discard_bindgroup); _sgimgui_frame_stats(wgpu.bindings.num_set_bindgroup); _sgimgui_frame_stats(wgpu.bindings.num_skip_redundant_bindgroup); _sgimgui_frame_stats(wgpu.bindings.num_bindgroup_cache_hits); _sgimgui_frame_stats(wgpu.bindings.num_bindgroup_cache_misses); _sgimgui_frame_stats(wgpu.bindings.num_bindgroup_cache_collisions); _sgimgui_frame_stats(wgpu.bindings.num_bindgroup_cache_invalidates); _sgimgui_frame_stats(wgpu.bindings.num_bindgroup_cache_hash_vs_key_mismatch); break; case SG_BACKEND_METAL_MACOS: case SG_BACKEND_METAL_IOS: case SG_BACKEND_METAL_SIMULATOR: _sgimgui_frame_stats(metal.idpool.num_added); _sgimgui_frame_stats(metal.idpool.num_released); _sgimgui_frame_stats(metal.idpool.num_garbage_collected); _sgimgui_frame_stats(metal.pipeline.num_set_blend_color); _sgimgui_frame_stats(metal.pipeline.num_set_cull_mode); _sgimgui_frame_stats(metal.pipeline.num_set_front_facing_winding); _sgimgui_frame_stats(metal.pipeline.num_set_stencil_reference_value); _sgimgui_frame_stats(metal.pipeline.num_set_depth_bias); _sgimgui_frame_stats(metal.pipeline.num_set_render_pipeline_state); _sgimgui_frame_stats(metal.pipeline.num_set_depth_stencil_state); _sgimgui_frame_stats(metal.bindings.num_set_vertex_buffer); _sgimgui_frame_stats(metal.bindings.num_set_vertex_texture); _sgimgui_frame_stats(metal.bindings.num_set_vertex_sampler_state); _sgimgui_frame_stats(metal.bindings.num_set_fragment_buffer); _sgimgui_frame_stats(metal.bindings.num_set_fragment_texture); _sgimgui_frame_stats(metal.bindings.num_set_fragment_sampler_state); _sgimgui_frame_stats(metal.uniforms.num_set_vertex_buffer_offset); _sgimgui_frame_stats(metal.uniforms.num_set_fragment_buffer_offset); break; case SG_BACKEND_D3D11: _sgimgui_frame_stats(d3d11.pass.num_om_set_render_targets); _sgimgui_frame_stats(d3d11.pass.num_clear_render_target_view); _sgimgui_frame_stats(d3d11.pass.num_clear_depth_stencil_view); _sgimgui_frame_stats(d3d11.pass.num_resolve_subresource); _sgimgui_frame_stats(d3d11.pipeline.num_rs_set_state); _sgimgui_frame_stats(d3d11.pipeline.num_om_set_depth_stencil_state); _sgimgui_frame_stats(d3d11.pipeline.num_om_set_blend_state); _sgimgui_frame_stats(d3d11.pipeline.num_ia_set_primitive_topology); _sgimgui_frame_stats(d3d11.pipeline.num_ia_set_input_layout); _sgimgui_frame_stats(d3d11.pipeline.num_vs_set_shader); _sgimgui_frame_stats(d3d11.pipeline.num_vs_set_constant_buffers); _sgimgui_frame_stats(d3d11.pipeline.num_ps_set_shader); _sgimgui_frame_stats(d3d11.pipeline.num_ps_set_constant_buffers); _sgimgui_frame_stats(d3d11.bindings.num_ia_set_vertex_buffers); _sgimgui_frame_stats(d3d11.bindings.num_ia_set_index_buffer); _sgimgui_frame_stats(d3d11.bindings.num_vs_set_shader_resources); _sgimgui_frame_stats(d3d11.bindings.num_ps_set_shader_resources); _sgimgui_frame_stats(d3d11.bindings.num_vs_set_samplers); _sgimgui_frame_stats(d3d11.bindings.num_ps_set_samplers); _sgimgui_frame_stats(d3d11.uniforms.num_update_subresource); _sgimgui_frame_stats(d3d11.draw.num_draw_indexed_instanced); _sgimgui_frame_stats(d3d11.draw.num_draw_indexed); _sgimgui_frame_stats(d3d11.draw.num_draw_instanced); _sgimgui_frame_stats(d3d11.draw.num_draw); _sgimgui_frame_stats(d3d11.num_map); _sgimgui_frame_stats(d3d11.num_unmap); break; default: break; } igEndTable(); } } #define _sgimgui_def(val, def) (((val) == 0) ? (def) : (val)) _SOKOL_PRIVATE sgimgui_desc_t _sgimgui_desc_defaults(const sgimgui_desc_t* desc) { SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); sgimgui_desc_t res = *desc; // FIXME: any additional default overrides would go here return res; } /*--- PUBLIC FUNCTIONS -------------------------------------------------------*/ SOKOL_API_IMPL void sgimgui_init(sgimgui_t* ctx, const sgimgui_desc_t* desc) { SOKOL_ASSERT(ctx && desc); _sgimgui_clear(ctx, sizeof(sgimgui_t)); ctx->init_tag = 0xABCDABCD; ctx->desc = _sgimgui_desc_defaults(desc); _sgimgui_capture_init(ctx); /* hook into sokol_gfx functions */ sg_trace_hooks hooks; _sgimgui_clear(&hooks, sizeof(hooks)); hooks.user_data = (void*) ctx; hooks.reset_state_cache = _sgimgui_reset_state_cache; hooks.make_buffer = _sgimgui_make_buffer; hooks.make_image = _sgimgui_make_image; hooks.make_sampler = _sgimgui_make_sampler; hooks.make_shader = _sgimgui_make_shader; hooks.make_pipeline = _sgimgui_make_pipeline; hooks.make_attachments = _sgimgui_make_attachments; hooks.destroy_buffer = _sgimgui_destroy_buffer; hooks.destroy_image = _sgimgui_destroy_image; hooks.destroy_sampler = _sgimgui_destroy_sampler; hooks.destroy_shader = _sgimgui_destroy_shader; hooks.destroy_pipeline = _sgimgui_destroy_pipeline; hooks.destroy_attachments = _sgimgui_destroy_attachments; hooks.update_buffer = _sgimgui_update_buffer; hooks.update_image = _sgimgui_update_image; hooks.append_buffer = _sgimgui_append_buffer; hooks.begin_pass = _sgimgui_begin_pass; hooks.apply_viewport = _sgimgui_apply_viewport; hooks.apply_scissor_rect = _sgimgui_apply_scissor_rect; hooks.apply_pipeline = _sgimgui_apply_pipeline; hooks.apply_bindings = _sgimgui_apply_bindings; hooks.apply_uniforms = _sgimgui_apply_uniforms; hooks.draw = _sgimgui_draw; hooks.end_pass = _sgimgui_end_pass; hooks.commit = _sgimgui_commit; hooks.alloc_buffer = _sgimgui_alloc_buffer; hooks.alloc_image = _sgimgui_alloc_image; hooks.alloc_sampler = _sgimgui_alloc_sampler; hooks.alloc_shader = _sgimgui_alloc_shader; hooks.alloc_pipeline = _sgimgui_alloc_pipeline; hooks.alloc_attachments = _sgimgui_alloc_attachments; hooks.dealloc_buffer = _sgimgui_dealloc_buffer; hooks.dealloc_image = _sgimgui_dealloc_image; hooks.dealloc_sampler = _sgimgui_dealloc_sampler; hooks.dealloc_shader = _sgimgui_dealloc_shader; hooks.dealloc_pipeline = _sgimgui_dealloc_pipeline; hooks.dealloc_attachments = _sgimgui_dealloc_attachments; hooks.init_buffer = _sgimgui_init_buffer; hooks.init_image = _sgimgui_init_image; hooks.init_sampler = _sgimgui_init_sampler; hooks.init_shader = _sgimgui_init_shader; hooks.init_pipeline = _sgimgui_init_pipeline; hooks.init_attachments = _sgimgui_init_attachments; hooks.uninit_buffer = _sgimgui_uninit_buffer; hooks.uninit_image = _sgimgui_uninit_image; hooks.uninit_sampler = _sgimgui_uninit_sampler; hooks.uninit_shader = _sgimgui_uninit_shader; hooks.uninit_pipeline = _sgimgui_uninit_pipeline; hooks.uninit_attachments = _sgimgui_uninit_attachments; hooks.fail_buffer = _sgimgui_fail_buffer; hooks.fail_image = _sgimgui_fail_image; hooks.fail_sampler = _sgimgui_fail_sampler; hooks.fail_shader = _sgimgui_fail_shader; hooks.fail_pipeline = _sgimgui_fail_pipeline; hooks.fail_attachments = _sgimgui_fail_attachments; hooks.push_debug_group = _sgimgui_push_debug_group; hooks.pop_debug_group = _sgimgui_pop_debug_group; ctx->hooks = sg_install_trace_hooks(&hooks); /* allocate resource debug-info slots */ const sg_desc sgdesc = sg_query_desc(); ctx->buffer_window.num_slots = sgdesc.buffer_pool_size; ctx->image_window.num_slots = sgdesc.image_pool_size; ctx->sampler_window.num_slots = sgdesc.sampler_pool_size; ctx->shader_window.num_slots = sgdesc.shader_pool_size; ctx->pipeline_window.num_slots = sgdesc.pipeline_pool_size; ctx->attachments_window.num_slots = sgdesc.attachments_pool_size; const size_t buffer_pool_size = (size_t)ctx->buffer_window.num_slots * sizeof(sgimgui_buffer_t); ctx->buffer_window.slots = (sgimgui_buffer_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, buffer_pool_size); const size_t image_pool_size = (size_t)ctx->image_window.num_slots * sizeof(sgimgui_image_t); ctx->image_window.slots = (sgimgui_image_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, image_pool_size); const size_t sampler_pool_size = (size_t)ctx->sampler_window.num_slots * sizeof(sgimgui_sampler_t); ctx->sampler_window.slots = (sgimgui_sampler_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, sampler_pool_size); const size_t shader_pool_size = (size_t)ctx->shader_window.num_slots * sizeof(sgimgui_shader_t); ctx->shader_window.slots = (sgimgui_shader_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, shader_pool_size); const size_t pipeline_pool_size = (size_t)ctx->pipeline_window.num_slots * sizeof(sgimgui_pipeline_t); ctx->pipeline_window.slots = (sgimgui_pipeline_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, pipeline_pool_size); const size_t attachments_pool_size = (size_t)ctx->attachments_window.num_slots * sizeof(sgimgui_attachments_t); ctx->attachments_window.slots = (sgimgui_attachments_t*) _sgimgui_malloc_clear(&ctx->desc.allocator, attachments_pool_size); } SOKOL_API_IMPL void sgimgui_discard(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); /* restore original trace hooks */ sg_install_trace_hooks(&ctx->hooks); ctx->init_tag = 0; _sgimgui_capture_discard(ctx); if (ctx->buffer_window.slots) { for (int i = 0; i < ctx->buffer_window.num_slots; i++) { if (ctx->buffer_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_buffer_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->buffer_window.slots); ctx->buffer_window.slots = 0; } if (ctx->image_window.slots) { for (int i = 0; i < ctx->image_window.num_slots; i++) { if (ctx->image_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_image_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->image_window.slots); ctx->image_window.slots = 0; } if (ctx->sampler_window.slots) { for (int i = 0; i < ctx->sampler_window.num_slots; i++) { if (ctx->sampler_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_sampler_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->sampler_window.slots); ctx->sampler_window.slots = 0; } if (ctx->shader_window.slots) { for (int i = 0; i < ctx->shader_window.num_slots; i++) { if (ctx->shader_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_shader_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->shader_window.slots); ctx->shader_window.slots = 0; } if (ctx->pipeline_window.slots) { for (int i = 0; i < ctx->pipeline_window.num_slots; i++) { if (ctx->pipeline_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_pipeline_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->pipeline_window.slots); ctx->pipeline_window.slots = 0; } if (ctx->attachments_window.slots) { for (int i = 0; i < ctx->attachments_window.num_slots; i++) { if (ctx->attachments_window.slots[i].res_id.id != SG_INVALID_ID) { _sgimgui_attachments_destroyed(ctx, i); } } _sgimgui_free(&ctx->desc.allocator, (void*)ctx->attachments_window.slots); ctx->attachments_window.slots = 0; } } SOKOL_API_IMPL void sgimgui_draw(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); sgimgui_draw_buffer_window(ctx); sgimgui_draw_image_window(ctx); sgimgui_draw_sampler_window(ctx); sgimgui_draw_shader_window(ctx); sgimgui_draw_pipeline_window(ctx); sgimgui_draw_attachments_window(ctx); sgimgui_draw_capture_window(ctx); sgimgui_draw_capabilities_window(ctx); sgimgui_draw_frame_stats_window(ctx); } SOKOL_API_IMPL void sgimgui_draw_menu(sgimgui_t* ctx, const char* title) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); SOKOL_ASSERT(title); if (igBeginMenu(title, true)) { igMenuItem_BoolPtr("Capabilities", 0, &ctx->caps_window.open, true); igMenuItem_BoolPtr("Frame Stats", 0, &ctx->frame_stats_window.open, true); igMenuItem_BoolPtr("Buffers", 0, &ctx->buffer_window.open, true); igMenuItem_BoolPtr("Images", 0, &ctx->image_window.open, true); igMenuItem_BoolPtr("Samplers", 0, &ctx->sampler_window.open, true); igMenuItem_BoolPtr("Shaders", 0, &ctx->shader_window.open, true); igMenuItem_BoolPtr("Pipelines", 0, &ctx->pipeline_window.open, true); igMenuItem_BoolPtr("Attachments", 0, &ctx->attachments_window.open, true); igMenuItem_BoolPtr("Calls", 0, &ctx->capture_window.open, true); igEndMenu(); } } SOKOL_API_IMPL void sgimgui_draw_buffer_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->buffer_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 280), ImGuiCond_Once); if (igBegin("Buffers", &ctx->buffer_window.open, 0)) { sgimgui_draw_buffer_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_image_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->image_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 400), ImGuiCond_Once); if (igBegin("Images", &ctx->image_window.open, 0)) { sgimgui_draw_image_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_sampler_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->sampler_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 400), ImGuiCond_Once); if (igBegin("Samplers", &ctx->sampler_window.open, 0)) { sgimgui_draw_sampler_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_shader_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->shader_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 400), ImGuiCond_Once); if (igBegin("Shaders", &ctx->shader_window.open, 0)) { sgimgui_draw_shader_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_pipeline_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->pipeline_window.open) { return; } igSetNextWindowSize(IMVEC2(540, 400), ImGuiCond_Once); if (igBegin("Pipelines", &ctx->pipeline_window.open, 0)) { sgimgui_draw_pipeline_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_attachments_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->attachments_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 400), ImGuiCond_Once); if (igBegin("Attachments", &ctx->attachments_window.open, 0)) { sgimgui_draw_attachments_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_capture_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->capture_window.open) { return; } igSetNextWindowSize(IMVEC2(640, 400), ImGuiCond_Once); if (igBegin("Frame Capture", &ctx->capture_window.open, 0)) { sgimgui_draw_capture_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_capabilities_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->caps_window.open) { return; } igSetNextWindowSize(IMVEC2(440, 400), ImGuiCond_Once); if (igBegin("Capabilities", &ctx->caps_window.open, 0)) { sgimgui_draw_capabilities_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_frame_stats_window(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); if (!ctx->frame_stats_window.open) { return; } igSetNextWindowSize(IMVEC2(512, 400), ImGuiCond_Once); if (igBegin("Frame Stats", &ctx->frame_stats_window.open, 0)) { sgimgui_draw_frame_stats_window_content(ctx); } igEnd(); } SOKOL_API_IMPL void sgimgui_draw_buffer_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_buffer_list(ctx); igSameLine(0,-1); _sgimgui_draw_buffer_panel(ctx, ctx->buffer_window.sel_buf); } SOKOL_API_IMPL void sgimgui_draw_image_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_image_list(ctx); igSameLine(0,-1); _sgimgui_draw_image_panel(ctx, ctx->image_window.sel_img); } SOKOL_API_IMPL void sgimgui_draw_sampler_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_sampler_list(ctx); igSameLine(0,-1); _sgimgui_draw_sampler_panel(ctx, ctx->sampler_window.sel_smp); } SOKOL_API_IMPL void sgimgui_draw_shader_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_shader_list(ctx); igSameLine(0,-1); _sgimgui_draw_shader_panel(ctx, ctx->shader_window.sel_shd); } SOKOL_API_IMPL void sgimgui_draw_pipeline_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_pipeline_list(ctx); igSameLine(0,-1); _sgimgui_draw_pipeline_panel(ctx, ctx->pipeline_window.sel_pip); } SOKOL_API_IMPL void sgimgui_draw_attachments_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_attachments_list(ctx); igSameLine(0,-1); _sgimgui_draw_attachments_panel(ctx, ctx->attachments_window.sel_atts); } SOKOL_API_IMPL void sgimgui_draw_capture_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _sgimgui_draw_capture_list(ctx); igSameLine(0,-1); _sgimgui_draw_capture_panel(ctx); } SOKOL_API_IMPL void sgimgui_draw_capabilities_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); _SOKOL_UNUSED(ctx); _sgimgui_draw_caps_panel(); } SOKOL_API_IMPL void sgimgui_draw_frame_stats_window_content(sgimgui_t* ctx) { SOKOL_ASSERT(ctx && (ctx->init_tag == 0xABCDABCD)); ctx->frame_stats_window.stats = sg_query_frame_stats(); _sgimgui_draw_frame_stats_panel(ctx); } #endif /* SOKOL_GFX_IMGUI_IMPL */
0
repos/sokol
repos/sokol/util/gen_sokol_color.py
#------------------------------------------------------------------------------- # Generate the sokol_color.h header from a predefined palette #------------------------------------------------------------------------------- # LICENSE # ======= # # zlib/libpng license # # Copyright (c) 2020 Stuart Adams # # This software is provided 'as-is', without any express or implied warranty. # In no event will the authors be held liable for any damages arising from the # use of this software. # # Permission is granted to anyone to use this software for any purpose, # including commercial applications, and to alter it and redistribute it # freely, subject to the following restrictions: # # 1. The origin of this software must not be misrepresented; you must not # claim that you wrote the original software. If you use this software in a # product, an acknowledgment in the product documentation would be # appreciated but is not required. # # 2. Altered source versions must be plainly marked as such, and must not # be misrepresented as being the original software. # # 3. This notice may not be removed or altered from any source # distribution. colors = [ ("Alice Blue", 0xF0F8FFFF), ("Antique White", 0xFAEBD7FF), ("Aqua", 0x00FFFFFF), ("Aquamarine", 0x7FFFD4FF), ("Azure", 0xF0FFFFFF), ("Beige", 0xF5F5DCFF), ("Bisque", 0xFFE4C4FF), ("Black", 0x000000FF), ("Blanched Almond", 0xFFEBCDFF), ("Blue", 0x0000FFFF), ("Blue Violet", 0x8A2BE2FF), ("Brown", 0xA52A2AFF), ("Burlywood", 0xDEB887FF), ("Cadet Blue", 0x5F9EA0FF), ("Chartreuse", 0x7FFF00FF), ("Chocolate", 0xD2691EFF), ("Coral", 0xFF7F50FF), ("Cornflower Blue", 0x6495EDFF), ("Cornsilk", 0xFFF8DCFF), ("Crimson", 0xDC143CFF), ("Cyan", 0x00FFFFFF), ("Dark Blue", 0x00008BFF), ("Dark Cyan", 0x008B8BFF), ("Dark Goldenrod", 0xB8860BFF), ("Dark Gray", 0xA9A9A9FF), ("Dark Green", 0x006400FF), ("Dark Khaki", 0xBDB76BFF), ("Dark Magenta", 0x8B008BFF), ("Dark Olive Green", 0x556B2FFF), ("Dark Orange", 0xFF8C00FF), ("Dark Orchid", 0x9932CCFF), ("Dark Red", 0x8B0000FF), ("Dark Salmon", 0xE9967AFF), ("Dark Sea Green", 0x8FBC8FFF), ("Dark Slate Blue", 0x483D8BFF), ("Dark Slate Gray", 0x2F4F4FFF), ("Dark Turquoise", 0x00CED1FF), ("Dark Violet", 0x9400D3FF), ("Deep Pink", 0xFF1493FF), ("Deep Sky Blue", 0x00BFFFFF), ("Dim Gray", 0x696969FF), ("Dodger Blue", 0x1E90FFFF), ("Firebrick", 0xB22222FF), ("Floral White", 0xFFFAF0FF), ("Forest Green", 0x228B22FF), ("Fuchsia", 0xFF00FFFF), ("Gainsboro", 0xDCDCDCFF), ("Ghost White", 0xF8F8FFFF), ("Gold", 0xFFD700FF), ("Goldenrod", 0xDAA520FF), ("Gray", 0xBEBEBEFF), ("Web Gray", 0x808080FF), ("Green", 0x00FF00FF), ("Web Green", 0x008000FF), ("Green Yellow", 0xADFF2FFF), ("Honeydew", 0xF0FFF0FF), ("Hot Pink", 0xFF69B4FF), ("Indian Red", 0xCD5C5CFF), ("Indigo", 0x4B0082FF), ("Ivory", 0xFFFFF0FF), ("Khaki", 0xF0E68CFF), ("Lavender", 0xE6E6FAFF), ("Lavender Blush", 0xFFF0F5FF), ("Lawn Green", 0x7CFC00FF), ("Lemon Chiffon", 0xFFFACDFF), ("Light Blue", 0xADD8E6FF), ("Light Coral", 0xF08080FF), ("Light Cyan", 0xE0FFFFFF), ("Light Goldenrod", 0xFAFAD2FF), ("Light Gray", 0xD3D3D3FF), ("Light Green", 0x90EE90FF), ("Light Pink", 0xFFB6C1FF), ("Light Salmon", 0xFFA07AFF), ("Light Sea Green", 0x20B2AAFF), ("Light Sky Blue", 0x87CEFAFF), ("Light Slate Gray", 0x778899FF), ("Light Steel Blue", 0xB0C4DEFF), ("Light Yellow", 0xFFFFE0FF), ("Lime", 0x00FF00FF), ("Lime Green", 0x32CD32FF), ("Linen", 0xFAF0E6FF), ("Magenta", 0xFF00FFFF), ("Maroon", 0xB03060FF), ("Web Maroon", 0x800000FF), ("Medium Aquamarine", 0x66CDAAFF), ("Medium Blue", 0x0000CDFF), ("Medium Orchid", 0xBA55D3FF), ("Medium Purple", 0x9370DBFF), ("Medium Sea Green", 0x3CB371FF), ("Medium Slate Blue", 0x7B68EEFF), ("Medium Spring Green", 0x00FA9AFF), ("Medium Turquoise", 0x48D1CCFF), ("Medium Violet Red", 0xC71585FF), ("Midnight Blue", 0x191970FF), ("Mint Cream", 0xF5FFFAFF), ("Misty Rose", 0xFFE4E1FF), ("Moccasin", 0xFFE4B5FF), ("Navajo White", 0xFFDEADFF), ("Navy Blue", 0x000080FF), ("Old Lace", 0xFDF5E6FF), ("Olive", 0x808000FF), ("Olive Drab", 0x6B8E23FF), ("Orange", 0xFFA500FF), ("Orange Red", 0xFF4500FF), ("Orchid", 0xDA70D6FF), ("Pale Goldenrod", 0xEEE8AAFF), ("Pale Green", 0x98FB98FF), ("Pale Turquoise", 0xAFEEEEFF), ("Pale Violet Red", 0xDB7093FF), ("Papaya Whip", 0xFFEFD5FF), ("Peach Puff", 0xFFDAB9FF), ("Peru", 0xCD853FFF), ("Pink", 0xFFC0CBFF), ("Plum", 0xDDA0DDFF), ("Powder Blue", 0xB0E0E6FF), ("Purple", 0xA020F0FF), ("Web Purple", 0x800080FF), ("Rebecca Purple", 0x663399FF), ("Red", 0xFF0000FF), ("Rosy Brown", 0xBC8F8FFF), ("Royal Blue", 0x4169E1FF), ("Saddle Brown", 0x8B4513FF), ("Salmon", 0xFA8072FF), ("Sandy Brown", 0xF4A460FF), ("Sea Green", 0x2E8B57FF), ("Seashell", 0xFFF5EEFF), ("Sienna", 0xA0522DFF), ("Silver", 0xC0C0C0FF), ("Sky Blue", 0x87CEEBFF), ("Slate Blue", 0x6A5ACDFF), ("Slate Gray", 0x708090FF), ("Snow", 0xFFFAFAFF), ("Spring Green", 0x00FF7FFF), ("Steel Blue", 0x4682B4FF), ("Tan", 0xD2B48CFF), ("Teal", 0x008080FF), ("Thistle", 0xD8BFD8FF), ("Tomato", 0xFF6347FF), ("Transparent", 0x00000000), ("Turquoise", 0x40E0D0FF), ("Violet", 0xEE82EEFF), ("Wheat", 0xF5DEB3FF), ("White", 0xFFFFFFFF), ("White Smoke", 0xF5F5F5FF), ("Yellow", 0xFFFF00FF), ("Yellow Green", 0x9ACD32FF) ] header = open("sokol_color.h", "w") header.write("""#if defined(SOKOL_IMPL) && !defined(SOKOL_COLOR_IMPL) #define SOKOL_COLOR_IMPL #endif #ifndef SOKOL_COLOR_INCLUDED /* sokol_color.h -- sg_color utilities This header was generated by gen_sokol_color.py. Do not modify it. Project URL: https://github.com/floooh/sokol Include the following headers before including sokol_color.h: sokol_gfx.h FEATURE OVERVIEW ================ sokol_color.h defines preset colors based on the X11 color names, alongside utility functions to create and modify sg_color objects. The predefined colors are based on the X11 color names: https://en.wikipedia.org/wiki/X11_color_names This palette is useful for prototyping - lots of programmers are familiar with these colours due to their use in X11, web development and XNA / MonoGame. They are also handy when you want to reference a familiar color, but don't want to write it out by hand. COLORS ====== The palette is defined using static const (or constexpr if you are using a C++ compiler) objects. These objects use lowercase names: static SOKOL_COLOR_CONSTEXPR sg_color sg_red = SG_RED; static SOKOL_COLOR_CONSTEXPR sg_color sg_green = SG_GREEN; static SOKOL_COLOR_CONSTEXPR sg_color sg_blue = SG_BLUE; An sg_color preset object like sg_red can be used to initialize an sg_pass_action: sg_pass_action pass_action = { .colors[0] = { .action=SG_ACTION_CLEAR, .value = sg_red } }; Initializing an object with static storage duration is more complicated because of C language rules. Technically, a static const is not a compile-time constant in C. To work around this, the palette is also defined as a series of brace-enclosed list macro definitions. These definitions use uppercase names: #define SG_RED { 1.0f, 0.0f, 0.0f, 1.0f } #define SG_GREEN { 0.0f, 1.0f, 0.0f, 1.0f } #define SG_BLUE { 0.0f, 0.0f, 1.0f, 1.0f } A preset macro like SG_RED can be used to initialize objects with static storage duration: static struct { sg_pass_action pass_action; } state = { .pass_action = { .colors[0] = { .action = SG_ACTION_CLEAR, .value = SG_RED } } }; A second set of macro definitions exists for colors packed as 32 bit integer values. These definitions are also uppercase, but use the _RGBA32 suffix: #define SG_RED_RGBA32 0xFF0000FF #define SG_GREEN_RGBA32 0x00FF00FF #define SG_BLUE_RGBA32 0x0000FFFF This is useful if your code makes use of packed colors, as sokol_gl.h does for its internal vertex format: sgl_begin_triangles(); sgl_v2f_c1i( 0.0f, 0.5f, SG_RED_RGBA32); sgl_v2f_c1i( 0.5f, -0.5f, SG_GREEN_RGBA32); sgl_v2f_c1i(-0.5f, -0.5f, SG_BLUE_RGBA32); sgl_end(); UTILITY FUNCTIONS ================= Utility functions for creating colours are provided: - sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) Create a sg_color object from separate R, G, B, A bytes. - sg_make_color_1i(uint32_t rgba) Create a sg_color object from RGBA bytes packed into a 32-bit unsigned integer. - sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount) Linearly interpolate a color. - sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount) Linearly interpolate a color. Less efficient but more precise than sg_color_lerp. - sg_color_multiply(const sg_color* color, float scale) Multiply each color component by the scale factor. LICENSE ======= zlib/libpng license Copyright (c) 2020 Stuart Adams This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_COLOR_INCLUDED (1) #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_color.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_GL_API_DECL) #define SOKOL_COLOR_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_COLOR_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_COLOR_IMPL) #define SOKOL_COLOR_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_COLOR_API_DECL __declspec(dllimport) #else #define SOKOL_COLOR_API_DECL extern #endif #endif #ifdef __cplusplus #define SOKOL_COLOR_CONSTEXPR constexpr extern "C" { #else #define SOKOL_COLOR_CONSTEXPR const #endif SOKOL_COLOR_API_DECL sg_color sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_COLOR_API_DECL sg_color sg_make_color_1i(uint32_t rgba); SOKOL_COLOR_API_DECL sg_color sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount); SOKOL_COLOR_API_DECL sg_color sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount); SOKOL_COLOR_API_DECL sg_color sg_color_multiply(const sg_color* color, float scale); """) def unpack_rgba(color): red = (color & 0xFF000000) >> 24 green = (color & 0xFF0000) >> 16 blue = (color & 0xFF00) >> 8 alpha = (color & 0xFF) return (red, green, blue, alpha) def add_documentation(color): documentation = "/* {name} color {{ R:{r}, G:{g}, B:{b}, A:{a} }} */\n" rgba = unpack_rgba(color[1]) header.write(documentation.format( name = color[0], r = rgba[0], g = rgba[1], b = rgba[2], a = rgba[3])) for color in colors: add_documentation(color) init_color = "SG_" + color[0].upper().replace(" ", "_") init_color_definition = "#define {name} {{ {r}f, {g}f, {b}f, {a}f }}\n" rgba = unpack_rgba(color[1]) r = rgba[0] / 255 g = rgba[1] / 255 b = rgba[2] / 255 a = rgba[3] / 255 r_text = "{:.1f}".format(r) if r.is_integer() else "{:.9g}".format(r) g_text = "{:.1f}".format(g) if g.is_integer() else "{:.9g}".format(g) b_text = "{:.1f}".format(b) if b.is_integer() else "{:.9g}".format(b) a_text = "{:.1f}".format(a) if a.is_integer() else "{:.9g}".format(a) header.write(init_color_definition.format( name = init_color, r = r_text, g = g_text, b = b_text, a = a_text)) header.write("\n") for color in colors: add_documentation(color) init_color = "sg_" + color[0].lower().replace(" ", "_") init_color_definition = "static SOKOL_COLOR_CONSTEXPR sg_color {name} = {init};\n" init_color_name = "SG_" + color[0].upper().replace(" ", "_") header.write(init_color_definition.format(name = init_color, init = init_color_name)) header.write("\n") for color in colors: add_documentation(color) hex_color = "0x{0:08X}".format(color[1]) packed_color = "SG_" + color[0].upper().replace(" ", "_") + "_RGBA32" packed_color_definition = "#define {name} {rgba}\n" header.write(packed_color_definition.format(name = packed_color, rgba = hex_color)) header.write(""" #ifdef __cplusplus } /* extern "C" */ inline sg_color sg_make_color(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return sg_make_color_4b(r, g, b, a); } inline sg_color sg_make_color(uint32_t rgba) { return sg_make_color_1i(rgba); } inline sg_color sg_color_lerp(const sg_color& color_a, const sg_color& color_b, float amount) { return sg_color_lerp(&color_a, &color_b, amount); } inline sg_color sg_color_lerp_precise(const sg_color& color_a, const sg_color& color_b, float amount) { return sg_color_lerp_precise(&color_a, &color_b, amount); } inline sg_color sg_color_multiply(const sg_color& color, float scale) { return sg_color_multiply(&color, scale); } #endif /* __cplusplus */ #endif /* SOKOL_COLOR_INCLUDED */ /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_COLOR_IMPL #define SOKOL_COLOR_IMPL_INCLUDED (1) #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif static inline float _sg_color_clamp(float v, float low, float high) { if (v < low) { return low; } else if (v > high) { return high; } return v; } static inline float _sg_color_lerp(float a, float b, float amount) { return a + (b - a) * amount; } static inline float _sg_color_lerp_precise(float a, float b, float amount) { return ((1.0f - amount) * a) + (b * amount); } SOKOL_API_IMPL sg_color sg_make_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { sg_color result; result.r = r / 255.0f; result.g = g / 255.0f; result.b = b / 255.0f; result.a = a / 255.0f; return result; } SOKOL_API_IMPL sg_color sg_make_color_1i(uint32_t rgba) { return sg_make_color_4b( (uint8_t)(rgba >> 24), (uint8_t)(rgba >> 16), (uint8_t)(rgba >> 8), (uint8_t)(rgba >> 0) ); } SOKOL_API_IMPL sg_color sg_color_lerp(const sg_color* color_a, const sg_color* color_b, float amount) { SOKOL_ASSERT(color_a); SOKOL_ASSERT(color_b); amount = _sg_color_clamp(amount, 0.0f, 1.0f); sg_color result; result.r = _sg_color_lerp(color_a->r, color_b->r, amount); result.g = _sg_color_lerp(color_a->g, color_b->g, amount); result.b = _sg_color_lerp(color_a->b, color_b->b, amount); result.a = _sg_color_lerp(color_a->a, color_b->a, amount); return result; } SOKOL_API_IMPL sg_color sg_color_lerp_precise(const sg_color* color_a, const sg_color* color_b, float amount) { SOKOL_ASSERT(color_a); SOKOL_ASSERT(color_b); amount = _sg_color_clamp(amount, 0.0f, 1.0f); sg_color result; result.r = _sg_color_lerp_precise(color_a->r, color_b->r, amount); result.g = _sg_color_lerp_precise(color_a->g, color_b->g, amount); result.b = _sg_color_lerp_precise(color_a->b, color_b->b, amount); result.a = _sg_color_lerp_precise(color_a->a, color_b->a, amount); return result; } SOKOL_API_IMPL sg_color sg_color_multiply(const sg_color* color, float scale) { SOKOL_ASSERT(color); sg_color result; result.r = color->r * scale; result.g = color->g * scale; result.b = color->b * scale; result.a = color->a * scale; return result; } #endif /* SOKOL_COLOR_IMPL */ """)
0
repos/sokol
repos/sokol/util/sokol_gl.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_GL_IMPL) #define SOKOL_GL_IMPL #endif #ifndef SOKOL_GL_INCLUDED /* sokol_gl.h -- OpenGL 1.x style rendering on top of sokol_gfx.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_GL_IMPL before you include this file in *one* C or C++ file to create the implementation. The following defines are used by the implementation to select the platform-specific embedded shader code (these are the same defines as used by sokol_gfx.h and sokol_app.h): SOKOL_GLCORE SOKOL_GLES3 SOKOL_D3D11 SOKOL_METAL SOKOL_WGPU ...optionally provide the following macros to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_GL_API_DECL - public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_GL_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) SOKOL_UNREACHABLE() - a guard macro for unreachable code (default: assert(false)) If sokol_gl.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_GL_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. Include the following headers before including sokol_gl.h: sokol_gfx.h Matrix functions have been taken from MESA and Regal. FEATURE OVERVIEW: ================= sokol_gl.h implements a subset of the OpenGLES 1.x feature set useful for when you just want to quickly render a bunch of triangles or lines without having to mess with buffers and shaders. The current feature set is mostly useful for debug visualizations and simple UI-style 2D rendering: What's implemented: - vertex components: - position (x, y, z) - 2D texture coords (u, v) - color (r, g, b, a) - primitive types: - triangle list and strip - line list and strip - quad list (TODO: quad strips) - point list - one texture layer (no multi-texturing) - viewport and scissor-rect with selectable origin (top-left or bottom-left) - all GL 1.x matrix stack functions, and additionally equivalent functions for gluPerspective and gluLookat Notable GLES 1.x features that are *NOT* implemented: - vertex lighting (this is the most likely GL feature that might be added later) - vertex arrays (although providing whole chunks of vertex data at once might be a useful feature for a later version) - texture coordinate generation - line width - all pixel store functions - no ALPHA_TEST - no clear functions (clearing is handled by the sokol-gfx render pass) - fog Notable differences to GL: - No "enum soup" for render states etc, instead there's a 'pipeline stack', this is similar to GL's matrix stack, but for pipeline-state-objects. The pipeline object at the top of the pipeline stack defines the active set of render states - All angles are in radians, not degrees (note the sgl_rad() and sgl_deg() conversion functions) - No enable/disable state for scissor test, this is always enabled STEP BY STEP: ============= --- To initialize sokol-gl, call: sgl_setup(const sgl_desc_t* desc) NOTE that sgl_setup() must be called *after* initializing sokol-gfx (via sg_setup). This is because sgl_setup() needs to create sokol-gfx resource objects. If you're intending to render to the default pass, and also don't want to tweak memory usage, and don't want any logging output you can just keep sgl_desc_t zero-initialized: sgl_setup(&(sgl_desc_t*){ 0 }); In this case, sokol-gl will create internal sg_pipeline objects that are compatible with the sokol-app default framebuffer. I would recommend to at least install a logging callback so that you'll see any warnings and errors. The easiest way is through sokol_log.h: #include "sokol_log.h" sgl_setup(&(sgl_desc_t){ .logger.func = slog_func. }); If you want to render into a framebuffer with different pixel-format and MSAA attributes you need to provide the matching attributes in the sgl_setup() call: sgl_setup(&(sgl_desc_t*){ .color_format = SG_PIXELFORMAT_..., .depth_format = SG_PIXELFORMAT_..., .sample_count = ..., }); To reduce memory usage, or if you need to create more then the default number of contexts, pipelines, vertices or draw commands, set the following sgl_desc_t members: .context_pool_size (default: 4) .pipeline_pool_size (default: 64) .max_vertices (default: 64k) .max_commands (default: 16k) Finally you can change the face winding for front-facing triangles and quads: .face_winding - default is SG_FACEWINDING_CCW The default winding for front faces is counter-clock-wise. This is the same as OpenGL's default, but different from sokol-gfx. --- Optionally create additional context objects if you want to render into multiple sokol-gfx render passes (or generally if you want to use multiple independent sokol-gl "state buckets") sgl_context ctx = sgl_make_context(const sgl_context_desc_t* desc) For details on rendering with sokol-gl contexts, search below for WORKING WITH CONTEXTS. --- Optionally create pipeline-state-objects if you need render state that differs from sokol-gl's default state: sgl_pipeline pip = sgl_make_pipeline(const sg_pipeline_desc* desc) ...this creates a pipeline object that's compatible with the currently active context, alternatively call: sgl_pipeline_pip = sgl_context_make_pipeline(sgl_context ctx, const sg_pipeline_desc* desc) ...to create a pipeline object that's compatible with an explicitly provided context. The similarity with sokol_gfx.h's sg_pipeline type and sg_make_pipeline() function is intended. sgl_make_pipeline() also takes a standard sokol-gfx sg_pipeline_desc object to describe the render state, but without: - shader - vertex layout - color- and depth-pixel-formats - primitive type (lines, triangles, ...) - MSAA sample count Those will be filled in by sgl_make_pipeline(). Note that each call to sgl_make_pipeline() needs to create several sokol-gfx pipeline objects (one for each primitive type). 'depth.write_enabled' will be forced to 'false' if the context this pipeline object is intended for has its depth pixel format set to SG_PIXELFORMAT_NONE (which means the framebuffer this context is used with doesn't have a depth-stencil surface). --- if you need to destroy sgl_pipeline objects before sgl_shutdown(): sgl_destroy_pipeline(sgl_pipeline pip) --- After sgl_setup() you can call any of the sokol-gl functions anywhere in a frame, *except* sgl_draw(). The 'vanilla' functions will only change internal sokol-gl state, and not call any sokol-gfx functions. --- Unlike OpenGL, sokol-gl has a function to reset internal state to a known default. This is useful at the start of a sequence of rendering operations: void sgl_defaults(void) This will set the following default state: - current texture coordinate to u=0.0f, v=0.0f - current color to white (rgba all 1.0f) - current point size to 1.0f - unbind the current texture and texturing will be disabled - *all* matrices will be set to identity (also the projection matrix) - the default render state will be set by loading the 'default pipeline' into the top of the pipeline stack The current matrix- and pipeline-stack-depths will not be changed by sgl_defaults(). --- change the currently active renderstate through the pipeline-stack functions, this works similar to the traditional GL matrix stack: ...load the default pipeline state on the top of the pipeline stack: sgl_load_default_pipeline() ...load a specific pipeline on the top of the pipeline stack: sgl_load_pipeline(sgl_pipeline pip) ...push and pop the pipeline stack: sgl_push_pipeline() sgl_pop_pipeline() --- control texturing with: sgl_enable_texture() sgl_disable_texture() sgl_texture(sg_image img, sg_sampler smp) NOTE: the img and smp handles can be invalid (SG_INVALID_ID), in this case, sokol-gl will fall back to the internal default (white) texture and sampler. --- set the current viewport and scissor rect with: sgl_viewport(int x, int y, int w, int h, bool origin_top_left) sgl_scissor_rect(int x, int y, int w, int h, bool origin_top_left) ...or call these alternatives which take float arguments (this might allow to avoid casting between float and integer in more strongly typed languages when floating point pixel coordinates are used): sgl_viewportf(float x, float y, float w, float h, bool origin_top_left) sgl_scissor_rectf(float x, float y, float w, float h, bool origin_top_left) ...these calls add a new command to the internal command queue, so that the viewport or scissor rect are set at the right time relative to other sokol-gl calls. --- adjust the transform matrices, matrix manipulation works just like the OpenGL matrix stack: ...set the current matrix mode: sgl_matrix_mode_modelview() sgl_matrix_mode_projection() sgl_matrix_mode_texture() ...load the identity matrix into the current matrix: sgl_load_identity() ...translate, rotate and scale the current matrix: sgl_translate(float x, float y, float z) sgl_rotate(float angle_rad, float x, float y, float z) sgl_scale(float x, float y, float z) NOTE that all angles in sokol-gl are in radians, not in degree. Convert between radians and degree with the helper functions: float sgl_rad(float deg) - degrees to radians float sgl_deg(float rad) - radians to degrees ...directly load the current matrix from a float[16] array: sgl_load_matrix(const float m[16]) sgl_load_transpose_matrix(const float m[16]) ...directly multiply the current matrix from a float[16] array: sgl_mult_matrix(const float m[16]) sgl_mult_transpose_matrix(const float m[16]) The memory layout of those float[16] arrays is the same as in OpenGL. ...more matrix functions: sgl_frustum(float left, float right, float bottom, float top, float near, float far) sgl_ortho(float left, float right, float bottom, float top, float near, float far) sgl_perspective(float fov_y, float aspect, float near, float far) sgl_lookat(float eye_x, float eye_y, float eye_z, float center_x, float center_y, float center_z, float up_x, float up_y, float up_z) These functions work the same as glFrustum(), glOrtho(), gluPerspective() and gluLookAt(). ...and finally to push / pop the current matrix stack: sgl_push_matrix(void) sgl_pop_matrix(void) Again, these work the same as glPushMatrix() and glPopMatrix(). --- perform primitive rendering: ...set the current texture coordinate and color 'registers' with or point size with: sgl_t2f(float u, float v) - set current texture coordinate sgl_c*(...) - set current color sgl_point_size(float size) - set current point size There are several functions for setting the color (as float values, unsigned byte values, packed as unsigned 32-bit integer, with and without alpha). NOTE that these are the only functions that can be called both inside sgl_begin_*() / sgl_end() and outside. Also NOTE that point size is currently hardwired to 1.0f if the D3D11 backend is used. ...start a primitive vertex sequence with: sgl_begin_points() sgl_begin_lines() sgl_begin_line_strip() sgl_begin_triangles() sgl_begin_triangle_strip() sgl_begin_quads() ...after sgl_begin_*() specify vertices: sgl_v*(...) sgl_v*_t*(...) sgl_v*_c*(...) sgl_v*_t*_c*(...) These functions write a new vertex to sokol-gl's internal vertex buffer, optionally with texture-coords and color. If the texture coordinate and/or color is missing, it will be taken from the current texture-coord and color 'register'. ...finally, after specifying vertices, call: sgl_end() This will record a new draw command in sokol-gl's internal command list, or it will extend the previous draw command if no relevant state has changed since the last sgl_begin/end pair. --- inside a sokol-gfx rendering pass, call the sgl_draw() function to render the currently active context: sgl_draw() ...or alternatively call: sgl_context_draw(ctx) ...to render an explicitly provided context. This will render everything that has been recorded in the context since the last call to sgl_draw() through sokol-gfx, and will 'rewind' the internal vertex-, uniform- and command-buffers. --- each sokol-gl context tracks internal error states which can be obtains via: sgl_error_t sgl_error() ...alternatively with an explicit context argument: sgl_error_t sgl_context_error(ctx); ...this returns a struct with the following booleans: .any - true if any of the below errors is true .vertices_full - internal vertex buffer is full (checked in sgl_end()) .uniforms_full - the internal uniforms buffer is full (checked in sgl_end()) .commands_full - the internal command buffer is full (checked in sgl_end()) .stack_overflow - matrix- or pipeline-stack overflow .stack_underflow - matrix- or pipeline-stack underflow .no_context - the active context no longer exists ...depending on the above error state, sgl_draw() may skip rendering completely, or only draw partial geometry --- you can get the number of recorded vertices and draw commands in the current frame and active sokol-gl context via: int sgl_num_vertices() int sgl_num_commands() ...this allows you to check whether the vertex or command pools are running full before the overflow actually happens (in this case you could also check the error booleans in the result of sgl_error()). RENDER LAYERS ============= Render layers allow to split sokol-gl rendering into separate draw-command groups which can then be rendered separately in a sokol-gfx draw pass. This allows to mix/interleave sokol-gl rendering with other render operations. Layered rendering is controlled through two functions: sgl_layer(int layer_id) sgl_draw_layer(int layer_id) (and the context-variant sgl_draw_layer(): sgl_context_draw_layer() The sgl_layer() function sets the 'current layer', any sokol-gl calls which internally record draw commands will also store the current layer in the draw command, and later in a sokol-gfx render pass, a call to sgl_draw_layer() will only render the draw commands that have a matching layer. The default layer is '0', this is active after sokol-gl setup, and is also restored at the start of a new frame (but *not* by calling sgl_defaults()). NOTE that calling sgl_draw() is equivalent with sgl_draw_layer(0) (in general you should either use either use sgl_draw() or sgl_draw_layer() in an application, but not both). WORKING WITH CONTEXTS: ====================== If you want to render to more than one sokol-gfx render pass you need to work with additional sokol-gl context objects (one context object for each offscreen rendering pass, in addition to the implicitly created 'default context'. All sokol-gl state is tracked per context, and there is always a "current context" (with the notable exception that the currently set context is destroyed, more on that later). Using multiple contexts can also be useful if you only render in a single pass, but want to maintain multiple independent "state buckets". To create new context object, call: sgl_context ctx = sgl_make_context(&(sgl_context_desc){ .max_vertices = ..., // default: 64k .max_commands = ..., // default: 16k .color_format = ..., .depth_format = ..., .sample_count = ..., }); The color_format, depth_format and sample_count items must be compatible with the render pass the sgl_draw() or sgL_context_draw() function will be called in. Creating a context does *not* make the context current. To do this, call: sgl_set_context(ctx); The currently active context will implicitly be used by most sokol-gl functions which don't take an explicit context handle as argument. To switch back to the default context, pass the global constant SGL_DEFAULT_CONTEXT: sgl_set_context(SGL_DEFAULT_CONTEXT); ...or alternatively use the function sgl_default_context() instead of the global constant: sgl_set_context(sgl_default_context()); To get the currently active context, call: sgl_context cur_ctx = sgl_get_context(); The following functions exist in two variants, one which use the currently active context (set with sgl_set_context()), and another version which takes an explicit context handle instead: sgl_make_pipeline() vs sgl_context_make_pipeline() sgl_error() vs sgl_context_error(); sgl_draw() vs sgl_context_draw(); Except for using the currently active context versus a provided context handle, the two variants are exactlyidentical, e.g. the following code sequences do the same thing: sgl_set_context(ctx); sgl_pipeline pip = sgl_make_pipeline(...); sgl_error_t err = sgl_error(); sgl_draw(); vs sgl_pipeline pip = sgl_context_make_pipeline(ctx, ...); sgl_error_t err = sgl_context_error(ctx); sgl_context_draw(ctx); Destroying the currently active context is a 'soft error'. All following calls which require a currently active context will silently fail, and sgl_error() will return SGL_ERROR_NO_CONTEXT. UNDER THE HOOD: =============== sokol_gl.h works by recording vertex data and rendering commands into memory buffers, and then drawing the recorded commands via sokol_gfx.h The only functions which call into sokol_gfx.h are: - sgl_setup() - sgl_shutdown() - sgl_draw() (and variants) sgl_setup() must be called after initializing sokol-gfx. sgl_shutdown() must be called before shutting down sokol-gfx. sgl_draw() must be called once per frame inside a sokol-gfx render pass. All other sokol-gl function can be called anywhere in a frame, since they just record data into memory buffers owned by sokol-gl. What happens in: sgl_setup(): Unique resources shared by all contexts are created: - a shader object (using embedded shader source or byte code) - an 8x8 white default texture The default context is created, which involves: - 3 memory buffers are created, one for vertex data, one for uniform data, and one for commands - a dynamic vertex buffer is created - the default sgl_pipeline object is created, which involves creating 5 sg_pipeline objects One vertex is 24 bytes: - float3 position - float2 texture coords - uint32_t color One uniform block is 128 bytes: - mat4 model-view-projection matrix - mat4 texture matrix One draw command is ca. 24 bytes for the actual command code plus command arguments. Each sgl_end() consumes one command, and one uniform block (only when the matrices have changed). The required size for one sgl_begin/end pair is (at most): (152 + 24 * num_verts) bytes sgl_shutdown(): - all sokol-gfx resources (buffer, shader, default-texture and all pipeline objects) are destroyed - the 3 memory buffers are freed sgl_draw() (and variants) - copy all recorded vertex data into the dynamic sokol-gfx buffer via a call to sg_update_buffer() - for each recorded command: - if the layer number stored in the command doesn't match the layer that's to be rendered, skip to the next command - if it's a viewport command, call sg_apply_viewport() - if it's a scissor-rect command, call sg_apply_scissor_rect() - if it's a draw command: - depending on what has changed since the last draw command, call sg_apply_pipeline(), sg_apply_bindings() and sg_apply_uniforms() - finally call sg_draw() All other functions only modify the internally tracked state, add data to the vertex, uniform and command buffers, or manipulate the matrix stack. ON DRAW COMMAND MERGING ======================= Not every call to sgl_end() will automatically record a new draw command. If possible, the previous draw command will simply be extended, resulting in fewer actual draw calls later in sgl_draw(). A draw command will be merged with the previous command if "no relevant state has changed" since the last sgl_end(), meaning: - no calls to sgl_viewport() and sgl_scissor_rect() - the primitive type hasn't changed - the primitive type isn't a 'strip type' (no line or triangle strip) - the pipeline state object hasn't changed - the current layer hasn't changed - none of the matrices has changed - none of the texture state has changed Merging a draw command simply means that the number of vertices to render in the previous draw command will be incremented by the number of vertices in the new draw command. MEMORY ALLOCATION OVERRIDE ========================== You can override the memory allocation functions at initialization time like this: void* my_alloc(size_t size, void* user_data) { return malloc(size); } void my_free(void* ptr, void* user_data) { free(ptr); } ... sgl_setup(&(sgl_desc_t){ // ... .allocator = { .alloc_fn = my_alloc, .free_fn = my_free, .user_data = ...; } }); ... If no overrides are provided, malloc and free will be used. ERROR REPORTING AND LOGGING =========================== To get any logging information at all you need to provide a logging callback in the setup call, the easiest way is to use sokol_log.h: #include "sokol_log.h" sgl_setup(&(sgl_desc_t){ // ... .logger.func = slog_func }); To override logging with your own callback, first write a logging function like this: void my_log(const char* tag, // e.g. 'sgl' uint32_t log_level, // 0=panic, 1=error, 2=warn, 3=info uint32_t log_item_id, // SGL_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_gl.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data) { ... } ...and then setup sokol-gl like this: sgl_setup(&(sgl_desc_t){ .logger = { .func = my_log, .user_data = my_user_data, } }); The provided logging function must be reentrant (e.g. be callable from different threads). If you don't want to provide your own custom logger it is highly recommended to use the standard logger in sokol_log.h instead, otherwise you won't see any warnings or errors. LICENSE ======= zlib/libpng license Copyright (c) 2018 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_GL_INCLUDED (1) #include <stdint.h> #include <stdbool.h> #include <stddef.h> // size_t, offsetof #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_gl.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_GL_API_DECL) #define SOKOL_GL_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_GL_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_GL_IMPL) #define SOKOL_GL_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_GL_API_DECL __declspec(dllimport) #else #define SOKOL_GL_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif /* sgl_log_item_t Log items are defined via X-Macros, and expanded to an enum 'sgl_log_item' - and in debug mode only - corresponding strings. Used as parameter in the logging callback. */ #define _SGL_LOG_ITEMS \ _SGL_LOGITEM_XMACRO(OK, "Ok") \ _SGL_LOGITEM_XMACRO(MALLOC_FAILED, "memory allocation failed") \ _SGL_LOGITEM_XMACRO(MAKE_PIPELINE_FAILED, "sg_make_pipeline() failed") \ _SGL_LOGITEM_XMACRO(PIPELINE_POOL_EXHAUSTED, "pipeline pool exhausted (use sgl_desc_t.pipeline_pool_size to adjust)") \ _SGL_LOGITEM_XMACRO(ADD_COMMIT_LISTENER_FAILED, "sg_add_commit_listener() failed") \ _SGL_LOGITEM_XMACRO(CONTEXT_POOL_EXHAUSTED, "context pool exhausted (use sgl_desc_t.context_pool_size to adjust)") \ _SGL_LOGITEM_XMACRO(CANNOT_DESTROY_DEFAULT_CONTEXT, "cannot destroy default context") \ #define _SGL_LOGITEM_XMACRO(item,msg) SGL_LOGITEM_##item, typedef enum sgl_log_item_t { _SGL_LOG_ITEMS } sgl_log_item_t; #undef _SGL_LOGITEM_XMACRO /* sgl_logger_t Used in sgl_desc_t to provide a custom logging and error reporting callback to sokol-gl. */ typedef struct sgl_logger_t { void (*func)( const char* tag, // always "sgl" uint32_t log_level, // 0=panic, 1=error, 2=warning, 3=info uint32_t log_item_id, // SGL_LOGITEM_* const char* message_or_null, // a message string, may be nullptr in release mode uint32_t line_nr, // line number in sokol_gl.h const char* filename_or_null, // source filename, may be nullptr in release mode void* user_data); void* user_data; } sgl_logger_t; /* sokol_gl pipeline handle (created with sgl_make_pipeline()) */ typedef struct sgl_pipeline { uint32_t id; } sgl_pipeline; /* a context handle (created with sgl_make_context()) */ typedef struct sgl_context { uint32_t id; } sgl_context; /* sgl_error_t Errors are reset each frame after calling sgl_draw(), get the last error code with sgl_error() */ typedef struct sgl_error_t { bool any; bool vertices_full; bool uniforms_full; bool commands_full; bool stack_overflow; bool stack_underflow; bool no_context; } sgl_error_t; /* sgl_context_desc_t Describes the initialization parameters of a rendering context. Creating additional contexts is useful if you want to render in separate sokol-gfx passes. */ typedef struct sgl_context_desc_t { int max_vertices; // default: 64k int max_commands; // default: 16k sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; } sgl_context_desc_t; /* sgl_allocator_t Used in sgl_desc_t to provide custom memory-alloc and -free functions to sokol_gl.h. If memory management should be overridden, both the alloc and free function must be provided (e.g. it's not valid to override one function but not the other). */ typedef struct sgl_allocator_t { void* (*alloc_fn)(size_t size, void* user_data); void (*free_fn)(void* ptr, void* user_data); void* user_data; } sgl_allocator_t; typedef struct sgl_desc_t { int max_vertices; // default: 64k int max_commands; // default: 16k int context_pool_size; // max number of contexts (including default context), default: 4 int pipeline_pool_size; // size of internal pipeline pool, default: 64 sg_pixel_format color_format; sg_pixel_format depth_format; int sample_count; sg_face_winding face_winding; // default: SG_FACEWINDING_CCW sgl_allocator_t allocator; // optional memory allocation overrides (default: malloc/free) sgl_logger_t logger; // optional log function override (default: NO LOGGING) } sgl_desc_t; /* the default context handle */ static const sgl_context SGL_DEFAULT_CONTEXT = { 0x00010001 }; /* setup/shutdown/misc */ SOKOL_GL_API_DECL void sgl_setup(const sgl_desc_t* desc); SOKOL_GL_API_DECL void sgl_shutdown(void); SOKOL_GL_API_DECL float sgl_rad(float deg); SOKOL_GL_API_DECL float sgl_deg(float rad); SOKOL_GL_API_DECL sgl_error_t sgl_error(void); SOKOL_GL_API_DECL sgl_error_t sgl_context_error(sgl_context ctx); /* context functions */ SOKOL_GL_API_DECL sgl_context sgl_make_context(const sgl_context_desc_t* desc); SOKOL_GL_API_DECL void sgl_destroy_context(sgl_context ctx); SOKOL_GL_API_DECL void sgl_set_context(sgl_context ctx); SOKOL_GL_API_DECL sgl_context sgl_get_context(void); SOKOL_GL_API_DECL sgl_context sgl_default_context(void); /* get information about recorded vertices and commands in current context */ SOKOL_GL_API_DECL int sgl_num_vertices(void); SOKOL_GL_API_DECL int sgl_num_commands(void); /* draw recorded commands (call inside a sokol-gfx render pass) */ SOKOL_GL_API_DECL void sgl_draw(void); SOKOL_GL_API_DECL void sgl_context_draw(sgl_context ctx); SOKOL_GL_API_DECL void sgl_draw_layer(int layer_id); SOKOL_GL_API_DECL void sgl_context_draw_layer(sgl_context ctx, int layer_id); /* create and destroy pipeline objects */ SOKOL_GL_API_DECL sgl_pipeline sgl_make_pipeline(const sg_pipeline_desc* desc); SOKOL_GL_API_DECL sgl_pipeline sgl_context_make_pipeline(sgl_context ctx, const sg_pipeline_desc* desc); SOKOL_GL_API_DECL void sgl_destroy_pipeline(sgl_pipeline pip); /* render state functions */ SOKOL_GL_API_DECL void sgl_defaults(void); SOKOL_GL_API_DECL void sgl_viewport(int x, int y, int w, int h, bool origin_top_left); SOKOL_GL_API_DECL void sgl_viewportf(float x, float y, float w, float h, bool origin_top_left); SOKOL_GL_API_DECL void sgl_scissor_rect(int x, int y, int w, int h, bool origin_top_left); SOKOL_GL_API_DECL void sgl_scissor_rectf(float x, float y, float w, float h, bool origin_top_left); SOKOL_GL_API_DECL void sgl_enable_texture(void); SOKOL_GL_API_DECL void sgl_disable_texture(void); SOKOL_GL_API_DECL void sgl_texture(sg_image img, sg_sampler smp); SOKOL_GL_API_DECL void sgl_layer(int layer_id); /* pipeline stack functions */ SOKOL_GL_API_DECL void sgl_load_default_pipeline(void); SOKOL_GL_API_DECL void sgl_load_pipeline(sgl_pipeline pip); SOKOL_GL_API_DECL void sgl_push_pipeline(void); SOKOL_GL_API_DECL void sgl_pop_pipeline(void); /* matrix stack functions */ SOKOL_GL_API_DECL void sgl_matrix_mode_modelview(void); SOKOL_GL_API_DECL void sgl_matrix_mode_projection(void); SOKOL_GL_API_DECL void sgl_matrix_mode_texture(void); SOKOL_GL_API_DECL void sgl_load_identity(void); SOKOL_GL_API_DECL void sgl_load_matrix(const float m[16]); SOKOL_GL_API_DECL void sgl_load_transpose_matrix(const float m[16]); SOKOL_GL_API_DECL void sgl_mult_matrix(const float m[16]); SOKOL_GL_API_DECL void sgl_mult_transpose_matrix(const float m[16]); SOKOL_GL_API_DECL void sgl_rotate(float angle_rad, float x, float y, float z); SOKOL_GL_API_DECL void sgl_scale(float x, float y, float z); SOKOL_GL_API_DECL void sgl_translate(float x, float y, float z); SOKOL_GL_API_DECL void sgl_frustum(float l, float r, float b, float t, float n, float f); SOKOL_GL_API_DECL void sgl_ortho(float l, float r, float b, float t, float n, float f); SOKOL_GL_API_DECL void sgl_perspective(float fov_y, float aspect, float z_near, float z_far); SOKOL_GL_API_DECL void sgl_lookat(float eye_x, float eye_y, float eye_z, float center_x, float center_y, float center_z, float up_x, float up_y, float up_z); SOKOL_GL_API_DECL void sgl_push_matrix(void); SOKOL_GL_API_DECL void sgl_pop_matrix(void); /* these functions only set the internal 'current texcoord / color / point size' (valid inside or outside begin/end) */ SOKOL_GL_API_DECL void sgl_t2f(float u, float v); SOKOL_GL_API_DECL void sgl_c3f(float r, float g, float b); SOKOL_GL_API_DECL void sgl_c4f(float r, float g, float b, float a); SOKOL_GL_API_DECL void sgl_c3b(uint8_t r, uint8_t g, uint8_t b); SOKOL_GL_API_DECL void sgl_c4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_GL_API_DECL void sgl_c1i(uint32_t rgba); SOKOL_GL_API_DECL void sgl_point_size(float s); /* define primitives, each begin/end is one draw command */ SOKOL_GL_API_DECL void sgl_begin_points(void); SOKOL_GL_API_DECL void sgl_begin_lines(void); SOKOL_GL_API_DECL void sgl_begin_line_strip(void); SOKOL_GL_API_DECL void sgl_begin_triangles(void); SOKOL_GL_API_DECL void sgl_begin_triangle_strip(void); SOKOL_GL_API_DECL void sgl_begin_quads(void); SOKOL_GL_API_DECL void sgl_v2f(float x, float y); SOKOL_GL_API_DECL void sgl_v3f(float x, float y, float z); SOKOL_GL_API_DECL void sgl_v2f_t2f(float x, float y, float u, float v); SOKOL_GL_API_DECL void sgl_v3f_t2f(float x, float y, float z, float u, float v); SOKOL_GL_API_DECL void sgl_v2f_c3f(float x, float y, float r, float g, float b); SOKOL_GL_API_DECL void sgl_v2f_c3b(float x, float y, uint8_t r, uint8_t g, uint8_t b); SOKOL_GL_API_DECL void sgl_v2f_c4f(float x, float y, float r, float g, float b, float a); SOKOL_GL_API_DECL void sgl_v2f_c4b(float x, float y, uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_GL_API_DECL void sgl_v2f_c1i(float x, float y, uint32_t rgba); SOKOL_GL_API_DECL void sgl_v3f_c3f(float x, float y, float z, float r, float g, float b); SOKOL_GL_API_DECL void sgl_v3f_c3b(float x, float y, float z, uint8_t r, uint8_t g, uint8_t b); SOKOL_GL_API_DECL void sgl_v3f_c4f(float x, float y, float z, float r, float g, float b, float a); SOKOL_GL_API_DECL void sgl_v3f_c4b(float x, float y, float z, uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_GL_API_DECL void sgl_v3f_c1i(float x, float y, float z, uint32_t rgba); SOKOL_GL_API_DECL void sgl_v2f_t2f_c3f(float x, float y, float u, float v, float r, float g, float b); SOKOL_GL_API_DECL void sgl_v2f_t2f_c3b(float x, float y, float u, float v, uint8_t r, uint8_t g, uint8_t b); SOKOL_GL_API_DECL void sgl_v2f_t2f_c4f(float x, float y, float u, float v, float r, float g, float b, float a); SOKOL_GL_API_DECL void sgl_v2f_t2f_c4b(float x, float y, float u, float v, uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_GL_API_DECL void sgl_v2f_t2f_c1i(float x, float y, float u, float v, uint32_t rgba); SOKOL_GL_API_DECL void sgl_v3f_t2f_c3f(float x, float y, float z, float u, float v, float r, float g, float b); SOKOL_GL_API_DECL void sgl_v3f_t2f_c3b(float x, float y, float z, float u, float v, uint8_t r, uint8_t g, uint8_t b); SOKOL_GL_API_DECL void sgl_v3f_t2f_c4f(float x, float y, float z, float u, float v, float r, float g, float b, float a); SOKOL_GL_API_DECL void sgl_v3f_t2f_c4b(float x, float y, float z, float u, float v, uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_GL_API_DECL void sgl_v3f_t2f_c1i(float x, float y, float z, float u, float v, uint32_t rgba); SOKOL_GL_API_DECL void sgl_end(void); #ifdef __cplusplus } /* extern "C" */ /* reference-based equivalents for C++ */ inline void sgl_setup(const sgl_desc_t& desc) { return sgl_setup(&desc); } inline sgl_context sgl_make_context(const sgl_context_desc_t& desc) { return sgl_make_context(&desc); } inline sgl_pipeline sgl_make_pipeline(const sg_pipeline_desc& desc) { return sgl_make_pipeline(&desc); } inline sgl_pipeline sgl_context_make_pipeline(sgl_context ctx, const sg_pipeline_desc& desc) { return sgl_context_make_pipeline(ctx, &desc); } #endif #endif /* SOKOL_GL_INCLUDED */ // ██ ███ ███ ██████ ██ ███████ ███ ███ ███████ ███ ██ ████████ █████ ████████ ██ ██████ ███ ██ // ██ ████ ████ ██ ██ ██ ██ ████ ████ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ // ██ ██ ████ ██ ██████ ██ █████ ██ ████ ██ █████ ██ ██ ██ ██ ███████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ███████ ███████ ██ ██ ███████ ██ ████ ██ ██ ██ ██ ██ ██████ ██ ████ // // >>implementation #ifdef SOKOL_GL_IMPL #define SOKOL_GL_IMPL_INCLUDED (1) #if defined(SOKOL_MALLOC) || defined(SOKOL_CALLOC) || defined(SOKOL_FREE) #error "SOKOL_MALLOC/CALLOC/FREE macros are no longer supported, please use sgl_desc_t.allocator to override memory allocation functions" #endif #include <stdlib.h> // malloc/free #include <string.h> // memset #include <math.h> // M_PI, sqrtf, sinf, cosf #ifndef M_PI #define M_PI 3.14159265358979323846264338327 #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_DEBUG #ifndef NDEBUG #define SOKOL_DEBUG #endif #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #define _sgl_def(val, def) (((val) == 0) ? (def) : (val)) #define _SGL_INIT_COOKIE (0xABCDABCD) /* Embedded source code compiled with: sokol-shdc -i sgl.glsl -o sgl.h -l glsl410:glsl300es:hlsl4:metal_macos:metal_ios:metal_sim:wgpu -b (not that for Metal and D3D11 byte code, sokol-shdc must be run on macOS and Windows) @vs vs uniform vs_params { mat4 mvp; mat4 tm; }; in vec4 position; in vec2 texcoord0; in vec4 color0; in float psize; out vec4 uv; out vec4 color; void main() { gl_Position = mvp * position; #ifndef SOKOL_WGSL gl_PointSize = psize; #endif uv = tm * vec4(texcoord0, 0.0, 1.0); color = color0; } @end @fs fs uniform texture2D tex; uniform sampler smp; in vec4 uv; in vec4 color; out vec4 frag_color; void main() { frag_color = texture(sampler2D(tex, smp), uv.xy) * color; } @end @program sgl vs fs */ #if defined(SOKOL_GLCORE) static const uint8_t _sgl_vs_source_glsl410[520] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x38,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e, 0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a, 0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20, 0x3d,0x20,0x33,0x29,0x20,0x69,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74,0x20,0x70,0x73, 0x69,0x7a,0x65,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65, 0x63,0x34,0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f, 0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76, 0x65,0x63,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6c, 0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d, 0x20,0x31,0x29,0x20,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x30,0x5d,0x2c,0x20,0x76,0x73,0x5f, 0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x31,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x32,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x5b,0x33,0x5d,0x29,0x20,0x2a,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53, 0x69,0x7a,0x65,0x20,0x3d,0x20,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x75,0x76,0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61, 0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x5b,0x35,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73, 0x5b,0x36,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x37, 0x5d,0x29,0x20,0x2a,0x20,0x76,0x65,0x63,0x34,0x28,0x74,0x65,0x78,0x63,0x6f,0x6f, 0x72,0x64,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sgl_fs_source_glsl410[222] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x34,0x31,0x30,0x0a,0x0a,0x75,0x6e, 0x69,0x66,0x6f,0x72,0x6d,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x32,0x44,0x20, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74, 0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x6f, 0x75,0x74,0x20,0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c, 0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74, 0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d, 0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67, 0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65, 0x28,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x2e,0x78,0x79,0x29, 0x20,0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_GLES3) static const uint8_t _sgl_vs_source_glsl300es[481] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x0a,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x76,0x65,0x63,0x34,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x38,0x5d,0x3b,0x0a,0x6c,0x61,0x79,0x6f, 0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x30,0x29, 0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f, 0x6e,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69, 0x6f,0x6e,0x20,0x3d,0x20,0x33,0x29,0x20,0x69,0x6e,0x20,0x66,0x6c,0x6f,0x61,0x74, 0x20,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x6f,0x75,0x74,0x20,0x76,0x65,0x63,0x34, 0x20,0x75,0x76,0x3b,0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x31,0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63, 0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x3b,0x0a,0x6f,0x75,0x74, 0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x6c,0x61,0x79, 0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x32, 0x29,0x20,0x69,0x6e,0x20,0x76,0x65,0x63,0x34,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61,0x69,0x6e,0x28,0x29,0x0a,0x7b, 0x0a,0x20,0x20,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x6d,0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x5b,0x30,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b, 0x31,0x5d,0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x32,0x5d, 0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x33,0x5d,0x29,0x20, 0x2a,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x20,0x20,0x20,0x20, 0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69,0x7a,0x65,0x20,0x3d,0x20,0x70, 0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20,0x20,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x6d, 0x61,0x74,0x34,0x28,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x34,0x5d, 0x2c,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x35,0x5d,0x2c,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x36,0x5d,0x2c,0x20,0x76,0x73, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x5b,0x37,0x5d,0x29,0x20,0x2a,0x20,0x76,0x65, 0x63,0x34,0x28,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x2c,0x20,0x30,0x2e, 0x30,0x2c,0x20,0x31,0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a,0x7d,0x0a,0x0a, 0x00, }; static const uint8_t _sgl_fs_source_glsl300es[253] = { 0x23,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x20,0x33,0x30,0x30,0x20,0x65,0x73,0x0a, 0x70,0x72,0x65,0x63,0x69,0x73,0x69,0x6f,0x6e,0x20,0x6d,0x65,0x64,0x69,0x75,0x6d, 0x70,0x20,0x66,0x6c,0x6f,0x61,0x74,0x3b,0x0a,0x70,0x72,0x65,0x63,0x69,0x73,0x69, 0x6f,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x69,0x6e,0x74,0x3b,0x0a,0x0a,0x75, 0x6e,0x69,0x66,0x6f,0x72,0x6d,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x73,0x61,0x6d, 0x70,0x6c,0x65,0x72,0x32,0x44,0x20,0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x3b,0x0a, 0x0a,0x6c,0x61,0x79,0x6f,0x75,0x74,0x28,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x30,0x29,0x20,0x6f,0x75,0x74,0x20,0x68,0x69,0x67,0x68,0x70,0x20, 0x76,0x65,0x63,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x3b, 0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34,0x20,0x75, 0x76,0x3b,0x0a,0x69,0x6e,0x20,0x68,0x69,0x67,0x68,0x70,0x20,0x76,0x65,0x63,0x34, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x0a,0x76,0x6f,0x69,0x64,0x20,0x6d,0x61, 0x69,0x6e,0x28,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x72,0x61,0x67,0x5f, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28, 0x74,0x65,0x78,0x5f,0x73,0x6d,0x70,0x2c,0x20,0x75,0x76,0x2e,0x78,0x79,0x29,0x20, 0x2a,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_METAL) static const uint8_t _sgl_vs_bytecode_metal_macos[3317] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf5,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x76,0x25,0x5f,0x37,0x22,0xd0,0x3f, 0x64,0xef,0xff,0xc3,0x45,0x1a,0x3d,0xb7,0x5e,0x83,0x13,0x96,0xd3,0x09,0xec,0x53, 0x25,0xd5,0x7e,0x0c,0xed,0xb9,0x58,0x34,0x02,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x40,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x2a,0x00,0x04,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x70,0x73,0x69,0x7a,0x65,0x00,0x03,0x80,0x56,0x41,0x54, 0x59,0x06,0x00,0x04,0x00,0x06,0x04,0x06,0x03,0x45,0x4e,0x44,0x54,0x04,0x00,0x00, 0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00,0x00,0x14,0x00,0x00, 0x00,0xc4,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0,0xde,0x21,0x0c,0x00, 0x00,0xee,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00,0x00,0x12,0x00,0x00, 0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32,0x39,0x92,0x01,0x84, 0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45,0x02,0x42,0x92,0x0b, 0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44,0x24,0x48,0x0a,0x90, 0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8,0x48,0x11,0x62,0xa8, 0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00,0x00,0x81,0x00,0x00, 0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x90,0x80,0x8a,0x18,0x87,0x77, 0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76,0xc8,0x87,0x36,0x90,0x87,0x77,0xa8, 0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20,0x87,0x74,0xb0,0x87,0x74,0x20,0x87, 0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c, 0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8, 0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79,0x68,0x03,0x78,0x90,0x87,0x72,0x18, 0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80,0x87,0x76,0x08,0x07,0x72,0x00,0xcc, 0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21, 0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21,0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e, 0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x06, 0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87,0x76,0x28,0x87,0x36,0x80,0x87,0x77, 0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36,0x28,0x07,0x76,0x48,0x87,0x76,0x68, 0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28,0x87,0x70,0x30,0x07,0x80,0x70,0x87, 0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d, 0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d,0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca, 0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36, 0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0, 0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6, 0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda,0x40,0x1f,0xca,0x41,0x1e,0xde,0x61, 0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21,0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68,0x03,0x7a,0x90,0x87,0x70,0x80,0x07, 0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41, 0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21,0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e, 0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e,0xde,0x41,0x1e,0xda,0x40,0x1c,0xea, 0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6,0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c, 0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea, 0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc,0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1, 0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x36,0x18,0x42, 0x01,0x2c,0x40,0x05,0x00,0x49,0x18,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x84,0x40, 0x00,0x89,0x20,0x00,0x00,0x20,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85, 0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a, 0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x44,0x33,0x00,0xc3,0x08,0x04,0x60,0x89,0x10,0x02, 0x18,0x46,0x10,0x80,0x24,0x08,0x33,0x51,0xf3,0x40,0x0f,0xf2,0x50,0x0f,0xe3,0x40, 0x0f,0x6e,0xd0,0x0e,0xe5,0x40,0x0f,0xe1,0xc0,0x0e,0x7a,0xa0,0x07,0xed,0x10,0x0e, 0xf4,0x20,0x0f,0xe9,0x80,0x0f,0x28,0x20,0x07,0x49,0x53,0x44,0x09,0x93,0x5f,0x49, 0xff,0x03,0x44,0x00,0x23,0x21,0xa1,0x94,0x41,0x04,0x43,0x28,0x86,0x08,0x23,0x80, 0x43,0x68,0x20,0x60,0x8e,0x00,0x0c,0x52,0x60,0xcd,0x11,0x80,0xc2,0x20,0x42,0x20, 0x0c,0x23,0x10,0xcb,0x08,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87, 0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38, 0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0, 0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0, 0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76, 0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50, 0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07, 0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x49,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, 0xc8,0x02,0x01,0x00,0x00,0x0b,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c, 0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x05,0x18, 0x50,0x08,0x65,0x50,0x80,0x02,0x05,0x51,0x20,0xd4,0x46,0x00,0x88,0x8d,0x25,0x34, 0x01,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x02,0x01,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32, 0x28,0x00,0xb3,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x2c,0x81,0x22,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25, 0x58,0x90,0x45,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82, 0x45,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04, 0x65,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c, 0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba, 0xb9,0x32,0x39,0x14,0xb6,0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61, 0x72,0x67,0x5f,0x74,0x79,0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde, 0xc2,0xe8,0x68,0xc8,0x84,0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95, 0x51,0xa8,0xb3,0x1b,0xc2,0x28,0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9, 0x9b,0x2b,0x93,0x43,0x61,0x7b,0x1b,0x73,0x8b,0x49,0x61,0x31,0xf6,0xc6,0xf6,0x26, 0x37,0x84,0x51,0x1e,0xc5,0x52,0x22,0x45,0x52,0x26,0xe5,0x22,0x13,0x96,0x26,0xe7, 0x02,0xf7,0x36,0x97,0x46,0x97,0xf6,0xe6,0xc6,0xe5,0x8c,0xed,0x0b,0xea,0x6d,0x2e, 0x8d,0x2e,0xed,0xcd,0x6d,0x88,0xa2,0x64,0x4a,0xa4,0x48,0xca,0xa4,0x68,0x74,0xc2, 0xd2,0xe4,0x5c,0xe0,0xde,0xd2,0xdc,0xe8,0xbe,0xe6,0xd2,0xf4,0xca,0x58,0x98,0xb1, 0xbd,0x85,0xd1,0x91,0x39,0x63,0xfb,0x82,0x7a,0x4b,0x73,0xa3,0x9b,0x4a,0xd3,0x2b, 0x1b,0xa2,0x28,0x9c,0x12,0x29,0x9d,0x32,0x29,0xde,0x10,0x44,0xa9,0x14,0x4c,0xd9, 0x94,0x8f,0x50,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0x57,0x9a,0x1b, 0x5c,0x1d,0x1d,0xa5,0xb0,0x34,0x39,0x17,0xb6,0xb7,0xb1,0x30,0xba,0xb4,0x37,0xb7, 0xaf,0x34,0x37,0xb2,0x32,0x3c,0x7a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x64, 0x28,0x5f,0x5f,0x61,0x69,0x72,0x5f,0x70,0x6c,0x61,0x63,0x65,0x68,0x6f,0x6c,0x64, 0x65,0x72,0x5f,0x5f,0x29,0x44,0xe0,0xde,0xe6,0xd2,0xe8,0xd2,0xde,0xdc,0x86,0x50, 0x8b,0xa0,0x84,0x81,0x22,0x06,0x8b,0xb0,0x04,0xca,0x18,0x28,0x91,0x22,0x29,0x93, 0x42,0x06,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x64,0x98,0xd0,0x95,0xe1,0x8d,0xbd,0xbd, 0xc9,0x91,0xc1,0x0c,0xa1,0x96,0x40,0x09,0x03,0x45,0x0c,0x96,0x60,0x09,0x94,0x31, 0x50,0x22,0xc5,0x0c,0x94,0x49,0x39,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43, 0xa8,0x65,0x50,0xc2,0x40,0x11,0x83,0x65,0x58,0x02,0x65,0x0c,0x94,0x48,0x91,0x94, 0x49,0x49,0x03,0x16,0x70,0x73,0x69,0x7a,0x65,0x43,0xa8,0xc5,0x50,0xc2,0x40,0x11, 0x83,0xc5,0x58,0x02,0x65,0x0c,0x94,0x48,0xe9,0x94,0x49,0x59,0x03,0x2a,0x61,0x69, 0x72,0x2e,0x62,0x75,0x66,0x66,0x65,0x72,0x7c,0xc2,0xd2,0xe4,0x5c,0xc4,0xea,0xcc, 0xcc,0xca,0xe4,0xbe,0xe6,0xd2,0xf4,0xca,0x88,0x84,0xa5,0xc9,0xb9,0xc8,0x95,0x85, 0x91,0x91,0x0a,0x4b,0x93,0x73,0x99,0xa3,0x93,0xab,0x1b,0xa3,0xfb,0xa2,0xcb,0x83, 0x2b,0xfb,0x4a,0x73,0x33,0x7b,0x23,0x62,0xc6,0xf6,0x16,0x46,0x47,0x83,0x47,0xc3, 0xa1,0xcd,0x0e,0x8e,0x02,0x5d,0xdb,0x10,0x6a,0x11,0x16,0x62,0x11,0x94,0x38,0x50, 0xe4,0x60,0x21,0x16,0x62,0x11,0x94,0x38,0x50,0xe6,0x80,0x51,0x58,0x9a,0x9c,0x4b, 0x98,0xdc,0xd9,0x17,0x5d,0x1e,0x5c,0xd9,0xd7,0x5c,0x9a,0x5e,0x19,0xaf,0xb0,0x34, 0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x30,0xb6,0xb4,0x33,0xb7, 0xaf,0xb9,0x34,0xbd,0x32,0x26,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x1c, 0xbe,0x62,0x72,0x86,0x90,0xc1,0x52,0x28,0x6d,0xa0,0xb8,0xc1,0x72,0x28,0x62,0xb0, 0x08,0x4b,0xa0,0xbc,0x81,0x02,0x07,0x0a,0x1d,0x28,0x75,0xb0,0x1c,0x8a,0x1d,0x2c, 0x89,0x12,0x29,0x77,0xa0,0x4c,0x0a,0x1e,0x0c,0x51,0x94,0x32,0x50,0xd0,0x40,0x51, 0x03,0x85,0x0d,0x94,0x3c,0x18,0x62,0x24,0x80,0x02,0x06,0x8a,0x1e,0xf0,0x79,0x6b, 0x73,0x4b,0x83,0x7b,0xa3,0x2b,0x73,0xa3,0x03,0x19,0x43,0x0b,0x93,0xe3,0x33,0x95, 0xd6,0x06,0xc7,0x56,0x06,0x32,0xb4,0xb2,0x02,0x42,0x25,0x14,0x14,0x34,0x44,0x50, 0xfa,0x60,0x88,0xa1,0xf0,0x81,0xe2,0x07,0x8d,0x32,0xc4,0x50,0xfe,0x40,0xf9,0x83, 0x46,0x19,0x11,0xb1,0x03,0x3b,0xd8,0x43,0x3b,0xb8,0x41,0x3b,0xbc,0x03,0x39,0xd4, 0x03,0x3b,0x94,0x83,0x1b,0x98,0x03,0x3b,0x84,0xc3,0x39,0xcc,0xc3,0x14,0x21,0x18, 0x46,0x28,0xec,0xc0,0x0e,0xf6,0xd0,0x0e,0x6e,0x90,0x0e,0xe4,0x50,0x0e,0xee,0x40, 0x0f,0x53,0x82,0x62,0xc4,0x12,0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f, 0xf3,0x90,0x0e,0xef,0xe0,0x0e,0x53,0x02,0x63,0x04,0x15,0x0e,0xe9,0x20,0x0f,0x6e, 0xc0,0x0e,0xe1,0xe0,0x0e,0xe7,0x50,0x0f,0xe1,0x70,0x0e,0xe5,0xf0,0x0b,0xf6,0x50, 0x0e,0xf2,0x30,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x25,0x40,0x46,0x4c,0xe1,0x90,0x0e, 0xf2,0xe0,0x06,0xe3,0xf0,0x0e,0xed,0x00,0x0f,0xe9,0xc0,0x0e,0xe5,0xf0,0x0b,0xef, 0x00,0x0f,0xf4,0x90,0x0e,0xef,0xe0,0x0e,0xf3,0x30,0x65,0x50,0x18,0x67,0x84,0x12, 0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f,0xf4,0x50,0x0e,0xf8,0x30,0x25, 0xd8,0x03,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80, 0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80, 0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80, 0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88, 0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78, 0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03, 0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f, 0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c, 0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39, 0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b, 0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60, 0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87, 0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e, 0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c, 0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6, 0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94, 0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03, 0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07, 0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f, 0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33, 0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc, 0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c, 0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78, 0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca, 0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21, 0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43, 0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87, 0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c, 0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e, 0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c, 0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c, 0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00, 0x00,0x06,0x50,0x30,0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x3e,0x00,0x00, 0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0xf4,0xc6,0x22, 0x86,0x61,0x18,0xc6,0x22,0x04,0x41,0x10,0xc6,0x22,0x82,0x20,0x08,0xa8,0x95,0x40, 0x19,0x14,0x01,0xbd,0x11,0x00,0x1a,0x33,0x00,0x24,0x66,0x00,0x28,0xcc,0x00,0x00, 0x00,0xe3,0x15,0x4b,0x94,0x65,0x11,0x05,0x65,0x90,0x21,0x1a,0x0c,0x13,0x02,0xf9, 0x8c,0x57,0x3c,0x55,0xd7,0x2d,0x14,0x94,0x41,0x86,0xea,0x70,0x4c,0x08,0xe4,0x63, 0x41,0x01,0x9f,0xf1,0x0a,0x4a,0x13,0x03,0x31,0x70,0x28,0x28,0x83,0x0c,0x1a,0x43, 0x99,0x10,0xc8,0xc7,0x8a,0x00,0x3e,0xe3,0x15,0xd9,0x77,0x06,0x67,0x40,0x51,0x50, 0x06,0x19,0xbe,0x48,0x33,0x21,0x90,0x8f,0x15,0x01,0x7c,0xc6,0x2b,0x3c,0x32,0x68, 0x03,0x36,0x20,0x03,0x0a,0xca,0x20,0xc3,0x18,0x60,0x99,0x09,0x81,0x7c,0xc6,0x2b, 0xc4,0x00,0x0d,0xe2,0x00,0x0e,0x3c,0x0a,0xca,0x20,0xc3,0x19,0x70,0x61,0x60,0x42, 0x20,0x1f,0x0b,0x0a,0xf8,0x8c,0x57,0x9c,0x41,0x1b,0xd8,0x41,0x1d,0x88,0x01,0x05, 0xc5,0x86,0x00,0x3e,0xb3,0x0d,0x61,0x10,0x00,0xb3,0x0d,0x41,0x1b,0x04,0xb3,0x0d, 0xc1,0x23,0xcc,0x36,0x04,0x6e,0x30,0x64,0x10,0x10,0x03,0x00,0x00,0x09,0x00,0x00, 0x00,0x5b,0x86,0x20,0x00,0x85,0x2d,0x43,0x11,0x80,0xc2,0x96,0x41,0x09,0x40,0x61, 0xcb,0xf0,0x04,0xa0,0xb0,0x65,0xa0,0x02,0x50,0xd8,0x32,0x60,0x01,0x28,0x6c,0x19, 0xba,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sgl_fs_bytecode_metal_macos[2825] = { 0x4d,0x54,0x4c,0x42,0x01,0x80,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x09,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x30,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xb9,0x65,0x80,0x88,0xa2,0xc8,0x18, 0x8d,0x2a,0x38,0xc1,0x87,0xa4,0x7f,0x35,0x83,0x69,0xdc,0x8c,0xcb,0x7b,0x11,0x67, 0x89,0xc7,0xf0,0x8a,0x99,0x36,0x06,0xc5,0x90,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x10,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x81,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x70,0x94,0x34,0x45,0x94,0x30, 0xf9,0xff,0x44,0x5c,0x13,0x15,0x11,0xbf,0x3d,0xfc,0xd3,0x18,0x01,0x30,0x88,0x30, 0x04,0x17,0x49,0x53,0x44,0x09,0x93,0xff,0x4b,0x00,0xf3,0x2c,0x44,0xf4,0x4f,0x63, 0x04,0xc0,0x20,0x42,0x21,0x94,0x42,0x84,0x40,0x0c,0x9d,0x61,0x04,0x01,0x98,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0x88,0x49,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xb2,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x76,0x08,0x87, 0x71,0x78,0x87,0x79,0xc0,0x87,0x38,0x80,0x03,0x37,0x88,0x83,0x38,0x70,0x03,0x38, 0xd8,0x70,0x1b,0xe5,0xd0,0x06,0xf0,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x90,0x0e,0x71,0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0, 0x06,0xe9,0x80,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x71,0x60,0x07, 0x7a,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x6d,0x90,0x0e,0x73,0x20,0x07,0x7a, 0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x90,0x0e,0x76,0x40,0x07,0x7a,0x60, 0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0e,0x73,0x20,0x07,0x7a,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x6d,0x60,0x0e,0x76,0x40,0x07,0x7a,0x60,0x07,0x74, 0xa0,0x07,0x76,0x40,0x07,0x6d,0x60,0x0f,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xa0, 0x07,0x71,0x60,0x07,0x6d,0x60,0x0f,0x72,0x40,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07, 0x73,0x20,0x07,0x6d,0x60,0x0f,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xa0,0x07,0x73, 0x20,0x07,0x6d,0x60,0x0f,0x74,0x80,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40, 0x07,0x6d,0x60,0x0f,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07, 0x6d,0x60,0x0f,0x79,0x60,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0, 0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x79,0x20,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x72,0x50,0x07,0x76, 0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x50, 0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07,0x7a,0x50,0x07,0x71,0x20,0x07, 0x6d,0x60,0x0f,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x6d,0xe0,0x0e,0x78,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x30,0x07,0x72,0x30,0x84,0x41,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x00, 0x18,0xc2,0x38,0x40,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x64,0x81,0x00,0x00,0x00, 0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26, 0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70, 0x2c,0xa1,0x09,0x00,0x00,0x79,0x18,0x00,0x00,0xb7,0x00,0x00,0x00,0x1a,0x03,0x4c, 0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42, 0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62, 0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e, 0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6, 0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06, 0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45, 0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84, 0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56, 0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78, 0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61, 0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84, 0x67,0x61,0x19,0x84,0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98, 0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1, 0x7d,0x91,0xa5,0xcd,0x85,0x89,0xb1,0x95,0x0d,0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c, 0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d,0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0, 0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c,0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32, 0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2,0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe, 0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d,0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d, 0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9,0x99,0x86,0x08,0x0f,0x45,0x29,0x2c, 0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc,0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e, 0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb,0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34, 0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e,0x61,0x69,0x72,0x2e,0x70,0x65,0x72, 0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x14,0xea,0xec,0x86,0x48,0xcb,0xf0,0x58, 0xcf,0xf5,0x60,0x4f,0xf6,0x40,0x4f,0xf4,0x48,0x8f,0xc6,0xa5,0x6e,0xae,0x4c,0x0e, 0x85,0xed,0x6d,0xcc,0x2d,0x26,0x85,0xc5,0xd8,0x1b,0xdb,0x9b,0xdc,0x10,0x69,0x11, 0x1e,0xeb,0xe1,0x1e,0xec,0xc9,0x1e,0xe8,0x89,0x1e,0xe9,0xe9,0xb8,0x84,0xa5,0xc9, 0xb9,0xd0,0x95,0xe1,0xd1,0xd5,0xc9,0x95,0x51,0x0a,0x4b,0x93,0x73,0x61,0x7b,0x1b, 0x0b,0xa3,0x4b,0x7b,0x73,0xfb,0x4a,0x73,0x23,0x2b,0xc3,0xa3,0x12,0x96,0x26,0xe7, 0x32,0x17,0xd6,0x06,0xc7,0x56,0x46,0x8c,0xae,0x0c,0x8f,0xae,0x4e,0xae,0x4c,0x86, 0x8c,0xc7,0x8c,0xed,0x2d,0x8c,0x8e,0x05,0x64,0x2e,0xac,0x0d,0x8e,0xad,0xcc,0x87, 0x03,0x5d,0x19,0xde,0x10,0x6a,0x21,0x9e,0xef,0x01,0x83,0x65,0x58,0x84,0x27,0x0c, 0x1e,0xe8,0x11,0x83,0x47,0x7a,0xc6,0x80,0x4b,0x58,0x9a,0x9c,0xcb,0x5c,0x58,0x1b, 0x1c,0x5b,0x99,0x1c,0x8f,0xb9,0xb0,0x36,0x38,0xb6,0x32,0x39,0x0e,0x73,0x6d,0x70, 0x43,0xa4,0xe5,0x78,0xca,0xe0,0x01,0x83,0x65,0x58,0x84,0x07,0x7a,0xcc,0xe0,0x91, 0x9e,0x33,0x18,0x82,0x3c,0xdb,0xe3,0x3d,0x64,0xf0,0xa0,0xc1,0x10,0x03,0x01,0x9e, 0xea,0x49,0x83,0x11,0x11,0x3b,0xb0,0x83,0x3d,0xb4,0x83,0x1b,0xb4,0xc3,0x3b,0x90, 0x43,0x3d,0xb0,0x43,0x39,0xb8,0x81,0x39,0xb0,0x43,0x38,0x9c,0xc3,0x3c,0x4c,0x11, 0x82,0x61,0x84,0xc2,0x0e,0xec,0x60,0x0f,0xed,0xe0,0x06,0xe9,0x40,0x0e,0xe5,0xe0, 0x0e,0xf4,0x30,0x25,0x28,0x46,0x2c,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xf6,0x50,0x0e, 0xf2,0x30,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x25,0x30,0x46,0x50,0xe1,0x90,0x0e,0xf2, 0xe0,0x06,0xec,0x10,0x0e,0xee,0x70,0x0e,0xf5,0x10,0x0e,0xe7,0x50,0x0e,0xbf,0x60, 0x0f,0xe5,0x20,0x0f,0xf3,0x90,0x0e,0xef,0xe0,0x0e,0x53,0x02,0x64,0xc4,0x14,0x0e, 0xe9,0x20,0x0f,0x6e,0x30,0x0e,0xef,0xd0,0x0e,0xf0,0x90,0x0e,0xec,0x50,0x0e,0xbf, 0xf0,0x0e,0xf0,0x40,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x0f,0x53,0x06,0x85,0x71,0x46, 0x30,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xe6,0x20,0x0f,0xe1,0x70,0x0e,0xed,0x50,0x0e, 0xee,0x40,0x0f,0x53,0x02,0x35,0x00,0x00,0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00, 0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84, 0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed, 0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66, 0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c, 0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70, 0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90, 0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4, 0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83, 0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14, 0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68,0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70, 0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07,0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80, 0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72,0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0, 0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec,0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1, 0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc,0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d, 0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8,0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39, 0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03,0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc, 0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c,0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70, 0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74,0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53, 0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4,0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e, 0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc,0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c, 0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1,0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38, 0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50,0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37, 0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51,0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33, 0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21,0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4, 0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06,0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0, 0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c,0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3, 0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77,0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07, 0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec,0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23, 0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8,0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59, 0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4,0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b, 0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43,0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00, 0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01,0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f, 0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e,0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20, 0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00,0x00,0x0f,0x00,0x00,0x00,0x13,0x04,0x41, 0x2c,0x10,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0xc4,0x46,0x00,0xc6,0x12,0x80,0x80, 0xd4,0x08,0x40,0x0d,0x90,0x98,0x01,0xa0,0x30,0x03,0x40,0x60,0x04,0x00,0x00,0x00, 0x00,0x83,0x0c,0x8b,0x60,0x8c,0x18,0x28,0x42,0x40,0x29,0x49,0x50,0x20,0x86,0x60, 0x01,0x23,0x9f,0xd9,0x06,0x23,0x00,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sgl_vs_bytecode_metal_ios[3317] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf5,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x44,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x15,0x01,0x00,0x00,0x00,0x00,0x00,0x00, 0xe0,0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x00,0x48,0x41,0x53,0x48,0x20,0x00,0x17,0x11,0x57,0x16,0x94,0x42,0x52, 0xfb,0x1e,0xd0,0x32,0xfd,0x87,0x16,0xb0,0xa4,0xd0,0xc2,0x43,0xbe,0x93,0x8c,0xe0, 0x2d,0x7a,0x5c,0x3e,0x06,0x4c,0x57,0xeb,0x4b,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x40,0x00,0x00,0x00,0x56,0x41,0x54, 0x54,0x2a,0x00,0x04,0x00,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0x00,0x80, 0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x00,0x01,0x80,0x63,0x6f,0x6c,0x6f, 0x72,0x30,0x00,0x02,0x80,0x70,0x73,0x69,0x7a,0x65,0x00,0x03,0x80,0x56,0x41,0x54, 0x59,0x06,0x00,0x04,0x00,0x06,0x04,0x06,0x03,0x45,0x4e,0x44,0x54,0x04,0x00,0x00, 0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00,0x00,0x14,0x00,0x00, 0x00,0xc0,0x0b,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0,0xde,0x21,0x0c,0x00, 0x00,0xed,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00,0x00,0x12,0x00,0x00, 0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32,0x39,0x92,0x01,0x84, 0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45,0x02,0x42,0x92,0x0b, 0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44,0x24,0x48,0x0a,0x90, 0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8,0x48,0x11,0x62,0xa8, 0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00,0x00,0x82,0x00,0x00, 0x00,0x1b,0xc8,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x90,0x80,0x8a,0x18,0x87,0x77, 0x90,0x07,0x79,0x28,0x87,0x71,0xa0,0x07,0x76,0xc8,0x87,0x36,0x90,0x87,0x77,0xa8, 0x07,0x77,0x20,0x87,0x72,0x20,0x87,0x36,0x20,0x87,0x74,0xb0,0x87,0x74,0x20,0x87, 0x72,0x68,0x83,0x79,0x88,0x07,0x79,0xa0,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0x82,0x1c, 0xd2,0x61,0x1e,0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xda,0x80,0x1e,0xc2,0x21,0x1d,0xd8, 0xa1,0x0d,0xc6,0x21,0x1c,0xd8,0x81,0x1d,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x80,0x60,0x87,0x72,0x98,0x87,0x79,0x68,0x03,0x78,0x90,0x87,0x72,0x18, 0x87,0x74,0x98,0x87,0x72,0x68,0x03,0x73,0x80,0x87,0x76,0x08,0x07,0x72,0x00,0xcc, 0x21,0x1c,0xd8,0x61,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d,0xda,0xc0,0x1c,0xe4,0x21, 0x1c,0xda,0xa1,0x1c,0xda,0x00,0x1e,0xde,0x21,0x1d,0xdc,0x81,0x1e,0xca,0x41,0x1e, 0xda,0xa0,0x1c,0xd8,0x21,0x1d,0xda,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x06, 0x77,0x78,0x87,0x36,0x30,0x07,0x79,0x08,0x87,0x76,0x28,0x87,0x36,0x80,0x87,0x77, 0x48,0x07,0x77,0xa0,0x87,0x72,0x90,0x87,0x36,0x28,0x07,0x76,0x48,0x87,0x76,0x68, 0x03,0x77,0x78,0x07,0x77,0x68,0x03,0x76,0x28,0x87,0x70,0x30,0x07,0x80,0x70,0x87, 0x77,0x68,0x83,0x74,0x70,0x07,0x73,0x98,0x87,0x36,0x30,0x07,0x78,0x68,0x83,0x76, 0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xdc,0xe1,0x1d, 0xda,0x40,0x1d,0xea,0xa1,0x1d,0xe0,0xa1,0x0d,0xe8,0x21,0x1c,0xc4,0x81,0x1d,0xca, 0x61,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36, 0x70,0x87,0x70,0x70,0x87,0x79,0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0, 0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1,0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xe6, 0x21,0x1d,0xce,0xc1,0x1d,0xca,0x81,0x1c,0xda,0x40,0x1f,0xca,0x41,0x1e,0xde,0x61, 0x1e,0xda,0xc0,0x1c,0xe0,0xa1,0x0d,0xda,0x21,0x1c,0xe8,0x01,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x80,0x70,0x87,0x77,0x68,0x03,0x7a,0x90,0x87,0x70,0x80,0x07, 0x78,0x48,0x07,0x77,0x38,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41, 0x1e,0xea,0xa1,0x1c,0x00,0x62,0x1e,0xe8,0x21,0x1c,0xc6,0x61,0x1d,0xda,0x00,0x1e, 0xe4,0xe1,0x1d,0xe8,0xa1,0x1c,0xc6,0x81,0x1e,0xde,0x41,0x1e,0xda,0x40,0x1c,0xea, 0xc1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x0d,0xe6,0x21,0x1d,0xf4,0xa1,0x1c,0x00,0x3c, 0x00,0x88,0x7a,0x70,0x87,0x79,0x08,0x07,0x73,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xea, 0x61,0x1e,0xca,0xa1,0x0d,0xe6,0xe1,0x1d,0xcc,0x81,0x1e,0xda,0xc0,0x1c,0xd8,0xe1, 0x1d,0xc2,0x81,0x1e,0x00,0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x36,0x20,0x42, 0x01,0x24,0xc0,0x02,0x54,0x00,0x00,0x00,0x00,0x49,0x18,0x00,0x00,0x01,0x00,0x00, 0x00,0x13,0x84,0x40,0x00,0x89,0x20,0x00,0x00,0x20,0x00,0x00,0x00,0x32,0x22,0x48, 0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4,0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90, 0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4,0x4c,0x10,0x44,0x33,0x00,0xc3,0x08,0x04, 0x60,0x89,0x10,0x02,0x18,0x46,0x10,0x80,0x24,0x08,0x33,0x51,0xf3,0x40,0x0f,0xf2, 0x50,0x0f,0xe3,0x40,0x0f,0x6e,0xd0,0x0e,0xe5,0x40,0x0f,0xe1,0xc0,0x0e,0x7a,0xa0, 0x07,0xed,0x10,0x0e,0xf4,0x20,0x0f,0xe9,0x80,0x0f,0x28,0x20,0x07,0x49,0x53,0x44, 0x09,0x93,0x5f,0x49,0xff,0x03,0x44,0x00,0x23,0x21,0xa1,0x94,0x41,0x04,0x43,0x28, 0x86,0x08,0x23,0x80,0x43,0x68,0x20,0x60,0x8e,0x00,0x0c,0x52,0x60,0xcd,0x11,0x80, 0xc2,0x20,0x42,0x20,0x0c,0x23,0x10,0xcb,0x08,0x00,0x00,0x00,0x00,0x13,0xa8,0x70, 0x48,0x07,0x79,0xb0,0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68, 0x83,0x74,0x78,0x87,0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51, 0x0e,0x6d,0x00,0x0f,0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xe9,0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78, 0xa0,0x07,0x78,0xa0,0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60, 0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07, 0x7a,0x30,0x07,0x72,0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a, 0x60,0x07,0x74,0xd0,0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30, 0x07,0x72,0xd0,0x06,0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07, 0x74,0xd0,0x06,0xf6,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76, 0xd0,0x06,0xf6,0x20,0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0, 0x06,0xf6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xf6,0x40,0x07,0x78,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90, 0x07,0x76,0xa0,0x07,0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06, 0xf6,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72, 0x80,0x07,0x6d,0x60,0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0, 0x07,0x72,0x50,0x07,0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07, 0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72, 0xa0,0x07,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10, 0x07,0x70,0x20,0x07,0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07, 0x70,0x20,0x07,0x74,0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73, 0x20,0x07,0x43,0x98,0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x2c,0x10,0x00, 0x00,0x0b,0x00,0x00,0x00,0x32,0x1e,0x98,0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26, 0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02,0x50,0x04,0x05,0x18,0x50,0x08,0x65,0x50, 0x80,0x02,0x05,0x51,0x20,0xd4,0x46,0x00,0x88,0x8d,0x25,0x40,0x02,0x00,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x02,0x01,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2, 0x25,0x10,0xab,0x32,0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x32,0x28,0x00,0xb3,0x50, 0xb9,0x1b,0x43,0x0b,0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0x81,0x22,0x2c, 0x05,0xe7,0x20,0x08,0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae, 0x4c,0x6e,0x2e,0xed,0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06, 0x04,0xa5,0xad,0x8c,0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5, 0xc6,0xe6,0xc6,0x45,0x26,0x65,0x88,0xa0,0x10,0x43,0x8c,0x25,0x58,0x90,0x45,0x60, 0xd1,0x54,0x46,0x17,0xc6,0x36,0x04,0x51,0x8e,0x25,0x58,0x82,0x45,0xe0,0x16,0x96, 0x26,0xe7,0x32,0xf6,0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7, 0x36,0xf7,0x45,0x96,0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x50,0x12,0x72,0x61,0x69, 0x72,0x2e,0x63,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d, 0x61,0x74,0x68,0x5f,0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x04,0x65,0x21,0x19,0x84, 0xa5,0xc9,0xb9,0x8c,0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95, 0x89,0xd5,0x99,0x99,0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85, 0x89,0xb1,0x95,0x0d,0x11,0x94,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5d,0x99,0x1c,0x5d, 0x19,0xde,0xd7,0x5b,0x1d,0x1d,0x5c,0x1d,0x1d,0x97,0xba,0xb9,0x32,0x39,0x14,0xb6, 0xb7,0x31,0x37,0x98,0x14,0x46,0x61,0x69,0x72,0x2e,0x61,0x72,0x67,0x5f,0x74,0x79, 0x70,0x65,0x5f,0x6e,0x61,0x6d,0x65,0x34,0xcc,0xd8,0xde,0xc2,0xe8,0x68,0xc8,0x84, 0xa5,0xc9,0xb9,0x84,0xc9,0x9d,0x7d,0xb9,0x85,0xb5,0x95,0x51,0xa8,0xb3,0x1b,0xc2, 0x28,0x8f,0x02,0x29,0x91,0x22,0x29,0x93,0x42,0x71,0xa9,0x9b,0x2b,0x93,0x43,0x61, 0x7b,0x1b,0x73,0x8b,0x49,0x61,0x31,0xf6,0xc6,0xf6,0x26,0x37,0x84,0x51,0x1e,0xc5, 0x52,0x22,0x45,0x52,0x26,0xe5,0x22,0x13,0x96,0x26,0xe7,0x02,0xf7,0x36,0x97,0x46, 0x97,0xf6,0xe6,0xc6,0xe5,0x8c,0xed,0x0b,0xea,0x6d,0x2e,0x8d,0x2e,0xed,0xcd,0x6d, 0x88,0xa2,0x64,0x4a,0xa4,0x48,0xca,0xa4,0x68,0x74,0xc2,0xd2,0xe4,0x5c,0xe0,0xde, 0xd2,0xdc,0xe8,0xbe,0xe6,0xd2,0xf4,0xca,0x58,0x98,0xb1,0xbd,0x85,0xd1,0x91,0x39, 0x63,0xfb,0x82,0x7a,0x4b,0x73,0xa3,0x9b,0x4a,0xd3,0x2b,0x1b,0xa2,0x28,0x9c,0x12, 0x29,0x9d,0x32,0x29,0xde,0x10,0x44,0xa9,0x14,0x4c,0xd9,0x94,0x8f,0x50,0x58,0x9a, 0x9c,0x8b,0x5d,0x99,0x1c,0x5d,0x19,0xde,0x57,0x9a,0x1b,0x5c,0x1d,0x1d,0xa5,0xb0, 0x34,0x39,0x17,0xb6,0xb7,0xb1,0x30,0xba,0xb4,0x37,0xb7,0xaf,0x34,0x37,0xb2,0x32, 0x3c,0x7a,0x67,0x65,0x6e,0x65,0x72,0x61,0x74,0x65,0x64,0x28,0x5f,0x5f,0x61,0x69, 0x72,0x5f,0x70,0x6c,0x61,0x63,0x65,0x68,0x6f,0x6c,0x64,0x65,0x72,0x5f,0x5f,0x29, 0x44,0xe0,0xde,0xe6,0xd2,0xe8,0xd2,0xde,0xdc,0x86,0x50,0x8b,0xa0,0x84,0x81,0x22, 0x06,0x8b,0xb0,0x04,0xca,0x18,0x28,0x91,0x22,0x29,0x93,0x42,0x06,0x34,0xcc,0xd8, 0xde,0xc2,0xe8,0x64,0x98,0xd0,0x95,0xe1,0x8d,0xbd,0xbd,0xc9,0x91,0xc1,0x0c,0xa1, 0x96,0x40,0x09,0x03,0x45,0x0c,0x96,0x60,0x09,0x94,0x31,0x50,0x22,0xc5,0x0c,0x94, 0x49,0x39,0x03,0x1a,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x43,0xa8,0x65,0x50,0xc2,0x40, 0x11,0x83,0x65,0x58,0x02,0x65,0x0c,0x94,0x48,0x91,0x94,0x49,0x49,0x03,0x16,0x70, 0x73,0x69,0x7a,0x65,0x43,0xa8,0xc5,0x50,0xc2,0x40,0x11,0x83,0xc5,0x58,0x02,0x65, 0x0c,0x94,0x48,0xe9,0x94,0x49,0x59,0x03,0x2a,0x61,0x69,0x72,0x2e,0x62,0x75,0x66, 0x66,0x65,0x72,0x7c,0xc2,0xd2,0xe4,0x5c,0xc4,0xea,0xcc,0xcc,0xca,0xe4,0xbe,0xe6, 0xd2,0xf4,0xca,0x88,0x84,0xa5,0xc9,0xb9,0xc8,0x95,0x85,0x91,0x91,0x0a,0x4b,0x93, 0x73,0x99,0xa3,0x93,0xab,0x1b,0xa3,0xfb,0xa2,0xcb,0x83,0x2b,0xfb,0x4a,0x73,0x33, 0x7b,0x23,0x62,0xc6,0xf6,0x16,0x46,0x47,0x83,0x47,0xc3,0xa1,0xcd,0x0e,0x8e,0x02, 0x5d,0xdb,0x10,0x6a,0x11,0x16,0x62,0x11,0x94,0x38,0x50,0xe4,0x60,0x21,0x16,0x62, 0x11,0x94,0x38,0x50,0xe6,0x80,0x51,0x58,0x9a,0x9c,0x4b,0x98,0xdc,0xd9,0x17,0x5d, 0x1e,0x5c,0xd9,0xd7,0x5c,0x9a,0x5e,0x19,0xaf,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3, 0x2f,0xba,0x3c,0xb8,0xb2,0xaf,0x30,0xb6,0xb4,0x33,0xb7,0xaf,0xb9,0x34,0xbd,0x32, 0x26,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x1c,0xbe,0x62,0x72,0x86,0x90, 0xc1,0x52,0x28,0x6d,0xa0,0xb8,0xc1,0x72,0x28,0x62,0xb0,0x08,0x4b,0xa0,0xbc,0x81, 0x02,0x07,0x0a,0x1d,0x28,0x75,0xb0,0x1c,0x8a,0x1d,0x2c,0x89,0x12,0x29,0x77,0xa0, 0x4c,0x0a,0x1e,0x0c,0x51,0x94,0x32,0x50,0xd0,0x40,0x51,0x03,0x85,0x0d,0x94,0x3c, 0x18,0x62,0x24,0x80,0x02,0x06,0x8a,0x1e,0xf0,0x79,0x6b,0x73,0x4b,0x83,0x7b,0xa3, 0x2b,0x73,0xa3,0x03,0x19,0x43,0x0b,0x93,0xe3,0x33,0x95,0xd6,0x06,0xc7,0x56,0x06, 0x32,0xb4,0xb2,0x02,0x42,0x25,0x14,0x14,0x34,0x44,0x50,0xfa,0x60,0x88,0xa1,0xf0, 0x81,0xe2,0x07,0x8d,0x32,0xc4,0x50,0xfe,0x40,0xf9,0x83,0x46,0x19,0x11,0xb1,0x03, 0x3b,0xd8,0x43,0x3b,0xb8,0x41,0x3b,0xbc,0x03,0x39,0xd4,0x03,0x3b,0x94,0x83,0x1b, 0x98,0x03,0x3b,0x84,0xc3,0x39,0xcc,0xc3,0x14,0x21,0x18,0x46,0x28,0xec,0xc0,0x0e, 0xf6,0xd0,0x0e,0x6e,0x90,0x0e,0xe4,0x50,0x0e,0xee,0x40,0x0f,0x53,0x82,0x62,0xc4, 0x12,0x0e,0xe9,0x20,0x0f,0x6e,0x60,0x0f,0xe5,0x20,0x0f,0xf3,0x90,0x0e,0xef,0xe0, 0x0e,0x53,0x02,0x63,0x04,0x15,0x0e,0xe9,0x20,0x0f,0x6e,0xc0,0x0e,0xe1,0xe0,0x0e, 0xe7,0x50,0x0f,0xe1,0x70,0x0e,0xe5,0xf0,0x0b,0xf6,0x50,0x0e,0xf2,0x30,0x0f,0xe9, 0xf0,0x0e,0xee,0x30,0x25,0x40,0x46,0x4c,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xe3,0xf0, 0x0e,0xed,0x00,0x0f,0xe9,0xc0,0x0e,0xe5,0xf0,0x0b,0xef,0x00,0x0f,0xf4,0x90,0x0e, 0xef,0xe0,0x0e,0xf3,0x30,0x65,0x50,0x18,0x67,0x84,0x12,0x0e,0xe9,0x20,0x0f,0x6e, 0x60,0x0f,0xe5,0x20,0x0f,0xf4,0x50,0x0e,0xf8,0x30,0x25,0xd8,0x03,0x00,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x50,0x30, 0x00,0xd2,0xd0,0x00,0x00,0x61,0x20,0x00,0x00,0x3e,0x00,0x00,0x00,0x13,0x04,0x41, 0x2c,0x10,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0xf4,0xc6,0x22,0x86,0x61,0x18,0xc6, 0x22,0x04,0x41,0x10,0xc6,0x22,0x82,0x20,0x08,0xa8,0x95,0x40,0x19,0x14,0x01,0xbd, 0x11,0x00,0x1a,0x33,0x00,0x24,0x66,0x00,0x28,0xcc,0x00,0x00,0x00,0xe3,0x15,0x4b, 0x94,0x65,0x11,0x05,0x65,0x90,0x21,0x1a,0x0c,0x13,0x02,0xf9,0x8c,0x57,0x3c,0x55, 0xd7,0x2d,0x14,0x94,0x41,0x86,0xea,0x70,0x4c,0x08,0xe4,0x63,0x41,0x01,0x9f,0xf1, 0x0a,0x4a,0x13,0x03,0x31,0x70,0x28,0x28,0x83,0x0c,0x1a,0x43,0x99,0x10,0xc8,0xc7, 0x8a,0x00,0x3e,0xe3,0x15,0xd9,0x77,0x06,0x67,0x40,0x51,0x50,0x06,0x19,0xbe,0x48, 0x33,0x21,0x90,0x8f,0x15,0x01,0x7c,0xc6,0x2b,0x3c,0x32,0x68,0x03,0x36,0x20,0x03, 0x0a,0xca,0x20,0xc3,0x18,0x60,0x99,0x09,0x81,0x7c,0xc6,0x2b,0xc4,0x00,0x0d,0xe2, 0x00,0x0e,0x3c,0x0a,0xca,0x20,0xc3,0x19,0x70,0x61,0x60,0x42,0x20,0x1f,0x0b,0x0a, 0xf8,0x8c,0x57,0x9c,0x41,0x1b,0xd8,0x41,0x1d,0x88,0x01,0x05,0xc5,0x86,0x00,0x3e, 0xb3,0x0d,0x61,0x10,0x00,0xb3,0x0d,0x41,0x1b,0x04,0xb3,0x0d,0xc1,0x23,0xcc,0x36, 0x04,0x6e,0x30,0x64,0x10,0x10,0x03,0x00,0x00,0x09,0x00,0x00,0x00,0x5b,0x86,0x20, 0x00,0x85,0x2d,0x43,0x11,0x80,0xc2,0x96,0x41,0x09,0x40,0x61,0xcb,0xf0,0x04,0xa0, 0xb0,0x65,0xa0,0x02,0x50,0xd8,0x32,0x60,0x01,0x28,0x6c,0x19,0xba,0x00,0x14,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sgl_fs_bytecode_metal_ios[2809] = { 0x4d,0x54,0x4c,0x42,0x01,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0xf9,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x58,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x6d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd1,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd9,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x20,0x0a,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x00,0x00,0x00, 0x4e,0x41,0x4d,0x45,0x06,0x00,0x6d,0x61,0x69,0x6e,0x30,0x00,0x54,0x59,0x50,0x45, 0x01,0x00,0x01,0x48,0x41,0x53,0x48,0x20,0x00,0xc1,0x98,0x28,0x2b,0x2b,0x1f,0x36, 0x7c,0x5c,0xb0,0x69,0x3f,0xc3,0xd1,0x80,0x4b,0xcf,0xa1,0x10,0xfc,0x19,0x31,0x58, 0xad,0x45,0xd3,0x5a,0x81,0x72,0x0d,0x8f,0x85,0x4f,0x46,0x46,0x54,0x18,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x56,0x45,0x52,0x53,0x08,0x00,0x01,0x00,0x08, 0x00,0x01,0x00,0x01,0x00,0x45,0x4e,0x44,0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44, 0x54,0x04,0x00,0x00,0x00,0x45,0x4e,0x44,0x54,0xde,0xc0,0x17,0x0b,0x00,0x00,0x00, 0x00,0x14,0x00,0x00,0x00,0x08,0x0a,0x00,0x00,0xff,0xff,0xff,0xff,0x42,0x43,0xc0, 0xde,0x21,0x0c,0x00,0x00,0x7f,0x02,0x00,0x00,0x0b,0x82,0x20,0x00,0x02,0x00,0x00, 0x00,0x12,0x00,0x00,0x00,0x07,0x81,0x23,0x91,0x41,0xc8,0x04,0x49,0x06,0x10,0x32, 0x39,0x92,0x01,0x84,0x0c,0x25,0x05,0x08,0x19,0x1e,0x04,0x8b,0x62,0x80,0x14,0x45, 0x02,0x42,0x92,0x0b,0x42,0xa4,0x10,0x32,0x14,0x38,0x08,0x18,0x49,0x0a,0x32,0x44, 0x24,0x48,0x0a,0x90,0x21,0x23,0xc4,0x52,0x80,0x0c,0x19,0x21,0x72,0x24,0x07,0xc8, 0x48,0x11,0x62,0xa8,0xa0,0xa8,0x40,0xc6,0xf0,0x01,0x00,0x00,0x00,0x51,0x18,0x00, 0x00,0x89,0x00,0x00,0x00,0x1b,0xcc,0x25,0xf8,0xff,0xff,0xff,0xff,0x01,0x60,0x00, 0x09,0xa8,0x88,0x71,0x78,0x07,0x79,0x90,0x87,0x72,0x18,0x07,0x7a,0x60,0x87,0x7c, 0x68,0x03,0x79,0x78,0x87,0x7a,0x70,0x07,0x72,0x28,0x07,0x72,0x68,0x03,0x72,0x48, 0x07,0x7b,0x48,0x07,0x72,0x28,0x87,0x36,0x98,0x87,0x78,0x90,0x07,0x7a,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xcc,0x21,0x1c,0xd8,0x61, 0x1e,0xca,0x01,0x20,0xc8,0x21,0x1d,0xe6,0x21,0x1c,0xc4,0x81,0x1d,0xca,0xa1,0x0d, 0xe8,0x21,0x1c,0xd2,0x81,0x1d,0xda,0x60,0x1c,0xc2,0x81,0x1d,0xd8,0x61,0x1e,0x00, 0x73,0x08,0x07,0x76,0x98,0x87,0x72,0x00,0x08,0x76,0x28,0x87,0x79,0x98,0x87,0x36, 0x80,0x07,0x79,0x28,0x87,0x71,0x48,0x87,0x79,0x28,0x87,0x36,0x30,0x07,0x78,0x68, 0x87,0x70,0x20,0x07,0xc0,0x1c,0xc2,0x81,0x1d,0xe6,0xa1,0x1c,0x00,0xc2,0x1d,0xde, 0xa1,0x0d,0xcc,0x41,0x1e,0xc2,0xa1,0x1d,0xca,0xa1,0x0d,0xe0,0xe1,0x1d,0xd2,0xc1, 0x1d,0xe8,0xa1,0x1c,0xe4,0xa1,0x0d,0xca,0x81,0x1d,0xd2,0xa1,0x1d,0x00,0x7a,0x90, 0x87,0x7a,0x28,0x07,0x60,0x70,0x87,0x77,0x68,0x03,0x73,0x90,0x87,0x70,0x68,0x87, 0x72,0x68,0x03,0x78,0x78,0x87,0x74,0x70,0x07,0x7a,0x28,0x07,0x79,0x68,0x83,0x72, 0x60,0x87,0x74,0x68,0x87,0x36,0x70,0x87,0x77,0x70,0x87,0x36,0x60,0x87,0x72,0x08, 0x07,0x73,0x00,0x08,0x77,0x78,0x87,0x36,0x48,0x07,0x77,0x30,0x87,0x79,0x68,0x03, 0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e,0xea,0xa1, 0x1c,0x00,0xc2,0x1d,0xde,0xa1,0x0d,0xd4,0xa1,0x1e,0xda,0x01,0x1e,0xda,0x80,0x1e, 0xc2,0x41,0x1c,0xd8,0xa1,0x1c,0xe6,0x01,0x30,0x87,0x70,0x60,0x87,0x79,0x28,0x07, 0x80,0x70,0x87,0x77,0x68,0x03,0x77,0x08,0x07,0x77,0x98,0x87,0x36,0x30,0x07,0x78, 0x68,0x83,0x76,0x08,0x07,0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20, 0xdc,0xe1,0x1d,0xda,0x60,0x1e,0xd2,0xe1,0x1c,0xdc,0xa1,0x1c,0xc8,0xa1,0x0d,0xf4, 0xa1,0x1c,0xe4,0xe1,0x1d,0xe6,0xa1,0x0d,0xcc,0x01,0x1e,0xda,0xa0,0x1d,0xc2,0x81, 0x1e,0xd0,0x01,0xa0,0x07,0x79,0xa8,0x87,0x72,0x00,0x08,0x77,0x78,0x87,0x36,0xa0, 0x07,0x79,0x08,0x07,0x78,0x80,0x87,0x74,0x70,0x87,0x73,0x68,0x83,0x76,0x08,0x07, 0x7a,0x40,0x07,0x80,0x1e,0xe4,0xa1,0x1e,0xca,0x01,0x20,0xe6,0x81,0x1e,0xc2,0x61, 0x1c,0xd6,0xa1,0x0d,0xe0,0x41,0x1e,0xde,0x81,0x1e,0xca,0x61,0x1c,0xe8,0xe1,0x1d, 0xe4,0xa1,0x0d,0xc4,0xa1,0x1e,0xcc,0xc1,0x1c,0xca,0x41,0x1e,0xda,0x60,0x1e,0xd2, 0x41,0x1f,0xca,0x01,0xc0,0x03,0x80,0xa8,0x07,0x77,0x98,0x87,0x70,0x30,0x87,0x72, 0x68,0x03,0x73,0x80,0x87,0x36,0x68,0x87,0x70,0xa0,0x07,0x74,0x00,0xe8,0x41,0x1e, 0xea,0xa1,0x1c,0x00,0xa2,0x1e,0xe6,0xa1,0x1c,0xda,0x60,0x1e,0xde,0xc1,0x1c,0xe8, 0xa1,0x0d,0xcc,0x81,0x1d,0xde,0x21,0x1c,0xe8,0x01,0x30,0x87,0x70,0x60,0x87,0x79, 0x28,0x07,0x60,0x83,0x21,0x0c,0xc0,0x02,0x54,0x1b,0x8c,0x81,0x00,0x16,0xa0,0xda, 0x80,0x10,0xff,0xff,0xff,0xff,0x3f,0x00,0x0c,0x20,0x01,0xd5,0x06,0xa3,0x08,0x80, 0x05,0xa8,0x36,0x18,0x86,0x00,0x2c,0x40,0x05,0x49,0x18,0x00,0x00,0x03,0x00,0x00, 0x00,0x13,0x86,0x40,0x18,0x26,0x0c,0x44,0x61,0x00,0x00,0x00,0x00,0x89,0x20,0x00, 0x00,0x1d,0x00,0x00,0x00,0x32,0x22,0x48,0x09,0x20,0x64,0x85,0x04,0x93,0x22,0xa4, 0x84,0x04,0x93,0x22,0xe3,0x84,0xa1,0x90,0x14,0x12,0x4c,0x8a,0x8c,0x0b,0x84,0xa4, 0x4c,0x10,0x48,0x33,0x00,0xc3,0x08,0x04,0x60,0x83,0x70,0x94,0x34,0x45,0x94,0x30, 0xf9,0xff,0x44,0x5c,0x13,0x15,0x11,0xbf,0x3d,0xfc,0xd3,0x18,0x01,0x30,0x88,0x30, 0x04,0x17,0x49,0x53,0x44,0x09,0x93,0xff,0x4b,0x00,0xf3,0x2c,0x44,0xf4,0x4f,0x63, 0x04,0xc0,0x20,0x42,0x21,0x94,0x42,0x84,0x40,0x0c,0x9d,0x61,0x04,0x01,0x98,0x23, 0x08,0xe6,0x08,0xc0,0x60,0x18,0x41,0x58,0x0a,0x12,0x88,0x49,0x8a,0x29,0x40,0x6d, 0x20,0x20,0x05,0xd6,0x08,0x00,0x00,0x00,0x00,0x13,0xa8,0x70,0x48,0x07,0x79,0xb0, 0x03,0x3a,0x68,0x83,0x70,0x80,0x07,0x78,0x60,0x87,0x72,0x68,0x83,0x74,0x78,0x87, 0x79,0xc8,0x03,0x37,0x80,0x03,0x37,0x80,0x83,0x0d,0xb7,0x51,0x0e,0x6d,0x00,0x0f, 0x7a,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xe9, 0x10,0x07,0x7a,0x80,0x07,0x7a,0x80,0x07,0x6d,0x90,0x0e,0x78,0xa0,0x07,0x78,0xa0, 0x07,0x78,0xd0,0x06,0xe9,0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07, 0x76,0xd0,0x06,0xe9,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72, 0xd0,0x06,0xe9,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0, 0x06,0xe6,0x30,0x07,0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06, 0xe6,0x60,0x07,0x74,0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6, 0x10,0x07,0x76,0xa0,0x07,0x71,0x60,0x07,0x7a,0x10,0x07,0x76,0xd0,0x06,0xf6,0x20, 0x07,0x74,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x30,0x07, 0x72,0xa0,0x07,0x73,0x20,0x07,0x7a,0x30,0x07,0x72,0xd0,0x06,0xf6,0x40,0x07,0x78, 0xa0,0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x60,0x07,0x74,0xa0, 0x07,0x76,0x40,0x07,0x7a,0x60,0x07,0x74,0xd0,0x06,0xf6,0x90,0x07,0x76,0xa0,0x07, 0x71,0x20,0x07,0x78,0xa0,0x07,0x71,0x20,0x07,0x78,0xd0,0x06,0xf6,0x10,0x07,0x72, 0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x7a,0x10,0x07,0x72,0x80,0x07,0x6d,0x60, 0x0f,0x71,0x90,0x07,0x72,0xa0,0x07,0x72,0x50,0x07,0x76,0xa0,0x07,0x72,0x50,0x07, 0x76,0xd0,0x06,0xf6,0x20,0x07,0x75,0x60,0x07,0x7a,0x20,0x07,0x75,0x60,0x07,0x7a, 0x20,0x07,0x75,0x60,0x07,0x6d,0x60,0x0f,0x75,0x10,0x07,0x72,0xa0,0x07,0x75,0x10, 0x07,0x72,0xa0,0x07,0x75,0x10,0x07,0x72,0xd0,0x06,0xf6,0x10,0x07,0x70,0x20,0x07, 0x74,0xa0,0x07,0x71,0x00,0x07,0x72,0x40,0x07,0x7a,0x10,0x07,0x70,0x20,0x07,0x74, 0xd0,0x06,0xee,0x80,0x07,0x7a,0x10,0x07,0x76,0xa0,0x07,0x73,0x20,0x07,0x43,0x18, 0x04,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x80,0x21,0x8c,0x03,0x04,0x80,0x00,0x00, 0x00,0x00,0x00,0x40,0x16,0x08,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x32,0x1e,0x98, 0x10,0x19,0x11,0x4c,0x90,0x8c,0x09,0x26,0x47,0xc6,0x04,0x43,0x5a,0x25,0x30,0x02, 0x50,0x04,0x85,0x50,0x10,0x65,0x40,0x70,0x2c,0x01,0x12,0x00,0x00,0x79,0x18,0x00, 0x00,0xb7,0x00,0x00,0x00,0x1a,0x03,0x4c,0x10,0x97,0x29,0xa2,0x25,0x10,0xab,0x32, 0xb9,0xb9,0xb4,0x37,0xb7,0x21,0xc6,0x42,0x3c,0x00,0x84,0x50,0xb9,0x1b,0x43,0x0b, 0x93,0xfb,0x9a,0x4b,0xd3,0x2b,0x1b,0x62,0x2c,0xc2,0x23,0x2c,0x05,0xe7,0x20,0x08, 0x0e,0x8e,0xad,0x0c,0xa4,0xad,0x8c,0x2e,0x8c,0x0d,0xc4,0xae,0x4c,0x6e,0x2e,0xed, 0xcd,0x0d,0x64,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0x06,0x04,0xa5,0xad,0x8c, 0x2e,0x8c,0xcd,0xac,0xac,0x65,0x26,0x06,0x06,0x26,0xc6,0xc5,0xc6,0xe6,0xc6,0x45, 0x26,0x65,0x88,0xf0,0x10,0x43,0x8c,0x45,0x58,0x8c,0x65,0x60,0xd1,0x54,0x46,0x17, 0xc6,0x36,0x04,0x79,0x8e,0x45,0x58,0x84,0x65,0xe0,0x16,0x96,0x26,0xe7,0x32,0xf6, 0xd6,0x06,0x97,0xc6,0x56,0xe6,0x42,0x56,0xe6,0xf6,0x26,0xd7,0x36,0xf7,0x45,0x96, 0x36,0x17,0x26,0xc6,0x56,0x36,0x44,0x78,0x12,0x72,0x61,0x69,0x72,0x2e,0x63,0x6f, 0x6d,0x70,0x69,0x6c,0x65,0x2e,0x66,0x61,0x73,0x74,0x5f,0x6d,0x61,0x74,0x68,0x5f, 0x65,0x6e,0x61,0x62,0x6c,0x65,0x43,0x84,0x67,0x21,0x19,0x84,0xa5,0xc9,0xb9,0x8c, 0xbd,0xb5,0xc1,0xa5,0xb1,0x95,0xb9,0x98,0xc9,0x85,0xb5,0x95,0x89,0xd5,0x99,0x99, 0x95,0xc9,0x7d,0x99,0x95,0xd1,0x8d,0xa1,0x7d,0x95,0xb9,0x85,0x89,0xb1,0x95,0x0d, 0x11,0x9e,0x86,0x51,0x58,0x9a,0x9c,0x8b,0x5c,0x99,0x1b,0x59,0x99,0xdc,0x17,0x5d, 0x98,0xdc,0x59,0x19,0x1d,0xa3,0xb0,0x34,0x39,0x97,0x30,0xb9,0xb3,0x2f,0xba,0x3c, 0xb8,0xb2,0x2f,0xb7,0xb0,0xb6,0x32,0x1a,0x66,0x6c,0x6f,0x61,0x74,0x34,0x64,0xc2, 0xd2,0xe4,0x5c,0xc2,0xe4,0xce,0xbe,0xdc,0xc2,0xda,0xca,0xa8,0x98,0xc9,0x85,0x9d, 0x7d,0x8d,0xbd,0xb1,0xbd,0xc9,0x0d,0x61,0x9e,0x67,0x19,0x1e,0xe8,0x89,0x1e,0xe9, 0x99,0x86,0x08,0x0f,0x45,0x29,0x2c,0x4d,0xce,0xc5,0x4c,0x2e,0xec,0xac,0xad,0xcc, 0x8d,0xee,0x2b,0xcd,0x0d,0xae,0x8e,0x8e,0x4b,0xdd,0x5c,0x99,0x1c,0x0a,0xdb,0xdb, 0x98,0x1b,0x4c,0x0a,0x95,0xb0,0x34,0x39,0x97,0xb1,0x32,0x37,0xba,0x32,0x39,0x3e, 0x61,0x69,0x72,0x2e,0x70,0x65,0x72,0x73,0x70,0x65,0x63,0x74,0x69,0x76,0x65,0x14, 0xea,0xec,0x86,0x48,0xcb,0xf0,0x58,0xcf,0xf5,0x60,0x4f,0xf6,0x40,0x4f,0xf4,0x48, 0x8f,0xc6,0xa5,0x6e,0xae,0x4c,0x0e,0x85,0xed,0x6d,0xcc,0x2d,0x26,0x85,0xc5,0xd8, 0x1b,0xdb,0x9b,0xdc,0x10,0x69,0x11,0x1e,0xeb,0xe1,0x1e,0xec,0xc9,0x1e,0xe8,0x89, 0x1e,0xe9,0xe9,0xb8,0x84,0xa5,0xc9,0xb9,0xd0,0x95,0xe1,0xd1,0xd5,0xc9,0x95,0x51, 0x0a,0x4b,0x93,0x73,0x61,0x7b,0x1b,0x0b,0xa3,0x4b,0x7b,0x73,0xfb,0x4a,0x73,0x23, 0x2b,0xc3,0xa3,0x12,0x96,0x26,0xe7,0x32,0x17,0xd6,0x06,0xc7,0x56,0x46,0x8c,0xae, 0x0c,0x8f,0xae,0x4e,0xae,0x4c,0x86,0x8c,0xc7,0x8c,0xed,0x2d,0x8c,0x8e,0x05,0x64, 0x2e,0xac,0x0d,0x8e,0xad,0xcc,0x87,0x03,0x5d,0x19,0xde,0x10,0x6a,0x21,0x9e,0xef, 0x01,0x83,0x65,0x58,0x84,0x27,0x0c,0x1e,0xe8,0x11,0x83,0x47,0x7a,0xc6,0x80,0x4b, 0x58,0x9a,0x9c,0xcb,0x5c,0x58,0x1b,0x1c,0x5b,0x99,0x1c,0x8f,0xb9,0xb0,0x36,0x38, 0xb6,0x32,0x39,0x0e,0x73,0x6d,0x70,0x43,0xa4,0xe5,0x78,0xca,0xe0,0x01,0x83,0x65, 0x58,0x84,0x07,0x7a,0xcc,0xe0,0x91,0x9e,0x33,0x18,0x82,0x3c,0xdb,0xe3,0x3d,0x64, 0xf0,0xa0,0xc1,0x10,0x03,0x01,0x9e,0xea,0x49,0x83,0x11,0x11,0x3b,0xb0,0x83,0x3d, 0xb4,0x83,0x1b,0xb4,0xc3,0x3b,0x90,0x43,0x3d,0xb0,0x43,0x39,0xb8,0x81,0x39,0xb0, 0x43,0x38,0x9c,0xc3,0x3c,0x4c,0x11,0x82,0x61,0x84,0xc2,0x0e,0xec,0x60,0x0f,0xed, 0xe0,0x06,0xe9,0x40,0x0e,0xe5,0xe0,0x0e,0xf4,0x30,0x25,0x28,0x46,0x2c,0xe1,0x90, 0x0e,0xf2,0xe0,0x06,0xf6,0x50,0x0e,0xf2,0x30,0x0f,0xe9,0xf0,0x0e,0xee,0x30,0x25, 0x30,0x46,0x50,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xec,0x10,0x0e,0xee,0x70,0x0e,0xf5, 0x10,0x0e,0xe7,0x50,0x0e,0xbf,0x60,0x0f,0xe5,0x20,0x0f,0xf3,0x90,0x0e,0xef,0xe0, 0x0e,0x53,0x02,0x64,0xc4,0x14,0x0e,0xe9,0x20,0x0f,0x6e,0x30,0x0e,0xef,0xd0,0x0e, 0xf0,0x90,0x0e,0xec,0x50,0x0e,0xbf,0xf0,0x0e,0xf0,0x40,0x0f,0xe9,0xf0,0x0e,0xee, 0x30,0x0f,0x53,0x06,0x85,0x71,0x46,0x30,0xe1,0x90,0x0e,0xf2,0xe0,0x06,0xe6,0x20, 0x0f,0xe1,0x70,0x0e,0xed,0x50,0x0e,0xee,0x40,0x0f,0x53,0x02,0x35,0x00,0x00,0x00, 0x00,0x79,0x18,0x00,0x00,0x7b,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c, 0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07, 0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42, 0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83, 0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07, 0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70, 0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3, 0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2, 0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc, 0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,0x14,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x68, 0x87,0x72,0x68,0x07,0x37,0x80,0x87,0x70,0x90,0x87,0x70,0x60,0x07,0x76,0x28,0x07, 0x76,0xf8,0x05,0x76,0x78,0x87,0x77,0x80,0x87,0x5f,0x08,0x87,0x71,0x18,0x87,0x72, 0x98,0x87,0x79,0x98,0x81,0x2c,0xee,0xf0,0x0e,0xee,0xe0,0x0e,0xf5,0xc0,0x0e,0xec, 0x30,0x03,0x62,0xc8,0xa1,0x1c,0xe4,0xa1,0x1c,0xcc,0xa1,0x1c,0xe4,0xa1,0x1c,0xdc, 0x61,0x1c,0xca,0x21,0x1c,0xc4,0x81,0x1d,0xca,0x61,0x06,0xd6,0x90,0x43,0x39,0xc8, 0x43,0x39,0x98,0x43,0x39,0xc8,0x43,0x39,0xb8,0xc3,0x38,0x94,0x43,0x38,0x88,0x03, 0x3b,0x94,0xc3,0x2f,0xbc,0x83,0x3c,0xfc,0x82,0x3b,0xd4,0x03,0x3b,0xb0,0xc3,0x0c, 0xc7,0x69,0x87,0x70,0x58,0x87,0x72,0x70,0x83,0x74,0x68,0x07,0x78,0x60,0x87,0x74, 0x18,0x87,0x74,0xa0,0x87,0x19,0xce,0x53,0x0f,0xee,0x00,0x0f,0xf2,0x50,0x0e,0xe4, 0x90,0x0e,0xe3,0x40,0x0f,0xe1,0x20,0x0e,0xec,0x50,0x0e,0x33,0x20,0x28,0x1d,0xdc, 0xc1,0x1e,0xc2,0x41,0x1e,0xd2,0x21,0x1c,0xdc,0x81,0x1e,0xdc,0xe0,0x1c,0xe4,0xe1, 0x1d,0xea,0x01,0x1e,0x66,0x18,0x51,0x38,0xb0,0x43,0x3a,0x9c,0x83,0x3b,0xcc,0x50, 0x24,0x76,0x60,0x07,0x7b,0x68,0x07,0x37,0x60,0x87,0x77,0x78,0x07,0x78,0x98,0x51, 0x4c,0xf4,0x90,0x0f,0xf0,0x50,0x0e,0x33,0x1e,0x6a,0x1e,0xca,0x61,0x1c,0xe8,0x21, 0x1d,0xde,0xc1,0x1d,0x7e,0x01,0x1e,0xe4,0xa1,0x1c,0xcc,0x21,0x1d,0xf0,0x61,0x06, 0x54,0x85,0x83,0x38,0xcc,0xc3,0x3b,0xb0,0x43,0x3d,0xd0,0x43,0x39,0xfc,0xc2,0x3c, 0xe4,0x43,0x3b,0x88,0xc3,0x3b,0xb0,0xc3,0x8c,0xc5,0x0a,0x87,0x79,0x98,0x87,0x77, 0x18,0x87,0x74,0x08,0x07,0x7a,0x28,0x07,0x72,0x98,0x81,0x5c,0xe3,0x10,0x0e,0xec, 0xc0,0x0e,0xe5,0x50,0x0e,0xf3,0x30,0x23,0xc1,0xd2,0x41,0x1e,0xe4,0xe1,0x17,0xd8, 0xe1,0x1d,0xde,0x01,0x1e,0x66,0x50,0x59,0x38,0xa4,0x83,0x3c,0xb8,0x81,0x39,0xd4, 0x83,0x3b,0x8c,0x03,0x3d,0xa4,0xc3,0x3b,0xb8,0xc3,0x2f,0x9c,0x83,0x3c,0xbc,0x43, 0x3d,0xc0,0xc3,0x3c,0x00,0x71,0x20,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0xb0,0x01, 0x48,0xe4,0x4b,0x00,0xf3,0x2c,0xc4,0x3f,0x11,0xd7,0x44,0x45,0xc4,0x6f,0x0f,0x7e, 0x85,0x17,0xb7,0x6d,0x00,0x05,0x03,0x20,0x0d,0x0d,0x00,0x00,0x00,0x61,0x20,0x00, 0x00,0x0f,0x00,0x00,0x00,0x13,0x04,0x41,0x2c,0x10,0x00,0x00,0x00,0x06,0x00,0x00, 0x00,0xc4,0x46,0x00,0xc6,0x12,0x80,0x80,0xd4,0x08,0x40,0x0d,0x90,0x98,0x01,0xa0, 0x30,0x03,0x40,0x60,0x04,0x00,0x00,0x00,0x00,0x83,0x0c,0x8b,0x60,0x8c,0x18,0x28, 0x42,0x40,0x29,0x49,0x50,0x20,0x86,0x60,0x01,0x23,0x9f,0xd9,0x06,0x23,0x00,0x32, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sgl_vs_source_metal_sim[756] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x76, 0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x6d,0x76,0x70,0x3b,0x0a,0x20,0x20,0x20, 0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x78,0x34,0x20,0x74,0x6d,0x3b,0x0a,0x7d,0x3b, 0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f, 0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34, 0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x70, 0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69,0x7a, 0x65,0x20,0x5b,0x5b,0x70,0x6f,0x69,0x6e,0x74,0x5f,0x73,0x69,0x7a,0x65,0x5d,0x5d, 0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x5f,0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61, 0x74,0x34,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x5b,0x5b,0x61,0x74, 0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x32,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72, 0x64,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75,0x74,0x65,0x28,0x31, 0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69,0x62,0x75, 0x74,0x65,0x28,0x32,0x29,0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f, 0x61,0x74,0x20,0x70,0x73,0x69,0x7a,0x65,0x20,0x5b,0x5b,0x61,0x74,0x74,0x72,0x69, 0x62,0x75,0x74,0x65,0x28,0x33,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x76, 0x65,0x72,0x74,0x65,0x78,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20, 0x6d,0x61,0x69,0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69, 0x6e,0x20,0x5b,0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20, 0x63,0x6f,0x6e,0x73,0x74,0x61,0x6e,0x74,0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61, 0x6d,0x73,0x26,0x20,0x5f,0x31,0x39,0x20,0x5b,0x5b,0x62,0x75,0x66,0x66,0x65,0x72, 0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75,0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b, 0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x5f,0x31,0x39,0x2e,0x6d,0x76,0x70,0x20,0x2a, 0x20,0x69,0x6e,0x2e,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x3b,0x0a,0x20,0x20, 0x20,0x20,0x6f,0x75,0x74,0x2e,0x67,0x6c,0x5f,0x50,0x6f,0x69,0x6e,0x74,0x53,0x69, 0x7a,0x65,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x70,0x73,0x69,0x7a,0x65,0x3b,0x0a,0x20, 0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x75,0x76,0x20,0x3d,0x20,0x5f,0x31,0x39,0x2e, 0x74,0x6d,0x20,0x2a,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x28,0x69,0x6e,0x2e,0x74, 0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x2c,0x20,0x30,0x2e,0x30,0x2c,0x20,0x31, 0x2e,0x30,0x29,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e,0x63,0x6f,0x6c, 0x6f,0x72,0x20,0x3d,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x3b,0x0a, 0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75,0x74,0x3b,0x0a, 0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sgl_fs_source_metal_sim[439] = { 0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x20,0x3c,0x6d,0x65,0x74,0x61,0x6c,0x5f, 0x73,0x74,0x64,0x6c,0x69,0x62,0x3e,0x0a,0x23,0x69,0x6e,0x63,0x6c,0x75,0x64,0x65, 0x20,0x3c,0x73,0x69,0x6d,0x64,0x2f,0x73,0x69,0x6d,0x64,0x2e,0x68,0x3e,0x0a,0x0a, 0x75,0x73,0x69,0x6e,0x67,0x20,0x6e,0x61,0x6d,0x65,0x73,0x70,0x61,0x63,0x65,0x20, 0x6d,0x65,0x74,0x61,0x6c,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d, 0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66, 0x6c,0x6f,0x61,0x74,0x34,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x5b,0x5b,0x63,0x6f,0x6c,0x6f,0x72,0x28,0x30,0x29,0x5d,0x5d,0x3b,0x0a,0x7d, 0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f, 0x69,0x6e,0x0a,0x7b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20, 0x75,0x76,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e,0x30,0x29, 0x5d,0x5d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x66,0x6c,0x6f,0x61,0x74,0x34,0x20,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x5b,0x5b,0x75,0x73,0x65,0x72,0x28,0x6c,0x6f,0x63,0x6e, 0x31,0x29,0x5d,0x5d,0x3b,0x0a,0x7d,0x3b,0x0a,0x0a,0x66,0x72,0x61,0x67,0x6d,0x65, 0x6e,0x74,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6d,0x61,0x69, 0x6e,0x30,0x28,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x69,0x6e,0x20,0x69,0x6e,0x20,0x5b, 0x5b,0x73,0x74,0x61,0x67,0x65,0x5f,0x69,0x6e,0x5d,0x5d,0x2c,0x20,0x74,0x65,0x78, 0x74,0x75,0x72,0x65,0x32,0x64,0x3c,0x66,0x6c,0x6f,0x61,0x74,0x3e,0x20,0x74,0x65, 0x78,0x20,0x5b,0x5b,0x74,0x65,0x78,0x74,0x75,0x72,0x65,0x28,0x30,0x29,0x5d,0x5d, 0x2c,0x20,0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x20,0x73,0x6d,0x70,0x20,0x5b,0x5b, 0x73,0x61,0x6d,0x70,0x6c,0x65,0x72,0x28,0x30,0x29,0x5d,0x5d,0x29,0x0a,0x7b,0x0a, 0x20,0x20,0x20,0x20,0x6d,0x61,0x69,0x6e,0x30,0x5f,0x6f,0x75,0x74,0x20,0x6f,0x75, 0x74,0x20,0x3d,0x20,0x7b,0x7d,0x3b,0x0a,0x20,0x20,0x20,0x20,0x6f,0x75,0x74,0x2e, 0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x74,0x65,0x78, 0x2e,0x73,0x61,0x6d,0x70,0x6c,0x65,0x28,0x73,0x6d,0x70,0x2c,0x20,0x69,0x6e,0x2e, 0x75,0x76,0x2e,0x78,0x79,0x29,0x20,0x2a,0x20,0x69,0x6e,0x2e,0x63,0x6f,0x6c,0x6f, 0x72,0x3b,0x0a,0x20,0x20,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6f,0x75, 0x74,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_D3D11) static const uint8_t _sgl_vs_bytecode_hlsl4[1032] = { 0x44,0x58,0x42,0x43,0x74,0x7f,0x01,0xd9,0xf4,0xd5,0xed,0x1d,0x74,0xc1,0x30,0x27, 0xd8,0xe9,0x9d,0x50,0x01,0x00,0x00,0x00,0x08,0x04,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x90,0x01,0x00,0x00,0x00,0x02,0x00,0x00, 0x8c,0x03,0x00,0x00,0x52,0x44,0x45,0x46,0xd8,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xfe,0xff, 0x10,0x81,0x00,0x00,0xaf,0x00,0x00,0x00,0x3c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d, 0x73,0x00,0xab,0xab,0x3c,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x60,0x00,0x00,0x00, 0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x90,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x98,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0xa8,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x98,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x31,0x39,0x5f, 0x6d,0x76,0x70,0x00,0x02,0x00,0x03,0x00,0x04,0x00,0x04,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x5f,0x31,0x39,0x5f,0x74,0x6d,0x00,0x4d,0x69,0x63,0x72,0x6f, 0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c,0x53,0x4c,0x20,0x53,0x68, 0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c,0x65,0x72,0x20,0x31,0x30, 0x2e,0x31,0x00,0xab,0x49,0x53,0x47,0x4e,0x74,0x00,0x00,0x00,0x04,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x68,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x68,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x03,0x03,0x00,0x00,0x68,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x68,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44,0x00,0xab,0xab,0xab, 0x4f,0x53,0x47,0x4e,0x68,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x50,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x00,0x00,0x00, 0x59,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0x53,0x56,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x00,0xab,0xab,0xab, 0x53,0x48,0x44,0x52,0x84,0x01,0x00,0x00,0x40,0x00,0x01,0x00,0x61,0x00,0x00,0x00, 0x59,0x00,0x00,0x04,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00, 0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x03, 0x32,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x5f,0x00,0x00,0x03,0xf2,0x10,0x10,0x00, 0x02,0x00,0x00,0x00,0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x65,0x00,0x00,0x03,0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x67,0x00,0x00,0x04, 0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x00,0x00,0x02, 0x01,0x00,0x00,0x00,0x38,0x00,0x00,0x08,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x56,0x15,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00, 0x06,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00, 0x04,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x36,0x00,0x00,0x05, 0xf2,0x20,0x10,0x00,0x01,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x02,0x00,0x00,0x00, 0x38,0x00,0x00,0x08,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x56,0x15,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x06,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x0a,0xf2,0x00,0x10,0x00, 0x00,0x00,0x00,0x00,0xa6,0x1a,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00, 0x32,0x00,0x00,0x0a,0xf2,0x20,0x10,0x00,0x02,0x00,0x00,0x00,0xf6,0x1f,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x8e,0x20,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54, 0x74,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x06,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; static const uint8_t _sgl_fs_bytecode_hlsl4[608] = { 0x44,0x58,0x42,0x43,0xc8,0x9b,0x66,0x64,0x80,0x2f,0xbe,0x14,0xd9,0x88,0xa0,0x97, 0x64,0x14,0x66,0xff,0x01,0x00,0x00,0x00,0x60,0x02,0x00,0x00,0x05,0x00,0x00,0x00, 0x34,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0x14,0x01,0x00,0x00,0x48,0x01,0x00,0x00, 0xe4,0x01,0x00,0x00,0x52,0x44,0x45,0x46,0x8c,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x00,0x00,0x00,0x00,0x04,0xff,0xff, 0x10,0x81,0x00,0x00,0x64,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x02,0x00,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x00,0x00,0x00,0x73,0x6d,0x70,0x00,0x74,0x65,0x78,0x00, 0x4d,0x69,0x63,0x72,0x6f,0x73,0x6f,0x66,0x74,0x20,0x28,0x52,0x29,0x20,0x48,0x4c, 0x53,0x4c,0x20,0x53,0x68,0x61,0x64,0x65,0x72,0x20,0x43,0x6f,0x6d,0x70,0x69,0x6c, 0x65,0x72,0x20,0x31,0x30,0x2e,0x31,0x00,0x49,0x53,0x47,0x4e,0x44,0x00,0x00,0x00, 0x02,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x03,0x00,0x00, 0x38,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x0f,0x0f,0x00,0x00,0x54,0x45,0x58,0x43,0x4f,0x4f,0x52,0x44, 0x00,0xab,0xab,0xab,0x4f,0x53,0x47,0x4e,0x2c,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x00,0x00,0x53,0x56,0x5f,0x54, 0x61,0x72,0x67,0x65,0x74,0x00,0xab,0xab,0x53,0x48,0x44,0x52,0x94,0x00,0x00,0x00, 0x40,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x5a,0x00,0x00,0x03,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x58,0x18,0x00,0x04,0x00,0x70,0x10,0x00,0x00,0x00,0x00,0x00, 0x55,0x55,0x00,0x00,0x62,0x10,0x00,0x03,0x32,0x10,0x10,0x00,0x00,0x00,0x00,0x00, 0x62,0x10,0x00,0x03,0xf2,0x10,0x10,0x00,0x01,0x00,0x00,0x00,0x65,0x00,0x00,0x03, 0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0x68,0x00,0x00,0x02,0x01,0x00,0x00,0x00, 0x45,0x00,0x00,0x09,0xf2,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x10,0x10,0x00, 0x00,0x00,0x00,0x00,0x46,0x7e,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x10,0x00, 0x00,0x00,0x00,0x00,0x38,0x00,0x00,0x07,0xf2,0x20,0x10,0x00,0x00,0x00,0x00,0x00, 0x46,0x0e,0x10,0x00,0x00,0x00,0x00,0x00,0x46,0x1e,0x10,0x00,0x01,0x00,0x00,0x00, 0x3e,0x00,0x00,0x01,0x53,0x54,0x41,0x54,0x74,0x00,0x00,0x00,0x03,0x00,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x01,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, }; #elif defined(SOKOL_WGPU) static const uint8_t _sgl_vs_source_wgsl[1162] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20, 0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x20,0x7b,0x0a,0x20,0x20,0x2f,0x2a, 0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x30,0x29,0x20,0x2a,0x2f,0x0a,0x20, 0x20,0x6d,0x76,0x70,0x20,0x3a,0x20,0x6d,0x61,0x74,0x34,0x78,0x34,0x66,0x2c,0x0a, 0x20,0x20,0x2f,0x2a,0x20,0x40,0x6f,0x66,0x66,0x73,0x65,0x74,0x28,0x36,0x34,0x29, 0x20,0x2a,0x2f,0x0a,0x20,0x20,0x74,0x6d,0x20,0x3a,0x20,0x6d,0x61,0x74,0x34,0x78, 0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75,0x70,0x28,0x30,0x29, 0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x30,0x29,0x20,0x76,0x61,0x72, 0x3c,0x75,0x6e,0x69,0x66,0x6f,0x72,0x6d,0x3e,0x20,0x78,0x5f,0x31,0x39,0x20,0x3a, 0x20,0x76,0x73,0x5f,0x70,0x61,0x72,0x61,0x6d,0x73,0x3b,0x0a,0x0a,0x76,0x61,0x72, 0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x70,0x6f,0x73,0x69,0x74,0x69, 0x6f,0x6e,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76, 0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a, 0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20, 0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72, 0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61, 0x74,0x65,0x3e,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3a,0x20,0x76,0x65,0x63, 0x34,0x66,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65, 0x3e,0x20,0x70,0x73,0x69,0x7a,0x65,0x20,0x3a,0x20,0x66,0x33,0x32,0x3b,0x0a,0x0a, 0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20,0x67,0x6c,0x5f, 0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b, 0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x32,0x20,0x3a,0x20,0x6d,0x61, 0x74,0x34,0x78,0x34,0x66,0x20,0x3d,0x20,0x78,0x5f,0x31,0x39,0x2e,0x6d,0x76,0x70, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x35,0x20,0x3a,0x20,0x76, 0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f, 0x31,0x3b,0x0a,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e, 0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x32,0x20,0x2a,0x20,0x78,0x5f,0x32,0x35,0x29, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x32,0x20,0x3a,0x20,0x6d, 0x61,0x74,0x34,0x78,0x34,0x66,0x20,0x3d,0x20,0x78,0x5f,0x31,0x39,0x2e,0x74,0x6d, 0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x33,0x36,0x20,0x3a,0x20,0x76, 0x65,0x63,0x32,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30, 0x3b,0x0a,0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x28,0x78,0x5f,0x33,0x32,0x20,0x2a, 0x20,0x76,0x65,0x63,0x34,0x66,0x28,0x78,0x5f,0x33,0x36,0x2e,0x78,0x2c,0x20,0x78, 0x5f,0x33,0x36,0x2e,0x79,0x2c,0x20,0x30,0x2e,0x30,0x66,0x2c,0x20,0x31,0x2e,0x30, 0x66,0x29,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x34,0x35,0x20, 0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x3b,0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x78,0x5f,0x34,0x35, 0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a,0x7d,0x0a,0x0a,0x73, 0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b, 0x0a,0x20,0x20,0x40,0x62,0x75,0x69,0x6c,0x74,0x69,0x6e,0x28,0x70,0x6f,0x73,0x69, 0x74,0x69,0x6f,0x6e,0x29,0x0a,0x20,0x20,0x67,0x6c,0x5f,0x50,0x6f,0x73,0x69,0x74, 0x69,0x6f,0x6e,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40, 0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x0a,0x20,0x20,0x75,0x76, 0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x20,0x20,0x40,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x0a,0x20,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a, 0x0a,0x40,0x76,0x65,0x72,0x74,0x65,0x78,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a, 0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f, 0x6e,0x28,0x31,0x29,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70, 0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x32,0x66,0x2c,0x20,0x40,0x6c, 0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x32,0x29,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c, 0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x33,0x29,0x20,0x70,0x73, 0x69,0x7a,0x65,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x66,0x33,0x32,0x29, 0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a,0x20, 0x20,0x70,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x20,0x3d,0x20,0x70,0x6f, 0x73,0x69,0x74,0x69,0x6f,0x6e,0x5f,0x31,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a, 0x20,0x20,0x74,0x65,0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x20,0x3d,0x20,0x74,0x65, 0x78,0x63,0x6f,0x6f,0x72,0x64,0x30,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x30, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x70,0x73,0x69,0x7a,0x65,0x20, 0x3d,0x20,0x70,0x73,0x69,0x7a,0x65,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20, 0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74, 0x75,0x72,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x28,0x67,0x6c,0x5f, 0x50,0x6f,0x73,0x69,0x74,0x69,0x6f,0x6e,0x2c,0x20,0x75,0x76,0x2c,0x20,0x63,0x6f, 0x6c,0x6f,0x72,0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; static const uint8_t _sgl_fs_source_wgsl[647] = { 0x64,0x69,0x61,0x67,0x6e,0x6f,0x73,0x74,0x69,0x63,0x28,0x6f,0x66,0x66,0x2c,0x20, 0x64,0x65,0x72,0x69,0x76,0x61,0x74,0x69,0x76,0x65,0x5f,0x75,0x6e,0x69,0x66,0x6f, 0x72,0x6d,0x69,0x74,0x79,0x29,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a,0x40,0x67,0x72,0x6f,0x75, 0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67,0x28,0x34,0x38, 0x29,0x20,0x76,0x61,0x72,0x20,0x74,0x65,0x78,0x20,0x3a,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x5f,0x32,0x64,0x3c,0x66,0x33,0x32,0x3e,0x3b,0x0a,0x0a,0x40,0x67, 0x72,0x6f,0x75,0x70,0x28,0x31,0x29,0x20,0x40,0x62,0x69,0x6e,0x64,0x69,0x6e,0x67, 0x28,0x36,0x34,0x29,0x20,0x76,0x61,0x72,0x20,0x73,0x6d,0x70,0x20,0x3a,0x20,0x73, 0x61,0x6d,0x70,0x6c,0x65,0x72,0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69, 0x76,0x61,0x74,0x65,0x3e,0x20,0x75,0x76,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x3b,0x0a,0x0a,0x76,0x61,0x72,0x3c,0x70,0x72,0x69,0x76,0x61,0x74,0x65,0x3e,0x20, 0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x3b,0x0a,0x0a, 0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31,0x28,0x29,0x20,0x7b,0x0a,0x20,0x20, 0x6c,0x65,0x74,0x20,0x78,0x5f,0x32,0x33,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x20,0x3d,0x20,0x75,0x76,0x3b,0x0a,0x20,0x20,0x6c,0x65,0x74,0x20,0x78,0x5f,0x32, 0x35,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d,0x20,0x74,0x65,0x78,0x74, 0x75,0x72,0x65,0x53,0x61,0x6d,0x70,0x6c,0x65,0x28,0x74,0x65,0x78,0x2c,0x20,0x73, 0x6d,0x70,0x2c,0x20,0x76,0x65,0x63,0x32,0x66,0x28,0x78,0x5f,0x32,0x33,0x2e,0x78, 0x2c,0x20,0x78,0x5f,0x32,0x33,0x2e,0x79,0x29,0x29,0x3b,0x0a,0x20,0x20,0x6c,0x65, 0x74,0x20,0x78,0x5f,0x32,0x37,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x20,0x3d, 0x20,0x63,0x6f,0x6c,0x6f,0x72,0x3b,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63, 0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x28,0x78,0x5f,0x32,0x35,0x20,0x2a,0x20,0x78, 0x5f,0x32,0x37,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x3b,0x0a, 0x7d,0x0a,0x0a,0x73,0x74,0x72,0x75,0x63,0x74,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f, 0x75,0x74,0x20,0x7b,0x0a,0x20,0x20,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e, 0x28,0x30,0x29,0x0a,0x20,0x20,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x5f,0x31,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x0a,0x7d,0x0a,0x0a,0x40, 0x66,0x72,0x61,0x67,0x6d,0x65,0x6e,0x74,0x0a,0x66,0x6e,0x20,0x6d,0x61,0x69,0x6e, 0x28,0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x30,0x29,0x20,0x75,0x76, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66,0x2c,0x20, 0x40,0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x28,0x31,0x29,0x20,0x63,0x6f,0x6c, 0x6f,0x72,0x5f,0x70,0x61,0x72,0x61,0x6d,0x20,0x3a,0x20,0x76,0x65,0x63,0x34,0x66, 0x29,0x20,0x2d,0x3e,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x6f,0x75,0x74,0x20,0x7b,0x0a, 0x20,0x20,0x75,0x76,0x20,0x3d,0x20,0x75,0x76,0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b, 0x0a,0x20,0x20,0x63,0x6f,0x6c,0x6f,0x72,0x20,0x3d,0x20,0x63,0x6f,0x6c,0x6f,0x72, 0x5f,0x70,0x61,0x72,0x61,0x6d,0x3b,0x0a,0x20,0x20,0x6d,0x61,0x69,0x6e,0x5f,0x31, 0x28,0x29,0x3b,0x0a,0x20,0x20,0x72,0x65,0x74,0x75,0x72,0x6e,0x20,0x6d,0x61,0x69, 0x6e,0x5f,0x6f,0x75,0x74,0x28,0x66,0x72,0x61,0x67,0x5f,0x63,0x6f,0x6c,0x6f,0x72, 0x29,0x3b,0x0a,0x7d,0x0a,0x0a,0x00, }; #elif defined(SOKOL_DUMMY_BACKEND) static const char* _sgl_vs_source_dummy = ""; static const char* _sgl_fs_source_dummy = ""; #else #error "Please define one of SOKOL_GLCORE, SOKOL_GLES3, SOKOL_D3D11, SOKOL_METAL, SOKOL_WGPU or SOKOL_DUMMY_BACKEND!" #endif // ████████ ██ ██ ██████ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ // ██ ████ ██████ █████ ███████ // ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ███████ // // >>types typedef enum { SGL_PRIMITIVETYPE_POINTS = 0, SGL_PRIMITIVETYPE_LINES, SGL_PRIMITIVETYPE_LINE_STRIP, SGL_PRIMITIVETYPE_TRIANGLES, SGL_PRIMITIVETYPE_TRIANGLE_STRIP, SGL_PRIMITIVETYPE_QUADS, SGL_NUM_PRIMITIVE_TYPES, } _sgl_primitive_type_t; typedef struct { uint32_t id; sg_resource_state state; } _sgl_slot_t; typedef struct { int size; int queue_top; uint32_t* gen_ctrs; int* free_queue; } _sgl_pool_t; typedef struct { _sgl_slot_t slot; sg_pipeline pip[SGL_NUM_PRIMITIVE_TYPES]; } _sgl_pipeline_t; typedef struct { _sgl_pool_t pool; _sgl_pipeline_t* pips; } _sgl_pipeline_pool_t; typedef enum { SGL_MATRIXMODE_MODELVIEW, SGL_MATRIXMODE_PROJECTION, SGL_MATRIXMODE_TEXTURE, SGL_NUM_MATRIXMODES } _sgl_matrix_mode_t; typedef struct { float pos[3]; float uv[2]; uint32_t rgba; float psize; } _sgl_vertex_t; typedef struct { float v[4][4]; } _sgl_matrix_t; typedef struct { _sgl_matrix_t mvp; /* model-view-projection matrix */ _sgl_matrix_t tm; /* texture matrix */ } _sgl_uniform_t; typedef enum { SGL_COMMAND_DRAW, SGL_COMMAND_VIEWPORT, SGL_COMMAND_SCISSOR_RECT, } _sgl_command_type_t; typedef struct { sg_pipeline pip; sg_image img; sg_sampler smp; int base_vertex; int num_vertices; int uniform_index; } _sgl_draw_args_t; typedef struct { int x, y, w, h; bool origin_top_left; } _sgl_viewport_args_t; typedef struct { int x, y, w, h; bool origin_top_left; } _sgl_scissor_rect_args_t; typedef union { _sgl_draw_args_t draw; _sgl_viewport_args_t viewport; _sgl_scissor_rect_args_t scissor_rect; } _sgl_args_t; typedef struct { _sgl_command_type_t cmd; int layer_id; _sgl_args_t args; } _sgl_command_t; #define _SGL_INVALID_SLOT_INDEX (0) #define _SGL_MAX_STACK_DEPTH (64) #define _SGL_DEFAULT_CONTEXT_POOL_SIZE (4) #define _SGL_DEFAULT_PIPELINE_POOL_SIZE (64) #define _SGL_DEFAULT_MAX_VERTICES (1<<16) #define _SGL_DEFAULT_MAX_COMMANDS (1<<14) #define _SGL_SLOT_SHIFT (16) #define _SGL_MAX_POOL_SIZE (1<<_SGL_SLOT_SHIFT) #define _SGL_SLOT_MASK (_SGL_MAX_POOL_SIZE-1) typedef struct { _sgl_slot_t slot; sgl_context_desc_t desc; uint32_t frame_id; uint32_t update_frame_id; struct { int cap; int next; _sgl_vertex_t* ptr; } vertices; struct { int cap; int next; _sgl_uniform_t* ptr; } uniforms; struct { int cap; int next; _sgl_command_t* ptr; } commands; /* state tracking */ int base_vertex; int quad_vtx_count; /* number of times vtx function has been called, used for non-triangle primitives */ sgl_error_t error; bool in_begin; int layer_id; float u, v; uint32_t rgba; float point_size; _sgl_primitive_type_t cur_prim_type; sg_image cur_img; sg_sampler cur_smp; bool texturing_enabled; bool matrix_dirty; /* reset in sgl_end(), set in any of the matrix stack functions */ /* sokol-gfx resources */ sg_buffer vbuf; sgl_pipeline def_pip; sg_bindings bind; /* pipeline stack */ int pip_tos; sgl_pipeline pip_stack[_SGL_MAX_STACK_DEPTH]; /* matrix stacks */ _sgl_matrix_mode_t cur_matrix_mode; int matrix_tos[SGL_NUM_MATRIXMODES]; _sgl_matrix_t matrix_stack[SGL_NUM_MATRIXMODES][_SGL_MAX_STACK_DEPTH]; } _sgl_context_t; typedef struct { _sgl_pool_t pool; _sgl_context_t* contexts; } _sgl_context_pool_t; typedef struct { uint32_t init_cookie; sgl_desc_t desc; sg_image def_img; // a default white texture sg_sampler def_smp; // a default sampler sg_shader shd; // same shader for all contexts sgl_context def_ctx_id; sgl_context cur_ctx_id; _sgl_context_t* cur_ctx; // may be 0! _sgl_pipeline_pool_t pip_pool; _sgl_context_pool_t context_pool; } _sgl_t; static _sgl_t _sgl; // ██ ██████ ██████ ██████ ██ ███ ██ ██████ // ██ ██ ██ ██ ██ ██ ████ ██ ██ // ██ ██ ██ ██ ███ ██ ███ ██ ██ ██ ██ ██ ███ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ███████ ██████ ██████ ██████ ██ ██ ████ ██████ // // >>logging #if defined(SOKOL_DEBUG) #define _SGL_LOGITEM_XMACRO(item,msg) #item ": " msg, static const char* _sgl_log_messages[] = { _SGL_LOG_ITEMS }; #undef _SGL_LOGITEM_XMACRO #endif // SOKOL_DEBUG #define _SGL_PANIC(code) _sgl_log(SGL_LOGITEM_ ##code, 0, __LINE__) #define _SGL_ERROR(code) _sgl_log(SGL_LOGITEM_ ##code, 1, __LINE__) #define _SGL_WARN(code) _sgl_log(SGL_LOGITEM_ ##code, 2, __LINE__) #define _SGL_INFO(code) _sgl_log(SGL_LOGITEM_ ##code, 3, __LINE__) static void _sgl_log(sgl_log_item_t log_item, uint32_t log_level, uint32_t line_nr) { if (_sgl.desc.logger.func) { #if defined(SOKOL_DEBUG) const char* filename = __FILE__; const char* message = _sgl_log_messages[log_item]; #else const char* filename = 0; const char* message = 0; #endif _sgl.desc.logger.func("sgl", log_level, log_item, message, line_nr, filename, _sgl.desc.logger.user_data); } else { // for log level PANIC it would be 'undefined behaviour' to continue if (log_level == 0) { abort(); } } } // ███ ███ ███████ ███ ███ ██████ ██████ ██ ██ // ████ ████ ██ ████ ████ ██ ██ ██ ██ ██ ██ // ██ ████ ██ █████ ██ ████ ██ ██ ██ ██████ ████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ███████ ██ ██ ██████ ██ ██ ██ // // >>memory static void _sgl_clear(void* ptr, size_t size) { SOKOL_ASSERT(ptr && (size > 0)); memset(ptr, 0, size); } static void* _sgl_malloc(size_t size) { SOKOL_ASSERT(size > 0); void* ptr; if (_sgl.desc.allocator.alloc_fn) { ptr = _sgl.desc.allocator.alloc_fn(size, _sgl.desc.allocator.user_data); } else { ptr = malloc(size); } if (0 == ptr) { _SGL_PANIC(MALLOC_FAILED); } return ptr; } static void* _sgl_malloc_clear(size_t size) { void* ptr = _sgl_malloc(size); _sgl_clear(ptr, size); return ptr; } static void _sgl_free(void* ptr) { if (_sgl.desc.allocator.free_fn) { _sgl.desc.allocator.free_fn(ptr, _sgl.desc.allocator.user_data); } else { free(ptr); } } // ██████ ██████ ██████ ██ // ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ // // >>pool static void _sgl_init_pool(_sgl_pool_t* pool, int num) { SOKOL_ASSERT(pool && (num >= 1)); /* slot 0 is reserved for the 'invalid id', so bump the pool size by 1 */ pool->size = num + 1; pool->queue_top = 0; /* generation counters indexable by pool slot index, slot 0 is reserved */ size_t gen_ctrs_size = sizeof(uint32_t) * (size_t)pool->size; pool->gen_ctrs = (uint32_t*) _sgl_malloc_clear(gen_ctrs_size); /* it's not a bug to only reserve 'num' here */ pool->free_queue = (int*) _sgl_malloc_clear(sizeof(int) * (size_t)num); /* never allocate the zero-th pool item since the invalid id is 0 */ for (int i = pool->size-1; i >= 1; i--) { pool->free_queue[pool->queue_top++] = i; } } static void _sgl_discard_pool(_sgl_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); _sgl_free(pool->free_queue); pool->free_queue = 0; SOKOL_ASSERT(pool->gen_ctrs); _sgl_free(pool->gen_ctrs); pool->gen_ctrs = 0; pool->size = 0; pool->queue_top = 0; } static int _sgl_pool_alloc_index(_sgl_pool_t* pool) { SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); if (pool->queue_top > 0) { int slot_index = pool->free_queue[--pool->queue_top]; SOKOL_ASSERT((slot_index > 0) && (slot_index < pool->size)); return slot_index; } else { // pool exhausted return _SGL_INVALID_SLOT_INDEX; } } static void _sgl_pool_free_index(_sgl_pool_t* pool, int slot_index) { SOKOL_ASSERT((slot_index > _SGL_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT(pool); SOKOL_ASSERT(pool->free_queue); SOKOL_ASSERT(pool->queue_top < pool->size); #ifdef SOKOL_DEBUG /* debug check against double-free */ for (int i = 0; i < pool->queue_top; i++) { SOKOL_ASSERT(pool->free_queue[i] != slot_index); } #endif pool->free_queue[pool->queue_top++] = slot_index; SOKOL_ASSERT(pool->queue_top <= (pool->size-1)); } /* allocate the slot at slot_index: - bump the slot's generation counter - create a resource id from the generation counter and slot index - set the slot's id to this id - set the slot's state to ALLOC - return the resource id */ static uint32_t _sgl_slot_alloc(_sgl_pool_t* pool, _sgl_slot_t* slot, int slot_index) { /* FIXME: add handling for an overflowing generation counter, for now, just overflow (another option is to disable the slot) */ SOKOL_ASSERT(pool && pool->gen_ctrs); SOKOL_ASSERT((slot_index > _SGL_INVALID_SLOT_INDEX) && (slot_index < pool->size)); SOKOL_ASSERT((slot->state == SG_RESOURCESTATE_INITIAL) && (slot->id == SG_INVALID_ID)); uint32_t ctr = ++pool->gen_ctrs[slot_index]; slot->id = (ctr<<_SGL_SLOT_SHIFT)|(slot_index & _SGL_SLOT_MASK); slot->state = SG_RESOURCESTATE_ALLOC; return slot->id; } /* extract slot index from id */ static int _sgl_slot_index(uint32_t id) { int slot_index = (int) (id & _SGL_SLOT_MASK); SOKOL_ASSERT(_SGL_INVALID_SLOT_INDEX != slot_index); return slot_index; } // ██████ ██ ██████ ███████ ██ ██ ███ ██ ███████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ // ██████ ██ ██████ █████ ██ ██ ██ ██ ██ █████ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ███████ ██ ██ ████ ███████ ███████ // // >>pipelines static void _sgl_reset_pipeline(_sgl_pipeline_t* pip) { SOKOL_ASSERT(pip); _sgl_clear(pip, sizeof(_sgl_pipeline_t)); } static void _sgl_setup_pipeline_pool(int pool_size) { /* note: the pools here will have an additional item, since slot 0 is reserved */ SOKOL_ASSERT((pool_size > 0) && (pool_size < _SGL_MAX_POOL_SIZE)); _sgl_init_pool(&_sgl.pip_pool.pool, pool_size); size_t pool_byte_size = sizeof(_sgl_pipeline_t) * (size_t)_sgl.pip_pool.pool.size; _sgl.pip_pool.pips = (_sgl_pipeline_t*) _sgl_malloc_clear(pool_byte_size); } static void _sgl_discard_pipeline_pool(void) { SOKOL_ASSERT(0 != _sgl.pip_pool.pips); _sgl_free(_sgl.pip_pool.pips); _sgl.pip_pool.pips = 0; _sgl_discard_pool(&_sgl.pip_pool.pool); } /* get pipeline pointer without id-check */ static _sgl_pipeline_t* _sgl_pipeline_at(uint32_t pip_id) { SOKOL_ASSERT(SG_INVALID_ID != pip_id); int slot_index = _sgl_slot_index(pip_id); SOKOL_ASSERT((slot_index > _SGL_INVALID_SLOT_INDEX) && (slot_index < _sgl.pip_pool.pool.size)); return &_sgl.pip_pool.pips[slot_index]; } /* get pipeline pointer with id-check, returns 0 if no match */ static _sgl_pipeline_t* _sgl_lookup_pipeline(uint32_t pip_id) { if (SG_INVALID_ID != pip_id) { _sgl_pipeline_t* pip = _sgl_pipeline_at(pip_id); if (pip->slot.id == pip_id) { return pip; } } return 0; } /* make pipeline id from uint32_t id */ static sgl_pipeline _sgl_make_pip_id(uint32_t pip_id) { sgl_pipeline pip = { pip_id }; return pip; } static sgl_pipeline _sgl_alloc_pipeline(void) { sgl_pipeline res; int slot_index = _sgl_pool_alloc_index(&_sgl.pip_pool.pool); if (_SGL_INVALID_SLOT_INDEX != slot_index) { res = _sgl_make_pip_id(_sgl_slot_alloc(&_sgl.pip_pool.pool, &_sgl.pip_pool.pips[slot_index].slot, slot_index)); } else { /* pool is exhausted */ res = _sgl_make_pip_id(SG_INVALID_ID); } return res; } static void _sgl_init_pipeline(sgl_pipeline pip_id, const sg_pipeline_desc* in_desc, const sgl_context_desc_t* ctx_desc) { SOKOL_ASSERT((pip_id.id != SG_INVALID_ID) && in_desc && ctx_desc); /* create a new desc with 'patched' shader and pixel format state */ sg_pipeline_desc desc = *in_desc; desc.layout.buffers[0].stride = sizeof(_sgl_vertex_t); { sg_vertex_attr_state* pos = &desc.layout.attrs[0]; pos->offset = offsetof(_sgl_vertex_t, pos); pos->format = SG_VERTEXFORMAT_FLOAT3; } { sg_vertex_attr_state* uv = &desc.layout.attrs[1]; uv->offset = offsetof(_sgl_vertex_t, uv); uv->format = SG_VERTEXFORMAT_FLOAT2; } { sg_vertex_attr_state* rgba = &desc.layout.attrs[2]; rgba->offset = offsetof(_sgl_vertex_t, rgba); rgba->format = SG_VERTEXFORMAT_UBYTE4N; } { sg_vertex_attr_state* psize = &desc.layout.attrs[3]; psize->offset = offsetof(_sgl_vertex_t, psize); psize->format = SG_VERTEXFORMAT_FLOAT; } if (in_desc->shader.id == SG_INVALID_ID) { desc.shader = _sgl.shd; } desc.index_type = SG_INDEXTYPE_NONE; desc.sample_count = ctx_desc->sample_count; if (desc.face_winding == _SG_FACEWINDING_DEFAULT) { desc.face_winding = _sgl.desc.face_winding; } desc.depth.pixel_format = ctx_desc->depth_format; if (ctx_desc->depth_format == SG_PIXELFORMAT_NONE) { desc.depth.write_enabled = false; } desc.colors[0].pixel_format = ctx_desc->color_format; if (desc.colors[0].write_mask == _SG_COLORMASK_DEFAULT) { desc.colors[0].write_mask = SG_COLORMASK_RGB; } _sgl_pipeline_t* pip = _sgl_lookup_pipeline(pip_id.id); SOKOL_ASSERT(pip && (pip->slot.state == SG_RESOURCESTATE_ALLOC)); pip->slot.state = SG_RESOURCESTATE_VALID; for (int i = 0; i < SGL_NUM_PRIMITIVE_TYPES; i++) { switch (i) { case SGL_PRIMITIVETYPE_POINTS: desc.primitive_type = SG_PRIMITIVETYPE_POINTS; break; case SGL_PRIMITIVETYPE_LINES: desc.primitive_type = SG_PRIMITIVETYPE_LINES; break; case SGL_PRIMITIVETYPE_LINE_STRIP: desc.primitive_type = SG_PRIMITIVETYPE_LINE_STRIP; break; case SGL_PRIMITIVETYPE_TRIANGLES: desc.primitive_type = SG_PRIMITIVETYPE_TRIANGLES; break; case SGL_PRIMITIVETYPE_TRIANGLE_STRIP: case SGL_PRIMITIVETYPE_QUADS: desc.primitive_type = SG_PRIMITIVETYPE_TRIANGLE_STRIP; break; } if (SGL_PRIMITIVETYPE_QUADS == i) { /* quads are emulated via triangles, use the same pipeline object */ pip->pip[i] = pip->pip[SGL_PRIMITIVETYPE_TRIANGLES]; } else { pip->pip[i] = sg_make_pipeline(&desc); if (pip->pip[i].id == SG_INVALID_ID) { _SGL_ERROR(MAKE_PIPELINE_FAILED); pip->slot.state = SG_RESOURCESTATE_FAILED; } } } } static sgl_pipeline _sgl_make_pipeline(const sg_pipeline_desc* desc, const sgl_context_desc_t* ctx_desc) { SOKOL_ASSERT(desc && ctx_desc); sgl_pipeline pip_id = _sgl_alloc_pipeline(); if (pip_id.id != SG_INVALID_ID) { _sgl_init_pipeline(pip_id, desc, ctx_desc); } else { _SGL_ERROR(PIPELINE_POOL_EXHAUSTED); } return pip_id; } static void _sgl_destroy_pipeline(sgl_pipeline pip_id) { _sgl_pipeline_t* pip = _sgl_lookup_pipeline(pip_id.id); if (pip) { sg_push_debug_group("sokol-gl"); for (int i = 0; i < SGL_NUM_PRIMITIVE_TYPES; i++) { if (i != SGL_PRIMITIVETYPE_QUADS) { sg_destroy_pipeline(pip->pip[i]); } } sg_pop_debug_group(); _sgl_reset_pipeline(pip); _sgl_pool_free_index(&_sgl.pip_pool.pool, _sgl_slot_index(pip_id.id)); } } static sg_pipeline _sgl_get_pipeline(sgl_pipeline pip_id, _sgl_primitive_type_t prim_type) { _sgl_pipeline_t* pip = _sgl_lookup_pipeline(pip_id.id); if (pip) { return pip->pip[prim_type]; } else { sg_pipeline dummy_id = { SG_INVALID_ID }; return dummy_id; } } // ██████ ██████ ███ ██ ████████ ███████ ██ ██ ████████ ███████ // ██ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ █████ ███ ██ ███████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██████ ██ ████ ██ ███████ ██ ██ ██ ███████ // // >>contexts static void _sgl_reset_context(_sgl_context_t* ctx) { SOKOL_ASSERT(ctx); SOKOL_ASSERT(0 == ctx->vertices.ptr); SOKOL_ASSERT(0 == ctx->uniforms.ptr); SOKOL_ASSERT(0 == ctx->commands.ptr); _sgl_clear(ctx, sizeof(_sgl_context_t)); } static void _sgl_setup_context_pool(int pool_size) { /* note: the pools here will have an additional item, since slot 0 is reserved */ SOKOL_ASSERT((pool_size > 0) && (pool_size < _SGL_MAX_POOL_SIZE)); _sgl_init_pool(&_sgl.context_pool.pool, pool_size); size_t pool_byte_size = sizeof(_sgl_context_t) * (size_t)_sgl.context_pool.pool.size; _sgl.context_pool.contexts = (_sgl_context_t*) _sgl_malloc_clear(pool_byte_size); } static void _sgl_discard_context_pool(void) { SOKOL_ASSERT(0 != _sgl.context_pool.contexts); _sgl_free(_sgl.context_pool.contexts); _sgl.context_pool.contexts = 0; _sgl_discard_pool(&_sgl.context_pool.pool); } // get context pointer without id-check static _sgl_context_t* _sgl_context_at(uint32_t ctx_id) { SOKOL_ASSERT(SG_INVALID_ID != ctx_id); int slot_index = _sgl_slot_index(ctx_id); SOKOL_ASSERT((slot_index > _SGL_INVALID_SLOT_INDEX) && (slot_index < _sgl.context_pool.pool.size)); return &_sgl.context_pool.contexts[slot_index]; } // get context pointer with id-check, returns 0 if no match static _sgl_context_t* _sgl_lookup_context(uint32_t ctx_id) { if (SG_INVALID_ID != ctx_id) { _sgl_context_t* ctx = _sgl_context_at(ctx_id); if (ctx->slot.id == ctx_id) { return ctx; } } return 0; } // make context id from uint32_t id static sgl_context _sgl_make_ctx_id(uint32_t ctx_id) { sgl_context ctx = { ctx_id }; return ctx; } static sgl_context _sgl_alloc_context(void) { sgl_context res; int slot_index = _sgl_pool_alloc_index(&_sgl.context_pool.pool); if (_SGL_INVALID_SLOT_INDEX != slot_index) { res = _sgl_make_ctx_id(_sgl_slot_alloc(&_sgl.context_pool.pool, &_sgl.context_pool.contexts[slot_index].slot, slot_index)); } else { // pool is exhausted res = _sgl_make_ctx_id(SG_INVALID_ID); } return res; } // return sgl_context_desc_t with patched defaults static sgl_context_desc_t _sgl_context_desc_defaults(const sgl_context_desc_t* desc) { sgl_context_desc_t res = *desc; res.max_vertices = _sgl_def(desc->max_vertices, _SGL_DEFAULT_MAX_VERTICES); res.max_commands = _sgl_def(desc->max_commands, _SGL_DEFAULT_MAX_COMMANDS); return res; } static void _sgl_identity(_sgl_matrix_t*); static sg_commit_listener _sgl_make_commit_listener(_sgl_context_t* ctx); static void _sgl_init_context(sgl_context ctx_id, const sgl_context_desc_t* in_desc) { SOKOL_ASSERT((ctx_id.id != SG_INVALID_ID) && in_desc); _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); SOKOL_ASSERT(ctx); ctx->desc = _sgl_context_desc_defaults(in_desc); // NOTE: frame_id must be non-zero, so that updates trigger in first frame ctx->frame_id = 1; ctx->cur_img = _sgl.def_img; ctx->cur_smp = _sgl.def_smp; // allocate buffers and pools ctx->vertices.cap = ctx->desc.max_vertices; ctx->commands.cap = ctx->uniforms.cap = ctx->desc.max_commands; ctx->vertices.ptr = (_sgl_vertex_t*) _sgl_malloc((size_t)ctx->vertices.cap * sizeof(_sgl_vertex_t)); ctx->uniforms.ptr = (_sgl_uniform_t*) _sgl_malloc((size_t)ctx->uniforms.cap * sizeof(_sgl_uniform_t)); ctx->commands.ptr = (_sgl_command_t*) _sgl_malloc((size_t)ctx->commands.cap * sizeof(_sgl_command_t)); // create sokol-gfx resource objects sg_push_debug_group("sokol-gl"); sg_buffer_desc vbuf_desc; _sgl_clear(&vbuf_desc, sizeof(vbuf_desc)); vbuf_desc.size = (size_t)ctx->vertices.cap * sizeof(_sgl_vertex_t); vbuf_desc.type = SG_BUFFERTYPE_VERTEXBUFFER; vbuf_desc.usage = SG_USAGE_STREAM; vbuf_desc.label = "sgl-vertex-buffer"; ctx->vbuf = sg_make_buffer(&vbuf_desc); SOKOL_ASSERT(SG_INVALID_ID != ctx->vbuf.id); ctx->bind.vertex_buffers[0] = ctx->vbuf; sg_pipeline_desc def_pip_desc; _sgl_clear(&def_pip_desc, sizeof(def_pip_desc)); def_pip_desc.depth.write_enabled = true; ctx->def_pip = _sgl_make_pipeline(&def_pip_desc, &ctx->desc); if (!sg_add_commit_listener(_sgl_make_commit_listener(ctx))) { _SGL_ERROR(ADD_COMMIT_LISTENER_FAILED); } sg_pop_debug_group(); // default state ctx->rgba = 0xFFFFFFFF; ctx->point_size = 1.0f; for (int i = 0; i < SGL_NUM_MATRIXMODES; i++) { _sgl_identity(&ctx->matrix_stack[i][0]); } ctx->pip_stack[0] = ctx->def_pip; ctx->matrix_dirty = true; } static sgl_context _sgl_make_context(const sgl_context_desc_t* desc) { SOKOL_ASSERT(desc); sgl_context ctx_id = _sgl_alloc_context(); if (ctx_id.id != SG_INVALID_ID) { _sgl_init_context(ctx_id, desc); } else { _SGL_ERROR(CONTEXT_POOL_EXHAUSTED); } return ctx_id; } static void _sgl_destroy_context(sgl_context ctx_id) { _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); if (ctx) { SOKOL_ASSERT(ctx->vertices.ptr); SOKOL_ASSERT(ctx->uniforms.ptr); SOKOL_ASSERT(ctx->commands.ptr); _sgl_free(ctx->vertices.ptr); _sgl_free(ctx->uniforms.ptr); _sgl_free(ctx->commands.ptr); ctx->vertices.ptr = 0; ctx->uniforms.ptr = 0; ctx->commands.ptr = 0; sg_push_debug_group("sokol-gl"); sg_destroy_buffer(ctx->vbuf); _sgl_destroy_pipeline(ctx->def_pip); sg_remove_commit_listener(_sgl_make_commit_listener(ctx)); sg_pop_debug_group(); _sgl_reset_context(ctx); _sgl_pool_free_index(&_sgl.context_pool.pool, _sgl_slot_index(ctx_id.id)); } } // ███ ███ ██ ███████ ██████ // ████ ████ ██ ██ ██ // ██ ████ ██ ██ ███████ ██ // ██ ██ ██ ██ ██ ██ // ██ ██ ██ ███████ ██████ // // >>misc static sgl_error_t _sgl_error_defaults(void) { sgl_error_t defaults = {0}; return defaults; } static int _sgl_num_vertices(_sgl_context_t* ctx) { return ctx->vertices.next; } static int _sgl_num_commands(_sgl_context_t* ctx) { return ctx->commands.next; } static void _sgl_begin(_sgl_context_t* ctx, _sgl_primitive_type_t mode) { ctx->in_begin = true; ctx->base_vertex = ctx->vertices.next; ctx->quad_vtx_count = 0; ctx->cur_prim_type = mode; } static void _sgl_rewind(_sgl_context_t* ctx) { ctx->frame_id++; ctx->vertices.next = 0; ctx->uniforms.next = 0; ctx->commands.next = 0; ctx->base_vertex = 0; ctx->error = _sgl_error_defaults(); ctx->layer_id = 0; ctx->matrix_dirty = true; } // called from inside sokol-gfx sg_commit() static void _sgl_commit_listener(void* userdata) { _sgl_context_t* ctx = _sgl_lookup_context((uint32_t)(uintptr_t)userdata); if (ctx) { _sgl_rewind(ctx); } } static sg_commit_listener _sgl_make_commit_listener(_sgl_context_t* ctx) { sg_commit_listener listener = { _sgl_commit_listener, (void*)(uintptr_t)(ctx->slot.id) }; return listener; } static _sgl_vertex_t* _sgl_next_vertex(_sgl_context_t* ctx) { if (ctx->vertices.next < ctx->vertices.cap) { return &ctx->vertices.ptr[ctx->vertices.next++]; } else { ctx->error.vertices_full = true; ctx->error.any = true; return 0; } } static _sgl_uniform_t* _sgl_next_uniform(_sgl_context_t* ctx) { if (ctx->uniforms.next < ctx->uniforms.cap) { return &ctx->uniforms.ptr[ctx->uniforms.next++]; } else { ctx->error.uniforms_full = true; ctx->error.any = true; return 0; } } static _sgl_command_t* _sgl_cur_command(_sgl_context_t* ctx) { if (ctx->commands.next > 0) { return &ctx->commands.ptr[ctx->commands.next - 1]; } else { return 0; } } static _sgl_command_t* _sgl_next_command(_sgl_context_t* ctx) { if (ctx->commands.next < ctx->commands.cap) { return &ctx->commands.ptr[ctx->commands.next++]; } else { ctx->error.commands_full = true; ctx->error.any = true; return 0; } } static uint32_t _sgl_pack_rgbab(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return (uint32_t)(((uint32_t)a<<24)|((uint32_t)b<<16)|((uint32_t)g<<8)|r); } static float _sgl_clamp(float v, float lo, float hi) { if (v < lo) return lo; else if (v > hi) return hi; else return v; } static uint32_t _sgl_pack_rgbaf(float r, float g, float b, float a) { uint8_t r_u8 = (uint8_t) (_sgl_clamp(r, 0.0f, 1.0f) * 255.0f); uint8_t g_u8 = (uint8_t) (_sgl_clamp(g, 0.0f, 1.0f) * 255.0f); uint8_t b_u8 = (uint8_t) (_sgl_clamp(b, 0.0f, 1.0f) * 255.0f); uint8_t a_u8 = (uint8_t) (_sgl_clamp(a, 0.0f, 1.0f) * 255.0f); return _sgl_pack_rgbab(r_u8, g_u8, b_u8, a_u8); } static void _sgl_vtx(_sgl_context_t* ctx, float x, float y, float z, float u, float v, uint32_t rgba) { SOKOL_ASSERT(ctx->in_begin); _sgl_vertex_t* vtx; /* handle non-native primitive types */ if ((ctx->cur_prim_type == SGL_PRIMITIVETYPE_QUADS) && ((ctx->quad_vtx_count & 3) == 3)) { /* for quads, before writing the last quad vertex, reuse the first and third vertex to start the second triangle in the quad */ vtx = _sgl_next_vertex(ctx); if (vtx) { *vtx = *(vtx - 3); } vtx = _sgl_next_vertex(ctx); if (vtx) { *vtx = *(vtx - 2); } } vtx = _sgl_next_vertex(ctx); if (vtx) { vtx->pos[0] = x; vtx->pos[1] = y; vtx->pos[2] = z; vtx->uv[0] = u; vtx->uv[1] = v; vtx->rgba = rgba; vtx->psize = ctx->point_size; } ctx->quad_vtx_count++; } static void _sgl_identity(_sgl_matrix_t* m) { for (int c = 0; c < 4; c++) { for (int r = 0; r < 4; r++) { m->v[c][r] = (r == c) ? 1.0f : 0.0f; } } } static void _sgl_transpose(_sgl_matrix_t* dst, const _sgl_matrix_t* m) { SOKOL_ASSERT(dst != m); for (int c = 0; c < 4; c++) { for (int r = 0; r < 4; r++) { dst->v[r][c] = m->v[c][r]; } } } /* _sgl_rotate, _sgl_frustum, _sgl_ortho from MESA m_matric.c */ static void _sgl_matmul4(_sgl_matrix_t* p, const _sgl_matrix_t* a, const _sgl_matrix_t* b) { for (int r = 0; r < 4; r++) { float ai0=a->v[0][r], ai1=a->v[1][r], ai2=a->v[2][r], ai3=a->v[3][r]; p->v[0][r] = ai0*b->v[0][0] + ai1*b->v[0][1] + ai2*b->v[0][2] + ai3*b->v[0][3]; p->v[1][r] = ai0*b->v[1][0] + ai1*b->v[1][1] + ai2*b->v[1][2] + ai3*b->v[1][3]; p->v[2][r] = ai0*b->v[2][0] + ai1*b->v[2][1] + ai2*b->v[2][2] + ai3*b->v[2][3]; p->v[3][r] = ai0*b->v[3][0] + ai1*b->v[3][1] + ai2*b->v[3][2] + ai3*b->v[3][3]; } } static void _sgl_mul(_sgl_matrix_t* dst, const _sgl_matrix_t* m) { _sgl_matmul4(dst, dst, m); } static void _sgl_rotate(_sgl_matrix_t* dst, float a, float x, float y, float z) { float s = sinf(a); float c = cosf(a); float mag = sqrtf(x*x + y*y + z*z); if (mag < 1.0e-4F) { return; } x /= mag; y /= mag; z /= mag; float xx = x * x; float yy = y * y; float zz = z * z; float xy = x * y; float yz = y * z; float zx = z * x; float xs = x * s; float ys = y * s; float zs = z * s; float one_c = 1.0f - c; _sgl_matrix_t m; m.v[0][0] = (one_c * xx) + c; m.v[1][0] = (one_c * xy) - zs; m.v[2][0] = (one_c * zx) + ys; m.v[3][0] = 0.0f; m.v[0][1] = (one_c * xy) + zs; m.v[1][1] = (one_c * yy) + c; m.v[2][1] = (one_c * yz) - xs; m.v[3][1] = 0.0f; m.v[0][2] = (one_c * zx) - ys; m.v[1][2] = (one_c * yz) + xs; m.v[2][2] = (one_c * zz) + c; m.v[3][2] = 0.0f; m.v[0][3] = 0.0f; m.v[1][3] = 0.0f; m.v[2][3] = 0.0f; m.v[3][3] = 1.0f; _sgl_mul(dst, &m); } static void _sgl_scale(_sgl_matrix_t* dst, float x, float y, float z) { for (int r = 0; r < 4; r++) { dst->v[0][r] *= x; dst->v[1][r] *= y; dst->v[2][r] *= z; } } static void _sgl_translate(_sgl_matrix_t* dst, float x, float y, float z) { for (int r = 0; r < 4; r++) { dst->v[3][r] = dst->v[0][r]*x + dst->v[1][r]*y + dst->v[2][r]*z + dst->v[3][r]; } } static void _sgl_frustum(_sgl_matrix_t* dst, float left, float right, float bottom, float top, float znear, float zfar) { float x = (2.0f * znear) / (right - left); float y = (2.0f * znear) / (top - bottom); float a = (right + left) / (right - left); float b = (top + bottom) / (top - bottom); float c = -(zfar + znear) / (zfar - znear); float d = -(2.0f * zfar * znear) / (zfar - znear); _sgl_matrix_t m; m.v[0][0] = x; m.v[0][1] = 0.0f; m.v[0][2] = 0.0f; m.v[0][3] = 0.0f; m.v[1][0] = 0.0f; m.v[1][1] = y; m.v[1][2] = 0.0f; m.v[1][3] = 0.0f; m.v[2][0] = a; m.v[2][1] = b; m.v[2][2] = c; m.v[2][3] = -1.0f; m.v[3][0] = 0.0f; m.v[3][1] = 0.0f; m.v[3][2] = d; m.v[3][3] = 0.0f; _sgl_mul(dst, &m); } static void _sgl_ortho(_sgl_matrix_t* dst, float left, float right, float bottom, float top, float znear, float zfar) { _sgl_matrix_t m; m.v[0][0] = 2.0f / (right - left); m.v[1][0] = 0.0f; m.v[2][0] = 0.0f; m.v[3][0] = -(right + left) / (right - left); m.v[0][1] = 0.0f; m.v[1][1] = 2.0f / (top - bottom); m.v[2][1] = 0.0f; m.v[3][1] = -(top + bottom) / (top - bottom); m.v[0][2] = 0.0f; m.v[1][2] = 0.0f; m.v[2][2] = -2.0f / (zfar - znear); m.v[3][2] = -(zfar + znear) / (zfar - znear); m.v[0][3] = 0.0f; m.v[1][3] = 0.0f; m.v[2][3] = 0.0f; m.v[3][3] = 1.0f; _sgl_mul(dst, &m); } /* _sgl_perspective, _sgl_lookat from Regal project.c */ static void _sgl_perspective(_sgl_matrix_t* dst, float fovy, float aspect, float znear, float zfar) { float sine = sinf(fovy / 2.0f); float delta_z = zfar - znear; if ((delta_z == 0.0f) || (sine == 0.0f) || (aspect == 0.0f)) { return; } float cotan = cosf(fovy / 2.0f) / sine; _sgl_matrix_t m; _sgl_identity(&m); m.v[0][0] = cotan / aspect; m.v[1][1] = cotan; m.v[2][2] = -(zfar + znear) / delta_z; m.v[2][3] = -1.0f; m.v[3][2] = -2.0f * znear * zfar / delta_z; m.v[3][3] = 0.0f; _sgl_mul(dst, &m); } static void _sgl_normalize(float v[3]) { float r = sqrtf(v[0]*v[0] + v[1]*v[1] + v[2]*v[2]); if (r == 0.0f) { return; } v[0] /= r; v[1] /= r; v[2] /= r; } static void _sgl_cross(float v1[3], float v2[3], float res[3]) { res[0] = v1[1]*v2[2] - v1[2]*v2[1]; res[1] = v1[2]*v2[0] - v1[0]*v2[2]; res[2] = v1[0]*v2[1] - v1[1]*v2[0]; } static void _sgl_lookat(_sgl_matrix_t* dst, float eye_x, float eye_y, float eye_z, float center_x, float center_y, float center_z, float up_x, float up_y, float up_z) { float fwd[3], side[3], up[3]; fwd[0] = center_x - eye_x; fwd[1] = center_y - eye_y; fwd[2] = center_z - eye_z; up[0] = up_x; up[1] = up_y; up[2] = up_z; _sgl_normalize(fwd); _sgl_cross(fwd, up, side); _sgl_normalize(side); _sgl_cross(side, fwd, up); _sgl_matrix_t m; _sgl_identity(&m); m.v[0][0] = side[0]; m.v[1][0] = side[1]; m.v[2][0] = side[2]; m.v[0][1] = up[0]; m.v[1][1] = up[1]; m.v[2][1] = up[2]; m.v[0][2] = -fwd[0]; m.v[1][2] = -fwd[1]; m.v[2][2] = -fwd[2]; _sgl_mul(dst, &m); _sgl_translate(dst, -eye_x, -eye_y, -eye_z); } /* current top-of-stack projection matrix */ static _sgl_matrix_t* _sgl_matrix_projection(_sgl_context_t* ctx) { return &ctx->matrix_stack[SGL_MATRIXMODE_PROJECTION][ctx->matrix_tos[SGL_MATRIXMODE_PROJECTION]]; } /* get top-of-stack modelview matrix */ static _sgl_matrix_t* _sgl_matrix_modelview(_sgl_context_t* ctx) { return &ctx->matrix_stack[SGL_MATRIXMODE_MODELVIEW][ctx->matrix_tos[SGL_MATRIXMODE_MODELVIEW]]; } /* get top-of-stack texture matrix */ static _sgl_matrix_t* _sgl_matrix_texture(_sgl_context_t* ctx) { return &ctx->matrix_stack[SGL_MATRIXMODE_TEXTURE][ctx->matrix_tos[SGL_MATRIXMODE_TEXTURE]]; } /* get pointer to current top-of-stack of current matrix mode */ static _sgl_matrix_t* _sgl_matrix(_sgl_context_t* ctx) { return &ctx->matrix_stack[ctx->cur_matrix_mode][ctx->matrix_tos[ctx->cur_matrix_mode]]; } // return sg_context_desc_t with patched defaults static sgl_desc_t _sgl_desc_defaults(const sgl_desc_t* desc) { SOKOL_ASSERT((desc->allocator.alloc_fn && desc->allocator.free_fn) || (!desc->allocator.alloc_fn && !desc->allocator.free_fn)); sgl_desc_t res = *desc; res.max_vertices = _sgl_def(desc->max_vertices, _SGL_DEFAULT_MAX_VERTICES); res.max_commands = _sgl_def(desc->max_commands, _SGL_DEFAULT_MAX_COMMANDS); res.context_pool_size = _sgl_def(desc->context_pool_size, _SGL_DEFAULT_CONTEXT_POOL_SIZE); res.pipeline_pool_size = _sgl_def(desc->pipeline_pool_size, _SGL_DEFAULT_PIPELINE_POOL_SIZE); res.face_winding = _sgl_def(desc->face_winding, SG_FACEWINDING_CCW); return res; } // create resources which are shared between all contexts static void _sgl_setup_common(void) { sg_push_debug_group("sokol-gl"); uint32_t pixels[64]; for (int i = 0; i < 64; i++) { pixels[i] = 0xFFFFFFFF; } sg_image_desc img_desc; _sgl_clear(&img_desc, sizeof(img_desc)); img_desc.type = SG_IMAGETYPE_2D; img_desc.width = 8; img_desc.height = 8; img_desc.num_mipmaps = 1; img_desc.pixel_format = SG_PIXELFORMAT_RGBA8; img_desc.data.subimage[0][0] = SG_RANGE(pixels); img_desc.label = "sgl-default-texture"; _sgl.def_img = sg_make_image(&img_desc); SOKOL_ASSERT(SG_INVALID_ID != _sgl.def_img.id); sg_sampler_desc smp_desc; _sgl_clear(&smp_desc, sizeof(smp_desc)); smp_desc.min_filter = SG_FILTER_NEAREST; smp_desc.mag_filter = SG_FILTER_NEAREST; _sgl.def_smp = sg_make_sampler(&smp_desc); SOKOL_ASSERT(SG_INVALID_ID != _sgl.def_smp.id); // one shader for all contexts sg_shader_desc shd_desc; _sgl_clear(&shd_desc, sizeof(shd_desc)); shd_desc.attrs[0].name = "position"; shd_desc.attrs[1].name = "texcoord0"; shd_desc.attrs[2].name = "color0"; shd_desc.attrs[3].name = "psize"; shd_desc.attrs[0].sem_name = "TEXCOORD"; shd_desc.attrs[0].sem_index = 0; shd_desc.attrs[1].sem_name = "TEXCOORD"; shd_desc.attrs[1].sem_index = 1; shd_desc.attrs[2].sem_name = "TEXCOORD"; shd_desc.attrs[2].sem_index = 2; shd_desc.attrs[3].sem_name = "TEXCOORD"; shd_desc.attrs[3].sem_index = 3; sg_shader_uniform_block_desc* ub = &shd_desc.vs.uniform_blocks[0]; ub->size = sizeof(_sgl_uniform_t); ub->uniforms[0].name = "vs_params"; ub->uniforms[0].type = SG_UNIFORMTYPE_FLOAT4; ub->uniforms[0].array_count = 8; shd_desc.fs.images[0].used = true; shd_desc.fs.images[0].image_type = SG_IMAGETYPE_2D; shd_desc.fs.images[0].sample_type = SG_IMAGESAMPLETYPE_FLOAT; shd_desc.fs.samplers[0].used = true; shd_desc.fs.samplers[0].sampler_type = SG_SAMPLERTYPE_FILTERING; shd_desc.fs.image_sampler_pairs[0].used = true; shd_desc.fs.image_sampler_pairs[0].image_slot = 0; shd_desc.fs.image_sampler_pairs[0].sampler_slot = 0; shd_desc.fs.image_sampler_pairs[0].glsl_name = "tex_smp"; shd_desc.label = "sgl-shader"; #if defined(SOKOL_GLCORE) shd_desc.vs.source = (const char*)_sgl_vs_source_glsl410; shd_desc.fs.source = (const char*)_sgl_fs_source_glsl410; #elif defined(SOKOL_GLES3) shd_desc.vs.source = (const char*)_sgl_vs_source_glsl300es; shd_desc.fs.source = (const char*)_sgl_fs_source_glsl300es; #elif defined(SOKOL_METAL) shd_desc.vs.entry = "main0"; shd_desc.fs.entry = "main0"; switch (sg_query_backend()) { case SG_BACKEND_METAL_MACOS: shd_desc.vs.bytecode = SG_RANGE(_sgl_vs_bytecode_metal_macos); shd_desc.fs.bytecode = SG_RANGE(_sgl_fs_bytecode_metal_macos); break; case SG_BACKEND_METAL_IOS: shd_desc.vs.bytecode = SG_RANGE(_sgl_vs_bytecode_metal_ios); shd_desc.fs.bytecode = SG_RANGE(_sgl_fs_bytecode_metal_ios); break; default: shd_desc.vs.source = (const char*)_sgl_vs_source_metal_sim; shd_desc.fs.source = (const char*)_sgl_fs_source_metal_sim; break; } #elif defined(SOKOL_D3D11) shd_desc.vs.bytecode = SG_RANGE(_sgl_vs_bytecode_hlsl4); shd_desc.fs.bytecode = SG_RANGE(_sgl_fs_bytecode_hlsl4); #elif defined(SOKOL_WGPU) shd_desc.vs.source = (const char*)_sgl_vs_source_wgsl; shd_desc.fs.source = (const char*)_sgl_fs_source_wgsl; #else shd_desc.vs.source = _sgl_vs_source_dummy; shd_desc.fs.source = _sgl_fs_source_dummy; #endif _sgl.shd = sg_make_shader(&shd_desc); SOKOL_ASSERT(SG_INVALID_ID != _sgl.shd.id); sg_pop_debug_group(); } // discard resources which are shared between all contexts static void _sgl_discard_common(void) { sg_push_debug_group("sokol-gl"); sg_destroy_image(_sgl.def_img); sg_destroy_sampler(_sgl.def_smp); sg_destroy_shader(_sgl.shd); sg_pop_debug_group(); } static bool _sgl_is_default_context(sgl_context ctx_id) { return ctx_id.id == SGL_DEFAULT_CONTEXT.id; } static void _sgl_draw(_sgl_context_t* ctx, int layer_id) { SOKOL_ASSERT(ctx); if ((ctx->vertices.next > 0) && (ctx->commands.next > 0)) { sg_push_debug_group("sokol-gl"); uint32_t cur_pip_id = SG_INVALID_ID; uint32_t cur_img_id = SG_INVALID_ID; uint32_t cur_smp_id = SG_INVALID_ID; int cur_uniform_index = -1; if (ctx->update_frame_id != ctx->frame_id) { ctx->update_frame_id = ctx->frame_id; const sg_range range = { ctx->vertices.ptr, (size_t)ctx->vertices.next * sizeof(_sgl_vertex_t) }; sg_update_buffer(ctx->vbuf, &range); } // render all successfully recorded commands (this may be less than the // issued commands if we're in an error state) for (int i = 0; i < ctx->commands.next; i++) { const _sgl_command_t* cmd = &ctx->commands.ptr[i]; if (cmd->layer_id != layer_id) { continue; } switch (cmd->cmd) { case SGL_COMMAND_VIEWPORT: { const _sgl_viewport_args_t* args = &cmd->args.viewport; sg_apply_viewport(args->x, args->y, args->w, args->h, args->origin_top_left); } break; case SGL_COMMAND_SCISSOR_RECT: { const _sgl_scissor_rect_args_t* args = &cmd->args.scissor_rect; sg_apply_scissor_rect(args->x, args->y, args->w, args->h, args->origin_top_left); } break; case SGL_COMMAND_DRAW: { const _sgl_draw_args_t* args = &cmd->args.draw; if (args->pip.id != cur_pip_id) { sg_apply_pipeline(args->pip); cur_pip_id = args->pip.id; /* when pipeline changes, also need to re-apply uniforms and bindings */ cur_img_id = SG_INVALID_ID; cur_smp_id = SG_INVALID_ID; cur_uniform_index = -1; } if ((cur_img_id != args->img.id) || (cur_smp_id != args->smp.id)) { ctx->bind.fs.images[0] = args->img; ctx->bind.fs.samplers[0] = args->smp; sg_apply_bindings(&ctx->bind); cur_img_id = args->img.id; cur_smp_id = args->smp.id; } if (cur_uniform_index != args->uniform_index) { const sg_range ub_range = { &ctx->uniforms.ptr[args->uniform_index], sizeof(_sgl_uniform_t) }; sg_apply_uniforms(SG_SHADERSTAGE_VS, 0, &ub_range); cur_uniform_index = args->uniform_index; } /* FIXME: what if number of vertices doesn't match the primitive type? */ if (args->num_vertices > 0) { sg_draw(args->base_vertex, args->num_vertices, 1); } } break; } } sg_pop_debug_group(); } } static sgl_context_desc_t _sgl_as_context_desc(const sgl_desc_t* desc) { sgl_context_desc_t ctx_desc; _sgl_clear(&ctx_desc, sizeof(ctx_desc)); ctx_desc.max_vertices = desc->max_vertices; ctx_desc.max_commands = desc->max_commands; ctx_desc.color_format = desc->color_format; ctx_desc.depth_format = desc->depth_format; ctx_desc.sample_count = desc->sample_count; return ctx_desc; } // ██████ ██ ██ ██████ ██ ██ ██████ // ██ ██ ██ ██ ██ ██ ██ ██ ██ // ██████ ██ ██ ██████ ██ ██ ██ // ██ ██ ██ ██ ██ ██ ██ ██ // ██ ██████ ██████ ███████ ██ ██████ // // >>public SOKOL_API_IMPL void sgl_setup(const sgl_desc_t* desc) { SOKOL_ASSERT(desc); _sgl_clear(&_sgl, sizeof(_sgl)); _sgl.init_cookie = _SGL_INIT_COOKIE; _sgl.desc = _sgl_desc_defaults(desc); _sgl_setup_pipeline_pool(_sgl.desc.pipeline_pool_size); _sgl_setup_context_pool(_sgl.desc.context_pool_size); _sgl_setup_common(); const sgl_context_desc_t ctx_desc = _sgl_as_context_desc(&_sgl.desc); _sgl.def_ctx_id = sgl_make_context(&ctx_desc); SOKOL_ASSERT(SGL_DEFAULT_CONTEXT.id == _sgl.def_ctx_id.id); sgl_set_context(_sgl.def_ctx_id); } SOKOL_API_IMPL void sgl_shutdown(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); // contexts own a pipeline, so destroy contexts before pipelines for (int i = 0; i < _sgl.context_pool.pool.size; i++) { _sgl_context_t* ctx = &_sgl.context_pool.contexts[i]; _sgl_destroy_context(_sgl_make_ctx_id(ctx->slot.id)); } for (int i = 0; i < _sgl.pip_pool.pool.size; i++) { _sgl_pipeline_t* pip = &_sgl.pip_pool.pips[i]; _sgl_destroy_pipeline(_sgl_make_pip_id(pip->slot.id)); } _sgl_discard_context_pool(); _sgl_discard_pipeline_pool(); _sgl_discard_common(); _sgl.init_cookie = 0; } SOKOL_API_IMPL sgl_error_t sgl_error(void) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { return ctx->error; } else { sgl_error_t err = _sgl_error_defaults(); err.no_context = true; err.any = true; return err; } } SOKOL_API_IMPL sgl_error_t sgl_context_error(sgl_context ctx_id) { const _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); if (ctx) { return ctx->error; } else { sgl_error_t err = _sgl_error_defaults(); err.no_context = true; err.any = true; return err; } } SOKOL_API_IMPL float sgl_rad(float deg) { return (deg * (float)M_PI) / 180.0f; } SOKOL_API_IMPL float sgl_deg(float rad) { return (rad * 180.0f) / (float)M_PI; } SOKOL_API_IMPL sgl_context sgl_make_context(const sgl_context_desc_t* desc) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); return _sgl_make_context(desc); } SOKOL_API_IMPL void sgl_destroy_context(sgl_context ctx_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); if (_sgl_is_default_context(ctx_id)) { _SGL_WARN(CANNOT_DESTROY_DEFAULT_CONTEXT); return; } _sgl_destroy_context(ctx_id); // re-validate the current context pointer (this will return a nullptr // if we just destroyed the current context) _sgl.cur_ctx = _sgl_lookup_context(_sgl.cur_ctx_id.id); } SOKOL_API_IMPL void sgl_set_context(sgl_context ctx_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); if (_sgl_is_default_context(ctx_id)) { _sgl.cur_ctx_id = _sgl.def_ctx_id; } else { _sgl.cur_ctx_id = ctx_id; } // this will return null if the handle isn't valid _sgl.cur_ctx = _sgl_lookup_context(_sgl.cur_ctx_id.id); } SOKOL_API_IMPL sgl_context sgl_get_context(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); return _sgl.cur_ctx_id; } SOKOL_API_IMPL sgl_context sgl_default_context(void) { return SGL_DEFAULT_CONTEXT; } SOKOL_API_IMPL int sgl_num_vertices(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { return _sgl_num_vertices(ctx); } else { return 0; } } SOKOL_API_IMPL int sgl_num_commands(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { return _sgl_num_commands(ctx); } else { return 0; } } SOKOL_API_IMPL sgl_pipeline sgl_make_pipeline(const sg_pipeline_desc* desc) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { return _sgl_make_pipeline(desc, &ctx->desc); } else { return _sgl_make_pip_id(SG_INVALID_ID); } } SOKOL_API_IMPL sgl_pipeline sgl_context_make_pipeline(sgl_context ctx_id, const sg_pipeline_desc* desc) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); const _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); if (ctx) { return _sgl_make_pipeline(desc, &ctx->desc); } else { return _sgl_make_pip_id(SG_INVALID_ID); } } SOKOL_API_IMPL void sgl_destroy_pipeline(sgl_pipeline pip_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_destroy_pipeline(pip_id); } SOKOL_API_IMPL void sgl_load_pipeline(sgl_pipeline pip_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT((ctx->pip_tos >= 0) && (ctx->pip_tos < _SGL_MAX_STACK_DEPTH)); ctx->pip_stack[ctx->pip_tos] = pip_id; } SOKOL_API_IMPL void sgl_load_default_pipeline(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT((ctx->pip_tos >= 0) && (ctx->pip_tos < _SGL_MAX_STACK_DEPTH)); ctx->pip_stack[ctx->pip_tos] = ctx->def_pip; } SOKOL_API_IMPL void sgl_push_pipeline(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } if (ctx->pip_tos < (_SGL_MAX_STACK_DEPTH - 1)) { ctx->pip_tos++; ctx->pip_stack[ctx->pip_tos] = ctx->pip_stack[ctx->pip_tos-1]; } else { ctx->error.stack_overflow = true; ctx->error.any = true; } } SOKOL_API_IMPL void sgl_pop_pipeline(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } if (ctx->pip_tos > 0) { ctx->pip_tos--; } else { ctx->error.stack_underflow = true; ctx->error.any = true; } } SOKOL_API_IMPL void sgl_defaults(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); ctx->u = 0.0f; ctx->v = 0.0f; ctx->rgba = 0xFFFFFFFF; ctx->point_size = 1.0f; ctx->texturing_enabled = false; ctx->cur_img = _sgl.def_img; ctx->cur_smp = _sgl.def_smp; sgl_load_default_pipeline(); _sgl_identity(_sgl_matrix_texture(ctx)); _sgl_identity(_sgl_matrix_modelview(ctx)); _sgl_identity(_sgl_matrix_projection(ctx)); ctx->cur_matrix_mode = SGL_MATRIXMODE_MODELVIEW; ctx->matrix_dirty = true; } SOKOL_API_IMPL void sgl_layer(int layer_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); ctx->layer_id = layer_id; } SOKOL_API_IMPL void sgl_viewport(int x, int y, int w, int h, bool origin_top_left) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_command_t* cmd = _sgl_next_command(ctx); if (cmd) { cmd->cmd = SGL_COMMAND_VIEWPORT; cmd->layer_id = ctx->layer_id; cmd->args.viewport.x = x; cmd->args.viewport.y = y; cmd->args.viewport.w = w; cmd->args.viewport.h = h; cmd->args.viewport.origin_top_left = origin_top_left; } } SOKOL_API_IMPL void sgl_viewportf(float x, float y, float w, float h, bool origin_top_left) { sgl_viewport((int)x, (int)y, (int)w, (int)h, origin_top_left); } SOKOL_API_IMPL void sgl_scissor_rect(int x, int y, int w, int h, bool origin_top_left) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_command_t* cmd = _sgl_next_command(ctx); if (cmd) { cmd->cmd = SGL_COMMAND_SCISSOR_RECT; cmd->layer_id = ctx->layer_id; cmd->args.scissor_rect.x = x; cmd->args.scissor_rect.y = y; cmd->args.scissor_rect.w = w; cmd->args.scissor_rect.h = h; cmd->args.scissor_rect.origin_top_left = origin_top_left; } } SOKOL_API_IMPL void sgl_scissor_rectf(float x, float y, float w, float h, bool origin_top_left) { sgl_scissor_rect((int)x, (int)y, (int)w, (int)h, origin_top_left); } SOKOL_API_IMPL void sgl_enable_texture(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); ctx->texturing_enabled = true; } SOKOL_API_IMPL void sgl_disable_texture(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); ctx->texturing_enabled = false; } SOKOL_API_IMPL void sgl_texture(sg_image img, sg_sampler smp) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); if (SG_INVALID_ID != img.id) { ctx->cur_img = img; } else { ctx->cur_img = _sgl.def_img; } if (SG_INVALID_ID != smp.id) { ctx->cur_smp = smp; } else { ctx->cur_smp = _sgl.def_smp; } } SOKOL_API_IMPL void sgl_begin_points(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_POINTS); } SOKOL_API_IMPL void sgl_begin_lines(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_LINES); } SOKOL_API_IMPL void sgl_begin_line_strip(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_LINE_STRIP); } SOKOL_API_IMPL void sgl_begin_triangles(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_TRIANGLES); } SOKOL_API_IMPL void sgl_begin_triangle_strip(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_TRIANGLE_STRIP); } SOKOL_API_IMPL void sgl_begin_quads(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(!ctx->in_begin); _sgl_begin(ctx, SGL_PRIMITIVETYPE_QUADS); } SOKOL_API_IMPL void sgl_end(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT(ctx->in_begin); SOKOL_ASSERT(ctx->vertices.next >= ctx->base_vertex); ctx->in_begin = false; bool matrix_dirty = ctx->matrix_dirty; if (matrix_dirty) { ctx->matrix_dirty = false; _sgl_uniform_t* uni = _sgl_next_uniform(ctx); if (uni) { _sgl_matmul4(&uni->mvp, _sgl_matrix_projection(ctx), _sgl_matrix_modelview(ctx)); uni->tm = *_sgl_matrix_texture(ctx); } } // don't record any new commands when we're in an error state if (ctx->error.any) { return; } // check if command can be merged with current command sg_pipeline pip = _sgl_get_pipeline(ctx->pip_stack[ctx->pip_tos], ctx->cur_prim_type); sg_image img = ctx->texturing_enabled ? ctx->cur_img : _sgl.def_img; sg_sampler smp = ctx->texturing_enabled ? ctx->cur_smp : _sgl.def_smp; _sgl_command_t* cur_cmd = _sgl_cur_command(ctx); bool merge_cmd = false; if (cur_cmd) { if ((cur_cmd->cmd == SGL_COMMAND_DRAW) && (cur_cmd->layer_id == ctx->layer_id) && (ctx->cur_prim_type != SGL_PRIMITIVETYPE_LINE_STRIP) && (ctx->cur_prim_type != SGL_PRIMITIVETYPE_TRIANGLE_STRIP) && !matrix_dirty && (cur_cmd->args.draw.img.id == img.id) && (cur_cmd->args.draw.smp.id == smp.id) && (cur_cmd->args.draw.pip.id == pip.id)) { merge_cmd = true; } } if (merge_cmd) { // draw command can be merged with the previous command cur_cmd->args.draw.num_vertices += ctx->vertices.next - ctx->base_vertex; } else { // append a new draw command _sgl_command_t* cmd = _sgl_next_command(ctx); if (cmd) { SOKOL_ASSERT(ctx->uniforms.next > 0); cmd->cmd = SGL_COMMAND_DRAW; cmd->layer_id = ctx->layer_id; cmd->args.draw.img = img; cmd->args.draw.smp = smp; cmd->args.draw.pip = _sgl_get_pipeline(ctx->pip_stack[ctx->pip_tos], ctx->cur_prim_type); cmd->args.draw.base_vertex = ctx->base_vertex; cmd->args.draw.num_vertices = ctx->vertices.next - ctx->base_vertex; cmd->args.draw.uniform_index = ctx->uniforms.next - 1; } } } SOKOL_API_IMPL void sgl_point_size(float s) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->point_size = s; } } SOKOL_API_IMPL void sgl_t2f(float u, float v) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->u = u; ctx->v = v; } } SOKOL_API_IMPL void sgl_c3f(float r, float g, float b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->rgba = _sgl_pack_rgbaf(r, g, b, 1.0f); } } SOKOL_API_IMPL void sgl_c4f(float r, float g, float b, float a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->rgba = _sgl_pack_rgbaf(r, g, b, a); } } SOKOL_API_IMPL void sgl_c3b(uint8_t r, uint8_t g, uint8_t b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->rgba = _sgl_pack_rgbab(r, g, b, 255); } } SOKOL_API_IMPL void sgl_c4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->rgba = _sgl_pack_rgbab(r, g, b, a); } } SOKOL_API_IMPL void sgl_c1i(uint32_t rgba) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->rgba = rgba; } } SOKOL_API_IMPL void sgl_v2f(float x, float y) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, ctx->rgba); } } SOKOL_API_IMPL void sgl_v3f(float x, float y, float z) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, ctx->rgba); } } SOKOL_API_IMPL void sgl_v2f_t2f(float x, float y, float u, float v) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, ctx->rgba); } } SOKOL_API_IMPL void sgl_v3f_t2f(float x, float y, float z, float u, float v) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, u, v, ctx->rgba); } } SOKOL_API_IMPL void sgl_v2f_c3f(float x, float y, float r, float g, float b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, _sgl_pack_rgbaf(r, g, b, 1.0f)); } } SOKOL_API_IMPL void sgl_v2f_c3b(float x, float y, uint8_t r, uint8_t g, uint8_t b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, _sgl_pack_rgbab(r, g, b, 255)); } } SOKOL_API_IMPL void sgl_v2f_c4f(float x, float y, float r, float g, float b, float a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, _sgl_pack_rgbaf(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v2f_c4b(float x, float y, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, _sgl_pack_rgbab(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v2f_c1i(float x, float y, uint32_t rgba) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, ctx->u, ctx->v, rgba); } } SOKOL_API_IMPL void sgl_v3f_c3f(float x, float y, float z, float r, float g, float b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, _sgl_pack_rgbaf(r, g, b, 1.0f)); } } SOKOL_API_IMPL void sgl_v3f_c3b(float x, float y, float z, uint8_t r, uint8_t g, uint8_t b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, _sgl_pack_rgbab(r, g, b, 255)); } } SOKOL_API_IMPL void sgl_v3f_c4f(float x, float y, float z, float r, float g, float b, float a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, _sgl_pack_rgbaf(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v3f_c4b(float x, float y, float z, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, _sgl_pack_rgbab(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v3f_c1i(float x, float y, float z, uint32_t rgba) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, ctx->u, ctx->v, rgba); } } SOKOL_API_IMPL void sgl_v2f_t2f_c3f(float x, float y, float u, float v, float r, float g, float b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, _sgl_pack_rgbaf(r, g, b, 1.0f)); } } SOKOL_API_IMPL void sgl_v2f_t2f_c3b(float x, float y, float u, float v, uint8_t r, uint8_t g, uint8_t b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, _sgl_pack_rgbab(r, g, b, 255)); } } SOKOL_API_IMPL void sgl_v2f_t2f_c4f(float x, float y, float u, float v, float r, float g, float b, float a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, _sgl_pack_rgbaf(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v2f_t2f_c4b(float x, float y, float u, float v, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, _sgl_pack_rgbab(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v2f_t2f_c1i(float x, float y, float u, float v, uint32_t rgba) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, 0.0f, u, v, rgba); } } SOKOL_API_IMPL void sgl_v3f_t2f_c3f(float x, float y, float z, float u, float v, float r, float g, float b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, u, v, _sgl_pack_rgbaf(r, g, b, 1.0f)); } } SOKOL_API_IMPL void sgl_v3f_t2f_c3b(float x, float y, float z, float u, float v, uint8_t r, uint8_t g, uint8_t b) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, u, v, _sgl_pack_rgbab(r, g, b, 255)); } } SOKOL_API_IMPL void sgl_v3f_t2f_c4f(float x, float y, float z, float u, float v, float r, float g, float b, float a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, u, v, _sgl_pack_rgbaf(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v3f_t2f_c4b(float x, float y, float z, float u, float v, uint8_t r, uint8_t g, uint8_t b, uint8_t a) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx, x, y, z, u, v, _sgl_pack_rgbab(r, g, b, a)); } } SOKOL_API_IMPL void sgl_v3f_t2f_c1i(float x, float y, float z, float u, float v, uint32_t rgba) { _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_vtx(ctx,x, y, z, u, v, rgba); } } SOKOL_API_IMPL void sgl_matrix_mode_modelview(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->cur_matrix_mode = SGL_MATRIXMODE_MODELVIEW; } } SOKOL_API_IMPL void sgl_matrix_mode_projection(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->cur_matrix_mode = SGL_MATRIXMODE_PROJECTION; } } SOKOL_API_IMPL void sgl_matrix_mode_texture(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { ctx->cur_matrix_mode = SGL_MATRIXMODE_TEXTURE; } } SOKOL_API_IMPL void sgl_load_identity(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_identity(_sgl_matrix(ctx)); } SOKOL_API_IMPL void sgl_load_matrix(const float m[16]) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; memcpy(&_sgl_matrix(ctx)->v[0][0], &m[0], 64); } SOKOL_API_IMPL void sgl_load_transpose_matrix(const float m[16]) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_transpose(_sgl_matrix(ctx), (const _sgl_matrix_t*) &m[0]); } SOKOL_API_IMPL void sgl_mult_matrix(const float m[16]) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; const _sgl_matrix_t* m0 = (const _sgl_matrix_t*) &m[0]; _sgl_mul(_sgl_matrix(ctx), m0); } SOKOL_API_IMPL void sgl_mult_transpose_matrix(const float m[16]) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_matrix_t m0; _sgl_transpose(&m0, (const _sgl_matrix_t*) &m[0]); _sgl_mul(_sgl_matrix(ctx), &m0); } SOKOL_API_IMPL void sgl_rotate(float angle_rad, float x, float y, float z) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_rotate(_sgl_matrix(ctx), angle_rad, x, y, z); } SOKOL_API_IMPL void sgl_scale(float x, float y, float z) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_scale(_sgl_matrix(ctx), x, y, z); } SOKOL_API_IMPL void sgl_translate(float x, float y, float z) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_translate(_sgl_matrix(ctx), x, y, z); } SOKOL_API_IMPL void sgl_frustum(float l, float r, float b, float t, float n, float f) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_frustum(_sgl_matrix(ctx), l, r, b, t, n, f); } SOKOL_API_IMPL void sgl_ortho(float l, float r, float b, float t, float n, float f) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_ortho(_sgl_matrix(ctx), l, r, b, t, n, f); } SOKOL_API_IMPL void sgl_perspective(float fov_y, float aspect, float z_near, float z_far) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_perspective(_sgl_matrix(ctx), fov_y, aspect, z_near, z_far); } SOKOL_API_IMPL void sgl_lookat(float eye_x, float eye_y, float eye_z, float center_x, float center_y, float center_z, float up_x, float up_y, float up_z) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } ctx->matrix_dirty = true; _sgl_lookat(_sgl_matrix(ctx), eye_x, eye_y, eye_z, center_x, center_y, center_z, up_x, up_y, up_z); } SOKOL_GL_API_DECL void sgl_push_matrix(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT((ctx->cur_matrix_mode >= 0) && (ctx->cur_matrix_mode < SGL_NUM_MATRIXMODES)); ctx->matrix_dirty = true; if (ctx->matrix_tos[ctx->cur_matrix_mode] < (_SGL_MAX_STACK_DEPTH - 1)) { const _sgl_matrix_t* src = _sgl_matrix(ctx); ctx->matrix_tos[ctx->cur_matrix_mode]++; _sgl_matrix_t* dst = _sgl_matrix(ctx); *dst = *src; } else { ctx->error.stack_overflow = true; ctx->error.any = true; } } SOKOL_GL_API_DECL void sgl_pop_matrix(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (!ctx) { return; } SOKOL_ASSERT((ctx->cur_matrix_mode >= 0) && (ctx->cur_matrix_mode < SGL_NUM_MATRIXMODES)); ctx->matrix_dirty = true; if (ctx->matrix_tos[ctx->cur_matrix_mode] > 0) { ctx->matrix_tos[ctx->cur_matrix_mode]--; } else { ctx->error.stack_underflow = true; ctx->error.any = true; } } SOKOL_API_IMPL void sgl_draw(void) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_draw(ctx, 0); } } SOKOL_API_IMPL void sgl_draw_layer(int layer_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl.cur_ctx; if (ctx) { _sgl_draw(ctx, layer_id); } } SOKOL_API_IMPL void sgl_context_draw(sgl_context ctx_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); if (ctx) { _sgl_draw(ctx, 0); } } SOKOL_API_IMPL void sgl_context_draw_layer(sgl_context ctx_id, int layer_id) { SOKOL_ASSERT(_SGL_INIT_COOKIE == _sgl.init_cookie); _sgl_context_t* ctx = _sgl_lookup_context(ctx_id.id); if (ctx) { _sgl_draw(ctx, layer_id); } } #endif /* SOKOL_GL_IMPL */
0
repos/sokol
repos/sokol/util/sokol_shape.h
#if defined(SOKOL_IMPL) && !defined(SOKOL_SHAPE_IMPL) #define SOKOL_SHAPE_IMPL #endif #ifndef SOKOL_SHAPE_INCLUDED /* sokol_shape.h -- create simple primitive shapes for sokol_gfx.h Project URL: https://github.com/floooh/sokol Do this: #define SOKOL_IMPL or #define SOKOL_SHAPE_IMPL before you include this file in *one* C or C++ file to create the implementation. Include the following headers before including sokol_shape.h: sokol_gfx.h ...optionally provide the following macros to override defaults: SOKOL_ASSERT(c) - your own assert macro (default: assert(c)) SOKOL_SHAPE_API_DECL- public function declaration prefix (default: extern) SOKOL_API_DECL - same as SOKOL_SHAPE_API_DECL SOKOL_API_IMPL - public function implementation prefix (default: -) If sokol_shape.h is compiled as a DLL, define the following before including the declaration or implementation: SOKOL_DLL On Windows, SOKOL_DLL will define SOKOL_SHAPE_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. FEATURE OVERVIEW ================ sokol_shape.h creates vertices and indices for simple shapes and builds structs which can be plugged into sokol-gfx resource creation functions: The following shape types are supported: - plane - cube - sphere (with poles, not geodesic) - cylinder - torus (donut) Generated vertices look like this: typedef struct sshape_vertex_t { float x, y, z; uint32_t normal; // packed normal as BYTE4N uint16_t u, v; // packed uv coords as USHORT2N uint32_t color; // packed color as UBYTE4N (r,g,b,a); } sshape_vertex_t; Indices are generally 16-bits wide (SG_INDEXTYPE_UINT16) and the indices are written as triangle-lists (SG_PRIMITIVETYPE_TRIANGLES). EXAMPLES: ========= Create multiple shapes into the same vertex- and index-buffer and render with separate draw calls: https://github.com/floooh/sokol-samples/blob/master/sapp/shapes-sapp.c Same as the above, but pre-transform shapes and merge them into a single shape that's rendered with a single draw call. https://github.com/floooh/sokol-samples/blob/master/sapp/shapes-transform-sapp.c STEP-BY-STEP: ============= Setup an sshape_buffer_t struct with pointers to memory buffers where generated vertices and indices will be written to: ```c sshape_vertex_t vertices[512]; uint16_t indices[4096]; sshape_buffer_t buf = { .vertices = { .buffer = SSHAPE_RANGE(vertices), }, .indices = { .buffer = SSHAPE_RANGE(indices), } }; ``` To find out how big those memory buffers must be (in case you want to allocate dynamically) call the following functions: ```c sshape_sizes_t sshape_plane_sizes(uint32_t tiles); sshape_sizes_t sshape_box_sizes(uint32_t tiles); sshape_sizes_t sshape_sphere_sizes(uint32_t slices, uint32_t stacks); sshape_sizes_t sshape_cylinder_sizes(uint32_t slices, uint32_t stacks); sshape_sizes_t sshape_torus_sizes(uint32_t sides, uint32_t rings); ``` The returned sshape_sizes_t struct contains vertex- and index-counts as well as the equivalent buffer sizes in bytes. For instance: ```c sshape_sizes_t sizes = sshape_sphere_sizes(36, 12); uint32_t num_vertices = sizes.vertices.num; uint32_t num_indices = sizes.indices.num; uint32_t vertex_buffer_size = sizes.vertices.size; uint32_t index_buffer_size = sizes.indices.size; ``` With the sshape_buffer_t struct that was setup earlier, call any of the shape-builder functions: ```c sshape_buffer_t sshape_build_plane(const sshape_buffer_t* buf, const sshape_plane_t* params); sshape_buffer_t sshape_build_box(const sshape_buffer_t* buf, const sshape_box_t* params); sshape_buffer_t sshape_build_sphere(const sshape_buffer_t* buf, const sshape_sphere_t* params); sshape_buffer_t sshape_build_cylinder(const sshape_buffer_t* buf, const sshape_cylinder_t* params); sshape_buffer_t sshape_build_torus(const sshape_buffer_t* buf, const sshape_torus_t* params); ``` Note how the sshape_buffer_t struct is both an input value and the return value. This can be used to append multiple shapes into the same vertex- and index-buffers (more on this later). The second argument is a struct which holds creation parameters. For instance to build a sphere with radius 2, 36 "cake slices" and 12 stacks: ```c sshape_buffer_t buf = ...; buf = sshape_build_sphere(&buf, &(sshape_sphere_t){ .radius = 2.0f, .slices = 36, .stacks = 12, }); ``` If the provided buffers are big enough to hold all generated vertices and indices, the "valid" field in the result will be true: ```c assert(buf.valid); ``` The shape creation parameters have "useful defaults", refer to the actual C struct declarations below to look up those defaults. You can also provide additional creation parameters, like a common vertex color, a debug-helper to randomize colors, tell the shape builder function to merge the new shape with the previous shape into the same draw-element-range, or a 4x4 transform matrix to move, rotate and scale the generated vertices: ```c sshape_buffer_t buf = ...; buf = sshape_build_sphere(&buf, &(sshape_sphere_t){ .radius = 2.0f, .slices = 36, .stacks = 12, // merge with previous shape into a single element-range .merge = true, // set vertex color to red+opaque .color = sshape_color_4f(1.0f, 0.0f, 0.0f, 1.0f), // set position to y = 2.0 .transform = { .m = { { 1.0f, 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 1.0f, 0.0f }, { 0.0f, 2.0f, 0.0f, 1.0f }, } } }); assert(buf.valid); ``` The following helper functions can be used to build a packed color value or to convert from external matrix types: ```c uint32_t sshape_color_4f(float r, float g, float b, float a); uint32_t sshape_color_3f(float r, float g, float b); uint32_t sshape_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); uint32_t sshape_color_3b(uint8_t r, uint8_t g, uint8_t b); sshape_mat4_t sshape_mat4(const float m[16]); sshape_mat4_t sshape_mat4_transpose(const float m[16]); ``` After the shape builder function has been called, the following functions are used to extract the build result for plugging into sokol_gfx.h: ```c sshape_element_range_t sshape_element_range(const sshape_buffer_t* buf); sg_buffer_desc sshape_vertex_buffer_desc(const sshape_buffer_t* buf); sg_buffer_desc sshape_index_buffer_desc(const sshape_buffer_t* buf); sg_vertex_buffer_layout_state sshape_vertex_buffer_layout_state(void); sg_vertex_attr_state sshape_position_vertex_attr_state(void); sg_vertex_attr_state sshape_normal_vertex_attr_state(void); sg_vertex_attr_state sshape_texcoord_vertex_attr_state(void); sg_vertex_attr_state sshape_color_vertex_attr_state(void); ``` The sshape_element_range_t struct contains the base-index and number of indices which can be plugged into the sg_draw() call: ```c sshape_element_range_t elms = sshape_element_range(&buf); ... sg_draw(elms.base_element, elms.num_elements, 1); ``` To create sokol-gfx vertex- and index-buffers from the generated shape data: ```c // create sokol-gfx vertex buffer sg_buffer_desc vbuf_desc = sshape_vertex_buffer_desc(&buf); sg_buffer vbuf = sg_make_buffer(&vbuf_desc); // create sokol-gfx index buffer sg_buffer_desc ibuf_desc = sshape_index_buffer_desc(&buf); sg_buffer ibuf = sg_make_buffer(&ibuf_desc); ``` The remaining functions are used to populate the vertex-layout item in sg_pipeline_desc, note that these functions don't depend on the created geometry, they always return the same result: ```c sg_pipeline pip = sg_make_pipeline(&(sg_pipeline_desc){ .layout = { .buffers[0] = sshape_vertex_buffer_layout_state(), .attrs = { [0] = sshape_position_vertex_attr_state(), [1] = ssape_normal_vertex_attr_state(), [2] = sshape_texcoord_vertex_attr_state(), [3] = sshape_color_vertex_attr_state() } }, ... }); ``` Note that you don't have to use all generated vertex attributes in the pipeline's vertex layout, the sg_vertex_buffer_layout_state struct returned by sshape_vertex_buffer_layout_state() contains the correct vertex stride to skip vertex components. WRITING MULTIPLE SHAPES INTO THE SAME BUFFER ============================================ You can merge multiple shapes into the same vertex- and index-buffers and either render them as a single shape, or in separate draw calls. To build a single shape made of two cubes which can be rendered in a single draw-call: ``` sshape_vertex_t vertices[128]; uint16_t indices[16]; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vertices), .indices.buffer = SSHAPE_RANGE(indices) }; // first cube at pos x=-2.0 (with default size of 1x1x1) buf = sshape_build_cube(&buf, &(sshape_box_t){ .transform = { .m = { { 1.0f, 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 1.0f, 0.0f }, {-2.0f, 0.0f, 0.0f, 1.0f }, } } }); // ...and append another cube at pos pos=+1.0 // NOTE the .merge = true, this tells the shape builder // function to not advance the current shape start offset buf = sshape_build_cube(&buf, &(sshape_box_t){ .merge = true, .transform = { .m = { { 1.0f, 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 1.0f, 0.0f }, {-2.0f, 0.0f, 0.0f, 1.0f }, } } }); assert(buf.valid); // skipping buffer- and pipeline-creation... sshape_element_range_t elms = sshape_element_range(&buf); sg_draw(elms.base_element, elms.num_elements, 1); ``` To render the two cubes in separate draw-calls, the element-ranges used in the sg_draw() calls must be captured right after calling the builder-functions: ```c sshape_vertex_t vertices[128]; uint16_t indices[16]; sshape_buffer_t buf = { .vertices.buffer = SSHAPE_RANGE(vertices), .indices.buffer = SSHAPE_RANGE(indices) }; // build a red cube... buf = sshape_build_cube(&buf, &(sshape_box_t){ .color = sshape_color_3b(255, 0, 0) }); sshape_element_range_t red_cube = sshape_element_range(&buf); // append a green cube to the same vertex-/index-buffer: buf = sshape_build_cube(&bud, &sshape_box_t){ .color = sshape_color_3b(0, 255, 0); }); sshape_element_range_t green_cube = sshape_element_range(&buf); // skipping buffer- and pipeline-creation... sg_draw(red_cube.base_element, red_cube.num_elements, 1); sg_draw(green_cube.base_element, green_cube.num_elements, 1); ``` ...that's about all :) LICENSE ======= zlib/libpng license Copyright (c) 2020 Andre Weissflog This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #define SOKOL_SHAPE_INCLUDED #include <stddef.h> // size_t, offsetof #include <stdint.h> #include <stdbool.h> #if !defined(SOKOL_GFX_INCLUDED) #error "Please include sokol_gfx.h before sokol_shape.h" #endif #if defined(SOKOL_API_DECL) && !defined(SOKOL_SHAPE_API_DECL) #define SOKOL_SHAPE_API_DECL SOKOL_API_DECL #endif #ifndef SOKOL_SHAPE_API_DECL #if defined(_WIN32) && defined(SOKOL_DLL) && defined(SOKOL_SHAPE_IMPL) #define SOKOL_SHAPE_API_DECL __declspec(dllexport) #elif defined(_WIN32) && defined(SOKOL_DLL) #define SOKOL_SHAPE_API_DECL __declspec(dllimport) #else #define SOKOL_SHAPE_API_DECL extern #endif #endif #ifdef __cplusplus extern "C" { #endif /* sshape_range is a pointer-size-pair struct used to pass memory blobs into sokol-shape. When initialized from a value type (array or struct), use the SSHAPE_RANGE() macro to build an sshape_range struct. */ typedef struct sshape_range { const void* ptr; size_t size; } sshape_range; // disabling this for every includer isn't great, but the warning is also quite pointless #if defined(_MSC_VER) #pragma warning(disable:4221) /* /W4 only: nonstandard extension used: 'x': cannot be initialized using address of automatic variable 'y' */ #endif #if defined(__cplusplus) #define SSHAPE_RANGE(x) sshape_range{ &x, sizeof(x) } #else #define SSHAPE_RANGE(x) (sshape_range){ &x, sizeof(x) } #endif /* a 4x4 matrix wrapper struct */ typedef struct sshape_mat4_t { float m[4][4]; } sshape_mat4_t; /* vertex layout of the generated geometry */ typedef struct sshape_vertex_t { float x, y, z; uint32_t normal; // packed normal as BYTE4N uint16_t u, v; // packed uv coords as USHORT2N uint32_t color; // packed color as UBYTE4N (r,g,b,a); } sshape_vertex_t; /* a range of draw-elements (sg_draw(int base_element, int num_element, ...)) */ typedef struct sshape_element_range_t { int base_element; int num_elements; } sshape_element_range_t; /* number of elements and byte size of build actions */ typedef struct sshape_sizes_item_t { uint32_t num; // number of elements uint32_t size; // the same as size in bytes } sshape_sizes_item_t; typedef struct sshape_sizes_t { sshape_sizes_item_t vertices; sshape_sizes_item_t indices; } sshape_sizes_t; /* in/out struct to keep track of mesh-build state */ typedef struct sshape_buffer_item_t { sshape_range buffer; // pointer/size pair of output buffer size_t data_size; // size in bytes of valid data in buffer size_t shape_offset; // data offset of the most recent shape } sshape_buffer_item_t; typedef struct sshape_buffer_t { bool valid; sshape_buffer_item_t vertices; sshape_buffer_item_t indices; } sshape_buffer_t; /* creation parameters for the different shape types */ typedef struct sshape_plane_t { float width, depth; // default: 1.0 uint16_t tiles; // default: 1 uint32_t color; // default: white bool random_colors; // default: false bool merge; // if true merge with previous shape (default: false) sshape_mat4_t transform; // default: identity matrix } sshape_plane_t; typedef struct sshape_box_t { float width, height, depth; // default: 1.0 uint16_t tiles; // default: 1 uint32_t color; // default: white bool random_colors; // default: false bool merge; // if true merge with previous shape (default: false) sshape_mat4_t transform; // default: identity matrix } sshape_box_t; typedef struct sshape_sphere_t { float radius; // default: 0.5 uint16_t slices; // default: 5 uint16_t stacks; // default: 4 uint32_t color; // default: white bool random_colors; // default: false bool merge; // if true merge with previous shape (default: false) sshape_mat4_t transform; // default: identity matrix } sshape_sphere_t; typedef struct sshape_cylinder_t { float radius; // default: 0.5 float height; // default: 1.0 uint16_t slices; // default: 5 uint16_t stacks; // default: 1 uint32_t color; // default: white bool random_colors; // default: false bool merge; // if true merge with previous shape (default: false) sshape_mat4_t transform; // default: identity matrix } sshape_cylinder_t; typedef struct sshape_torus_t { float radius; // default: 0.5f float ring_radius; // default: 0.2f uint16_t sides; // default: 5 uint16_t rings; // default: 5 uint32_t color; // default: white bool random_colors; // default: false bool merge; // if true merge with previous shape (default: false) sshape_mat4_t transform; // default: identity matrix } sshape_torus_t; /* shape builder functions */ SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_plane(const sshape_buffer_t* buf, const sshape_plane_t* params); SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_box(const sshape_buffer_t* buf, const sshape_box_t* params); SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_sphere(const sshape_buffer_t* buf, const sshape_sphere_t* params); SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_cylinder(const sshape_buffer_t* buf, const sshape_cylinder_t* params); SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_torus(const sshape_buffer_t* buf, const sshape_torus_t* params); /* query required vertex- and index-buffer sizes in bytes */ SOKOL_SHAPE_API_DECL sshape_sizes_t sshape_plane_sizes(uint32_t tiles); SOKOL_SHAPE_API_DECL sshape_sizes_t sshape_box_sizes(uint32_t tiles); SOKOL_SHAPE_API_DECL sshape_sizes_t sshape_sphere_sizes(uint32_t slices, uint32_t stacks); SOKOL_SHAPE_API_DECL sshape_sizes_t sshape_cylinder_sizes(uint32_t slices, uint32_t stacks); SOKOL_SHAPE_API_DECL sshape_sizes_t sshape_torus_sizes(uint32_t sides, uint32_t rings); /* extract sokol-gfx desc structs and primitive ranges from build state */ SOKOL_SHAPE_API_DECL sshape_element_range_t sshape_element_range(const sshape_buffer_t* buf); SOKOL_SHAPE_API_DECL sg_buffer_desc sshape_vertex_buffer_desc(const sshape_buffer_t* buf); SOKOL_SHAPE_API_DECL sg_buffer_desc sshape_index_buffer_desc(const sshape_buffer_t* buf); SOKOL_SHAPE_API_DECL sg_vertex_buffer_layout_state sshape_vertex_buffer_layout_state(void); SOKOL_SHAPE_API_DECL sg_vertex_attr_state sshape_position_vertex_attr_state(void); SOKOL_SHAPE_API_DECL sg_vertex_attr_state sshape_normal_vertex_attr_state(void); SOKOL_SHAPE_API_DECL sg_vertex_attr_state sshape_texcoord_vertex_attr_state(void); SOKOL_SHAPE_API_DECL sg_vertex_attr_state sshape_color_vertex_attr_state(void); /* helper functions to build packed color value from floats or bytes */ SOKOL_SHAPE_API_DECL uint32_t sshape_color_4f(float r, float g, float b, float a); SOKOL_SHAPE_API_DECL uint32_t sshape_color_3f(float r, float g, float b); SOKOL_SHAPE_API_DECL uint32_t sshape_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a); SOKOL_SHAPE_API_DECL uint32_t sshape_color_3b(uint8_t r, uint8_t g, uint8_t b); /* adapter function for filling matrix struct from generic float[16] array */ SOKOL_SHAPE_API_DECL sshape_mat4_t sshape_mat4(const float m[16]); SOKOL_SHAPE_API_DECL sshape_mat4_t sshape_mat4_transpose(const float m[16]); #ifdef __cplusplus } // extern "C" // FIXME: C++ helper functions #endif #endif // SOKOL_SHAPE_INCLUDED /*-- IMPLEMENTATION ----------------------------------------------------------*/ #ifdef SOKOL_SHAPE_IMPL #define SOKOL_SHAPE_IMPL_INCLUDED (1) #include <string.h> // memcpy #include <math.h> // sinf, cosf #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wmissing-field-initializers" #endif #ifndef SOKOL_API_IMPL #define SOKOL_API_IMPL #endif #ifndef SOKOL_ASSERT #include <assert.h> #define SOKOL_ASSERT(c) assert(c) #endif #define _sshape_def(val, def) (((val) == 0) ? (def) : (val)) #define _sshape_def_flt(val, def) (((val) == 0.0f) ? (def) : (val)) #define _sshape_white (0xFFFFFFFF) typedef struct { float x, y, z, w; } _sshape_vec4_t; typedef struct { float x, y; } _sshape_vec2_t; static inline float _sshape_clamp(float v) { if (v < 0.0f) return 0.0f; else if (v > 1.0f) return 1.0f; else return v; } static inline uint32_t _sshape_pack_ub4_ubyte4n(uint8_t x, uint8_t y, uint8_t z, uint8_t w) { return (uint32_t)(((uint32_t)w<<24)|((uint32_t)z<<16)|((uint32_t)y<<8)|x); } static inline uint32_t _sshape_pack_f4_ubyte4n(float x, float y, float z, float w) { uint8_t x8 = (uint8_t) (x * 255.0f); uint8_t y8 = (uint8_t) (y * 255.0f); uint8_t z8 = (uint8_t) (z * 255.0f); uint8_t w8 = (uint8_t) (w * 255.0f); return _sshape_pack_ub4_ubyte4n(x8, y8, z8, w8); } static inline uint32_t _sshape_pack_f4_byte4n(float x, float y, float z, float w) { int8_t x8 = (int8_t) (x * 127.0f); int8_t y8 = (int8_t) (y * 127.0f); int8_t z8 = (int8_t) (z * 127.0f); int8_t w8 = (int8_t) (w * 127.0f); return _sshape_pack_ub4_ubyte4n((uint8_t)x8, (uint8_t)y8, (uint8_t)z8, (uint8_t)w8); } static inline uint16_t _sshape_pack_f_ushortn(float x) { return (uint16_t) (x * 65535.0f); } static inline _sshape_vec4_t _sshape_vec4(float x, float y, float z, float w) { _sshape_vec4_t v = { x, y, z, w }; return v; } static inline _sshape_vec4_t _sshape_vec4_norm(_sshape_vec4_t v) { float l = sqrtf(v.x*v.x + v.y*v.y + v.z*v.z + v.w*v.w); if (l != 0.0f) { return _sshape_vec4(v.x/l, v.y/l, v.z/l, v.w/l); } else { return _sshape_vec4(0.0f, 1.0f, 0.0f, 0.0f); } } static inline _sshape_vec2_t _sshape_vec2(float x, float y) { _sshape_vec2_t v = { x, y }; return v; } static bool _sshape_mat4_isnull(const sshape_mat4_t* m) { for (int y = 0; y < 4; y++) { for (int x = 0; x < 4; x++) { if (0.0f != m->m[y][x]) { return false; } } } return true; } static sshape_mat4_t _sshape_mat4_identity(void) { sshape_mat4_t m = { { { 1.0f, 0.0f, 0.0f, 0.0f }, { 0.0f, 1.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 1.0f, 0.0f }, { 0.0f, 0.0f, 0.0f, 1.0f } } }; return m; } static _sshape_vec4_t _sshape_mat4_mul(const sshape_mat4_t* m, _sshape_vec4_t v) { _sshape_vec4_t res = { m->m[0][0]*v.x + m->m[1][0]*v.y + m->m[2][0]*v.z + m->m[3][0]*v.w, m->m[0][1]*v.x + m->m[1][1]*v.y + m->m[2][1]*v.z + m->m[3][1]*v.w, m->m[0][2]*v.x + m->m[1][2]*v.y + m->m[2][2]*v.z + m->m[3][2]*v.w, m->m[0][3]*v.x + m->m[1][3]*v.y + m->m[2][3]*v.z + m->m[3][3]*v.w }; return res; } static uint32_t _sshape_plane_num_vertices(uint32_t tiles) { return (tiles + 1) * (tiles + 1); } static uint32_t _sshape_plane_num_indices(uint32_t tiles) { return tiles * tiles * 2 * 3; } static uint32_t _sshape_box_num_vertices(uint32_t tiles) { return (tiles + 1) * (tiles + 1) * 6; } static uint32_t _sshape_box_num_indices(uint32_t tiles) { return tiles * tiles * 2 * 6 * 3; } static uint32_t _sshape_sphere_num_vertices(uint32_t slices, uint32_t stacks) { return (slices + 1) * (stacks + 1); } static uint32_t _sshape_sphere_num_indices(uint32_t slices, uint32_t stacks) { return ((2 * slices * stacks) - (2 * slices)) * 3; } static uint32_t _sshape_cylinder_num_vertices(uint32_t slices, uint32_t stacks) { return (slices + 1) * (stacks + 5); } static uint32_t _sshape_cylinder_num_indices(uint32_t slices, uint32_t stacks) { return ((2 * slices * stacks) + (2 * slices)) * 3; } static uint32_t _sshape_torus_num_vertices(uint32_t sides, uint32_t rings) { return (sides + 1) * (rings + 1); } static uint32_t _sshape_torus_num_indices(uint32_t sides, uint32_t rings) { return sides * rings * 2 * 3; } static bool _sshape_validate_buffer_item(const sshape_buffer_item_t* item, uint32_t build_size) { if (0 == item->buffer.ptr) { return false; } if (0 == item->buffer.size) { return false; } if ((item->data_size + build_size) > item->buffer.size) { return false; } if (item->shape_offset > item->data_size) { return false; } return true; } static bool _sshape_validate_buffer(const sshape_buffer_t* buf, uint32_t num_vertices, uint32_t num_indices) { if (!_sshape_validate_buffer_item(&buf->vertices, num_vertices * sizeof(sshape_vertex_t))) { return false; } if (!_sshape_validate_buffer_item(&buf->indices, num_indices * sizeof(uint16_t))) { return false; } return true; } static void _sshape_advance_offset(sshape_buffer_item_t* item) { item->shape_offset = item->data_size; } static uint16_t _sshape_base_index(const sshape_buffer_t* buf) { return (uint16_t) (buf->vertices.data_size / sizeof(sshape_vertex_t)); } static sshape_plane_t _sshape_plane_defaults(const sshape_plane_t* params) { sshape_plane_t res = *params; res.width = _sshape_def_flt(res.width, 1.0f); res.depth = _sshape_def_flt(res.depth, 1.0f); res.tiles = _sshape_def(res.tiles, 1); res.color = _sshape_def(res.color, _sshape_white); res.transform = _sshape_mat4_isnull(&res.transform) ? _sshape_mat4_identity() : res.transform; return res; } static sshape_box_t _sshape_box_defaults(const sshape_box_t* params) { sshape_box_t res = *params; res.width = _sshape_def_flt(res.width, 1.0f); res.height = _sshape_def_flt(res.height, 1.0f); res.depth = _sshape_def_flt(res.depth, 1.0f); res.tiles = _sshape_def(res.tiles, 1); res.color = _sshape_def(res.color, _sshape_white); res.transform = _sshape_mat4_isnull(&res.transform) ? _sshape_mat4_identity() : res.transform; return res; } static sshape_sphere_t _sshape_sphere_defaults(const sshape_sphere_t* params) { sshape_sphere_t res = *params; res.radius = _sshape_def_flt(res.radius, 0.5f); res.slices = _sshape_def(res.slices, 5); res.stacks = _sshape_def(res.stacks, 4); res.color = _sshape_def(res.color, _sshape_white); res.transform = _sshape_mat4_isnull(&res.transform) ? _sshape_mat4_identity() : res.transform; return res; } static sshape_cylinder_t _sshape_cylinder_defaults(const sshape_cylinder_t* params) { sshape_cylinder_t res = *params; res.radius = _sshape_def_flt(res.radius, 0.5f); res.height = _sshape_def_flt(res.height, 1.0f); res.slices = _sshape_def(res.slices, 5); res.stacks = _sshape_def(res.stacks, 1); res.color = _sshape_def(res.color, _sshape_white); res.transform = _sshape_mat4_isnull(&res.transform) ? _sshape_mat4_identity() : res.transform; return res; } static sshape_torus_t _sshape_torus_defaults(const sshape_torus_t* params) { sshape_torus_t res = *params; res.radius = _sshape_def_flt(res.radius, 0.5f); res.ring_radius = _sshape_def_flt(res.ring_radius, 0.2f); res.sides = _sshape_def_flt(res.sides, 5); res.rings = _sshape_def_flt(res.rings, 5); res.color = _sshape_def(res.color, _sshape_white); res.transform = _sshape_mat4_isnull(&res.transform) ? _sshape_mat4_identity() : res.transform; return res; } static void _sshape_add_vertex(sshape_buffer_t* buf, _sshape_vec4_t pos, _sshape_vec4_t norm, _sshape_vec2_t uv, uint32_t color) { size_t offset = buf->vertices.data_size; SOKOL_ASSERT((offset + sizeof(sshape_vertex_t)) <= buf->vertices.buffer.size); buf->vertices.data_size += sizeof(sshape_vertex_t); sshape_vertex_t* v_ptr = (sshape_vertex_t*) ((uint8_t*)buf->vertices.buffer.ptr + offset); v_ptr->x = pos.x; v_ptr->y = pos.y; v_ptr->z = pos.z; v_ptr->normal = _sshape_pack_f4_byte4n(norm.x, norm.y, norm.z, norm.w); v_ptr->u = _sshape_pack_f_ushortn(uv.x); v_ptr->v = _sshape_pack_f_ushortn(uv.y); v_ptr->color = color; } static void _sshape_add_triangle(sshape_buffer_t* buf, uint16_t i0, uint16_t i1, uint16_t i2) { size_t offset = buf->indices.data_size; SOKOL_ASSERT((offset + 3*sizeof(uint16_t)) <= buf->indices.buffer.size); buf->indices.data_size += 3*sizeof(uint16_t); uint16_t* i_ptr = (uint16_t*) ((uint8_t*)buf->indices.buffer.ptr + offset); i_ptr[0] = i0; i_ptr[1] = i1; i_ptr[2] = i2; } static uint32_t _sshape_rand_color(uint32_t* xorshift_state) { // xorshift32 uint32_t x = *xorshift_state; x ^= x<<13; x ^= x>>17; x ^= x<<5; *xorshift_state = x; // rand => bright color with alpha 1.0 x |= 0xFF000000; return x; } /*=== PUBLIC API FUNCTIONS ===================================================*/ SOKOL_API_IMPL uint32_t sshape_color_4f(float r, float g, float b, float a) { return _sshape_pack_f4_ubyte4n(_sshape_clamp(r), _sshape_clamp(g), _sshape_clamp(b), _sshape_clamp(a)); } SOKOL_API_IMPL uint32_t sshape_color_3f(float r, float g, float b) { return _sshape_pack_f4_ubyte4n(_sshape_clamp(r), _sshape_clamp(g), _sshape_clamp(b), 1.0f); } SOKOL_API_IMPL uint32_t sshape_color_4b(uint8_t r, uint8_t g, uint8_t b, uint8_t a) { return _sshape_pack_ub4_ubyte4n(r, g, b, a); } SOKOL_API_IMPL uint32_t sshape_color_3b(uint8_t r, uint8_t g, uint8_t b) { return _sshape_pack_ub4_ubyte4n(r, g, b, 255); } SOKOL_API_IMPL sshape_mat4_t sshape_mat4(const float m[16]) { sshape_mat4_t res; memcpy(&res.m[0][0], &m[0], 64); return res; } SOKOL_API_IMPL sshape_mat4_t sshape_mat4_transpose(const float m[16]) { sshape_mat4_t res; for (int c = 0; c < 4; c++) { for (int r = 0; r < 4; r++) { res.m[r][c] = m[c*4 + r]; } } return res; } SOKOL_API_IMPL sshape_sizes_t sshape_plane_sizes(uint32_t tiles) { SOKOL_ASSERT(tiles >= 1); sshape_sizes_t res = { {0} }; res.vertices.num = _sshape_plane_num_vertices(tiles); res.indices.num = _sshape_plane_num_indices(tiles); res.vertices.size = res.vertices.num * sizeof(sshape_vertex_t); res.indices.size = res.indices.num * sizeof(uint16_t); return res; } SOKOL_API_IMPL sshape_sizes_t sshape_box_sizes(uint32_t tiles) { SOKOL_ASSERT(tiles >= 1); sshape_sizes_t res = { {0} }; res.vertices.num = _sshape_box_num_vertices(tiles); res.indices.num = _sshape_box_num_indices(tiles); res.vertices.size = res.vertices.num * sizeof(sshape_vertex_t); res.indices.size = res.indices.num * sizeof(uint16_t); return res; } SOKOL_API_IMPL sshape_sizes_t sshape_sphere_sizes(uint32_t slices, uint32_t stacks) { SOKOL_ASSERT((slices >= 3) && (stacks >= 2)); sshape_sizes_t res = { {0} }; res.vertices.num = _sshape_sphere_num_vertices(slices, stacks); res.indices.num = _sshape_sphere_num_indices(slices, stacks); res.vertices.size = res.vertices.num * sizeof(sshape_vertex_t); res.indices.size = res.indices.num * sizeof(uint16_t); return res; } SOKOL_API_IMPL sshape_sizes_t sshape_cylinder_sizes(uint32_t slices, uint32_t stacks) { SOKOL_ASSERT((slices >= 3) && (stacks >= 1)); sshape_sizes_t res = { {0} }; res.vertices.num = _sshape_cylinder_num_vertices(slices, stacks); res.indices.num = _sshape_cylinder_num_indices(slices, stacks); res.vertices.size = res.vertices.num * sizeof(sshape_vertex_t); res.indices.size = res.indices.num * sizeof(uint16_t); return res; } SOKOL_API_IMPL sshape_sizes_t sshape_torus_sizes(uint32_t sides, uint32_t rings) { SOKOL_ASSERT((sides >= 3) && (rings >= 3)); sshape_sizes_t res = { {0} }; res.vertices.num = _sshape_torus_num_vertices(sides, rings); res.indices.num = _sshape_torus_num_indices(sides, rings); res.vertices.size = res.vertices.num * sizeof(sshape_vertex_t); res.indices.size = res.indices.num * sizeof(uint16_t); return res; } /* Geometry layout for plane (4 tiles): +--+--+--+--+ |\ |\ |\ |\ | | \| \| \| \| +--+--+--+--+ 25 vertices (tiles + 1) * (tiles + 1) |\ |\ |\ |\ | 32 triangles (tiles + 1) * (tiles + 1) * 2 | \| \| \| \| +--+--+--+--+ |\ |\ |\ |\ | | \| \| \| \| +--+--+--+--+ |\ |\ |\ |\ | | \| \| \| \| +--+--+--+--+ */ SOKOL_API_IMPL sshape_buffer_t sshape_build_plane(const sshape_buffer_t* in_buf, const sshape_plane_t* in_params) { SOKOL_ASSERT(in_buf && in_params); const sshape_plane_t params = _sshape_plane_defaults(in_params); const uint32_t num_vertices = _sshape_plane_num_vertices(params.tiles); const uint32_t num_indices = _sshape_plane_num_indices(params.tiles); sshape_buffer_t buf = *in_buf; if (!_sshape_validate_buffer(&buf, num_vertices, num_indices)) { buf.valid = false; return buf; } buf.valid = true; const uint16_t start_index = _sshape_base_index(&buf); if (!params.merge) { _sshape_advance_offset(&buf.vertices); _sshape_advance_offset(&buf.indices); } // write vertices uint32_t rand_seed = 0x12345678; const float x0 = -params.width * 0.5f; const float z0 = params.depth * 0.5f; const float dx = params.width / params.tiles; const float dz = -params.depth / params.tiles; const float duv = 1.0f / params.tiles; _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, _sshape_vec4(0.0f, 1.0f, 0.0f, 0.0f))); for (uint32_t ix = 0; ix <= params.tiles; ix++) { for (uint32_t iz = 0; iz <= params.tiles; iz++) { const _sshape_vec4_t pos = _sshape_vec4(x0 + dx*ix, 0.0f, z0 + dz*iz, 1.0f); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec2_t uv = _sshape_vec2(duv*ix, duv*iz); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } // write indices for (uint16_t j = 0; j < params.tiles; j++) { for (uint16_t i = 0; i < params.tiles; i++) { const uint16_t i0 = start_index + (j * (params.tiles + 1)) + i; const uint16_t i1 = i0 + 1; const uint16_t i2 = i0 + params.tiles + 1; const uint16_t i3 = i2 + 1; _sshape_add_triangle(&buf, i0, i1, i3); _sshape_add_triangle(&buf, i0, i3, i2); } } return buf; } SOKOL_API_IMPL sshape_buffer_t sshape_build_box(const sshape_buffer_t* in_buf, const sshape_box_t* in_params) { SOKOL_ASSERT(in_buf && in_params); const sshape_box_t params = _sshape_box_defaults(in_params); const uint32_t num_vertices = _sshape_box_num_vertices(params.tiles); const uint32_t num_indices = _sshape_box_num_indices(params.tiles); sshape_buffer_t buf = *in_buf; if (!_sshape_validate_buffer(&buf, num_vertices, num_indices)) { buf.valid = false; return buf; } buf.valid = true; const uint16_t start_index = _sshape_base_index(&buf); if (!params.merge) { _sshape_advance_offset(&buf.vertices); _sshape_advance_offset(&buf.indices); } // build vertices uint32_t rand_seed = 0x12345678; const float x0 = -params.width * 0.5f; const float x1 = params.width * 0.5f; const float y0 = -params.height * 0.5f; const float y1 = params.height * 0.5f; const float z0 = -params.depth * 0.5f; const float z1 = params.depth * 0.5f; const float dx = params.width / params.tiles; const float dy = params.height / params.tiles; const float dz = params.depth / params.tiles; const float duv = 1.0f / params.tiles; // bottom/top vertices for (uint32_t top_bottom = 0; top_bottom < 2; top_bottom++) { _sshape_vec4_t pos = _sshape_vec4(0.0f, (0==top_bottom) ? y0:y1, 0.0f, 1.0f); const _sshape_vec4_t norm = _sshape_vec4(0.0f, (0==top_bottom) ? -1.0f:1.0f, 0.0f, 0.0f); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); for (uint32_t ix = 0; ix <= params.tiles; ix++) { pos.x = (0==top_bottom) ? (x0 + dx * ix) : (x1 - dx * ix); for (uint32_t iz = 0; iz <= params.tiles; iz++) { pos.z = z0 + dz * iz; const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec2_t uv = _sshape_vec2(ix * duv, iz * duv); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } } // left/right vertices for (uint32_t left_right = 0; left_right < 2; left_right++) { _sshape_vec4_t pos = _sshape_vec4((0==left_right) ? x0:x1, 0.0f, 0.0f, 1.0f); const _sshape_vec4_t norm = _sshape_vec4((0==left_right) ? -1.0f:1.0f, 0.0f, 0.0f, 0.0f); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); for (uint32_t iy = 0; iy <= params.tiles; iy++) { pos.y = (0==left_right) ? (y1 - dy * iy) : (y0 + dy * iy); for (uint32_t iz = 0; iz <= params.tiles; iz++) { pos.z = z0 + dz * iz; const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec2_t uv = _sshape_vec2(iy * duv, iz * duv); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } } // front/back vertices for (uint32_t front_back = 0; front_back < 2; front_back++) { _sshape_vec4_t pos = _sshape_vec4(0.0f, 0.0f, (0==front_back) ? z0:z1, 1.0f); const _sshape_vec4_t norm = _sshape_vec4(0.0f, 0.0f, (0==front_back) ? -1.0f:1.0f, 0.0f); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); for (uint32_t ix = 0; ix <= params.tiles; ix++) { pos.x = (0==front_back) ? (x1 - dx * ix) : (x0 + dx * ix); for (uint32_t iy = 0; iy <= params.tiles; iy++) { pos.y = y0 + dy * iy; const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec2_t uv = _sshape_vec2(ix * duv, iy * duv); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } } // build indices const uint16_t verts_per_face = (params.tiles + 1) * (params.tiles + 1); for (uint16_t face = 0; face < 6; face++) { uint16_t face_start_index = start_index + face * verts_per_face; for (uint16_t j = 0; j < params.tiles; j++) { for (uint16_t i = 0; i < params.tiles; i++) { const uint16_t i0 = face_start_index + (j * (params.tiles + 1)) + i; const uint16_t i1 = i0 + 1; const uint16_t i2 = i0 + params.tiles + 1; const uint16_t i3 = i2 + 1; _sshape_add_triangle(&buf, i0, i1, i3); _sshape_add_triangle(&buf, i0, i3, i2); } } } return buf; } /* Geometry layout for spheres is as follows (for 5 slices, 4 stacks): + + + + + + north pole |\ |\ |\ |\ |\ | \| \| \| \| \ +--+--+--+--+--+ 30 vertices (slices + 1) * (stacks + 1) |\ |\ |\ |\ |\ | 30 triangles (2 * slices * stacks) - (2 * slices) | \| \| \| \| \| 2 orphaned vertices +--+--+--+--+--+ |\ |\ |\ |\ |\ | | \| \| \| \| \| +--+--+--+--+--+ \ |\ |\ |\ |\ | \| \| \| \| \| + + + + + + south pole */ SOKOL_API_IMPL sshape_buffer_t sshape_build_sphere(const sshape_buffer_t* in_buf, const sshape_sphere_t* in_params) { SOKOL_ASSERT(in_buf && in_params); const sshape_sphere_t params = _sshape_sphere_defaults(in_params); const uint32_t num_vertices = _sshape_sphere_num_vertices(params.slices, params.stacks); const uint32_t num_indices = _sshape_sphere_num_indices(params.slices, params.stacks); sshape_buffer_t buf = *in_buf; if (!_sshape_validate_buffer(&buf, num_vertices, num_indices)) { buf.valid = false; return buf; } buf.valid = true; const uint16_t start_index = _sshape_base_index(&buf); if (!params.merge) { _sshape_advance_offset(&buf.vertices); _sshape_advance_offset(&buf.indices); } uint32_t rand_seed = 0x12345678; const float pi = 3.14159265358979323846f; const float two_pi = 2.0f * pi; const float du = 1.0f / params.slices; const float dv = 1.0f / params.stacks; // generate vertices for (uint32_t stack = 0; stack <= params.stacks; stack++) { const float stack_angle = (pi * stack) / params.stacks; const float sin_stack = sinf(stack_angle); const float cos_stack = cosf(stack_angle); for (uint32_t slice = 0; slice <= params.slices; slice++) { const float slice_angle = (two_pi * slice) / params.slices; const float sin_slice = sinf(slice_angle); const float cos_slice = cosf(slice_angle); const _sshape_vec4_t norm = _sshape_vec4(-sin_slice * sin_stack, cos_stack, cos_slice * sin_stack, 0.0f); const _sshape_vec4_t pos = _sshape_vec4(norm.x * params.radius, norm.y * params.radius, norm.z * params.radius, 1.0f); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec2_t uv = _sshape_vec2(1.0f - slice * du, 1.0f - stack * dv); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } // generate indices { // north-pole triangles const uint16_t row_a = start_index; const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_b + slice, row_b + slice + 1); } } // stack triangles for (uint16_t stack = 1; stack < params.stacks - 1; stack++) { const uint16_t row_a = start_index + stack * (params.slices + 1); const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_b + slice + 1, row_a + slice + 1); _sshape_add_triangle(&buf, row_a + slice, row_b + slice, row_b + slice + 1); } } { // south-pole triangles const uint16_t row_a = start_index + (params.stacks - 1) * (params.slices + 1); const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_b + slice + 1, row_a + slice + 1); } } return buf; } /* Geometry for cylinders is as follows (2 stacks, 5 slices): + + + + + + |\ |\ |\ |\ |\ | \| \| \| \| \ +--+--+--+--+--+ +--+--+--+--+--+ 42 vertices (2 wasted) (slices + 1) * (stacks + 5) |\ |\ |\ |\ |\ | 30 triangles (2 * slices * stacks) + (2 * slices) | \| \| \| \| \| +--+--+--+--+--+ |\ |\ |\ |\ |\ | | \| \| \| \| \| +--+--+--+--+--+ +--+--+--+--+--+ \ |\ |\ |\ |\ | \| \| \| \| \| + + + + + + */ static void _sshape_build_cylinder_cap_pole(sshape_buffer_t* buf, const sshape_cylinder_t* params, float pos_y, float norm_y, float du, float v, uint32_t* rand_seed) { const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params->transform, _sshape_vec4(0.0f, norm_y, 0.0f, 0.0f))); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params->transform, _sshape_vec4(0.0f, pos_y, 0.0f, 1.0f)); for (uint32_t slice = 0; slice <= params->slices; slice++) { const _sshape_vec2_t uv = _sshape_vec2(slice * du, 1.0f - v); const uint32_t color = params->random_colors ? _sshape_rand_color(rand_seed) : params->color; _sshape_add_vertex(buf, tpos, tnorm, uv, color); } } static void _sshape_build_cylinder_cap_ring(sshape_buffer_t* buf, const sshape_cylinder_t* params, float pos_y, float norm_y, float du, float v, uint32_t* rand_seed) { const float two_pi = 2.0f * 3.14159265358979323846f; const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params->transform, _sshape_vec4(0.0f, norm_y, 0.0f, 0.0f))); for (uint32_t slice = 0; slice <= params->slices; slice++) { const float slice_angle = (two_pi * slice) / params->slices; const float sin_slice = sinf(slice_angle); const float cos_slice = cosf(slice_angle); const _sshape_vec4_t pos = _sshape_vec4(sin_slice * params->radius, pos_y, cos_slice * params->radius, 1.0f); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params->transform, pos); const _sshape_vec2_t uv = _sshape_vec2(slice * du, 1.0f - v); const uint32_t color = params->random_colors ? _sshape_rand_color(rand_seed) : params->color; _sshape_add_vertex(buf, tpos, tnorm, uv, color); } } SOKOL_SHAPE_API_DECL sshape_buffer_t sshape_build_cylinder(const sshape_buffer_t* in_buf, const sshape_cylinder_t* in_params) { SOKOL_ASSERT(in_buf && in_params); const sshape_cylinder_t params = _sshape_cylinder_defaults(in_params); const uint32_t num_vertices = _sshape_cylinder_num_vertices(params.slices, params.stacks); const uint32_t num_indices = _sshape_cylinder_num_indices(params.slices, params.stacks); sshape_buffer_t buf = *in_buf; if (!_sshape_validate_buffer(&buf, num_vertices, num_indices)) { buf.valid = false; return buf; } buf.valid = true; const uint16_t start_index = _sshape_base_index(&buf); if (!params.merge) { _sshape_advance_offset(&buf.vertices); _sshape_advance_offset(&buf.indices); } uint32_t rand_seed = 0x12345678; const float two_pi = 2.0f * 3.14159265358979323846f; const float du = 1.0f / params.slices; const float dv = 1.0f / (params.stacks + 2); const float y0 = params.height * 0.5f; const float y1 = -params.height * 0.5f; const float dy = params.height / params.stacks; // generate vertices _sshape_build_cylinder_cap_pole(&buf, &params, y0, 1.0f, du, 0.0f, &rand_seed); _sshape_build_cylinder_cap_ring(&buf, &params, y0, 1.0f, du, dv, &rand_seed); for (uint32_t stack = 0; stack <= params.stacks; stack++) { const float y = y0 - dy * stack; const float v = dv * stack + dv; for (uint32_t slice = 0; slice <= params.slices; slice++) { const float slice_angle = (two_pi * slice) / params.slices; const float sin_slice = sinf(slice_angle); const float cos_slice = cosf(slice_angle); const _sshape_vec4_t pos = _sshape_vec4(sin_slice * params.radius, y, cos_slice * params.radius, 1.0f); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec4_t norm = _sshape_vec4(sin_slice, 0.0f, cos_slice, 0.0f); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); const _sshape_vec2_t uv = _sshape_vec2(slice * du, 1.0f - v); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } _sshape_build_cylinder_cap_ring(&buf, &params, y1, -1.0f, du, 1.0f - dv, &rand_seed); _sshape_build_cylinder_cap_pole(&buf, &params, y1, -1.0f, du, 1.0f, &rand_seed); // generate indices { // top-cap indices const uint16_t row_a = start_index; const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_b + slice + 1, row_b + slice); } } // shaft triangles for (uint16_t stack = 0; stack < params.stacks; stack++) { const uint16_t row_a = start_index + (stack + 2) * (params.slices + 1); const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_a + slice + 1, row_b + slice + 1); _sshape_add_triangle(&buf, row_a + slice, row_b + slice + 1, row_b + slice); } } { // bottom-cap indices const uint16_t row_a = start_index + (params.stacks + 3) * (params.slices + 1); const uint16_t row_b = row_a + params.slices + 1; for (uint16_t slice = 0; slice < params.slices; slice++) { _sshape_add_triangle(&buf, row_a + slice, row_a + slice + 1, row_b + slice + 1); } } return buf; } /* Geometry layout for torus (sides = 4, rings = 5): +--+--+--+--+--+ |\ |\ |\ |\ |\ | | \| \| \| \| \| +--+--+--+--+--+ 30 vertices (sides + 1) * (rings + 1) |\ |\ |\ |\ |\ | 40 triangles (2 * sides * rings) | \| \| \| \| \| +--+--+--+--+--+ |\ |\ |\ |\ |\ | | \| \| \| \| \| +--+--+--+--+--+ |\ |\ |\ |\ |\ | | \| \| \| \| \| +--+--+--+--+--+ */ SOKOL_API_IMPL sshape_buffer_t sshape_build_torus(const sshape_buffer_t* in_buf, const sshape_torus_t* in_params) { SOKOL_ASSERT(in_buf && in_params); const sshape_torus_t params = _sshape_torus_defaults(in_params); const uint32_t num_vertices = _sshape_torus_num_vertices(params.sides, params.rings); const uint32_t num_indices = _sshape_torus_num_indices(params.sides, params.rings); sshape_buffer_t buf = *in_buf; if (!_sshape_validate_buffer(&buf, num_vertices, num_indices)) { buf.valid = false; return buf; } buf.valid = true; const uint16_t start_index = _sshape_base_index(&buf); if (!params.merge) { _sshape_advance_offset(&buf.vertices); _sshape_advance_offset(&buf.indices); } uint32_t rand_seed = 0x12345678; const float two_pi = 2.0f * 3.14159265358979323846f; const float dv = 1.0f / params.sides; const float du = 1.0f / params.rings; // generate vertices for (uint32_t side = 0; side <= params.sides; side++) { const float phi = (side * two_pi) / params.sides; const float sin_phi = sinf(phi); const float cos_phi = cosf(phi); for (uint32_t ring = 0; ring <= params.rings; ring++) { const float theta = (ring * two_pi) / params.rings; const float sin_theta = sinf(theta); const float cos_theta = cosf(theta); // torus surface position const float spx = sin_theta * (params.radius - (params.ring_radius * cos_phi)); const float spy = sin_phi * params.ring_radius; const float spz = cos_theta * (params.radius - (params.ring_radius * cos_phi)); // torus position with ring-radius zero (for normal computation) const float ipx = sin_theta * params.radius; const float ipy = 0.0f; const float ipz = cos_theta * params.radius; const _sshape_vec4_t pos = _sshape_vec4(spx, spy, spz, 1.0f); const _sshape_vec4_t norm = _sshape_vec4(spx - ipx, spy - ipy, spz - ipz, 0.0f); const _sshape_vec4_t tpos = _sshape_mat4_mul(&params.transform, pos); const _sshape_vec4_t tnorm = _sshape_vec4_norm(_sshape_mat4_mul(&params.transform, norm)); const _sshape_vec2_t uv = _sshape_vec2(ring * du, 1.0f - side * dv); const uint32_t color = params.random_colors ? _sshape_rand_color(&rand_seed) : params.color; _sshape_add_vertex(&buf, tpos, tnorm, uv, color); } } // generate indices for (uint16_t side = 0; side < params.sides; side++) { const uint16_t row_a = start_index + side * (params.rings + 1); const uint16_t row_b = row_a + params.rings + 1; for (uint16_t ring = 0; ring < params.rings; ring++) { _sshape_add_triangle(&buf, row_a + ring, row_a + ring + 1, row_b + ring + 1); _sshape_add_triangle(&buf, row_a + ring, row_b + ring + 1, row_b + ring); } } return buf; } SOKOL_API_IMPL sg_buffer_desc sshape_vertex_buffer_desc(const sshape_buffer_t* buf) { SOKOL_ASSERT(buf && buf->valid); sg_buffer_desc desc = { 0 }; if (buf->valid) { desc.type = SG_BUFFERTYPE_VERTEXBUFFER; desc.usage = SG_USAGE_IMMUTABLE; desc.data.ptr = buf->vertices.buffer.ptr; desc.data.size = buf->vertices.data_size; } return desc; } SOKOL_API_IMPL sg_buffer_desc sshape_index_buffer_desc(const sshape_buffer_t* buf) { SOKOL_ASSERT(buf && buf->valid); sg_buffer_desc desc = { 0 }; if (buf->valid) { desc.type = SG_BUFFERTYPE_INDEXBUFFER; desc.usage = SG_USAGE_IMMUTABLE; desc.data.ptr = buf->indices.buffer.ptr; desc.data.size = buf->indices.data_size; } return desc; } SOKOL_SHAPE_API_DECL sshape_element_range_t sshape_element_range(const sshape_buffer_t* buf) { SOKOL_ASSERT(buf && buf->valid); SOKOL_ASSERT(buf->indices.shape_offset < buf->indices.data_size); SOKOL_ASSERT(0 == (buf->indices.shape_offset & (sizeof(uint16_t) - 1))); SOKOL_ASSERT(0 == (buf->indices.data_size & (sizeof(uint16_t) - 1))); sshape_element_range_t range = { 0 }; range.base_element = (int) (buf->indices.shape_offset / sizeof(uint16_t)); if (buf->valid) { range.num_elements = (int) ((buf->indices.data_size - buf->indices.shape_offset) / sizeof(uint16_t)); } else { range.num_elements = 0; } return range; } SOKOL_API_IMPL sg_vertex_buffer_layout_state sshape_vertex_buffer_layout_state(void) { sg_vertex_buffer_layout_state state = { 0 }; state.stride = sizeof(sshape_vertex_t); return state; } SOKOL_API_IMPL sg_vertex_attr_state sshape_position_vertex_attr_state(void) { sg_vertex_attr_state state = { 0 }; state.offset = offsetof(sshape_vertex_t, x); state.format = SG_VERTEXFORMAT_FLOAT3; return state; } SOKOL_API_IMPL sg_vertex_attr_state sshape_normal_vertex_attr_state(void) { sg_vertex_attr_state state = { 0 }; state.offset = offsetof(sshape_vertex_t, normal); state.format = SG_VERTEXFORMAT_BYTE4N; return state; } SOKOL_API_IMPL sg_vertex_attr_state sshape_texcoord_vertex_attr_state(void) { sg_vertex_attr_state state = { 0 }; state.offset = offsetof(sshape_vertex_t, u); state.format = SG_VERTEXFORMAT_USHORT2N; return state; } SOKOL_API_IMPL sg_vertex_attr_state sshape_color_vertex_attr_state(void) { sg_vertex_attr_state state = { 0 }; state.offset = offsetof(sshape_vertex_t, color); state.format = SG_VERTEXFORMAT_UBYTE4N; return state; } #ifdef __clang__ #pragma clang diagnostic pop #endif #endif // SOKOL_SHAPE_IMPL
0
repos
repos/zig-install/package.json
{ "name": "zig", "module": "index.ts", "type": "module", "devDependencies": { "bun-types": "latest" }, "peerDependencies": { "typescript": "^5.0.0" } }
0
repos
repos/zig-install/path.sh
# Detect shell echo Detecting current shell... SHELL="" for i in $(echo $0 | tr "/" "\n"); do SHELL=$i done RC="$HOME/.${SHELL}rc" echo RC Path: $RC echo 'export PATH=$PATH:~/zig' >> $RC echo Done!
0
repos
repos/zig-install/tsconfig.json
{ "compilerOptions": { "lib": ["ESNext"], "module": "esnext", "target": "esnext", "moduleResolution": "bundler", "moduleDetection": "force", "allowImportingTsExtensions": true, "strict": true, "downlevelIteration": true, "skipLibCheck": true, "jsx": "preserve", "allowSyntheticDefaultImports": true, "forceConsistentCasingInFileNames": true, "allowJs": true, "noEmit": true, "types": [ "bun-types" // add Bun global ] } }
0
repos
repos/zig-install/README.md
# zig-build An installer script for zig, Written in Bun Javascript. ### This script: 1. Fetches the release data from the official zig website 2. Obtains the build target for the current machine 3. Checks for an existing clone of the latest download -> If yes, Jumps directly to Step 5. 4. Downloads and extracts the latest release 5. Copies the latest release to the current user's home directory. 6. Quits; If there are no errors, A `zig/` directory should be created on your home directory. ### Adding to PATH To add zig to path after running this script, You have to add this line to your rc file: ```bash export PATH=$PATH:~/zig ``` Or, To ease your work, Run this: ```bash curl https://raw.githubusercontent.com/MinecraftPublisher/zig-build/master/path.sh | $0 ``` (This will download and run the script below) Or, Run this script to add it directly to your rc file: ```bash # Detect shell echo Detecting current shell... SHELL="" for i in $(echo $0 | tr "/" "\n"); do SHELL=$i done RC="$HOME/.${SHELL}rc" echo RC Path: $RC echo 'export PATH=$PATH:~/zig' >> $RC echo Done! ```
0
repos
repos/zig-install/index.ts
import fs from 'fs' import os from 'os' console.log('Starting build...') try { fs.mkdirSync('build/') } catch (e) { } console.log('Fetching release page data...') let index = await fetch('https://ziglang.org/download/index.json').then(e => e.json()) let target = process.arch.replace('x64', 'x86_64') + '-' + process.platform console.log('Looking for build target:', target) let tarball_url = index.master[target].tarball let tarball_version = tarball_url.substring('https://ziglang.org/builds/'.length) let dir = 'build/' + tarball_version.substring(0, tarball_version.length - '.tar.xz'.length) if (fs.existsSync(dir)) { console.log('Skipping download and extraction...') } else { console.log('Retreiving tarball...') let tarball_file = Bun.file('build/' + tarball_version) let tarball if (await tarball_file.exists()) { console.log('Using cached tarball:', new Date(tarball_file.lastModified)) tarball = await tarball_file.stream() } else { console.log('Using tarball url:', tarball_url) console.time('Download tarball') let tarball_image = await fetch(tarball_url).then(e => e.blob()) tarball = tarball_image.stream() console.timeEnd('Download tarball') } console.log('Writing to', tarball_version, '...') let tarblob = await Bun.readableStreamToBlob(tarball) await Bun.write('build/' + tarball_version, tarblob) Bun.spawnSync(['tar', '-xf', 'build/' + tarball_version, '-C', 'build/']) } console.log('Copying to home directory...') let home = os.homedir() console.log('Home directory:', home) Bun.spawnSync(['rm', '-rf', home + '/zig/']) Bun.spawnSync(['cp', '-r', dir, home]) Bun.spawnSync(['mv', home + '/' + dir.split('/').slice(1).join('/'), home + '/zig'])
0
repos
repos/awtk/project.json
{ "name": "awtk", "entry": "main", "team": "AWTK Develop Team", "author": "Li XianJing <[email protected]>", "desc": "全称 Toolkit AnyWhere,是 ZLG 开发的开源 GUI 引擎,旨在为嵌入式系统、WEB、各种小程序、手机和 PC 打造的通用 GUI 引擎,为用户提供一个功能强大、高效可靠、简单易用、可轻松做出炫酷效果的 GUI 引擎。", "assets": { "activedTheme": "default", "outputDir": "res", "loadFrom": "any", "screenDPR": "x1", "const": "all_data", "defaultLanguage": "zh", "defaultCountry": "CN", "themes": { "default": { "activedSystemBar": "system_bar", "activedBottomSystemBar": "system_bar_b", "packaged": true, "fonts": { "default": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "ap": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "default_full": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "trado": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } }, "lcd": { "width": "800", "height": "480", "colorDepth": "16bit", "colorFormat": "BGR(A)" } }, "dark": { "activedSystemBar": "system_bar", "activedBottomSystemBar": "system_bar_b", "packaged": true, "fonts": { "default": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "ap": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "default_full": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" }, "trado": { "text": " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" } }, "lcd": { "width": "800", "height": "480", "colorDepth": "16bit", "colorFormat": "BGR(A)" } } } }, "creator": { "name": "AWTK Designer", "version": "1.0.0" }, "awtkRoot": ".", "type": "PROJECT_WIDGETS_APPLICATION" }
0
repos
repos/awtk/format.sh
find src tools demos -name \*.c -exec clang-format -i {} \; find src tools demos -name \*.h -exec clang-format -i {} \; find src tools demos -name \*.cc -exec clang-format -i {} \; find src tools demos -name \*.cpp -exec clang-format -i {} \; for f in tests/*.cpp tests/*.c tests/*.cc do echo "clang-format -i $f" clang-format -i $f done
0
repos
repos/awtk/awtk_config.py
import os import sys import glob import os.path sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'scripts')) import compile_config complie_helper = compile_config.get_curr_config_for_awtk() from awtk_config_common import OS_NAME, TARGET_ARCH, TOOLS_PREFIX, TK_SRC, TK_BIN_DIR, TK_LIB_DIR, TK_3RD_ROOT, TK_TOOLS_ROOT, OS_DEBUG, TK_DEMO_ROOT, GTEST_ROOT, TKC_STATIC_LIBS, TOOLS_NAME, NANOVG_BACKEND, NATIVE_WINDOW, TK_ROOT from awtk_config_common import joinPath, toWholeArchive, genIdlAndDefEx, setEnvSpawn, genDllLinkFlags, copySharedLib, cleanSharedLib, scons_db_check_and_remove from awtk_config_common import OS_FLAGS, OS_LIBS, OS_LIBPATH, OS_CPPPATH, OS_LINKFLAGS, OS_SUBSYSTEM_CONSOLE, OS_SUBSYSTEM_WINDOWS, OS_PROJECTS, COMMON_CFLAGS WIN32_AWTK_RES = 'win32_res/awtk.res' if TARGET_ARCH == 'x86': WIN32_AWTK_RES = 'win32_res/awtk_x86.res' WIN32_AWTK_RES = os.path.join(compile_config.get_curr_app_root(), WIN32_AWTK_RES) if not os.path.exists(WIN32_AWTK_RES): if TARGET_ARCH == 'x86': WIN32_AWTK_RES = os.path.join(TK_ROOT, 'win32_res/awtk_x86.res') else: WIN32_AWTK_RES = os.path.join(TK_ROOT, 'win32_res/awtk.res') WIN32_AWTK_RES = complie_helper.get_value('WIN32_RES', WIN32_AWTK_RES) if not os.path.isabs(WIN32_AWTK_RES) : WIN32_AWTK_RES = os.path.join(compile_config.get_curr_app_root(), WIN32_AWTK_RES) AWTK_STATIC_LIBS = ['awtk_global', 'fscript_ext_widgets', 'extwidgets', 'nfd', 'widgets', 'base', 'gpinyin', 'fribidi', 'linebreak', 'svgtiny'] AWTK_STATIC_LIBS = AWTK_STATIC_LIBS+TKC_STATIC_LIBS # INPUT_ENGINE='null' # INPUT_ENGINE='spinyin' # INPUT_ENGINE='t9' # INPUT_ENGINE='t9ext' INPUT_ENGINE = 'pinyin' INPUT_ENGINE = complie_helper.get_value('INPUT_ENGINE', INPUT_ENGINE) VGCANVAS = 'NANOVG' # VGCANVAS='NANOVG_PLUS' # VGCANVAS='CAIRO' VGCANVAS = complie_helper.get_value('VGCANVAS', VGCANVAS) if OS_NAME == 'Windows': TK_ROOT = TK_ROOT.replace('\\', '\\\\') NANOVG_BACKEND = 'GL3' # NANOVG_BACKEND='GLES2' # NANOVG_BACKEND='GLES3' # NANOVG_BACKEND='AGG' # NANOVG_BACKEND='AGGE' # NANOVG_BACKEND='GL2' NANOVG_BACKEND = complie_helper.get_value('NANOVG_BACKEND', NANOVG_BACKEND) #NANOVG_BACKEND='BGFX' FRAME_BUFFER_FORMAT = '' if VGCANVAS == 'CAIRO': LCD = 'SDL_FB' FRAME_BUFFER_FORMAT = 'bgr565' # FRAME_BUFFER_FORMAT='bgra8888' else: if NANOVG_BACKEND == 'AGGE' or NANOVG_BACKEND == 'AGG': LCD = 'SDL_FB' FRAME_BUFFER_FORMAT = 'bgr565' # FRAME_BUFFER_FORMAT='bgra8888' else: LCD = 'SDL_GPU' # LCD='SDL_FB_MONO' if NANOVG_BACKEND == 'AGGE' or NANOVG_BACKEND == 'AGGE' : lcd_color_format = complie_helper.get_value('LCD_COLOR_FORMAT', '') if lcd_color_format != '' : if lcd_color_format== 'mono' : LCD = 'SDL_FB_MONO' else : LCD = 'SDL_FB' if lcd_color_format == 'bgr565' : FRAME_BUFFER_FORMAT = lcd_color_format else : FRAME_BUFFER_FORMAT = 'bgra8888' NANOVG_BACKEND_LIBS = [] NANOVG_BACKEND_PROJS = [] NANOVG_BACKEND_CPPPATH = [] NATIVE_WINDOW = 'sdl' COMMON_CCFLAGS = ' -DTK_ROOT=\"\\\"'+TK_ROOT+'\\\"\" ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DWITHOUT_WINDOW_ANIMATOR_CACHE=1 ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DENABLE_PERFORMANCE_PROFILE=1 ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DENABLE_MEM_LEAK_CHECK=1 ' COMMON_CCFLAGS=COMMON_CCFLAGS+' -DWITH_STATE_ACTIVATED=1 ' if complie_helper.get_value('NATIVE_WINDOW_BORDERLESS', False) : COMMON_CCFLAGS=COMMON_CCFLAGS+' -DNATIVE_WINDOW_BORDERLESS=1 ' if complie_helper.get_value('NATIVE_WINDOW_NOT_RESIZABLE', False) : COMMON_CCFLAGS=COMMON_CCFLAGS+' -DNATIVE_WINDOW_NOT_RESIZABLE=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_MBEDTLS=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DENABLE_CURSOR=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_TEXT_BIDI=1 ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DLOAD_ASSET_WITH_MMAP=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_DATA_READER_WRITER=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_EVENT_RECORDER_PLAYER=1 ' COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_ASSET_LOADER -DWITH_FS_RES -DWITH_ASSET_LOADER_ZIP ' COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DSTBTT_STATIC -DSTB_IMAGE_STATIC -DWITH_STB_IMAGE ' COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_VGCANVAS -DWITH_UNICODE_BREAK -DWITH_DESKTOP_STYLE ' COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_SDL -DHAS_STDIO -DHAVE_STDIO_H -DHAS_GET_TIME_US64 ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DHAS_STD_MALLOC -DTK_MAX_MEM_BLOCK_NR=3 ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DTK_MAX_MEM_BLOCK_NR=3 ' #COMMON_CCFLAGS=COMMON_CCFLAGS+' -DWITH_FAST_LCD_PORTRAIT ' COMMON_CCFLAGS = COMMON_CCFLAGS+ ' -DWITH_RES_TOOLS' COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_MAIN_LOOP_CONSOLE=1 ' GRAPHIC_BUFFER = 'default' if INPUT_ENGINE == 't9': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_IME_T9 ' elif INPUT_ENGINE == 't9ext': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_IME_T9EXT' elif INPUT_ENGINE == 'pinyin': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_IME_PINYIN ' elif INPUT_ENGINE == 'spinyin': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_IME_SPINYIN ' elif INPUT_ENGINE == 'null': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_IME_NULL ' if LCD == 'SDL_GPU': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_GPU -DWITH_VGCANVAS_LCD' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_STB_FONT ' elif LCD == 'SDL_FB_MONO': NANOVG_BACKEND = 'AGGE' COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_LCD_MONO ' COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_STB_FONT ' else: COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_STB_FONT ' COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_BITMAP_BGRA -DWITH_NANOVG_SOFT ' if FRAME_BUFFER_FORMAT == 'bgra8888': COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_FB_BGRA8888=1 ' else: COMMON_CCFLAGS = COMMON_CCFLAGS+' -DWITH_FB_BGR565=1' if VGCANVAS == 'CAIRO': NANOVG_BACKEND_LIBS = ['cairo', 'pixman'] NANOVG_BACKEND_PROJS = ['3rd/cairo/SConscript', '3rd/pixman/SConscript'] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_VGCANVAS_CAIRO -DHAVE_CONFIG_H -DCAIRO_WIN32_STATIC_BUILD ' elif VGCANVAS == 'NANOVG_PLUS': NANOVG_BACKEND_LIBS = ['nanovg_plus'] NANOVG_BACKEND_PROJS = ['3rd/nanovg_plus/SConscript'] NANOVG_BACKEND_CPPPATH = [joinPath( TK_3RD_ROOT, 'nanovg_plus/gl'), joinPath(TK_3RD_ROOT, 'nanovg_plus/base')] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_NANOVG_PLUS_GPU -DWITH_NANOVG_GPU -DWITH_GPU_GL ' if NANOVG_BACKEND == 'GLES2': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_GPU_GLES2 -DNVGP_GLES2 ' elif NANOVG_BACKEND == 'GLES3': COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_GPU_GLES3 -DNVGP_GLES3 ' else: COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_GPU_GL3 -DNVGP_GL3 ' else: NANOVG_BACKEND_PROJS = ['3rd/nanovg/SConscript'] NANOVG_BACKEND_CPPPATH = [ joinPath(TK_3RD_ROOT, 'nanovg'), joinPath(TK_3RD_ROOT, 'nanovg/gl'), joinPath(TK_3RD_ROOT, 'nanovg/base'), joinPath(TK_3RD_ROOT, 'nanovg/agge'), joinPath(TK_3RD_ROOT, 'nanovg/bgfx')] if NANOVG_BACKEND == 'AGG': NANOVG_BACKEND_LIBS = ['nanovg-agg', 'nanovg', 'agg'] NANOVG_BACKEND_PROJS += ['3rd/agg/SConscript'] COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_NANOVG_AGG ' elif NANOVG_BACKEND == 'AGGE': NANOVG_BACKEND_LIBS = ['nanovg-agge', 'nanovg', 'agge'] NANOVG_BACKEND_PROJS += ['3rd/agge/SConscript'] COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_NANOVG_AGGE ' elif NANOVG_BACKEND == 'BGFX': NANOVG_BACKEND_LIBS = ['nanovg-bgfx', 'nanovg', 'bgfx'] NANOVG_BACKEND_PROJS += ['3rd/bgfx/SConscript'] COMMON_CCFLAGS = COMMON_CCFLAGS + ' -DWITH_NANOVG_BGFX -DWITH_NANOVG_GPU ' elif NANOVG_BACKEND == 'GLES2': NANOVG_BACKEND_LIBS = ['nanovg'] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_NANOVG_GLES2 -DWITH_GPU_GLES2 -DWITH_NANOVG_GL -DWITH_NANOVG_GPU ' elif NANOVG_BACKEND == 'GLES3': NANOVG_BACKEND_LIBS = ['nanovg'] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_NANOVG_GLES3 -DWITH_NANOVG_GL -DWITH_NANOVG_GPU ' elif NANOVG_BACKEND == 'GL2': NANOVG_BACKEND_LIBS = ['nanovg'] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_NANOVG_GL2 -DWITH_NANOVG_GL -DWITH_NANOVG_GPU ' else: NANOVG_BACKEND_LIBS = ['nanovg'] COMMON_CCFLAGS = COMMON_CCFLAGS + \ ' -DWITH_NANOVG_GL3 -DWITH_NANOVG_GL -DWITH_NANOVG_GPU ' BUILD_DEBUG_FLAG = '' BUILD_DEBUG_LINKFLAGS = '' OS_PROJECTS = [] OS_WHOLE_ARCHIVE = toWholeArchive(AWTK_STATIC_LIBS) AWTK_DLL_DEPS_LIBS = AWTK_STATIC_LIBS + \ NANOVG_BACKEND_LIBS + ['SDL2', 'glad'] + OS_LIBS if OS_DEBUG : BUILD_DEBUG_FLAG = ' -g -O0 ' else : BUILD_DEBUG_FLAG = ' -Os ' if OS_NAME == 'Darwin': OS_WHOLE_ARCHIVE = ' -all_load ' elif OS_NAME == 'Linux': OS_PROJECTS = ['3rd/SDL/SConscript'] elif OS_NAME == 'Windows': OS_PROJECTS = ['3rd/SDL/SConscript'] OS_LINKFLAGS += '\"' + WIN32_AWTK_RES + '\" ' if TOOLS_NAME == 'mingw': print('mingw') else: OS_WHOLE_ARCHIVE = ' /DEF:"dllexports/awtk.def" ' if OS_DEBUG : BUILD_DEBUG_FLAG = ' /MDd -D_DEBUG -DDEBUG /DEBUG /Od ' else : BUILD_DEBUG_FLAG = ' -DNDEBUG /MD /O2 /Oi ' if complie_helper.get_value('PDB', True) : BUILD_DEBUG_LINKFLAGS = ' /DEBUG ' CFLAGS = COMMON_CFLAGS LINKFLAGS = OS_LINKFLAGS LIBPATH = [TK_BIN_DIR, TK_LIB_DIR] + OS_LIBPATH CCFLAGS = OS_FLAGS + COMMON_CCFLAGS AWTK_CCFLAGS = OS_FLAGS + COMMON_CCFLAGS AWTK_STATIC_LIBS = AWTK_STATIC_LIBS + NANOVG_BACKEND_LIBS STATIC_LIBS = AWTK_STATIC_LIBS + ['SDL2', 'glad'] + OS_LIBS SHARED_LIBS = ['awtk'] + OS_LIBS LIBS = STATIC_LIBS CPPPATH = [TK_ROOT, TK_SRC, TK_3RD_ROOT, joinPath(TK_SRC, 'ext_widgets'), joinPath(TK_SRC, 'custom_widgets'), joinPath(TK_3RD_ROOT, 'fribidi'), joinPath(TK_3RD_ROOT, 'mbedtls/include'), joinPath(TK_3RD_ROOT, 'mbedtls/3rdparty/everest/include'), joinPath(TK_3RD_ROOT, 'pixman'), joinPath(TK_3RD_ROOT, 'cairo'), joinPath(TK_3RD_ROOT, 'bgfx/bgfx/include'), joinPath(TK_3RD_ROOT, 'bgfx/bx/include'), joinPath(TK_3RD_ROOT, 'bgfx/bimg/include'), joinPath(TK_3RD_ROOT, 'agge'), joinPath(TK_3RD_ROOT, 'agg/include'), joinPath(TK_3RD_ROOT, 'SDL/src'), joinPath(TK_3RD_ROOT, 'SDL/include'), joinPath(TK_3RD_ROOT, 'agge/src'), joinPath(TK_3RD_ROOT, 'agge/include'), joinPath(TK_3RD_ROOT, 'gpinyin/include'), joinPath(TK_3RD_ROOT, 'libunibreak'), joinPath(TK_3RD_ROOT, 'gtest/googletest'), joinPath(TK_3RD_ROOT, 'gtest/googletest/include'), TK_TOOLS_ROOT] + OS_CPPPATH + NANOVG_BACKEND_CPPPATH CUSTOM_WIDGETS_SRC=glob.glob('src/custom_widgets/*/src') + \ glob.glob('src/custom_widgets/*/src/*/src') + \ glob.glob('src/custom_widgets/*/src/*/include') for iter in CUSTOM_WIDGETS_SRC: fullpath = os.path.join(TK_ROOT, str(iter)); CPPPATH.append(fullpath); os.environ['LCD'] = LCD os.environ['TK_ROOT'] = TK_ROOT os.environ['CCFLAGS'] = CCFLAGS + BUILD_DEBUG_FLAG os.environ['VGCANVAS'] = VGCANVAS os.environ['TOOLS_NAME'] = TOOLS_NAME os.environ['GTEST_ROOT'] = GTEST_ROOT os.environ['TK_3RD_ROOT'] = TK_3RD_ROOT os.environ['INPUT_ENGINE'] = INPUT_ENGINE os.environ['NANOVG_BACKEND'] = NANOVG_BACKEND os.environ['NATIVE_WINDOW'] = NATIVE_WINDOW os.environ['GRAPHIC_BUFFER'] = GRAPHIC_BUFFER os.environ['FRAME_BUFFER_FORMAT'] = FRAME_BUFFER_FORMAT os.environ['OS_WHOLE_ARCHIVE'] = OS_WHOLE_ARCHIVE os.environ['AWTK_DLL_DEPS_LIBS'] = ';'.join(AWTK_DLL_DEPS_LIBS) os.environ['STATIC_LIBS'] = ';'.join(STATIC_LIBS) os.environ['WITH_AWTK_SO'] = 'true' os.environ['AWTK_CCFLAGS'] = AWTK_CCFLAGS + BUILD_DEBUG_FLAG os.environ['CROSS_COMPILE'] = str(not TOOLS_PREFIX == '') os.environ['SDL_UBUNTU_USE_IME'] = str(complie_helper.get_value('SDL_UBUNTU_USE_IME', False)) # os.environ['SDL_UBUNTU_USE_IME'] = str(True) OS_LIBS = ['SDL2', 'glad'] + OS_LIBS def genIdlAndDef(): genIdlAndDefEx(True)
0
repos
repos/awtk/run_ui_test.sh
#!/bin/bash function runTest() { for f in \ screen_saver.ini \ fps.ini \ main_snapshot.ini \ main_source.ini \ max_fps.ini \ overlay.ini \ exec_fscript.ini \ create_widget.ini \ create_window.ini \ send_key_events.ini \ send_pointer_events.ini \ get_loaded_assets_info.ini \ get_loaded_image_info.ini \ language.ini \ theme.ini \ basic.ini \ button.ini \ edit.ini \ keyboard.ini \ toast.ini do echo "==============tests/ui_test_data/demouiold/$f==================" ./bin/ui_test tests/ui_test_data/demouiold/$f done } # 检查传入参数的数量 if [ $# -lt 1 ]; then echo "Usage: $0 <n times>" exit 1 fi n=$1 for ((i = 0; i < n; i++)); do echo "### Execution $((i + 1))/$n ..." runTest done
0
repos
repos/awtk/SDL2Config.cmake
set(SDL2_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR} CACHE PATH "Path to SDL2 root directory") # 查找awtk库的头文件和库文件 find_library(SDL2_LIBRARY NAMES SDL2 PATHS ${SDL2_ROOT_DIR}/lib) set(SDL2_LIBRARIES) set(SDL2_INCLUDE_DIRS ${SDL2_ROOT_DIR}/3rd/SDL/include) link_directories(${SDL2_ROOT_DIR}/lib) include_directories(${SDL2_INCLUDE_DIRS})
0
repos
repos/awtk/awtk_config_common.py
import os import os.path import platform import shutil import compile_config complie_helper = compile_config.get_curr_config_for_awtk() import sys if sys.version_info.major == 2: import cPickle as pickle else: import pickle import subprocess def is_raspberrypi(): result = str(subprocess.check_output(["uname", "-a"])) return result.find('Linux raspberrypi') >= 0 ####################################################### # XXX: This file can be edited only in tkc project ####################################################### TOOLS_PREFIX = '' OS_NAME = platform.system() MACH = platform.machine() ARCH = platform.architecture() is32bit = (ARCH[0] == '32bit') if is32bit: if MACH == 'i686' or MACH == 'i386' or MACH == 'x86': TARGET_ARCH = 'x86' else: TARGET_ARCH = '' else: TARGET_ARCH = '' print('MACH=' + MACH + ' ARCH=' + str(ARCH) + ' TARGET_ARCH=' + TARGET_ARCH) def addLibPrefix(iter): print(iter) return '-l'+iter def toWholeArchive(libs): wa = ' '.join(list(map(addLibPrefix, libs))) return ' -Wl,--whole-archive ' + wa + ' -Wl,--no-whole-archive' def getTkcOnly(): env = os.environ if 'TKC_ONLY' in env: return env['TKC_ONLY'] == 'True' else: return False def joinPath(root, subdir): return os.path.normpath(os.path.join(root, subdir)) TK_ROOT = os.path.dirname(os.path.normpath(os.path.abspath(__file__))) print('TK_ROOT: ' + TK_ROOT) TK_SRC = joinPath(TK_ROOT, 'src') TK_BIN_DIR = joinPath(TK_ROOT, 'bin') TK_LIB_DIR = joinPath(TK_ROOT, 'lib') TK_3RD_ROOT = joinPath(TK_ROOT, '3rd') TK_TOOLS_ROOT = joinPath(TK_ROOT, 'tools') TK_DEMO_ROOT = joinPath(TK_ROOT, 'demos') GTEST_ROOT = joinPath(TK_ROOT, '3rd/gtest/googletest') TKC_STATIC_LIBS = ['debugger', 'fscript_ext', 'streams', 'romfs', 'conf_io', 'hal', 'xml', 'charset', 'csv', 'ubjson', 'compressors', 'miniz', 'tkc_core', 'mbedtls'] TOOLS_NAME = '' NANOVG_BACKEND = '' NATIVE_WINDOW = '' #TOOLS_NAME = 'mingw' TOOLS_NAME = complie_helper.get_value('TOOLS_NAME', TOOLS_NAME) if OS_NAME == 'Windows': TK_ROOT = TK_ROOT.replace('\\', '\\\\') OS_FLAGS = '' OS_LIBS = [] OS_LIBPATH = [] OS_CPPPATH = [] OS_LINKFLAGS = '' OS_SUBSYSTEM_CONSOLE = '' OS_SUBSYSTEM_WINDOWS = '' OS_PROJECTS = [] # only for c compiler flags COMMON_CFLAGS = '' OS_DEBUG = complie_helper.get_value('DEBUG', True) if OS_NAME == 'Darwin': # Find the correct SDL2 version sdl_path = "/opt/homebrew/Cellar/sdl2/" if not os.path.exists(sdl_path) : # Compatible with old systems sdl_path = '/usr/local/Cellar/sdl2' sdl_versions = os.listdir(sdl_path) if len(sdl_versions)==0: print("Can not find the SDL version") exit(-1) sdl_lib = sdl_path+ sdl_versions[0]+"/lib" TOOLS_NAME = '' OS_FLAGS = '-Wall -Wno-unused-function -fPIC -DWITHOUT_GLAD=1 ' OS_LIBS = ['stdc++', 'iconv', 'pthread', 'm', 'dl'] OS_LINKFLAGS = '-framework IOKit -framework Cocoa -framework QuartzCore -framework OpenGL -weak_framework Metal -weak_framework MetalKit' OS_FLAGS = OS_FLAGS + ' -DHAS_SEM_OPEN ' OS_FLAGS = OS_FLAGS + ' -D__APPLE__ -DHAS_PTHREAD -DMACOS -Dmacintosh ' OS_FLAGS = OS_FLAGS + ' -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DBGFX_CONFIG_RENDERER_METAL=1 ' OS_LIBPATH = ['/usr/local/lib/', sdl_lib] elif OS_NAME == 'Linux': TOOLS_NAME = '' OS_FLAGS = ' -Wall -Wno-unused-function -fPIC ' OS_LIBS = ['GL', 'gtk-3', 'gdk-3', 'glib-2.0', 'gobject-2.0', 'Xext', 'X11', 'sndio', 'stdc++', 'asound', 'pthread', 'm', 'dl'] COMMON_CFLAGS = COMMON_CFLAGS+' -std=gnu99 ' OS_FLAGS = OS_FLAGS + ' -DLINUX -DHAS_PTHREAD' OS_FLAGS = OS_FLAGS + ' -DSDL_TIMER_UNIX -DSDL_VIDEO_DRIVER_X11 -DSDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS ' OS_FLAGS = OS_FLAGS + \ ' -DSDL_AUDIO_DRIVER_SNDIO -DSDL_VIDEO_OPENGL_GLX -DSDL_VIDEO_RENDER_OGL ' OS_FLAGS = OS_FLAGS + ' -DSDL_LOADSO_DLOPEN -DSDL_VIDEO_OPENGL_EGL -DSDL_VIDEO_OPENGL_ES2 ' OS_FLAGS = OS_FLAGS + \ ' -DSDL_REAL_API -DSDL_HAPTIC_DISABLED -DSDL_SENSOR_DISABLED -DSDL_JOYSTICK_DISABLED ' OS_PROJECTS = ['3rd/SDL/SConscript'] if TARGET_ARCH == 'x86': OS_FLAGS = OS_FLAGS + ' -U__FLT_EVAL_METHOD__ -D__FLT_EVAL_METHOD__=0 ' else: OS_FLAGS = OS_FLAGS + ' -DWITH_64BIT_CPU ' OS_LINKFLAGS = ' -Wl,-rpath=./bin -Wl,-rpath=./ ' if is_raspberrypi(): OS_FLAGS = OS_FLAGS + ' -DRASPBERRYPI ' os.environ['RASPBERRYPI'] = 'true' elif OS_NAME == 'Windows': if not os.path.exists(os.path.abspath(TK_BIN_DIR)): os.makedirs(os.path.abspath(TK_BIN_DIR)) if not os.path.exists(os.path.abspath(TK_LIB_DIR)): os.makedirs(os.path.abspath(TK_LIB_DIR)) if TOOLS_NAME == '': OS_LIBS = ['gdi32', 'user32', 'winmm.lib', 'imm32.lib', 'version.lib', 'shell32.lib', 'Setupapi', 'ole32.lib', 'Oleaut32.lib', 'Advapi32.lib', 'DelayImp.lib', 'psapi.lib', "ws2_32"] OS_FLAGS = '-DWIN32 -D_WIN32 -DWINDOWS /EHsc -D_CONSOLE /FS /Z7 /utf-8 ' if TARGET_ARCH == 'x86': OS_LINKFLAGS = '/MACHINE:X86 ' OS_SUBSYSTEM_CONSOLE = '/SUBSYSTEM:CONSOLE,5.01 ' OS_SUBSYSTEM_WINDOWS = '/SUBSYSTEM:WINDOWS,5.01 ' OS_FLAGS = OS_FLAGS + ' -D_WIN32 ' else: OS_FLAGS = OS_FLAGS + ' -DWITH_64BIT_CPU ' OS_LINKFLAGS = '/MACHINE:X64 ' OS_SUBSYSTEM_CONSOLE = '/SUBSYSTEM:CONSOLE ' OS_SUBSYSTEM_WINDOWS = '/SUBSYSTEM:WINDOWS ' OS_FLAGS = OS_FLAGS + ' -D_WIN64 ' OS_FLAGS = OS_FLAGS + ' -DHAVE_LIBC ' elif TOOLS_NAME == 'mingw': OS_LIBS = ['kernel32', 'gdi32', 'user32', 'winmm', 'imm32', 'version', 'shell32', 'Setupapi', 'ole32', 'Oleaut32', 'Advapi32', 'oleaut32', 'uuid', 'stdc++', "ws2_32"] OS_FLAGS = '-DMINGW -DWINDOWS -D_CONSOLE -Wall' OS_LINKFLAGS = ' -Wl,-rpath=./bin -Wl,-rpath=./ ' OS_SUBSYSTEM_CONSOLE = ' -mconsole ' OS_SUBSYSTEM_WINDOWS = ' -mwindows ' COMMON_CFLAGS = COMMON_CFLAGS+' -std=gnu99 ' OS_FLAGS = OS_FLAGS+' -U__FLT_EVAL_METHOD__ -D__FLT_EVAL_METHOD__=0 -DDECLSPEC= ' #OS_FLAGS='-DWIN32 -D_WIN32 -DWINDOWS /EHsc -D_CONSOLE /DEBUG /Od /FS /Z7 -D_DEBUG /MDd ' OS_FLAGS = OS_FLAGS + \ ' -DSDL_REAL_API -DSDL_HAPTIC_DISABLED -DSDL_SENSOR_DISABLED -DSDL_JOYSTICK_DISABLED ' OS_FLAGS = OS_FLAGS + '-D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -D_HAS_EXCEPTIONS=0 -D_HAS_ITERATOR_DEBUGGING=0 -D_ITERATOR_DEBUG_LEVEL=0 -D_SCL_SECURE=0' OS_FLAGS = OS_FLAGS + \ '-D_SECURE_SCL=0 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE ' OS_PROJECTS = ['3rd/SDL/SConscript'] def has_custom_cc(): return False def cleanSharedLib(dst, name): if OS_NAME == 'Darwin': dst = os.path.join(dst, 'lib'+name+'.dylib') elif OS_NAME == 'Linux': dst = os.path.join(dst, 'lib'+name+'.so') elif OS_NAME == 'Windows': dst = os.path.join(dst, name+'.dll') else: print('not support ' + OS_NAME) return dst = os.path.normpath(dst) if os.path.exists(dst): os.remove(dst) print('Removed ' + dst) if OS_NAME == 'Windows': dst=dst.replace('.dll', '.lib') if os.path.exists(dst): os.remove(dst) print('Removed ' + dst) def copySharedLib(src, dst, name): mingw_src = src if OS_NAME == 'Darwin': src = os.path.join(src, 'bin/lib'+name+'.dylib') elif OS_NAME == 'Linux': src = os.path.join(src, 'bin/lib'+name+'.so') elif OS_NAME == 'Windows': src = os.path.join(src, 'bin/'+name+'.dll') else: print('not support ' + OS_NAME) return src = os.path.normpath(src) dst = os.path.normpath(dst) if os.path.dirname(src) == dst: return if not os.path.exists(src): print('Can\'t find ' + src + '. Please build '+name+' before!') else: if not os.path.exists(dst): os.makedirs(dst) shutil.copy(src, dst) print(src + '==>' + dst) if OS_NAME == 'Windows': if TOOLS_NAME == 'mingw': src = os.path.join(mingw_src, 'bin/lib'+name+'.a') else: src = src.replace('dll', 'lib') if os.path.exists(src): shutil.copy(src, dst) print(src + '==>' + dst) def isBuildShared(): return 'WITH_AWTK_SO' in os.environ and os.environ['WITH_AWTK_SO'] == 'true' def genIdlAndDefEx(withAWTK): cmds = [ 'node tools/idl_gen/tkc.js tools/idl_gen/tkc.json', 'node tools/dll_def_gen/index.js tools/idl_gen/tkc.json dllexports/tkc.def false' ] if withAWTK: cmds += [ 'node tools/idl_gen/index.js tools/idl_gen/idl.json', 'node tools/dll_def_gen/index.js tools/idl_gen/idl.json dllexports/awtk.def false', ] for cmd in cmds: print(cmd) if os.system(cmd) != 0: print('exe cmd: ' + cmd + ' failed.') os.environ['TK_ROOT'] = TK_ROOT os.environ['TOOLS_NAME'] = TOOLS_NAME os.environ['GTEST_ROOT'] = GTEST_ROOT os.environ['TK_3RD_ROOT'] = TK_3RD_ROOT def setEnvSpawn(env): if env['PLATFORM'] == 'win32' and os.environ['TOOLS_NAME'] != '': import subprocess class ourSpawn: def ourspawn(self, sh, escape, cmd, args, env): newargs = ' '.join(args[1:]) cmdline = cmd + " " + newargs startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW proc = subprocess.Popen(cmdline, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo, shell=False, env=env) data, err = proc.communicate() rv = proc.wait() if rv: print("=====") print(err) print("=====") return rv buf = ourSpawn() buf.ourenv = env env['SPAWN'] = buf.ourspawn def genDllLinkFlags(libs, defFile): linkFlags = '' wholeArch = toWholeArchive(libs) if OS_NAME == 'Windows': if TOOLS_NAME == '': linkFlags += ' /DEF:"dllexports/'+defFile+'.def" ' elif TOOLS_NAME == 'mingw': linkFlags += wholeArch elif OS_NAME == 'Darwin': linkFlags += ' -all_load ' elif OS_NAME == 'Linux': linkFlags += wholeArch return linkFlags def get_scons_db_files(root): scons_db_files = [] scons_db_filename = ".sconsign.dblite" for f in os.listdir(root): full_path = joinPath(root, f) if os.path.isfile(full_path) and f == scons_db_filename: scons_db_files.append(full_path) elif os.path.isdir(full_path) and f != "." and f != "..": get_scons_db_files(full_path) return scons_db_files def scons_db_check_and_remove(): scons_db_files = [] scons_db_files = get_scons_db_files(TK_ROOT) for f in scons_db_files: try: with open(f, "rb") as fs: pickle.load(fs) fs.close() except Exception as e : fs.close() print(e) try: os.remove(f) except Exception as e : print(e)
0
repos
repos/awtk/build_ui_old.json
{ "name": "demouiold", "version": "1.0", "assets": "res/assets", "author": "[email protected]", "copyright": "Guangzhou ZHIYUAN Electronics Co.,Ltd.", "themes":["default", "dark"], "web": { "app_type": "c", "assets": "design", "sources": [ "demos/assets.c", "demos/demo_ui_old_app.c" ], "config": { "fontScale": "0.8", "defaultFont": "sans" } }, "android": { "app_name": "org.zlgopen.demoui", "sources": [ "demos/assets.c", "demos/demo_ui_old_app.c", "demos/vg_common.inc", "res/assets.inc", "res/assets/__assets_dark.inc", "res/assets/__assets_default.inc" ] }, "ios": { "app_name": "org.zlgopen.demoui", "sources": [ "demos/assets.c", "demos/demo_ui_old_app.c", "demos/vg_common.inc", "res/assets.inc", "res/assets/__assets_dark.inc", "res/assets/__assets_default.inc" ] } }
0
repos
repos/awtk/CONTRIBUTING.md
* 独立控件请建立独立仓库,我在README中加链接。 * 不同平台的移植请建立独立仓库,我在README中加链接。 * 不同语言的绑定请建立独立仓库,我在README中加链接。 * 有问题请提交issue,由AWTK团队来改,一般不接收pull requests。
0
repos
repos/awtk/README.md
# AWTK = Toolkit AnyWhere > [中文用户请看这里](README_zh.md) ## I. Introduction [AWTK](README.md) , the abbreviation of Toolkit AnyWhere, is an open source GUI engine developed by [ZLG](http://www.zlg.cn/). It is a cross-platform GUI engine for embedded systems, WEB, mini programs, mobile phones and PC. It is a powerful, efficient, reliable and easy-to-use GUI engine for users to design beautiful GUI applications. > Welcome developers to join us in our development:[Joint Ecology Building Plan](docs/awtk_ecology.md) #### [AWTK](README.md) has two implications as follows: * Toolkit AnyWhere. * As the built-in GUI of AWorksOS, which is the ZLG IoT operating system. #### [AWTK](README.md) source code repositories: * Main source code repository: [https://github.com/zlgopen/awtk](https://github.com/zlgopen/awtk) * Mirrored source code repository:[https://gitee.com/zlgopen/awtk](https://gitee.com/zlgopen/awtk) * Stable version pack: https://pan.baidu.com/s/1_oRgj67M-I4kivk-YzwFWA Access code:1cmi #### AWTK Designer - the UI design tool: * It is no longer necessary to write XML by yourself. * Design the UI by dragging and dropping. What you see is what you get. * Support quick preview and pack resources with one-click. * Registration and download: https://awtk.zlg.cn ![AWTK Designer](docs/images/designer.png) #### Screenshots: ![Chart-Demo](docs/images/chart_main.png) ![MusicPlayer-Demo](docs/images/musicplayer_main.png) ![Watch](docs/images/smartwatch_main.png) ## II. Ultimate Objectives * To support development of embedded applications.✔ * To support development of Linux applications.✔ * To support development of MacOS applications.✔ * To support development of Windows applications.✔ * To support development of Web applications.✔ * To support development of Android applications.✔ * To support development of iOS applications.✔ * To support development of WeChat mini programs. * To support development of AliPay mini programs. * To support development of Baidu mini programs. * To support development of 2D mini games. ## III. Main Features ### 1. Cross-platform [AWTK](README.md) is a cross-platform GUI engine , which has two meanings as follows: * AWTK's code is cross-platform. At present, it is compatible with platforms such as ZLG AWorksOS, Windows, Linux, MacOS, embedded Linux, Android, iOS, Web and embedded raw systems. It can be easily ported to variety of different RTOS. In the future, AWTK can be also run as mini programs. * In addition, AWTK has a cross-platform library of basic tools, which includes lists, arrays, strings (UTF8 and widechar), event emitters, values, objects, file system, mutex, threads, formulas and string analysis, in order that the applications you develop with AWTK can really run across platforms. ### 2. Efficient [AWTK](README.md) ensure efficiency through the following operations: * Update changed parts using dirty rectangles algorithms. * Support 3 FrameBuffer to make the UI run at the highest frame rate (optional). * UI description files and theme files are stored in efficient binary formats, in order that they can be analyzed more fast. * Support different GPU acceleration interfaces, including OpenGL, DirectX, Vulkan and Metal and so on. * Support 2D acceleration interfaces of embedded platforms, such as NXP's PXP interfaces and STM32's DMA2D interfaces, user can easy to adapt to other acceleration interfaces. ### 3. Stable [AWTK](README.md) makes codes as stable and reliable as possible in following ways: * Perform static checks using cppcheck and facebook infer. * Dynamically check memory with valgrind. * With approximately 20,000 lines of codes for unit testing. * With support from the powerful GUI team of ZLG. * Has been validated in multiple practical projects. * Has been validated by multiple platforms and compilers. * With excellent architecture design. * Code Review. * Manual test. ### 4. Powerful * Abundant widgets (being add more widgets). * Support multiple image formats (png/jpg/gif/svg). * Support multiple font formats (bitmap and vector fonts). * Support window animation function. * Support widget animation function. * Support HD screen. * Support UI layout description file. * Support UI theme file. * Support switch themes in runtime. * Support custom rule for widget layout. * Support custom rule for highlighting dialogs. * With many auxiliary tools. * Support different CPU from low-end (such as Cortex M3) to high-end. * Support no-filesystem platform and custom filesystem. * Support raw systems platform and RTOS. ### 5. Easy-to-use * With many demonstration codes. * With complete API document and user guide document. * With technical support from the powerful team of ZLG. * With the UI designer, which also developed with AWTK (https://awtk.zlg.cn). * Use declarative UI description language. user can enable widget animation, window animation, and image display (png/jpg/svg/gif) with one line code. ### 6. Customizable * Support extend custom widgets. * Support extend custom animations. * Support implement custom main loop. * Support extend custom soft keyboard. * Support extend custom image loader. * Support extend custom font loader. * Support extend custom input method engine. * Support extend custom layout algorithms for widgets. * Support extend custom rule for highlighting dialogs. * Support implement custom LCD interface. * Support extend custom vector engines (e.g.skia/cairo). * All extended and built-in widgets are treated the same. ### 7. Multiple Development Languages [AWTK](README.md) is been developed in the C Program Language. Scripts in different languages can be generated by the IDL. The binding code generated not only simply mapping the C API to the target script language, but also with the native code styles of the target script language. At present, following languages are supported (More languages will be added): * C * Go * C++ * lua * java * python * Javascript on jerryscript * Javascript on nodejs * Javascript on quickjs ### 8. Internationalization * Support Unicode. * Support input methods. * Support translate strings. * Support translate images. * Support text bidirectional algorithms. ### 9. The MVVM framework for embedded software thoroughly separate user interfaces from business logic * High performances. * Low memory usage. * More thorough isolation. * Portable to other GUI. * Less codes (~5,000 lines). * No need for learning API of AWTK. * Support multiple programming languages (support C/JS at present). > For details, please see https://github.com/zlgopen/awtk-mvvm ### 10. Open source codes are freely available for commercial purposes (LGPL) ## IV. Simulation Run ### Code Downloading * Download with git > [Git under Windows](https://git-scm.com/download/win) **Code Downloading** ``` git clone https://github.com/zlgopen/awtk.git ``` > Under Windows, codes can be downloaded by git with GUI tool. **Code Updating (in the awtk directory)** ``` git pull ``` > The advantage of using Git is that it is very convenient to update the code later. * Directly download the zip file. > Download the [ zip file](https://github.com/zlgopen/awtk/archive/master.zip). Once unzipped, the file shall be renamed **awtk**. ### Mac If nodejs, scons and sdl2 aren't installed, please run the following command in the terminal (assuming that brew has been installed): ``` brew install scons sdl2 node ``` Compile and run (Enter the directory where awtk is and run the following command in the terminal): ``` scons ./bin/demoui ``` ### Ubuntu (version >=16) If scons and the dependent software pack aren't installed, please run the following command in the terminal: ``` sudo apt-get install gcc g++ scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev libibus-1.0-dev fcitx-libs-dev git vim clang-format libharfbuzz-dev nodejs libreadline-dev ``` Compile and run (Enter the awtk directory and run the following command in the terminal): ``` scons ./bin/demoui ``` > If it can't be run in Ubuntu 14, please refer to [FAQ](docs/faq.md). ### Windows > Please install python (64-bit python shall be installed for a 64-bit system), scons and Visual Studio C++ (version>=2017) first. > If pywin32 isn't installed, please use pip to install: ``` pip install pywin32 ``` Compile and run (Enter the awtk directory and run the following command in the terminal): Install [nodejs](https://nodejs.org/en/) ``` scons bin\demoui ``` ### compile prams help info : ``` scons help ``` export compile prams file : ``` scons DEFINE_FILE=./awtk_config_define.py ``` build compile prams file : ``` scons EXPORT_DEFINE_FILE=./awtk_config_define.py ``` ### for all platforms > If PIL isn't installed, please use pip to install: ``` pip install Pillow ``` > If nodejs glob isn't installed, please use npm to install: ``` npm install -g glob ``` ## V. Online Demonstration * [Online Demonstration of Basic Widgets](https://awtk.zlg.cn/demos/awtk/demoui/index.html) * [Graphical Demonstration](https://awtk.zlg.cn/demos/awtk_projects/Chart.v2-Demo/index.html) * [Music Player Demonstration](https://awtk.zlg.cn/demos/awtk_projects/MusicPlayer.v2-Demo/index.html) * [Smart Watch Demonstration](https://awtk.zlg.cn/demos/awtk_projects/SmartWatch.v2-Demo/index.html) ## VI. Platform Porting * [For details, refer to the Joint Ecology Building Plan for AWTK](docs/awtk_ecology.md) ## VII. Language Binding * [AWTK Binding Code Generator](https://github.com/zlgopen/awtk-binding) * [LUA Binding](https://github.com/zlgopen/awtk-lua) * [Go Binding](https://github.com/zlgopen/awtk-go) * [C++ Binding](https://github.com/zlgopen/awtk-cpp) * [JAVA Binding](https://github.com/zlgopen/awtk-java) * [Python Binding](https://github.com/zlgopen/awtk-python) * [MiniJVM Binding](https://github.com/zlgopen/awtk-minijvm) * [JS-Binding QuickJS](https://github.com/zlgopen/awtk-quickjs) * [JS-Binding NodeJS](https://github.com/zlgopen/awtk-nodejs) * [JS-Binding JerryScript](https://github.com/zlgopen/awtk-jerryscript) ## VIII. Related Projects * [Template Project](https://github.com/zlgopen/awtk-hello) * [MVVM Template Project](https://github.com/zlgopen/awtk-mvvm-c-hello) * [awtk-csv-file](https://github.com/zlgopen/awtk-csv-file) * [awtk-database-repository](https://github.com/zlgopen/awtk-database-repository) * [awtk-sqlite3](https://github.com/zlgopen/awtk-sqlite3) * [awtk-vscode-plugin](https://github.com/zlgopen/awtk-vscode-plugin) * [awtk-restful-httpd](https://github.com/zlgopen/awtk-restful-httpd) * [Auto Test Engine](https://github.com/zlgopen/awtk-ui-automation) * [Regression Test](https://github.com/zlgopen/awtk-regression-test) * [Demonstration Codes with C Program](https://github.com/zlgopen/awtk-c-demos) * [Wonderful Examples](https://github.com/zlgopen/awtk-examples) * [HTTP Client](https://github.com/zlgopen/awtk-http-client) * [AWTK-MVVM](https://github.com/zlgopen/awtk-mvvm) * [MVC/MVVM Example Demonstration](https://github.com/zlgopen/awtk-patterns) * [Examples for Custom Widgets: Widget Generator](https://github.com/zlgopen/awtk-widget-generator) * [Examples for Custom Widgets: QR code](https://github.com/zlgopen/awtk-widget-qr) * [Examples for Custom Widgets: TinyGL](https://github.com/zlgopen/awtk-widget-glview) * [Examples for Custom Widgets: Number-label](https://github.com/zlgopen/awtk-widget-number-label) * [Examples for Custom Widgets: Code Editor](https://github.com/zlgopen/awtk-widget-code-edit) * [Examples for Custom Widgets: Date Picker](https://github.com/zlgopen/awtk-widget-date-picker) * [Examples for Custom Widgets: Table View](https://github.com/zlgopen/awtk-widget-table-view) * [Examples for Custom Widgets: Tree View](https://github.com/zlgopen/awtk-widget-tree-view) * [Examples for Custom Widgets: Shape](https://github.com/zlgopen/awtk-widget-shape) * [Examples for Custom Widgets: HTML View](https://github.com/zlgopen/awtk-widget-html-view) * [Examples for Custom Widgets: ios/android like list item](https://github.com/zlgopen/awtk-widget-slidable-row) * [Examples for Custom Widgets: VLabel](https://github.com/zlgopen/awtk-widget-vlabel) * [Examples for Custom Widgets: rlottie](https://github.com/zlgopen/awtk-widget-rlottie) * [Examples for Custom Widgets: rive](https://github.com/zlgopen/awtk-widget-rive) * [Examples for Custom Widgets: slider circle](https://github.com/zlgopen/awtk-widget-slider-circle) * [Examples for Custom Widgets: progress polygon](https://github.com/zlgopen/awtk-widget-progress-polygon) * [Integrate 3D engine OGRE](https://github.com/zlgopen/awtk-ogre) * [Examples for Custom Widgets: liquid flow](https://github.com/zlgopen/awtk-widget-liquid-flow) * [Examples for Custom Font Loader](https://github.com/zlgopen/awtk-custom-font-loader) * [Write AWTK App With ReactJS](https://github.com/zlgopen/react-awtk) * [awtk-modbus](https://github.com/zlgopen/awtk-modbus) * [awtk-ftpd](https://github.com/zlgopen/awtk-ftpd) * [awtk-ftp-fs](https://github.com/zlgopen/awtk-ftp-fs) * [awtk-hmi](https://github.com/zlgopen/awtk-hmi) The third party provides: * [Examples for Custom Widgets: QR code](https://github.com/CUITzhaoqi/awtk-qr) * [Examples for Custom Widgets: Circle Sliders](https://github.com/longyuwlz/awtk_slider_circle) * [Examples for Custom Widgets: Gesture Lock](https://gitee.com/zhangzhongji/awtk-widget-gesture-lock) ## IX. Documentation * [Development Docs](docs/README.md) * [Change Logs](docs/changes.md) * [TODO](TODO.md) * [Beginners' Guide and Handbook](https://github.com/zlgopen/awtk-docs) ## X. Joint Ecology Building Plan * [Joint Ecology Building Plan](docs/awtk_ecology.md) * In-depth Partners [![](docs/images/logo_nxp.svg)](https://www.nxp.com) [![](docs/images/logo_anyka.jpg)](http://www.anyka.com) [![](docs/images/logo_ingenic.jpg)](http://www.ingenic.com.cn) [![](docs/images/logo_mindmotion.png)](http://www.mindmotion.com.cn) [![](docs/images/logo_bestechnic.jpg)](https://www.bestechnic.com) ## XI. Developer Community Welcome any interested developer to evaluate and try to use AWTK. If you have any suggestions or questions about AWTK, please add the WeChat account zlgmcu-888 to enter the AWTK communication group, and ZLG R&D team will answer them for you.
0
repos
repos/awtk/build.json
{ "name": "demouiold", "version": "1.0", "assets": "res/assets", "author": "[email protected]", "copyright": "Guangzhou ZHIYUAN Electronics Co.,Ltd.", "themes":["default", "dark"], "web": { "app_type": "c", "assets": "design", "sources": [ "demos/assets.c", "demos/demo_ui_old_app.c" ], "config": { "fontScale": "0.8", "defaultFont": "sans" } }, "android": { "app_name": "org.zlgopen.demoui", "sources": [ "demos/assets.c", "demos/demo_ui_app.c", "demos/vg_common.inc", "res/assets.inc", "res/assets/__assets_dark.inc", "res/assets/__assets_default.inc" ] }, "ios": { "app_name": "org.zlgopen.demoui", "sources": [ "demos/assets.c", "demos/demo_ui_app.c", "demos/vg_common.inc", "res/assets.inc", "res/assets/__assets_dark.inc", "res/assets/__assets_default.inc" ] } }
0
repos
repos/awtk/README_zh.md
# AWTK = Toolkit AnyWhere ![zlg](docs/images/zlg_adv.jpeg) ## 一、介绍 [AWTK](README.md) 全称 Toolkit AnyWhere,是 [ZLG](http://www.zlg.cn/) 开发的开源 GUI 引擎,旨在为嵌入式系统、WEB、各种小程序、手机和 PC 打造的通用 GUI 引擎,为用户提供一个功能强大、高效可靠、简单易用、可轻松做出炫酷效果的 GUI 引擎。 > 欢迎广大开发者一起参与开发:[生态共建计划](docs/awtk_ecology.md)。 #### [AWTK](README.md) 寓意有两个方面: * Toolkit AnyWhere。 * ZLG 物联网操作系统 AWorksOS 内置 GUI。 #### [AWTK](README.md) 源码仓库: * 主源码仓库:[https://github.com/zlgopen/awtk](https://github.com/zlgopen/awtk) * 镜像源码仓库:[https://gitee.com/zlgopen/awtk](https://gitee.com/zlgopen/awtk) * 稳定版整合包:https://pan.baidu.com/s/1_oRgj67M-I4kivk-YzwFWA 提取码:1cmi #### AWTK Designer 界面设计工具: * 不再需要手写 XML * 拖拽方式设计界面,所见即所得 * 快速预览,一键打包资源 * 注册及下载地址:https://awtk.zlg.cn ![AWTK Designer](docs/images/designer.png) #### 运行效果截图: ![Chart-Demo](docs/images/chart_main.png) ![MusicPlayer-Demo](docs/images/musicplayer_main.png) ![Watch](docs/images/smartwatch_main.png) ## 二、最终目标: * 支持开发嵌入式应用程序。✔ * 支持开发 Linux 应用程序。✔ * 支持开发 MacOS 应用程序。✔ * 支持开发 Windows 应用程序。✔ * 支持开发 Web APP。✔ * 支持开发 Android 应用程序。✔ * 支持开发 iOS 应用程序。✔ * 支持开发微信小程序。 * 支持开发支付宝小程序。 * 支持开发百度小程序。 * 支持开发 2D 小游戏。 ## 三、主要特色 ### 1. 跨平台 [AWTK](README.md) 是跨平台的,这有两个方面的意思: * AWTK 本身是跨平台的。目前支持的平台有 ZLG AWorksOS、Windows、Linux、MacOS、嵌入式 Linux、Android、iOS、Web 和嵌入式裸系统,可以轻松的移植到各种 RTOS 上。AWTK 以后也可以运行在各种小程序平台上运行。 * AWTK 同时还提供了一套跨平台的基础工具库。其中包括链表、数组、字符串 (UTF8 和 widechar),事件发射器、值、对象、文件系统、互斥锁和线程、表达式和字符串解析等等,让你用 AWTK 开发的应用程序可以真正跨平台运行。 ### 2. 高效 [AWTK](README.md) 通过一系列的手段保证 AWTK 应用程序高效运行: * 通过脏矩算法只更新变化的部分。 * 支持 3 FrameBuffer 让界面以最高帧率运行 (可选)。 * UI 描述文件和窗体样式文件使用高效的二进制格式,解析在瞬间完成。 * 支持各种 GPU 加速接口。如 OpenGL、DirectX、Vulkan 和 Metal 等。 * 支持嵌入式平台的各种 2D 加速接口。目前 STM32 的 DMA2D 和 NXP 的 PXP 接口,厂家可以轻松扩展自己的加速接口。 ### 3. 稳定 [AWTK](README.md) 通过下列方式极力让代码稳定可靠: * 使用 cppcheck 和 facebook infer 进行静态检查。 * 使用 valgrind 进行动态内存检查。 * 近两万行的单元测试代码。 * ZLG 强大 GUI 团队的支持。 * 经过多个实际项目验证。 * 多平台 / 多编译器验证。 * 优秀的架构设计。 * Code Review。 * 手工测试。 ### 4. 强大 * 丰富的控件 (持续增加中)。 * 支持各种图片格式 (png/jpg/gif/svg)。 * 支持各种字体格式 (点阵和矢量)。 * 支持窗口动画。 * 支持控件动画。 * 支持高清屏。 * 支持界面描述文件。 * 支持窗体样式描述文件。 * 主题切换实时生效。 * 支持控件布局策略。 * 支持对话框高亮策略。 * 丰富的辅助工具。 * 支持从低端的 Cortex M3 到各种高端 CPU。 * 支持无文件系统和自定义的文件系统。 * 支持裸系统和 RTOS。 * 支持事件录制与重放进行压力测试。 * 支持 Appium 进行全自动化 UI 测试。 ### 5. 易用 * 大量的示例代码。 * 完善的 API 文档和使用文档。 * ZLG 强大的技术支持团队。 * 用 AWTK 本身开发的 [界面编辑器](https://awtk.zlg.cn)。 * 声明式的界面描述语言。一行代码启用控件动画,启用窗口动画,显示图片 (png/jpg/svg/gif)。 ### 6. 高度扩展性 * 可以扩展自己的控件。 * 可以扩展自己的动画。 * 可以实现自己的主循环。 * 可以扩展自己的软键盘。 * 可以扩展自己的图片加载器。 * 可以扩展自己的字体加载器。 * 可以扩展自己的输入法引擎。 * 可以扩展自己的控件布局算法。 * 可以扩展自己的对话框高亮策略。 * 可以实现自己的 LCD 接口。 * 可以扩展自己的矢量引擎 (如使用 skia/cairo)。 * 所有扩展组件和内置组件具有相同的待遇。 ### 7. 多种开发语言 [AWTK](README.md) 本身是用 C 语言开发的,可以通过 IDL 生成各种脚本语言的绑定。生成的绑定代码不是简单的把 C 语言的 API 映射到脚本语言,而是生成脚本语言原生代码风格的 API。目前支持以下语言 (以后根据需要增加): * C * Go * C++ * lua * java * python * Javascript on jerryscript * Javascript on nodejs * Javascript on quickjs ### 8. 国际化 * 支持 Unicode。 * 支持输入法。 * 支持字符串翻译 (实时生效)。 * 支持图片翻译 (实时生效)。 * 文字双向排版。 ### 9. 为嵌入式软件定制的 MVVM 框架,彻底分离用户界面和业务逻辑。 * 性能高。 * 内存开销小。 * 隔离更彻底。 * 可移植到其它 GUI。 * 代码小 (~5000 行)。 * 无需学习 AWTK 控件本身的 API。 * 支持多种编程语言(目前支持 C/JS)。 > 详情请参考:https://github.com/zlgopen/awtk-mvvm ### 10. 开放源码,免费商用 (LGPL)。 > 欢迎对照 [《GUI 引擎评价指标》](https://github.com/zlgopen/gui-lib-evaluation) 进行评测。 ## 四、模拟运行: ### 下载代码 * 用 git 下载 > [Windows 下的 git](https://git-scm.com/download/win) **下载代码** ``` git clone https://github.com/zlgopen/awtk.git ``` > 国内用户推荐使用:https://hub.fastgit.org/zlgopen/awtk.git > Windows 下可以用带 GUI 的 git 下载代码。 **更新代码(在 awtk 目录下运行)** ``` git pull ``` > 用 git 下载代码的好处是以后更新代码非常快。 * 直接下载 zip 文件 > 下载 [ zip 文件](https://github.com/zlgopen/awtk/archive/master.zip)。解压之后**需要把文件夹改名为 awtk**。 ### Mac 如果没有安装 nodejs, scons 和 sdl2,请在终端运行下面的命令 (假定已安装 brew): ``` brew install scons sdl2 node ``` 编译运行 (在终端下,进入 awtk 所在的目录,并运行下列命令): ``` scons ./bin/demoui ``` ### Ubuntu (版本 >=16) 如果没有安装 scons 和依赖的软件包,请在终端运行下面的命令: ``` sudo apt-get install gcc g++ scons libsndio-dev libgtk-3-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev libasound2-dev libibus-1.0-dev fcitx-libs-dev git vim clang-format libharfbuzz-dev nodejs libreadline-dev ``` 编译运行 (在终端下,进入 awtk 所在的目录,并运行下列命令): ``` scons ./bin/demoui ``` > 在 Ubuntu 14 上无法启动,请参考 [FAQ](docs/faq.md) 修改。 ### Windows > 请先安装 python(64 位系统要安装 64 位版本的 python),scons 和 Visual Studio C++(版本 >=2017) > 如果没有安装 pywin32,请 pip 安装: ``` pip install pywin32 ``` 如果没有安装nodejs,请到 [nodejs](https://nodejs.org/en/)下载并安装。 编译运行 (在命令行模式下,进入 awtk 所在的目录,并运行下列命令): ``` scons bin\demoui ``` ### 编译参数 编译帮助信息: ``` scons help ``` 导入编译参数文件: ``` scons DEFINE_FILE=./awtk_config_define.py ``` 生成编译参数文件: ``` scons EXPORT_DEFINE_FILE=./awtk_config_define.py ``` ### 所有平台 * 如果 PIL 没有安装,请用 pip 安装: ``` pip install Pillow ``` * 如果 glob 没有安装,请用 npm 安装: ``` npm install -g glob ``` ## 五、在线演示 * [基本控件在线演示](https://awtk.zlg.cn/demos/awtk/demoui/index.html) * [图表演示](https://awtk.zlg.cn/demos/awtk_projects/Chart.v2-Demo/index.html) * [音乐播放器演示](https://awtk.zlg.cn/demos/awtk_projects/MusicPlayer.v2-Demo/index.html) * [智能手表演示](https://awtk.zlg.cn/demos/awtk_projects/SmartWatch.v2-Demo/index.html) ## 六、各个平台的移植 * [详见 AWTK 生态共建计划](docs/awtk_ecology.md) ## 七、各语言的绑定 * [AWTK 绑定代码生成器](https://github.com/zlgopen/awtk-binding) * [LUA 绑定](https://github.com/zlgopen/awtk-lua) * [Go 绑定](https://github.com/zlgopen/awtk-go) * [C++ 绑定](https://github.com/zlgopen/awtk-cpp) * [JAVA 绑定](https://github.com/zlgopen/awtk-java) * [Python 绑定](https://github.com/zlgopen/awtk-python) * [MiniJVM 绑定](https://github.com/zlgopen/awtk-minijvm) * [JS 绑定之 QuickJS](https://github.com/zlgopen/awtk-quickjs) * [JS 绑定之 NodeJS](https://github.com/zlgopen/awtk-nodejs) * [JS 绑定之 JerryScript](https://github.com/zlgopen/awtk-jerryscript) ## 八、相关工程 * [模板工程](https://github.com/zlgopen/awtk-hello) * [MVVM 模板工程](https://github.com/zlgopen/awtk-mvvm-c-hello) * [CSV文件操作](https://github.com/zlgopen/awtk-csv-file) * [数据库Repository](https://github.com/zlgopen/awtk-database-repository) * [Sqlite 基于 AWTK 的移植](https://github.com/zlgopen/awtk-sqlite3) * [VSCode实时预览插件](https://github.com/zlgopen/awtk-vscode-plugin) * [为嵌入式平台开发的RESTful的Web服务](https://github.com/zlgopen/awtk-restful-httpd) * [自动测试引擎](https://github.com/zlgopen/awtk-ui-automation) * [回归测试](https://github.com/zlgopen/awtk-regression-test) * [C 示例代码](https://github.com/zlgopen/awtk-c-demos) * [精彩示例](https://github.com/zlgopen/awtk-examples) * [HTTP 客户端库](https://github.com/zlgopen/awtk-http-client) * [AWTK-MVVM](https://github.com/zlgopen/awtk-mvvm) * [MVC/MVVM 演示示例](https://github.com/zlgopen/awtk-patterns) * [扩展控件实例:控件代码生成器](https://github.com/zlgopen/awtk-widget-generator) * [扩展控件实例:二维码](https://github.com/zlgopen/awtk-widget-qr) * [扩展控件实例:TinyGL](https://github.com/zlgopen/awtk-widget-glview) * [扩展控件实例:数值标签](https://github.com/zlgopen/awtk-widget-number-label) * [扩展控件实例:代码编辑器](https://github.com/zlgopen/awtk-widget-code-edit) * [扩展控件实例:日期选择器](https://github.com/zlgopen/awtk-widget-date-picker) * [扩展控件实例:表格视图](https://github.com/zlgopen/awtk-widget-table-view) * [扩展控件实例:树形视图](https://github.com/zlgopen/awtk-widget-tree-view) * [扩展控件实例: Shape](https://github.com/zlgopen/awtk-widget-shape) * [扩展控件实例:HTML 视图](https://github.com/zlgopen/awtk-widget-html-view) * [扩展控件实例:垂直文本](https://github.com/zlgopen/awtk-widget-vlabel) * [扩展控件实例:仿微信列表项](https://github.com/zlgopen/awtk-widget-slidable-row) * [扩展控件实例:Lottie动画](https://github.com/zlgopen/awtk-widget-rlottie) * [扩展控件实例:Rive动画](https://github.com/zlgopen/awtk-widget-rive) * [扩展控件实例:液体流动](https://github.com/zlgopen/awtk-widget-liquid-flow) * [扩展控件实例:液体流动](https://github.com/zlgopen/awtk-widget-liquid-flow) * [扩展控件实例:环形调节器](https://github.com/zlgopen/awtk-widget-slider-circle) * [扩展控件实例:异形进度条](https://github.com/zlgopen/awtk-widget-progress-polygon) * [集成 3D 引擎 OGRE](https://github.com/zlgopen/awtk-ogre) * [自定义字体加载器:加载部分字体](https://github.com/zlgopen/awtk-custom-font-loader) * [用reactjs开发AWTK应用程序](https://github.com/zlgopen/react-awtk) * [MODBUS 协议](https://github.com/zlgopen/awtk-modbus) * [FTP 服务器](https://github.com/zlgopen/awtk-ftpd) * [基于FTP的文件系统](https://github.com/zlgopen/awtk-ftp-fs) * [开源智能串口屏](https://github.com/zlgopen/awtk-hmi) 第三方提供: * [扩展控件实例:二维码](https://github.com/CUITzhaoqi/awtk-qr) * [扩展控件实例:圆形滑块](https://github.com/longyuwlz/awtk_slider_circle) * [扩展控件实例:手势密码控件](https://gitee.com/zhangzhongji/awtk-widget-gesture-lock) ## 九、文档 * [开发文档](docs/README.md) * [最新动态](docs/changes.md) * [任务完成情况](TODO.md) * [入门指南与手册](https://github.com/zlgopen/awtk-docs) ## 十、生态共建计划 * [生态共建计划](docs/awtk_ecology.md) * 深度合作伙伴 [![](docs/images/logo_nxp.svg)](https://www.nxp.com) [![](docs/images/logo_anyka.jpg)](http://www.anyka.com) [![](docs/images/logo_ingenic.jpg)](http://www.ingenic.com.cn) [![](docs/images/logo_mindmotion.png)](http://www.mindmotion.com.cn) [![](docs/images/logo_bestechnic.jpg)](https://www.bestechnic.com) ## 十一、开发者交流群 欢迎感兴趣的工程师评估和尝试 AWTK,如果您对 AWTK 有相关建议或疑问,可以添加小Z微信(zlgmcu-888)进入 AWTK 开发者交流群,ZLG 研发技术团队亲自为您解答。
0
repos
repos/awtk/sync_tkc.sh
cp -rvf ../tkc/scripts/* scripts cp -rfv ../tkc/tests/*test.cc tests cp -rfv ../tkc/tests/fdb.cpp tests cp -rfv ../tkc/tests/fscript_run.cpp tests cp -fv ../tkc/tools/dll_def_gen/* tools/dll_def_gen/. cp -fv ../tkc/tools/idl_gen/* tools/idl_gen/. rm -f tools/dll_def_gen/package-lock.json cp -rvf ../tkc/awtk_config_common.py . cp -rf ../tkc/tests/fscripts/* tests/fscripts cp -f ../tkc/3rd/gtest/googletest/include/gtest/gtest_helper.h 3rd/gtest/googletest/include/gtest/gtest_helper.h for f in tkc.h compressors platforms conf_io hal streams ubjson charset csv misc tkc xml debugger romfs do cp -rvf ../tkc/src/$f src done cp -rvf ../tkc/src/fscript_ext/*.* src/fscript_ext git checkout scripts/compile_config.py
0
repos
repos/awtk/awtk-config.cmake
set(AWTK_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR} CACHE PATH "Path to AWTK root directory") # 查找awtk库的头文件和库文件 find_library(AWTK_LIBRARY NAMES awtk PATHS ${AWTK_ROOT_DIR}/bin) file(COPY ${AWTK_LIBRARY} DESTINATION ${PROJECT_SOURCE_DIR}/bin) add_compile_definitions(WITH_FS_RES) add_compile_definitions(HAS_STDIO) add_compile_definitions(HAS_STD_MALLOC) set(AWTK_LIBRARIES ${AWTK_LIBRARY}) set(AWTK_INCLUDE_DIRS ${AWTK_ROOT_DIR}/src ${AWTK_ROOT_DIR}/3rd ${AWTK_ROOT_DIR}/src/ext_widgets ${AWTK_ROOT_DIR}/src ${AWTK_ROOT_DIR}/3rd/SDL/include ${AWTK_ROOT_DIR}/3rd/nanovg/base) link_directories(${AWTK_ROOT_DIR}/bin) include_directories(${AWTK_INCLUDE_DIRS}) if(WIN32) file(COPY ${AWTK_ROOT_DIR}/bin/awtk.dll DESTINATION ${CMAKE_BINARY_DIR}/Debug) file(COPY ${AWTK_ROOT_DIR}/bin/awtk.dll DESTINATION ${PROJECT_SOURCE_DIR}/bin) endif() #示例请参考 awtk-hello/CMakeLists.txt
0
repos
repos/awtk/component.json
{ "name":"awtk", "version":"1.1.0" }
0
repos
repos/awtk/TODO.md
## 已完成: * main loop * clip * emitter * image load manager * image loader * widget * theme * dirty rect * font generator * image generator * button * image * label * progressbar * checkbox * groupbox * dialog * binarry ui loader * xml ui loader * api doc * 基本 layout 功能 * 极速模式 * stm32 移植 * draw 9patch image * draw 3patch\_h image * draw 3patch\_v image * draw scale image * draw image tile/tile\_h/tile\_v * draw scale\_x image * draw scale\_y image * image support draw\_type * theme support image\_draw\_type * 矢量图绘图函数接口。 * slider * nanovg 实现 vgcanvas 接口 * picasso 实现 vgcanvas 接口 * 支持窗口动画 * 资源管理器支持从 ROM 和文件中加载。 * 国际化支持字符串翻译。 * 实现控件动画。 * 软键盘 * 中文输入法 * edit * combobox * listbox * spinbox * tab * row * app\_bar * col * jerryscript binging * 支持 tween 动画 * guage * 时钟控件 * color picker * 移植到嵌入式 linux * 移植到 STM32F103 * 移植到 STM32F429 * 移植到 STM32F767 * sylixos 移植 * nanovg 基于 agg 用纯软件实现的矢量图库。 * nanovg 基于 agge 用纯软件实现的矢量图库。 * text select * switch * 模拟时钟控件。 * 动画控件。 * 电阻屏校准窗口。 * Windows/Linux 支持高清屏幕。 * 电阻屏校准窗口。 * 数字时钟控件。 * 支持 SVG * 支持 GIF * ProgressCircle * 支持 clipboard * ImageValue * SystemBar * Canvas * SlideMenu * API doc 到手册转换工具。 * 参考手册 * 高亮对话框(背景模糊) * 窗口动画支持自定义。 * android 移植 * 在浏览器中运行 * WEB 版本 * 键盘导航 * text editor * file browser * ios 移植 * java 绑定 * C++绑定 * nodejs 绑定 * quickjs 绑定 * lua 绑定 * go 绑定 * 用 AWTK 实现界面编辑器 * MVVM 支持 * python 绑定 * 事件录制与重放。 * 代码编辑器。 * 日期选择器。 * 音频接口。 * 支持文本双向排版 * 支持 appuim 自动测试 * 千万级别的table view * 支持Lottie动画 * 多点触摸和手势识别 * tab控件动画(vpage) * 支持rive动画 * 支持reactjs ## 短期计划(顺序不定) * tree view * drag & drop * image view * thumb image view ## 长期计划 * Accessibility * 支持泰文等特殊文字 * 支持 vue.js * 支持粒子产生器 * 小程序版本 * 多进程支持
0
repos
repos/awtk/release_version.sh
#!/bin/bash VERSION="mbedtls" git checkout -b "$VERSION" git push --set-upstream origin "$VERSION"
0
repos
repos/awtk/build_old.json
{ "name": "demouiold", "version": "1.0", "assets": "res/assets", "author": "[email protected]", "copyright": "Guangzhou ZHIYUAN Electronics Co.,Ltd.", "themes":["default", "dark"], "web": { "app_type": "c", "assets": "design", "sources": [ "demos/assets_old.c", "demos/demo_ui_old_app.c" ], "config": { "fontScale": "0.8", "defaultFont": "sans" } }, "android": { "app_name": "org.zlgopen.demouiold", "sources": [ "demos/assets_old.c", "demos/demo_ui_old_app.c", "demos/vg_common.inc", "res/assets_old.inc", "res/assets/__assets_old_dark.inc", "res/assets/__assets_old_default.inc" ] }, "ios": { "app_name": "org.zlgopen.demouiold", "sources": [ "demos/assets_old.c", "demos/demo_ui_old_app.c", "demos/vg_common.inc", "res/assets_old.inc", "res/assets/__assets_old_dark.inc", "res/assets/__assets_old_default.inc" ] } }
0
repos
repos/awtk/run_fscript_test.sh
for f in \ "tests/fscripts/demo_app_conf.fs" \ "tests/fscripts/demo_function1.fs" \ "tests/fscripts/demo_typed_array1.fs" \ "tests/fscripts/demo_array.fs" \ "tests/fscripts/demo_function2.fs" \ "tests/fscripts/demo_typed_array2.fs" \ "tests/fscripts/demo_array1.fs" \ "tests/fscripts/demo_function3.fs" \ "tests/fscripts/demo_ubjson.fs" \ "tests/fscripts/demo_array2.fs" \ "tests/fscripts/demo_if1.fs" \ "tests/fscripts/demo_array3.fs" \ "tests/fscripts/demo_json.fs" \ "tests/fscripts/demo_wbuffer.fs" \ "tests/fscripts/demo_array4.fs" \ "tests/fscripts/demo_json1.fs" \ "tests/fscripts/demo_wbuffer1.fs" \ "tests/fscripts/demo_array5.fs" \ "tests/fscripts/demo_local.fs" \ "tests/fscripts/demo_wbuffer2.fs" \ "tests/fscripts/demo_array6.fs" \ "tests/fscripts/demo_object.fs" \ "tests/fscripts/demo_wbuffer3.fs" \ "tests/fscripts/demo_bits.fs" \ "tests/fscripts/demo_return.fs" \ "tests/fscripts/demo_wbuffer4.fs" \ "tests/fscripts/demo_comments.fs" \ "tests/fscripts/demo_while1.fs" \ "tests/fscripts/demo_consts.fs" \ "tests/fscripts/demo_str.fs" \ "tests/fscripts/demo_while2.fs" \ "tests/fscripts/demo_while3.fs" \ "tests/fscripts/demo_str3.fs" \ "tests/fscripts/demo_while4.fs" \ "tests/fscripts/demo_else_if.fs" \ "tests/fscripts/demo_stream_file.fs" \ "tests/fscripts/demo_zh_var_func.fs" \ "tests/fscripts/demo_endian.fs" \ "tests/fscripts/demo_stream_file1.fs" \ "tests/fscripts/foo.fs" \ "tests/fscripts/demo_expr.fs" \ "tests/fscripts/demo_fs.fs" \ "tests/fscripts/demo_typed_array.fs" do echo $f ./bin/runFScript "@"$f|grep assert done
0
repos/awtk
repos/awtk/tests/suggest_test.inc
TK_CONST_DATA_ALIGN(const unsigned char data_suggest_test[]) = { 0x09,0x00,0x04,0x01,0xc0,0xa1,0x03,0x00,0x00,0x00,0x00,0x00,0x73,0x75,0x67,0x67,0x65,0x73,0x74,0x5f, 0x77,0x6f,0x72,0x64,0x73,0x5f,0x7a,0x68,0x5f,0x63,0x6e,0x2e,0x64,0x61,0x74,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5f,0x16,0x00,0x00,0x00,0x4e,0x00,0x00,0x00,0x00,0x00,0x00, 0x01,0x4e,0x00,0x00,0x2c,0x00,0x00,0x00,0x03,0x4e,0x00,0x00,0x62,0x00,0x00,0x00,0x07,0x4e,0x00,0x00, 0x90,0x00,0x00,0x00,0x08,0x4e,0x00,0x00,0xc0,0x00,0x00,0x00,0x09,0x4e,0x00,0x00,0xec,0x00,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x24,0x01,0x00,0x00,0x0b,0x4e,0x00,0x00,0x52,0x01,0x00,0x00,0x0d,0x4e,0x00,0x00, 0x80,0x01,0x00,0x00,0x0e,0x4e,0x00,0x00,0xac,0x01,0x00,0x00,0x10,0x4e,0x00,0x00,0xf0,0x01,0x00,0x00, 0x11,0x4e,0x00,0x00,0xf8,0x01,0x00,0x00,0x13,0x4e,0x00,0x00,0x28,0x02,0x00,0x00,0x14,0x4e,0x00,0x00, 0x56,0x02,0x00,0x00,0x16,0x4e,0x00,0x00,0x96,0x02,0x00,0x00,0x18,0x4e,0x00,0x00,0xc6,0x02,0x00,0x00, 0x19,0x4e,0x00,0x00,0xfe,0x02,0x00,0x00,0x1a,0x4e,0x00,0x00,0x36,0x03,0x00,0x00,0x1b,0x4e,0x00,0x00, 0x6a,0x03,0x00,0x00,0x1c,0x4e,0x00,0x00,0x98,0x03,0x00,0x00,0x1d,0x4e,0x00,0x00,0xc6,0x03,0x00,0x00, 0x1e,0x4e,0x00,0x00,0xf8,0x03,0x00,0x00,0x1f,0x4e,0x00,0x00,0x00,0x04,0x00,0x00,0x22,0x4e,0x00,0x00, 0x1c,0x04,0x00,0x00,0x24,0x4e,0x00,0x00,0x52,0x04,0x00,0x00,0x25,0x4e,0x00,0x00,0x7e,0x04,0x00,0x00, 0x27,0x4e,0x00,0x00,0xaa,0x04,0x00,0x00,0x2a,0x4e,0x00,0x00,0xdc,0x04,0x00,0x00,0x2b,0x4e,0x00,0x00, 0x10,0x05,0x00,0x00,0x2d,0x4e,0x00,0x00,0x40,0x05,0x00,0x00,0x30,0x4e,0x00,0x00,0x70,0x05,0x00,0x00, 0x32,0x4e,0x00,0x00,0xa2,0x05,0x00,0x00,0x34,0x4e,0x00,0x00,0xce,0x05,0x00,0x00,0x38,0x4e,0x00,0x00, 0x00,0x06,0x00,0x00,0x39,0x4e,0x00,0x00,0x36,0x06,0x00,0x00,0x3a,0x4e,0x00,0x00,0x68,0x06,0x00,0x00, 0x3b,0x4e,0x00,0x00,0x96,0x06,0x00,0x00,0x3d,0x4e,0x00,0x00,0xc2,0x06,0x00,0x00,0x3e,0x4e,0x00,0x00, 0xf2,0x06,0x00,0x00,0x43,0x4e,0x00,0x00,0x20,0x07,0x00,0x00,0x45,0x4e,0x00,0x00,0x58,0x07,0x00,0x00, 0x48,0x4e,0x00,0x00,0x98,0x07,0x00,0x00,0x49,0x4e,0x00,0x00,0xa4,0x07,0x00,0x00,0x4b,0x4e,0x00,0x00, 0xde,0x07,0x00,0x00,0x4c,0x4e,0x00,0x00,0x0c,0x08,0x00,0x00,0x4d,0x4e,0x00,0x00,0x48,0x08,0x00,0x00, 0x4e,0x4e,0x00,0x00,0x76,0x08,0x00,0x00,0x4f,0x4e,0x00,0x00,0x80,0x08,0x00,0x00,0x50,0x4e,0x00,0x00, 0xb2,0x08,0x00,0x00,0x52,0x4e,0x00,0x00,0xe0,0x08,0x00,0x00,0x53,0x4e,0x00,0x00,0x22,0x09,0x00,0x00, 0x54,0x4e,0x00,0x00,0x2a,0x09,0x00,0x00,0x56,0x4e,0x00,0x00,0x62,0x09,0x00,0x00,0x58,0x4e,0x00,0x00, 0x8e,0x09,0x00,0x00,0x59,0x4e,0x00,0x00,0xbe,0x09,0x00,0x00,0x5c,0x4e,0x00,0x00,0xf0,0x09,0x00,0x00, 0x5d,0x4e,0x00,0x00,0x0c,0x0a,0x00,0x00,0x5e,0x4e,0x00,0x00,0x3c,0x0a,0x00,0x00,0x5f,0x4e,0x00,0x00, 0x72,0x0a,0x00,0x00,0x60,0x4e,0x00,0x00,0xb2,0x0a,0x00,0x00,0x61,0x4e,0x00,0x00,0xe6,0x0a,0x00,0x00, 0x66,0x4e,0x00,0x00,0x16,0x0b,0x00,0x00,0x69,0x4e,0x00,0x00,0x42,0x0b,0x00,0x00,0x70,0x4e,0x00,0x00, 0x4a,0x0b,0x00,0x00,0x71,0x4e,0x00,0x00,0x7a,0x0b,0x00,0x00,0x73,0x4e,0x00,0x00,0xac,0x0b,0x00,0x00, 0x76,0x4e,0x00,0x00,0xdc,0x0b,0x00,0x00,0x7e,0x4e,0x00,0x00,0xe4,0x0b,0x00,0x00,0x86,0x4e,0x00,0x00, 0x14,0x0c,0x00,0x00,0x88,0x4e,0x00,0x00,0x46,0x0c,0x00,0x00,0x89,0x4e,0x00,0x00,0x6e,0x0c,0x00,0x00, 0x8b,0x4e,0x00,0x00,0x9c,0x0c,0x00,0x00,0x8c,0x4e,0x00,0x00,0xcc,0x0c,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x00,0x0d,0x00,0x00,0x8f,0x4e,0x00,0x00,0x40,0x0d,0x00,0x00,0x91,0x4e,0x00,0x00,0x72,0x0d,0x00,0x00, 0x92,0x4e,0x00,0x00,0xa4,0x0d,0x00,0x00,0x94,0x4e,0x00,0x00,0xd2,0x0d,0x00,0x00,0x95,0x4e,0x00,0x00, 0x0a,0x0e,0x00,0x00,0x98,0x4e,0x00,0x00,0x42,0x0e,0x00,0x00,0x9a,0x4e,0x00,0x00,0x62,0x0e,0x00,0x00, 0x9b,0x4e,0x00,0x00,0x9c,0x0e,0x00,0x00,0x9f,0x4e,0x00,0x00,0xb4,0x0e,0x00,0x00,0xa1,0x4e,0x00,0x00, 0xd4,0x0e,0x00,0x00,0xa2,0x4e,0x00,0x00,0x04,0x0f,0x00,0x00,0xa4,0x4e,0x00,0x00,0x1e,0x0f,0x00,0x00, 0xa5,0x4e,0x00,0x00,0x4e,0x0f,0x00,0x00,0xa6,0x4e,0x00,0x00,0x5a,0x0f,0x00,0x00,0xa7,0x4e,0x00,0x00, 0x92,0x0f,0x00,0x00,0xa8,0x4e,0x00,0x00,0xc2,0x0f,0x00,0x00,0xa9,0x4e,0x00,0x00,0x08,0x10,0x00,0x00, 0xab,0x4e,0x00,0x00,0x1a,0x10,0x00,0x00,0xac,0x4e,0x00,0x00,0x4e,0x10,0x00,0x00,0xad,0x4e,0x00,0x00, 0x82,0x10,0x00,0x00,0xae,0x4e,0x00,0x00,0xba,0x10,0x00,0x00,0xb2,0x4e,0x00,0x00,0xe6,0x10,0x00,0x00, 0xb3,0x4e,0x00,0x00,0x12,0x11,0x00,0x00,0xb5,0x4e,0x00,0x00,0x2a,0x11,0x00,0x00,0xb9,0x4e,0x00,0x00, 0x4e,0x11,0x00,0x00,0xba,0x4e,0x00,0x00,0x5e,0x11,0x00,0x00,0xbf,0x4e,0x00,0x00,0x8c,0x11,0x00,0x00, 0xc0,0x4e,0x00,0x00,0xbe,0x11,0x00,0x00,0xc1,0x4e,0x00,0x00,0xf8,0x11,0x00,0x00,0xc2,0x4e,0x00,0x00, 0x28,0x12,0x00,0x00,0xc4,0x4e,0x00,0x00,0x30,0x12,0x00,0x00,0xc5,0x4e,0x00,0x00,0x3c,0x12,0x00,0x00, 0xc6,0x4e,0x00,0x00,0x74,0x12,0x00,0x00,0xc7,0x4e,0x00,0x00,0x90,0x12,0x00,0x00,0xca,0x4e,0x00,0x00, 0xc0,0x12,0x00,0x00,0xcb,0x4e,0x00,0x00,0xf2,0x12,0x00,0x00,0xcd,0x4e,0x00,0x00,0x26,0x13,0x00,0x00, 0xce,0x4e,0x00,0x00,0x32,0x13,0x00,0x00,0xd1,0x4e,0x00,0x00,0x5e,0x13,0x00,0x00,0xd3,0x4e,0x00,0x00, 0x70,0x13,0x00,0x00,0xd4,0x4e,0x00,0x00,0xa0,0x13,0x00,0x00,0xd5,0x4e,0x00,0x00,0xd0,0x13,0x00,0x00, 0xd6,0x4e,0x00,0x00,0xf8,0x13,0x00,0x00,0xd7,0x4e,0x00,0x00,0x26,0x14,0x00,0x00,0xd8,0x4e,0x00,0x00, 0x5e,0x14,0x00,0x00,0xd9,0x4e,0x00,0x00,0x92,0x14,0x00,0x00,0xdd,0x4e,0x00,0x00,0xc2,0x14,0x00,0x00, 0xdf,0x4e,0x00,0x00,0xca,0x14,0x00,0x00,0xe1,0x4e,0x00,0x00,0xda,0x14,0x00,0x00,0xe3,0x4e,0x00,0x00, 0xe4,0x14,0x00,0x00,0xe4,0x4e,0x00,0x00,0x16,0x15,0x00,0x00,0xe5,0x4e,0x00,0x00,0x66,0x15,0x00,0x00, 0xe8,0x4e,0x00,0x00,0x94,0x15,0x00,0x00,0xea,0x4e,0x00,0x00,0xa0,0x15,0x00,0x00,0xeb,0x4e,0x00,0x00, 0xd0,0x15,0x00,0x00,0xf0,0x4e,0x00,0x00,0xde,0x15,0x00,0x00,0xf2,0x4e,0x00,0x00,0x0e,0x16,0x00,0x00, 0xf5,0x4e,0x00,0x00,0x44,0x16,0x00,0x00,0xf6,0x4e,0x00,0x00,0x50,0x16,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x64,0x16,0x00,0x00,0xfb,0x4e,0x00,0x00,0x96,0x16,0x00,0x00,0xfd,0x4e,0x00,0x00,0xc4,0x16,0x00,0x00, 0xff,0x4e,0x00,0x00,0xf4,0x16,0x00,0x00,0x00,0x4f,0x00,0x00,0x22,0x17,0x00,0x00,0x01,0x4f,0x00,0x00, 0x2a,0x17,0x00,0x00,0x04,0x4f,0x00,0x00,0x60,0x17,0x00,0x00,0x09,0x4f,0x00,0x00,0x68,0x17,0x00,0x00, 0x0a,0x4f,0x00,0x00,0x78,0x17,0x00,0x00,0x0d,0x4f,0x00,0x00,0xba,0x17,0x00,0x00,0x0e,0x4f,0x00,0x00, 0xfa,0x17,0x00,0x00,0x0f,0x4f,0x00,0x00,0x02,0x18,0x00,0x00,0x10,0x4f,0x00,0x00,0x38,0x18,0x00,0x00, 0x11,0x4f,0x00,0x00,0x68,0x18,0x00,0x00,0x17,0x4f,0x00,0x00,0x96,0x18,0x00,0x00,0x18,0x4f,0x00,0x00, 0xd2,0x18,0x00,0x00,0x19,0x4f,0x00,0x00,0xfe,0x18,0x00,0x00,0x1a,0x4f,0x00,0x00,0x30,0x19,0x00,0x00, 0x1b,0x4f,0x00,0x00,0x5e,0x19,0x00,0x00,0x1e,0x4f,0x00,0x00,0x66,0x19,0x00,0x00,0x1f,0x4f,0x00,0x00, 0x94,0x19,0x00,0x00,0x20,0x4f,0x00,0x00,0xc2,0x19,0x00,0x00,0x22,0x4f,0x00,0x00,0xee,0x19,0x00,0x00, 0x24,0x4f,0x00,0x00,0x02,0x1a,0x00,0x00,0x25,0x4f,0x00,0x00,0x2e,0x1a,0x00,0x00,0x26,0x4f,0x00,0x00, 0x36,0x1a,0x00,0x00,0x27,0x4f,0x00,0x00,0x72,0x1a,0x00,0x00,0x2a,0x4f,0x00,0x00,0x7a,0x1a,0x00,0x00, 0x2b,0x4f,0x00,0x00,0xae,0x1a,0x00,0x00,0x2f,0x4f,0x00,0x00,0xc2,0x1a,0x00,0x00,0x30,0x4f,0x00,0x00, 0x04,0x1b,0x00,0x00,0x34,0x4f,0x00,0x00,0x34,0x1b,0x00,0x00,0x36,0x4f,0x00,0x00,0x60,0x1b,0x00,0x00, 0x38,0x4f,0x00,0x00,0x90,0x1b,0x00,0x00,0x3a,0x4f,0x00,0x00,0xc2,0x1b,0x00,0x00,0x3c,0x4f,0x00,0x00, 0xe8,0x1b,0x00,0x00,0x3d,0x4f,0x00,0x00,0x30,0x1c,0x00,0x00,0x43,0x4f,0x00,0x00,0x6c,0x1c,0x00,0x00, 0x46,0x4f,0x00,0x00,0x84,0x1c,0x00,0x00,0x48,0x4f,0x00,0x00,0xba,0x1c,0x00,0x00,0x49,0x4f,0x00,0x00, 0xc2,0x1c,0x00,0x00,0x4d,0x4f,0x00,0x00,0xcc,0x1c,0x00,0x00,0x4e,0x4f,0x00,0x00,0xfc,0x1c,0x00,0x00, 0x4f,0x4f,0x00,0x00,0x28,0x1d,0x00,0x00,0x50,0x4f,0x00,0x00,0x58,0x1d,0x00,0x00,0x51,0x4f,0x00,0x00, 0x8e,0x1d,0x00,0x00,0x53,0x4f,0x00,0x00,0xaa,0x1d,0x00,0x00,0x54,0x4f,0x00,0x00,0xd6,0x1d,0x00,0x00, 0x55,0x4f,0x00,0x00,0xe6,0x1d,0x00,0x00,0x58,0x4f,0x00,0x00,0x16,0x1e,0x00,0x00,0x59,0x4f,0x00,0x00, 0x22,0x1e,0x00,0x00,0x5a,0x4f,0x00,0x00,0x50,0x1e,0x00,0x00,0x5b,0x4f,0x00,0x00,0x60,0x1e,0x00,0x00, 0x5c,0x4f,0x00,0x00,0x92,0x1e,0x00,0x00,0x5d,0x4f,0x00,0x00,0xbe,0x1e,0x00,0x00,0x5e,0x4f,0x00,0x00, 0xd0,0x1e,0x00,0x00,0x5f,0x4f,0x00,0x00,0xd8,0x1e,0x00,0x00,0x60,0x4f,0x00,0x00,0xee,0x1e,0x00,0x00, 0x62,0x4f,0x00,0x00,0x3a,0x1f,0x00,0x00,0x63,0x4f,0x00,0x00,0x66,0x1f,0x00,0x00,0x64,0x4f,0x00,0x00, 0xa0,0x1f,0x00,0x00,0x67,0x4f,0x00,0x00,0xb6,0x1f,0x00,0x00,0x69,0x4f,0x00,0x00,0xc0,0x1f,0x00,0x00, 0x6f,0x4f,0x00,0x00,0xf2,0x1f,0x00,0x00,0x70,0x4f,0x00,0x00,0x12,0x20,0x00,0x00,0x73,0x4f,0x00,0x00, 0x1c,0x20,0x00,0x00,0x76,0x4f,0x00,0x00,0x4c,0x20,0x00,0x00,0x7b,0x4f,0x00,0x00,0x58,0x20,0x00,0x00, 0x7c,0x4f,0x00,0x00,0x60,0x20,0x00,0x00,0x7f,0x4f,0x00,0x00,0x6e,0x20,0x00,0x00,0x83,0x4f,0x00,0x00, 0xa4,0x20,0x00,0x00,0x84,0x4f,0x00,0x00,0xce,0x20,0x00,0x00,0x88,0x4f,0x00,0x00,0x04,0x21,0x00,0x00, 0x89,0x4f,0x00,0x00,0x14,0x21,0x00,0x00,0x8b,0x4f,0x00,0x00,0x1c,0x21,0x00,0x00,0x8d,0x4f,0x00,0x00, 0x4e,0x21,0x00,0x00,0x8f,0x4f,0x00,0x00,0x7c,0x21,0x00,0x00,0x91,0x4f,0x00,0x00,0xa8,0x21,0x00,0x00, 0x97,0x4f,0x00,0x00,0xb0,0x21,0x00,0x00,0x9b,0x4f,0x00,0x00,0xda,0x21,0x00,0x00,0x9d,0x4f,0x00,0x00, 0x0c,0x22,0x00,0x00,0xa0,0x4f,0x00,0x00,0x3a,0x22,0x00,0x00,0xa3,0x4f,0x00,0x00,0x74,0x22,0x00,0x00, 0xa5,0x4f,0x00,0x00,0x7c,0x22,0x00,0x00,0xa6,0x4f,0x00,0x00,0x84,0x22,0x00,0x00,0xa7,0x4f,0x00,0x00, 0xba,0x22,0x00,0x00,0xa8,0x4f,0x00,0x00,0xe8,0x22,0x00,0x00,0xaa,0x4f,0x00,0x00,0x14,0x23,0x00,0x00, 0xac,0x4f,0x00,0x00,0x1c,0x23,0x00,0x00,0xae,0x4f,0x00,0x00,0x24,0x23,0x00,0x00,0xaf,0x4f,0x00,0x00, 0x48,0x23,0x00,0x00,0xb5,0x4f,0x00,0x00,0x7e,0x23,0x00,0x00,0xb7,0x4f,0x00,0x00,0xaa,0x23,0x00,0x00, 0xbf,0x4f,0x00,0x00,0xb2,0x23,0x00,0x00,0xc3,0x4f,0x00,0x00,0xe2,0x23,0x00,0x00,0xc4,0x4f,0x00,0x00, 0x16,0x24,0x00,0x00,0xca,0x4f,0x00,0x00,0x50,0x24,0x00,0x00,0xce,0x4f,0x00,0x00,0x80,0x24,0x00,0x00, 0xcf,0x4f,0x00,0x00,0x8a,0x24,0x00,0x00,0xd0,0x4f,0x00,0x00,0xac,0x24,0x00,0x00,0xd1,0x4f,0x00,0x00, 0xb4,0x24,0x00,0x00,0xd7,0x4f,0x00,0x00,0xbc,0x24,0x00,0x00,0xd8,0x4f,0x00,0x00,0xea,0x24,0x00,0x00, 0xda,0x4f,0x00,0x00,0xf6,0x24,0x00,0x00,0xdd,0x4f,0x00,0x00,0x0e,0x25,0x00,0x00,0xde,0x4f,0x00,0x00, 0x3c,0x25,0x00,0x00,0xdf,0x4f,0x00,0x00,0x58,0x25,0x00,0x00,0xe1,0x4f,0x00,0x00,0x64,0x25,0x00,0x00, 0xe6,0x4f,0x00,0x00,0x94,0x25,0x00,0x00,0xe8,0x4f,0x00,0x00,0x9c,0x25,0x00,0x00,0xed,0x4f,0x00,0x00, 0xb0,0x25,0x00,0x00,0xee,0x4f,0x00,0x00,0xe8,0x25,0x00,0x00,0xef,0x4f,0x00,0x00,0x16,0x26,0x00,0x00, 0xf1,0x4f,0x00,0x00,0x4a,0x26,0x00,0x00,0xf3,0x4f,0x00,0x00,0x84,0x26,0x00,0x00,0xf6,0x4f,0x00,0x00, 0x98,0x26,0x00,0x00,0xf8,0x4f,0x00,0x00,0xa0,0x26,0x00,0x00,0xfa,0x4f,0x00,0x00,0xb8,0x26,0x00,0x00, 0xfe,0x4f,0x00,0x00,0xd4,0x26,0x00,0x00,0x0d,0x50,0x00,0x00,0x18,0x27,0x00,0x00,0x0f,0x50,0x00,0x00, 0x44,0x27,0x00,0x00,0x12,0x50,0x00,0x00,0x54,0x27,0x00,0x00,0x14,0x50,0x00,0x00,0x82,0x27,0x00,0x00, 0x18,0x50,0x00,0x00,0x9c,0x27,0x00,0x00,0x19,0x50,0x00,0x00,0xbc,0x27,0x00,0x00,0x1a,0x50,0x00,0x00, 0xf2,0x27,0x00,0x00,0x1c,0x50,0x00,0x00,0x2e,0x28,0x00,0x00,0x1f,0x50,0x00,0x00,0x3a,0x28,0x00,0x00, 0x21,0x50,0x00,0x00,0x6a,0x28,0x00,0x00,0x22,0x50,0x00,0x00,0x9e,0x28,0x00,0x00,0x25,0x50,0x00,0x00, 0xa6,0x28,0x00,0x00,0x26,0x50,0x00,0x00,0xb2,0x28,0x00,0x00,0x28,0x50,0x00,0x00,0xd2,0x28,0x00,0x00, 0x29,0x50,0x00,0x00,0xe2,0x28,0x00,0x00,0x2a,0x50,0x00,0x00,0xf2,0x28,0x00,0x00,0x2d,0x50,0x00,0x00, 0x0c,0x29,0x00,0x00,0x3a,0x50,0x00,0x00,0x3c,0x29,0x00,0x00,0x3c,0x50,0x00,0x00,0x70,0x29,0x00,0x00, 0x3e,0x50,0x00,0x00,0xae,0x29,0x00,0x00,0x43,0x50,0x00,0x00,0xe0,0x29,0x00,0x00,0x47,0x50,0x00,0x00, 0x08,0x2a,0x00,0x00,0x48,0x50,0x00,0x00,0x34,0x2a,0x00,0x00,0x4c,0x50,0x00,0x00,0x48,0x2a,0x00,0x00, 0x4e,0x50,0x00,0x00,0x50,0x2a,0x00,0x00,0x4f,0x50,0x00,0x00,0x60,0x2a,0x00,0x00,0x55,0x50,0x00,0x00, 0x8e,0x2a,0x00,0x00,0x5a,0x50,0x00,0x00,0x9a,0x2a,0x00,0x00,0x5c,0x50,0x00,0x00,0xc6,0x2a,0x00,0x00, 0x65,0x50,0x00,0x00,0xf4,0x2a,0x00,0x00,0x76,0x50,0x00,0x00,0x26,0x2b,0x00,0x00,0x77,0x50,0x00,0x00, 0x58,0x2b,0x00,0x00,0x7e,0x50,0x00,0x00,0x88,0x2b,0x00,0x00,0x7f,0x50,0x00,0x00,0x90,0x2b,0x00,0x00, 0x80,0x50,0x00,0x00,0xc4,0x2b,0x00,0x00,0x85,0x50,0x00,0x00,0xda,0x2b,0x00,0x00,0x88,0x50,0x00,0x00, 0x16,0x2c,0x00,0x00,0x8d,0x50,0x00,0x00,0x24,0x2c,0x00,0x00,0xa2,0x50,0x00,0x00,0x5e,0x2c,0x00,0x00, 0xa3,0x50,0x00,0x00,0x6e,0x2c,0x00,0x00,0xa5,0x50,0x00,0x00,0x90,0x2c,0x00,0x00,0xa7,0x50,0x00,0x00, 0x98,0x2c,0x00,0x00,0xa8,0x50,0x00,0x00,0xa0,0x2c,0x00,0x00,0xa9,0x50,0x00,0x00,0xd0,0x2c,0x00,0x00, 0xac,0x50,0x00,0x00,0xe0,0x2c,0x00,0x00,0xb2,0x50,0x00,0x00,0x12,0x2d,0x00,0x00,0xbb,0x50,0x00,0x00, 0x44,0x2d,0x00,0x00,0xcf,0x50,0x00,0x00,0x74,0x2d,0x00,0x00,0xda,0x50,0x00,0x00,0xa4,0x2d,0x00,0x00, 0xe7,0x50,0x00,0x00,0xbc,0x2d,0x00,0x00,0xec,0x50,0x00,0x00,0xec,0x2d,0x00,0x00,0xed,0x50,0x00,0x00, 0xf8,0x2d,0x00,0x00,0xee,0x50,0x00,0x00,0x10,0x2e,0x00,0x00,0xf5,0x50,0x00,0x00,0x1c,0x2e,0x00,0x00, 0xfb,0x50,0x00,0x00,0x4e,0x2e,0x00,0x00,0x06,0x51,0x00,0x00,0x6a,0x2e,0x00,0x00,0x0b,0x51,0x00,0x00, 0x72,0x2e,0x00,0x00,0x12,0x51,0x00,0x00,0x84,0x2e,0x00,0x00,0x3f,0x51,0x00,0x00,0xb4,0x2e,0x00,0x00, 0x40,0x51,0x00,0x00,0xe6,0x2e,0x00,0x00,0x41,0x51,0x00,0x00,0x0e,0x2f,0x00,0x00,0x43,0x51,0x00,0x00, 0x3e,0x2f,0x00,0x00,0x44,0x51,0x00,0x00,0x6e,0x2f,0x00,0x00,0x45,0x51,0x00,0x00,0xa2,0x2f,0x00,0x00, 0x46,0x51,0x00,0x00,0xd0,0x2f,0x00,0x00,0x47,0x51,0x00,0x00,0xfe,0x2f,0x00,0x00,0x48,0x51,0x00,0x00, 0x0e,0x30,0x00,0x00,0x49,0x51,0x00,0x00,0x3a,0x30,0x00,0x00,0x4b,0x51,0x00,0x00,0x66,0x30,0x00,0x00, 0x4c,0x51,0x00,0x00,0xa4,0x30,0x00,0x00,0x4d,0x51,0x00,0x00,0xb0,0x30,0x00,0x00,0x51,0x51,0x00,0x00, 0xe0,0x30,0x00,0x00,0x54,0x51,0x00,0x00,0x14,0x31,0x00,0x00,0x55,0x51,0x00,0x00,0x44,0x31,0x00,0x00, 0x56,0x51,0x00,0x00,0x4c,0x31,0x00,0x00,0x5a,0x51,0x00,0x00,0x76,0x31,0x00,0x00,0x5c,0x51,0x00,0x00, 0xa8,0x31,0x00,0x00,0x62,0x51,0x00,0x00,0xd6,0x31,0x00,0x00,0x65,0x51,0x00,0x00,0xe2,0x31,0x00,0x00, 0x68,0x51,0x00,0x00,0x0e,0x32,0x00,0x00,0x6b,0x51,0x00,0x00,0x3a,0x32,0x00,0x00,0x6c,0x51,0x00,0x00, 0x68,0x32,0x00,0x00,0x6d,0x51,0x00,0x00,0x96,0x32,0x00,0x00,0x6e,0x51,0x00,0x00,0xc4,0x32,0x00,0x00, 0x70,0x51,0x00,0x00,0xcc,0x32,0x00,0x00,0x71,0x51,0x00,0x00,0xfe,0x32,0x00,0x00,0x72,0x51,0x00,0x00, 0x34,0x33,0x00,0x00,0x73,0x51,0x00,0x00,0x3c,0x33,0x00,0x00,0x74,0x51,0x00,0x00,0x6a,0x33,0x00,0x00, 0x75,0x51,0x00,0x00,0x98,0x33,0x00,0x00,0x76,0x51,0x00,0x00,0xc8,0x33,0x00,0x00,0x77,0x51,0x00,0x00, 0xf4,0x33,0x00,0x00,0x78,0x51,0x00,0x00,0x2c,0x34,0x00,0x00,0x79,0x51,0x00,0x00,0x5a,0x34,0x00,0x00, 0x7b,0x51,0x00,0x00,0x7c,0x34,0x00,0x00,0x7c,0x51,0x00,0x00,0xae,0x34,0x00,0x00,0x7d,0x51,0x00,0x00, 0xdc,0x34,0x00,0x00,0x80,0x51,0x00,0x00,0x0a,0x35,0x00,0x00,0x85,0x51,0x00,0x00,0x3a,0x35,0x00,0x00, 0x87,0x51,0x00,0x00,0x68,0x35,0x00,0x00,0x88,0x51,0x00,0x00,0x98,0x35,0x00,0x00,0x89,0x51,0x00,0x00, 0xd8,0x35,0x00,0x00,0x8c,0x51,0x00,0x00,0xee,0x35,0x00,0x00,0x8d,0x51,0x00,0x00,0x22,0x36,0x00,0x00, 0x8f,0x51,0x00,0x00,0x4e,0x36,0x00,0x00,0x92,0x51,0x00,0x00,0x62,0x36,0x00,0x00,0x95,0x51,0x00,0x00, 0x8e,0x36,0x00,0x00,0x97,0x51,0x00,0x00,0xa0,0x36,0x00,0x00,0x99,0x51,0x00,0x00,0xcc,0x36,0x00,0x00, 0x9b,0x51,0x00,0x00,0xfa,0x36,0x00,0x00,0x9c,0x51,0x00,0x00,0x26,0x37,0x00,0x00,0xa0,0x51,0x00,0x00, 0x58,0x37,0x00,0x00,0xa2,0x51,0x00,0x00,0x8e,0x37,0x00,0x00,0xa4,0x51,0x00,0x00,0x9a,0x37,0x00,0x00, 0xa5,0x51,0x00,0x00,0xce,0x37,0x00,0x00,0xac,0x51,0x00,0x00,0x04,0x38,0x00,0x00,0xaf,0x51,0x00,0x00, 0x36,0x38,0x00,0x00,0xb0,0x51,0x00,0x00,0x74,0x38,0x00,0x00,0xb2,0x51,0x00,0x00,0xa2,0x38,0x00,0x00, 0xb3,0x51,0x00,0x00,0xd0,0x38,0x00,0x00,0xb5,0x51,0x00,0x00,0x02,0x39,0x00,0x00,0xb6,0x51,0x00,0x00, 0x0e,0x39,0x00,0x00,0xb7,0x51,0x00,0x00,0x44,0x39,0x00,0x00,0xbb,0x51,0x00,0x00,0x72,0x39,0x00,0x00, 0xbc,0x51,0x00,0x00,0xa0,0x39,0x00,0x00,0xbd,0x51,0x00,0x00,0xae,0x39,0x00,0x00,0xc0,0x51,0x00,0x00, 0xb6,0x39,0x00,0x00,0xc4,0x51,0x00,0x00,0xec,0x39,0x00,0x00,0xc6,0x51,0x00,0x00,0x20,0x3a,0x00,0x00, 0xc7,0x51,0x00,0x00,0x56,0x3a,0x00,0x00,0xc9,0x51,0x00,0x00,0x60,0x3a,0x00,0x00,0xcb,0x51,0x00,0x00, 0x8c,0x3a,0x00,0x00,0xcc,0x51,0x00,0x00,0xb0,0x3a,0x00,0x00,0xcf,0x51,0x00,0x00,0xdc,0x3a,0x00,0x00, 0xd1,0x51,0x00,0x00,0x08,0x3b,0x00,0x00,0xdb,0x51,0x00,0x00,0x38,0x3b,0x00,0x00,0xdd,0x51,0x00,0x00, 0x50,0x3b,0x00,0x00,0xe0,0x51,0x00,0x00,0x7e,0x3b,0x00,0x00,0xe1,0x51,0x00,0x00,0xb0,0x3b,0x00,0x00, 0xe4,0x51,0x00,0x00,0xe8,0x3b,0x00,0x00,0xeb,0x51,0x00,0x00,0x22,0x3c,0x00,0x00,0xed,0x51,0x00,0x00, 0x2e,0x3c,0x00,0x00,0xef,0x51,0x00,0x00,0x62,0x3c,0x00,0x00,0xf3,0x51,0x00,0x00,0x96,0x3c,0x00,0x00, 0xf6,0x51,0x00,0x00,0x9e,0x3c,0x00,0x00,0xf8,0x51,0x00,0x00,0xcc,0x3c,0x00,0x00,0xf9,0x51,0x00,0x00, 0xfc,0x3c,0x00,0x00,0xfa,0x51,0x00,0x00,0x34,0x3d,0x00,0x00,0xfb,0x51,0x00,0x00,0x62,0x3d,0x00,0x00, 0xfc,0x51,0x00,0x00,0x8e,0x3d,0x00,0x00,0xfd,0x51,0x00,0x00,0x9e,0x3d,0x00,0x00,0xff,0x51,0x00,0x00, 0xce,0x3d,0x00,0x00,0x00,0x52,0x00,0x00,0xf6,0x3d,0x00,0x00,0x01,0x52,0x00,0x00,0x22,0x3e,0x00,0x00, 0x03,0x52,0x00,0x00,0x50,0x3e,0x00,0x00,0x06,0x52,0x00,0x00,0x6a,0x3e,0x00,0x00,0x07,0x52,0x00,0x00, 0x98,0x3e,0x00,0x00,0x08,0x52,0x00,0x00,0xc4,0x3e,0x00,0x00,0x0a,0x52,0x00,0x00,0xd0,0x3e,0x00,0x00, 0x0d,0x52,0x00,0x00,0xfc,0x3e,0x00,0x00,0x0e,0x52,0x00,0x00,0x14,0x3f,0x00,0x00,0x11,0x52,0x00,0x00, 0x1e,0x3f,0x00,0x00,0x12,0x52,0x00,0x00,0x56,0x3f,0x00,0x00,0x17,0x52,0x00,0x00,0x84,0x3f,0x00,0x00, 0x18,0x52,0x00,0x00,0xb0,0x3f,0x00,0x00,0x19,0x52,0x00,0x00,0xe6,0x3f,0x00,0x00,0x1a,0x52,0x00,0x00, 0x1a,0x40,0x00,0x00,0x1b,0x52,0x00,0x00,0x46,0x40,0x00,0x00,0x1d,0x52,0x00,0x00,0x76,0x40,0x00,0x00, 0x20,0x52,0x00,0x00,0xa2,0x40,0x00,0x00,0x24,0x52,0x00,0x00,0xd2,0x40,0x00,0x00,0x25,0x52,0x00,0x00, 0x02,0x41,0x00,0x00,0x28,0x52,0x00,0x00,0x2a,0x41,0x00,0x00,0x29,0x52,0x00,0x00,0x5c,0x41,0x00,0x00, 0x2b,0x52,0x00,0x00,0x8c,0x41,0x00,0x00,0x2e,0x52,0x00,0x00,0xc0,0x41,0x00,0x00,0x30,0x52,0x00,0x00, 0xf4,0x41,0x00,0x00,0x36,0x52,0x00,0x00,0x20,0x42,0x00,0x00,0x37,0x52,0x00,0x00,0x50,0x42,0x00,0x00, 0x38,0x52,0x00,0x00,0x80,0x42,0x00,0x00,0x39,0x52,0x00,0x00,0xa6,0x42,0x00,0x00,0x3a,0x52,0x00,0x00, 0xde,0x42,0x00,0x00,0x3b,0x52,0x00,0x00,0x0c,0x43,0x00,0x00,0x3d,0x52,0x00,0x00,0x44,0x43,0x00,0x00, 0x40,0x52,0x00,0x00,0x4e,0x43,0x00,0x00,0x41,0x52,0x00,0x00,0x56,0x43,0x00,0x00,0x42,0x52,0x00,0x00, 0x5e,0x43,0x00,0x00,0x43,0x52,0x00,0x00,0x86,0x43,0x00,0x00,0x49,0x52,0x00,0x00,0xb8,0x43,0x00,0x00, 0x4a,0x52,0x00,0x00,0xc0,0x43,0x00,0x00,0x4c,0x52,0x00,0x00,0xec,0x43,0x00,0x00,0x4d,0x52,0x00,0x00, 0xfa,0x43,0x00,0x00,0x4e,0x52,0x00,0x00,0x26,0x44,0x00,0x00,0x50,0x52,0x00,0x00,0x2e,0x44,0x00,0x00, 0x51,0x52,0x00,0x00,0x36,0x44,0x00,0x00,0x54,0x52,0x00,0x00,0x68,0x44,0x00,0x00,0x56,0x52,0x00,0x00, 0x84,0x44,0x00,0x00,0x61,0x52,0x00,0x00,0xc0,0x44,0x00,0x00,0x65,0x52,0x00,0x00,0xc8,0x44,0x00,0x00, 0x67,0x52,0x00,0x00,0xfc,0x44,0x00,0x00,0x69,0x52,0x00,0x00,0x28,0x45,0x00,0x00,0x6a,0x52,0x00,0x00, 0x5e,0x45,0x00,0x00,0x6f,0x52,0x00,0x00,0x8c,0x45,0x00,0x00,0x72,0x52,0x00,0x00,0xc8,0x45,0x00,0x00, 0x77,0x52,0x00,0x00,0xf4,0x45,0x00,0x00,0x7d,0x52,0x00,0x00,0xfc,0x45,0x00,0x00,0x7f,0x52,0x00,0x00, 0x12,0x46,0x00,0x00,0x84,0x52,0x00,0x00,0x32,0x46,0x00,0x00,0x88,0x52,0x00,0x00,0x3e,0x46,0x00,0x00, 0x8f,0x52,0x00,0x00,0x76,0x46,0x00,0x00,0x9b,0x52,0x00,0x00,0x7e,0x46,0x00,0x00,0x9d,0x52,0x00,0x00, 0xb2,0x46,0x00,0x00,0x9e,0x52,0x00,0x00,0xde,0x46,0x00,0x00,0x9f,0x52,0x00,0x00,0x12,0x47,0x00,0x00, 0xa0,0x52,0x00,0x00,0x42,0x47,0x00,0x00,0xa1,0x52,0x00,0x00,0x72,0x47,0x00,0x00,0xa3,0x52,0x00,0x00, 0xa8,0x47,0x00,0x00,0xa8,0x52,0x00,0x00,0xe0,0x47,0x00,0x00,0xa9,0x52,0x00,0x00,0x0e,0x48,0x00,0x00, 0xaa,0x52,0x00,0x00,0x3e,0x48,0x00,0x00,0xab,0x52,0x00,0x00,0x78,0x48,0x00,0x00,0xac,0x52,0x00,0x00, 0xaa,0x48,0x00,0x00,0xb1,0x52,0x00,0x00,0xb2,0x48,0x00,0x00,0xb2,0x52,0x00,0x00,0xd6,0x48,0x00,0x00, 0xb3,0x52,0x00,0x00,0x04,0x49,0x00,0x00,0xbf,0x52,0x00,0x00,0x38,0x49,0x00,0x00,0xc3,0x52,0x00,0x00, 0x74,0x49,0x00,0x00,0xc7,0x52,0x00,0x00,0xbc,0x49,0x00,0x00,0xc9,0x52,0x00,0x00,0xec,0x49,0x00,0x00, 0xcb,0x52,0x00,0x00,0x18,0x4a,0x00,0x00,0xd0,0x52,0x00,0x00,0x4a,0x4a,0x00,0x00,0xd2,0x52,0x00,0x00, 0x72,0x4a,0x00,0x00,0xd6,0x52,0x00,0x00,0xa0,0x4a,0x00,0x00,0xd8,0x52,0x00,0x00,0xa8,0x4a,0x00,0x00, 0xdf,0x52,0x00,0x00,0xda,0x4a,0x00,0x00,0xe4,0x52,0x00,0x00,0x0c,0x4b,0x00,0x00,0xfa,0x52,0x00,0x00, 0x40,0x4b,0x00,0x00,0xfe,0x52,0x00,0x00,0x50,0x4b,0x00,0x00,0xff,0x52,0x00,0x00,0x80,0x4b,0x00,0x00, 0x00,0x53,0x00,0x00,0xc0,0x4b,0x00,0x00,0x05,0x53,0x00,0x00,0xf0,0x4b,0x00,0x00,0x06,0x53,0x00,0x00, 0x1c,0x4c,0x00,0x00,0x08,0x53,0x00,0x00,0x40,0x4c,0x00,0x00,0x0d,0x53,0x00,0x00,0x74,0x4c,0x00,0x00, 0x15,0x53,0x00,0x00,0x8e,0x4c,0x00,0x00,0x16,0x53,0x00,0x00,0x9e,0x4c,0x00,0x00,0x17,0x53,0x00,0x00, 0xd0,0x4c,0x00,0x00,0x19,0x53,0x00,0x00,0x02,0x4d,0x00,0x00,0x1d,0x53,0x00,0x00,0x10,0x4d,0x00,0x00, 0x20,0x53,0x00,0x00,0x34,0x4d,0x00,0x00,0x21,0x53,0x00,0x00,0x5c,0x4d,0x00,0x00,0x23,0x53,0x00,0x00, 0x8c,0x4d,0x00,0x00,0x2a,0x53,0x00,0x00,0x9c,0x4d,0x00,0x00,0x2e,0x53,0x00,0x00,0xcc,0x4d,0x00,0x00, 0x39,0x53,0x00,0x00,0xdc,0x4d,0x00,0x00,0x3a,0x53,0x00,0x00,0x18,0x4e,0x00,0x00,0x3b,0x53,0x00,0x00, 0x48,0x4e,0x00,0x00,0x3e,0x53,0x00,0x00,0x74,0x4e,0x00,0x00,0x3f,0x53,0x00,0x00,0x84,0x4e,0x00,0x00, 0x41,0x53,0x00,0x00,0xba,0x4e,0x00,0x00,0x43,0x53,0x00,0x00,0xe8,0x4e,0x00,0x00,0x45,0x53,0x00,0x00, 0x20,0x4f,0x00,0x00,0x47,0x53,0x00,0x00,0x28,0x4f,0x00,0x00,0x48,0x53,0x00,0x00,0x54,0x4f,0x00,0x00, 0x4a,0x53,0x00,0x00,0x82,0x4f,0x00,0x00,0x4e,0x53,0x00,0x00,0xb6,0x4f,0x00,0x00,0x4f,0x53,0x00,0x00, 0xe6,0x4f,0x00,0x00,0x51,0x53,0x00,0x00,0x14,0x50,0x00,0x00,0x52,0x53,0x00,0x00,0x48,0x50,0x00,0x00, 0x53,0x53,0x00,0x00,0x62,0x50,0x00,0x00,0x55,0x53,0x00,0x00,0x94,0x50,0x00,0x00,0x56,0x53,0x00,0x00, 0xc0,0x50,0x00,0x00,0x57,0x53,0x00,0x00,0xec,0x50,0x00,0x00,0x5a,0x53,0x00,0x00,0x1a,0x51,0x00,0x00, 0x5c,0x53,0x00,0x00,0x4e,0x51,0x00,0x00,0x5f,0x53,0x00,0x00,0x7e,0x51,0x00,0x00,0x60,0x53,0x00,0x00, 0x90,0x51,0x00,0x00,0x61,0x53,0x00,0x00,0xbe,0x51,0x00,0x00,0x62,0x53,0x00,0x00,0xf4,0x51,0x00,0x00, 0x64,0x53,0x00,0x00,0x2c,0x52,0x00,0x00,0x66,0x53,0x00,0x00,0x58,0x52,0x00,0x00,0x67,0x53,0x00,0x00, 0x6c,0x52,0x00,0x00,0x6b,0x53,0x00,0x00,0x9a,0x52,0x00,0x00,0x6f,0x53,0x00,0x00,0xd0,0x52,0x00,0x00, 0x70,0x53,0x00,0x00,0xee,0x52,0x00,0x00,0x71,0x53,0x00,0x00,0x24,0x53,0x00,0x00,0x73,0x53,0x00,0x00, 0x58,0x53,0x00,0x00,0x74,0x53,0x00,0x00,0x88,0x53,0x00,0x00,0x75,0x53,0x00,0x00,0xb0,0x53,0x00,0x00, 0x77,0x53,0x00,0x00,0xe6,0x53,0x00,0x00,0x78,0x53,0x00,0x00,0x18,0x54,0x00,0x00,0x7a,0x53,0x00,0x00, 0x4c,0x54,0x00,0x00,0x7f,0x53,0x00,0x00,0x54,0x54,0x00,0x00,0x82,0x53,0x00,0x00,0x60,0x54,0x00,0x00, 0x84,0x53,0x00,0x00,0x8c,0x54,0x00,0x00,0x85,0x53,0x00,0x00,0xcc,0x54,0x00,0x00,0x86,0x53,0x00,0x00, 0xfc,0x54,0x00,0x00,0x89,0x53,0x00,0x00,0x2e,0x55,0x00,0x00,0x8b,0x53,0x00,0x00,0x6a,0x55,0x00,0x00, 0x8c,0x53,0x00,0x00,0x9a,0x55,0x00,0x00,0x95,0x53,0x00,0x00,0xca,0x55,0x00,0x00,0x97,0x53,0x00,0x00, 0xe6,0x55,0x00,0x00,0x98,0x53,0x00,0x00,0xee,0x55,0x00,0x00,0x9a,0x53,0x00,0x00,0x0e,0x56,0x00,0x00, 0x9f,0x53,0x00,0x00,0x3c,0x56,0x00,0x00,0xa2,0x53,0x00,0x00,0x6a,0x56,0x00,0x00,0xa5,0x53,0x00,0x00, 0x7c,0x56,0x00,0x00,0xa6,0x53,0x00,0x00,0x88,0x56,0x00,0x00,0xa8,0x53,0x00,0x00,0xba,0x56,0x00,0x00, 0xa9,0x53,0x00,0x00,0xe6,0x56,0x00,0x00,0xae,0x53,0x00,0x00,0xee,0x56,0x00,0x00,0xbb,0x53,0x00,0x00, 0x16,0x57,0x00,0x00,0xbf,0x53,0x00,0x00,0x46,0x57,0x00,0x00,0xc2,0x53,0x00,0x00,0x76,0x57,0x00,0x00, 0xc6,0x53,0x00,0x00,0xa6,0x57,0x00,0x00,0xc8,0x53,0x00,0x00,0xb2,0x57,0x00,0x00,0xc9,0x53,0x00,0x00, 0xf6,0x57,0x00,0x00,0xca,0x53,0x00,0x00,0x26,0x58,0x00,0x00,0xcb,0x53,0x00,0x00,0x5c,0x58,0x00,0x00, 0xcc,0x53,0x00,0x00,0x8a,0x58,0x00,0x00,0xcd,0x53,0x00,0x00,0xb6,0x58,0x00,0x00,0xd1,0x53,0x00,0x00, 0xe4,0x58,0x00,0x00,0xd4,0x53,0x00,0x00,0x14,0x59,0x00,0x00,0xd6,0x53,0x00,0x00,0x44,0x59,0x00,0x00, 0xd7,0x53,0x00,0x00,0x72,0x59,0x00,0x00,0xd8,0x53,0x00,0x00,0xa4,0x59,0x00,0x00,0xd9,0x53,0x00,0x00, 0xd0,0x59,0x00,0x00,0xdb,0x53,0x00,0x00,0x06,0x5a,0x00,0x00,0xe0,0x53,0x00,0x00,0x38,0x5a,0x00,0x00, 0xe3,0x53,0x00,0x00,0x6a,0x5a,0x00,0x00,0xe4,0x53,0x00,0x00,0x96,0x5a,0x00,0x00,0xe5,0x53,0x00,0x00, 0xc2,0x5a,0x00,0x00,0xe6,0x53,0x00,0x00,0xf0,0x5a,0x00,0x00,0xe8,0x53,0x00,0x00,0x32,0x5b,0x00,0x00, 0xe9,0x53,0x00,0x00,0x56,0x5b,0x00,0x00,0xea,0x53,0x00,0x00,0x82,0x5b,0x00,0x00,0xeb,0x53,0x00,0x00, 0xb0,0x5b,0x00,0x00,0xec,0x53,0x00,0x00,0xdc,0x5b,0x00,0x00,0xed,0x53,0x00,0x00,0x0a,0x5c,0x00,0x00, 0xee,0x53,0x00,0x00,0x26,0x5c,0x00,0x00,0xef,0x53,0x00,0x00,0x5c,0x5c,0x00,0x00,0xf0,0x53,0x00,0x00, 0x8a,0x5c,0x00,0x00,0xf1,0x53,0x00,0x00,0xb6,0x5c,0x00,0x00,0xf2,0x53,0x00,0x00,0xea,0x5c,0x00,0x00, 0xf3,0x53,0x00,0x00,0x20,0x5d,0x00,0x00,0xf5,0x53,0x00,0x00,0x50,0x5d,0x00,0x00,0xf6,0x53,0x00,0x00, 0x5c,0x5d,0x00,0x00,0xf7,0x53,0x00,0x00,0x92,0x5d,0x00,0x00,0xf8,0x53,0x00,0x00,0xc0,0x5d,0x00,0x00, 0xf9,0x53,0x00,0x00,0xf8,0x5d,0x00,0x00,0xfd,0x53,0x00,0x00,0x28,0x5e,0x00,0x00,0x01,0x54,0x00,0x00, 0x72,0x5e,0x00,0x00,0x03,0x54,0x00,0x00,0x82,0x5e,0x00,0x00,0x04,0x54,0x00,0x00,0xae,0x5e,0x00,0x00, 0x06,0x54,0x00,0x00,0xda,0x5e,0x00,0x00,0x08,0x54,0x00,0x00,0xf8,0x5e,0x00,0x00,0x09,0x54,0x00,0x00, 0x24,0x5f,0x00,0x00,0x0a,0x54,0x00,0x00,0x5e,0x5f,0x00,0x00,0x0c,0x54,0x00,0x00,0x8a,0x5f,0x00,0x00, 0x0d,0x54,0x00,0x00,0xb6,0x5f,0x00,0x00,0x0e,0x54,0x00,0x00,0xe2,0x5f,0x00,0x00,0x0f,0x54,0x00,0x00, 0x0e,0x60,0x00,0x00,0x10,0x54,0x00,0x00,0x2e,0x60,0x00,0x00,0x11,0x54,0x00,0x00,0x5c,0x60,0x00,0x00, 0x13,0x54,0x00,0x00,0x8a,0x60,0x00,0x00,0x15,0x54,0x00,0x00,0xb8,0x60,0x00,0x00,0x17,0x54,0x00,0x00, 0xec,0x60,0x00,0x00,0x1b,0x54,0x00,0x00,0x04,0x61,0x00,0x00,0x1d,0x54,0x00,0x00,0x34,0x61,0x00,0x00, 0x1e,0x54,0x00,0x00,0x4a,0x61,0x00,0x00,0x1f,0x54,0x00,0x00,0x7c,0x61,0x00,0x00,0x20,0x54,0x00,0x00, 0xac,0x61,0x00,0x00,0x21,0x54,0x00,0x00,0xc4,0x61,0x00,0x00,0x26,0x54,0x00,0x00,0xf0,0x61,0x00,0x00, 0x27,0x54,0x00,0x00,0x28,0x62,0x00,0x00,0x28,0x54,0x00,0x00,0x56,0x62,0x00,0x00,0x29,0x54,0x00,0x00, 0x8c,0x62,0x00,0x00,0x2b,0x54,0x00,0x00,0x94,0x62,0x00,0x00,0x2c,0x54,0x00,0x00,0xc6,0x62,0x00,0x00, 0x2d,0x54,0x00,0x00,0xf4,0x62,0x00,0x00,0x2e,0x54,0x00,0x00,0x08,0x63,0x00,0x00,0x2f,0x54,0x00,0x00, 0x18,0x63,0x00,0x00,0x31,0x54,0x00,0x00,0x44,0x63,0x00,0x00,0x32,0x54,0x00,0x00,0x76,0x63,0x00,0x00, 0x34,0x54,0x00,0x00,0x7e,0x63,0x00,0x00,0x35,0x54,0x00,0x00,0xb2,0x63,0x00,0x00,0x38,0x54,0x00,0x00, 0xe8,0x63,0x00,0x00,0x39,0x54,0x00,0x00,0x16,0x64,0x00,0x00,0x3b,0x54,0x00,0x00,0x4a,0x64,0x00,0x00, 0x3c,0x54,0x00,0x00,0x72,0x64,0x00,0x00,0x3d,0x54,0x00,0x00,0x84,0x64,0x00,0x00,0x3e,0x54,0x00,0x00, 0x8c,0x64,0x00,0x00,0x40,0x54,0x00,0x00,0xb4,0x64,0x00,0x00,0x43,0x54,0x00,0x00,0xc8,0x64,0x00,0x00, 0x46,0x54,0x00,0x00,0xd0,0x64,0x00,0x00,0x48,0x54,0x00,0x00,0x00,0x65,0x00,0x00,0x4a,0x54,0x00,0x00, 0x2c,0x65,0x00,0x00,0x4b,0x54,0x00,0x00,0x5c,0x65,0x00,0x00,0x4e,0x54,0x00,0x00,0x72,0x65,0x00,0x00, 0x50,0x54,0x00,0x00,0x7a,0x65,0x00,0x00,0x52,0x54,0x00,0x00,0x90,0x65,0x00,0x00,0x53,0x54,0x00,0x00, 0xae,0x65,0x00,0x00,0x55,0x54,0x00,0x00,0xb6,0x65,0x00,0x00,0x58,0x54,0x00,0x00,0xea,0x65,0x00,0x00, 0x5b,0x54,0x00,0x00,0x20,0x66,0x00,0x00,0x5c,0x54,0x00,0x00,0x40,0x66,0x00,0x00,0x62,0x54,0x00,0x00, 0x60,0x66,0x00,0x00,0x64,0x54,0x00,0x00,0x94,0x66,0x00,0x00,0x66,0x54,0x00,0x00,0x9c,0x66,0x00,0x00, 0x68,0x54,0x00,0x00,0xa8,0x66,0x00,0x00,0x6b,0x54,0x00,0x00,0xd4,0x66,0x00,0x00,0x71,0x54,0x00,0x00, 0xf6,0x66,0x00,0x00,0x72,0x54,0x00,0x00,0x1c,0x67,0x00,0x00,0x73,0x54,0x00,0x00,0x28,0x67,0x00,0x00, 0x75,0x54,0x00,0x00,0x58,0x67,0x00,0x00,0x76,0x54,0x00,0x00,0x8a,0x67,0x00,0x00,0x77,0x54,0x00,0x00, 0x92,0x67,0x00,0x00,0x7b,0x54,0x00,0x00,0x9a,0x67,0x00,0x00,0x7c,0x54,0x00,0x00,0xa2,0x67,0x00,0x00, 0x7d,0x54,0x00,0x00,0xd8,0x67,0x00,0x00,0x80,0x54,0x00,0x00,0x06,0x68,0x00,0x00,0x81,0x54,0x00,0x00, 0x18,0x68,0x00,0x00,0x82,0x54,0x00,0x00,0x44,0x68,0x00,0x00,0x84,0x54,0x00,0x00,0x54,0x68,0x00,0x00, 0x86,0x54,0x00,0x00,0x78,0x68,0x00,0x00,0x8b,0x54,0x00,0x00,0x8e,0x68,0x00,0x00,0x8c,0x54,0x00,0x00, 0xa6,0x68,0x00,0x00,0x8e,0x54,0x00,0x00,0xd6,0x68,0x00,0x00,0x8f,0x54,0x00,0x00,0xf2,0x68,0x00,0x00, 0x92,0x54,0x00,0x00,0x12,0x69,0x00,0x00,0x94,0x54,0x00,0x00,0x3a,0x69,0x00,0x00,0x95,0x54,0x00,0x00, 0x5c,0x69,0x00,0x00,0x96,0x54,0x00,0x00,0x94,0x69,0x00,0x00,0x97,0x54,0x00,0x00,0xd0,0x69,0x00,0x00, 0x9a,0x54,0x00,0x00,0xe0,0x69,0x00,0x00,0x9d,0x54,0x00,0x00,0xe8,0x69,0x00,0x00,0xa3,0x54,0x00,0x00, 0xf6,0x69,0x00,0x00,0xa7,0x54,0x00,0x00,0x02,0x6a,0x00,0x00,0xa8,0x54,0x00,0x00,0x16,0x6a,0x00,0x00, 0xa9,0x54,0x00,0x00,0x52,0x6a,0x00,0x00,0xaa,0x54,0x00,0x00,0x6e,0x6a,0x00,0x00,0xab,0x54,0x00,0x00, 0x8e,0x6a,0x00,0x00,0xac,0x54,0x00,0x00,0xae,0x6a,0x00,0x00,0xad,0x54,0x00,0x00,0xe6,0x6a,0x00,0x00, 0xaf,0x54,0x00,0x00,0xf2,0x6a,0x00,0x00,0xb1,0x54,0x00,0x00,0x1e,0x6b,0x00,0x00,0xb3,0x54,0x00,0x00, 0x32,0x6b,0x00,0x00,0xb8,0x54,0x00,0x00,0x60,0x6b,0x00,0x00,0xbb,0x54,0x00,0x00,0x96,0x6b,0x00,0x00, 0xbd,0x54,0x00,0x00,0x9e,0x6b,0x00,0x00,0xbf,0x54,0x00,0x00,0xd0,0x6b,0x00,0x00,0xc0,0x54,0x00,0x00, 0xe0,0x6b,0x00,0x00,0xc1,0x54,0x00,0x00,0x12,0x6c,0x00,0x00,0xc2,0x54,0x00,0x00,0x40,0x6c,0x00,0x00, 0xc4,0x54,0x00,0x00,0x4c,0x6c,0x00,0x00,0xc6,0x54,0x00,0x00,0x7c,0x6c,0x00,0x00,0xc7,0x54,0x00,0x00, 0x9c,0x6c,0x00,0x00,0xc8,0x54,0x00,0x00,0xca,0x6c,0x00,0x00,0xcc,0x54,0x00,0x00,0x06,0x6d,0x00,0x00, 0xcd,0x54,0x00,0x00,0x14,0x6d,0x00,0x00,0xce,0x54,0x00,0x00,0x46,0x6d,0x00,0x00,0xd0,0x54,0x00,0x00, 0x56,0x6d,0x00,0x00,0xd1,0x54,0x00,0x00,0x6e,0x6d,0x00,0x00,0xd2,0x54,0x00,0x00,0xac,0x6d,0x00,0x00, 0xd3,0x54,0x00,0x00,0xb8,0x6d,0x00,0x00,0xd4,0x54,0x00,0x00,0xc0,0x6d,0x00,0x00,0xd5,0x54,0x00,0x00, 0xd4,0x6d,0x00,0x00,0xd7,0x54,0x00,0x00,0xdc,0x6d,0x00,0x00,0xde,0x54,0x00,0x00,0x18,0x6e,0x00,0x00, 0xe5,0x54,0x00,0x00,0x20,0x6e,0x00,0x00,0xe7,0x54,0x00,0x00,0x60,0x6e,0x00,0x00,0xe8,0x54,0x00,0x00, 0x6c,0x6e,0x00,0x00,0xe9,0x54,0x00,0x00,0x98,0x6e,0x00,0x00,0xea,0x54,0x00,0x00,0xc0,0x6e,0x00,0x00, 0xed,0x54,0x00,0x00,0xec,0x6e,0x00,0x00,0xee,0x54,0x00,0x00,0x22,0x6f,0x00,0x00,0xf2,0x54,0x00,0x00, 0x34,0x6f,0x00,0x00,0xfa,0x54,0x00,0x00,0x6a,0x6f,0x00,0x00,0xfc,0x54,0x00,0x00,0xa4,0x6f,0x00,0x00, 0xfd,0x54,0x00,0x00,0xd8,0x6f,0x00,0x00,0x01,0x55,0x00,0x00,0xe8,0x6f,0x00,0x00,0x06,0x55,0x00,0x00, 0xfc,0x6f,0x00,0x00,0x07,0x55,0x00,0x00,0x04,0x70,0x00,0x00,0x09,0x55,0x00,0x00,0x3a,0x70,0x00,0x00, 0x0f,0x55,0x00,0x00,0x6a,0x70,0x00,0x00,0x10,0x55,0x00,0x00,0x8a,0x70,0x00,0x00,0x14,0x55,0x00,0x00, 0xbc,0x70,0x00,0x00,0x1b,0x55,0x00,0x00,0xe8,0x70,0x00,0x00,0x1d,0x55,0x00,0x00,0xf0,0x70,0x00,0x00, 0x20,0x55,0x00,0x00,0xf8,0x70,0x00,0x00,0x22,0x55,0x00,0x00,0x18,0x71,0x00,0x00,0x24,0x55,0x00,0x00, 0x26,0x71,0x00,0x00,0x27,0x55,0x00,0x00,0x52,0x71,0x00,0x00,0x2c,0x55,0x00,0x00,0x88,0x71,0x00,0x00, 0x2e,0x55,0x00,0x00,0x9c,0x71,0x00,0x00,0x2f,0x55,0x00,0x00,0xd2,0x71,0x00,0x00,0x30,0x55,0x00,0x00, 0x02,0x72,0x00,0x00,0x31,0x55,0x00,0x00,0x0a,0x72,0x00,0x00,0x35,0x55,0x00,0x00,0x38,0x72,0x00,0x00, 0x38,0x55,0x00,0x00,0x54,0x72,0x00,0x00,0x3e,0x55,0x00,0x00,0x60,0x72,0x00,0x00,0x3f,0x55,0x00,0x00, 0x9a,0x72,0x00,0x00,0x41,0x55,0x00,0x00,0xac,0x72,0x00,0x00,0x43,0x55,0x00,0x00,0xb4,0x72,0x00,0x00, 0x44,0x55,0x00,0x00,0xd0,0x72,0x00,0x00,0x46,0x55,0x00,0x00,0xe6,0x72,0x00,0x00,0x4a,0x55,0x00,0x00, 0x16,0x73,0x00,0x00,0x5c,0x55,0x00,0x00,0x26,0x73,0x00,0x00,0x61,0x55,0x00,0x00,0x36,0x73,0x00,0x00, 0x64,0x55,0x00,0x00,0x42,0x73,0x00,0x00,0x65,0x55,0x00,0x00,0x80,0x73,0x00,0x00,0x66,0x55,0x00,0x00, 0x98,0x73,0x00,0x00,0x67,0x55,0x00,0x00,0xae,0x73,0x00,0x00,0x6a,0x55,0x00,0x00,0xd4,0x73,0x00,0x00, 0x6b,0x55,0x00,0x00,0xf2,0x73,0x00,0x00,0x6d,0x55,0x00,0x00,0xfe,0x73,0x00,0x00,0x6e,0x55,0x00,0x00, 0x06,0x74,0x00,0x00,0x70,0x55,0x00,0x00,0x2a,0x74,0x00,0x00,0x71,0x55,0x00,0x00,0x42,0x74,0x00,0x00, 0x72,0x55,0x00,0x00,0x4a,0x74,0x00,0x00,0x74,0x55,0x00,0x00,0x6e,0x74,0x00,0x00,0x75,0x55,0x00,0x00, 0x7a,0x74,0x00,0x00,0x77,0x55,0x00,0x00,0x82,0x74,0x00,0x00,0x78,0x55,0x00,0x00,0x8a,0x74,0x00,0x00, 0x7c,0x55,0x00,0x00,0xa2,0x74,0x00,0x00,0x7e,0x55,0x00,0x00,0xca,0x74,0x00,0x00,0x80,0x55,0x00,0x00, 0xd6,0x74,0x00,0x00,0x81,0x55,0x00,0x00,0x18,0x75,0x00,0x00,0x82,0x55,0x00,0x00,0x20,0x75,0x00,0x00, 0x83,0x55,0x00,0x00,0x3c,0x75,0x00,0x00,0x84,0x55,0x00,0x00,0x4c,0x75,0x00,0x00,0x86,0x55,0x00,0x00, 0x78,0x75,0x00,0x00,0x87,0x55,0x00,0x00,0x80,0x75,0x00,0x00,0x89,0x55,0x00,0x00,0xbe,0x75,0x00,0x00, 0x8a,0x55,0x00,0x00,0xec,0x75,0x00,0x00,0x8b,0x55,0x00,0x00,0x1e,0x76,0x00,0x00,0x91,0x55,0x00,0x00, 0x32,0x76,0x00,0x00,0x94,0x55,0x00,0x00,0x3a,0x76,0x00,0x00,0x98,0x55,0x00,0x00,0x4a,0x76,0x00,0x00, 0x9c,0x55,0x00,0x00,0x84,0x76,0x00,0x00,0x9d,0x55,0x00,0x00,0xb6,0x76,0x00,0x00,0x9f,0x55,0x00,0x00, 0xe8,0x76,0x00,0x00,0xa7,0x55,0x00,0x00,0xf4,0x76,0x00,0x00,0xab,0x55,0x00,0x00,0x2c,0x77,0x00,0x00, 0xb3,0x55,0x00,0x00,0x34,0x77,0x00,0x00,0xb5,0x55,0x00,0x00,0x3c,0x77,0x00,0x00,0xb7,0x55,0x00,0x00, 0x56,0x77,0x00,0x00,0xb9,0x55,0x00,0x00,0x84,0x77,0x00,0x00,0xba,0x55,0x00,0x00,0x92,0x77,0x00,0x00, 0xbb,0x55,0x00,0x00,0x9e,0x77,0x00,0x00,0xbc,0x55,0x00,0x00,0xc6,0x77,0x00,0x00,0xbd,0x55,0x00,0x00, 0xce,0x77,0x00,0x00,0xc5,0x55,0x00,0x00,0xde,0x77,0x00,0x00,0xc9,0x55,0x00,0x00,0xf8,0x77,0x00,0x00, 0xd1,0x55,0x00,0x00,0x04,0x78,0x00,0x00,0xd2,0x55,0x00,0x00,0x12,0x78,0x00,0x00,0xd3,0x55,0x00,0x00, 0x1e,0x78,0x00,0x00,0xd4,0x55,0x00,0x00,0x42,0x78,0x00,0x00,0xd6,0x55,0x00,0x00,0x6e,0x78,0x00,0x00, 0xdc,0x55,0x00,0x00,0x76,0x78,0x00,0x00,0xdd,0x55,0x00,0x00,0xae,0x78,0x00,0x00,0xdf,0x55,0x00,0x00, 0xb6,0x78,0x00,0x00,0xe1,0x55,0x00,0x00,0xca,0x78,0x00,0x00,0xe3,0x55,0x00,0x00,0xf4,0x78,0x00,0x00, 0xe4,0x55,0x00,0x00,0x20,0x79,0x00,0x00,0xe5,0x55,0x00,0x00,0x34,0x79,0x00,0x00,0xe6,0x55,0x00,0x00, 0x3c,0x79,0x00,0x00,0xe8,0x55,0x00,0x00,0x44,0x79,0x00,0x00,0xeb,0x55,0x00,0x00,0x4c,0x79,0x00,0x00, 0xec,0x55,0x00,0x00,0x5c,0x79,0x00,0x00,0xef,0x55,0x00,0x00,0x64,0x79,0x00,0x00,0xf0,0x55,0x00,0x00, 0x6c,0x79,0x00,0x00,0xf2,0x55,0x00,0x00,0x84,0x79,0x00,0x00,0xf3,0x55,0x00,0x00,0x96,0x79,0x00,0x00, 0xf5,0x55,0x00,0x00,0xce,0x79,0x00,0x00,0xf7,0x55,0x00,0x00,0xdc,0x79,0x00,0x00,0xfe,0x55,0x00,0x00, 0xf2,0x79,0x00,0x00,0x00,0x56,0x00,0x00,0xfa,0x79,0x00,0x00,0x01,0x56,0x00,0x00,0x26,0x7a,0x00,0x00, 0x05,0x56,0x00,0x00,0x3a,0x7a,0x00,0x00,0x08,0x56,0x00,0x00,0x50,0x7a,0x00,0x00,0x09,0x56,0x00,0x00, 0x62,0x7a,0x00,0x00,0x0c,0x56,0x00,0x00,0x94,0x7a,0x00,0x00,0x0e,0x56,0x00,0x00,0x9c,0x7a,0x00,0x00, 0x18,0x56,0x00,0x00,0xd0,0x7a,0x00,0x00,0x1a,0x56,0x00,0x00,0xe8,0x7a,0x00,0x00,0x1b,0x56,0x00,0x00, 0xf4,0x7a,0x00,0x00,0x1f,0x56,0x00,0x00,0x02,0x7b,0x00,0x00,0x22,0x56,0x00,0x00,0x38,0x7b,0x00,0x00, 0x24,0x56,0x00,0x00,0x40,0x7b,0x00,0x00,0x27,0x56,0x00,0x00,0x4c,0x7b,0x00,0x00,0x2c,0x56,0x00,0x00, 0x54,0x7b,0x00,0x00,0x2d,0x56,0x00,0x00,0x5e,0x7b,0x00,0x00,0x31,0x56,0x00,0x00,0x66,0x7b,0x00,0x00, 0x32,0x56,0x00,0x00,0x76,0x7b,0x00,0x00,0x34,0x56,0x00,0x00,0x94,0x7b,0x00,0x00,0x36,0x56,0x00,0x00, 0xc2,0x7b,0x00,0x00,0x39,0x56,0x00,0x00,0xea,0x7b,0x00,0x00,0x3b,0x56,0x00,0x00,0xf6,0x7b,0x00,0x00, 0x3f,0x56,0x00,0x00,0x1a,0x7c,0x00,0x00,0x41,0x56,0x00,0x00,0x30,0x7c,0x00,0x00,0x4c,0x56,0x00,0x00, 0x38,0x7c,0x00,0x00,0x4d,0x56,0x00,0x00,0x46,0x7c,0x00,0x00,0x4e,0x56,0x00,0x00,0x4e,0x7c,0x00,0x00, 0x4f,0x56,0x00,0x00,0x5a,0x7c,0x00,0x00,0x54,0x56,0x00,0x00,0x62,0x7c,0x00,0x00,0x57,0x56,0x00,0x00, 0x6a,0x7c,0x00,0x00,0x58,0x56,0x00,0x00,0x8c,0x7c,0x00,0x00,0x5a,0x56,0x00,0x00,0x98,0x7c,0x00,0x00, 0x5c,0x56,0x00,0x00,0xa4,0x7c,0x00,0x00,0x62,0x56,0x00,0x00,0xb0,0x7c,0x00,0x00,0x64,0x56,0x00,0x00, 0xbe,0x7c,0x00,0x00,0x68,0x56,0x00,0x00,0xd4,0x7c,0x00,0x00,0x69,0x56,0x00,0x00,0x02,0x7d,0x00,0x00, 0x6a,0x56,0x00,0x00,0x16,0x7d,0x00,0x00,0x6b,0x56,0x00,0x00,0x4a,0x7d,0x00,0x00,0x6c,0x56,0x00,0x00, 0x52,0x7d,0x00,0x00,0x71,0x56,0x00,0x00,0x6e,0x7d,0x00,0x00,0x76,0x56,0x00,0x00,0x76,0x7d,0x00,0x00, 0x7b,0x56,0x00,0x00,0xb2,0x7d,0x00,0x00,0x7c,0x56,0x00,0x00,0xbe,0x7d,0x00,0x00,0x85,0x56,0x00,0x00, 0xde,0x7d,0x00,0x00,0x8e,0x56,0x00,0x00,0xea,0x7d,0x00,0x00,0x8f,0x56,0x00,0x00,0x0a,0x7e,0x00,0x00, 0x90,0x56,0x00,0x00,0x12,0x7e,0x00,0x00,0x93,0x56,0x00,0x00,0x22,0x7e,0x00,0x00,0x9f,0x56,0x00,0x00, 0x2a,0x7e,0x00,0x00,0xa3,0x56,0x00,0x00,0x36,0x7e,0x00,0x00,0xb7,0x56,0x00,0x00,0x4e,0x7e,0x00,0x00, 0xbc,0x56,0x00,0x00,0x5e,0x7e,0x00,0x00,0xca,0x56,0x00,0x00,0x7e,0x7e,0x00,0x00,0xd2,0x56,0x00,0x00, 0xb6,0x7e,0x00,0x00,0xd4,0x56,0x00,0x00,0xc2,0x7e,0x00,0x00,0xda,0x56,0x00,0x00,0xca,0x7e,0x00,0x00, 0xdb,0x56,0x00,0x00,0xf6,0x7e,0x00,0x00,0xdd,0x56,0x00,0x00,0x2a,0x7f,0x00,0x00,0xde,0x56,0x00,0x00, 0x32,0x7f,0x00,0x00,0xdf,0x56,0x00,0x00,0x5e,0x7f,0x00,0x00,0xe0,0x56,0x00,0x00,0x6c,0x7f,0x00,0x00, 0xe1,0x56,0x00,0x00,0xa0,0x7f,0x00,0x00,0xe2,0x56,0x00,0x00,0xa8,0x7f,0x00,0x00,0xe4,0x56,0x00,0x00, 0xd6,0x7f,0x00,0x00,0xe7,0x56,0x00,0x00,0x06,0x80,0x00,0x00,0xeb,0x56,0x00,0x00,0x22,0x80,0x00,0x00, 0xed,0x56,0x00,0x00,0x40,0x80,0x00,0x00,0xf0,0x56,0x00,0x00,0x72,0x80,0x00,0x00,0xf1,0x56,0x00,0x00, 0xa4,0x80,0x00,0x00,0xf4,0x56,0x00,0x00,0xac,0x80,0x00,0x00,0xf9,0x56,0x00,0x00,0xd8,0x80,0x00,0x00, 0xfa,0x56,0x00,0x00,0xe4,0x80,0x00,0x00,0xfd,0x56,0x00,0x00,0x14,0x81,0x00,0x00,0xfe,0x56,0x00,0x00, 0x42,0x81,0x00,0x00,0xff,0x56,0x00,0x00,0x70,0x81,0x00,0x00,0x06,0x57,0x00,0x00,0x82,0x81,0x00,0x00, 0x08,0x57,0x00,0x00,0xb0,0x81,0x00,0x00,0x09,0x57,0x00,0x00,0xe0,0x81,0x00,0x00,0x1c,0x57,0x00,0x00, 0xec,0x81,0x00,0x00,0x1f,0x57,0x00,0x00,0xf4,0x81,0x00,0x00,0x23,0x57,0x00,0x00,0x22,0x82,0x00,0x00, 0x28,0x57,0x00,0x00,0x5a,0x82,0x00,0x00,0x29,0x57,0x00,0x00,0x88,0x82,0x00,0x00,0x2a,0x57,0x00,0x00, 0xa8,0x82,0x00,0x00,0x2c,0x57,0x00,0x00,0xd0,0x82,0x00,0x00,0x2d,0x57,0x00,0x00,0xd8,0x82,0x00,0x00, 0x2f,0x57,0x00,0x00,0x0c,0x83,0x00,0x00,0x30,0x57,0x00,0x00,0x14,0x83,0x00,0x00,0x39,0x57,0x00,0x00, 0x40,0x83,0x00,0x00,0x3a,0x57,0x00,0x00,0x48,0x83,0x00,0x00,0x42,0x57,0x00,0x00,0x74,0x83,0x00,0x00, 0x47,0x57,0x00,0x00,0x9a,0x83,0x00,0x00,0x4a,0x57,0x00,0x00,0xcc,0x83,0x00,0x00,0x4b,0x57,0x00,0x00, 0xe2,0x83,0x00,0x00,0x4d,0x57,0x00,0x00,0xea,0x83,0x00,0x00,0x4e,0x57,0x00,0x00,0x08,0x84,0x00,0x00, 0x4f,0x57,0x00,0x00,0x42,0x84,0x00,0x00,0x50,0x57,0x00,0x00,0x72,0x84,0x00,0x00,0x51,0x57,0x00,0x00, 0xa0,0x84,0x00,0x00,0x57,0x57,0x00,0x00,0xd4,0x84,0x00,0x00,0x5a,0x57,0x00,0x00,0x00,0x85,0x00,0x00, 0x5b,0x57,0x00,0x00,0x2c,0x85,0x00,0x00,0x5d,0x57,0x00,0x00,0x4e,0x85,0x00,0x00,0x5e,0x57,0x00,0x00, 0x7a,0x85,0x00,0x00,0x5f,0x57,0x00,0x00,0x94,0x85,0x00,0x00,0x60,0x57,0x00,0x00,0xb8,0x85,0x00,0x00, 0x61,0x57,0x00,0x00,0xe4,0x85,0x00,0x00,0x64,0x57,0x00,0x00,0x16,0x86,0x00,0x00,0x66,0x57,0x00,0x00, 0x44,0x86,0x00,0x00,0x68,0x57,0x00,0x00,0x74,0x86,0x00,0x00,0x69,0x57,0x00,0x00,0x84,0x86,0x00,0x00, 0x6a,0x57,0x00,0x00,0x8c,0x86,0x00,0x00,0x6f,0x57,0x00,0x00,0xbc,0x86,0x00,0x00,0x73,0x57,0x00,0x00, 0xd8,0x86,0x00,0x00,0x77,0x57,0x00,0x00,0xe0,0x86,0x00,0x00,0x7c,0x57,0x00,0x00,0xec,0x86,0x00,0x00, 0x82,0x57,0x00,0x00,0xf4,0x86,0x00,0x00,0x83,0x57,0x00,0x00,0x24,0x87,0x00,0x00,0x84,0x57,0x00,0x00, 0x62,0x87,0x00,0x00,0x8b,0x57,0x00,0x00,0xa0,0x87,0x00,0x00,0x92,0x57,0x00,0x00,0xcc,0x87,0x00,0x00, 0x93,0x57,0x00,0x00,0xe2,0x87,0x00,0x00,0x9b,0x57,0x00,0x00,0xee,0x87,0x00,0x00,0x9d,0x57,0x00,0x00, 0x02,0x88,0x00,0x00,0xa1,0x57,0x00,0x00,0x0a,0x88,0x00,0x00,0xa2,0x57,0x00,0x00,0x12,0x88,0x00,0x00, 0xa3,0x57,0x00,0x00,0x1a,0x88,0x00,0x00,0xa6,0x57,0x00,0x00,0x2c,0x88,0x00,0x00,0xab,0x57,0x00,0x00, 0x5c,0x88,0x00,0x00,0xad,0x57,0x00,0x00,0x8c,0x88,0x00,0x00,0xae,0x57,0x00,0x00,0x9a,0x88,0x00,0x00, 0xc2,0x57,0x00,0x00,0xae,0x88,0x00,0x00,0xc3,0x57,0x00,0x00,0xb6,0x88,0x00,0x00,0xc7,0x57,0x00,0x00, 0xfc,0x88,0x00,0x00,0xcb,0x57,0x00,0x00,0x0a,0x89,0x00,0x00,0xce,0x57,0x00,0x00,0x3a,0x89,0x00,0x00, 0xd4,0x57,0x00,0x00,0x6a,0x89,0x00,0x00,0xdf,0x57,0x00,0x00,0x8c,0x89,0x00,0x00,0xe0,0x57,0x00,0x00, 0xbc,0x89,0x00,0x00,0xe4,0x57,0x00,0x00,0xc4,0x89,0x00,0x00,0xed,0x57,0x00,0x00,0xdc,0x89,0x00,0x00, 0xf9,0x57,0x00,0x00,0xe4,0x89,0x00,0x00,0xfa,0x57,0x00,0x00,0x1a,0x8a,0x00,0x00,0xfc,0x57,0x00,0x00, 0x4a,0x8a,0x00,0x00,0x02,0x58,0x00,0x00,0x54,0x8a,0x00,0x00,0x06,0x58,0x00,0x00,0x8c,0x8a,0x00,0x00, 0x07,0x58,0x00,0x00,0xbc,0x8a,0x00,0x00,0x11,0x58,0x00,0x00,0xc8,0x8a,0x00,0x00,0x15,0x58,0x00,0x00, 0xd4,0x8a,0x00,0x00,0x21,0x58,0x00,0x00,0x08,0x8b,0x00,0x00,0x24,0x58,0x00,0x00,0x32,0x8b,0x00,0x00, 0x2a,0x58,0x00,0x00,0x5e,0x8b,0x00,0x00,0x30,0x58,0x00,0x00,0x9e,0x8b,0x00,0x00,0x35,0x58,0x00,0x00, 0xc8,0x8b,0x00,0x00,0x3a,0x58,0x00,0x00,0xf4,0x8b,0x00,0x00,0x44,0x58,0x00,0x00,0xfe,0x8b,0x00,0x00, 0x4c,0x58,0x00,0x00,0x06,0x8c,0x00,0x00,0x51,0x58,0x00,0x00,0x3a,0x8c,0x00,0x00,0x54,0x58,0x00,0x00, 0x6e,0x8c,0x00,0x00,0x55,0x58,0x00,0x00,0xaa,0x8c,0x00,0x00,0x58,0x58,0x00,0x00,0xb2,0x8c,0x00,0x00, 0x5e,0x58,0x00,0x00,0xe4,0x8c,0x00,0x00,0x6b,0x58,0x00,0x00,0x1e,0x8d,0x00,0x00,0x6c,0x58,0x00,0x00, 0x4c,0x8d,0x00,0x00,0x7e,0x58,0x00,0x00,0x60,0x8d,0x00,0x00,0x83,0x58,0x00,0x00,0x68,0x8d,0x00,0x00, 0x89,0x58,0x00,0x00,0x96,0x8d,0x00,0x00,0x92,0x58,0x00,0x00,0xa4,0x8d,0x00,0x00,0x93,0x58,0x00,0x00, 0xb6,0x8d,0x00,0x00,0x99,0x58,0x00,0x00,0xe6,0x8d,0x00,0x00,0x9e,0x58,0x00,0x00,0x12,0x8e,0x00,0x00, 0x9f,0x58,0x00,0x00,0x40,0x8e,0x00,0x00,0xa8,0x58,0x00,0x00,0x48,0x8e,0x00,0x00,0xa9,0x58,0x00,0x00, 0x80,0x8e,0x00,0x00,0xc1,0x58,0x00,0x00,0x90,0x8e,0x00,0x00,0xc5,0x58,0x00,0x00,0xbc,0x8e,0x00,0x00, 0xd1,0x58,0x00,0x00,0xd2,0x8e,0x00,0x00,0xd5,0x58,0x00,0x00,0xde,0x8e,0x00,0x00,0xe4,0x58,0x00,0x00, 0xee,0x8e,0x00,0x00,0xeb,0x58,0x00,0x00,0x00,0x8f,0x00,0x00,0xec,0x58,0x00,0x00,0x30,0x8f,0x00,0x00, 0xee,0x58,0x00,0x00,0x66,0x8f,0x00,0x00,0xf0,0x58,0x00,0x00,0x92,0x8f,0x00,0x00,0xf3,0x58,0x00,0x00, 0xbe,0x8f,0x00,0x00,0xf6,0x58,0x00,0x00,0xea,0x8f,0x00,0x00,0xf9,0x58,0x00,0x00,0x18,0x90,0x00,0x00, 0xfd,0x58,0x00,0x00,0x48,0x90,0x00,0x00,0x04,0x59,0x00,0x00,0x68,0x90,0x00,0x00,0x07,0x59,0x00,0x00, 0x96,0x90,0x00,0x00,0x0d,0x59,0x00,0x00,0xc4,0x90,0x00,0x00,0x0f,0x59,0x00,0x00,0xf2,0x90,0x00,0x00, 0x14,0x59,0x00,0x00,0x22,0x91,0x00,0x00,0x15,0x59,0x00,0x00,0x36,0x91,0x00,0x00,0x16,0x59,0x00,0x00, 0x5c,0x91,0x00,0x00,0x19,0x59,0x00,0x00,0x8a,0x91,0x00,0x00,0x1a,0x59,0x00,0x00,0xc2,0x91,0x00,0x00, 0x1c,0x59,0x00,0x00,0xf0,0x91,0x00,0x00,0x1f,0x59,0x00,0x00,0x1e,0x92,0x00,0x00,0x24,0x59,0x00,0x00, 0x52,0x92,0x00,0x00,0x25,0x59,0x00,0x00,0x66,0x92,0x00,0x00,0x27,0x59,0x00,0x00,0x76,0x92,0x00,0x00, 0x29,0x59,0x00,0x00,0xa4,0x92,0x00,0x00,0x2a,0x59,0x00,0x00,0xd2,0x92,0x00,0x00,0x2b,0x59,0x00,0x00, 0x04,0x93,0x00,0x00,0x2d,0x59,0x00,0x00,0x3a,0x93,0x00,0x00,0x2e,0x59,0x00,0x00,0x4a,0x93,0x00,0x00, 0x2f,0x59,0x00,0x00,0x7a,0x93,0x00,0x00,0x31,0x59,0x00,0x00,0xa2,0x93,0x00,0x00,0x34,0x59,0x00,0x00, 0xd0,0x93,0x00,0x00,0x37,0x59,0x00,0x00,0xfc,0x93,0x00,0x00,0x38,0x59,0x00,0x00,0x36,0x94,0x00,0x00, 0x39,0x59,0x00,0x00,0x6e,0x94,0x00,0x00,0x3a,0x59,0x00,0x00,0x9a,0x94,0x00,0x00,0x44,0x59,0x00,0x00, 0xc6,0x94,0x00,0x00,0x47,0x59,0x00,0x00,0xee,0x94,0x00,0x00,0x48,0x59,0x00,0x00,0x1a,0x95,0x00,0x00, 0x49,0x59,0x00,0x00,0x52,0x95,0x00,0x00,0x4b,0x59,0x00,0x00,0x80,0x95,0x00,0x00,0x4e,0x59,0x00,0x00, 0xb8,0x95,0x00,0x00,0x4f,0x59,0x00,0x00,0xea,0x95,0x00,0x00,0x51,0x59,0x00,0x00,0x1c,0x96,0x00,0x00, 0x54,0x59,0x00,0x00,0x50,0x96,0x00,0x00,0x55,0x59,0x00,0x00,0x7c,0x96,0x00,0x00,0x56,0x59,0x00,0x00, 0x90,0x96,0x00,0x00,0x57,0x59,0x00,0x00,0xbe,0x96,0x00,0x00,0x58,0x59,0x00,0x00,0xea,0x96,0x00,0x00, 0x5a,0x59,0x00,0x00,0xf2,0x96,0x00,0x00,0x60,0x59,0x00,0x00,0x0a,0x97,0x00,0x00,0x62,0x59,0x00,0x00, 0x40,0x97,0x00,0x00,0x65,0x59,0x00,0x00,0x78,0x97,0x00,0x00,0x73,0x59,0x00,0x00,0xb4,0x97,0x00,0x00, 0x74,0x59,0x00,0x00,0xe2,0x97,0x00,0x00,0x76,0x59,0x00,0x00,0x16,0x98,0x00,0x00,0x78,0x59,0x00,0x00, 0x44,0x98,0x00,0x00,0x79,0x59,0x00,0x00,0x72,0x98,0x00,0x00,0x7d,0x59,0x00,0x00,0x8c,0x98,0x00,0x00, 0x82,0x59,0x00,0x00,0xb8,0x98,0x00,0x00,0x83,0x59,0x00,0x00,0xe6,0x98,0x00,0x00,0x84,0x59,0x00,0x00, 0xfc,0x98,0x00,0x00,0x86,0x59,0x00,0x00,0x2e,0x99,0x00,0x00,0x87,0x59,0x00,0x00,0x5c,0x99,0x00,0x00, 0x88,0x59,0x00,0x00,0x8e,0x99,0x00,0x00,0x8a,0x59,0x00,0x00,0xc0,0x99,0x00,0x00,0x8d,0x59,0x00,0x00, 0xe0,0x99,0x00,0x00,0x92,0x59,0x00,0x00,0xf0,0x99,0x00,0x00,0x93,0x59,0x00,0x00,0x18,0x9a,0x00,0x00, 0x96,0x59,0x00,0x00,0x2c,0x9a,0x00,0x00,0x97,0x59,0x00,0x00,0x5e,0x9a,0x00,0x00,0x99,0x59,0x00,0x00, 0x6a,0x9a,0x00,0x00,0x9e,0x59,0x00,0x00,0x9e,0x9a,0x00,0x00,0xa5,0x59,0x00,0x00,0xb2,0x9a,0x00,0x00, 0xa8,0x59,0x00,0x00,0xe8,0x9a,0x00,0x00,0xa9,0x59,0x00,0x00,0x02,0x9b,0x00,0x00,0xae,0x59,0x00,0x00, 0x0a,0x9b,0x00,0x00,0xaf,0x59,0x00,0x00,0x22,0x9b,0x00,0x00,0xb2,0x59,0x00,0x00,0x2a,0x9b,0x00,0x00, 0xb3,0x59,0x00,0x00,0x32,0x9b,0x00,0x00,0xb9,0x59,0x00,0x00,0x5a,0x9b,0x00,0x00,0xbb,0x59,0x00,0x00, 0x88,0x9b,0x00,0x00,0xbe,0x59,0x00,0x00,0xbe,0x9b,0x00,0x00,0xc6,0x59,0x00,0x00,0xca,0x9b,0x00,0x00, 0xca,0x59,0x00,0x00,0x1a,0x9c,0x00,0x00,0xcb,0x59,0x00,0x00,0x50,0x9c,0x00,0x00,0xd0,0x59,0x00,0x00, 0x8e,0x9c,0x00,0x00,0xd1,0x59,0x00,0x00,0xc0,0x9c,0x00,0x00,0xd2,0x59,0x00,0x00,0xf0,0x9c,0x00,0x00, 0xd3,0x59,0x00,0x00,0xfa,0x9c,0x00,0x00,0xd4,0x59,0x00,0x00,0x18,0x9d,0x00,0x00,0xd7,0x59,0x00,0x00, 0x4e,0x9d,0x00,0x00,0xd8,0x59,0x00,0x00,0x5e,0x9d,0x00,0x00,0xda,0x59,0x00,0x00,0x72,0x9d,0x00,0x00, 0xdc,0x59,0x00,0x00,0xaa,0x9d,0x00,0x00,0xe3,0x59,0x00,0x00,0xda,0x9d,0x00,0x00,0xe5,0x59,0x00,0x00, 0xe6,0x9d,0x00,0x00,0xe6,0x59,0x00,0x00,0xfa,0x9d,0x00,0x00,0xe8,0x59,0x00,0x00,0x02,0x9e,0x00,0x00, 0xea,0x59,0x00,0x00,0x30,0x9e,0x00,0x00,0xeb,0x59,0x00,0x00,0x3c,0x9e,0x00,0x00,0xec,0x59,0x00,0x00, 0x46,0x9e,0x00,0x00,0xee,0x59,0x00,0x00,0x6c,0x9e,0x00,0x00,0xf9,0x59,0x00,0x00,0x74,0x9e,0x00,0x00, 0xfb,0x59,0x00,0x00,0x84,0x9e,0x00,0x00,0xff,0x59,0x00,0x00,0x90,0x9e,0x00,0x00,0x01,0x5a,0x00,0x00, 0xbc,0x9e,0x00,0x00,0x03,0x5a,0x00,0x00,0xf0,0x9e,0x00,0x00,0x04,0x5a,0x00,0x00,0x30,0x9f,0x00,0x00, 0x07,0x5a,0x00,0x00,0x68,0x9f,0x00,0x00,0x08,0x5a,0x00,0x00,0x9a,0x9f,0x00,0x00,0x09,0x5a,0x00,0x00, 0xa8,0x9f,0x00,0x00,0x11,0x5a,0x00,0x00,0xb0,0x9f,0x00,0x00,0x13,0x5a,0x00,0x00,0xc6,0x9f,0x00,0x00, 0x18,0x5a,0x00,0x00,0xe6,0x9f,0x00,0x00,0x1c,0x5a,0x00,0x00,0x18,0xa0,0x00,0x00,0x1f,0x5a,0x00,0x00, 0x2c,0xa0,0x00,0x00,0x23,0x5a,0x00,0x00,0x3c,0xa0,0x00,0x00,0x25,0x5a,0x00,0x00,0x44,0xa0,0x00,0x00, 0x29,0x5a,0x00,0x00,0x4c,0xa0,0x00,0x00,0x2d,0x5a,0x00,0x00,0x54,0xa0,0x00,0x00,0x31,0x5a,0x00,0x00, 0x5c,0xa0,0x00,0x00,0x34,0x5a,0x00,0x00,0x9a,0xa0,0x00,0x00,0x36,0x5a,0x00,0x00,0xaa,0xa0,0x00,0x00, 0x3c,0x5a,0x00,0x00,0xbc,0xa0,0x00,0x00,0x40,0x5a,0x00,0x00,0xd4,0xa0,0x00,0x00,0x46,0x5a,0x00,0x00, 0xe4,0xa0,0x00,0x00,0x47,0x5a,0x00,0x00,0x1c,0xa1,0x00,0x00,0x49,0x5a,0x00,0x00,0x24,0xa1,0x00,0x00, 0x4a,0x5a,0x00,0x00,0x56,0xa1,0x00,0x00,0x5a,0x5a,0x00,0x00,0x5e,0xa1,0x00,0x00,0x62,0x5a,0x00,0x00, 0x8c,0xa1,0x00,0x00,0x74,0x5a,0x00,0x00,0x94,0xa1,0x00,0x00,0x75,0x5a,0x00,0x00,0xca,0xa1,0x00,0x00, 0x76,0x5a,0x00,0x00,0xd6,0xa1,0x00,0x00,0x77,0x5a,0x00,0x00,0xf2,0xa1,0x00,0x00,0x7a,0x5a,0x00,0x00, 0xfa,0xa1,0x00,0x00,0x7f,0x5a,0x00,0x00,0x1e,0xa2,0x00,0x00,0x92,0x5a,0x00,0x00,0x2a,0xa2,0x00,0x00, 0x95,0x5a,0x00,0x00,0x5c,0xa2,0x00,0x00,0x9a,0x5a,0x00,0x00,0x64,0xa2,0x00,0x00,0xb2,0x5a,0x00,0x00, 0x90,0xa2,0x00,0x00,0xb3,0x5a,0x00,0x00,0x98,0xa2,0x00,0x00,0xb5,0x5a,0x00,0x00,0xa6,0xa2,0x00,0x00, 0xbe,0x5a,0x00,0x00,0xae,0xa2,0x00,0x00,0xc1,0x5a,0x00,0x00,0xb6,0xa2,0x00,0x00,0xc2,0x5a,0x00,0x00, 0xec,0xa2,0x00,0x00,0xc9,0x5a,0x00,0x00,0xfe,0xa2,0x00,0x00,0xcc,0x5a,0x00,0x00,0x20,0xa3,0x00,0x00, 0xcf,0x5a,0x00,0x00,0x56,0xa3,0x00,0x00,0xd4,0x5a,0x00,0x00,0x5e,0xa3,0x00,0x00,0xd6,0x5a,0x00,0x00, 0x66,0xa3,0x00,0x00,0xd8,0x5a,0x00,0x00,0x8a,0xa3,0x00,0x00,0xe0,0x5a,0x00,0x00,0x92,0xa3,0x00,0x00, 0xe1,0x5a,0x00,0x00,0x9e,0xa3,0x00,0x00,0xe3,0x5a,0x00,0x00,0xc6,0xa3,0x00,0x00,0xe6,0x5a,0x00,0x00, 0xe0,0xa3,0x00,0x00,0xe9,0x5a,0x00,0x00,0xf8,0xa3,0x00,0x00,0xea,0x5a,0x00,0x00,0x26,0xa4,0x00,0x00, 0x09,0x5b,0x00,0x00,0x2e,0xa4,0x00,0x00,0x17,0x5b,0x00,0x00,0x66,0xa4,0x00,0x00,0x34,0x5b,0x00,0x00, 0x6e,0xa4,0x00,0x00,0x40,0x5b,0x00,0x00,0x76,0xa4,0x00,0x00,0x50,0x5b,0x00,0x00,0x8a,0xa4,0x00,0x00, 0x51,0x5b,0x00,0x00,0xc4,0xa4,0x00,0x00,0x54,0x5b,0x00,0x00,0xfc,0xa4,0x00,0x00,0x55,0x5b,0x00,0x00, 0x2e,0xa5,0x00,0x00,0x56,0x5b,0x00,0x00,0x60,0xa5,0x00,0x00,0x57,0x5b,0x00,0x00,0x68,0xa5,0x00,0x00, 0x58,0x5b,0x00,0x00,0x94,0xa5,0x00,0x00,0x59,0x5b,0x00,0x00,0xc2,0xa5,0x00,0x00,0x5a,0x5b,0x00,0x00, 0xf8,0xa5,0x00,0x00,0x5b,0x5b,0x00,0x00,0x08,0xa6,0x00,0x00,0x5c,0x5b,0x00,0x00,0x10,0xa6,0x00,0x00, 0x5d,0x5b,0x00,0x00,0x4e,0xa6,0x00,0x00,0x5f,0x5b,0x00,0x00,0x7c,0xa6,0x00,0x00,0x62,0x5b,0x00,0x00, 0xbc,0xa6,0x00,0x00,0x63,0x5b,0x00,0x00,0xd2,0xa6,0x00,0x00,0x64,0x5b,0x00,0x00,0x06,0xa7,0x00,0x00, 0x66,0x5b,0x00,0x00,0x3c,0xa7,0x00,0x00,0x69,0x5b,0x00,0x00,0x68,0xa7,0x00,0x00,0x6a,0x5b,0x00,0x00, 0x9e,0xa7,0x00,0x00,0x6c,0x5b,0x00,0x00,0xb4,0xa7,0x00,0x00,0x70,0x5b,0x00,0x00,0xbc,0xa7,0x00,0x00, 0x71,0x5b,0x00,0x00,0xf8,0xa7,0x00,0x00,0x73,0x5b,0x00,0x00,0x04,0xa8,0x00,0x00,0x75,0x5b,0x00,0x00, 0x1e,0xa8,0x00,0x00,0x7a,0x5b,0x00,0x00,0x4a,0xa8,0x00,0x00,0x7d,0x5b,0x00,0x00,0x6c,0xa8,0x00,0x00, 0x81,0x5b,0x00,0x00,0x9a,0xa8,0x00,0x00,0x83,0x5b,0x00,0x00,0xc8,0xa8,0x00,0x00,0x85,0x5b,0x00,0x00, 0xd6,0xa8,0x00,0x00,0x87,0x5b,0x00,0x00,0x0c,0xa9,0x00,0x00,0x88,0x5b,0x00,0x00,0x42,0xa9,0x00,0x00, 0x89,0x5b,0x00,0x00,0x72,0xa9,0x00,0x00,0x8b,0x5b,0x00,0x00,0xa2,0xa9,0x00,0x00,0x8c,0x5b,0x00,0x00, 0xd2,0xa9,0x00,0x00,0x8f,0x5b,0x00,0x00,0xfe,0xa9,0x00,0x00,0x95,0x5b,0x00,0x00,0x2e,0xaa,0x00,0x00, 0x97,0x5b,0x00,0x00,0x44,0xaa,0x00,0x00,0x98,0x5b,0x00,0x00,0x74,0xaa,0x00,0x00,0x99,0x5b,0x00,0x00, 0xa8,0xaa,0x00,0x00,0x9a,0x5b,0x00,0x00,0xbe,0xaa,0x00,0x00,0x9b,0x5b,0x00,0x00,0xea,0xaa,0x00,0x00, 0x9c,0x5b,0x00,0x00,0x1c,0xab,0x00,0x00,0x9d,0x5b,0x00,0x00,0x4c,0xab,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x78,0xab,0x00,0x00,0xa0,0x5b,0x00,0x00,0xa6,0xab,0x00,0x00,0xa1,0x5b,0x00,0x00,0xda,0xab,0x00,0x00, 0xa2,0x5b,0x00,0x00,0x08,0xac,0x00,0x00,0xa3,0x5b,0x00,0x00,0x36,0xac,0x00,0x00,0xa4,0x5b,0x00,0x00, 0x64,0xac,0x00,0x00,0xa5,0x5b,0x00,0x00,0x98,0xac,0x00,0x00,0xa6,0x5b,0x00,0x00,0xa0,0xac,0x00,0x00, 0xaa,0x5b,0x00,0x00,0xc4,0xac,0x00,0x00,0xab,0x5b,0x00,0x00,0x00,0xad,0x00,0x00,0xb0,0x5b,0x00,0x00, 0x36,0xad,0x00,0x00,0xb3,0x5b,0x00,0x00,0x66,0xad,0x00,0x00,0xb4,0x5b,0x00,0x00,0x9a,0xad,0x00,0x00, 0xb5,0x5b,0x00,0x00,0xce,0xad,0x00,0x00,0xb6,0x5b,0x00,0x00,0xf6,0xad,0x00,0x00,0xb8,0x5b,0x00,0x00, 0x22,0xae,0x00,0x00,0xb9,0x5b,0x00,0x00,0x2a,0xae,0x00,0x00,0xbd,0x5b,0x00,0x00,0x5a,0xae,0x00,0x00, 0xbe,0x5b,0x00,0x00,0x86,0xae,0x00,0x00,0xbf,0x5b,0x00,0x00,0xc2,0xae,0x00,0x00,0xc2,0x5b,0x00,0x00, 0xf4,0xae,0x00,0x00,0xc4,0x5b,0x00,0x00,0x22,0xaf,0x00,0x00,0xc5,0x5b,0x00,0x00,0x52,0xaf,0x00,0x00, 0xc6,0x5b,0x00,0x00,0x72,0xaf,0x00,0x00,0xc7,0x5b,0x00,0x00,0xa8,0xaf,0x00,0x00,0xcc,0x5b,0x00,0x00, 0xb8,0xaf,0x00,0x00,0xd0,0x5b,0x00,0x00,0xea,0xaf,0x00,0x00,0xd2,0x5b,0x00,0x00,0xf2,0xaf,0x00,0x00, 0xd3,0x5b,0x00,0x00,0x1e,0xb0,0x00,0x00,0xdd,0x5b,0x00,0x00,0x5a,0xb0,0x00,0x00,0xdf,0x5b,0x00,0x00, 0x98,0xb0,0x00,0x00,0xe1,0x5b,0x00,0x00,0xe2,0xb0,0x00,0x00,0xe4,0x5b,0x00,0x00,0x1a,0xb1,0x00,0x00, 0xe5,0x5b,0x00,0x00,0x22,0xb1,0x00,0x00,0xe8,0x5b,0x00,0x00,0x4a,0xb1,0x00,0x00,0xee,0x5b,0x00,0x00, 0x7c,0xb1,0x00,0x00,0xf0,0x5b,0x00,0x00,0x96,0xb1,0x00,0x00,0xf8,0x5b,0x00,0x00,0xb4,0xb1,0x00,0x00, 0xf9,0x5b,0x00,0x00,0xf8,0xb1,0x00,0x00,0xfa,0x5b,0x00,0x00,0x24,0xb2,0x00,0x00,0xfb,0x5b,0x00,0x00, 0x54,0xb2,0x00,0x00,0xfc,0x5b,0x00,0x00,0x84,0xb2,0x00,0x00,0xff,0x5b,0x00,0x00,0xb2,0xb2,0x00,0x00, 0x01,0x5c,0x00,0x00,0xe6,0xb2,0x00,0x00,0x04,0x5c,0x00,0x00,0x14,0xb3,0x00,0x00,0x06,0x5c,0x00,0x00, 0x42,0xb3,0x00,0x00,0x09,0x5c,0x00,0x00,0x78,0xb3,0x00,0x00,0x0a,0x5c,0x00,0x00,0xa8,0xb3,0x00,0x00, 0x0f,0x5c,0x00,0x00,0xd4,0xb3,0x00,0x00,0x11,0x5c,0x00,0x00,0x00,0xb4,0x00,0x00,0x14,0x5c,0x00,0x00, 0x30,0xb4,0x00,0x00,0x15,0x5c,0x00,0x00,0x60,0xb4,0x00,0x00,0x16,0x5c,0x00,0x00,0x6c,0xb4,0x00,0x00, 0x18,0x5c,0x00,0x00,0xa0,0xb4,0x00,0x00,0x1a,0x5c,0x00,0x00,0xd2,0xb4,0x00,0x00,0x1c,0x5c,0x00,0x00, 0x04,0xb5,0x00,0x00,0x1d,0x5c,0x00,0x00,0x10,0xb5,0x00,0x00,0x24,0x5c,0x00,0x00,0x44,0xb5,0x00,0x00, 0x25,0x5c,0x00,0x00,0x80,0xb5,0x00,0x00,0x27,0x5c,0x00,0x00,0x8a,0xb5,0x00,0x00,0x2c,0x5c,0x00,0x00, 0xc8,0xb5,0x00,0x00,0x31,0x5c,0x00,0x00,0xd4,0xb5,0x00,0x00,0x34,0x5c,0x00,0x00,0x02,0xb6,0x00,0x00, 0x38,0x5c,0x00,0x00,0x0a,0xb6,0x00,0x00,0x39,0x5c,0x00,0x00,0x36,0xb6,0x00,0x00,0x3a,0x5c,0x00,0x00, 0x58,0xb6,0x00,0x00,0x3b,0x5c,0x00,0x00,0x88,0xb6,0x00,0x00,0x3c,0x5c,0x00,0x00,0x9a,0xb6,0x00,0x00, 0x3d,0x5c,0x00,0x00,0xd6,0xb6,0x00,0x00,0x3e,0x5c,0x00,0x00,0x08,0xb7,0x00,0x00,0x3f,0x5c,0x00,0x00, 0x36,0xb7,0x00,0x00,0x40,0x5c,0x00,0x00,0x66,0xb7,0x00,0x00,0x41,0x5c,0x00,0x00,0x96,0xb7,0x00,0x00, 0x42,0x5c,0x00,0x00,0xcc,0xb7,0x00,0x00,0x45,0x5c,0x00,0x00,0x02,0xb8,0x00,0x00,0x48,0x5c,0x00,0x00, 0x38,0xb8,0x00,0x00,0x49,0x5c,0x00,0x00,0x68,0xb8,0x00,0x00,0x4a,0x5c,0x00,0x00,0x74,0xb8,0x00,0x00, 0x4b,0x5c,0x00,0x00,0x8c,0xb8,0x00,0x00,0x4c,0x5c,0x00,0x00,0xb8,0xb8,0x00,0x00,0x4e,0x5c,0x00,0x00, 0xc6,0xb8,0x00,0x00,0x4f,0x5c,0x00,0x00,0xde,0xb8,0x00,0x00,0x50,0x5c,0x00,0x00,0x0e,0xb9,0x00,0x00, 0x51,0x5c,0x00,0x00,0x16,0xb9,0x00,0x00,0x55,0x5c,0x00,0x00,0x22,0xb9,0x00,0x00,0x59,0x5c,0x00,0x00, 0x4e,0xb9,0x00,0x00,0x5e,0x5c,0x00,0x00,0x5a,0xb9,0x00,0x00,0x60,0x5c,0x00,0x00,0x88,0xb9,0x00,0x00, 0x61,0x5c,0x00,0x00,0xbc,0xb9,0x00,0x00,0x65,0x5c,0x00,0x00,0x0a,0xba,0x00,0x00,0x6f,0x5c,0x00,0x00, 0x3e,0xba,0x00,0x00,0x71,0x5c,0x00,0x00,0x6e,0xba,0x00,0x00,0x79,0x5c,0x00,0x00,0x9e,0xba,0x00,0x00, 0x81,0x5c,0x00,0x00,0xaa,0xba,0x00,0x00,0x82,0x5c,0x00,0x00,0xe4,0xba,0x00,0x00,0x8c,0x5c,0x00,0x00, 0x20,0xbb,0x00,0x00,0x90,0x5c,0x00,0x00,0x34,0xbb,0x00,0x00,0x91,0x5c,0x00,0x00,0x6c,0xbb,0x00,0x00, 0x94,0x5c,0x00,0x00,0x94,0xbb,0x00,0x00,0x97,0x5c,0x00,0x00,0xc8,0xbb,0x00,0x00,0x98,0x5c,0x00,0x00, 0xf8,0xbb,0x00,0x00,0x99,0x5c,0x00,0x00,0x06,0xbc,0x00,0x00,0x9a,0x5c,0x00,0x00,0x12,0xbc,0x00,0x00, 0x9b,0x5c,0x00,0x00,0x40,0xbc,0x00,0x00,0xa2,0x5c,0x00,0x00,0x6e,0xbc,0x00,0x00,0xa7,0x5c,0x00,0x00, 0x7c,0xbc,0x00,0x00,0xa9,0x5c,0x00,0x00,0x88,0xbc,0x00,0x00,0xab,0x5c,0x00,0x00,0xb6,0xbc,0x00,0x00, 0xac,0x5c,0x00,0x00,0xe2,0xbc,0x00,0x00,0xad,0x5c,0x00,0x00,0xea,0xbc,0x00,0x00,0xb1,0x5c,0x00,0x00, 0x20,0xbd,0x00,0x00,0xb3,0x5c,0x00,0x00,0x40,0xbd,0x00,0x00,0xb7,0x5c,0x00,0x00,0x76,0xbd,0x00,0x00, 0xb8,0x5c,0x00,0x00,0x86,0xbd,0x00,0x00,0xbf,0x5c,0x00,0x00,0xb2,0xbd,0x00,0x00,0xc4,0x5c,0x00,0x00, 0xc6,0xbd,0x00,0x00,0xc7,0x5c,0x00,0x00,0xd4,0xbd,0x00,0x00,0xd2,0x5c,0x00,0x00,0xea,0xbd,0x00,0x00, 0xe1,0x5c,0x00,0x00,0x02,0xbe,0x00,0x00,0xe5,0x5c,0x00,0x00,0x30,0xbe,0x00,0x00,0xe8,0x5c,0x00,0x00, 0x44,0xbe,0x00,0x00,0xea,0x5c,0x00,0x00,0x86,0xbe,0x00,0x00,0xed,0x5c,0x00,0x00,0x8e,0xbe,0x00,0x00, 0xf0,0x5c,0x00,0x00,0xb8,0xbe,0x00,0x00,0xfb,0x5c,0x00,0x00,0xe8,0xbe,0x00,0x00,0x00,0x5d,0x00,0x00, 0x10,0xbf,0x00,0x00,0x01,0x5d,0x00,0x00,0x18,0xbf,0x00,0x00,0x02,0x5d,0x00,0x00,0x26,0xbf,0x00,0x00, 0x06,0x5d,0x00,0x00,0x34,0xbf,0x00,0x00,0x07,0x5d,0x00,0x00,0x4e,0xbf,0x00,0x00,0x0e,0x5d,0x00,0x00, 0x7e,0xbf,0x00,0x00,0x11,0x5d,0x00,0x00,0x86,0xbf,0x00,0x00,0x14,0x5d,0x00,0x00,0x92,0xbf,0x00,0x00, 0x16,0x5d,0x00,0x00,0xca,0xbf,0x00,0x00,0x1b,0x5d,0x00,0x00,0xfa,0xbf,0x00,0x00,0x1e,0x5d,0x00,0x00, 0x0e,0xc0,0x00,0x00,0x29,0x5d,0x00,0x00,0x16,0xc0,0x00,0x00,0x2d,0x5d,0x00,0x00,0x44,0xc0,0x00,0x00, 0x2e,0x5d,0x00,0x00,0x6c,0xc0,0x00,0x00,0x34,0x5d,0x00,0x00,0x76,0xc0,0x00,0x00,0x3d,0x5d,0x00,0x00, 0x86,0xc0,0x00,0x00,0x47,0x5d,0x00,0x00,0x96,0xc0,0x00,0x00,0x4a,0x5d,0x00,0x00,0xa2,0xc0,0x00,0x00, 0x4c,0x5d,0x00,0x00,0xc6,0xc0,0x00,0x00,0x5e,0x5d,0x00,0x00,0xee,0xc0,0x00,0x00,0x69,0x5d,0x00,0x00, 0xf6,0xc0,0x00,0x00,0x99,0x5d,0x00,0x00,0x3a,0xc1,0x00,0x00,0xc5,0x5d,0x00,0x00,0x42,0xc1,0x00,0x00, 0xc9,0x5d,0x00,0x00,0x50,0xc1,0x00,0x00,0xcd,0x5d,0x00,0x00,0x58,0xc1,0x00,0x00,0xdd,0x5d,0x00,0x00, 0x8c,0xc1,0x00,0x00,0xde,0x5d,0x00,0x00,0xbe,0xc1,0x00,0x00,0xe1,0x5d,0x00,0x00,0xee,0xc1,0x00,0x00, 0xe2,0x5d,0x00,0x00,0x20,0xc2,0x00,0x00,0xe5,0x5d,0x00,0x00,0x4e,0xc2,0x00,0x00,0xe6,0x5d,0x00,0x00, 0x7c,0xc2,0x00,0x00,0xe7,0x5d,0x00,0x00,0xa8,0xc2,0x00,0x00,0xe8,0x5d,0x00,0x00,0xdc,0xc2,0x00,0x00, 0xe9,0x5d,0x00,0x00,0x0a,0xc3,0x00,0x00,0xeb,0x5d,0x00,0x00,0x40,0xc3,0x00,0x00,0xee,0x5d,0x00,0x00, 0x72,0xc3,0x00,0x00,0xef,0x5d,0x00,0x00,0xa4,0xc3,0x00,0x00,0xf1,0x5d,0x00,0x00,0xac,0xc3,0x00,0x00, 0xf2,0x5d,0x00,0x00,0xe0,0xc3,0x00,0x00,0xf3,0x5d,0x00,0x00,0x12,0xc4,0x00,0x00,0xf4,0x5d,0x00,0x00, 0x22,0xc4,0x00,0x00,0xf7,0x5d,0x00,0x00,0x5c,0xc4,0x00,0x00,0xfd,0x5d,0x00,0x00,0x84,0xc4,0x00,0x00, 0xfe,0x5d,0x00,0x00,0x8e,0xc4,0x00,0x00,0xff,0x5d,0x00,0x00,0xb4,0xc4,0x00,0x00,0x01,0x5e,0x00,0x00, 0xca,0xc4,0x00,0x00,0x02,0x5e,0x00,0x00,0xea,0xc4,0x00,0x00,0x03,0x5e,0x00,0x00,0x1c,0xc5,0x00,0x00, 0x05,0x5e,0x00,0x00,0x4e,0xc5,0x00,0x00,0x06,0x5e,0x00,0x00,0x7e,0xc5,0x00,0x00,0x08,0x5e,0x00,0x00, 0xb4,0xc5,0x00,0x00,0x0c,0x5e,0x00,0x00,0xe4,0xc5,0x00,0x00,0x0f,0x5e,0x00,0x00,0x20,0xc6,0x00,0x00, 0x10,0x5e,0x00,0x00,0x28,0xc6,0x00,0x00,0x11,0x5e,0x00,0x00,0x58,0xc6,0x00,0x00,0x15,0x5e,0x00,0x00, 0x60,0xc6,0x00,0x00,0x16,0x5e,0x00,0x00,0xa6,0xc6,0x00,0x00,0x18,0x5e,0x00,0x00,0xec,0xc6,0x00,0x00, 0x1b,0x5e,0x00,0x00,0x00,0xc7,0x00,0x00,0x1d,0x5e,0x00,0x00,0x14,0xc7,0x00,0x00,0x26,0x5e,0x00,0x00, 0x46,0xc7,0x00,0x00,0x27,0x5e,0x00,0x00,0x72,0xc7,0x00,0x00,0x2d,0x5e,0x00,0x00,0xa2,0xc7,0x00,0x00, 0x2e,0x5e,0x00,0x00,0xd4,0xc7,0x00,0x00,0x37,0x5e,0x00,0x00,0x02,0xc8,0x00,0x00,0x38,0x5e,0x00,0x00, 0x16,0xc8,0x00,0x00,0x39,0x5e,0x00,0x00,0x44,0xc8,0x00,0x00,0x3d,0x5e,0x00,0x00,0x4c,0xc8,0x00,0x00, 0x42,0x5e,0x00,0x00,0x7e,0xc8,0x00,0x00,0x45,0x5e,0x00,0x00,0x8c,0xc8,0x00,0x00,0x4c,0x5e,0x00,0x00, 0xa8,0xc8,0x00,0x00,0x54,0x5e,0x00,0x00,0xb0,0xc8,0x00,0x00,0x55,0x5e,0x00,0x00,0xbc,0xc8,0x00,0x00, 0x5e,0x5e,0x00,0x00,0xee,0xc8,0x00,0x00,0x61,0x5e,0x00,0x00,0xf6,0xc8,0x00,0x00,0x62,0x5e,0x00,0x00, 0x16,0xc9,0x00,0x00,0x72,0x5e,0x00,0x00,0x1e,0xc9,0x00,0x00,0x73,0x5e,0x00,0x00,0x4c,0xc9,0x00,0x00, 0x74,0x5e,0x00,0x00,0x7a,0xc9,0x00,0x00,0x76,0x5e,0x00,0x00,0xa8,0xc9,0x00,0x00,0x78,0x5e,0x00,0x00, 0xd6,0xc9,0x00,0x00,0x7a,0x5e,0x00,0x00,0x0c,0xca,0x00,0x00,0x7b,0x5e,0x00,0x00,0x34,0xca,0x00,0x00, 0x7c,0x5e,0x00,0x00,0x62,0xca,0x00,0x00,0x7d,0x5e,0x00,0x00,0x90,0xca,0x00,0x00,0x7f,0x5e,0x00,0x00, 0xbe,0xca,0x00,0x00,0x84,0x5e,0x00,0x00,0xee,0xca,0x00,0x00,0x86,0x5e,0x00,0x00,0x1c,0xcb,0x00,0x00, 0x87,0x5e,0x00,0x00,0x48,0xcb,0x00,0x00,0x8a,0x5e,0x00,0x00,0x82,0xcb,0x00,0x00,0x8f,0x5e,0x00,0x00, 0xb4,0xcb,0x00,0x00,0x90,0x5e,0x00,0x00,0xe2,0xcb,0x00,0x00,0x93,0x5e,0x00,0x00,0x18,0xcc,0x00,0x00, 0x94,0x5e,0x00,0x00,0x4c,0xcc,0x00,0x00,0x95,0x5e,0x00,0x00,0x78,0xcc,0x00,0x00,0x96,0x5e,0x00,0x00, 0xa6,0xcc,0x00,0x00,0x97,0x5e,0x00,0x00,0xc0,0xcc,0x00,0x00,0x99,0x5e,0x00,0x00,0xec,0xcc,0x00,0x00, 0x9a,0x5e,0x00,0x00,0x1c,0xcd,0x00,0x00,0x9c,0x5e,0x00,0x00,0x4c,0xcd,0x00,0x00,0x9e,0x5e,0x00,0x00, 0x7c,0xcd,0x00,0x00,0x9f,0x5e,0x00,0x00,0xbe,0xcd,0x00,0x00,0xa0,0x5e,0x00,0x00,0xec,0xcd,0x00,0x00, 0xa6,0x5e,0x00,0x00,0xf4,0xcd,0x00,0x00,0xa7,0x5e,0x00,0x00,0x24,0xce,0x00,0x00,0xad,0x5e,0x00,0x00, 0x58,0xce,0x00,0x00,0xb5,0x5e,0x00,0x00,0x86,0xce,0x00,0x00,0xb6,0x5e,0x00,0x00,0xa8,0xce,0x00,0x00, 0xb7,0x5e,0x00,0x00,0xd6,0xce,0x00,0x00,0xb8,0x5e,0x00,0x00,0x0c,0xcf,0x00,0x00,0xb9,0x5e,0x00,0x00, 0x46,0xcf,0x00,0x00,0xbe,0x5e,0x00,0x00,0x4e,0xcf,0x00,0x00,0xc9,0x5e,0x00,0x00,0x5e,0xcf,0x00,0x00, 0xca,0x5e,0x00,0x00,0x92,0xcf,0x00,0x00,0xd3,0x5e,0x00,0x00,0xc6,0xcf,0x00,0x00,0xd6,0x5e,0x00,0x00, 0xd2,0xcf,0x00,0x00,0xdb,0x5e,0x00,0x00,0xe8,0xcf,0x00,0x00,0xe5,0x5e,0x00,0x00,0xfa,0xcf,0x00,0x00, 0xf6,0x5e,0x00,0x00,0x02,0xd0,0x00,0x00,0xf7,0x5e,0x00,0x00,0x2e,0xd0,0x00,0x00,0xfa,0x5e,0x00,0x00, 0x4e,0xd0,0x00,0x00,0xff,0x5e,0x00,0x00,0x7c,0xd0,0x00,0x00,0x00,0x5f,0x00,0x00,0xa8,0xd0,0x00,0x00, 0x01,0x5f,0x00,0x00,0xd6,0xd0,0x00,0x00,0x02,0x5f,0x00,0x00,0xde,0xd0,0x00,0x00,0x03,0x5f,0x00,0x00, 0x10,0xd1,0x00,0x00,0x04,0x5f,0x00,0x00,0x3e,0xd1,0x00,0x00,0x08,0x5f,0x00,0x00,0x74,0xd1,0x00,0x00, 0x0a,0x5f,0x00,0x00,0x84,0xd1,0x00,0x00,0x0b,0x5f,0x00,0x00,0xa4,0xd1,0x00,0x00,0x0f,0x5f,0x00,0x00, 0xc6,0xd1,0x00,0x00,0x11,0x5f,0x00,0x00,0xde,0xd1,0x00,0x00,0x13,0x5f,0x00,0x00,0xee,0xd1,0x00,0x00, 0x15,0x5f,0x00,0x00,0x24,0xd2,0x00,0x00,0x17,0x5f,0x00,0x00,0x50,0xd2,0x00,0x00,0x18,0x5f,0x00,0x00, 0x98,0xd2,0x00,0x00,0x1b,0x5f,0x00,0x00,0xc6,0xd2,0x00,0x00,0x1f,0x5f,0x00,0x00,0xd4,0xd2,0x00,0x00, 0x20,0x5f,0x00,0x00,0xf6,0xd2,0x00,0x00,0x25,0x5f,0x00,0x00,0x28,0xd3,0x00,0x00,0x26,0x5f,0x00,0x00, 0x5e,0xd3,0x00,0x00,0x27,0x5f,0x00,0x00,0x94,0xd3,0x00,0x00,0x29,0x5f,0x00,0x00,0xc4,0xd3,0x00,0x00, 0x2a,0x5f,0x00,0x00,0xd8,0xd3,0x00,0x00,0x2d,0x5f,0x00,0x00,0xe0,0xd3,0x00,0x00,0x2f,0x5f,0x00,0x00, 0xf4,0xd3,0x00,0x00,0x31,0x5f,0x00,0x00,0x28,0xd4,0x00,0x00,0x39,0x5f,0x00,0x00,0x5a,0xd4,0x00,0x00, 0x3a,0x5f,0x00,0x00,0x8a,0xd4,0x00,0x00,0x3c,0x5f,0x00,0x00,0xb6,0xd4,0x00,0x00,0x52,0x5f,0x00,0x00, 0xc4,0xd4,0x00,0x00,0x53,0x5f,0x00,0x00,0xf2,0xd4,0x00,0x00,0x55,0x5f,0x00,0x00,0x1e,0xd5,0x00,0x00, 0x56,0x5f,0x00,0x00,0x50,0xd5,0x00,0x00,0x57,0x5f,0x00,0x00,0x58,0xd5,0x00,0x00,0x5d,0x5f,0x00,0x00, 0x6e,0xd5,0x00,0x00,0x62,0x5f,0x00,0x00,0xa0,0xd5,0x00,0x00,0x64,0x5f,0x00,0x00,0xd0,0xd5,0x00,0x00, 0x69,0x5f,0x00,0x00,0xea,0xd5,0x00,0x00,0x6a,0x5f,0x00,0x00,0x16,0xd6,0x00,0x00,0x6c,0x5f,0x00,0x00, 0x52,0xd6,0x00,0x00,0x6d,0x5f,0x00,0x00,0x78,0xd6,0x00,0x00,0x70,0x5f,0x00,0x00,0xae,0xd6,0x00,0x00, 0x71,0x5f,0x00,0x00,0xe6,0xd6,0x00,0x00,0x73,0x5f,0x00,0x00,0x16,0xd7,0x00,0x00,0x77,0x5f,0x00,0x00, 0x1e,0xd7,0x00,0x00,0x79,0x5f,0x00,0x00,0x36,0xd7,0x00,0x00,0x7b,0x5f,0x00,0x00,0x52,0xd7,0x00,0x00, 0x7c,0x5f,0x00,0x00,0x8c,0xd7,0x00,0x00,0x80,0x5f,0x00,0x00,0xc0,0xd7,0x00,0x00,0x81,0x5f,0x00,0x00, 0xec,0xd7,0x00,0x00,0x84,0x5f,0x00,0x00,0x18,0xd8,0x00,0x00,0x85,0x5f,0x00,0x00,0x46,0xd8,0x00,0x00, 0x87,0x5f,0x00,0x00,0x72,0xd8,0x00,0x00,0x88,0x5f,0x00,0x00,0x96,0xd8,0x00,0x00,0x8b,0x5f,0x00,0x00, 0xc2,0xd8,0x00,0x00,0x90,0x5f,0x00,0x00,0xf4,0xd8,0x00,0x00,0x92,0x5f,0x00,0x00,0x2a,0xd9,0x00,0x00, 0x95,0x5f,0x00,0x00,0x62,0xd9,0x00,0x00,0x97,0x5f,0x00,0x00,0x6a,0xd9,0x00,0x00,0x98,0x5f,0x00,0x00, 0x98,0xd9,0x00,0x00,0x99,0x5f,0x00,0x00,0xa0,0xd9,0x00,0x00,0x9c,0x5f,0x00,0x00,0xa8,0xd9,0x00,0x00, 0xa1,0x5f,0x00,0x00,0xb0,0xd9,0x00,0x00,0xaa,0x5f,0x00,0x00,0xde,0xd9,0x00,0x00,0xac,0x5f,0x00,0x00, 0x1a,0xda,0x00,0x00,0xad,0x5f,0x00,0x00,0x22,0xda,0x00,0x00,0xae,0x5f,0x00,0x00,0x2a,0xda,0x00,0x00, 0xaf,0x5f,0x00,0x00,0x5a,0xda,0x00,0x00,0xb7,0x5f,0x00,0x00,0x62,0xda,0x00,0x00,0xbc,0x5f,0x00,0x00, 0x92,0xda,0x00,0x00,0xbd,0x5f,0x00,0x00,0x9a,0xda,0x00,0x00,0xc3,0x5f,0x00,0x00,0xc8,0xda,0x00,0x00, 0xc5,0x5f,0x00,0x00,0xfa,0xda,0x00,0x00,0xc6,0x5f,0x00,0x00,0x2e,0xdb,0x00,0x00,0xc9,0x5f,0x00,0x00, 0x60,0xdb,0x00,0x00,0xcc,0x5f,0x00,0x00,0x6e,0xdb,0x00,0x00,0xcd,0x5f,0x00,0x00,0x9a,0xdb,0x00,0x00, 0xcf,0x5f,0x00,0x00,0xd0,0xdb,0x00,0x00,0xd0,0x5f,0x00,0x00,0xf0,0xdb,0x00,0x00,0xd2,0x5f,0x00,0x00, 0x00,0xdc,0x00,0x00,0xd6,0x5f,0x00,0x00,0x0e,0xdc,0x00,0x00,0xd7,0x5f,0x00,0x00,0x22,0xdc,0x00,0x00, 0xd8,0x5f,0x00,0x00,0x56,0xdc,0x00,0x00,0xd9,0x5f,0x00,0x00,0x8c,0xdc,0x00,0x00,0xdd,0x5f,0x00,0x00, 0xc6,0xdc,0x00,0x00,0xe0,0x5f,0x00,0x00,0xce,0xdc,0x00,0x00,0xe1,0x5f,0x00,0x00,0xfc,0xdc,0x00,0x00, 0xe4,0x5f,0x00,0x00,0x04,0xdd,0x00,0x00,0xe7,0x5f,0x00,0x00,0x14,0xdd,0x00,0x00,0xeb,0x5f,0x00,0x00, 0x4a,0xdd,0x00,0x00,0xf5,0x5f,0x00,0x00,0x78,0xdd,0x00,0x00,0xf8,0x5f,0x00,0x00,0xa8,0xdd,0x00,0x00, 0xfb,0x5f,0x00,0x00,0xb8,0xdd,0x00,0x00,0xfd,0x5f,0x00,0x00,0xde,0xdd,0x00,0x00,0xff,0x5f,0x00,0x00, 0x16,0xde,0x00,0x00,0x00,0x60,0x00,0x00,0x32,0xde,0x00,0x00,0x01,0x60,0x00,0x00,0x5e,0xde,0x00,0x00, 0x02,0x60,0x00,0x00,0x86,0xde,0x00,0x00,0x03,0x60,0x00,0x00,0x96,0xde,0x00,0x00,0x04,0x60,0x00,0x00, 0x9e,0xde,0x00,0x00,0x05,0x60,0x00,0x00,0xa6,0xde,0x00,0x00,0x06,0x60,0x00,0x00,0xce,0xde,0x00,0x00, 0x0e,0x60,0x00,0x00,0xda,0xde,0x00,0x00,0x0f,0x60,0x00,0x00,0x16,0xdf,0x00,0x00,0x12,0x60,0x00,0x00, 0x2a,0xdf,0x00,0x00,0x14,0x60,0x00,0x00,0x60,0xdf,0x00,0x00,0x15,0x60,0x00,0x00,0x7e,0xdf,0x00,0x00, 0x16,0x60,0x00,0x00,0xa2,0xdf,0x00,0x00,0x19,0x60,0x00,0x00,0xaa,0xdf,0x00,0x00,0x1c,0x60,0x00,0x00, 0xbe,0xdf,0x00,0x00,0x1d,0x60,0x00,0x00,0xe2,0xdf,0x00,0x00,0x20,0x60,0x00,0x00,0x10,0xe0,0x00,0x00, 0x21,0x60,0x00,0x00,0x28,0xe0,0x00,0x00,0x25,0x60,0x00,0x00,0x5c,0xe0,0x00,0x00,0x26,0x60,0x00,0x00, 0x8a,0xe0,0x00,0x00,0x27,0x60,0x00,0x00,0x9e,0xe0,0x00,0x00,0x28,0x60,0x00,0x00,0xce,0xe0,0x00,0x00, 0x2a,0x60,0x00,0x00,0x02,0xe1,0x00,0x00,0x2b,0x60,0x00,0x00,0x34,0xe1,0x00,0x00,0x2f,0x60,0x00,0x00, 0x3c,0xe1,0x00,0x00,0x35,0x60,0x00,0x00,0x66,0xe1,0x00,0x00,0x3b,0x60,0x00,0x00,0x86,0xe1,0x00,0x00, 0x41,0x60,0x00,0x00,0xb4,0xe1,0x00,0x00,0x43,0x60,0x00,0x00,0xc4,0xe1,0x00,0x00,0x4b,0x60,0x00,0x00, 0xe4,0xe1,0x00,0x00,0x4d,0x60,0x00,0x00,0x16,0xe2,0x00,0x00,0x50,0x60,0x00,0x00,0x56,0xe2,0x00,0x00, 0x52,0x60,0x00,0x00,0x8c,0xe2,0x00,0x00,0x53,0x60,0x00,0x00,0xba,0xe2,0x00,0x00,0x55,0x60,0x00,0x00, 0xc6,0xe2,0x00,0x00,0x59,0x60,0x00,0x00,0xd6,0xe2,0x00,0x00,0x62,0x60,0x00,0x00,0xe4,0xe2,0x00,0x00, 0x63,0x60,0x00,0x00,0x1a,0xe3,0x00,0x00,0x64,0x60,0x00,0x00,0x52,0xe3,0x00,0x00,0x68,0x60,0x00,0x00, 0x66,0xe3,0x00,0x00,0x69,0x60,0x00,0x00,0xa2,0xe3,0x00,0x00,0x6a,0x60,0x00,0x00,0xd0,0xe3,0x00,0x00, 0x6b,0x60,0x00,0x00,0xf0,0xe3,0x00,0x00,0x6c,0x60,0x00,0x00,0xf8,0xe3,0x00,0x00,0x6d,0x60,0x00,0x00, 0x28,0xe4,0x00,0x00,0x6f,0x60,0x00,0x00,0x5e,0xe4,0x00,0x00,0x70,0x60,0x00,0x00,0x92,0xe4,0x00,0x00, 0x73,0x60,0x00,0x00,0xca,0xe4,0x00,0x00,0x76,0x60,0x00,0x00,0xf8,0xe4,0x00,0x00,0x78,0x60,0x00,0x00, 0x2c,0xe5,0x00,0x00,0x79,0x60,0x00,0x00,0x3a,0xe5,0x00,0x00,0x7a,0x60,0x00,0x00,0x42,0xe5,0x00,0x00, 0x7b,0x60,0x00,0x00,0x56,0xe5,0x00,0x00,0x7c,0x60,0x00,0x00,0x72,0xe5,0x00,0x00,0x7d,0x60,0x00,0x00, 0x96,0xe5,0x00,0x00,0x84,0x60,0x00,0x00,0xa2,0xe5,0x00,0x00,0x89,0x60,0x00,0x00,0xde,0xe5,0x00,0x00, 0x8c,0x60,0x00,0x00,0x16,0xe6,0x00,0x00,0x8d,0x60,0x00,0x00,0x22,0xe6,0x00,0x00,0x94,0x60,0x00,0x00, 0x46,0xe6,0x00,0x00,0x96,0x60,0x00,0x00,0x7c,0xe6,0x00,0x00,0x9a,0x60,0x00,0x00,0xa8,0xe6,0x00,0x00, 0x9f,0x60,0x00,0x00,0xb4,0xe6,0x00,0x00,0xa0,0x60,0x00,0x00,0xe2,0xe6,0x00,0x00,0xa3,0x60,0x00,0x00, 0x14,0xe7,0x00,0x00,0xa6,0x60,0x00,0x00,0x4a,0xe7,0x00,0x00,0xa8,0x60,0x00,0x00,0x76,0xe7,0x00,0x00, 0xac,0x60,0x00,0x00,0x82,0xe7,0x00,0x00,0xad,0x60,0x00,0x00,0xb2,0xe7,0x00,0x00,0xaf,0x60,0x00,0x00, 0xbe,0xe7,0x00,0x00,0xb2,0x60,0x00,0x00,0xca,0xe7,0x00,0x00,0xb8,0x60,0x00,0x00,0xf6,0xe7,0x00,0x00, 0xbb,0x60,0x00,0x00,0x02,0xe8,0x00,0x00,0xbc,0x60,0x00,0x00,0x0e,0xe8,0x00,0x00,0xc5,0x60,0x00,0x00, 0x2c,0xe8,0x00,0x00,0xc6,0x60,0x00,0x00,0x5a,0xe8,0x00,0x00,0xca,0x60,0x00,0x00,0x6a,0xe8,0x00,0x00, 0xcb,0x60,0x00,0x00,0x96,0xe8,0x00,0x00,0xd1,0x60,0x00,0x00,0x9e,0xe8,0x00,0x00,0xd3,0x60,0x00,0x00, 0xae,0xe8,0x00,0x00,0xd5,0x60,0x00,0x00,0xb6,0xe8,0x00,0x00,0xd8,0x60,0x00,0x00,0xc6,0xe8,0x00,0x00, 0xd9,0x60,0x00,0x00,0xd2,0xe8,0x00,0x00,0xdb,0x60,0x00,0x00,0xda,0xe8,0x00,0x00,0xdc,0x60,0x00,0x00, 0xe2,0xe8,0x00,0x00,0xdd,0x60,0x00,0x00,0x16,0xe9,0x00,0x00,0xdf,0x60,0x00,0x00,0x1e,0xe9,0x00,0x00, 0xe0,0x60,0x00,0x00,0x5e,0xe9,0x00,0x00,0xe6,0x60,0x00,0x00,0x8e,0xe9,0x00,0x00,0xe7,0x60,0x00,0x00, 0xa2,0xe9,0x00,0x00,0xe8,0x60,0x00,0x00,0xb8,0xe9,0x00,0x00,0xe9,0x60,0x00,0x00,0xe8,0xe9,0x00,0x00, 0xeb,0x60,0x00,0x00,0x1e,0xea,0x00,0x00,0xec,0x60,0x00,0x00,0x2e,0xea,0x00,0x00,0xed,0x60,0x00,0x00, 0x3e,0xea,0x00,0x00,0xef,0x60,0x00,0x00,0x56,0xea,0x00,0x00,0xf0,0x60,0x00,0x00,0x86,0xea,0x00,0x00, 0xf3,0x60,0x00,0x00,0x96,0xea,0x00,0x00,0xf4,0x60,0x00,0x00,0xca,0xea,0x00,0x00,0xf6,0x60,0x00,0x00, 0xde,0xea,0x00,0x00,0xf9,0x60,0x00,0x00,0x0a,0xeb,0x00,0x00,0xfa,0x60,0x00,0x00,0x46,0xeb,0x00,0x00, 0x01,0x61,0x00,0x00,0x70,0xeb,0x00,0x00,0x06,0x61,0x00,0x00,0xa8,0xeb,0x00,0x00,0x08,0x61,0x00,0x00, 0xb4,0xeb,0x00,0x00,0x09,0x61,0x00,0x00,0xe2,0xeb,0x00,0x00,0x0f,0x61,0x00,0x00,0x00,0xec,0x00,0x00, 0x15,0x61,0x00,0x00,0x30,0xec,0x00,0x00,0x1a,0x61,0x00,0x00,0x38,0xec,0x00,0x00,0x1f,0x61,0x00,0x00, 0x6a,0xec,0x00,0x00,0x20,0x61,0x00,0x00,0x96,0xec,0x00,0x00,0x23,0x61,0x00,0x00,0xa2,0xec,0x00,0x00, 0x24,0x61,0x00,0x00,0xdc,0xec,0x00,0x00,0x27,0x61,0x00,0x00,0x10,0xed,0x00,0x00,0x3f,0x61,0x00,0x00, 0x42,0xed,0x00,0x00,0x48,0x61,0x00,0x00,0x7c,0xed,0x00,0x00,0x4c,0x61,0x00,0x00,0xaa,0xed,0x00,0x00, 0x4e,0x61,0x00,0x00,0xea,0xed,0x00,0x00,0x51,0x61,0x00,0x00,0x22,0xee,0x00,0x00,0x53,0x61,0x00,0x00, 0x2a,0xee,0x00,0x00,0x55,0x61,0x00,0x00,0x32,0xee,0x00,0x00,0x62,0x61,0x00,0x00,0x7a,0xee,0x00,0x00, 0x67,0x61,0x00,0x00,0xae,0xee,0x00,0x00,0x68,0x61,0x00,0x00,0xdc,0xee,0x00,0x00,0x70,0x61,0x00,0x00, 0xf4,0xee,0x00,0x00,0x75,0x61,0x00,0x00,0x2a,0xef,0x00,0x00,0x77,0x61,0x00,0x00,0x32,0xef,0x00,0x00, 0x8b,0x61,0x00,0x00,0x84,0xef,0x00,0x00,0x8d,0x61,0x00,0x00,0xa2,0xef,0x00,0x00,0x8e,0x61,0x00,0x00, 0xaa,0xef,0x00,0x00,0x94,0x61,0x00,0x00,0xba,0xef,0x00,0x00,0xa7,0x61,0x00,0x00,0xc2,0xef,0x00,0x00, 0xa8,0x61,0x00,0x00,0xce,0xef,0x00,0x00,0xa9,0x61,0x00,0x00,0x04,0xf0,0x00,0x00,0xac,0x61,0x00,0x00, 0x1c,0xf0,0x00,0x00,0xb7,0x61,0x00,0x00,0x28,0xf0,0x00,0x00,0xbe,0x61,0x00,0x00,0x34,0xf0,0x00,0x00, 0xc2,0x61,0x00,0x00,0x40,0xf0,0x00,0x00,0xc8,0x61,0x00,0x00,0x66,0xf0,0x00,0x00,0xca,0x61,0x00,0x00, 0x82,0xf0,0x00,0x00,0xcb,0x61,0x00,0x00,0x9e,0xf0,0x00,0x00,0xd1,0x61,0x00,0x00,0xaa,0xf0,0x00,0x00, 0xd2,0x61,0x00,0x00,0xb2,0xf0,0x00,0x00,0xe6,0x61,0x00,0x00,0xe0,0xf0,0x00,0x00,0xee,0x61,0x00,0x00, 0xf0,0xf0,0x00,0x00,0xf5,0x61,0x00,0x00,0xf8,0xf0,0x00,0x00,0xff,0x61,0x00,0x00,0x0c,0xf1,0x00,0x00, 0x06,0x62,0x00,0x00,0x1c,0xf1,0x00,0x00,0x08,0x62,0x00,0x00,0x38,0xf1,0x00,0x00,0x0a,0x62,0x00,0x00, 0x76,0xf1,0x00,0x00,0x0b,0x62,0x00,0x00,0xaa,0xf1,0x00,0x00,0x0c,0x62,0x00,0x00,0xb2,0xf1,0x00,0x00, 0x0d,0x62,0x00,0x00,0xbe,0xf1,0x00,0x00,0x0e,0x62,0x00,0x00,0xdc,0xf1,0x00,0x00,0x0f,0x62,0x00,0x00, 0x14,0xf2,0x00,0x00,0x10,0x62,0x00,0x00,0x44,0xf2,0x00,0x00,0x11,0x62,0x00,0x00,0x70,0xf2,0x00,0x00, 0x12,0x62,0x00,0x00,0x9c,0xf2,0x00,0x00,0x15,0x62,0x00,0x00,0xca,0xf2,0x00,0x00,0x16,0x62,0x00,0x00, 0xd6,0xf2,0x00,0x00,0x17,0x62,0x00,0x00,0x14,0xf3,0x00,0x00,0x18,0x62,0x00,0x00,0x20,0xf3,0x00,0x00, 0x1a,0x62,0x00,0x00,0x50,0xf3,0x00,0x00,0x1b,0x62,0x00,0x00,0x88,0xf3,0x00,0x00,0x1f,0x62,0x00,0x00, 0xb2,0xf3,0x00,0x00,0x21,0x62,0x00,0x00,0xbe,0xf3,0x00,0x00,0x25,0x62,0x00,0x00,0xc6,0xf3,0x00,0x00, 0x2a,0x62,0x00,0x00,0xce,0xf3,0x00,0x00,0x2e,0x62,0x00,0x00,0x00,0xf4,0x00,0x00,0x33,0x62,0x00,0x00, 0x10,0xf4,0x00,0x00,0x34,0x62,0x00,0x00,0x3c,0xf4,0x00,0x00,0x37,0x62,0x00,0x00,0x76,0xf4,0x00,0x00, 0x3d,0x62,0x00,0x00,0xa8,0xf4,0x00,0x00,0x3e,0x62,0x00,0x00,0xb4,0xf4,0x00,0x00,0x3f,0x62,0x00,0x00, 0xc0,0xf4,0x00,0x00,0x40,0x62,0x00,0x00,0xf0,0xf4,0x00,0x00,0x41,0x62,0x00,0x00,0x22,0xf5,0x00,0x00, 0x42,0x62,0x00,0x00,0x58,0xf5,0x00,0x00,0x47,0x62,0x00,0x00,0x60,0xf5,0x00,0x00,0x48,0x62,0x00,0x00, 0x8e,0xf5,0x00,0x00,0x49,0x62,0x00,0x00,0x9c,0xf5,0x00,0x00,0x4b,0x62,0x00,0x00,0xa8,0xf5,0x00,0x00, 0x4d,0x62,0x00,0x00,0xd6,0xf5,0x00,0x00,0x4e,0x62,0x00,0x00,0x0a,0xf6,0x00,0x00,0x51,0x62,0x00,0x00, 0x3e,0xf6,0x00,0x00,0x52,0x62,0x00,0x00,0x74,0xf6,0x00,0x00,0x53,0x62,0x00,0x00,0xa0,0xf6,0x00,0x00, 0x54,0x62,0x00,0x00,0xce,0xf6,0x00,0x00,0x58,0x62,0x00,0x00,0xe6,0xf6,0x00,0x00,0x5b,0x62,0x00,0x00, 0x18,0xf7,0x00,0x00,0x63,0x62,0x00,0x00,0x2c,0xf7,0x00,0x00,0x66,0x62,0x00,0x00,0x58,0xf7,0x00,0x00, 0x67,0x62,0x00,0x00,0x68,0xf7,0x00,0x00,0x69,0x62,0x00,0x00,0x98,0xf7,0x00,0x00,0x6a,0x62,0x00,0x00, 0xc4,0xf7,0x00,0x00,0x6b,0x62,0x00,0x00,0xe4,0xf7,0x00,0x00,0x6c,0x62,0x00,0x00,0x12,0xf8,0x00,0x00, 0x6d,0x62,0x00,0x00,0x48,0xf8,0x00,0x00,0x6e,0x62,0x00,0x00,0x78,0xf8,0x00,0x00,0x6f,0x62,0x00,0x00, 0xa8,0xf8,0x00,0x00,0x70,0x62,0x00,0x00,0xd4,0xf8,0x00,0x00,0x73,0x62,0x00,0x00,0xf6,0xf8,0x00,0x00, 0x76,0x62,0x00,0x00,0x24,0xf9,0x00,0x00,0x79,0x62,0x00,0x00,0x56,0xf9,0x00,0x00,0x7a,0x62,0x00,0x00, 0x84,0xf9,0x00,0x00,0x7c,0x62,0x00,0x00,0x8c,0xf9,0x00,0x00,0x7e,0x62,0x00,0x00,0xbc,0xf9,0x00,0x00, 0x7f,0x62,0x00,0x00,0xec,0xf9,0x00,0x00,0x80,0x62,0x00,0x00,0x1a,0xfa,0x00,0x00,0x83,0x62,0x00,0x00, 0x4a,0xfa,0x00,0x00,0x84,0x62,0x00,0x00,0x56,0xfa,0x00,0x00,0x89,0x62,0x00,0x00,0x84,0xfa,0x00,0x00, 0x8a,0x62,0x00,0x00,0x98,0xfa,0x00,0x00,0x91,0x62,0x00,0x00,0xc4,0xfa,0x00,0x00,0x92,0x62,0x00,0x00, 0xfa,0xfa,0x00,0x00,0x93,0x62,0x00,0x00,0x34,0xfb,0x00,0x00,0x95,0x62,0x00,0x00,0x60,0xfb,0x00,0x00, 0x96,0x62,0x00,0x00,0x90,0xfb,0x00,0x00,0x97,0x62,0x00,0x00,0xc2,0xfb,0x00,0x00,0x98,0x62,0x00,0x00, 0xf6,0xfb,0x00,0x00,0x9a,0x62,0x00,0x00,0x24,0xfc,0x00,0x00,0x9b,0x62,0x00,0x00,0x58,0xfc,0x00,0x00, 0x9f,0x62,0x00,0x00,0x8a,0xfc,0x00,0x00,0xa0,0x62,0x00,0x00,0x9e,0xfc,0x00,0x00,0xa1,0x62,0x00,0x00, 0xd2,0xfc,0x00,0x00,0xa2,0x62,0x00,0x00,0xde,0xfc,0x00,0x00,0xa4,0x62,0x00,0x00,0x0a,0xfd,0x00,0x00, 0xa5,0x62,0x00,0x00,0x3a,0xfd,0x00,0x00,0xa8,0x62,0x00,0x00,0x66,0xfd,0x00,0x00,0xab,0x62,0x00,0x00, 0x6e,0xfd,0x00,0x00,0xac,0x62,0x00,0x00,0xa6,0xfd,0x00,0x00,0xb1,0x62,0x00,0x00,0xd6,0xfd,0x00,0x00, 0xb5,0x62,0x00,0x00,0x08,0xfe,0x00,0x00,0xb9,0x62,0x00,0x00,0x38,0xfe,0x00,0x00,0xbb,0x62,0x00,0x00, 0x66,0xfe,0x00,0x00,0xbc,0x62,0x00,0x00,0x6e,0xfe,0x00,0x00,0xbd,0x62,0x00,0x00,0x9c,0xfe,0x00,0x00, 0xbf,0x62,0x00,0x00,0xc8,0xfe,0x00,0x00,0xc2,0x62,0x00,0x00,0xd0,0xfe,0x00,0x00,0xc4,0x62,0x00,0x00, 0x00,0xff,0x00,0x00,0xc5,0x62,0x00,0x00,0x0e,0xff,0x00,0x00,0xc6,0x62,0x00,0x00,0x3c,0xff,0x00,0x00, 0xc7,0x62,0x00,0x00,0x6c,0xff,0x00,0x00,0xc8,0x62,0x00,0x00,0x82,0xff,0x00,0x00,0xc9,0x62,0x00,0x00, 0xa2,0xff,0x00,0x00,0xca,0x62,0x00,0x00,0xd2,0xff,0x00,0x00,0xcb,0x62,0x00,0x00,0xde,0xff,0x00,0x00, 0xcc,0x62,0x00,0x00,0xee,0xff,0x00,0x00,0xcd,0x62,0x00,0x00,0x20,0x00,0x01,0x00,0xce,0x62,0x00,0x00, 0x50,0x00,0x01,0x00,0xd0,0x62,0x00,0x00,0x60,0x00,0x01,0x00,0xd2,0x62,0x00,0x00,0x92,0x00,0x01,0x00, 0xd3,0x62,0x00,0x00,0xc4,0x00,0x01,0x00,0xd4,0x62,0x00,0x00,0xfa,0x00,0x01,0x00,0xd6,0x62,0x00,0x00, 0x2e,0x01,0x01,0x00,0xd7,0x62,0x00,0x00,0x5e,0x01,0x01,0x00,0xd8,0x62,0x00,0x00,0x7a,0x01,0x01,0x00, 0xd9,0x62,0x00,0x00,0xa8,0x01,0x01,0x00,0xda,0x62,0x00,0x00,0xd6,0x01,0x01,0x00,0xdb,0x62,0x00,0x00, 0xf6,0x01,0x01,0x00,0xdc,0x62,0x00,0x00,0x26,0x02,0x01,0x00,0xdf,0x62,0x00,0x00,0x52,0x02,0x01,0x00, 0xe2,0x62,0x00,0x00,0x7e,0x02,0x01,0x00,0xe3,0x62,0x00,0x00,0x9a,0x02,0x01,0x00,0xe5,0x62,0x00,0x00, 0xb8,0x02,0x01,0x00,0xe6,0x62,0x00,0x00,0xea,0x02,0x01,0x00,0xe7,0x62,0x00,0x00,0x1c,0x03,0x01,0x00, 0xe8,0x62,0x00,0x00,0x36,0x03,0x01,0x00,0xe9,0x62,0x00,0x00,0x66,0x03,0x01,0x00,0xec,0x62,0x00,0x00, 0x96,0x03,0x01,0x00,0xed,0x62,0x00,0x00,0xb0,0x03,0x01,0x00,0xee,0x62,0x00,0x00,0xd8,0x03,0x01,0x00, 0xef,0x62,0x00,0x00,0xea,0x03,0x01,0x00,0xf1,0x62,0x00,0x00,0x04,0x04,0x01,0x00,0xf3,0x62,0x00,0x00, 0x32,0x04,0x01,0x00,0xf4,0x62,0x00,0x00,0x68,0x04,0x01,0x00,0xf6,0x62,0x00,0x00,0x7a,0x04,0x01,0x00, 0xf7,0x62,0x00,0x00,0x8a,0x04,0x01,0x00,0xfc,0x62,0x00,0x00,0xb2,0x04,0x01,0x00,0xfd,0x62,0x00,0x00, 0xde,0x04,0x01,0x00,0xfe,0x62,0x00,0x00,0xe6,0x04,0x01,0x00,0xff,0x62,0x00,0x00,0x20,0x05,0x01,0x00, 0x01,0x63,0x00,0x00,0x4e,0x05,0x01,0x00,0x02,0x63,0x00,0x00,0x82,0x05,0x01,0x00,0x07,0x63,0x00,0x00, 0xb2,0x05,0x01,0x00,0x08,0x63,0x00,0x00,0xde,0x05,0x01,0x00,0x09,0x63,0x00,0x00,0xea,0x05,0x01,0x00, 0x0e,0x63,0x00,0x00,0x1c,0x06,0x01,0x00,0x11,0x63,0x00,0x00,0x32,0x06,0x01,0x00,0x16,0x63,0x00,0x00, 0x62,0x06,0x01,0x00,0x1a,0x63,0x00,0x00,0x98,0x06,0x01,0x00,0x1b,0x63,0x00,0x00,0xbc,0x06,0x01,0x00, 0x1e,0x63,0x00,0x00,0xc4,0x06,0x01,0x00,0x1f,0x63,0x00,0x00,0xcc,0x06,0x01,0x00,0x20,0x63,0x00,0x00, 0x16,0x07,0x01,0x00,0x21,0x63,0x00,0x00,0x46,0x07,0x01,0x00,0x23,0x63,0x00,0x00,0x76,0x07,0x01,0x00, 0x24,0x63,0x00,0x00,0x9c,0x07,0x01,0x00,0x25,0x63,0x00,0x00,0xca,0x07,0x01,0x00,0x28,0x63,0x00,0x00, 0xfe,0x07,0x01,0x00,0x2a,0x63,0x00,0x00,0x2e,0x08,0x01,0x00,0x2b,0x63,0x00,0x00,0x66,0x08,0x01,0x00, 0x2f,0x63,0x00,0x00,0x98,0x08,0x01,0x00,0x39,0x63,0x00,0x00,0xc4,0x08,0x01,0x00,0x3a,0x63,0x00,0x00, 0xd8,0x08,0x01,0x00,0x3d,0x63,0x00,0x00,0x08,0x09,0x01,0x00,0x42,0x63,0x00,0x00,0x34,0x09,0x01,0x00, 0x45,0x63,0x00,0x00,0x54,0x09,0x01,0x00,0x46,0x63,0x00,0x00,0x86,0x09,0x01,0x00,0x49,0x63,0x00,0x00, 0xa0,0x09,0x01,0x00,0x4b,0x63,0x00,0x00,0xda,0x09,0x01,0x00,0x4d,0x63,0x00,0x00,0x04,0x0a,0x01,0x00, 0x4e,0x63,0x00,0x00,0x1a,0x0a,0x01,0x00,0x4f,0x63,0x00,0x00,0x36,0x0a,0x01,0x00,0x50,0x63,0x00,0x00, 0x66,0x0a,0x01,0x00,0x55,0x63,0x00,0x00,0x98,0x0a,0x01,0x00,0x5e,0x63,0x00,0x00,0xca,0x0a,0x01,0x00, 0x5f,0x63,0x00,0x00,0xfa,0x0a,0x01,0x00,0x61,0x63,0x00,0x00,0x2e,0x0b,0x01,0x00,0x62,0x63,0x00,0x00, 0x58,0x0b,0x01,0x00,0x63,0x63,0x00,0x00,0x8c,0x0b,0x01,0x00,0x67,0x63,0x00,0x00,0xba,0x0b,0x01,0x00, 0x6d,0x63,0x00,0x00,0xf2,0x0b,0x01,0x00,0x6e,0x63,0x00,0x00,0xfa,0x0b,0x01,0x00,0x6f,0x63,0x00,0x00, 0x2e,0x0c,0x01,0x00,0x71,0x63,0x00,0x00,0x3c,0x0c,0x01,0x00,0x76,0x63,0x00,0x00,0x44,0x0c,0x01,0x00, 0x77,0x63,0x00,0x00,0x64,0x0c,0x01,0x00,0x7b,0x63,0x00,0x00,0x98,0x0c,0x01,0x00,0x80,0x63,0x00,0x00, 0xa4,0x0c,0x01,0x00,0x82,0x63,0x00,0x00,0xd4,0x0c,0x01,0x00,0x87,0x63,0x00,0x00,0xf0,0x0c,0x01,0x00, 0x88,0x63,0x00,0x00,0x0e,0x0d,0x01,0x00,0x89,0x63,0x00,0x00,0x3e,0x0d,0x01,0x00,0x8c,0x63,0x00,0x00, 0x6e,0x0d,0x01,0x00,0x8e,0x63,0x00,0x00,0x9c,0x0d,0x01,0x00,0x8f,0x63,0x00,0x00,0xa8,0x0d,0x01,0x00, 0x90,0x63,0x00,0x00,0xda,0x0d,0x01,0x00,0x92,0x63,0x00,0x00,0xfe,0x0d,0x01,0x00,0x96,0x63,0x00,0x00, 0x2c,0x0e,0x01,0x00,0x98,0x63,0x00,0x00,0x4c,0x0e,0x01,0x00,0x9b,0x63,0x00,0x00,0x8a,0x0e,0x01,0x00, 0xa0,0x63,0x00,0x00,0xaa,0x0e,0x01,0x00,0xa2,0x63,0x00,0x00,0xde,0x0e,0x01,0x00,0xa3,0x63,0x00,0x00, 0x0e,0x0f,0x01,0x00,0xa5,0x63,0x00,0x00,0x1e,0x0f,0x01,0x00,0xa7,0x63,0x00,0x00,0x4c,0x0f,0x01,0x00, 0xa8,0x63,0x00,0x00,0x7e,0x0f,0x01,0x00,0xa9,0x63,0x00,0x00,0xaa,0x0f,0x01,0x00,0xaa,0x63,0x00,0x00, 0xde,0x0f,0x01,0x00,0xac,0x63,0x00,0x00,0x12,0x10,0x01,0x00,0xae,0x63,0x00,0x00,0x22,0x10,0x01,0x00, 0xb0,0x63,0x00,0x00,0x2a,0x10,0x01,0x00,0xb3,0x63,0x00,0x00,0x58,0x10,0x01,0x00,0xb7,0x63,0x00,0x00, 0x74,0x10,0x01,0x00,0xb8,0x63,0x00,0x00,0x98,0x10,0x01,0x00,0xba,0x63,0x00,0x00,0xac,0x10,0x01,0x00, 0xbc,0x63,0x00,0x00,0xd8,0x10,0x01,0x00,0xc4,0x63,0x00,0x00,0xe4,0x10,0x01,0x00,0xc6,0x63,0x00,0x00, 0xf0,0x10,0x01,0x00,0xc9,0x63,0x00,0x00,0x00,0x11,0x01,0x00,0xcd,0x63,0x00,0x00,0x2c,0x11,0x01,0x00, 0xce,0x63,0x00,0x00,0x34,0x11,0x01,0x00,0xcf,0x63,0x00,0x00,0x40,0x11,0x01,0x00,0xd0,0x63,0x00,0x00, 0x6e,0x11,0x01,0x00,0xd2,0x63,0x00,0x00,0x9a,0x11,0x01,0x00,0xd6,0x63,0x00,0x00,0xc6,0x11,0x01,0x00, 0xd8,0x63,0x00,0x00,0xce,0x11,0x01,0x00,0xe0,0x63,0x00,0x00,0xd6,0x11,0x01,0x00,0xe1,0x63,0x00,0x00, 0xe2,0x11,0x01,0x00,0xe3,0x63,0x00,0x00,0x14,0x12,0x01,0x00,0xe6,0x63,0x00,0x00,0x34,0x12,0x01,0x00, 0xe9,0x63,0x00,0x00,0x3c,0x12,0x01,0x00,0xea,0x63,0x00,0x00,0x4c,0x12,0x01,0x00,0xed,0x63,0x00,0x00, 0x7e,0x12,0x01,0x00,0xf3,0x63,0x00,0x00,0xaa,0x12,0x01,0x00,0xf4,0x63,0x00,0x00,0xb2,0x12,0x01,0x00, 0xf6,0x63,0x00,0x00,0xe0,0x12,0x01,0x00,0xf8,0x63,0x00,0x00,0xe8,0x12,0x01,0x00,0xf9,0x63,0x00,0x00, 0xf0,0x12,0x01,0x00,0xfd,0x63,0x00,0x00,0xf8,0x12,0x01,0x00,0xfe,0x63,0x00,0x00,0x28,0x13,0x01,0x00, 0x00,0x64,0x00,0x00,0x34,0x13,0x01,0x00,0x01,0x64,0x00,0x00,0x50,0x13,0x01,0x00,0x02,0x64,0x00,0x00, 0x84,0x13,0x01,0x00,0x05,0x64,0x00,0x00,0xa6,0x13,0x01,0x00,0x06,0x64,0x00,0x00,0xda,0x13,0x01,0x00, 0x0b,0x64,0x00,0x00,0xe2,0x13,0x01,0x00,0x0f,0x64,0x00,0x00,0xf6,0x13,0x01,0x00,0x10,0x64,0x00,0x00, 0x26,0x14,0x01,0x00,0x13,0x64,0x00,0x00,0x2e,0x14,0x01,0x00,0x14,0x64,0x00,0x00,0x5e,0x14,0x01,0x00, 0x1c,0x64,0x00,0x00,0x6e,0x14,0x01,0x00,0x1e,0x64,0x00,0x00,0xa0,0x14,0x01,0x00,0x22,0x64,0x00,0x00, 0xcc,0x14,0x01,0x00,0x26,0x64,0x00,0x00,0xd4,0x14,0x01,0x00,0x2a,0x64,0x00,0x00,0xe8,0x14,0x01,0x00, 0x2c,0x64,0x00,0x00,0xf8,0x14,0x01,0x00,0x2d,0x64,0x00,0x00,0x34,0x15,0x01,0x00,0x33,0x64,0x00,0x00, 0x62,0x15,0x01,0x00,0x34,0x64,0x00,0x00,0x6a,0x15,0x01,0x00,0x35,0x64,0x00,0x00,0x72,0x15,0x01,0x00, 0x3a,0x64,0x00,0x00,0x9a,0x15,0x01,0x00,0x41,0x64,0x00,0x00,0xd6,0x15,0x01,0x00,0x44,0x64,0x00,0x00, 0xe6,0x15,0x01,0x00,0x46,0x64,0x00,0x00,0x1e,0x16,0x01,0x00,0x47,0x64,0x00,0x00,0x4a,0x16,0x01,0x00, 0x48,0x64,0x00,0x00,0x7e,0x16,0x01,0x00,0x4a,0x64,0x00,0x00,0x92,0x16,0x01,0x00,0x52,0x64,0x00,0x00, 0xbe,0x16,0x01,0x00,0x54,0x64,0x00,0x00,0xce,0x16,0x01,0x00,0x58,0x64,0x00,0x00,0xfc,0x16,0x01,0x00, 0x5e,0x64,0x00,0x00,0x28,0x17,0x01,0x00,0x67,0x64,0x00,0x00,0x30,0x17,0x01,0x00,0x69,0x64,0x00,0x00, 0x60,0x17,0x01,0x00,0x6d,0x64,0x00,0x00,0x9e,0x17,0x01,0x00,0x78,0x64,0x00,0x00,0xaa,0x17,0x01,0x00, 0x79,0x64,0x00,0x00,0xea,0x17,0x01,0x00,0x7a,0x64,0x00,0x00,0x1a,0x18,0x01,0x00,0x82,0x64,0x00,0x00, 0x22,0x18,0x01,0x00,0x85,0x64,0x00,0x00,0x46,0x18,0x01,0x00,0x87,0x64,0x00,0x00,0x52,0x18,0x01,0x00, 0x91,0x64,0x00,0x00,0x84,0x18,0x01,0x00,0x92,0x64,0x00,0x00,0xbc,0x18,0x01,0x00,0x95,0x64,0x00,0x00, 0xee,0x18,0x01,0x00,0x99,0x64,0x00,0x00,0x20,0x19,0x01,0x00,0x9a,0x64,0x00,0x00,0x28,0x19,0x01,0x00, 0x9e,0x64,0x00,0x00,0x30,0x19,0x01,0x00,0xa4,0x64,0x00,0x00,0x5e,0x19,0x01,0x00,0xa9,0x64,0x00,0x00, 0x8a,0x19,0x01,0x00,0xac,0x64,0x00,0x00,0xba,0x19,0x01,0x00,0xad,0x64,0x00,0x00,0xd6,0x19,0x01,0x00, 0xae,0x64,0x00,0x00,0x08,0x1a,0x01,0x00,0xb0,0x64,0x00,0x00,0x1c,0x1a,0x01,0x00,0xb5,0x64,0x00,0x00, 0x50,0x1a,0x01,0x00,0xb7,0x64,0x00,0x00,0x5c,0x1a,0x01,0x00,0xb8,0x64,0x00,0x00,0x6c,0x1a,0x01,0x00, 0xba,0x64,0x00,0x00,0x8c,0x1a,0x01,0x00,0xbc,0x64,0x00,0x00,0x98,0x1a,0x01,0x00,0xc0,0x64,0x00,0x00, 0xbc,0x1a,0x01,0x00,0xc2,0x64,0x00,0x00,0xd2,0x1a,0x01,0x00,0xc5,0x64,0x00,0x00,0x00,0x1b,0x01,0x00, 0xcd,0x64,0x00,0x00,0x32,0x1b,0x01,0x00,0xce,0x64,0x00,0x00,0x66,0x1b,0x01,0x00,0xd2,0x64,0x00,0x00, 0x86,0x1b,0x01,0x00,0xd7,0x64,0x00,0x00,0xa2,0x1b,0x01,0x00,0xd8,0x64,0x00,0x00,0xaa,0x1b,0x01,0x00, 0xe2,0x64,0x00,0x00,0xba,0x1b,0x01,0x00,0xe4,0x64,0x00,0x00,0xce,0x1b,0x01,0x00,0xe6,0x64,0x00,0x00, 0xd8,0x1b,0x01,0x00,0x00,0x65,0x00,0x00,0x0e,0x1c,0x01,0x00,0x09,0x65,0x00,0x00,0x40,0x1c,0x01,0x00, 0x12,0x65,0x00,0x00,0x4a,0x1c,0x01,0x00,0x18,0x65,0x00,0x00,0x6e,0x1c,0x01,0x00,0x2b,0x65,0x00,0x00, 0xa6,0x1c,0x01,0x00,0x2f,0x65,0x00,0x00,0xb6,0x1c,0x01,0x00,0x36,0x65,0x00,0x00,0xe6,0x1c,0x01,0x00, 0x38,0x65,0x00,0x00,0x14,0x1d,0x01,0x00,0x39,0x65,0x00,0x00,0x26,0x1d,0x01,0x00,0x3b,0x65,0x00,0x00, 0x52,0x1d,0x01,0x00,0x3e,0x65,0x00,0x00,0x80,0x1d,0x01,0x00,0x3f,0x65,0x00,0x00,0xac,0x1d,0x01,0x00, 0x45,0x65,0x00,0x00,0xe2,0x1d,0x01,0x00,0x48,0x65,0x00,0x00,0x0e,0x1e,0x01,0x00,0x49,0x65,0x00,0x00, 0x3c,0x1e,0x01,0x00,0x4c,0x65,0x00,0x00,0x44,0x1e,0x01,0x00,0x4f,0x65,0x00,0x00,0x72,0x1e,0x01,0x00, 0x51,0x65,0x00,0x00,0xac,0x1e,0x01,0x00,0x55,0x65,0x00,0x00,0xda,0x1e,0x01,0x00,0x56,0x65,0x00,0x00, 0xf8,0x1e,0x01,0x00,0x59,0x65,0x00,0x00,0x2a,0x1f,0x01,0x00,0x5b,0x65,0x00,0x00,0x5a,0x1f,0x01,0x00, 0x5d,0x65,0x00,0x00,0x86,0x1f,0x01,0x00,0x5e,0x65,0x00,0x00,0xba,0x1f,0x01,0x00,0x62,0x65,0x00,0x00, 0xf0,0x1f,0x01,0x00,0x63,0x65,0x00,0x00,0x42,0x20,0x01,0x00,0x66,0x65,0x00,0x00,0x6e,0x20,0x01,0x00, 0x6c,0x65,0x00,0x00,0xa0,0x20,0x01,0x00,0x70,0x65,0x00,0x00,0xce,0x20,0x01,0x00,0x72,0x65,0x00,0x00, 0xfc,0x20,0x01,0x00,0x74,0x65,0x00,0x00,0x36,0x21,0x01,0x00,0x77,0x65,0x00,0x00,0x62,0x21,0x01,0x00, 0x87,0x65,0x00,0x00,0x98,0x21,0x01,0x00,0x8b,0x65,0x00,0x00,0xc4,0x21,0x01,0x00,0x8c,0x65,0x00,0x00, 0xf8,0x21,0x01,0x00,0x90,0x65,0x00,0x00,0x08,0x22,0x01,0x00,0x91,0x65,0x00,0x00,0x46,0x22,0x01,0x00, 0x97,0x65,0x00,0x00,0x74,0x22,0x01,0x00,0x99,0x65,0x00,0x00,0xa2,0x22,0x01,0x00,0x9c,0x65,0x00,0x00, 0xd2,0x22,0x01,0x00,0x9f,0x65,0x00,0x00,0x00,0x23,0x01,0x00,0xa1,0x65,0x00,0x00,0x1e,0x23,0x01,0x00, 0xa4,0x65,0x00,0x00,0x26,0x23,0x01,0x00,0xa5,0x65,0x00,0x00,0x4c,0x23,0x01,0x00,0xa7,0x65,0x00,0x00, 0x7a,0x23,0x01,0x00,0xa9,0x65,0x00,0x00,0xac,0x23,0x01,0x00,0xab,0x65,0x00,0x00,0xe6,0x23,0x01,0x00, 0xad,0x65,0x00,0x00,0xfa,0x23,0x01,0x00,0xaf,0x65,0x00,0x00,0x2a,0x24,0x01,0x00,0xb0,0x65,0x00,0x00, 0x6e,0x24,0x01,0x00,0xb5,0x65,0x00,0x00,0x9e,0x24,0x01,0x00,0xb9,0x65,0x00,0x00,0xa6,0x24,0x01,0x00, 0xbc,0x65,0x00,0x00,0xd4,0x24,0x01,0x00,0xbd,0x65,0x00,0x00,0xec,0x24,0x01,0x00,0xc1,0x65,0x00,0x00, 0x1c,0x25,0x01,0x00,0xc3,0x65,0x00,0x00,0x50,0x25,0x01,0x00,0xc4,0x65,0x00,0x00,0x58,0x25,0x01,0x00, 0xc5,0x65,0x00,0x00,0x68,0x25,0x01,0x00,0xcb,0x65,0x00,0x00,0x9a,0x25,0x01,0x00,0xcc,0x65,0x00,0x00, 0xcc,0x25,0x01,0x00,0xcf,0x65,0x00,0x00,0xec,0x25,0x01,0x00,0xd6,0x65,0x00,0x00,0x18,0x26,0x01,0x00, 0xd7,0x65,0x00,0x00,0x20,0x26,0x01,0x00,0xe0,0x65,0x00,0x00,0x56,0x26,0x01,0x00,0xe2,0x65,0x00,0x00, 0x84,0x26,0x01,0x00,0xe5,0x65,0x00,0x00,0xc6,0x26,0x01,0x00,0xe6,0x65,0x00,0x00,0xf2,0x26,0x01,0x00, 0xe7,0x65,0x00,0x00,0x0e,0x27,0x01,0x00,0xe8,0x65,0x00,0x00,0x3c,0x27,0x01,0x00,0xe9,0x65,0x00,0x00, 0x4c,0x27,0x01,0x00,0xec,0x65,0x00,0x00,0x78,0x27,0x01,0x00,0xed,0x65,0x00,0x00,0xa8,0x27,0x01,0x00, 0xee,0x65,0x00,0x00,0xd6,0x27,0x01,0x00,0xf1,0x65,0x00,0x00,0xe4,0x27,0x01,0x00,0xf6,0x65,0x00,0x00, 0x14,0x28,0x01,0x00,0xf7,0x65,0x00,0x00,0x42,0x28,0x01,0x00,0xf8,0x65,0x00,0x00,0x76,0x28,0x01,0x00, 0xfa,0x65,0x00,0x00,0x7e,0x28,0x01,0x00,0xfc,0x65,0x00,0x00,0xaa,0x28,0x01,0x00,0x02,0x66,0x00,0x00, 0xb2,0x28,0x01,0x00,0x06,0x66,0x00,0x00,0xee,0x28,0x01,0x00,0x07,0x66,0x00,0x00,0x24,0x29,0x01,0x00, 0x0a,0x66,0x00,0x00,0x38,0x29,0x01,0x00,0x0c,0x66,0x00,0x00,0x50,0x29,0x01,0x00,0x0e,0x66,0x00,0x00, 0x80,0x29,0x01,0x00,0x0f,0x66,0x00,0x00,0xae,0x29,0x01,0x00,0x13,0x66,0x00,0x00,0xe6,0x29,0x01,0x00, 0x14,0x66,0x00,0x00,0x16,0x2a,0x01,0x00,0x19,0x66,0x00,0x00,0x3c,0x2a,0x01,0x00,0x1f,0x66,0x00,0x00, 0x60,0x2a,0x01,0x00,0x20,0x66,0x00,0x00,0x92,0x2a,0x01,0x00,0x25,0x66,0x00,0x00,0xc6,0x2a,0x01,0x00, 0x27,0x66,0x00,0x00,0xf2,0x2a,0x01,0x00,0x28,0x66,0x00,0x00,0x16,0x2b,0x01,0x00,0x2d,0x66,0x00,0x00, 0x42,0x2b,0x01,0x00,0x2f,0x66,0x00,0x00,0x76,0x2b,0x01,0x00,0x31,0x66,0x00,0x00,0xb8,0x2b,0x01,0x00, 0x34,0x66,0x00,0x00,0xc0,0x2b,0x01,0x00,0x35,0x66,0x00,0x00,0xd2,0x2b,0x01,0x00,0x3c,0x66,0x00,0x00, 0xe2,0x2b,0x01,0x00,0x3e,0x66,0x00,0x00,0x14,0x2c,0x01,0x00,0x43,0x66,0x00,0x00,0x48,0x2c,0x01,0x00, 0x4b,0x66,0x00,0x00,0x80,0x2c,0x01,0x00,0x4c,0x66,0x00,0x00,0xb4,0x2c,0x01,0x00,0x4f,0x66,0x00,0x00, 0xc0,0x2c,0x01,0x00,0x52,0x66,0x00,0x00,0xea,0x2c,0x01,0x00,0x53,0x66,0x00,0x00,0x1a,0x2d,0x01,0x00, 0x55,0x66,0x00,0x00,0x46,0x2d,0x01,0x00,0x56,0x66,0x00,0x00,0x78,0x2d,0x01,0x00,0x5a,0x66,0x00,0x00, 0x80,0x2d,0x01,0x00,0x5f,0x66,0x00,0x00,0xac,0x2d,0x01,0x00,0x64,0x66,0x00,0x00,0xb6,0x2d,0x01,0x00, 0x66,0x66,0x00,0x00,0xc6,0x2d,0x01,0x00,0x68,0x66,0x00,0x00,0xe2,0x2d,0x01,0x00,0x6e,0x66,0x00,0x00, 0x0e,0x2e,0x01,0x00,0x6f,0x66,0x00,0x00,0x40,0x2e,0x01,0x00,0x74,0x66,0x00,0x00,0x70,0x2e,0x01,0x00, 0x76,0x66,0x00,0x00,0xaa,0x2e,0x01,0x00,0x7a,0x66,0x00,0x00,0xde,0x2e,0x01,0x00,0x7e,0x66,0x00,0x00, 0x0e,0x2f,0x01,0x00,0x82,0x66,0x00,0x00,0x42,0x2f,0x01,0x00,0x84,0x66,0x00,0x00,0x74,0x2f,0x01,0x00, 0x8c,0x66,0x00,0x00,0x7c,0x2f,0x01,0x00,0x91,0x66,0x00,0x00,0x90,0x2f,0x01,0x00,0x96,0x66,0x00,0x00, 0xc0,0x2f,0x01,0x00,0x97,0x66,0x00,0x00,0xf4,0x2f,0x01,0x00,0xa1,0x66,0x00,0x00,0x20,0x30,0x01,0x00, 0xa7,0x66,0x00,0x00,0x28,0x30,0x01,0x00,0xa8,0x66,0x00,0x00,0x3c,0x30,0x01,0x00,0xae,0x66,0x00,0x00, 0x54,0x30,0x01,0x00,0xb4,0x66,0x00,0x00,0x84,0x30,0x01,0x00,0xb9,0x66,0x00,0x00,0xb0,0x30,0x01,0x00, 0xbe,0x66,0x00,0x00,0xcc,0x30,0x01,0x00,0xc8,0x66,0x00,0x00,0xd6,0x30,0x01,0x00,0xd9,0x66,0x00,0x00, 0xe2,0x30,0x01,0x00,0xdc,0x66,0x00,0x00,0x04,0x31,0x01,0x00,0xdd,0x66,0x00,0x00,0x0c,0x31,0x01,0x00, 0xe6,0x66,0x00,0x00,0x42,0x31,0x01,0x00,0xf1,0x66,0x00,0x00,0x4c,0x31,0x01,0x00,0xf2,0x66,0x00,0x00, 0x54,0x31,0x01,0x00,0xf3,0x66,0x00,0x00,0x82,0x31,0x01,0x00,0xf4,0x66,0x00,0x00,0x90,0x31,0x01,0x00, 0xf9,0x66,0x00,0x00,0xc0,0x31,0x01,0x00,0xfc,0x66,0x00,0x00,0xf6,0x31,0x01,0x00,0xfe,0x66,0x00,0x00, 0x2c,0x32,0x01,0x00,0xff,0x66,0x00,0x00,0x64,0x32,0x01,0x00,0x00,0x67,0x00,0x00,0x9a,0x32,0x01,0x00, 0x08,0x67,0x00,0x00,0xc6,0x32,0x01,0x00,0x09,0x67,0x00,0x00,0xf2,0x32,0x01,0x00,0x0a,0x67,0x00,0x00, 0x22,0x33,0x01,0x00,0x0b,0x67,0x00,0x00,0x2c,0x33,0x01,0x00,0x0d,0x67,0x00,0x00,0x56,0x33,0x01,0x00, 0x14,0x67,0x00,0x00,0x8c,0x33,0x01,0x00,0x15,0x67,0x00,0x00,0xbe,0x33,0x01,0x00,0x17,0x67,0x00,0x00, 0xc6,0x33,0x01,0x00,0x1b,0x67,0x00,0x00,0xf2,0x33,0x01,0x00,0x1d,0x67,0x00,0x00,0x30,0x34,0x01,0x00, 0x1f,0x67,0x00,0x00,0x60,0x34,0x01,0x00,0x26,0x67,0x00,0x00,0x8c,0x34,0x01,0x00,0x28,0x67,0x00,0x00, 0xae,0x34,0x01,0x00,0x2a,0x67,0x00,0x00,0xdc,0x34,0x01,0x00,0x2b,0x67,0x00,0x00,0x0e,0x35,0x01,0x00, 0x2c,0x67,0x00,0x00,0x3c,0x35,0x01,0x00,0x2d,0x67,0x00,0x00,0x68,0x35,0x01,0x00,0x2f,0x67,0x00,0x00, 0xae,0x35,0x01,0x00,0x31,0x67,0x00,0x00,0xd6,0x35,0x01,0x00,0x34,0x67,0x00,0x00,0x08,0x36,0x01,0x00, 0x35,0x67,0x00,0x00,0x42,0x36,0x01,0x00,0x3a,0x67,0x00,0x00,0x58,0x36,0x01,0x00,0x3d,0x67,0x00,0x00, 0x86,0x36,0x01,0x00,0x40,0x67,0x00,0x00,0xa2,0x36,0x01,0x00,0x42,0x67,0x00,0x00,0xd2,0x36,0x01,0x00, 0x43,0x67,0x00,0x00,0x00,0x37,0x01,0x00,0x46,0x67,0x00,0x00,0x32,0x37,0x01,0x00,0x48,0x67,0x00,0x00, 0x4e,0x37,0x01,0x00,0x49,0x67,0x00,0x00,0x56,0x37,0x01,0x00,0x4c,0x67,0x00,0x00,0x90,0x37,0x01,0x00, 0x4e,0x67,0x00,0x00,0xa0,0x37,0x01,0x00,0x4f,0x67,0x00,0x00,0xd8,0x37,0x01,0x00,0x50,0x67,0x00,0x00, 0x0c,0x38,0x01,0x00,0x51,0x67,0x00,0x00,0x48,0x38,0x01,0x00,0x53,0x67,0x00,0x00,0x7a,0x38,0x01,0x00, 0x56,0x67,0x00,0x00,0x88,0x38,0x01,0x00,0x5c,0x67,0x00,0x00,0x9c,0x38,0x01,0x00,0x5e,0x67,0x00,0x00, 0xca,0x38,0x01,0x00,0x5f,0x67,0x00,0x00,0x0a,0x39,0x01,0x00,0x60,0x67,0x00,0x00,0x4a,0x39,0x01,0x00, 0x61,0x67,0x00,0x00,0x80,0x39,0x01,0x00,0x65,0x67,0x00,0x00,0xae,0x39,0x01,0x00,0x68,0x67,0x00,0x00, 0xde,0x39,0x01,0x00,0x6d,0x67,0x00,0x00,0x12,0x3a,0x01,0x00,0x6f,0x67,0x00,0x00,0x54,0x3a,0x01,0x00, 0x70,0x67,0x00,0x00,0x84,0x3a,0x01,0x00,0x72,0x67,0x00,0x00,0xb8,0x3a,0x01,0x00,0x73,0x67,0x00,0x00, 0xc0,0x3a,0x01,0x00,0x75,0x67,0x00,0x00,0x00,0x3b,0x01,0x00,0x7e,0x67,0x00,0x00,0x08,0x3b,0x01,0x00, 0x7f,0x67,0x00,0x00,0x38,0x3b,0x01,0x00,0x81,0x67,0x00,0x00,0x6c,0x3b,0x01,0x00,0x84,0x67,0x00,0x00, 0x9c,0x3b,0x01,0x00,0x87,0x67,0x00,0x00,0xca,0x3b,0x01,0x00,0x89,0x67,0x00,0x00,0xea,0x3b,0x01,0x00, 0x8b,0x67,0x00,0x00,0x16,0x3c,0x01,0x00,0x90,0x67,0x00,0x00,0x32,0x3c,0x01,0x00,0x95,0x67,0x00,0x00, 0x5a,0x3c,0x01,0x00,0x97,0x67,0x00,0x00,0x8c,0x3c,0x01,0x00,0x98,0x67,0x00,0x00,0xbc,0x3c,0x01,0x00, 0x9a,0x67,0x00,0x00,0xc4,0x3c,0x01,0x00,0x9c,0x67,0x00,0x00,0xdc,0x3c,0x01,0x00,0x9d,0x67,0x00,0x00, 0x0a,0x3d,0x01,0x00,0x9e,0x67,0x00,0x00,0x3c,0x3d,0x01,0x00,0xa2,0x67,0x00,0x00,0x4e,0x3d,0x01,0x00, 0xa3,0x67,0x00,0x00,0x86,0x3d,0x01,0x00,0xa5,0x67,0x00,0x00,0xb6,0x3d,0x01,0x00,0xa7,0x67,0x00,0x00, 0xc0,0x3d,0x01,0x00,0xaa,0x67,0x00,0x00,0xca,0x3d,0x01,0x00,0xab,0x67,0x00,0x00,0xf8,0x3d,0x01,0x00, 0xad,0x67,0x00,0x00,0x2a,0x3e,0x01,0x00,0xaf,0x67,0x00,0x00,0x46,0x3e,0x01,0x00,0xb1,0x67,0x00,0x00, 0x76,0x3e,0x01,0x00,0xb3,0x67,0x00,0x00,0x7e,0x3e,0x01,0x00,0xb5,0x67,0x00,0x00,0x86,0x3e,0x01,0x00, 0xb6,0x67,0x00,0x00,0x92,0x3e,0x01,0x00,0xb7,0x67,0x00,0x00,0xc2,0x3e,0x01,0x00,0xb8,0x67,0x00,0x00, 0xda,0x3e,0x01,0x00,0xc4,0x67,0x00,0x00,0xf2,0x3e,0x01,0x00,0xca,0x67,0x00,0x00,0x06,0x3f,0x01,0x00, 0xcf,0x67,0x00,0x00,0x0e,0x3f,0x01,0x00,0xd0,0x67,0x00,0x00,0x46,0x3f,0x01,0x00,0xd1,0x67,0x00,0x00, 0x72,0x3f,0x01,0x00,0xd2,0x67,0x00,0x00,0x94,0x3f,0x01,0x00,0xd3,0x67,0x00,0x00,0x9c,0x3f,0x01,0x00, 0xd4,0x67,0x00,0x00,0xce,0x3f,0x01,0x00,0xd8,0x67,0x00,0x00,0xfc,0x3f,0x01,0x00,0xda,0x67,0x00,0x00, 0x30,0x40,0x01,0x00,0xdc,0x67,0x00,0x00,0x50,0x40,0x01,0x00,0xde,0x67,0x00,0x00,0x7e,0x40,0x01,0x00, 0xe0,0x67,0x00,0x00,0xa2,0x40,0x01,0x00,0xe5,0x67,0x00,0x00,0xe0,0x40,0x01,0x00,0xec,0x67,0x00,0x00, 0x0e,0x41,0x01,0x00,0xef,0x67,0x00,0x00,0x4a,0x41,0x01,0x00,0xf0,0x67,0x00,0x00,0x8a,0x41,0x01,0x00, 0xf1,0x67,0x00,0x00,0x92,0x41,0x01,0x00,0xf3,0x67,0x00,0x00,0xbe,0x41,0x01,0x00,0xf4,0x67,0x00,0x00, 0xf2,0x41,0x01,0x00,0xff,0x67,0x00,0x00,0x36,0x42,0x01,0x00,0x00,0x68,0x00,0x00,0x60,0x42,0x01,0x00, 0x03,0x68,0x00,0x00,0x72,0x42,0x01,0x00,0x05,0x68,0x00,0x00,0x7c,0x42,0x01,0x00,0x07,0x68,0x00,0x00, 0xac,0x42,0x01,0x00,0x08,0x68,0x00,0x00,0xda,0x42,0x01,0x00,0x09,0x68,0x00,0x00,0x0e,0x43,0x01,0x00, 0x0b,0x68,0x00,0x00,0x30,0x43,0x01,0x00,0x0e,0x68,0x00,0x00,0x4e,0x43,0x01,0x00,0x0f,0x68,0x00,0x00, 0x5a,0x43,0x01,0x00,0x11,0x68,0x00,0x00,0x86,0x43,0x01,0x00,0x13,0x68,0x00,0x00,0xb2,0x43,0x01,0x00, 0x16,0x68,0x00,0x00,0xc8,0x43,0x01,0x00,0x17,0x68,0x00,0x00,0xfe,0x43,0x01,0x00,0x1d,0x68,0x00,0x00, 0x30,0x44,0x01,0x00,0x21,0x68,0x00,0x00,0x38,0x44,0x01,0x00,0x29,0x68,0x00,0x00,0x64,0x44,0x01,0x00, 0x2a,0x68,0x00,0x00,0x82,0x44,0x01,0x00,0x32,0x68,0x00,0x00,0xba,0x44,0x01,0x00,0x34,0x68,0x00,0x00, 0xca,0x44,0x01,0x00,0x37,0x68,0x00,0x00,0xd2,0x44,0x01,0x00,0x38,0x68,0x00,0x00,0x02,0x45,0x01,0x00, 0x39,0x68,0x00,0x00,0x34,0x45,0x01,0x00,0x3c,0x68,0x00,0x00,0x68,0x45,0x01,0x00,0x3d,0x68,0x00,0x00, 0x98,0x45,0x01,0x00,0x3e,0x68,0x00,0x00,0xcc,0x45,0x01,0x00,0x40,0x68,0x00,0x00,0xf8,0x45,0x01,0x00, 0x41,0x68,0x00,0x00,0x28,0x46,0x01,0x00,0x42,0x68,0x00,0x00,0x40,0x46,0x01,0x00,0x43,0x68,0x00,0x00, 0x70,0x46,0x01,0x00,0x44,0x68,0x00,0x00,0xa0,0x46,0x01,0x00,0x45,0x68,0x00,0x00,0xac,0x46,0x01,0x00, 0x46,0x68,0x00,0x00,0xc4,0x46,0x01,0x00,0x48,0x68,0x00,0x00,0xde,0x46,0x01,0x00,0x49,0x68,0x00,0x00, 0x0c,0x47,0x01,0x00,0x4c,0x68,0x00,0x00,0x26,0x47,0x01,0x00,0x4e,0x68,0x00,0x00,0x54,0x47,0x01,0x00, 0x50,0x68,0x00,0x00,0x5c,0x47,0x01,0x00,0x51,0x68,0x00,0x00,0x92,0x47,0x01,0x00,0x53,0x68,0x00,0x00, 0xc6,0x47,0x01,0x00,0x54,0x68,0x00,0x00,0xf8,0x47,0x01,0x00,0x60,0x68,0x00,0x00,0x2c,0x48,0x01,0x00, 0x61,0x68,0x00,0x00,0x38,0x48,0x01,0x00,0x62,0x68,0x00,0x00,0x44,0x48,0x01,0x00,0x63,0x68,0x00,0x00, 0x56,0x48,0x01,0x00,0x64,0x68,0x00,0x00,0x88,0x48,0x01,0x00,0x65,0x68,0x00,0x00,0x9a,0x48,0x01,0x00, 0x66,0x68,0x00,0x00,0xca,0x48,0x01,0x00,0x67,0x68,0x00,0x00,0x00,0x49,0x01,0x00,0x69,0x68,0x00,0x00, 0x16,0x49,0x01,0x00,0x6b,0x68,0x00,0x00,0x38,0x49,0x01,0x00,0x74,0x68,0x00,0x00,0x46,0x49,0x01,0x00, 0x76,0x68,0x00,0x00,0x52,0x49,0x01,0x00,0x81,0x68,0x00,0x00,0x74,0x49,0x01,0x00,0x83,0x68,0x00,0x00, 0xa8,0x49,0x01,0x00,0x85,0x68,0x00,0x00,0xb0,0x49,0x01,0x00,0x86,0x68,0x00,0x00,0xe6,0x49,0x01,0x00, 0x93,0x68,0x00,0x00,0xf4,0x49,0x01,0x00,0x97,0x68,0x00,0x00,0x20,0x4a,0x01,0x00,0xa2,0x68,0x00,0x00, 0x44,0x4a,0x01,0x00,0xa3,0x68,0x00,0x00,0x50,0x4a,0x01,0x00,0xa6,0x68,0x00,0x00,0x58,0x4a,0x01,0x00, 0xa7,0x68,0x00,0x00,0x88,0x4a,0x01,0x00,0xa8,0x68,0x00,0x00,0xc4,0x4a,0x01,0x00,0xab,0x68,0x00,0x00, 0xf4,0x4a,0x01,0x00,0xad,0x68,0x00,0x00,0xfc,0x4a,0x01,0x00,0xaf,0x68,0x00,0x00,0x2c,0x4b,0x01,0x00, 0xb0,0x68,0x00,0x00,0x60,0x4b,0x01,0x00,0xb3,0x68,0x00,0x00,0x70,0x4b,0x01,0x00,0xb5,0x68,0x00,0x00, 0xa2,0x4b,0x01,0x00,0xbc,0x68,0x00,0x00,0xd0,0x4b,0x01,0x00,0xbf,0x68,0x00,0x00,0xdc,0x4b,0x01,0x00, 0xc0,0x68,0x00,0x00,0xe4,0x4b,0x01,0x00,0xc2,0x68,0x00,0x00,0x14,0x4c,0x01,0x00,0xc9,0x68,0x00,0x00, 0x1c,0x4c,0x01,0x00,0xcb,0x68,0x00,0x00,0x48,0x4c,0x01,0x00,0xcd,0x68,0x00,0x00,0x78,0x4c,0x01,0x00, 0xd2,0x68,0x00,0x00,0x98,0x4c,0x01,0x00,0xd5,0x68,0x00,0x00,0xca,0x4c,0x01,0x00,0xd8,0x68,0x00,0x00, 0x00,0x4d,0x01,0x00,0xda,0x68,0x00,0x00,0x2a,0x4d,0x01,0x00,0xe0,0x68,0x00,0x00,0x58,0x4d,0x01,0x00, 0xe3,0x68,0x00,0x00,0x68,0x4d,0x01,0x00,0xee,0x68,0x00,0x00,0x70,0x4d,0x01,0x00,0xf1,0x68,0x00,0x00, 0x9e,0x4d,0x01,0x00,0xf5,0x68,0x00,0x00,0xbe,0x4d,0x01,0x00,0xfa,0x68,0x00,0x00,0xca,0x4d,0x01,0x00, 0xfb,0x68,0x00,0x00,0xf0,0x4d,0x01,0x00,0x01,0x69,0x00,0x00,0xf8,0x4d,0x01,0x00,0x05,0x69,0x00,0x00, 0x00,0x4e,0x01,0x00,0x06,0x69,0x00,0x00,0x18,0x4e,0x01,0x00,0x0b,0x69,0x00,0x00,0x24,0x4e,0x01,0x00, 0x0d,0x69,0x00,0x00,0x2c,0x4e,0x01,0x00,0x0e,0x69,0x00,0x00,0x62,0x4e,0x01,0x00,0x12,0x69,0x00,0x00, 0x86,0x4e,0x01,0x00,0x2a,0x69,0x00,0x00,0xa6,0x4e,0x01,0x00,0x2d,0x69,0x00,0x00,0xae,0x4e,0x01,0x00, 0x30,0x69,0x00,0x00,0xec,0x4e,0x01,0x00,0x34,0x69,0x00,0x00,0x1c,0x4f,0x01,0x00,0x3d,0x69,0x00,0x00, 0x30,0x4f,0x01,0x00,0x3f,0x69,0x00,0x00,0x3c,0x4f,0x01,0x00,0x54,0x69,0x00,0x00,0x56,0x4f,0x01,0x00, 0x5a,0x69,0x00,0x00,0x76,0x4f,0x01,0x00,0x5e,0x69,0x00,0x00,0xa8,0x4f,0x01,0x00,0x60,0x69,0x00,0x00, 0xc0,0x4f,0x01,0x00,0x63,0x69,0x00,0x00,0xfa,0x4f,0x01,0x00,0x66,0x69,0x00,0x00,0x02,0x50,0x01,0x00, 0x6e,0x69,0x00,0x00,0x12,0x50,0x01,0x00,0x77,0x69,0x00,0x00,0x24,0x50,0x01,0x00,0x78,0x69,0x00,0x00, 0x38,0x50,0x01,0x00,0x79,0x69,0x00,0x00,0x40,0x50,0x01,0x00,0x7c,0x69,0x00,0x00,0x4e,0x50,0x01,0x00, 0x82,0x69,0x00,0x00,0x7a,0x50,0x01,0x00,0x84,0x69,0x00,0x00,0xaa,0x50,0x01,0x00,0x86,0x69,0x00,0x00, 0xb8,0x50,0x01,0x00,0x89,0x69,0x00,0x00,0xf0,0x50,0x01,0x00,0x94,0x69,0x00,0x00,0xf8,0x50,0x01,0x00, 0x95,0x69,0x00,0x00,0x08,0x51,0x01,0x00,0x9b,0x69,0x00,0x00,0x28,0x51,0x01,0x00,0x9c,0x69,0x00,0x00, 0x54,0x51,0x01,0x00,0xa7,0x69,0x00,0x00,0x8e,0x51,0x01,0x00,0xa8,0x69,0x00,0x00,0x96,0x51,0x01,0x00, 0xab,0x69,0x00,0x00,0xc6,0x51,0x01,0x00,0xb4,0x69,0x00,0x00,0xe8,0x51,0x01,0x00,0xbb,0x69,0x00,0x00, 0x22,0x52,0x01,0x00,0xc1,0x69,0x00,0x00,0x2c,0x52,0x01,0x00,0xc5,0x69,0x00,0x00,0x3c,0x52,0x01,0x00, 0xcc,0x69,0x00,0x00,0x48,0x52,0x01,0x00,0xce,0x69,0x00,0x00,0x58,0x52,0x01,0x00,0xd0,0x69,0x00,0x00, 0x62,0x52,0x01,0x00,0xdb,0x69,0x00,0x00,0x96,0x52,0x01,0x00,0xdc,0x69,0x00,0x00,0xa6,0x52,0x01,0x00, 0xdf,0x69,0x00,0x00,0xae,0x52,0x01,0x00,0xed,0x69,0x00,0x00,0xda,0x52,0x01,0x00,0xf2,0x69,0x00,0x00, 0xec,0x52,0x01,0x00,0xf5,0x69,0x00,0x00,0x08,0x53,0x01,0x00,0xfd,0x69,0x00,0x00,0x10,0x53,0x01,0x00, 0xff,0x69,0x00,0x00,0x3e,0x53,0x01,0x00,0x0a,0x6a,0x00,0x00,0x46,0x53,0x01,0x00,0x17,0x6a,0x00,0x00, 0x6e,0x53,0x01,0x00,0x1f,0x6a,0x00,0x00,0x76,0x53,0x01,0x00,0x21,0x6a,0x00,0x00,0xae,0x53,0x01,0x00, 0x2a,0x6a,0x00,0x00,0xda,0x53,0x01,0x00,0x2f,0x6a,0x00,0x00,0x0a,0x54,0x01,0x00,0x31,0x6a,0x00,0x00, 0x12,0x54,0x01,0x00,0x35,0x6a,0x00,0x00,0x48,0x54,0x01,0x00,0x3d,0x6a,0x00,0x00,0x62,0x54,0x01,0x00, 0x44,0x6a,0x00,0x00,0x6e,0x54,0x01,0x00,0x50,0x6a,0x00,0x00,0xb0,0x54,0x01,0x00,0x58,0x6a,0x00,0x00, 0xce,0x54,0x01,0x00,0x59,0x6a,0x00,0x00,0x06,0x55,0x01,0x00,0x5b,0x6a,0x00,0x00,0x36,0x55,0x01,0x00, 0x61,0x6a,0x00,0x00,0x3e,0x55,0x01,0x00,0x71,0x6a,0x00,0x00,0x74,0x55,0x01,0x00,0x80,0x6a,0x00,0x00, 0x84,0x55,0x01,0x00,0x83,0x6a,0x00,0x00,0xb4,0x55,0x01,0x00,0x84,0x6a,0x00,0x00,0xbc,0x55,0x01,0x00, 0x90,0x6a,0x00,0x00,0xc8,0x55,0x01,0x00,0x91,0x6a,0x00,0x00,0xe0,0x55,0x01,0x00,0xb5,0x6a,0x00,0x00, 0xec,0x55,0x01,0x00,0xc6,0x6a,0x00,0x00,0xf8,0x55,0x01,0x00,0x20,0x6b,0x00,0x00,0x00,0x56,0x01,0x00, 0x21,0x6b,0x00,0x00,0x2c,0x56,0x01,0x00,0x22,0x6b,0x00,0x00,0x58,0x56,0x01,0x00,0x23,0x6b,0x00,0x00, 0x84,0x56,0x01,0x00,0x27,0x6b,0x00,0x00,0xba,0x56,0x01,0x00,0x32,0x6b,0x00,0x00,0xec,0x56,0x01,0x00, 0x37,0x6b,0x00,0x00,0x32,0x57,0x01,0x00,0x39,0x6b,0x00,0x00,0x3e,0x57,0x01,0x00,0x3a,0x6b,0x00,0x00, 0x46,0x57,0x01,0x00,0x3e,0x6b,0x00,0x00,0x7a,0x57,0x01,0x00,0x3f,0x6b,0x00,0x00,0xa6,0x57,0x01,0x00, 0x43,0x6b,0x00,0x00,0xae,0x57,0x01,0x00,0x46,0x6b,0x00,0x00,0xc6,0x57,0x01,0x00,0x47,0x6b,0x00,0x00, 0xd2,0x57,0x01,0x00,0x49,0x6b,0x00,0x00,0x06,0x58,0x01,0x00,0x4c,0x6b,0x00,0x00,0x1a,0x58,0x01,0x00, 0x59,0x6b,0x00,0x00,0x4a,0x58,0x01,0x00,0x62,0x6b,0x00,0x00,0x5c,0x58,0x01,0x00,0x63,0x6b,0x00,0x00, 0x8e,0x58,0x01,0x00,0x64,0x6b,0x00,0x00,0xba,0x58,0x01,0x00,0x65,0x6b,0x00,0x00,0xe6,0x58,0x01,0x00, 0x66,0x6b,0x00,0x00,0x14,0x59,0x01,0x00,0x67,0x6b,0x00,0x00,0x42,0x59,0x01,0x00,0x6a,0x6b,0x00,0x00, 0x72,0x59,0x01,0x00,0x79,0x6b,0x00,0x00,0xae,0x59,0x01,0x00,0x7b,0x6b,0x00,0x00,0xca,0x59,0x01,0x00, 0x7c,0x6b,0x00,0x00,0xf8,0x59,0x01,0x00,0x83,0x6b,0x00,0x00,0x24,0x5a,0x01,0x00,0x86,0x6b,0x00,0x00, 0x38,0x5a,0x01,0x00,0x89,0x6b,0x00,0x00,0x40,0x5a,0x01,0x00,0x8a,0x6b,0x00,0x00,0x70,0x5a,0x01,0x00, 0x8b,0x6b,0x00,0x00,0xa2,0x5a,0x01,0x00,0x92,0x6b,0x00,0x00,0xd2,0x5a,0x01,0x00,0x96,0x6b,0x00,0x00, 0xee,0x5a,0x01,0x00,0x97,0x6b,0x00,0x00,0x32,0x5b,0x01,0x00,0x9a,0x6b,0x00,0x00,0x3a,0x5b,0x01,0x00, 0x9c,0x6b,0x00,0x00,0x72,0x5b,0x01,0x00,0xa1,0x6b,0x00,0x00,0x7a,0x5b,0x01,0x00,0xb4,0x6b,0x00,0x00, 0xae,0x5b,0x01,0x00,0xb5,0x6b,0x00,0x00,0xc4,0x5b,0x01,0x00,0xb7,0x6b,0x00,0x00,0xf8,0x5b,0x01,0x00, 0xbf,0x6b,0x00,0x00,0x24,0x5c,0x01,0x00,0xc1,0x6b,0x00,0x00,0x54,0x5c,0x01,0x00,0xc5,0x6b,0x00,0x00, 0x88,0x5c,0x01,0x00,0xcb,0x6b,0x00,0x00,0xac,0x5c,0x01,0x00,0xcd,0x6b,0x00,0x00,0xd4,0x5c,0x01,0x00, 0xcf,0x6b,0x00,0x00,0x02,0x5d,0x01,0x00,0xd2,0x6b,0x00,0x00,0x2e,0x5d,0x01,0x00,0xd3,0x6b,0x00,0x00, 0x5a,0x5d,0x01,0x00,0xd4,0x6b,0x00,0x00,0x62,0x5d,0x01,0x00,0xd5,0x6b,0x00,0x00,0x96,0x5d,0x01,0x00, 0xd7,0x6b,0x00,0x00,0xce,0x5d,0x01,0x00,0xd9,0x6b,0x00,0x00,0xfe,0x5d,0x01,0x00,0xdb,0x6b,0x00,0x00, 0x06,0x5e,0x01,0x00,0xe1,0x6b,0x00,0x00,0x38,0x5e,0x01,0x00,0xeb,0x6b,0x00,0x00,0x58,0x5e,0x01,0x00, 0xef,0x6b,0x00,0x00,0x94,0x5e,0x01,0x00,0xf3,0x6b,0x00,0x00,0x9c,0x5e,0x01,0x00,0xfd,0x6b,0x00,0x00, 0xa4,0x5e,0x01,0x00,0x06,0x6c,0x00,0x00,0xb0,0x5e,0x01,0x00,0x0f,0x6c,0x00,0x00,0xb8,0x5e,0x01,0x00, 0x11,0x6c,0x00,0x00,0xc0,0x5e,0x01,0x00,0x14,0x6c,0x00,0x00,0xee,0x5e,0x01,0x00,0x16,0x6c,0x00,0x00, 0x1e,0x5f,0x01,0x00,0x18,0x6c,0x00,0x00,0x26,0x5f,0x01,0x00,0x19,0x6c,0x00,0x00,0x2e,0x5f,0x01,0x00, 0x1b,0x6c,0x00,0x00,0x3a,0x5f,0x01,0x00,0x1f,0x6c,0x00,0x00,0x42,0x5f,0x01,0x00,0x21,0x6c,0x00,0x00, 0x80,0x5f,0x01,0x00,0x22,0x6c,0x00,0x00,0x88,0x5f,0x01,0x00,0x24,0x6c,0x00,0x00,0xc4,0x5f,0x01,0x00, 0x26,0x6c,0x00,0x00,0xcc,0x5f,0x01,0x00,0x27,0x6c,0x00,0x00,0xd4,0x5f,0x01,0x00,0x28,0x6c,0x00,0x00, 0x10,0x60,0x01,0x00,0x29,0x6c,0x00,0x00,0x4e,0x60,0x01,0x00,0x2a,0x6c,0x00,0x00,0x56,0x60,0x01,0x00, 0x2e,0x6c,0x00,0x00,0x5e,0x60,0x01,0x00,0x2f,0x6c,0x00,0x00,0x9c,0x60,0x01,0x00,0x30,0x6c,0x00,0x00, 0xd2,0x60,0x01,0x00,0x34,0x6c,0x00,0x00,0x0e,0x61,0x01,0x00,0x38,0x6c,0x00,0x00,0x3a,0x61,0x01,0x00, 0x39,0x6c,0x00,0x00,0x68,0x61,0x01,0x00,0x3d,0x6c,0x00,0x00,0x70,0x61,0x01,0x00,0x3e,0x6c,0x00,0x00, 0x7c,0x61,0x01,0x00,0x40,0x6c,0x00,0x00,0x84,0x61,0x01,0x00,0x41,0x6c,0x00,0x00,0xac,0x61,0x01,0x00, 0x42,0x6c,0x00,0x00,0xbc,0x61,0x01,0x00,0x46,0x6c,0x00,0x00,0xea,0x61,0x01,0x00,0x47,0x6c,0x00,0x00, 0xf6,0x61,0x01,0x00,0x49,0x6c,0x00,0x00,0x24,0x62,0x01,0x00,0x4a,0x6c,0x00,0x00,0x50,0x62,0x01,0x00, 0x50,0x6c,0x00,0x00,0x68,0x62,0x01,0x00,0x55,0x6c,0x00,0x00,0x76,0x62,0x01,0x00,0x57,0x6c,0x00,0x00, 0xa2,0x62,0x01,0x00,0x59,0x6c,0x00,0x00,0xd6,0x62,0x01,0x00,0x5b,0x6c,0x00,0x00,0xe2,0x62,0x01,0x00, 0x5d,0x6c,0x00,0x00,0xf6,0x62,0x01,0x00,0x5f,0x6c,0x00,0x00,0x2a,0x63,0x01,0x00,0x60,0x6c,0x00,0x00, 0x5a,0x63,0x01,0x00,0x61,0x6c,0x00,0x00,0x88,0x63,0x01,0x00,0x64,0x6c,0x00,0x00,0xb8,0x63,0x01,0x00, 0x68,0x6c,0x00,0x00,0xe6,0x63,0x01,0x00,0x69,0x6c,0x00,0x00,0x0a,0x64,0x01,0x00,0x6a,0x6c,0x00,0x00, 0x1e,0x64,0x01,0x00,0x70,0x6c,0x00,0x00,0x58,0x64,0x01,0x00,0x72,0x6c,0x00,0x00,0x74,0x64,0x01,0x00, 0x74,0x6c,0x00,0x00,0x92,0x64,0x01,0x00,0x76,0x6c,0x00,0x00,0xaa,0x64,0x01,0x00,0x79,0x6c,0x00,0x00, 0xe4,0x64,0x01,0x00,0x7d,0x6c,0x00,0x00,0xfc,0x64,0x01,0x00,0x7e,0x6c,0x00,0x00,0x34,0x65,0x01,0x00, 0x81,0x6c,0x00,0x00,0x6a,0x65,0x01,0x00,0x82,0x6c,0x00,0x00,0xa0,0x65,0x01,0x00,0x83,0x6c,0x00,0x00, 0xd4,0x65,0x01,0x00,0x85,0x6c,0x00,0x00,0x0c,0x66,0x01,0x00,0x86,0x6c,0x00,0x00,0x34,0x66,0x01,0x00, 0x88,0x6c,0x00,0x00,0x44,0x66,0x01,0x00,0x89,0x6c,0x00,0x00,0x7c,0x66,0x01,0x00,0x8c,0x6c,0x00,0x00, 0xa8,0x66,0x01,0x00,0x8f,0x6c,0x00,0x00,0xb0,0x66,0x01,0x00,0x90,0x6c,0x00,0x00,0xb8,0x66,0x01,0x00, 0x93,0x6c,0x00,0x00,0xf0,0x66,0x01,0x00,0x94,0x6c,0x00,0x00,0xf8,0x66,0x01,0x00,0x99,0x6c,0x00,0x00, 0x02,0x67,0x01,0x00,0x9b,0x6c,0x00,0x00,0x36,0x67,0x01,0x00,0x9f,0x6c,0x00,0x00,0x54,0x67,0x01,0x00, 0xa1,0x6c,0x00,0x00,0x88,0x67,0x01,0x00,0xa3,0x6c,0x00,0x00,0xba,0x67,0x01,0x00,0xa4,0x6c,0x00,0x00, 0xca,0x67,0x01,0x00,0xa5,0x6c,0x00,0x00,0xd6,0x67,0x01,0x00,0xa6,0x6c,0x00,0x00,0x0c,0x68,0x01,0x00, 0xa7,0x6c,0x00,0x00,0x42,0x68,0x01,0x00,0xa9,0x6c,0x00,0x00,0x7a,0x68,0x01,0x00,0xaa,0x6c,0x00,0x00, 0x82,0x68,0x01,0x00,0xab,0x6c,0x00,0x00,0xb2,0x68,0x01,0x00,0xad,0x6c,0x00,0x00,0xbe,0x68,0x01,0x00, 0xae,0x6c,0x00,0x00,0xcc,0x68,0x01,0x00,0xb1,0x6c,0x00,0x00,0xd4,0x68,0x01,0x00,0xb3,0x6c,0x00,0x00, 0xf8,0x68,0x01,0x00,0xb5,0x6c,0x00,0x00,0x28,0x69,0x01,0x00,0xb8,0x6c,0x00,0x00,0x30,0x69,0x01,0x00, 0xb9,0x6c,0x00,0x00,0x64,0x69,0x01,0x00,0xbb,0x6c,0x00,0x00,0x90,0x69,0x01,0x00,0xbc,0x6c,0x00,0x00, 0xbe,0x69,0x01,0x00,0xbd,0x6c,0x00,0x00,0xf6,0x69,0x01,0x00,0xbe,0x6c,0x00,0x00,0x2a,0x6a,0x01,0x00, 0xbf,0x6c,0x00,0x00,0x5e,0x6a,0x01,0x00,0xc4,0x6c,0x00,0x00,0x8a,0x6a,0x01,0x00,0xc5,0x6c,0x00,0x00, 0xba,0x6a,0x01,0x00,0xc9,0x6c,0x00,0x00,0xc6,0x6a,0x01,0x00,0xca,0x6c,0x00,0x00,0xf8,0x6a,0x01,0x00, 0xcc,0x6c,0x00,0x00,0x2e,0x6b,0x01,0x00,0xd3,0x6c,0x00,0x00,0x64,0x6b,0x01,0x00,0xd4,0x6c,0x00,0x00, 0x74,0x6b,0x01,0x00,0xd5,0x6c,0x00,0x00,0x92,0x6b,0x01,0x00,0xd7,0x6c,0x00,0x00,0xbe,0x6b,0x01,0x00, 0xdb,0x6c,0x00,0x00,0xf2,0x6b,0x01,0x00,0xdd,0x6c,0x00,0x00,0x22,0x6c,0x01,0x00,0xe0,0x6c,0x00,0x00, 0x2a,0x6c,0x01,0x00,0xe1,0x6c,0x00,0x00,0x32,0x6c,0x01,0x00,0xe2,0x6c,0x00,0x00,0x62,0x6c,0x01,0x00, 0xe3,0x6c,0x00,0x00,0x94,0x6c,0x01,0x00,0xe5,0x6c,0x00,0x00,0xb2,0x6c,0x01,0x00,0xe8,0x6c,0x00,0x00, 0xe0,0x6c,0x01,0x00,0xea,0x6c,0x00,0x00,0x0e,0x6d,0x01,0x00,0xeb,0x6c,0x00,0x00,0x3e,0x6d,0x01,0x00, 0xee,0x6c,0x00,0x00,0x4a,0x6d,0x01,0x00,0xef,0x6c,0x00,0x00,0x5a,0x6d,0x01,0x00,0xf0,0x6c,0x00,0x00, 0x66,0x6d,0x01,0x00,0xf1,0x6c,0x00,0x00,0x9c,0x6d,0x01,0x00,0xf3,0x6c,0x00,0x00,0xac,0x6d,0x01,0x00, 0xf5,0x6c,0x00,0x00,0xd8,0x6d,0x01,0x00,0xf7,0x6c,0x00,0x00,0xfc,0x6d,0x01,0x00,0xf8,0x6c,0x00,0x00, 0x18,0x6e,0x01,0x00,0xfa,0x6c,0x00,0x00,0x50,0x6e,0x01,0x00,0xfb,0x6c,0x00,0x00,0x58,0x6e,0x01,0x00, 0xfc,0x6c,0x00,0x00,0x7a,0x6e,0x01,0x00,0xfd,0x6c,0x00,0x00,0xac,0x6e,0x01,0x00,0xfe,0x6c,0x00,0x00, 0xe2,0x6e,0x01,0x00,0x01,0x6d,0x00,0x00,0x18,0x6f,0x01,0x00,0x04,0x6d,0x00,0x00,0x4a,0x6f,0x01,0x00, 0x07,0x6d,0x00,0x00,0x5c,0x6f,0x01,0x00,0x0b,0x6d,0x00,0x00,0x64,0x6f,0x01,0x00,0x11,0x6d,0x00,0x00, 0x92,0x6f,0x01,0x00,0x12,0x6d,0x00,0x00,0xa4,0x6f,0x01,0x00,0x17,0x6d,0x00,0x00,0xd6,0x6f,0x01,0x00, 0x1b,0x6d,0x00,0x00,0x0a,0x70,0x01,0x00,0x1e,0x6d,0x00,0x00,0x4a,0x70,0x01,0x00,0x23,0x6d,0x00,0x00, 0x7a,0x70,0x01,0x00,0x25,0x6d,0x00,0x00,0x86,0x70,0x01,0x00,0x27,0x6d,0x00,0x00,0xc4,0x70,0x01,0x00, 0x28,0x6d,0x00,0x00,0xd0,0x70,0x01,0x00,0x29,0x6d,0x00,0x00,0xd8,0x70,0x01,0x00,0x2a,0x6d,0x00,0x00, 0xe8,0x70,0x01,0x00,0x2e,0x6d,0x00,0x00,0x18,0x71,0x01,0x00,0x31,0x6d,0x00,0x00,0x30,0x71,0x01,0x00, 0x32,0x6d,0x00,0x00,0x46,0x71,0x01,0x00,0x3b,0x6d,0x00,0x00,0x7c,0x71,0x01,0x00,0x3c,0x6d,0x00,0x00, 0xaa,0x71,0x01,0x00,0x3d,0x6d,0x00,0x00,0xc0,0x71,0x01,0x00,0x3e,0x6d,0x00,0x00,0xe6,0x71,0x01,0x00, 0x41,0x6d,0x00,0x00,0x14,0x72,0x01,0x00,0x45,0x6d,0x00,0x00,0x42,0x72,0x01,0x00,0x46,0x6d,0x00,0x00, 0x76,0x72,0x01,0x00,0x47,0x6d,0x00,0x00,0xa2,0x72,0x01,0x00,0x48,0x6d,0x00,0x00,0xd0,0x72,0x01,0x00, 0x49,0x6d,0x00,0x00,0xde,0x72,0x01,0x00,0x4a,0x6d,0x00,0x00,0xec,0x72,0x01,0x00,0x4b,0x6d,0x00,0x00, 0x1e,0x73,0x01,0x00,0x4d,0x6d,0x00,0x00,0x4c,0x73,0x01,0x00,0x4e,0x6d,0x00,0x00,0x5a,0x73,0x01,0x00, 0x4f,0x6d,0x00,0x00,0x8e,0x73,0x01,0x00,0x50,0x6d,0x00,0x00,0xca,0x73,0x01,0x00,0x51,0x6d,0x00,0x00, 0xd6,0x73,0x01,0x00,0x52,0x6d,0x00,0x00,0x16,0x74,0x01,0x00,0x53,0x6d,0x00,0x00,0x2c,0x74,0x01,0x00, 0x54,0x6d,0x00,0x00,0x5a,0x74,0x01,0x00,0x59,0x6d,0x00,0x00,0x7c,0x74,0x01,0x00,0x5a,0x6d,0x00,0x00, 0xb4,0x74,0x01,0x00,0x5c,0x6d,0x00,0x00,0xca,0x74,0x01,0x00,0x60,0x6d,0x00,0x00,0xd2,0x74,0x01,0x00, 0x63,0x6d,0x00,0x00,0xea,0x74,0x01,0x00,0x66,0x6d,0x00,0x00,0x1a,0x75,0x01,0x00,0x69,0x6d,0x00,0x00, 0x4e,0x75,0x01,0x00,0x6a,0x6d,0x00,0x00,0x82,0x75,0x01,0x00,0x6e,0x6d,0x00,0x00,0xb4,0x75,0x01,0x00, 0x74,0x6d,0x00,0x00,0xe0,0x75,0x01,0x00,0x77,0x6d,0x00,0x00,0x10,0x76,0x01,0x00,0x78,0x6d,0x00,0x00, 0x3c,0x76,0x01,0x00,0x7d,0x6d,0x00,0x00,0x68,0x76,0x01,0x00,0x82,0x6d,0x00,0x00,0x70,0x76,0x01,0x00, 0x85,0x6d,0x00,0x00,0xa0,0x76,0x01,0x00,0x88,0x6d,0x00,0x00,0xd4,0x76,0x01,0x00,0x89,0x6d,0x00,0x00, 0x04,0x77,0x01,0x00,0x8c,0x6d,0x00,0x00,0x34,0x77,0x01,0x00,0x8e,0x6d,0x00,0x00,0x64,0x77,0x01,0x00, 0x91,0x6d,0x00,0x00,0x76,0x77,0x01,0x00,0x93,0x6d,0x00,0x00,0x84,0x77,0x01,0x00,0x94,0x6d,0x00,0x00, 0xb8,0x77,0x01,0x00,0x95,0x6d,0x00,0x00,0xc0,0x77,0x01,0x00,0x9b,0x6d,0x00,0x00,0xf4,0x77,0x01,0x00, 0x9d,0x6d,0x00,0x00,0x08,0x78,0x01,0x00,0x9e,0x6d,0x00,0x00,0x30,0x78,0x01,0x00,0x9f,0x6d,0x00,0x00, 0x48,0x78,0x01,0x00,0xa0,0x6d,0x00,0x00,0x7c,0x78,0x01,0x00,0xa1,0x6d,0x00,0x00,0x8c,0x78,0x01,0x00, 0xa3,0x6d,0x00,0x00,0xbc,0x78,0x01,0x00,0xa4,0x6d,0x00,0x00,0xd4,0x78,0x01,0x00,0xa6,0x6d,0x00,0x00, 0x02,0x79,0x01,0x00,0xa7,0x6d,0x00,0x00,0x38,0x79,0x01,0x00,0xa8,0x6d,0x00,0x00,0x60,0x79,0x01,0x00, 0xa9,0x6d,0x00,0x00,0x94,0x79,0x01,0x00,0xaa,0x6d,0x00,0x00,0xac,0x79,0x01,0x00,0xae,0x6d,0x00,0x00, 0xda,0x79,0x01,0x00,0xaf,0x6d,0x00,0x00,0xf4,0x79,0x01,0x00,0xb2,0x6d,0x00,0x00,0xfc,0x79,0x01,0x00, 0xb5,0x6d,0x00,0x00,0x2e,0x7a,0x01,0x00,0xb8,0x6d,0x00,0x00,0x5e,0x7a,0x01,0x00,0xbf,0x6d,0x00,0x00, 0x6a,0x7a,0x01,0x00,0xc0,0x6d,0x00,0x00,0x86,0x7a,0x01,0x00,0xc4,0x6d,0x00,0x00,0xbe,0x7a,0x01,0x00, 0xc5,0x6d,0x00,0x00,0x00,0x7b,0x01,0x00,0xc6,0x6d,0x00,0x00,0x1e,0x7b,0x01,0x00,0xc7,0x6d,0x00,0x00, 0x2a,0x7b,0x01,0x00,0xcb,0x6d,0x00,0x00,0x44,0x7b,0x01,0x00,0xcc,0x6d,0x00,0x00,0x7e,0x7b,0x01,0x00, 0xd1,0x6d,0x00,0x00,0x9a,0x7b,0x01,0x00,0xd6,0x6d,0x00,0x00,0xb6,0x7b,0x01,0x00,0xd8,0x6d,0x00,0x00, 0xc4,0x7b,0x01,0x00,0xd9,0x6d,0x00,0x00,0xfa,0x7b,0x01,0x00,0xdd,0x6d,0x00,0x00,0x02,0x7c,0x01,0x00, 0xe1,0x6d,0x00,0x00,0x0a,0x7c,0x01,0x00,0xe4,0x6d,0x00,0x00,0x3a,0x7c,0x01,0x00,0xe6,0x6d,0x00,0x00, 0x6a,0x7c,0x01,0x00,0xe9,0x6d,0x00,0x00,0x72,0x7c,0x01,0x00,0xeb,0x6d,0x00,0x00,0x7a,0x7c,0x01,0x00, 0xec,0x6d,0x00,0x00,0xa6,0x7c,0x01,0x00,0xee,0x6d,0x00,0x00,0xb6,0x7c,0x01,0x00,0xef,0x6d,0x00,0x00, 0xec,0x7c,0x01,0x00,0xf1,0x6d,0x00,0x00,0xf4,0x7c,0x01,0x00,0xf3,0x6d,0x00,0x00,0x26,0x7d,0x01,0x00, 0xf7,0x6d,0x00,0x00,0x5a,0x7d,0x01,0x00,0xf9,0x6d,0x00,0x00,0x8c,0x7d,0x01,0x00,0xfb,0x6d,0x00,0x00, 0xba,0x7d,0x01,0x00,0xfc,0x6d,0x00,0x00,0xf0,0x7d,0x01,0x00,0x05,0x6e,0x00,0x00,0xfc,0x7d,0x01,0x00, 0x0a,0x6e,0x00,0x00,0x28,0x7e,0x01,0x00,0x0c,0x6e,0x00,0x00,0x58,0x7e,0x01,0x00,0x0d,0x6e,0x00,0x00, 0x6a,0x7e,0x01,0x00,0x0e,0x6e,0x00,0x00,0x7a,0x7e,0x01,0x00,0x10,0x6e,0x00,0x00,0x8e,0x7e,0x01,0x00, 0x11,0x6e,0x00,0x00,0xc8,0x7e,0x01,0x00,0x14,0x6e,0x00,0x00,0xdc,0x7e,0x01,0x00,0x17,0x6e,0x00,0x00, 0x0a,0x7f,0x01,0x00,0x1a,0x6e,0x00,0x00,0x3e,0x7f,0x01,0x00,0x1d,0x6e,0x00,0x00,0x48,0x7f,0x01,0x00, 0x20,0x6e,0x00,0x00,0x7a,0x7f,0x01,0x00,0x21,0x6e,0x00,0x00,0xaa,0x7f,0x01,0x00,0x23,0x6e,0x00,0x00, 0xd8,0x7f,0x01,0x00,0x24,0x6e,0x00,0x00,0x0a,0x80,0x01,0x00,0x25,0x6e,0x00,0x00,0x2c,0x80,0x01,0x00, 0x29,0x6e,0x00,0x00,0x4c,0x80,0x01,0x00,0x2d,0x6e,0x00,0x00,0x7c,0x80,0x01,0x00,0x2f,0x6e,0x00,0x00, 0xb0,0x80,0x01,0x00,0x32,0x6e,0x00,0x00,0xe0,0x80,0x01,0x00,0x34,0x6e,0x00,0x00,0xf2,0x80,0x01,0x00, 0x38,0x6e,0x00,0x00,0x22,0x81,0x01,0x00,0x3a,0x6e,0x00,0x00,0x50,0x81,0x01,0x00,0x44,0x6e,0x00,0x00, 0x8c,0x81,0x01,0x00,0x49,0x6e,0x00,0x00,0xd4,0x81,0x01,0x00,0x4d,0x6e,0x00,0x00,0xdc,0x81,0x01,0x00, 0x54,0x6e,0x00,0x00,0xe8,0x81,0x01,0x00,0x56,0x6e,0x00,0x00,0xf8,0x81,0x01,0x00,0x58,0x6e,0x00,0x00, 0x28,0x82,0x01,0x00,0x5b,0x6e,0x00,0x00,0x5c,0x82,0x01,0x00,0x5f,0x6e,0x00,0x00,0x96,0x82,0x01,0x00, 0x67,0x6e,0x00,0x00,0xbc,0x82,0x01,0x00,0x6e,0x6e,0x00,0x00,0xc4,0x82,0x01,0x00,0x7e,0x6e,0x00,0x00, 0xdc,0x82,0x01,0x00,0x7f,0x6e,0x00,0x00,0x0a,0x83,0x01,0x00,0x83,0x6e,0x00,0x00,0x38,0x83,0x01,0x00, 0x85,0x6e,0x00,0x00,0x6c,0x83,0x01,0x00,0x86,0x6e,0x00,0x00,0x84,0x83,0x01,0x00,0x89,0x6e,0x00,0x00, 0x9a,0x83,0x01,0x00,0x8f,0x6e,0x00,0x00,0xa8,0x83,0x01,0x00,0x90,0x6e,0x00,0x00,0xb4,0x83,0x01,0x00, 0x96,0x6e,0x00,0x00,0xea,0x83,0x01,0x00,0x98,0x6e,0x00,0x00,0x08,0x84,0x01,0x00,0x9c,0x6e,0x00,0x00, 0x30,0x84,0x01,0x00,0x9f,0x6e,0x00,0x00,0x66,0x84,0x01,0x00,0xa2,0x6e,0x00,0x00,0x86,0x84,0x01,0x00, 0xa5,0x6e,0x00,0x00,0xc4,0x84,0x01,0x00,0xa7,0x6e,0x00,0x00,0xd8,0x84,0x01,0x00,0xaa,0x6e,0x00,0x00, 0x00,0x85,0x01,0x00,0xaf,0x6e,0x00,0x00,0x2e,0x85,0x01,0x00,0xb1,0x6e,0x00,0x00,0x4a,0x85,0x01,0x00, 0xb4,0x6e,0x00,0x00,0x52,0x85,0x01,0x00,0xb6,0x6e,0x00,0x00,0x80,0x85,0x01,0x00,0xb7,0x6e,0x00,0x00, 0xb0,0x85,0x01,0x00,0xba,0x6e,0x00,0x00,0xb8,0x85,0x01,0x00,0xbc,0x6e,0x00,0x00,0xd6,0x85,0x01,0x00, 0xbd,0x6e,0x00,0x00,0xde,0x85,0x01,0x00,0xc1,0x6e,0x00,0x00,0xea,0x85,0x01,0x00,0xc2,0x6e,0x00,0x00, 0x0e,0x86,0x01,0x00,0xc7,0x6e,0x00,0x00,0x2e,0x86,0x01,0x00,0xcb,0x6e,0x00,0x00,0x5e,0x86,0x01,0x00, 0xcf,0x6e,0x00,0x00,0x8c,0x86,0x01,0x00,0xd1,0x6e,0x00,0x00,0x96,0x86,0x01,0x00,0xd4,0x6e,0x00,0x00, 0xc6,0x86,0x01,0x00,0xd5,0x6e,0x00,0x00,0xea,0x86,0x01,0x00,0xd8,0x6e,0x00,0x00,0x1e,0x87,0x01,0x00, 0xd9,0x6e,0x00,0x00,0x26,0x87,0x01,0x00,0xda,0x6e,0x00,0x00,0x32,0x87,0x01,0x00,0xde,0x6e,0x00,0x00, 0x62,0x87,0x01,0x00,0xe1,0x6e,0x00,0x00,0x94,0x87,0x01,0x00,0xe4,0x6e,0x00,0x00,0xc4,0x87,0x01,0x00, 0xe5,0x6e,0x00,0x00,0xf6,0x87,0x01,0x00,0xe6,0x6e,0x00,0x00,0x28,0x88,0x01,0x00,0xe8,0x6e,0x00,0x00, 0x52,0x88,0x01,0x00,0xe9,0x6e,0x00,0x00,0x86,0x88,0x01,0x00,0xf4,0x6e,0x00,0x00,0xb6,0x88,0x01,0x00, 0xf9,0x6e,0x00,0x00,0xe8,0x88,0x01,0x00,0x02,0x6f,0x00,0x00,0xfe,0x88,0x01,0x00,0x06,0x6f,0x00,0x00, 0x30,0x89,0x01,0x00,0x0f,0x6f,0x00,0x00,0x5e,0x89,0x01,0x00,0x13,0x6f,0x00,0x00,0x92,0x89,0x01,0x00, 0x14,0x6f,0x00,0x00,0x9a,0x89,0x01,0x00,0x15,0x6f,0x00,0x00,0xc8,0x89,0x01,0x00,0x20,0x6f,0x00,0x00, 0xec,0x89,0x01,0x00,0x29,0x6f,0x00,0x00,0x26,0x8a,0x01,0x00,0x2a,0x6f,0x00,0x00,0x3c,0x8a,0x01,0x00, 0x2b,0x6f,0x00,0x00,0x4a,0x8a,0x01,0x00,0x2f,0x6f,0x00,0x00,0x84,0x8a,0x01,0x00,0x31,0x6f,0x00,0x00, 0xc4,0x8a,0x01,0x00,0x33,0x6f,0x00,0x00,0xd4,0x8a,0x01,0x00,0x3e,0x6f,0x00,0x00,0x06,0x8b,0x01,0x00, 0x46,0x6f,0x00,0x00,0x26,0x8b,0x01,0x00,0x47,0x6f,0x00,0x00,0x2e,0x8b,0x01,0x00,0x4b,0x6f,0x00,0x00, 0x68,0x8b,0x01,0x00,0x4d,0x6f,0x00,0x00,0x70,0x8b,0x01,0x00,0x58,0x6f,0x00,0x00,0xb8,0x8b,0x01,0x00, 0x5c,0x6f,0x00,0x00,0xf4,0x8b,0x01,0x00,0x5e,0x6f,0x00,0x00,0x24,0x8c,0x01,0x00,0x5f,0x6f,0x00,0x00, 0x48,0x8c,0x01,0x00,0x62,0x6f,0x00,0x00,0x50,0x8c,0x01,0x00,0x66,0x6f,0x00,0x00,0x5e,0x8c,0x01,0x00, 0x6d,0x6f,0x00,0x00,0x6e,0x8c,0x01,0x00,0x6e,0x6f,0x00,0x00,0xa4,0x8c,0x01,0x00,0x72,0x6f,0x00,0x00, 0xd0,0x8c,0x01,0x00,0x74,0x6f,0x00,0x00,0xde,0x8c,0x01,0x00,0x78,0x6f,0x00,0x00,0xe6,0x8c,0x01,0x00, 0x7a,0x6f,0x00,0x00,0xfa,0x8c,0x01,0x00,0x7c,0x6f,0x00,0x00,0x0e,0x8d,0x01,0x00,0x84,0x6f,0x00,0x00, 0x26,0x8d,0x01,0x00,0x88,0x6f,0x00,0x00,0x58,0x8d,0x01,0x00,0x8c,0x6f,0x00,0x00,0x6c,0x8d,0x01,0x00, 0x8e,0x6f,0x00,0x00,0x74,0x8d,0x01,0x00,0x9c,0x6f,0x00,0x00,0x9c,0x8d,0x01,0x00,0xa1,0x6f,0x00,0x00, 0xc4,0x8d,0x01,0x00,0xa7,0x6f,0x00,0x00,0xfa,0x8d,0x01,0x00,0xb3,0x6f,0x00,0x00,0x06,0x8e,0x01,0x00, 0xb9,0x6f,0x00,0x00,0x3c,0x8e,0x01,0x00,0xc0,0x6f,0x00,0x00,0x48,0x8e,0x01,0x00,0xc9,0x6f,0x00,0x00, 0x74,0x8e,0x01,0x00,0xca,0x6f,0x00,0x00,0x82,0x8e,0x01,0x00,0xd1,0x6f,0x00,0x00,0x8a,0x8e,0x01,0x00, 0xd2,0x6f,0x00,0x00,0x9e,0x8e,0x01,0x00,0xdb,0x6f,0x00,0x00,0xea,0x8e,0x01,0x00,0xe0,0x6f,0x00,0x00, 0xf2,0x8e,0x01,0x00,0xe1,0x6f,0x00,0x00,0x18,0x8f,0x01,0x00,0xee,0x6f,0x00,0x00,0x40,0x8f,0x01,0x00, 0xef,0x6f,0x00,0x00,0x66,0x8f,0x01,0x00,0x0d,0x70,0x00,0x00,0x8c,0x8f,0x01,0x00,0x11,0x70,0x00,0x00, 0xa2,0x8f,0x01,0x00,0x1a,0x70,0x00,0x00,0xbc,0x8f,0x01,0x00,0x1b,0x70,0x00,0x00,0xd0,0x8f,0x01,0x00, 0x30,0x70,0x00,0x00,0xf4,0x8f,0x01,0x00,0x35,0x70,0x00,0x00,0xfc,0x8f,0x01,0x00,0x3c,0x70,0x00,0x00, 0x04,0x90,0x01,0x00,0x4c,0x70,0x00,0x00,0x0c,0x90,0x01,0x00,0x5e,0x70,0x00,0x00,0x3a,0x90,0x01,0x00, 0x6b,0x70,0x00,0x00,0x56,0x90,0x01,0x00,0x6d,0x70,0x00,0x00,0x86,0x90,0x01,0x00,0x6f,0x70,0x00,0x00, 0xb8,0x90,0x01,0x00,0x70,0x70,0x00,0x00,0xe4,0x90,0x01,0x00,0x75,0x70,0x00,0x00,0x16,0x91,0x01,0x00, 0x76,0x70,0x00,0x00,0x44,0x91,0x01,0x00,0x7c,0x70,0x00,0x00,0x74,0x91,0x01,0x00,0x7e,0x70,0x00,0x00, 0xa4,0x91,0x01,0x00,0x7f,0x70,0x00,0x00,0xd6,0x91,0x01,0x00,0x80,0x70,0x00,0x00,0x12,0x92,0x01,0x00, 0x89,0x70,0x00,0x00,0x1a,0x92,0x01,0x00,0x8a,0x70,0x00,0x00,0x4a,0x92,0x01,0x00,0x8e,0x70,0x00,0x00, 0x84,0x92,0x01,0x00,0x92,0x70,0x00,0x00,0xb8,0x92,0x01,0x00,0x94,0x70,0x00,0x00,0xe6,0x92,0x01,0x00, 0x95,0x70,0x00,0x00,0xfa,0x92,0x01,0x00,0x96,0x70,0x00,0x00,0x12,0x93,0x01,0x00,0x99,0x70,0x00,0x00, 0x22,0x93,0x01,0x00,0xab,0x70,0x00,0x00,0x3a,0x93,0x01,0x00,0xac,0x70,0x00,0x00,0x6a,0x93,0x01,0x00, 0xad,0x70,0x00,0x00,0x72,0x93,0x01,0x00,0xae,0x70,0x00,0x00,0xa8,0x93,0x01,0x00,0xaf,0x70,0x00,0x00, 0xd4,0x93,0x01,0x00,0xb3,0x70,0x00,0x00,0xe8,0x93,0x01,0x00,0xb8,0x70,0x00,0x00,0x08,0x94,0x01,0x00, 0xb9,0x70,0x00,0x00,0x36,0x94,0x01,0x00,0xbc,0x70,0x00,0x00,0x62,0x94,0x01,0x00,0xbd,0x70,0x00,0x00, 0x92,0x94,0x01,0x00,0xc1,0x70,0x00,0x00,0xb4,0x94,0x01,0x00,0xc2,0x70,0x00,0x00,0xbc,0x94,0x01,0x00, 0xc3,0x70,0x00,0x00,0xec,0x94,0x01,0x00,0xc8,0x70,0x00,0x00,0x0a,0x95,0x01,0x00,0xca,0x70,0x00,0x00, 0x3e,0x95,0x01,0x00,0xd8,0x70,0x00,0x00,0x46,0x95,0x01,0x00,0xd9,0x70,0x00,0x00,0x74,0x95,0x01,0x00, 0xdb,0x70,0x00,0x00,0x9e,0x95,0x01,0x00,0xdc,0x70,0x00,0x00,0xc8,0x95,0x01,0x00,0xdd,0x70,0x00,0x00, 0xd8,0x95,0x01,0x00,0xdf,0x70,0x00,0x00,0xe4,0x95,0x01,0x00,0xe4,0x70,0x00,0x00,0x10,0x96,0x01,0x00, 0xe6,0x70,0x00,0x00,0x3c,0x96,0x01,0x00,0xe7,0x70,0x00,0x00,0x6a,0x96,0x01,0x00,0xe9,0x70,0x00,0x00, 0x98,0x96,0x01,0x00,0xeb,0x70,0x00,0x00,0xa4,0x96,0x01,0x00,0xed,0x70,0x00,0x00,0xd6,0x96,0x01,0x00, 0xef,0x70,0x00,0x00,0x02,0x97,0x01,0x00,0xf7,0x70,0x00,0x00,0x14,0x97,0x01,0x00,0xf9,0x70,0x00,0x00, 0x3e,0x97,0x01,0x00,0xfd,0x70,0x00,0x00,0x6e,0x97,0x01,0x00,0x09,0x71,0x00,0x00,0xaa,0x97,0x01,0x00, 0x0a,0x71,0x00,0x00,0xd2,0x97,0x01,0x00,0x0c,0x71,0x00,0x00,0xfe,0x97,0x01,0x00,0x15,0x71,0x00,0x00, 0x0a,0x98,0x01,0x00,0x16,0x71,0x00,0x00,0x2a,0x98,0x01,0x00,0x17,0x71,0x00,0x00,0x34,0x98,0x01,0x00, 0x19,0x71,0x00,0x00,0x4e,0x98,0x01,0x00,0x1a,0x71,0x00,0x00,0x70,0x98,0x01,0x00,0x22,0x71,0x00,0x00, 0xa6,0x98,0x01,0x00,0x26,0x71,0x00,0x00,0xae,0x98,0x01,0x00,0x2f,0x71,0x00,0x00,0xda,0x98,0x01,0x00, 0x30,0x71,0x00,0x00,0xe6,0x98,0x01,0x00,0x36,0x71,0x00,0x00,0xf6,0x98,0x01,0x00,0x45,0x71,0x00,0x00, 0x12,0x99,0x01,0x00,0x4a,0x71,0x00,0x00,0x34,0x99,0x01,0x00,0x4c,0x71,0x00,0x00,0x3c,0x99,0x01,0x00, 0x4e,0x71,0x00,0x00,0x48,0x99,0x01,0x00,0x5c,0x71,0x00,0x00,0x7a,0x99,0x01,0x00,0x5e,0x71,0x00,0x00, 0x86,0x99,0x01,0x00,0x64,0x71,0x00,0x00,0xbc,0x99,0x01,0x00,0x66,0x71,0x00,0x00,0xee,0x99,0x01,0x00, 0x67,0x71,0x00,0x00,0x02,0x9a,0x01,0x00,0x6e,0x71,0x00,0x00,0x30,0x9a,0x01,0x00,0x72,0x71,0x00,0x00, 0x5c,0x9a,0x01,0x00,0x78,0x71,0x00,0x00,0x84,0x9a,0x01,0x00,0x7d,0x71,0x00,0x00,0x8c,0x9a,0x01,0x00, 0x84,0x71,0x00,0x00,0xd0,0x9a,0x01,0x00,0x8a,0x71,0x00,0x00,0xe6,0x9a,0x01,0x00,0x8f,0x71,0x00,0x00, 0x1a,0x9b,0x01,0x00,0x94,0x71,0x00,0x00,0x48,0x9b,0x01,0x00,0x99,0x71,0x00,0x00,0x74,0x9b,0x01,0x00, 0x9f,0x71,0x00,0x00,0xae,0x9b,0x01,0x00,0xa0,0x71,0x00,0x00,0xda,0x9b,0x01,0x00,0xa8,0x71,0x00,0x00, 0x06,0x9c,0x01,0x00,0xac,0x71,0x00,0x00,0x20,0x9c,0x01,0x00,0xb5,0x71,0x00,0x00,0x50,0x9c,0x01,0x00, 0xb9,0x71,0x00,0x00,0x5c,0x9c,0x01,0x00,0xc3,0x71,0x00,0x00,0x74,0x9c,0x01,0x00,0xce,0x71,0x00,0x00, 0xa8,0x9c,0x01,0x00,0xd5,0x71,0x00,0x00,0xc0,0x9c,0x01,0x00,0xe5,0x71,0x00,0x00,0xf4,0x9c,0x01,0x00, 0xe7,0x71,0x00,0x00,0x08,0x9d,0x01,0x00,0xee,0x71,0x00,0x00,0x1a,0x9d,0x01,0x00,0x06,0x72,0x00,0x00, 0x2a,0x9d,0x01,0x00,0x0c,0x72,0x00,0x00,0x5c,0x9d,0x01,0x00,0x1d,0x72,0x00,0x00,0x64,0x9d,0x01,0x00, 0x2a,0x72,0x00,0x00,0x6c,0x9d,0x01,0x00,0x2c,0x72,0x00,0x00,0x9c,0x9d,0x01,0x00,0x31,0x72,0x00,0x00, 0xca,0x9d,0x01,0x00,0x35,0x72,0x00,0x00,0xfe,0x9d,0x01,0x00,0x36,0x72,0x00,0x00,0x38,0x9e,0x01,0x00, 0x37,0x72,0x00,0x00,0x68,0x9e,0x01,0x00,0x38,0x72,0x00,0x00,0x92,0x9e,0x01,0x00,0x39,0x72,0x00,0x00, 0xa4,0x9e,0x01,0x00,0x3d,0x72,0x00,0x00,0xb8,0x9e,0x01,0x00,0x42,0x72,0x00,0x00,0xea,0x9e,0x01,0x00, 0x47,0x72,0x00,0x00,0xf6,0x9e,0x01,0x00,0x48,0x72,0x00,0x00,0x24,0x9f,0x01,0x00,0x4c,0x72,0x00,0x00, 0x54,0x9f,0x01,0x00,0x52,0x72,0x00,0x00,0x80,0x9f,0x01,0x00,0x59,0x72,0x00,0x00,0x88,0x9f,0x01,0x00, 0x5b,0x72,0x00,0x00,0xb6,0x9f,0x01,0x00,0x5d,0x72,0x00,0x00,0xe6,0x9f,0x01,0x00,0x5f,0x72,0x00,0x00, 0x06,0xa0,0x01,0x00,0x60,0x72,0x00,0x00,0x40,0xa0,0x01,0x00,0x61,0x72,0x00,0x00,0x48,0xa0,0x01,0x00, 0x62,0x72,0x00,0x00,0x84,0xa0,0x01,0x00,0x64,0x72,0x00,0x00,0xb4,0xa0,0x01,0x00,0x66,0x72,0x00,0x00, 0xc0,0xa0,0x01,0x00,0x67,0x72,0x00,0x00,0xce,0xa0,0x01,0x00,0x69,0x72,0x00,0x00,0xfe,0xa0,0x01,0x00, 0x6f,0x72,0x00,0x00,0x2c,0xa1,0x01,0x00,0x72,0x72,0x00,0x00,0x3a,0xa1,0x01,0x00,0x74,0x72,0x00,0x00, 0x54,0xa1,0x01,0x00,0x75,0x72,0x00,0x00,0x60,0xa1,0x01,0x00,0x78,0x72,0x00,0x00,0x90,0xa1,0x01,0x00, 0x79,0x72,0x00,0x00,0x9c,0xa1,0x01,0x00,0x7a,0x72,0x00,0x00,0xc8,0xa1,0x01,0x00,0x80,0x72,0x00,0x00, 0xf0,0xa1,0x01,0x00,0x81,0x72,0x00,0x00,0x26,0xa2,0x01,0x00,0x82,0x72,0x00,0x00,0x54,0xa2,0x01,0x00, 0x84,0x72,0x00,0x00,0x5c,0xa2,0x01,0x00,0x8a,0x72,0x00,0x00,0x6c,0xa2,0x01,0x00,0x8d,0x72,0x00,0x00, 0x74,0xa2,0x01,0x00,0x8e,0x72,0x00,0x00,0x8c,0xa2,0x01,0x00,0x8f,0x72,0x00,0x00,0x94,0xa2,0x01,0x00, 0x92,0x72,0x00,0x00,0x9c,0xa2,0x01,0x00,0x9f,0x72,0x00,0x00,0xa8,0xa2,0x01,0x00,0xaa,0x72,0x00,0x00, 0xba,0xa2,0x01,0x00,0xac,0x72,0x00,0x00,0xc2,0xa2,0x01,0x00,0xaf,0x72,0x00,0x00,0xf8,0xa2,0x01,0x00, 0xb0,0x72,0x00,0x00,0x2a,0xa3,0x01,0x00,0xb6,0x72,0x00,0x00,0x32,0xa3,0x01,0x00,0xb7,0x72,0x00,0x00, 0x62,0xa3,0x01,0x00,0xb9,0x72,0x00,0x00,0x6a,0xa3,0x01,0x00,0xc2,0x72,0x00,0x00,0xa2,0xa3,0x01,0x00, 0xc4,0x72,0x00,0x00,0xd2,0xa3,0x01,0x00,0xc9,0x72,0x00,0x00,0x08,0xa4,0x01,0x00,0xcd,0x72,0x00,0x00, 0x10,0xa4,0x01,0x00,0xce,0x72,0x00,0x00,0x18,0xa4,0x01,0x00,0xd0,0x72,0x00,0x00,0x2c,0xa4,0x01,0x00, 0xd2,0x72,0x00,0x00,0x64,0xa4,0x01,0x00,0xd7,0x72,0x00,0x00,0x6c,0xa4,0x01,0x00,0xd9,0x72,0x00,0x00, 0x9a,0xa4,0x01,0x00,0xde,0x72,0x00,0x00,0xbc,0xa4,0x01,0x00,0xe0,0x72,0x00,0x00,0xc8,0xa4,0x01,0x00, 0xe1,0x72,0x00,0x00,0xf6,0xa4,0x01,0x00,0xe9,0x72,0x00,0x00,0x22,0xa5,0x01,0x00,0xec,0x72,0x00,0x00, 0x36,0xa5,0x01,0x00,0xed,0x72,0x00,0x00,0x6c,0xa5,0x01,0x00,0xee,0x72,0x00,0x00,0x9c,0xa5,0x01,0x00, 0xf0,0x72,0x00,0x00,0xda,0xa5,0x01,0x00,0xf1,0x72,0x00,0x00,0xe2,0xa5,0x01,0x00,0xf7,0x72,0x00,0x00, 0x02,0xa6,0x01,0x00,0xf8,0x72,0x00,0x00,0x0e,0xa6,0x01,0x00,0xfc,0x72,0x00,0x00,0x1e,0xa6,0x01,0x00, 0x03,0x73,0x00,0x00,0x52,0xa6,0x01,0x00,0x07,0x73,0x00,0x00,0x5a,0xa6,0x01,0x00,0x0a,0x73,0x00,0x00, 0x68,0xa6,0x01,0x00,0x0e,0x73,0x00,0x00,0x70,0xa6,0x01,0x00,0x15,0x73,0x00,0x00,0x9e,0xa6,0x01,0x00, 0x16,0x73,0x00,0x00,0xac,0xa6,0x01,0x00,0x1b,0x73,0x00,0x00,0xcc,0xa6,0x01,0x00,0x1c,0x73,0x00,0x00, 0xf8,0xa6,0x01,0x00,0x1d,0x73,0x00,0x00,0x26,0xa7,0x01,0x00,0x1e,0x73,0x00,0x00,0x3e,0xa7,0x01,0x00, 0x22,0x73,0x00,0x00,0x46,0xa7,0x01,0x00,0x25,0x73,0x00,0x00,0x4e,0xa7,0x01,0x00,0x29,0x73,0x00,0x00, 0x68,0xa7,0x01,0x00,0x2a,0x73,0x00,0x00,0x80,0xa7,0x01,0x00,0x2b,0x73,0x00,0x00,0xb0,0xa7,0x01,0x00, 0x2c,0x73,0x00,0x00,0xde,0xa7,0x01,0x00,0x2e,0x73,0x00,0x00,0xe6,0xa7,0x01,0x00,0x33,0x73,0x00,0x00, 0x18,0xa8,0x01,0x00,0x34,0x73,0x00,0x00,0x20,0xa8,0x01,0x00,0x35,0x73,0x00,0x00,0x52,0xa8,0x01,0x00, 0x38,0x73,0x00,0x00,0x5a,0xa8,0x01,0x00,0x3f,0x73,0x00,0x00,0x62,0xa8,0x01,0x00,0x50,0x73,0x00,0x00, 0x8c,0xa8,0x01,0x00,0x52,0x73,0x00,0x00,0xaa,0xa8,0x01,0x00,0x59,0x73,0x00,0x00,0xb2,0xa8,0x01,0x00, 0x60,0x73,0x00,0x00,0xba,0xa8,0x01,0x00,0x6c,0x73,0x00,0x00,0xc2,0xa8,0x01,0x00,0x6d,0x73,0x00,0x00, 0xca,0xa8,0x01,0x00,0x6f,0x73,0x00,0x00,0xd6,0xa8,0x01,0x00,0x74,0x73,0x00,0x00,0xde,0xa8,0x01,0x00, 0x83,0x73,0x00,0x00,0xe6,0xa8,0x01,0x00,0x84,0x73,0x00,0x00,0xee,0xa8,0x01,0x00,0x87,0x73,0x00,0x00, 0x1e,0xa9,0x01,0x00,0x89,0x73,0x00,0x00,0x52,0xa9,0x01,0x00,0x8b,0x73,0x00,0x00,0x7e,0xa9,0x01,0x00, 0x8e,0x73,0x00,0x00,0xae,0xa9,0x01,0x00,0x93,0x73,0x00,0x00,0xc2,0xa9,0x01,0x00,0x96,0x73,0x00,0x00, 0xca,0xa9,0x01,0x00,0x9b,0x73,0x00,0x00,0xd6,0xa9,0x01,0x00,0x9f,0x73,0x00,0x00,0x12,0xaa,0x01,0x00, 0xa9,0x73,0x00,0x00,0x1a,0xaa,0x01,0x00,0xab,0x73,0x00,0x00,0x48,0xaa,0x01,0x00,0xaf,0x73,0x00,0x00, 0x84,0xaa,0x01,0x00,0xb0,0x73,0x00,0x00,0xb6,0xaa,0x01,0x00,0xb2,0x73,0x00,0x00,0xe2,0xaa,0x01,0x00, 0xb3,0x73,0x00,0x00,0x02,0xab,0x01,0x00,0xb7,0x73,0x00,0x00,0x1e,0xab,0x01,0x00,0xba,0x73,0x00,0x00, 0x2a,0xab,0x01,0x00,0xbb,0x73,0x00,0x00,0x48,0xab,0x01,0x00,0xc0,0x73,0x00,0x00,0x86,0xab,0x01,0x00, 0xc2,0x73,0x00,0x00,0x98,0xab,0x01,0x00,0xc9,0x73,0x00,0x00,0xa6,0xab,0x01,0x00,0xca,0x73,0x00,0x00, 0xc2,0xab,0x01,0x00,0xcd,0x73,0x00,0x00,0xfc,0xab,0x01,0x00,0xd0,0x73,0x00,0x00,0x28,0xac,0x01,0x00, 0xd1,0x73,0x00,0x00,0x42,0xac,0x01,0x00,0xd9,0x73,0x00,0x00,0x4e,0xac,0x01,0x00,0xde,0x73,0x00,0x00, 0x60,0xac,0x01,0x00,0xe0,0x73,0x00,0x00,0x8e,0xac,0x01,0x00,0xe3,0x73,0x00,0x00,0xc8,0xac,0x01,0x00, 0xe5,0x73,0x00,0x00,0xd2,0xac,0x01,0x00,0xe9,0x73,0x00,0x00,0xe0,0xac,0x01,0x00,0xed,0x73,0x00,0x00, 0xe8,0xac,0x01,0x00,0xf2,0x73,0x00,0x00,0x18,0xad,0x01,0x00,0x03,0x74,0x00,0x00,0x26,0xad,0x01,0x00, 0x05,0x74,0x00,0x00,0x54,0xad,0x01,0x00,0x06,0x74,0x00,0x00,0x8c,0xad,0x01,0x00,0x09,0x74,0x00,0x00, 0xbc,0xad,0x01,0x00,0x10,0x74,0x00,0x00,0xfc,0xad,0x01,0x00,0x1b,0x74,0x00,0x00,0x3c,0xae,0x01,0x00, 0x22,0x74,0x00,0x00,0x46,0xae,0x01,0x00,0x24,0x74,0x00,0x00,0x4e,0xae,0x01,0x00,0x25,0x74,0x00,0x00, 0x56,0xae,0x01,0x00,0x26,0x74,0x00,0x00,0x68,0xae,0x01,0x00,0x2e,0x74,0x00,0x00,0x72,0xae,0x01,0x00, 0x33,0x74,0x00,0x00,0x7a,0xae,0x01,0x00,0x34,0x74,0x00,0x00,0x8e,0xae,0x01,0x00,0x35,0x74,0x00,0x00, 0xbe,0xae,0x01,0x00,0x36,0x74,0x00,0x00,0xe8,0xae,0x01,0x00,0x3c,0x74,0x00,0x00,0xfa,0xae,0x01,0x00, 0x41,0x74,0x00,0x00,0x2c,0xaf,0x01,0x00,0x55,0x74,0x00,0x00,0x34,0xaf,0x01,0x00,0x59,0x74,0x00,0x00, 0x5a,0xaf,0x01,0x00,0x5b,0x74,0x00,0x00,0x66,0xaf,0x01,0x00,0x5c,0x74,0x00,0x00,0x6e,0xaf,0x01,0x00, 0x5e,0x74,0x00,0x00,0x98,0xaf,0x01,0x00,0x5f,0x74,0x00,0x00,0xc4,0xaf,0x01,0x00,0x65,0x74,0x00,0x00, 0xdc,0xaf,0x01,0x00,0x70,0x74,0x00,0x00,0xe4,0xaf,0x01,0x00,0x76,0x74,0x00,0x00,0x04,0xb0,0x01,0x00, 0x77,0x74,0x00,0x00,0x32,0xb0,0x01,0x00,0x80,0x74,0x00,0x00,0x3e,0xb0,0x01,0x00,0x87,0x74,0x00,0x00, 0x5a,0xb0,0x01,0x00,0x8e,0x74,0x00,0x00,0x66,0xb0,0x01,0x00,0x9c,0x74,0x00,0x00,0x6e,0xb0,0x01,0x00, 0x9e,0x74,0x00,0x00,0x7e,0xb0,0x01,0x00,0xa7,0x74,0x00,0x00,0x94,0xb0,0x01,0x00,0xa8,0x74,0x00,0x00, 0xae,0xb0,0x01,0x00,0xdc,0x74,0x00,0x00,0xc2,0xb0,0x01,0x00,0xe0,0x74,0x00,0x00,0xf4,0xb0,0x01,0x00, 0xe2,0x74,0x00,0x00,0xfc,0xb0,0x01,0x00,0xe3,0x74,0x00,0x00,0x24,0xb1,0x01,0x00,0xe4,0x74,0x00,0x00, 0x3a,0xb1,0x01,0x00,0xe6,0x74,0x00,0x00,0x46,0xb1,0x01,0x00,0xee,0x74,0x00,0x00,0x78,0xb1,0x01,0x00, 0xef,0x74,0x00,0x00,0xb4,0xb1,0x01,0x00,0xf6,0x74,0x00,0x00,0xd8,0xb1,0x01,0x00,0xf7,0x74,0x00,0x00, 0x0c,0xb2,0x01,0x00,0x04,0x75,0x00,0x00,0x3a,0xb2,0x01,0x00,0x11,0x75,0x00,0x00,0x6a,0xb2,0x01,0x00, 0x18,0x75,0x00,0x00,0x72,0xb2,0x01,0x00,0x19,0x75,0x00,0x00,0xa0,0xb2,0x01,0x00,0x1a,0x75,0x00,0x00, 0xa8,0xb2,0x01,0x00,0x1c,0x75,0x00,0x00,0xda,0xb2,0x01,0x00,0x1f,0x75,0x00,0x00,0x08,0xb3,0x01,0x00, 0x25,0x75,0x00,0x00,0x34,0xb3,0x01,0x00,0x28,0x75,0x00,0x00,0x3c,0xb3,0x01,0x00,0x29,0x75,0x00,0x00, 0x6a,0xb3,0x01,0x00,0x2a,0x75,0x00,0x00,0x9a,0xb3,0x01,0x00,0x2b,0x75,0x00,0x00,0xa6,0xb3,0x01,0x00, 0x2c,0x75,0x00,0x00,0xae,0xb3,0x01,0x00,0x2d,0x75,0x00,0x00,0xcc,0xb3,0x01,0x00,0x30,0x75,0x00,0x00, 0xd8,0xb3,0x01,0x00,0x31,0x75,0x00,0x00,0x08,0xb4,0x01,0x00,0x32,0x75,0x00,0x00,0x48,0xb4,0x01,0x00, 0x33,0x75,0x00,0x00,0x78,0xb4,0x01,0x00,0x35,0x75,0x00,0x00,0xa8,0xb4,0x01,0x00,0x37,0x75,0x00,0x00, 0xd6,0xb4,0x01,0x00,0x38,0x75,0x00,0x00,0x04,0xb5,0x01,0x00,0x3a,0x75,0x00,0x00,0x0c,0xb5,0x01,0x00, 0x3b,0x75,0x00,0x00,0x18,0xb5,0x01,0x00,0x3e,0x75,0x00,0x00,0x44,0xb5,0x01,0x00,0x40,0x75,0x00,0x00, 0x50,0xb5,0x01,0x00,0x45,0x75,0x00,0x00,0x5c,0xb5,0x01,0x00,0x4b,0x75,0x00,0x00,0x92,0xb5,0x01,0x00, 0x4c,0x75,0x00,0x00,0x9a,0xb5,0x01,0x00,0x4e,0x75,0x00,0x00,0xc8,0xb5,0x01,0x00,0x4f,0x75,0x00,0x00, 0xd0,0xb5,0x01,0x00,0x54,0x75,0x00,0x00,0x0a,0xb6,0x01,0x00,0x59,0x75,0x00,0x00,0x12,0xb6,0x01,0x00, 0x5a,0x75,0x00,0x00,0x42,0xb6,0x01,0x00,0x5b,0x75,0x00,0x00,0x4e,0xb6,0x01,0x00,0x5c,0x75,0x00,0x00, 0x56,0xb6,0x01,0x00,0x65,0x75,0x00,0x00,0x8a,0xb6,0x01,0x00,0x66,0x75,0x00,0x00,0xbe,0xb6,0x01,0x00, 0x6a,0x75,0x00,0x00,0xda,0xb6,0x01,0x00,0x72,0x75,0x00,0x00,0x14,0xb7,0x01,0x00,0x74,0x75,0x00,0x00, 0x26,0xb7,0x01,0x00,0x78,0x75,0x00,0x00,0x2e,0xb7,0x01,0x00,0x79,0x75,0x00,0x00,0x64,0xb7,0x01,0x00, 0x7f,0x75,0x00,0x00,0x7e,0xb7,0x01,0x00,0x86,0x75,0x00,0x00,0x86,0xb7,0x01,0x00,0x8d,0x75,0x00,0x00, 0xa2,0xb7,0x01,0x00,0x8f,0x75,0x00,0x00,0xaa,0xb7,0x01,0x00,0x91,0x75,0x00,0x00,0xd6,0xb7,0x01,0x00, 0x94,0x75,0x00,0x00,0x02,0xb8,0x01,0x00,0x96,0x75,0x00,0x00,0x0a,0xb8,0x01,0x00,0x97,0x75,0x00,0x00, 0x16,0xb8,0x01,0x00,0x99,0x75,0x00,0x00,0x48,0xb8,0x01,0x00,0x9d,0x75,0x00,0x00,0x62,0xb8,0x01,0x00, 0x9f,0x75,0x00,0x00,0x6a,0xb8,0x01,0x00,0xa0,0x75,0x00,0x00,0x86,0xb8,0x01,0x00,0xa3,0x75,0x00,0x00, 0x8e,0xb8,0x01,0x00,0xa4,0x75,0x00,0x00,0xa6,0xb8,0x01,0x00,0xa5,0x75,0x00,0x00,0xb2,0xb8,0x01,0x00, 0xab,0x75,0x00,0x00,0xbe,0xb8,0x01,0x00,0xae,0x75,0x00,0x00,0xda,0xb8,0x01,0x00,0xaf,0x75,0x00,0x00, 0x02,0xb9,0x01,0x00,0xb1,0x75,0x00,0x00,0x30,0xb9,0x01,0x00,0xb2,0x75,0x00,0x00,0x40,0xb9,0x01,0x00, 0xb5,0x75,0x00,0x00,0x76,0xb9,0x01,0x00,0xb9,0x75,0x00,0x00,0x82,0xb9,0x01,0x00,0xbc,0x75,0x00,0x00, 0x8a,0xb9,0x01,0x00,0xbe,0x75,0x00,0x00,0xba,0xb9,0x01,0x00,0xc2,0x75,0x00,0x00,0xf2,0xb9,0x01,0x00, 0xc5,0x75,0x00,0x00,0xfa,0xb9,0x01,0x00,0xc7,0x75,0x00,0x00,0x26,0xba,0x01,0x00,0xc8,0x75,0x00,0x00, 0x5a,0xba,0x01,0x00,0xc9,0x75,0x00,0x00,0x66,0xba,0x01,0x00,0xca,0x75,0x00,0x00,0x74,0xba,0x01,0x00, 0xd2,0x75,0x00,0x00,0x7c,0xba,0x01,0x00,0xd4,0x75,0x00,0x00,0x8a,0xba,0x01,0x00,0xd5,0x75,0x00,0x00, 0x96,0xba,0x01,0x00,0xd8,0x75,0x00,0x00,0xa2,0xba,0x01,0x00,0xdb,0x75,0x00,0x00,0xd0,0xba,0x01,0x00, 0xde,0x75,0x00,0x00,0xfc,0xba,0x01,0x00,0xe0,0x75,0x00,0x00,0x12,0xbb,0x01,0x00,0xe2,0x75,0x00,0x00, 0x1a,0xbb,0x01,0x00,0xe3,0x75,0x00,0x00,0x2a,0xbb,0x01,0x00,0xe4,0x75,0x00,0x00,0x32,0xbb,0x01,0x00, 0xe6,0x75,0x00,0x00,0x3a,0xbb,0x01,0x00,0xe7,0x75,0x00,0x00,0x42,0xbb,0x01,0x00,0xe8,0x75,0x00,0x00, 0x4a,0xbb,0x01,0x00,0xeb,0x75,0x00,0x00,0x52,0xbb,0x01,0x00,0xf0,0x75,0x00,0x00,0x5c,0xbb,0x01,0x00, 0xf1,0x75,0x00,0x00,0x92,0xbb,0x01,0x00,0xf2,0x75,0x00,0x00,0xa0,0xbb,0x01,0x00,0xf4,0x75,0x00,0x00, 0xac,0xbb,0x01,0x00,0xf9,0x75,0x00,0x00,0xe2,0xbb,0x01,0x00,0xfc,0x75,0x00,0x00,0xf8,0xbb,0x01,0x00, 0x00,0x76,0x00,0x00,0x08,0xbc,0x01,0x00,0x0a,0x76,0x00,0x00,0x24,0xbc,0x01,0x00,0x0c,0x76,0x00,0x00, 0x2c,0xbc,0x01,0x00,0x10,0x76,0x00,0x00,0x34,0xbc,0x01,0x00,0x18,0x76,0x00,0x00,0x40,0xbc,0x01,0x00, 0x19,0x76,0x00,0x00,0x48,0xbc,0x01,0x00,0x1b,0x76,0x00,0x00,0x5c,0xbc,0x01,0x00,0x1c,0x76,0x00,0x00, 0x64,0xbc,0x01,0x00,0x1f,0x76,0x00,0x00,0x6c,0xbc,0x01,0x00,0x20,0x76,0x00,0x00,0x82,0xbc,0x01,0x00, 0x22,0x76,0x00,0x00,0x8e,0xbc,0x01,0x00,0x24,0x76,0x00,0x00,0x9a,0xbc,0x01,0x00,0x26,0x76,0x00,0x00, 0xa6,0xbc,0x01,0x00,0x2a,0x76,0x00,0x00,0xd4,0xbc,0x01,0x00,0x2b,0x76,0x00,0x00,0xf4,0xbc,0x01,0x00, 0x30,0x76,0x00,0x00,0x0a,0xbd,0x01,0x00,0x34,0x76,0x00,0x00,0x16,0xbd,0x01,0x00,0x38,0x76,0x00,0x00, 0x22,0xbd,0x01,0x00,0x3e,0x76,0x00,0x00,0x2e,0xbd,0x01,0x00,0x40,0x76,0x00,0x00,0x42,0xbd,0x01,0x00, 0x43,0x76,0x00,0x00,0x4a,0xbd,0x01,0x00,0x4c,0x76,0x00,0x00,0x52,0xbd,0x01,0x00,0x52,0x76,0x00,0x00, 0x82,0xbd,0x01,0x00,0x54,0x76,0x00,0x00,0x8a,0xbd,0x01,0x00,0x56,0x76,0x00,0x00,0x96,0xbd,0x01,0x00, 0x5e,0x76,0x00,0x00,0xa2,0xbd,0x01,0x00,0x6b,0x76,0x00,0x00,0xc4,0xbd,0x01,0x00,0x6f,0x76,0x00,0x00, 0xda,0xbd,0x01,0x00,0x78,0x76,0x00,0x00,0xe2,0xbd,0x01,0x00,0x7b,0x76,0x00,0x00,0x02,0xbe,0x01,0x00, 0x7d,0x76,0x00,0x00,0x32,0xbe,0x01,0x00,0x7e,0x76,0x00,0x00,0x60,0xbe,0x01,0x00,0x82,0x76,0x00,0x00, 0x8e,0xbe,0x01,0x00,0x84,0x76,0x00,0x00,0xbe,0xbe,0x01,0x00,0x86,0x76,0x00,0x00,0xfc,0xbe,0x01,0x00, 0x87,0x76,0x00,0x00,0x14,0xbf,0x01,0x00,0x88,0x76,0x00,0x00,0x40,0xbf,0x01,0x00,0x8b,0x76,0x00,0x00, 0x4e,0xbf,0x01,0x00,0x8e,0x76,0x00,0x00,0x5c,0xbf,0x01,0x00,0x91,0x76,0x00,0x00,0x8a,0xbf,0x01,0x00, 0x92,0x76,0x00,0x00,0x92,0xbf,0x01,0x00,0x93,0x76,0x00,0x00,0x9a,0xbf,0x01,0x00,0x96,0x76,0x00,0x00, 0xd2,0xbf,0x01,0x00,0xae,0x76,0x00,0x00,0x04,0xc0,0x01,0x00,0xb1,0x76,0x00,0x00,0x34,0xc0,0x01,0x00, 0xb2,0x76,0x00,0x00,0x66,0xc0,0x01,0x00,0xb4,0x76,0x00,0x00,0x6e,0xc0,0x01,0x00,0xc2,0x76,0x00,0x00, 0x7e,0xc0,0x01,0x00,0xc5,0x76,0x00,0x00,0xac,0xc0,0x01,0x00,0xc6,0x76,0x00,0x00,0xb4,0xc0,0x01,0x00, 0xc8,0x76,0x00,0x00,0xe6,0xc0,0x01,0x00,0xca,0x76,0x00,0x00,0x18,0xc1,0x01,0x00,0xce,0x76,0x00,0x00, 0x4a,0xc1,0x01,0x00,0xcf,0x76,0x00,0x00,0x86,0xc1,0x01,0x00,0xd0,0x76,0x00,0x00,0x8e,0xc1,0x01,0x00, 0xd1,0x76,0x00,0x00,0xc0,0xc1,0x01,0x00,0xd2,0x76,0x00,0x00,0xf2,0xc1,0x01,0x00,0xd4,0x76,0x00,0x00, 0x20,0xc2,0x01,0x00,0xd6,0x76,0x00,0x00,0x30,0xc2,0x01,0x00,0xd7,0x76,0x00,0x00,0x62,0xc2,0x01,0x00, 0xd8,0x76,0x00,0x00,0x90,0xc2,0x01,0x00,0xdb,0x76,0x00,0x00,0xbc,0xc2,0x01,0x00,0xdf,0x76,0x00,0x00, 0xe8,0xc2,0x01,0x00,0xe5,0x76,0x00,0x00,0x14,0xc3,0x01,0x00,0xee,0x76,0x00,0x00,0x26,0xc3,0x01,0x00, 0xef,0x76,0x00,0x00,0x58,0xc3,0x01,0x00,0xf1,0x76,0x00,0x00,0x7c,0xc3,0x01,0x00,0xf2,0x76,0x00,0x00, 0x90,0xc3,0x01,0x00,0xf4,0x76,0x00,0x00,0xbe,0xc3,0x01,0x00,0xf8,0x76,0x00,0x00,0xec,0xc3,0x01,0x00, 0xfc,0x76,0x00,0x00,0x18,0xc4,0x01,0x00,0xfe,0x76,0x00,0x00,0x46,0xc4,0x01,0x00,0x01,0x77,0x00,0x00, 0x76,0xc4,0x01,0x00,0x04,0x77,0x00,0x00,0xa4,0xc4,0x01,0x00,0x07,0x77,0x00,0x00,0xb8,0xc4,0x01,0x00, 0x08,0x77,0x00,0x00,0xc4,0xc4,0x01,0x00,0x09,0x77,0x00,0x00,0xcc,0xc4,0x01,0x00,0x0b,0x77,0x00,0x00, 0xfe,0xc4,0x01,0x00,0x1f,0x77,0x00,0x00,0x2e,0xc5,0x01,0x00,0x20,0x77,0x00,0x00,0x5c,0xc5,0x01,0x00, 0x26,0x77,0x00,0x00,0x64,0xc5,0x01,0x00,0x28,0x77,0x00,0x00,0x74,0xc5,0x01,0x00,0x29,0x77,0x00,0x00, 0x86,0xc5,0x01,0x00,0x2f,0x77,0x00,0x00,0xa6,0xc5,0x01,0x00,0x33,0x77,0x00,0x00,0xc2,0xc5,0x01,0x00, 0x35,0x77,0x00,0x00,0xca,0xc5,0x01,0x00,0x37,0x77,0x00,0x00,0xd4,0xc5,0x01,0x00,0x38,0x77,0x00,0x00, 0x04,0xc6,0x01,0x00,0x3a,0x77,0x00,0x00,0x10,0xc6,0x01,0x00,0x3c,0x77,0x00,0x00,0x18,0xc6,0x01,0x00, 0x3d,0x77,0x00,0x00,0x44,0xc6,0x01,0x00,0x40,0x77,0x00,0x00,0x4c,0xc6,0x01,0x00,0x41,0x77,0x00,0x00, 0x78,0xc6,0x01,0x00,0x43,0x77,0x00,0x00,0xbe,0xc6,0x01,0x00,0x47,0x77,0x00,0x00,0xc6,0xc6,0x01,0x00, 0x51,0x77,0x00,0x00,0xf2,0xc6,0x01,0x00,0x5a,0x77,0x00,0x00,0xfc,0xc6,0x01,0x00,0x61,0x77,0x00,0x00, 0x0c,0xc7,0x01,0x00,0x62,0x77,0x00,0x00,0x38,0xc7,0x01,0x00,0x63,0x77,0x00,0x00,0x58,0xc7,0x01,0x00, 0x65,0x77,0x00,0x00,0x8c,0xc7,0x01,0x00,0x66,0x77,0x00,0x00,0x94,0xc7,0x01,0x00,0x68,0x77,0x00,0x00, 0xb8,0xc7,0x01,0x00,0x6a,0x77,0x00,0x00,0xc0,0xc7,0x01,0x00,0x6b,0x77,0x00,0x00,0xc8,0xc7,0x01,0x00, 0x79,0x77,0x00,0x00,0xe8,0xc7,0x01,0x00,0x7d,0x77,0x00,0x00,0xf8,0xc7,0x01,0x00,0x7e,0x77,0x00,0x00, 0x08,0xc8,0x01,0x00,0x7f,0x77,0x00,0x00,0x42,0xc8,0x01,0x00,0x84,0x77,0x00,0x00,0x64,0xc8,0x01,0x00, 0x85,0x77,0x00,0x00,0x8e,0xc8,0x01,0x00,0x87,0x77,0x00,0x00,0x9e,0xc8,0x01,0x00,0x88,0x77,0x00,0x00, 0xac,0xc8,0x01,0x00,0x8b,0x77,0x00,0x00,0xb4,0xc8,0x01,0x00,0x8c,0x77,0x00,0x00,0xc8,0xc8,0x01,0x00, 0x8e,0x77,0x00,0x00,0xd6,0xc8,0x01,0x00,0x91,0x77,0x00,0x00,0x06,0xc9,0x01,0x00,0x92,0x77,0x00,0x00, 0x16,0xc9,0x01,0x00,0x93,0x77,0x00,0x00,0x46,0xc9,0x01,0x00,0xa0,0x77,0x00,0x00,0x56,0xc9,0x01,0x00, 0xa4,0x77,0x00,0x00,0x6e,0xc9,0x01,0x00,0xa5,0x77,0x00,0x00,0x76,0xc9,0x01,0x00,0xa7,0x77,0x00,0x00, 0x82,0xc9,0x01,0x00,0xa9,0x77,0x00,0x00,0xa0,0xc9,0x01,0x00,0xaa,0x77,0x00,0x00,0xac,0xc9,0x01,0x00, 0xac,0x77,0x00,0x00,0xc0,0xc9,0x01,0x00,0xad,0x77,0x00,0x00,0xf4,0xc9,0x01,0x00,0xb0,0x77,0x00,0x00, 0x16,0xca,0x01,0x00,0xb3,0x77,0x00,0x00,0x22,0xca,0x01,0x00,0xbb,0x77,0x00,0x00,0x32,0xca,0x01,0x00, 0xbd,0x77,0x00,0x00,0x68,0xca,0x01,0x00,0xbf,0x77,0x00,0x00,0x70,0xca,0x01,0x00,0xc7,0x77,0x00,0x00, 0xa0,0xca,0x01,0x00,0xcd,0x77,0x00,0x00,0xa8,0xca,0x01,0x00,0xd7,0x77,0x00,0x00,0xb0,0xca,0x01,0x00, 0xdb,0x77,0x00,0x00,0xbc,0xca,0x01,0x00,0xdc,0x77,0x00,0x00,0xea,0xca,0x01,0x00,0xe2,0x77,0x00,0x00, 0x02,0xcb,0x01,0x00,0xe5,0x77,0x00,0x00,0x2e,0xcb,0x01,0x00,0xe9,0x77,0x00,0x00,0x64,0xcb,0x01,0x00, 0xeb,0x77,0x00,0x00,0x8a,0xcb,0x01,0x00,0xec,0x77,0x00,0x00,0xc0,0xcb,0x01,0x00,0xed,0x77,0x00,0x00, 0xc8,0xcb,0x01,0x00,0xee,0x77,0x00,0x00,0xf6,0xcb,0x01,0x00,0xf3,0x77,0x00,0x00,0x28,0xcc,0x01,0x00, 0xf8,0x77,0x00,0x00,0x62,0xcc,0x01,0x00,0xfb,0x77,0x00,0x00,0x6e,0xcc,0x01,0x00,0xfd,0x77,0x00,0x00, 0x76,0xcc,0x01,0x00,0xff,0x77,0x00,0x00,0xa8,0xcc,0x01,0x00,0x00,0x78,0x00,0x00,0xd8,0xcc,0x01,0x00, 0x01,0x78,0x00,0x00,0xec,0xcc,0x01,0x00,0x02,0x78,0x00,0x00,0x1e,0xcd,0x01,0x00,0x0c,0x78,0x00,0x00, 0x4a,0xcd,0x01,0x00,0x0d,0x78,0x00,0x00,0x78,0xcd,0x01,0x00,0x12,0x78,0x00,0x00,0xaa,0xcd,0x01,0x00, 0x14,0x78,0x00,0x00,0xb2,0xcd,0x01,0x00,0x16,0x78,0x00,0x00,0xec,0xcd,0x01,0x00,0x17,0x78,0x00,0x00, 0x1a,0xce,0x01,0x00,0x18,0x78,0x00,0x00,0x22,0xce,0x01,0x00,0x1a,0x78,0x00,0x00,0x2a,0xce,0x01,0x00, 0x1d,0x78,0x00,0x00,0x58,0xce,0x01,0x00,0x1f,0x78,0x00,0x00,0x60,0xce,0x01,0x00,0x22,0x78,0x00,0x00, 0x68,0xce,0x01,0x00,0x23,0x78,0x00,0x00,0x70,0xce,0x01,0x00,0x25,0x78,0x00,0x00,0x78,0xce,0x01,0x00, 0x27,0x78,0x00,0x00,0x8e,0xce,0x01,0x00,0x2c,0x78,0x00,0x00,0xa2,0xce,0x01,0x00,0x2d,0x78,0x00,0x00, 0xaa,0xce,0x01,0x00,0x30,0x78,0x00,0x00,0xc4,0xce,0x01,0x00,0x32,0x78,0x00,0x00,0xd0,0xce,0x01,0x00, 0x34,0x78,0x00,0x00,0xdc,0xce,0x01,0x00,0x37,0x78,0x00,0x00,0x08,0xcf,0x01,0x00,0x38,0x78,0x00,0x00, 0x26,0xcf,0x01,0x00,0x3a,0x78,0x00,0x00,0x56,0xcf,0x01,0x00,0x3b,0x78,0x00,0x00,0x5e,0xcf,0x01,0x00, 0x3c,0x78,0x00,0x00,0x6c,0xcf,0x01,0x00,0x3e,0x78,0x00,0x00,0x7c,0xcf,0x01,0x00,0x40,0x78,0x00,0x00, 0x88,0xcf,0x01,0x00,0x41,0x78,0x00,0x00,0x90,0xcf,0x01,0x00,0x45,0x78,0x00,0x00,0x98,0xcf,0x01,0x00, 0x47,0x78,0x00,0x00,0xc8,0xcf,0x01,0x00,0x4c,0x78,0x00,0x00,0xd4,0xcf,0x01,0x00,0x4f,0x78,0x00,0x00, 0xde,0xcf,0x01,0x00,0x50,0x78,0x00,0x00,0xe6,0xcf,0x01,0x00,0x52,0x78,0x00,0x00,0xee,0xcf,0x01,0x00, 0x55,0x78,0x00,0x00,0xf6,0xcf,0x01,0x00,0x59,0x78,0x00,0x00,0x32,0xd0,0x01,0x00,0x5a,0x78,0x00,0x00, 0x3a,0xd0,0x01,0x00,0x5d,0x78,0x00,0x00,0x4c,0xd0,0x01,0x00,0x6b,0x78,0x00,0x00,0x8a,0xd0,0x01,0x00, 0x6c,0x78,0x00,0x00,0xc4,0xd0,0x01,0x00,0x6e,0x78,0x00,0x00,0xf6,0xd0,0x01,0x00,0x7c,0x78,0x00,0x00, 0x24,0xd1,0x01,0x00,0x87,0x78,0x00,0x00,0x3e,0xd1,0x01,0x00,0x89,0x78,0x00,0x00,0x46,0xd1,0x01,0x00, 0x8c,0x78,0x00,0x00,0x58,0xd1,0x01,0x00,0x8d,0x78,0x00,0x00,0x7a,0xd1,0x01,0x00,0x8e,0x78,0x00,0x00, 0xb8,0xd1,0x01,0x00,0x91,0x78,0x00,0x00,0xea,0xd1,0x01,0x00,0x97,0x78,0x00,0x00,0x18,0xd2,0x01,0x00, 0x98,0x78,0x00,0x00,0x38,0xd2,0x01,0x00,0x9f,0x78,0x00,0x00,0x6e,0xd2,0x01,0x00,0xa3,0x78,0x00,0x00, 0x88,0xd2,0x01,0x00,0xa7,0x78,0x00,0x00,0x96,0xd2,0x01,0x00,0xb0,0x78,0x00,0x00,0xc8,0xd2,0x01,0x00, 0xb1,0x78,0x00,0x00,0xf4,0xd2,0x01,0x00,0xb3,0x78,0x00,0x00,0x24,0xd3,0x01,0x00,0xb4,0x78,0x00,0x00, 0x68,0xd3,0x01,0x00,0xbe,0x78,0x00,0x00,0x74,0xd3,0x01,0x00,0xc1,0x78,0x00,0x00,0xa6,0xd3,0x01,0x00, 0xc5,0x78,0x00,0x00,0xd6,0xd3,0x01,0x00,0xca,0x78,0x00,0x00,0xf4,0xd3,0x01,0x00,0xcb,0x78,0x00,0x00, 0x10,0xd4,0x01,0x00,0xd0,0x78,0x00,0x00,0x28,0xd4,0x01,0x00,0xd5,0x78,0x00,0x00,0x50,0xd4,0x01,0x00, 0xd9,0x78,0x00,0x00,0x8a,0xd4,0x01,0x00,0xe8,0x78,0x00,0x00,0x92,0xd4,0x01,0x00,0xec,0x78,0x00,0x00, 0xbe,0xd4,0x01,0x00,0xf4,0x78,0x00,0x00,0xc6,0xd4,0x01,0x00,0xf7,0x78,0x00,0x00,0xd4,0xd4,0x01,0x00, 0xfa,0x78,0x00,0x00,0x0e,0xd5,0x01,0x00,0x01,0x79,0x00,0x00,0x22,0xd5,0x01,0x00,0x0c,0x79,0x00,0x00, 0x4c,0xd5,0x01,0x00,0x1c,0x79,0x00,0x00,0x54,0xd5,0x01,0x00,0x24,0x79,0x00,0x00,0x5c,0xd5,0x01,0x00, 0x3a,0x79,0x00,0x00,0x6a,0xd5,0x01,0x00,0x3b,0x79,0x00,0x00,0x9e,0xd5,0x01,0x00,0x3c,0x79,0x00,0x00, 0xa6,0xd5,0x01,0x00,0x3e,0x79,0x00,0x00,0xd4,0xd5,0x01,0x00,0x40,0x79,0x00,0x00,0x0a,0xd6,0x01,0x00, 0x41,0x79,0x00,0x00,0x1a,0xd6,0x01,0x00,0x42,0x79,0x00,0x00,0x50,0xd6,0x01,0x00,0x46,0x79,0x00,0x00, 0x58,0xd6,0x01,0x00,0x48,0x79,0x00,0x00,0x64,0xd6,0x01,0x00,0x49,0x79,0x00,0x00,0x96,0xd6,0x01,0x00, 0x4e,0x79,0x00,0x00,0xa2,0xd6,0x01,0x00,0x53,0x79,0x00,0x00,0xaa,0xd6,0x01,0x00,0x55,0x79,0x00,0x00, 0xba,0xd6,0x01,0x00,0x56,0x79,0x00,0x00,0xc2,0xd6,0x01,0x00,0x5a,0x79,0x00,0x00,0xf0,0xd6,0x01,0x00, 0x5b,0x79,0x00,0x00,0xf8,0xd6,0x01,0x00,0x5d,0x79,0x00,0x00,0x24,0xd7,0x01,0x00,0x5e,0x79,0x00,0x00, 0x54,0xd7,0x01,0x00,0x60,0x79,0x00,0x00,0x80,0xd7,0x01,0x00,0x65,0x79,0x00,0x00,0x90,0xd7,0x01,0x00, 0x68,0x79,0x00,0x00,0xc0,0xd7,0x01,0x00,0x6d,0x79,0x00,0x00,0xec,0xd7,0x01,0x00,0x6f,0x79,0x00,0x00, 0x18,0xd8,0x01,0x00,0x77,0x79,0x00,0x00,0x20,0xd8,0x01,0x00,0x78,0x79,0x00,0x00,0x4a,0xd8,0x01,0x00, 0x80,0x79,0x00,0x00,0x7e,0xd8,0x01,0x00,0x81,0x79,0x00,0x00,0x9e,0xd8,0x01,0x00,0x84,0x79,0x00,0x00, 0xca,0xd8,0x01,0x00,0x85,0x79,0x00,0x00,0xfa,0xd8,0x01,0x00,0x8f,0x79,0x00,0x00,0x2a,0xd9,0x01,0x00, 0xa7,0x79,0x00,0x00,0x5a,0xd9,0x01,0x00,0xb3,0x79,0x00,0x00,0x64,0xd9,0x01,0x00,0xb9,0x79,0x00,0x00, 0x6c,0xd9,0x01,0x00,0xbb,0x79,0x00,0x00,0xa6,0xd9,0x01,0x00,0xbd,0x79,0x00,0x00,0xd4,0xd9,0x01,0x00, 0xbe,0x79,0x00,0x00,0x08,0xda,0x01,0x00,0xc0,0x79,0x00,0x00,0x38,0xda,0x01,0x00,0xc1,0x79,0x00,0x00, 0x64,0xda,0x01,0x00,0xc3,0x79,0x00,0x00,0x94,0xda,0x01,0x00,0xc6,0x79,0x00,0x00,0xc0,0xda,0x01,0x00, 0xc9,0x79,0x00,0x00,0xcc,0xda,0x01,0x00,0xcb,0x79,0x00,0x00,0x04,0xdb,0x01,0x00,0xcd,0x79,0x00,0x00, 0x32,0xdb,0x01,0x00,0xd1,0x79,0x00,0x00,0x5e,0xdb,0x01,0x00,0xd2,0x79,0x00,0x00,0x92,0xdb,0x01,0x00, 0xd5,0x79,0x00,0x00,0xb8,0xdb,0x01,0x00,0xd8,0x79,0x00,0x00,0xc8,0xdb,0x01,0x00,0xdf,0x79,0x00,0x00, 0xfc,0xdb,0x01,0x00,0xe3,0x79,0x00,0x00,0x2a,0xdc,0x01,0x00,0xe4,0x79,0x00,0x00,0x3a,0xdc,0x01,0x00, 0xe6,0x79,0x00,0x00,0x72,0xdc,0x01,0x00,0xe7,0x79,0x00,0x00,0xac,0xdc,0x01,0x00,0xe9,0x79,0x00,0x00, 0xda,0xdc,0x01,0x00,0xeb,0x79,0x00,0x00,0x02,0xdd,0x01,0x00,0xed,0x79,0x00,0x00,0x12,0xdd,0x01,0x00, 0xef,0x79,0x00,0x00,0x2c,0xdd,0x01,0x00,0xf0,0x79,0x00,0x00,0x5a,0xdd,0x01,0x00,0xf8,0x79,0x00,0x00, 0x8a,0xdd,0x01,0x00,0xfb,0x79,0x00,0x00,0x9c,0xdd,0x01,0x00,0xfd,0x79,0x00,0x00,0xce,0xdd,0x01,0x00, 0x00,0x7a,0x00,0x00,0xf2,0xdd,0x01,0x00,0x02,0x7a,0x00,0x00,0x22,0xde,0x01,0x00,0x03,0x7a,0x00,0x00, 0x2a,0xde,0x01,0x00,0x05,0x7a,0x00,0x00,0x32,0xde,0x01,0x00,0x0b,0x7a,0x00,0x00,0x58,0xde,0x01,0x00, 0x0d,0x7a,0x00,0x00,0x8c,0xde,0x01,0x00,0x0e,0x7a,0x00,0x00,0xc2,0xde,0x01,0x00,0x14,0x7a,0x00,0x00, 0xf0,0xde,0x01,0x00,0x17,0x7a,0x00,0x00,0x04,0xdf,0x01,0x00,0x1a,0x7a,0x00,0x00,0x14,0xdf,0x01,0x00, 0x20,0x7a,0x00,0x00,0x48,0xdf,0x01,0x00,0x28,0x7a,0x00,0x00,0x6e,0xdf,0x01,0x00,0x33,0x7a,0x00,0x00, 0x76,0xdf,0x01,0x00,0x37,0x7a,0x00,0x00,0xae,0xdf,0x01,0x00,0x3b,0x7a,0x00,0x00,0xbc,0xdf,0x01,0x00, 0x3c,0x7a,0x00,0x00,0xee,0xdf,0x01,0x00,0x3d,0x7a,0x00,0x00,0xfe,0xdf,0x01,0x00,0x3f,0x7a,0x00,0x00, 0x38,0xe0,0x01,0x00,0x46,0x7a,0x00,0x00,0x60,0xe0,0x01,0x00,0x51,0x7a,0x00,0x00,0xaa,0xe0,0x01,0x00, 0x57,0x7a,0x00,0x00,0xb2,0xe0,0x01,0x00,0x70,0x7a,0x00,0x00,0xd4,0xe0,0x01,0x00,0x74,0x7a,0x00,0x00, 0xdc,0xe0,0x01,0x00,0x76,0x7a,0x00,0x00,0x02,0xe1,0x01,0x00,0x77,0x7a,0x00,0x00,0x22,0xe1,0x01,0x00, 0x79,0x7a,0x00,0x00,0x5e,0xe1,0x01,0x00,0x7a,0x7a,0x00,0x00,0x8c,0xe1,0x01,0x00,0x7f,0x7a,0x00,0x00, 0xba,0xe1,0x01,0x00,0x80,0x7a,0x00,0x00,0xe6,0xe1,0x01,0x00,0x81,0x7a,0x00,0x00,0xee,0xe1,0x01,0x00, 0x83,0x7a,0x00,0x00,0x1e,0xe2,0x01,0x00,0x84,0x7a,0x00,0x00,0x52,0xe2,0x01,0x00,0x85,0x7a,0x00,0x00, 0x80,0xe2,0x01,0x00,0x88,0x7a,0x00,0x00,0x88,0xe2,0x01,0x00,0x8d,0x7a,0x00,0x00,0x9c,0xe2,0x01,0x00, 0x91,0x7a,0x00,0x00,0xae,0xe2,0x01,0x00,0x92,0x7a,0x00,0x00,0xda,0xe2,0x01,0x00,0x95,0x7a,0x00,0x00, 0xf0,0xe2,0x01,0x00,0x96,0x7a,0x00,0x00,0xf8,0xe2,0x01,0x00,0x97,0x7a,0x00,0x00,0x08,0xe3,0x01,0x00, 0x98,0x7a,0x00,0x00,0x38,0xe3,0x01,0x00,0x9c,0x7a,0x00,0x00,0x5c,0xe3,0x01,0x00,0x9d,0x7a,0x00,0x00, 0x8a,0xe3,0x01,0x00,0x9f,0x7a,0x00,0x00,0xba,0xe3,0x01,0x00,0xa0,0x7a,0x00,0x00,0xda,0xe3,0x01,0x00, 0xa5,0x7a,0x00,0x00,0xe2,0xe3,0x01,0x00,0xa6,0x7a,0x00,0x00,0x12,0xe4,0x01,0x00,0xa8,0x7a,0x00,0x00, 0x2c,0xe4,0x01,0x00,0xb3,0x7a,0x00,0x00,0x40,0xe4,0x01,0x00,0xb8,0x7a,0x00,0x00,0x4c,0xe4,0x01,0x00, 0xcb,0x7a,0x00,0x00,0x54,0xe4,0x01,0x00,0xd6,0x7a,0x00,0x00,0x82,0xe4,0x01,0x00,0xd9,0x7a,0x00,0x00, 0xae,0xe4,0x01,0x00,0xde,0x7a,0x00,0x00,0xe0,0xe4,0x01,0x00,0xdf,0x7a,0x00,0x00,0x12,0xe5,0x01,0x00, 0xe0,0x7a,0x00,0x00,0x36,0xe5,0x01,0x00,0xe3,0x7a,0x00,0x00,0x6a,0xe5,0x01,0x00,0xe5,0x7a,0x00,0x00, 0x78,0xe5,0x01,0x00,0xed,0x7a,0x00,0x00,0xa6,0xe5,0x01,0x00,0xef,0x7a,0x00,0x00,0xde,0xe5,0x01,0x00, 0xf9,0x7a,0x00,0x00,0x0c,0xe6,0x01,0x00,0xfa,0x7a,0x00,0x00,0x3a,0xe6,0x01,0x00,0xff,0x7a,0x00,0x00, 0x58,0xe6,0x01,0x00,0x03,0x7b,0x00,0x00,0x64,0xe6,0x01,0x00,0x04,0x7b,0x00,0x00,0x94,0xe6,0x01,0x00, 0x06,0x7b,0x00,0x00,0xaa,0xe6,0x01,0x00,0x0a,0x7b,0x00,0x00,0xc2,0xe6,0x01,0x00,0x0b,0x7b,0x00,0x00, 0xca,0xe6,0x01,0x00,0x11,0x7b,0x00,0x00,0xf0,0xe6,0x01,0x00,0x14,0x7b,0x00,0x00,0x1c,0xe7,0x01,0x00, 0x15,0x7b,0x00,0x00,0x4a,0xe7,0x01,0x00,0x19,0x7b,0x00,0x00,0x52,0xe7,0x01,0x00,0x1b,0x7b,0x00,0x00, 0x66,0xe7,0x01,0x00,0x1e,0x7b,0x00,0x00,0xa0,0xe7,0x01,0x00,0x20,0x7b,0x00,0x00,0xcc,0xe7,0x01,0x00, 0x24,0x7b,0x00,0x00,0xd6,0xe7,0x01,0x00,0x25,0x7b,0x00,0x00,0xe4,0xe7,0x01,0x00,0x26,0x7b,0x00,0x00, 0xf0,0xe7,0x01,0x00,0x28,0x7b,0x00,0x00,0x34,0xe8,0x01,0x00,0x2a,0x7b,0x00,0x00,0x6a,0xe8,0x01,0x00, 0x2c,0x7b,0x00,0x00,0x74,0xe8,0x01,0x00,0x38,0x7b,0x00,0x00,0xa2,0xe8,0x01,0x00,0x3a,0x7b,0x00,0x00, 0xae,0xe8,0x01,0x00,0x3c,0x7b,0x00,0x00,0xc4,0xe8,0x01,0x00,0x40,0x7b,0x00,0x00,0xf6,0xe8,0x01,0x00, 0x45,0x7b,0x00,0x00,0xfe,0xe8,0x01,0x00,0x47,0x7b,0x00,0x00,0x06,0xe9,0x01,0x00,0x49,0x7b,0x00,0x00, 0x10,0xe9,0x01,0x00,0x4a,0x7b,0x00,0x00,0x40,0xe9,0x01,0x00,0x4b,0x7b,0x00,0x00,0x48,0xe9,0x01,0x00, 0x4f,0x7b,0x00,0x00,0x7a,0xe9,0x01,0x00,0x50,0x7b,0x00,0x00,0x96,0xe9,0x01,0x00,0x51,0x7b,0x00,0x00, 0xaa,0xe9,0x01,0x00,0x52,0x7b,0x00,0x00,0xde,0xe9,0x01,0x00,0x54,0x7b,0x00,0x00,0x0e,0xea,0x01,0x00, 0x55,0x7b,0x00,0x00,0x3a,0xea,0x01,0x00,0x56,0x7b,0x00,0x00,0x42,0xea,0x01,0x00,0x5a,0x7b,0x00,0x00, 0x7a,0xea,0x01,0x00,0x5b,0x7b,0x00,0x00,0x92,0xea,0x01,0x00,0x60,0x7b,0x00,0x00,0xc0,0xea,0x01,0x00, 0x72,0x7b,0x00,0x00,0xd2,0xea,0x01,0x00,0x75,0x7b,0x00,0x00,0xe4,0xea,0x01,0x00,0x77,0x7b,0x00,0x00, 0x00,0xeb,0x01,0x00,0x79,0x7b,0x00,0x00,0x14,0xeb,0x01,0x00,0x7c,0x7b,0x00,0x00,0x42,0xeb,0x01,0x00, 0x7e,0x7b,0x00,0x00,0x50,0xeb,0x01,0x00,0x80,0x7b,0x00,0x00,0x7e,0xeb,0x01,0x00,0x85,0x7b,0x00,0x00, 0xaa,0xeb,0x01,0x00,0x8d,0x7b,0x00,0x00,0xb2,0xeb,0x01,0x00,0x94,0x7b,0x00,0x00,0xe6,0xeb,0x01,0x00, 0x95,0x7b,0x00,0x00,0xee,0xeb,0x01,0x00,0x97,0x7b,0x00,0x00,0xfe,0xeb,0x01,0x00,0x9c,0x7b,0x00,0x00, 0x2a,0xec,0x01,0x00,0x9d,0x7b,0x00,0x00,0x36,0xec,0x01,0x00,0xa1,0x7b,0x00,0x00,0x3e,0xec,0x01,0x00, 0xa2,0x7b,0x00,0x00,0x74,0xec,0x01,0x00,0xa7,0x7b,0x00,0x00,0x80,0xec,0x01,0x00,0xa9,0x7b,0x00,0x00, 0x94,0xec,0x01,0x00,0xaa,0x7b,0x00,0x00,0x9c,0xec,0x01,0x00,0xac,0x7b,0x00,0x00,0xac,0xec,0x01,0x00, 0xad,0x7b,0x00,0x00,0xb8,0xec,0x01,0x00,0xb1,0x7b,0x00,0x00,0xea,0xec,0x01,0x00,0xb4,0x7b,0x00,0x00, 0x16,0xed,0x01,0x00,0xc4,0x7b,0x00,0x00,0x1e,0xed,0x01,0x00,0xc6,0x7b,0x00,0x00,0x2a,0xed,0x01,0x00, 0xc7,0x7b,0x00,0x00,0x48,0xed,0x01,0x00,0xd3,0x7b,0x00,0x00,0x74,0xed,0x01,0x00,0xd9,0x7b,0x00,0x00, 0x80,0xed,0x01,0x00,0xdd,0x7b,0x00,0x00,0x8c,0xed,0x01,0x00,0xe1,0x7b,0x00,0x00,0x9c,0xed,0x01,0x00, 0xe6,0x7b,0x00,0x00,0xc8,0xed,0x01,0x00,0xee,0x7b,0x00,0x00,0xd4,0xed,0x01,0x00,0xf1,0x7b,0x00,0x00, 0x08,0xee,0x01,0x00,0xf7,0x7b,0x00,0x00,0x30,0xee,0x01,0x00,0xfe,0x7b,0x00,0x00,0x4e,0xee,0x01,0x00, 0x07,0x7c,0x00,0x00,0x66,0xee,0x01,0x00,0x09,0x7c,0x00,0x00,0x98,0xee,0x01,0x00,0x0b,0x7c,0x00,0x00, 0xa0,0xee,0x01,0x00,0x0c,0x7c,0x00,0x00,0xa8,0xee,0x01,0x00,0x15,0x7c,0x00,0x00,0xb8,0xee,0x01,0x00, 0x27,0x7c,0x00,0x00,0xc0,0xee,0x01,0x00,0x2a,0x7c,0x00,0x00,0xd6,0xee,0x01,0x00,0x38,0x7c,0x00,0x00, 0xe2,0xee,0x01,0x00,0x3d,0x7c,0x00,0x00,0xfe,0xee,0x01,0x00,0x3f,0x7c,0x00,0x00,0x2e,0xef,0x01,0x00, 0x40,0x7c,0x00,0x00,0x50,0xef,0x01,0x00,0x4d,0x7c,0x00,0x00,0x5c,0xef,0x01,0x00,0x73,0x7c,0x00,0x00, 0x6c,0xef,0x01,0x00,0x7b,0x7c,0x00,0x00,0x9c,0xef,0x01,0x00,0x7c,0x7c,0x00,0x00,0xce,0xef,0x01,0x00, 0x7d,0x7c,0x00,0x00,0xda,0xef,0x01,0x00,0x89,0x7c,0x00,0x00,0xf2,0xef,0x01,0x00,0x91,0x7c,0x00,0x00, 0x22,0xf0,0x01,0x00,0x92,0x7c,0x00,0x00,0x2a,0xf0,0x01,0x00,0x97,0x7c,0x00,0x00,0x6a,0xf0,0x01,0x00, 0x98,0x7c,0x00,0x00,0x9a,0xf0,0x01,0x00,0x9f,0x7c,0x00,0x00,0xc6,0xf0,0x01,0x00,0xa4,0x7c,0x00,0x00, 0xee,0xf0,0x01,0x00,0xa5,0x7c,0x00,0x00,0x1a,0xf1,0x01,0x00,0xaa,0x7c,0x00,0x00,0x3a,0xf1,0x01,0x00, 0xae,0x7c,0x00,0x00,0x66,0xf1,0x01,0x00,0xb1,0x7c,0x00,0x00,0x98,0xf1,0x01,0x00,0xb2,0x7c,0x00,0x00, 0xa6,0xf1,0x01,0x00,0xb3,0x7c,0x00,0x00,0xbc,0xf1,0x01,0x00,0xbc,0x7c,0x00,0x00,0xc8,0xf1,0x01,0x00, 0xbd,0x7c,0x00,0x00,0xd0,0xf1,0x01,0x00,0xbe,0x7c,0x00,0x00,0xe4,0xf1,0x01,0x00,0xc5,0x7c,0x00,0x00, 0x10,0xf2,0x01,0x00,0xca,0x7c,0x00,0x00,0x28,0xf2,0x01,0x00,0xcc,0x7c,0x00,0x00,0x5a,0xf2,0x01,0x00, 0xcd,0x7c,0x00,0x00,0x66,0xf2,0x01,0x00,0xd5,0x7c,0x00,0x00,0x6e,0xf2,0x01,0x00,0xd6,0x7c,0x00,0x00, 0x7e,0xf2,0x01,0x00,0xd7,0x7c,0x00,0x00,0xb0,0xf2,0x01,0x00,0xd9,0x7c,0x00,0x00,0xc8,0xf2,0x01,0x00, 0xdc,0x7c,0x00,0x00,0xee,0xf2,0x01,0x00,0xdf,0x7c,0x00,0x00,0x12,0xf3,0x01,0x00,0xe0,0x7c,0x00,0x00, 0x3e,0xf3,0x01,0x00,0xe2,0x7c,0x00,0x00,0x58,0xf3,0x01,0x00,0xe8,0x7c,0x00,0x00,0x60,0xf3,0x01,0x00, 0xef,0x7c,0x00,0x00,0x6c,0xf3,0x01,0x00,0xf8,0x7c,0x00,0x00,0xa6,0xf3,0x01,0x00,0xfb,0x7c,0x00,0x00, 0xb0,0xf3,0x01,0x00,0x0a,0x7d,0x00,0x00,0xea,0xf3,0x01,0x00,0x20,0x7d,0x00,0x00,0xf6,0xf3,0x01,0x00, 0x22,0x7d,0x00,0x00,0x24,0xf4,0x01,0x00,0x27,0x7d,0x00,0x00,0x54,0xf4,0x01,0x00,0x2b,0x7d,0x00,0x00, 0x86,0xf4,0x01,0x00,0x2f,0x7d,0x00,0x00,0xb8,0xf4,0x01,0x00,0x58,0x7d,0x00,0x00,0xe4,0xf4,0x01,0x00, 0x6e,0x7d,0x00,0x00,0xec,0xf4,0x01,0x00,0x91,0x7d,0x00,0x00,0x1e,0xf5,0x01,0x00,0xa6,0x7d,0x00,0x00, 0x26,0xf5,0x01,0x00,0xb7,0x7d,0x00,0x00,0x3a,0xf5,0x01,0x00,0x41,0x7e,0x00,0x00,0x42,0xf5,0x01,0x00, 0x82,0x7e,0x00,0x00,0x6e,0xf5,0x01,0x00,0xa0,0x7e,0x00,0x00,0x7c,0xf5,0x01,0x00,0xa1,0x7e,0x00,0x00, 0xac,0xf5,0x01,0x00,0xa2,0x7e,0x00,0x00,0xb4,0xf5,0x01,0x00,0xa3,0x7e,0x00,0x00,0xe6,0xf5,0x01,0x00, 0xa4,0x7e,0x00,0x00,0xf2,0xf5,0x01,0x00,0xa6,0x7e,0x00,0x00,0x2a,0xf6,0x01,0x00,0xa7,0x7e,0x00,0x00, 0x5e,0xf6,0x01,0x00,0xa8,0x7e,0x00,0x00,0x86,0xf6,0x01,0x00,0xaa,0x7e,0x00,0x00,0xa6,0xf6,0x01,0x00, 0xac,0x7e,0x00,0x00,0xda,0xf6,0x01,0x00,0xad,0x7e,0x00,0x00,0x0a,0xf7,0x01,0x00,0xaf,0x7e,0x00,0x00, 0x12,0xf7,0x01,0x00,0xb0,0x7e,0x00,0x00,0x42,0xf7,0x01,0x00,0xb1,0x7e,0x00,0x00,0x52,0xf7,0x01,0x00, 0xb2,0x7e,0x00,0x00,0x84,0xf7,0x01,0x00,0xb3,0x7e,0x00,0x00,0xaa,0xf7,0x01,0x00,0xb4,0x7e,0x00,0x00, 0xe4,0xf7,0x01,0x00,0xb5,0x7e,0x00,0x00,0xec,0xf7,0x01,0x00,0xb7,0x7e,0x00,0x00,0x18,0xf8,0x01,0x00, 0xb8,0x7e,0x00,0x00,0x48,0xf8,0x01,0x00,0xb9,0x7e,0x00,0x00,0x74,0xf8,0x01,0x00,0xba,0x7e,0x00,0x00, 0xa6,0xf8,0x01,0x00,0xbd,0x7e,0x00,0x00,0xda,0xf8,0x01,0x00,0xbe,0x7e,0x00,0x00,0x10,0xf9,0x01,0x00, 0xbf,0x7e,0x00,0x00,0x2c,0xf9,0x01,0x00,0xc0,0x7e,0x00,0x00,0x5e,0xf9,0x01,0x00,0xc3,0x7e,0x00,0x00, 0x66,0xf9,0x01,0x00,0xc4,0x7e,0x00,0x00,0x92,0xf9,0x01,0x00,0xc5,0x7e,0x00,0x00,0xc6,0xf9,0x01,0x00, 0xc6,0x7e,0x00,0x00,0xe0,0xf9,0x01,0x00,0xc7,0x7e,0x00,0x00,0x0c,0xfa,0x01,0x00,0xc8,0x7e,0x00,0x00, 0x3a,0xfa,0x01,0x00,0xc9,0x7e,0x00,0x00,0x66,0xfa,0x01,0x00,0xca,0x7e,0x00,0x00,0x76,0xfa,0x01,0x00, 0xcb,0x7e,0x00,0x00,0xae,0xfa,0x01,0x00,0xcd,0x7e,0x00,0x00,0xb6,0xfa,0x01,0x00,0xcf,0x7e,0x00,0x00, 0xf4,0xfa,0x01,0x00,0xd1,0x7e,0x00,0x00,0x26,0xfb,0x01,0x00,0xd2,0x7e,0x00,0x00,0x56,0xfb,0x01,0x00, 0xd3,0x7e,0x00,0x00,0x90,0xfb,0x01,0x00,0xd5,0x7e,0x00,0x00,0xbe,0xfb,0x01,0x00,0xd7,0x7e,0x00,0x00, 0xf2,0xfb,0x01,0x00,0xd8,0x7e,0x00,0x00,0xfa,0xfb,0x01,0x00,0xd9,0x7e,0x00,0x00,0x34,0xfc,0x01,0x00, 0xda,0x7e,0x00,0x00,0x64,0xfc,0x01,0x00,0xdb,0x7e,0x00,0x00,0x88,0xfc,0x01,0x00,0xdc,0x7e,0x00,0x00, 0x94,0xfc,0x01,0x00,0xdd,0x7e,0x00,0x00,0xc0,0xfc,0x01,0x00,0xde,0x7e,0x00,0x00,0xf4,0xfc,0x01,0x00, 0xdf,0x7e,0x00,0x00,0x26,0xfd,0x01,0x00,0xe0,0x7e,0x00,0x00,0x5a,0xfd,0x01,0x00,0xe2,0x7e,0x00,0x00, 0x66,0xfd,0x01,0x00,0xe3,0x7e,0x00,0x00,0x84,0xfd,0x01,0x00,0xe5,0x7e,0x00,0x00,0xba,0xfd,0x01,0x00, 0xe6,0x7e,0x00,0x00,0xf2,0xfd,0x01,0x00,0xe7,0x7e,0x00,0x00,0x0c,0xfe,0x01,0x00,0xe9,0x7e,0x00,0x00, 0x42,0xfe,0x01,0x00,0xea,0x7e,0x00,0x00,0x7c,0xfe,0x01,0x00,0xeb,0x7e,0x00,0x00,0x8c,0xfe,0x01,0x00, 0xed,0x7e,0x00,0x00,0x98,0xfe,0x01,0x00,0xee,0x7e,0x00,0x00,0xc4,0xfe,0x01,0x00,0xef,0x7e,0x00,0x00, 0xf2,0xfe,0x01,0x00,0xf0,0x7e,0x00,0x00,0x02,0xff,0x01,0x00,0xf1,0x7e,0x00,0x00,0x1e,0xff,0x01,0x00, 0xf2,0x7e,0x00,0x00,0x26,0xff,0x01,0x00,0xf3,0x7e,0x00,0x00,0x2e,0xff,0x01,0x00,0xf4,0x7e,0x00,0x00, 0x5e,0xff,0x01,0x00,0xf5,0x7e,0x00,0x00,0x90,0xff,0x01,0x00,0xf6,0x7e,0x00,0x00,0xc0,0xff,0x01,0x00, 0xf7,0x7e,0x00,0x00,0xc8,0xff,0x01,0x00,0xf8,0x7e,0x00,0x00,0xfa,0xff,0x01,0x00,0xfa,0x7e,0x00,0x00, 0x1a,0x00,0x02,0x00,0xfc,0x7e,0x00,0x00,0x2a,0x00,0x02,0x00,0xfd,0x7e,0x00,0x00,0x66,0x00,0x02,0x00, 0xff,0x7e,0x00,0x00,0x8a,0x00,0x02,0x00,0x00,0x7f,0x00,0x00,0xb8,0x00,0x02,0x00,0x01,0x7f,0x00,0x00, 0xe0,0x00,0x02,0x00,0x02,0x7f,0x00,0x00,0xe8,0x00,0x02,0x00,0x04,0x7f,0x00,0x00,0xf0,0x00,0x02,0x00, 0x05,0x7f,0x00,0x00,0x0a,0x01,0x02,0x00,0x06,0x7f,0x00,0x00,0x3c,0x01,0x02,0x00,0x09,0x7f,0x00,0x00, 0x6e,0x01,0x02,0x00,0x0e,0x7f,0x00,0x00,0xa2,0x01,0x02,0x00,0x0f,0x7f,0x00,0x00,0xc0,0x01,0x02,0x00, 0x13,0x7f,0x00,0x00,0xc8,0x01,0x02,0x00,0x14,0x7f,0x00,0x00,0xf4,0x01,0x02,0x00,0x15,0x7f,0x00,0x00, 0x24,0x02,0x02,0x00,0x16,0x7f,0x00,0x00,0x40,0x02,0x02,0x00,0x18,0x7f,0x00,0x00,0x6c,0x02,0x02,0x00, 0x19,0x7f,0x00,0x00,0x9e,0x02,0x02,0x00,0x1a,0x7f,0x00,0x00,0xb6,0x02,0x02,0x00,0x1c,0x7f,0x00,0x00, 0xc2,0x02,0x02,0x00,0x1d,0x7f,0x00,0x00,0xd6,0x02,0x02,0x00,0x1f,0x7f,0x00,0x00,0x0a,0x03,0x02,0x00, 0x20,0x7f,0x00,0x00,0x18,0x03,0x02,0x00,0x22,0x7f,0x00,0x00,0x48,0x03,0x02,0x00,0x23,0x7f,0x00,0x00, 0x58,0x03,0x02,0x00,0x24,0x7f,0x00,0x00,0x60,0x03,0x02,0x00,0x25,0x7f,0x00,0x00,0x72,0x03,0x02,0x00, 0x26,0x7f,0x00,0x00,0x8a,0x03,0x02,0x00,0x28,0x7f,0x00,0x00,0x92,0x03,0x02,0x00,0x29,0x7f,0x00,0x00, 0xa8,0x03,0x02,0x00,0x2a,0x7f,0x00,0x00,0xd4,0x03,0x02,0x00,0x2b,0x7f,0x00,0x00,0xe2,0x03,0x02,0x00, 0x2c,0x7f,0x00,0x00,0xea,0x03,0x02,0x00,0x2d,0x7f,0x00,0x00,0xf4,0x03,0x02,0x00,0x2e,0x7f,0x00,0x00, 0x00,0x04,0x02,0x00,0x30,0x7f,0x00,0x00,0x0c,0x04,0x02,0x00,0x31,0x7f,0x00,0x00,0x14,0x04,0x02,0x00, 0x33,0x7f,0x00,0x00,0x1c,0x04,0x02,0x00,0x34,0x7f,0x00,0x00,0x24,0x04,0x02,0x00,0x35,0x7f,0x00,0x00, 0x56,0x04,0x02,0x00,0x36,0x7f,0x00,0x00,0x66,0x04,0x02,0x00,0x38,0x7f,0x00,0x00,0x6e,0x04,0x02,0x00, 0x3a,0x7f,0x00,0x00,0x9a,0x04,0x02,0x00,0x42,0x7f,0x00,0x00,0xc6,0x04,0x02,0x00,0x44,0x7f,0x00,0x00, 0xe8,0x04,0x02,0x00,0x45,0x7f,0x00,0x00,0x16,0x05,0x02,0x00,0x4d,0x7f,0x00,0x00,0x22,0x05,0x02,0x00, 0x50,0x7f,0x00,0x00,0x2a,0x05,0x02,0x00,0x51,0x7f,0x00,0x00,0x56,0x05,0x02,0x00,0x54,0x7f,0x00,0x00, 0x82,0x05,0x02,0x00,0x55,0x7f,0x00,0x00,0x8e,0x05,0x02,0x00,0x57,0x7f,0x00,0x00,0xb0,0x05,0x02,0x00, 0x58,0x7f,0x00,0x00,0xe8,0x05,0x02,0x00,0x5a,0x7f,0x00,0x00,0xf0,0x05,0x02,0x00,0x61,0x7f,0x00,0x00, 0x20,0x06,0x02,0x00,0x62,0x7f,0x00,0x00,0x28,0x06,0x02,0x00,0x69,0x7f,0x00,0x00,0x54,0x06,0x02,0x00, 0x6a,0x7f,0x00,0x00,0x74,0x06,0x02,0x00,0x6e,0x7f,0x00,0x00,0xa4,0x06,0x02,0x00,0x72,0x7f,0x00,0x00, 0xd4,0x06,0x02,0x00,0x74,0x7f,0x00,0x00,0xee,0x06,0x02,0x00,0x79,0x7f,0x00,0x00,0xf6,0x06,0x02,0x00, 0x7d,0x7f,0x00,0x00,0x1a,0x07,0x02,0x00,0x81,0x7f,0x00,0x00,0x22,0x07,0x02,0x00,0x8a,0x7f,0x00,0x00, 0x40,0x07,0x02,0x00,0x8c,0x7f,0x00,0x00,0x70,0x07,0x02,0x00,0x8e,0x7f,0x00,0x00,0x94,0x07,0x02,0x00, 0x94,0x7f,0x00,0x00,0xc2,0x07,0x02,0x00,0x9a,0x7f,0x00,0x00,0xd2,0x07,0x02,0x00,0x9d,0x7f,0x00,0x00, 0xf2,0x07,0x02,0x00,0x9e,0x7f,0x00,0x00,0xfe,0x07,0x02,0x00,0x9f,0x7f,0x00,0x00,0x32,0x08,0x02,0x00, 0xa1,0x7f,0x00,0x00,0x5a,0x08,0x02,0x00,0xa4,0x7f,0x00,0x00,0x68,0x08,0x02,0x00,0xa7,0x7f,0x00,0x00, 0x96,0x08,0x02,0x00,0xa8,0x7f,0x00,0x00,0xb0,0x08,0x02,0x00,0xaf,0x7f,0x00,0x00,0xbc,0x08,0x02,0x00, 0xb0,0x7f,0x00,0x00,0xdc,0x08,0x02,0x00,0xb1,0x7f,0x00,0x00,0xe4,0x08,0x02,0x00,0xb2,0x7f,0x00,0x00, 0xec,0x08,0x02,0x00,0xb8,0x7f,0x00,0x00,0xfc,0x08,0x02,0x00,0xb9,0x7f,0x00,0x00,0x04,0x09,0x02,0x00, 0xbc,0x7f,0x00,0x00,0x24,0x09,0x02,0x00,0xbd,0x7f,0x00,0x00,0x30,0x09,0x02,0x00,0xc1,0x7f,0x00,0x00, 0x64,0x09,0x02,0x00,0xc5,0x7f,0x00,0x00,0xa6,0x09,0x02,0x00,0xca,0x7f,0x00,0x00,0xce,0x09,0x02,0x00, 0xcc,0x7f,0x00,0x00,0xd8,0x09,0x02,0x00,0xce,0x7f,0x00,0x00,0xe4,0x09,0x02,0x00,0xd4,0x7f,0x00,0x00, 0xf4,0x09,0x02,0x00,0xd5,0x7f,0x00,0x00,0x22,0x0a,0x02,0x00,0xd8,0x7f,0x00,0x00,0x32,0x0a,0x02,0x00, 0xdb,0x7f,0x00,0x00,0x68,0x0a,0x02,0x00,0xdf,0x7f,0x00,0x00,0x74,0x0a,0x02,0x00,0xe0,0x7f,0x00,0x00, 0x8a,0x0a,0x02,0x00,0xe1,0x7f,0x00,0x00,0xb8,0x0a,0x02,0x00,0xe6,0x7f,0x00,0x00,0xde,0x0a,0x02,0x00, 0xe9,0x7f,0x00,0x00,0xe6,0x0a,0x02,0x00,0xf0,0x7f,0x00,0x00,0x16,0x0b,0x02,0x00,0xf1,0x7f,0x00,0x00, 0x44,0x0b,0x02,0x00,0xf3,0x7f,0x00,0x00,0x4c,0x0b,0x02,0x00,0xfb,0x7f,0x00,0x00,0x58,0x0b,0x02,0x00, 0xfc,0x7f,0x00,0x00,0x84,0x0b,0x02,0x00,0x00,0x80,0x00,0x00,0xb2,0x0b,0x02,0x00,0x01,0x80,0x00,0x00, 0xe4,0x0b,0x02,0x00,0x03,0x80,0x00,0x00,0x14,0x0c,0x02,0x00,0x04,0x80,0x00,0x00,0x40,0x0c,0x02,0x00, 0x06,0x80,0x00,0x00,0x70,0x0c,0x02,0x00,0x0c,0x80,0x00,0x00,0x80,0x0c,0x02,0x00,0x0d,0x80,0x00,0x00, 0xb0,0x0c,0x02,0x00,0x10,0x80,0x00,0x00,0xe8,0x0c,0x02,0x00,0x12,0x80,0x00,0x00,0x1c,0x0d,0x02,0x00, 0x15,0x80,0x00,0x00,0x2e,0x0d,0x02,0x00,0x17,0x80,0x00,0x00,0x5c,0x0d,0x02,0x00,0x18,0x80,0x00,0x00, 0x8a,0x0d,0x02,0x00,0x19,0x80,0x00,0x00,0x92,0x0d,0x02,0x00,0x26,0x80,0x00,0x00,0xac,0x0d,0x02,0x00, 0x33,0x80,0x00,0x00,0xd6,0x0d,0x02,0x00,0x35,0x80,0x00,0x00,0x0a,0x0e,0x02,0x00,0x36,0x80,0x00,0x00, 0x12,0x0e,0x02,0x00,0x37,0x80,0x00,0x00,0x48,0x0e,0x02,0x00,0x38,0x80,0x00,0x00,0x50,0x0e,0x02,0x00, 0x3b,0x80,0x00,0x00,0x7c,0x0e,0x02,0x00,0x3d,0x80,0x00,0x00,0xae,0x0e,0x02,0x00,0x3f,0x80,0x00,0x00, 0xd2,0x0e,0x02,0x00,0x42,0x80,0x00,0x00,0x12,0x0f,0x02,0x00,0x46,0x80,0x00,0x00,0x4e,0x0f,0x02,0x00, 0x4a,0x80,0x00,0x00,0x5e,0x0f,0x02,0x00,0x4b,0x80,0x00,0x00,0x98,0x0f,0x02,0x00,0x4c,0x80,0x00,0x00, 0xc2,0x0f,0x02,0x00,0x52,0x80,0x00,0x00,0xee,0x0f,0x02,0x00,0x54,0x80,0x00,0x00,0xfa,0x0f,0x02,0x00, 0x58,0x80,0x00,0x00,0x2a,0x10,0x02,0x00,0x5a,0x80,0x00,0x00,0x5c,0x10,0x02,0x00,0x6a,0x80,0x00,0x00, 0x8a,0x10,0x02,0x00,0x83,0x80,0x00,0x00,0xce,0x10,0x02,0x00,0x84,0x80,0x00,0x00,0x02,0x11,0x02,0x00, 0x86,0x80,0x00,0x00,0x18,0x11,0x02,0x00,0x87,0x80,0x00,0x00,0x40,0x11,0x02,0x00,0x89,0x80,0x00,0x00, 0x76,0x11,0x02,0x00,0x8b,0x80,0x00,0x00,0xa8,0x11,0x02,0x00,0x8c,0x80,0x00,0x00,0xc6,0x11,0x02,0x00, 0x8f,0x80,0x00,0x00,0xf6,0x11,0x02,0x00,0x96,0x80,0x00,0x00,0x0c,0x12,0x02,0x00,0x98,0x80,0x00,0x00, 0x40,0x12,0x02,0x00,0x9a,0x80,0x00,0x00,0x66,0x12,0x02,0x00,0x9b,0x80,0x00,0x00,0x96,0x12,0x02,0x00, 0x9d,0x80,0x00,0x00,0xc8,0x12,0x02,0x00,0xa0,0x80,0x00,0x00,0xf8,0x12,0x02,0x00,0xa1,0x80,0x00,0x00, 0x2a,0x13,0x02,0x00,0xa2,0x80,0x00,0x00,0x58,0x13,0x02,0x00,0xa4,0x80,0x00,0x00,0x76,0x13,0x02,0x00, 0xa5,0x80,0x00,0x00,0x90,0x13,0x02,0x00,0xa9,0x80,0x00,0x00,0xc2,0x13,0x02,0x00,0xae,0x80,0x00,0x00, 0xf6,0x13,0x02,0x00,0xaf,0x80,0x00,0x00,0xfe,0x13,0x02,0x00,0xb1,0x80,0x00,0x00,0x3c,0x14,0x02,0x00, 0xb2,0x80,0x00,0x00,0x54,0x14,0x02,0x00,0xb4,0x80,0x00,0x00,0x80,0x14,0x02,0x00,0xba,0x80,0x00,0x00, 0x88,0x14,0x02,0x00,0xbd,0x80,0x00,0x00,0xb8,0x14,0x02,0x00,0xbe,0x80,0x00,0x00,0xe0,0x14,0x02,0x00, 0xbf,0x80,0x00,0x00,0x14,0x15,0x02,0x00,0xc0,0x80,0x00,0x00,0x44,0x15,0x02,0x00,0xc1,0x80,0x00,0x00, 0x66,0x15,0x02,0x00,0xc2,0x80,0x00,0x00,0x84,0x15,0x02,0x00,0xc3,0x80,0x00,0x00,0x90,0x15,0x02,0x00, 0xc4,0x80,0x00,0x00,0xc0,0x15,0x02,0x00,0xc6,0x80,0x00,0x00,0xd8,0x15,0x02,0x00,0xcc,0x80,0x00,0x00, 0x08,0x16,0x02,0x00,0xce,0x80,0x00,0x00,0x34,0x16,0x02,0x00,0xd6,0x80,0x00,0x00,0x64,0x16,0x02,0x00, 0xda,0x80,0x00,0x00,0x96,0x16,0x02,0x00,0xdc,0x80,0x00,0x00,0xd0,0x16,0x02,0x00,0xde,0x80,0x00,0x00, 0xfc,0x16,0x02,0x00,0xe0,0x80,0x00,0x00,0x2c,0x17,0x02,0x00,0xe1,0x80,0x00,0x00,0x3c,0x17,0x02,0x00, 0xe5,0x80,0x00,0x00,0x72,0x17,0x02,0x00,0xea,0x80,0x00,0x00,0x7a,0x17,0x02,0x00,0xeb,0x80,0x00,0x00, 0x8c,0x17,0x02,0x00,0xec,0x80,0x00,0x00,0x94,0x17,0x02,0x00,0xed,0x80,0x00,0x00,0x9c,0x17,0x02,0x00, 0xef,0x80,0x00,0x00,0xba,0x17,0x02,0x00,0xf0,0x80,0x00,0x00,0xd2,0x17,0x02,0x00,0xf1,0x80,0x00,0x00, 0x08,0x18,0x02,0x00,0xf3,0x80,0x00,0x00,0x12,0x18,0x02,0x00,0xf4,0x80,0x00,0x00,0x60,0x18,0x02,0x00, 0xf6,0x80,0x00,0x00,0x68,0x18,0x02,0x00,0xf8,0x80,0x00,0x00,0x9a,0x18,0x02,0x00,0xfa,0x80,0x00,0x00, 0xc6,0x18,0x02,0x00,0xfc,0x80,0x00,0x00,0xd4,0x18,0x02,0x00,0xfd,0x80,0x00,0x00,0xea,0x18,0x02,0x00, 0x02,0x81,0x00,0x00,0x1c,0x19,0x02,0x00,0x06,0x81,0x00,0x00,0x56,0x19,0x02,0x00,0x09,0x81,0x00,0x00, 0x84,0x19,0x02,0x00,0x0a,0x81,0x00,0x00,0xb6,0x19,0x02,0x00,0x0d,0x81,0x00,0x00,0xea,0x19,0x02,0x00, 0x0f,0x81,0x00,0x00,0xf6,0x19,0x02,0x00,0x10,0x81,0x00,0x00,0x26,0x1a,0x02,0x00,0x11,0x81,0x00,0x00, 0x54,0x1a,0x02,0x00,0x13,0x81,0x00,0x00,0x82,0x1a,0x02,0x00,0x14,0x81,0x00,0x00,0xae,0x1a,0x02,0x00, 0x16,0x81,0x00,0x00,0xb6,0x1a,0x02,0x00,0x18,0x81,0x00,0x00,0xea,0x1a,0x02,0x00,0x1a,0x81,0x00,0x00, 0xf6,0x1a,0x02,0x00,0x2f,0x81,0x00,0x00,0x28,0x1b,0x02,0x00,0x31,0x81,0x00,0x00,0x36,0x1b,0x02,0x00, 0x32,0x81,0x00,0x00,0x68,0x1b,0x02,0x00,0x38,0x81,0x00,0x00,0x70,0x1b,0x02,0x00,0x3e,0x81,0x00,0x00, 0x9c,0x1b,0x02,0x00,0x48,0x81,0x00,0x00,0xc0,0x1b,0x02,0x00,0x4a,0x81,0x00,0x00,0xc8,0x1b,0x02,0x00, 0x4b,0x81,0x00,0x00,0x02,0x1c,0x02,0x00,0x4c,0x81,0x00,0x00,0x1e,0x1c,0x02,0x00,0x50,0x81,0x00,0x00, 0x50,0x1c,0x02,0x00,0x53,0x81,0x00,0x00,0x80,0x1c,0x02,0x00,0x54,0x81,0x00,0x00,0xb8,0x1c,0x02,0x00, 0x55,0x81,0x00,0x00,0xea,0x1c,0x02,0x00,0x58,0x81,0x00,0x00,0x16,0x1d,0x02,0x00,0x60,0x81,0x00,0x00, 0x44,0x1d,0x02,0x00,0x65,0x81,0x00,0x00,0x4c,0x1d,0x02,0x00,0x67,0x81,0x00,0x00,0x7c,0x1d,0x02,0x00, 0x69,0x81,0x00,0x00,0x84,0x1d,0x02,0x00,0x6d,0x81,0x00,0x00,0x8c,0x1d,0x02,0x00,0x6e,0x81,0x00,0x00, 0x94,0x1d,0x02,0x00,0x70,0x81,0x00,0x00,0xc4,0x1d,0x02,0x00,0x71,0x81,0x00,0x00,0xfc,0x1d,0x02,0x00, 0x79,0x81,0x00,0x00,0x1c,0x1e,0x02,0x00,0x7a,0x81,0x00,0x00,0x4a,0x1e,0x02,0x00,0x7b,0x81,0x00,0x00, 0x7c,0x1e,0x02,0x00,0x7c,0x81,0x00,0x00,0xac,0x1e,0x02,0x00,0x7d,0x81,0x00,0x00,0xb8,0x1e,0x02,0x00, 0x7e,0x81,0x00,0x00,0xcc,0x1e,0x02,0x00,0x7f,0x81,0x00,0x00,0xfa,0x1e,0x02,0x00,0x80,0x81,0x00,0x00, 0x2a,0x1f,0x02,0x00,0x82,0x81,0x00,0x00,0x62,0x1f,0x02,0x00,0x88,0x81,0x00,0x00,0x6a,0x1f,0x02,0x00, 0x8a,0x81,0x00,0x00,0x72,0x1f,0x02,0x00,0x8f,0x81,0x00,0x00,0x7a,0x1f,0x02,0x00,0x91,0x81,0x00,0x00, 0xa8,0x1f,0x02,0x00,0x98,0x81,0x00,0x00,0xb4,0x1f,0x02,0x00,0x9b,0x81,0x00,0x00,0xd8,0x1f,0x02,0x00, 0x9c,0x81,0x00,0x00,0xe8,0x1f,0x02,0x00,0x9d,0x81,0x00,0x00,0x06,0x20,0x02,0x00,0xa8,0x81,0x00,0x00, 0x40,0x20,0x02,0x00,0xb3,0x81,0x00,0x00,0x7a,0x20,0x02,0x00,0xba,0x81,0x00,0x00,0x92,0x20,0x02,0x00, 0xbb,0x81,0x00,0x00,0x9e,0x20,0x02,0x00,0xc0,0x81,0x00,0x00,0xa6,0x20,0x02,0x00,0xc2,0x81,0x00,0x00, 0xd8,0x20,0x02,0x00,0xc3,0x81,0x00,0x00,0x04,0x21,0x02,0x00,0xc6,0x81,0x00,0x00,0x0c,0x21,0x02,0x00, 0xca,0x81,0x00,0x00,0x38,0x21,0x02,0x00,0xcc,0x81,0x00,0x00,0x4e,0x21,0x02,0x00,0xe3,0x81,0x00,0x00, 0x56,0x21,0x02,0x00,0xe5,0x81,0x00,0x00,0x86,0x21,0x02,0x00,0xe7,0x81,0x00,0x00,0x9a,0x21,0x02,0x00, 0xea,0x81,0x00,0x00,0xa2,0x21,0x02,0x00,0xec,0x81,0x00,0x00,0xd0,0x21,0x02,0x00,0xed,0x81,0x00,0x00, 0xdc,0x21,0x02,0x00,0xf3,0x81,0x00,0x00,0x10,0x22,0x02,0x00,0xf4,0x81,0x00,0x00,0x40,0x22,0x02,0x00, 0xfb,0x81,0x00,0x00,0x6e,0x22,0x02,0x00,0xfc,0x81,0x00,0x00,0x92,0x22,0x02,0x00,0xfe,0x81,0x00,0x00, 0x9a,0x22,0x02,0x00,0x00,0x82,0x00,0x00,0xa2,0x22,0x02,0x00,0x02,0x82,0x00,0x00,0xb6,0x22,0x02,0x00, 0x05,0x82,0x00,0x00,0xbe,0x22,0x02,0x00,0x06,0x82,0x00,0x00,0xe2,0x22,0x02,0x00,0x0c,0x82,0x00,0x00, 0x22,0x23,0x02,0x00,0x0d,0x82,0x00,0x00,0x4e,0x23,0x02,0x00,0x10,0x82,0x00,0x00,0x84,0x23,0x02,0x00, 0x12,0x82,0x00,0x00,0xa4,0x23,0x02,0x00,0x14,0x82,0x00,0x00,0xd4,0x23,0x02,0x00,0x16,0x82,0x00,0x00, 0xfa,0x23,0x02,0x00,0x1b,0x82,0x00,0x00,0x02,0x24,0x02,0x00,0x1c,0x82,0x00,0x00,0x12,0x24,0x02,0x00, 0x1e,0x82,0x00,0x00,0x42,0x24,0x02,0x00,0x1f,0x82,0x00,0x00,0x70,0x24,0x02,0x00,0x22,0x82,0x00,0x00, 0xa8,0x24,0x02,0x00,0x2a,0x82,0x00,0x00,0xb4,0x24,0x02,0x00,0x2c,0x82,0x00,0x00,0xe4,0x24,0x02,0x00, 0x30,0x82,0x00,0x00,0x2a,0x25,0x02,0x00,0x31,0x82,0x00,0x00,0x58,0x25,0x02,0x00,0x34,0x82,0x00,0x00, 0x88,0x25,0x02,0x00,0x35,0x82,0x00,0x00,0x90,0x25,0x02,0x00,0x36,0x82,0x00,0x00,0xb0,0x25,0x02,0x00, 0x37,0x82,0x00,0x00,0xbe,0x25,0x02,0x00,0x39,0x82,0x00,0x00,0xd2,0x25,0x02,0x00,0x3b,0x82,0x00,0x00, 0xfe,0x25,0x02,0x00,0x3e,0x82,0x00,0x00,0x0a,0x26,0x02,0x00,0x44,0x82,0x00,0x00,0x12,0x26,0x02,0x00, 0x45,0x82,0x00,0x00,0x1e,0x26,0x02,0x00,0x47,0x82,0x00,0x00,0x26,0x26,0x02,0x00,0x4b,0x82,0x00,0x00, 0x46,0x26,0x02,0x00,0x58,0x82,0x00,0x00,0x4e,0x26,0x02,0x00,0x68,0x82,0x00,0x00,0x56,0x26,0x02,0x00, 0x6e,0x82,0x00,0x00,0x62,0x26,0x02,0x00,0x6f,0x82,0x00,0x00,0x6e,0x26,0x02,0x00,0x70,0x82,0x00,0x00, 0x9e,0x26,0x02,0x00,0x72,0x82,0x00,0x00,0xd8,0x26,0x02,0x00,0x73,0x82,0x00,0x00,0x04,0x27,0x02,0x00, 0x77,0x82,0x00,0x00,0x32,0x27,0x02,0x00,0x7a,0x82,0x00,0x00,0x3a,0x27,0x02,0x00,0x7e,0x82,0x00,0x00, 0x74,0x27,0x02,0x00,0x82,0x82,0x00,0x00,0xb0,0x27,0x02,0x00,0x8a,0x82,0x00,0x00,0xde,0x27,0x02,0x00, 0x8b,0x82,0x00,0x00,0xf2,0x27,0x02,0x00,0x8d,0x82,0x00,0x00,0x0e,0x28,0x02,0x00,0x8e,0x82,0x00,0x00, 0x1a,0x28,0x02,0x00,0x92,0x82,0x00,0x00,0x2c,0x28,0x02,0x00,0x97,0x82,0x00,0x00,0x5e,0x28,0x02,0x00, 0x99,0x82,0x00,0x00,0x70,0x28,0x02,0x00,0x9c,0x82,0x00,0x00,0xaa,0x28,0x02,0x00,0x9d,0x82,0x00,0x00, 0xe0,0x28,0x02,0x00,0x9f,0x82,0x00,0x00,0x20,0x29,0x02,0x00,0xa1,0x82,0x00,0x00,0x2c,0x29,0x02,0x00, 0xa5,0x82,0x00,0x00,0x3c,0x29,0x02,0x00,0xa6,0x82,0x00,0x00,0x6e,0x29,0x02,0x00,0xa8,0x82,0x00,0x00, 0xa0,0x29,0x02,0x00,0xab,0x82,0x00,0x00,0xaa,0x29,0x02,0x00,0xac,0x82,0x00,0x00,0xc2,0x29,0x02,0x00, 0xad,0x82,0x00,0x00,0xf6,0x29,0x02,0x00,0xae,0x82,0x00,0x00,0x34,0x2a,0x02,0x00,0xaf,0x82,0x00,0x00, 0x4e,0x2a,0x02,0x00,0xb1,0x82,0x00,0x00,0x86,0x2a,0x02,0x00,0xb3,0x82,0x00,0x00,0xb4,0x2a,0x02,0x00, 0xb7,0x82,0x00,0x00,0xe4,0x2a,0x02,0x00,0xb8,0x82,0x00,0x00,0x04,0x2b,0x02,0x00,0xb9,0x82,0x00,0x00, 0x3c,0x2b,0x02,0x00,0xbd,0x82,0x00,0x00,0x44,0x2b,0x02,0x00,0xc4,0x82,0x00,0x00,0x76,0x2b,0x02,0x00, 0xc7,0x82,0x00,0x00,0x7e,0x2b,0x02,0x00,0xcb,0x82,0x00,0x00,0xac,0x2b,0x02,0x00,0xcc,0x82,0x00,0x00, 0xb8,0x2b,0x02,0x00,0xcd,0x82,0x00,0x00,0xc6,0x2b,0x02,0x00,0xce,0x82,0x00,0x00,0xf6,0x2b,0x02,0x00, 0xcf,0x82,0x00,0x00,0xfe,0x2b,0x02,0x00,0xd1,0x82,0x00,0x00,0x3e,0x2c,0x02,0x00,0xd3,0x82,0x00,0x00, 0x56,0x2c,0x02,0x00,0xd4,0x82,0x00,0x00,0x64,0x2c,0x02,0x00,0xd7,0x82,0x00,0x00,0x80,0x2c,0x02,0x00, 0xd8,0x82,0x00,0x00,0xae,0x2c,0x02,0x00,0xdb,0x82,0x00,0x00,0xbc,0x2c,0x02,0x00,0xdc,0x82,0x00,0x00, 0xf4,0x2c,0x02,0x00,0xde,0x82,0x00,0x00,0x02,0x2d,0x02,0x00,0xdf,0x82,0x00,0x00,0x2c,0x2d,0x02,0x00, 0xe1,0x82,0x00,0x00,0x6a,0x2d,0x02,0x00,0xe3,0x82,0x00,0x00,0x76,0x2d,0x02,0x00,0xe4,0x82,0x00,0x00, 0x80,0x2d,0x02,0x00,0xe5,0x82,0x00,0x00,0x88,0x2d,0x02,0x00,0xe6,0x82,0x00,0x00,0xc4,0x2d,0x02,0x00, 0xeb,0x82,0x00,0x00,0xf4,0x2d,0x02,0x00,0xef,0x82,0x00,0x00,0x00,0x2e,0x02,0x00,0xf1,0x82,0x00,0x00, 0x3a,0x2e,0x02,0x00,0xf2,0x82,0x00,0x00,0x6a,0x2e,0x02,0x00,0xf4,0x82,0x00,0x00,0x72,0x2e,0x02,0x00, 0xf9,0x82,0x00,0x00,0x7a,0x2e,0x02,0x00,0xfb,0x82,0x00,0x00,0xba,0x2e,0x02,0x00,0xfe,0x82,0x00,0x00, 0xc2,0x2e,0x02,0x00,0x00,0x83,0x00,0x00,0xca,0x2e,0x02,0x00,0x01,0x83,0x00,0x00,0xd2,0x2e,0x02,0x00, 0x02,0x83,0x00,0x00,0xde,0x2e,0x02,0x00,0x03,0x83,0x00,0x00,0x10,0x2f,0x02,0x00,0x04,0x83,0x00,0x00, 0x42,0x2f,0x02,0x00,0x05,0x83,0x00,0x00,0x80,0x2f,0x02,0x00,0x09,0x83,0x00,0x00,0xb4,0x2f,0x02,0x00, 0x0c,0x83,0x00,0x00,0xd8,0x2f,0x02,0x00,0x0e,0x83,0x00,0x00,0xe6,0x2f,0x02,0x00,0x14,0x83,0x00,0x00, 0xf6,0x2f,0x02,0x00,0x15,0x83,0x00,0x00,0xfe,0x2f,0x02,0x00,0x17,0x83,0x00,0x00,0x0e,0x30,0x02,0x00, 0x1c,0x83,0x00,0x00,0x16,0x30,0x02,0x00,0x27,0x83,0x00,0x00,0x22,0x30,0x02,0x00,0x28,0x83,0x00,0x00, 0x38,0x30,0x02,0x00,0x2b,0x83,0x00,0x00,0x72,0x30,0x02,0x00,0x2c,0x83,0x00,0x00,0xbe,0x30,0x02,0x00, 0x2d,0x83,0x00,0x00,0xd6,0x30,0x02,0x00,0x2f,0x83,0x00,0x00,0xe4,0x30,0x02,0x00,0x31,0x83,0x00,0x00, 0xf2,0x30,0x02,0x00,0x33,0x83,0x00,0x00,0x16,0x31,0x02,0x00,0x34,0x83,0x00,0x00,0x1e,0x31,0x02,0x00, 0x35,0x83,0x00,0x00,0x3a,0x31,0x02,0x00,0x36,0x83,0x00,0x00,0x52,0x31,0x02,0x00,0x38,0x83,0x00,0x00, 0x7e,0x31,0x02,0x00,0x39,0x83,0x00,0x00,0x8a,0x31,0x02,0x00,0x3c,0x83,0x00,0x00,0xc8,0x31,0x02,0x00, 0x40,0x83,0x00,0x00,0xda,0x31,0x02,0x00,0x43,0x83,0x00,0x00,0xe6,0x31,0x02,0x00,0x46,0x83,0x00,0x00, 0xee,0x31,0x02,0x00,0x47,0x83,0x00,0x00,0x22,0x32,0x02,0x00,0x49,0x83,0x00,0x00,0x2e,0x32,0x02,0x00, 0x4a,0x83,0x00,0x00,0x5c,0x32,0x02,0x00,0x4f,0x83,0x00,0x00,0x64,0x32,0x02,0x00,0x50,0x83,0x00,0x00, 0x70,0x32,0x02,0x00,0x52,0x83,0x00,0x00,0x9a,0x32,0x02,0x00,0x54,0x83,0x00,0x00,0xc6,0x32,0x02,0x00, 0x5a,0x83,0x00,0x00,0xfa,0x32,0x02,0x00,0x5c,0x83,0x00,0x00,0x10,0x33,0x02,0x00,0x5e,0x83,0x00,0x00, 0x24,0x33,0x02,0x00,0x5f,0x83,0x00,0x00,0x44,0x33,0x02,0x00,0x60,0x83,0x00,0x00,0x50,0x33,0x02,0x00, 0x61,0x83,0x00,0x00,0x58,0x33,0x02,0x00,0x63,0x83,0x00,0x00,0x8e,0x33,0x02,0x00,0x64,0x83,0x00,0x00, 0xbc,0x33,0x02,0x00,0x65,0x83,0x00,0x00,0xea,0x33,0x02,0x00,0x66,0x83,0x00,0x00,0x08,0x34,0x02,0x00, 0x67,0x83,0x00,0x00,0x10,0x34,0x02,0x00,0x68,0x83,0x00,0x00,0x4a,0x34,0x02,0x00,0x6b,0x83,0x00,0x00, 0x58,0x34,0x02,0x00,0x6f,0x83,0x00,0x00,0x72,0x34,0x02,0x00,0x73,0x83,0x00,0x00,0xa0,0x34,0x02,0x00, 0x77,0x83,0x00,0x00,0xa8,0x34,0x02,0x00,0x78,0x83,0x00,0x00,0xdc,0x34,0x02,0x00,0x7c,0x83,0x00,0x00, 0xe4,0x34,0x02,0x00,0x85,0x83,0x00,0x00,0xf8,0x34,0x02,0x00,0x86,0x83,0x00,0x00,0x1a,0x35,0x02,0x00, 0x89,0x83,0x00,0x00,0x44,0x35,0x02,0x00,0x8e,0x83,0x00,0x00,0x74,0x35,0x02,0x00,0x92,0x83,0x00,0x00, 0xae,0x35,0x02,0x00,0x93,0x83,0x00,0x00,0xd4,0x35,0x02,0x00,0x98,0x83,0x00,0x00,0xdc,0x35,0x02,0x00, 0x9c,0x83,0x00,0x00,0xf6,0x35,0x02,0x00,0x9e,0x83,0x00,0x00,0x08,0x36,0x02,0x00,0xa8,0x83,0x00,0x00, 0x1c,0x36,0x02,0x00,0xaa,0x83,0x00,0x00,0x28,0x36,0x02,0x00,0xab,0x83,0x00,0x00,0x30,0x36,0x02,0x00, 0xb0,0x83,0x00,0x00,0x6e,0x36,0x02,0x00,0xb1,0x83,0x00,0x00,0x76,0x36,0x02,0x00,0xb2,0x83,0x00,0x00, 0xa2,0x36,0x02,0x00,0xb3,0x83,0x00,0x00,0xd2,0x36,0x02,0x00,0xb4,0x83,0x00,0x00,0xf2,0x36,0x02,0x00, 0xb7,0x83,0x00,0x00,0xfe,0x36,0x02,0x00,0xb9,0x83,0x00,0x00,0x2a,0x37,0x02,0x00,0xba,0x83,0x00,0x00, 0x50,0x37,0x02,0x00,0xbc,0x83,0x00,0x00,0x7c,0x37,0x02,0x00,0xbd,0x83,0x00,0x00,0x84,0x37,0x02,0x00, 0xbf,0x83,0x00,0x00,0xa8,0x37,0x02,0x00,0xc1,0x83,0x00,0x00,0xb6,0x37,0x02,0x00,0xc5,0x83,0x00,0x00, 0xc6,0x37,0x02,0x00,0xc7,0x83,0x00,0x00,0xd0,0x37,0x02,0x00,0xca,0x83,0x00,0x00,0xf8,0x37,0x02,0x00, 0xcc,0x83,0x00,0x00,0x28,0x38,0x02,0x00,0xcf,0x83,0x00,0x00,0x54,0x38,0x02,0x00,0xd3,0x83,0x00,0x00, 0x6c,0x38,0x02,0x00,0xd6,0x83,0x00,0x00,0x74,0x38,0x02,0x00,0xd8,0x83,0x00,0x00,0x7c,0x38,0x02,0x00, 0xdc,0x83,0x00,0x00,0x88,0x38,0x02,0x00,0xdf,0x83,0x00,0x00,0xb8,0x38,0x02,0x00,0xe0,0x83,0x00,0x00, 0xc2,0x38,0x02,0x00,0xe1,0x83,0x00,0x00,0xfa,0x38,0x02,0x00,0xe5,0x83,0x00,0x00,0x02,0x39,0x02,0x00, 0xe9,0x83,0x00,0x00,0x0a,0x39,0x02,0x00,0xf1,0x83,0x00,0x00,0x4a,0x39,0x02,0x00,0xf2,0x83,0x00,0x00, 0x7c,0x39,0x02,0x00,0xf8,0x83,0x00,0x00,0xb8,0x39,0x02,0x00,0xf9,0x83,0x00,0x00,0xd2,0x39,0x02,0x00, 0xfd,0x83,0x00,0x00,0xda,0x39,0x02,0x00,0xfe,0x83,0x00,0x00,0xe6,0x39,0x02,0x00,0x03,0x84,0x00,0x00, 0xee,0x39,0x02,0x00,0x06,0x84,0x00,0x00,0xfa,0x39,0x02,0x00,0x0b,0x84,0x00,0x00,0x02,0x3a,0x02,0x00, 0x0c,0x84,0x00,0x00,0x12,0x3a,0x02,0x00,0x0d,0x84,0x00,0x00,0x40,0x3a,0x02,0x00,0x0e,0x84,0x00,0x00, 0x7e,0x3a,0x02,0x00,0x18,0x84,0x00,0x00,0xaa,0x3a,0x02,0x00,0x1d,0x84,0x00,0x00,0xb6,0x3a,0x02,0x00, 0x24,0x84,0x00,0x00,0xfc,0x3a,0x02,0x00,0x25,0x84,0x00,0x00,0x38,0x3b,0x02,0x00,0x26,0x84,0x00,0x00, 0x6c,0x3b,0x02,0x00,0x27,0x84,0x00,0x00,0x90,0x3b,0x02,0x00,0x28,0x84,0x00,0x00,0xc4,0x3b,0x02,0x00, 0x31,0x84,0x00,0x00,0xfe,0x3b,0x02,0x00,0x39,0x84,0x00,0x00,0x0a,0x3c,0x02,0x00,0x3c,0x84,0x00,0x00, 0x16,0x3c,0x02,0x00,0x3d,0x84,0x00,0x00,0x1e,0x3c,0x02,0x00,0x46,0x84,0x00,0x00,0x4a,0x3c,0x02,0x00, 0x57,0x84,0x00,0x00,0x56,0x3c,0x02,0x00,0x5b,0x84,0x00,0x00,0x8c,0x3c,0x02,0x00,0x61,0x84,0x00,0x00, 0xc2,0x3c,0x02,0x00,0x63,0x84,0x00,0x00,0x02,0x3d,0x02,0x00,0x6b,0x84,0x00,0x00,0x3e,0x3d,0x02,0x00, 0x6c,0x84,0x00,0x00,0x8e,0x3d,0x02,0x00,0x71,0x84,0x00,0x00,0xbe,0x3d,0x02,0x00,0x73,0x84,0x00,0x00, 0xea,0x3d,0x02,0x00,0x75,0x84,0x00,0x00,0xfc,0x3d,0x02,0x00,0x82,0x84,0x00,0x00,0x34,0x3e,0x02,0x00, 0x8b,0x84,0x00,0x00,0x70,0x3e,0x02,0x00,0x8c,0x84,0x00,0x00,0xac,0x3e,0x02,0x00,0x90,0x84,0x00,0x00, 0xb8,0x3e,0x02,0x00,0x99,0x84,0x00,0x00,0xc8,0x3e,0x02,0x00,0x9c,0x84,0x00,0x00,0x00,0x3f,0x02,0x00, 0x9f,0x84,0x00,0x00,0x2c,0x3f,0x02,0x00,0xad,0x84,0x00,0x00,0x34,0x3f,0x02,0x00,0xaf,0x84,0x00,0x00, 0x40,0x3f,0x02,0x00,0xb2,0x84,0x00,0x00,0x48,0x3f,0x02,0x00,0xb4,0x84,0x00,0x00,0x7e,0x3f,0x02,0x00, 0xb8,0x84,0x00,0x00,0x86,0x3f,0x02,0x00,0xba,0x84,0x00,0x00,0xba,0x3f,0x02,0x00,0xbd,0x84,0x00,0x00, 0xc4,0x3f,0x02,0x00,0xbf,0x84,0x00,0x00,0xd2,0x3f,0x02,0x00,0xc4,0x84,0x00,0x00,0xde,0x3f,0x02,0x00, 0xc9,0x84,0x00,0x00,0x14,0x40,0x02,0x00,0xca,0x84,0x00,0x00,0x40,0x40,0x02,0x00,0xd1,0x84,0x00,0x00, 0x5a,0x40,0x02,0x00,0xd3,0x84,0x00,0x00,0x6c,0x40,0x02,0x00,0xd6,0x84,0x00,0x00,0x74,0x40,0x02,0x00, 0xdd,0x84,0x00,0x00,0x96,0x40,0x02,0x00,0xdf,0x84,0x00,0x00,0xc8,0x40,0x02,0x00,0xe6,0x84,0x00,0x00, 0xe8,0x40,0x02,0x00,0xec,0x84,0x00,0x00,0xfa,0x40,0x02,0x00,0xfc,0x84,0x00,0x00,0x32,0x41,0x02,0x00, 0x11,0x85,0x00,0x00,0x3a,0x41,0x02,0x00,0x13,0x85,0x00,0x00,0x46,0x41,0x02,0x00,0x17,0x85,0x00,0x00, 0x7a,0x41,0x02,0x00,0x1a,0x85,0x00,0x00,0x92,0x41,0x02,0x00,0x21,0x85,0x00,0x00,0xce,0x41,0x02,0x00, 0x2b,0x85,0x00,0x00,0x06,0x42,0x02,0x00,0x2c,0x85,0x00,0x00,0x36,0x42,0x02,0x00,0x37,0x85,0x00,0x00, 0x70,0x42,0x02,0x00,0x3a,0x85,0x00,0x00,0x90,0x42,0x02,0x00,0x3b,0x85,0x00,0x00,0x9e,0x42,0x02,0x00, 0x3c,0x85,0x00,0x00,0xae,0x42,0x02,0x00,0x3d,0x85,0x00,0x00,0xba,0x42,0x02,0x00,0x43,0x85,0x00,0x00, 0xe0,0x42,0x02,0x00,0x49,0x85,0x00,0x00,0xf8,0x42,0x02,0x00,0x4a,0x85,0x00,0x00,0x28,0x43,0x02,0x00, 0x59,0x85,0x00,0x00,0x30,0x43,0x02,0x00,0x60,0x85,0x00,0x00,0x38,0x43,0x02,0x00,0x68,0x85,0x00,0x00, 0x40,0x43,0x02,0x00,0x72,0x85,0x00,0x00,0x54,0x43,0x02,0x00,0x74,0x85,0x00,0x00,0x66,0x43,0x02,0x00, 0x79,0x85,0x00,0x00,0x94,0x43,0x02,0x00,0x7b,0x85,0x00,0x00,0x9c,0x43,0x02,0x00,0x7e,0x85,0x00,0x00, 0xa4,0x43,0x02,0x00,0x84,0x85,0x00,0x00,0xd2,0x43,0x02,0x00,0x87,0x85,0x00,0x00,0x0a,0x44,0x02,0x00, 0x8f,0x85,0x00,0x00,0x1c,0x44,0x02,0x00,0x9b,0x85,0x00,0x00,0x32,0x44,0x02,0x00,0xaa,0x85,0x00,0x00, 0x72,0x44,0x02,0x00,0xae,0x85,0x00,0x00,0xa4,0x44,0x02,0x00,0xaf,0x85,0x00,0x00,0xac,0x44,0x02,0x00, 0xb0,0x85,0x00,0x00,0xd0,0x44,0x02,0x00,0xb9,0x85,0x00,0x00,0xe4,0x44,0x02,0x00,0xc1,0x85,0x00,0x00, 0xf2,0x44,0x02,0x00,0xc9,0x85,0x00,0x00,0x0e,0x45,0x02,0x00,0xca,0x85,0x00,0x00,0x3a,0x45,0x02,0x00, 0xcf,0x85,0x00,0x00,0x42,0x45,0x02,0x00,0xd0,0x85,0x00,0x00,0x6e,0x45,0x02,0x00,0xd2,0x85,0x00,0x00, 0x92,0x45,0x02,0x00,0xd3,0x85,0x00,0x00,0x9a,0x45,0x02,0x00,0xd5,0x85,0x00,0x00,0xa2,0x45,0x02,0x00, 0xdc,0x85,0x00,0x00,0xce,0x45,0x02,0x00,0xe4,0x85,0x00,0x00,0xd6,0x45,0x02,0x00,0xe9,0x85,0x00,0x00, 0x02,0x46,0x02,0x00,0xfb,0x85,0x00,0x00,0x1a,0x46,0x02,0x00,0xff,0x85,0x00,0x00,0x48,0x46,0x02,0x00, 0x05,0x86,0x00,0x00,0x50,0x46,0x02,0x00,0x11,0x86,0x00,0x00,0x60,0x46,0x02,0x00,0x16,0x86,0x00,0x00, 0x94,0x46,0x02,0x00,0x18,0x86,0x00,0x00,0x9c,0x46,0x02,0x00,0x27,0x86,0x00,0x00,0xa4,0x46,0x02,0x00, 0x38,0x86,0x00,0x00,0xac,0x46,0x02,0x00,0x3c,0x86,0x00,0x00,0xc0,0x46,0x02,0x00,0x49,0x86,0x00,0x00, 0xc8,0x46,0x02,0x00,0x4e,0x86,0x00,0x00,0xd0,0x46,0x02,0x00,0x4f,0x86,0x00,0x00,0x06,0x47,0x02,0x00, 0x50,0x86,0x00,0x00,0x0e,0x47,0x02,0x00,0x51,0x86,0x00,0x00,0x3e,0x47,0x02,0x00,0x54,0x86,0x00,0x00, 0x46,0x47,0x02,0x00,0x5a,0x86,0x00,0x00,0x72,0x47,0x02,0x00,0x5e,0x86,0x00,0x00,0x9e,0x47,0x02,0x00, 0x6b,0x86,0x00,0x00,0xd4,0x47,0x02,0x00,0x6c,0x86,0x00,0x00,0x00,0x48,0x02,0x00,0x6e,0x86,0x00,0x00, 0x28,0x48,0x02,0x00,0x70,0x86,0x00,0x00,0x30,0x48,0x02,0x00,0x71,0x86,0x00,0x00,0x38,0x48,0x02,0x00, 0x79,0x86,0x00,0x00,0x4e,0x48,0x02,0x00,0x7a,0x86,0x00,0x00,0x84,0x48,0x02,0x00,0x7b,0x86,0x00,0x00, 0x90,0x48,0x02,0x00,0x7c,0x86,0x00,0x00,0x98,0x48,0x02,0x00,0x7d,0x86,0x00,0x00,0xa0,0x48,0x02,0x00, 0x7e,0x86,0x00,0x00,0xd4,0x48,0x02,0x00,0x80,0x86,0x00,0x00,0x02,0x49,0x02,0x00,0x81,0x86,0x00,0x00, 0x16,0x49,0x02,0x00,0x82,0x86,0x00,0x00,0x44,0x49,0x02,0x00,0x8a,0x86,0x00,0x00,0x7c,0x49,0x02,0x00, 0x8c,0x86,0x00,0x00,0xaa,0x49,0x02,0x00,0x8d,0x86,0x00,0x00,0xdc,0x49,0x02,0x00,0x95,0x86,0x00,0x00, 0xf6,0x49,0x02,0x00,0x96,0x86,0x00,0x00,0x22,0x4a,0x02,0x00,0x9c,0x86,0x00,0x00,0x2a,0x4a,0x02,0x00, 0x9d,0x86,0x00,0x00,0x32,0x4a,0x02,0x00,0xa9,0x86,0x00,0x00,0x3a,0x4a,0x02,0x00,0xac,0x86,0x00,0x00, 0x50,0x4a,0x02,0x00,0xaf,0x86,0x00,0x00,0x58,0x4a,0x02,0x00,0xb0,0x86,0x00,0x00,0x60,0x4a,0x02,0x00, 0xb1,0x86,0x00,0x00,0x6e,0x4a,0x02,0x00,0xb5,0x86,0x00,0x00,0x84,0x4a,0x02,0x00,0xb6,0x86,0x00,0x00, 0x92,0x4a,0x02,0x00,0xba,0x86,0x00,0x00,0x9e,0x4a,0x02,0x00,0xc0,0x86,0x00,0x00,0xa6,0x4a,0x02,0x00, 0xc6,0x86,0x00,0x00,0xba,0x4a,0x02,0x00,0xc7,0x86,0x00,0x00,0xc8,0x4a,0x02,0x00,0xca,0x86,0x00,0x00, 0xf4,0x4a,0x02,0x00,0xcb,0x86,0x00,0x00,0x0c,0x4b,0x02,0x00,0xce,0x86,0x00,0x00,0x3e,0x4b,0x02,0x00, 0xcf,0x86,0x00,0x00,0x4e,0x4b,0x02,0x00,0xd0,0x86,0x00,0x00,0x5a,0x4b,0x02,0x00,0xd4,0x86,0x00,0x00, 0x6c,0x4b,0x02,0x00,0xd9,0x86,0x00,0x00,0x7a,0x4b,0x02,0x00,0xdb,0x86,0x00,0x00,0xa8,0x4b,0x02,0x00, 0xdc,0x86,0x00,0x00,0xc0,0x4b,0x02,0x00,0xde,0x86,0x00,0x00,0xc8,0x4b,0x02,0x00,0xdf,0x86,0x00,0x00, 0xd4,0x4b,0x02,0x00,0xe4,0x86,0x00,0x00,0xec,0x4b,0x02,0x00,0xed,0x86,0x00,0x00,0x1e,0x4c,0x02,0x00, 0xee,0x86,0x00,0x00,0x26,0x4c,0x02,0x00,0xf0,0x86,0x00,0x00,0x5a,0x4c,0x02,0x00,0xf1,0x86,0x00,0x00, 0x72,0x4c,0x02,0x00,0xf2,0x86,0x00,0x00,0x7a,0x4c,0x02,0x00,0xf4,0x86,0x00,0x00,0x88,0x4c,0x02,0x00, 0xf8,0x86,0x00,0x00,0x90,0x4c,0x02,0x00,0xf9,0x86,0x00,0x00,0x98,0x4c,0x02,0x00,0xfb,0x86,0x00,0x00, 0xa0,0x4c,0x02,0x00,0xfe,0x86,0x00,0x00,0xa8,0x4c,0x02,0x00,0x00,0x87,0x00,0x00,0xcc,0x4c,0x02,0x00, 0x02,0x87,0x00,0x00,0xfa,0x4c,0x02,0x00,0x03,0x87,0x00,0x00,0x32,0x4d,0x02,0x00,0x07,0x87,0x00,0x00, 0x3a,0x4d,0x02,0x00,0x08,0x87,0x00,0x00,0x42,0x4d,0x02,0x00,0x09,0x87,0x00,0x00,0x58,0x4d,0x02,0x00, 0x0e,0x87,0x00,0x00,0x60,0x4d,0x02,0x00,0x12,0x87,0x00,0x00,0x68,0x4d,0x02,0x00,0x15,0x87,0x00,0x00, 0x70,0x4d,0x02,0x00,0x17,0x87,0x00,0x00,0x8c,0x4d,0x02,0x00,0x18,0x87,0x00,0x00,0xbe,0x4d,0x02,0x00, 0x1a,0x87,0x00,0x00,0xec,0x4d,0x02,0x00,0x1c,0x87,0x00,0x00,0x2a,0x4e,0x02,0x00,0x21,0x87,0x00,0x00, 0x58,0x4e,0x02,0x00,0x23,0x87,0x00,0x00,0x8a,0x4e,0x02,0x00,0x25,0x87,0x00,0x00,0x92,0x4e,0x02,0x00, 0x31,0x87,0x00,0x00,0xb0,0x4e,0x02,0x00,0x37,0x87,0x00,0x00,0xbe,0x4e,0x02,0x00,0x3b,0x87,0x00,0x00, 0xda,0x4e,0x02,0x00,0x3f,0x87,0x00,0x00,0x04,0x4f,0x02,0x00,0x43,0x87,0x00,0x00,0x0c,0x4f,0x02,0x00, 0x44,0x87,0x00,0x00,0x14,0x4f,0x02,0x00,0x47,0x87,0x00,0x00,0x1c,0x4f,0x02,0x00,0x48,0x87,0x00,0x00, 0x4a,0x4f,0x02,0x00,0x49,0x87,0x00,0x00,0x68,0x4f,0x02,0x00,0x4c,0x87,0x00,0x00,0x88,0x4f,0x02,0x00, 0x4e,0x87,0x00,0x00,0x96,0x4f,0x02,0x00,0x57,0x87,0x00,0x00,0xb4,0x4f,0x02,0x00,0x59,0x87,0x00,0x00, 0xd4,0x4f,0x02,0x00,0x60,0x87,0x00,0x00,0xf2,0x4f,0x02,0x00,0x6e,0x87,0x00,0x00,0xfa,0x4f,0x02,0x00, 0x70,0x87,0x00,0x00,0x02,0x50,0x02,0x00,0x72,0x87,0x00,0x00,0x0a,0x50,0x02,0x00,0x73,0x87,0x00,0x00, 0x18,0x50,0x02,0x00,0x74,0x87,0x00,0x00,0x20,0x50,0x02,0x00,0x76,0x87,0x00,0x00,0x60,0x50,0x02,0x00, 0x7c,0x87,0x00,0x00,0x8c,0x50,0x02,0x00,0x7e,0x87,0x00,0x00,0x9e,0x50,0x02,0x00,0x83,0x87,0x00,0x00, 0xa6,0x50,0x02,0x00,0x8d,0x87,0x00,0x00,0xae,0x50,0x02,0x00,0x9f,0x87,0x00,0x00,0xde,0x50,0x02,0x00, 0xa8,0x87,0x00,0x00,0xea,0x50,0x02,0x00,0xab,0x87,0x00,0x00,0xf2,0x50,0x02,0x00,0xaf,0x87,0x00,0x00, 0xfa,0x50,0x02,0x00,0xb3,0x87,0x00,0x00,0x06,0x51,0x02,0x00,0xb5,0x87,0x00,0x00,0x2a,0x51,0x02,0x00, 0xba,0x87,0x00,0x00,0x32,0x51,0x02,0x00,0xbd,0x87,0x00,0x00,0x68,0x51,0x02,0x00,0xca,0x87,0x00,0x00, 0x7e,0x51,0x02,0x00,0xcb,0x87,0x00,0x00,0x86,0x51,0x02,0x00,0xcf,0x87,0x00,0x00,0x94,0x51,0x02,0x00, 0xd1,0x87,0x00,0x00,0xa4,0x51,0x02,0x00,0xd2,0x87,0x00,0x00,0xb2,0x51,0x02,0x00,0xe0,0x87,0x00,0x00, 0xc2,0x51,0x02,0x00,0xe2,0x87,0x00,0x00,0x00,0x52,0x02,0x00,0xea,0x87,0x00,0x00,0x08,0x52,0x02,0x00, 0xed,0x87,0x00,0x00,0x1c,0x52,0x02,0x00,0xf9,0x87,0x00,0x00,0x24,0x52,0x02,0x00,0xfe,0x87,0x00,0x00, 0x50,0x52,0x02,0x00,0x0d,0x88,0x00,0x00,0x6c,0x52,0x02,0x00,0x15,0x88,0x00,0x00,0x74,0x52,0x02,0x00, 0x1b,0x88,0x00,0x00,0xa0,0x52,0x02,0x00,0x21,0x88,0x00,0x00,0xa8,0x52,0x02,0x00,0x22,0x88,0x00,0x00, 0xba,0x52,0x02,0x00,0x2e,0x88,0x00,0x00,0xea,0x52,0x02,0x00,0x32,0x88,0x00,0x00,0xf2,0x52,0x02,0x00, 0x39,0x88,0x00,0x00,0x22,0x53,0x02,0x00,0x3c,0x88,0x00,0x00,0x58,0x53,0x02,0x00,0x40,0x88,0x00,0x00, 0x60,0x53,0x02,0x00,0x45,0x88,0x00,0x00,0x8c,0x53,0x02,0x00,0x4c,0x88,0x00,0x00,0x98,0x53,0x02,0x00, 0x4d,0x88,0x00,0x00,0xc4,0x53,0x02,0x00,0x54,0x88,0x00,0x00,0xf8,0x53,0x02,0x00,0x57,0x88,0x00,0x00, 0x1e,0x54,0x02,0x00,0x59,0x88,0x00,0x00,0x4e,0x54,0x02,0x00,0x61,0x88,0x00,0x00,0x68,0x54,0x02,0x00, 0x62,0x88,0x00,0x00,0xa0,0x54,0x02,0x00,0x63,0x88,0x00,0x00,0xce,0x54,0x02,0x00,0x65,0x88,0x00,0x00, 0xfe,0x54,0x02,0x00,0x68,0x88,0x00,0x00,0x2c,0x55,0x02,0x00,0x6c,0x88,0x00,0x00,0x58,0x55,0x02,0x00, 0x6e,0x88,0x00,0x00,0x84,0x55,0x02,0x00,0x70,0x88,0x00,0x00,0x9c,0x55,0x02,0x00,0x77,0x88,0x00,0x00, 0xc8,0x55,0x02,0x00,0x7d,0x88,0x00,0x00,0xe0,0x55,0x02,0x00,0x81,0x88,0x00,0x00,0xea,0x55,0x02,0x00, 0x84,0x88,0x00,0x00,0x24,0x56,0x02,0x00,0x85,0x88,0x00,0x00,0x30,0x56,0x02,0x00,0x88,0x88,0x00,0x00, 0x48,0x56,0x02,0x00,0x8b,0x88,0x00,0x00,0x50,0x56,0x02,0x00,0x8d,0x88,0x00,0x00,0x7e,0x56,0x02,0x00, 0x92,0x88,0x00,0x00,0x9e,0x56,0x02,0x00,0x96,0x88,0x00,0x00,0xc6,0x56,0x02,0x00,0x9c,0x88,0x00,0x00, 0xf6,0x56,0x02,0x00,0xa2,0x88,0x00,0x00,0x1a,0x57,0x02,0x00,0xab,0x88,0x00,0x00,0x22,0x57,0x02,0x00, 0xad,0x88,0x00,0x00,0x56,0x57,0x02,0x00,0xae,0x88,0x00,0x00,0x88,0x57,0x02,0x00,0xaf,0x88,0x00,0x00, 0x90,0x57,0x02,0x00,0xb4,0x88,0x00,0x00,0x98,0x57,0x02,0x00,0xb7,0x88,0x00,0x00,0xa0,0x57,0x02,0x00, 0xbc,0x88,0x00,0x00,0xa8,0x57,0x02,0x00,0xc1,0x88,0x00,0x00,0xb0,0x57,0x02,0x00,0xc2,0x88,0x00,0x00, 0xe0,0x57,0x02,0x00,0xc5,0x88,0x00,0x00,0x0c,0x58,0x02,0x00,0xc6,0x88,0x00,0x00,0x3c,0x58,0x02,0x00, 0xd2,0x88,0x00,0x00,0x48,0x58,0x02,0x00,0xd4,0x88,0x00,0x00,0x5c,0x58,0x02,0x00,0xd5,0x88,0x00,0x00, 0x64,0x58,0x02,0x00,0xd8,0x88,0x00,0x00,0x90,0x58,0x02,0x00,0xd9,0x88,0x00,0x00,0xa8,0x58,0x02,0x00, 0xe3,0x88,0x00,0x00,0xd8,0x58,0x02,0x00,0xe4,0x88,0x00,0x00,0xe0,0x58,0x02,0x00,0xe8,0x88,0x00,0x00, 0x0e,0x59,0x02,0x00,0xf1,0x88,0x00,0x00,0x1e,0x59,0x02,0x00,0xf4,0x88,0x00,0x00,0x32,0x59,0x02,0x00, 0xf8,0x88,0x00,0x00,0x44,0x59,0x02,0x00,0xf9,0x88,0x00,0x00,0x70,0x59,0x02,0x00,0x02,0x89,0x00,0x00, 0xa8,0x59,0x02,0x00,0x0a,0x89,0x00,0x00,0xb4,0x59,0x02,0x00,0x10,0x89,0x00,0x00,0xc0,0x59,0x02,0x00, 0x12,0x89,0x00,0x00,0xfc,0x59,0x02,0x00,0x13,0x89,0x00,0x00,0x30,0x5a,0x02,0x00,0x19,0x89,0x00,0x00, 0x38,0x5a,0x02,0x00,0x1a,0x89,0x00,0x00,0x40,0x5a,0x02,0x00,0x1f,0x89,0x00,0x00,0x50,0x5a,0x02,0x00, 0x21,0x89,0x00,0x00,0x5a,0x5a,0x02,0x00,0x25,0x89,0x00,0x00,0x62,0x5a,0x02,0x00,0x2a,0x89,0x00,0x00, 0x76,0x5a,0x02,0x00,0x2b,0x89,0x00,0x00,0x9e,0x5a,0x02,0x00,0x34,0x89,0x00,0x00,0xa6,0x5a,0x02,0x00, 0x36,0x89,0x00,0x00,0xb6,0x5a,0x02,0x00,0x41,0x89,0x00,0x00,0xe4,0x5a,0x02,0x00,0x44,0x89,0x00,0x00, 0xec,0x5a,0x02,0x00,0x46,0x89,0x00,0x00,0x22,0x5b,0x02,0x00,0x5f,0x89,0x00,0x00,0x2a,0x5b,0x02,0x00, 0x7f,0x89,0x00,0x00,0x5e,0x5b,0x02,0x00,0x81,0x89,0x00,0x00,0x90,0x5b,0x02,0x00,0x83,0x89,0x00,0x00, 0xbe,0x5b,0x02,0x00,0x86,0x89,0x00,0x00,0xd8,0x5b,0x02,0x00,0xc1,0x89,0x00,0x00,0x10,0x5c,0x02,0x00, 0xc2,0x89,0x00,0x00,0x42,0x5c,0x02,0x00,0xc4,0x89,0x00,0x00,0x70,0x5c,0x02,0x00,0xc5,0x89,0x00,0x00, 0xa0,0x5c,0x02,0x00,0xc6,0x89,0x00,0x00,0xc8,0x5c,0x02,0x00,0xc7,0x89,0x00,0x00,0xf4,0x5c,0x02,0x00, 0xc8,0x89,0x00,0x00,0xfc,0x5c,0x02,0x00,0xc9,0x89,0x00,0x00,0x08,0x5d,0x02,0x00,0xca,0x89,0x00,0x00, 0x34,0x5d,0x02,0x00,0xcc,0x89,0x00,0x00,0x3c,0x5d,0x02,0x00,0xcd,0x89,0x00,0x00,0x44,0x5d,0x02,0x00, 0xd0,0x89,0x00,0x00,0x4c,0x5d,0x02,0x00,0xd1,0x89,0x00,0x00,0x54,0x5d,0x02,0x00,0xd2,0x89,0x00,0x00, 0x82,0x5d,0x02,0x00,0xdc,0x89,0x00,0x00,0xba,0x5d,0x02,0x00,0xe3,0x89,0x00,0x00,0xca,0x5d,0x02,0x00, 0xe5,0x89,0x00,0x00,0xf8,0x5d,0x02,0x00,0xe6,0x89,0x00,0x00,0x04,0x5e,0x02,0x00,0xf1,0x89,0x00,0x00, 0x36,0x5e,0x02,0x00,0x00,0x8a,0x00,0x00,0x42,0x5e,0x02,0x00,0x07,0x8a,0x00,0x00,0x7a,0x5e,0x02,0x00, 0x3c,0x8a,0x00,0x00,0x82,0x5e,0x02,0x00,0x3e,0x8a,0x00,0x00,0x92,0x5e,0x02,0x00,0x48,0x8a,0x00,0x00, 0x9a,0x5e,0x02,0x00,0x79,0x8a,0x00,0x00,0xa6,0x5e,0x02,0x00,0x89,0x8a,0x00,0x00,0xe8,0x5e,0x02,0x00, 0x8a,0x8a,0x00,0x00,0xfc,0x5e,0x02,0x00,0x93,0x8a,0x00,0x00,0x16,0x5f,0x02,0x00,0x99,0x8a,0x00,0x00, 0x4e,0x5f,0x02,0x00,0x66,0x8b,0x00,0x00,0x56,0x5f,0x02,0x00,0x6c,0x8b,0x00,0x00,0x82,0x5f,0x02,0x00, 0x9a,0x8b,0x00,0x00,0x98,0x5f,0x02,0x00,0xa1,0x8b,0x00,0x00,0xa0,0x5f,0x02,0x00,0xa2,0x8b,0x00,0x00, 0xd4,0x5f,0x02,0x00,0xa3,0x8b,0x00,0x00,0x04,0x60,0x02,0x00,0xa4,0x8b,0x00,0x00,0x10,0x60,0x02,0x00, 0xa5,0x8b,0x00,0x00,0x3c,0x60,0x02,0x00,0xa8,0x8b,0x00,0x00,0x66,0x60,0x02,0x00,0xa9,0x8b,0x00,0x00, 0x9e,0x60,0x02,0x00,0xaa,0x8b,0x00,0x00,0xca,0x60,0x02,0x00,0xac,0x8b,0x00,0x00,0xda,0x60,0x02,0x00, 0xad,0x8b,0x00,0x00,0xe2,0x60,0x02,0x00,0xae,0x8b,0x00,0x00,0x1a,0x61,0x02,0x00,0xaf,0x8b,0x00,0x00, 0x46,0x61,0x02,0x00,0xb0,0x8b,0x00,0x00,0x80,0x61,0x02,0x00,0xb2,0x8b,0x00,0x00,0xb4,0x61,0x02,0x00, 0xb3,0x8b,0x00,0x00,0xe0,0x61,0x02,0x00,0xb4,0x8b,0x00,0x00,0x10,0x62,0x02,0x00,0xb6,0x8b,0x00,0x00, 0x1c,0x62,0x02,0x00,0xb7,0x8b,0x00,0x00,0x2a,0x62,0x02,0x00,0xb8,0x8b,0x00,0x00,0x40,0x62,0x02,0x00, 0xb9,0x8b,0x00,0x00,0x72,0x62,0x02,0x00,0xba,0x8b,0x00,0x00,0x92,0x62,0x02,0x00,0xbc,0x8b,0x00,0x00, 0xbe,0x62,0x02,0x00,0xbd,0x8b,0x00,0x00,0xe0,0x62,0x02,0x00,0xbe,0x8b,0x00,0x00,0xfa,0x62,0x02,0x00, 0xbf,0x8b,0x00,0x00,0x28,0x63,0x02,0x00,0xc0,0x8b,0x00,0x00,0x5c,0x63,0x02,0x00,0xc1,0x8b,0x00,0x00, 0x6c,0x63,0x02,0x00,0xc3,0x8b,0x00,0x00,0x9e,0x63,0x02,0x00,0xc4,0x8b,0x00,0x00,0xaa,0x63,0x02,0x00, 0xc5,0x8b,0x00,0x00,0xd8,0x63,0x02,0x00,0xc6,0x8b,0x00,0x00,0xe0,0x63,0x02,0x00,0xc8,0x8b,0x00,0x00, 0x10,0x64,0x02,0x00,0xc9,0x8b,0x00,0x00,0x44,0x64,0x02,0x00,0xca,0x8b,0x00,0x00,0x76,0x64,0x02,0x00, 0xcb,0x8b,0x00,0x00,0xaa,0x64,0x02,0x00,0xcd,0x8b,0x00,0x00,0xb2,0x64,0x02,0x00,0xcf,0x8b,0x00,0x00, 0xde,0x64,0x02,0x00,0xd1,0x8b,0x00,0x00,0xfc,0x64,0x02,0x00,0xd3,0x8b,0x00,0x00,0x28,0x65,0x02,0x00, 0xd5,0x8b,0x00,0x00,0x30,0x65,0x02,0x00,0xd7,0x8b,0x00,0x00,0x5e,0x65,0x02,0x00,0xd8,0x8b,0x00,0x00, 0x8a,0x65,0x02,0x00,0xd9,0x8b,0x00,0x00,0x96,0x65,0x02,0x00,0xda,0x8b,0x00,0x00,0x9e,0x65,0x02,0x00, 0xdb,0x8b,0x00,0x00,0xca,0x65,0x02,0x00,0xdd,0x8b,0x00,0x00,0xfe,0x65,0x02,0x00,0xde,0x8b,0x00,0x00, 0x2c,0x66,0x02,0x00,0xdf,0x8b,0x00,0x00,0x50,0x66,0x02,0x00,0xe0,0x8b,0x00,0x00,0x5c,0x66,0x02,0x00, 0xe1,0x8b,0x00,0x00,0x7c,0x66,0x02,0x00,0xe2,0x8b,0x00,0x00,0xb0,0x66,0x02,0x00,0xe3,0x8b,0x00,0x00, 0xe6,0x66,0x02,0x00,0xe4,0x8b,0x00,0x00,0xf6,0x66,0x02,0x00,0xe5,0x8b,0x00,0x00,0x12,0x67,0x02,0x00, 0xe6,0x8b,0x00,0x00,0x3e,0x67,0x02,0x00,0xe7,0x8b,0x00,0x00,0x6a,0x67,0x02,0x00,0xe8,0x8b,0x00,0x00, 0x76,0x67,0x02,0x00,0xeb,0x8b,0x00,0x00,0x82,0x67,0x02,0x00,0xec,0x8b,0x00,0x00,0x8e,0x67,0x02,0x00, 0xed,0x8b,0x00,0x00,0xbc,0x67,0x02,0x00,0xef,0x8b,0x00,0x00,0xea,0x67,0x02,0x00,0xf0,0x8b,0x00,0x00, 0x1a,0x68,0x02,0x00,0xf1,0x8b,0x00,0x00,0x26,0x68,0x02,0x00,0xf2,0x8b,0x00,0x00,0x54,0x68,0x02,0x00, 0xf3,0x8b,0x00,0x00,0x72,0x68,0x02,0x00,0xf4,0x8b,0x00,0x00,0x7a,0x68,0x02,0x00,0xf5,0x8b,0x00,0x00, 0xac,0x68,0x02,0x00,0xf6,0x8b,0x00,0x00,0xd8,0x68,0x02,0x00,0xf7,0x8b,0x00,0x00,0xe4,0x68,0x02,0x00, 0xf8,0x8b,0x00,0x00,0x12,0x69,0x02,0x00,0xfa,0x8b,0x00,0x00,0x44,0x69,0x02,0x00,0xfb,0x8b,0x00,0x00, 0x7a,0x69,0x02,0x00,0xfd,0x8b,0x00,0x00,0xac,0x69,0x02,0x00,0xfe,0x8b,0x00,0x00,0xc4,0x69,0x02,0x00, 0xff,0x8b,0x00,0x00,0xf2,0x69,0x02,0x00,0x00,0x8c,0x00,0x00,0x0e,0x6a,0x02,0x00,0x01,0x8c,0x00,0x00, 0x16,0x6a,0x02,0x00,0x02,0x8c,0x00,0x00,0x4c,0x6a,0x02,0x00,0x03,0x8c,0x00,0x00,0x64,0x6a,0x02,0x00, 0x04,0x8c,0x00,0x00,0x92,0x6a,0x02,0x00,0x05,0x8c,0x00,0x00,0xac,0x6a,0x02,0x00,0x06,0x8c,0x00,0x00, 0xbe,0x6a,0x02,0x00,0x08,0x8c,0x00,0x00,0xde,0x6a,0x02,0x00,0x0a,0x8c,0x00,0x00,0x10,0x6b,0x02,0x00, 0x0b,0x8c,0x00,0x00,0x20,0x6b,0x02,0x00,0x0d,0x8c,0x00,0x00,0x50,0x6b,0x02,0x00,0x0e,0x8c,0x00,0x00, 0x60,0x6b,0x02,0x00,0x0f,0x8c,0x00,0x00,0x84,0x6b,0x02,0x00,0x10,0x8c,0x00,0x00,0x9e,0x6b,0x02,0x00, 0x11,0x8c,0x00,0x00,0xce,0x6b,0x02,0x00,0x12,0x8c,0x00,0x00,0xea,0x6b,0x02,0x00,0x13,0x8c,0x00,0x00, 0x06,0x6c,0x02,0x00,0x15,0x8c,0x00,0x00,0x12,0x6c,0x02,0x00,0x17,0x8c,0x00,0x00,0x1a,0x6c,0x02,0x00, 0x18,0x8c,0x00,0x00,0x32,0x6c,0x02,0x00,0x19,0x8c,0x00,0x00,0x4a,0x6c,0x02,0x00,0x1a,0x8c,0x00,0x00, 0x5e,0x6c,0x02,0x00,0x1b,0x8c,0x00,0x00,0x6a,0x6c,0x02,0x00,0x1c,0x8c,0x00,0x00,0x7e,0x6c,0x02,0x00, 0x21,0x8c,0x00,0x00,0xa2,0x6c,0x02,0x00,0x22,0x8c,0x00,0x00,0xaa,0x6c,0x02,0x00,0x23,0x8c,0x00,0x00, 0xde,0x6c,0x02,0x00,0x24,0x8c,0x00,0x00,0xfc,0x6c,0x02,0x00,0x25,0x8c,0x00,0x00,0x10,0x6d,0x02,0x00, 0x26,0x8c,0x00,0x00,0x18,0x6d,0x02,0x00,0x27,0x8c,0x00,0x00,0x4c,0x6d,0x02,0x00,0x28,0x8c,0x00,0x00, 0x54,0x6d,0x02,0x00,0x29,0x8c,0x00,0x00,0x8c,0x6d,0x02,0x00,0x2a,0x8c,0x00,0x00,0x94,0x6d,0x02,0x00, 0x2b,0x8c,0x00,0x00,0xa4,0x6d,0x02,0x00,0x2c,0x8c,0x00,0x00,0xac,0x6d,0x02,0x00,0x2d,0x8c,0x00,0x00, 0xe4,0x6d,0x02,0x00,0x2e,0x8c,0x00,0x00,0x1c,0x6e,0x02,0x00,0x2f,0x8c,0x00,0x00,0x24,0x6e,0x02,0x00, 0x30,0x8c,0x00,0x00,0x36,0x6e,0x02,0x00,0x31,0x8c,0x00,0x00,0x42,0x6e,0x02,0x00,0x32,0x8c,0x00,0x00, 0x70,0x6e,0x02,0x00,0x34,0x8c,0x00,0x00,0x78,0x6e,0x02,0x00,0x35,0x8c,0x00,0x00,0x88,0x6e,0x02,0x00, 0x36,0x8c,0x00,0x00,0x94,0x6e,0x02,0x00,0x37,0x8c,0x00,0x00,0xa0,0x6e,0x02,0x00,0x3f,0x8c,0x00,0x00, 0xd2,0x6e,0x02,0x00,0x41,0x8c,0x00,0x00,0xde,0x6e,0x02,0x00,0x46,0x8c,0x00,0x00,0x16,0x6f,0x02,0x00, 0x47,0x8c,0x00,0x00,0x44,0x6f,0x02,0x00,0x49,0x8c,0x00,0x00,0x4c,0x6f,0x02,0x00,0x4c,0x8c,0x00,0x00, 0x54,0x6f,0x02,0x00,0x54,0x8c,0x00,0x00,0x8c,0x6f,0x02,0x00,0x55,0x8c,0x00,0x00,0x98,0x6f,0x02,0x00, 0x5a,0x8c,0x00,0x00,0xa0,0x6f,0x02,0x00,0x61,0x8c,0x00,0x00,0xac,0x6f,0x02,0x00,0x62,0x8c,0x00,0x00, 0xe0,0x6f,0x02,0x00,0x68,0x8c,0x00,0x00,0xec,0x6f,0x02,0x00,0x6a,0x8c,0x00,0x00,0xf4,0x6f,0x02,0x00, 0x6b,0x8c,0x00,0x00,0x20,0x70,0x02,0x00,0x71,0x8c,0x00,0x00,0x4c,0x70,0x02,0x00,0x79,0x8c,0x00,0x00, 0x54,0x70,0x02,0x00,0x7a,0x8c,0x00,0x00,0x72,0x70,0x02,0x00,0x82,0x8c,0x00,0x00,0xa8,0x70,0x02,0x00, 0x89,0x8c,0x00,0x00,0xc0,0x70,0x02,0x00,0x8c,0x8c,0x00,0x00,0xcc,0x70,0x02,0x00,0x94,0x8c,0x00,0x00, 0xf4,0x70,0x02,0x00,0x1d,0x8d,0x00,0x00,0x00,0x71,0x02,0x00,0x1e,0x8d,0x00,0x00,0x38,0x71,0x02,0x00, 0x1f,0x8d,0x00,0x00,0x68,0x71,0x02,0x00,0x21,0x8d,0x00,0x00,0x9c,0x71,0x02,0x00,0x22,0x8d,0x00,0x00, 0xd6,0x71,0x02,0x00,0x23,0x8d,0x00,0x00,0x04,0x72,0x02,0x00,0x24,0x8d,0x00,0x00,0x42,0x72,0x02,0x00, 0x25,0x8d,0x00,0x00,0x72,0x72,0x02,0x00,0x26,0x8d,0x00,0x00,0xa0,0x72,0x02,0x00,0x27,0x8d,0x00,0x00, 0xce,0x72,0x02,0x00,0x28,0x8d,0x00,0x00,0xfa,0x72,0x02,0x00,0x29,0x8d,0x00,0x00,0x28,0x73,0x02,0x00, 0x2a,0x8d,0x00,0x00,0x5a,0x73,0x02,0x00,0x2b,0x8d,0x00,0x00,0x8a,0x73,0x02,0x00,0x2c,0x8d,0x00,0x00, 0xba,0x73,0x02,0x00,0x2d,0x8d,0x00,0x00,0xe8,0x73,0x02,0x00,0x2e,0x8d,0x00,0x00,0x18,0x74,0x02,0x00, 0x2f,0x8d,0x00,0x00,0x4c,0x74,0x02,0x00,0x30,0x8d,0x00,0x00,0x7c,0x74,0x02,0x00,0x31,0x8d,0x00,0x00, 0x98,0x74,0x02,0x00,0x32,0x8d,0x00,0x00,0xc6,0x74,0x02,0x00,0x34,0x8d,0x00,0x00,0xd6,0x74,0x02,0x00, 0x35,0x8d,0x00,0x00,0x02,0x75,0x02,0x00,0x37,0x8d,0x00,0x00,0x36,0x75,0x02,0x00,0x38,0x8d,0x00,0x00, 0x72,0x75,0x02,0x00,0x39,0x8d,0x00,0x00,0xac,0x75,0x02,0x00,0x3a,0x8d,0x00,0x00,0xdc,0x75,0x02,0x00, 0x3b,0x8d,0x00,0x00,0x10,0x76,0x02,0x00,0x3c,0x8d,0x00,0x00,0x54,0x76,0x02,0x00,0x3e,0x8d,0x00,0x00, 0x88,0x76,0x02,0x00,0x3f,0x8d,0x00,0x00,0xc8,0x76,0x02,0x00,0x40,0x8d,0x00,0x00,0xfc,0x76,0x02,0x00, 0x43,0x8d,0x00,0x00,0x08,0x77,0x02,0x00,0x44,0x8d,0x00,0x00,0x28,0x77,0x02,0x00,0x45,0x8d,0x00,0x00, 0x56,0x77,0x02,0x00,0x48,0x8d,0x00,0x00,0x62,0x77,0x02,0x00,0x4a,0x8d,0x00,0x00,0x8c,0x77,0x02,0x00, 0x4b,0x8d,0x00,0x00,0xaa,0x77,0x02,0x00,0x4c,0x8d,0x00,0x00,0xd8,0x77,0x02,0x00,0x4d,0x8d,0x00,0x00, 0x04,0x78,0x02,0x00,0x4e,0x8d,0x00,0x00,0x0c,0x78,0x02,0x00,0x4f,0x8d,0x00,0x00,0x48,0x78,0x02,0x00, 0x50,0x8d,0x00,0x00,0x78,0x78,0x02,0x00,0x51,0x8d,0x00,0x00,0xa0,0x78,0x02,0x00,0x52,0x8d,0x00,0x00, 0xa8,0x78,0x02,0x00,0x53,0x8d,0x00,0x00,0xc4,0x78,0x02,0x00,0x54,0x8d,0x00,0x00,0xcc,0x78,0x02,0x00, 0x56,0x8d,0x00,0x00,0x02,0x79,0x02,0x00,0x58,0x8d,0x00,0x00,0x3a,0x79,0x02,0x00,0x59,0x8d,0x00,0x00, 0x66,0x79,0x02,0x00,0x5a,0x8d,0x00,0x00,0x72,0x79,0x02,0x00,0x5b,0x8d,0x00,0x00,0x9a,0x79,0x02,0x00, 0x5d,0x8d,0x00,0x00,0xc6,0x79,0x02,0x00,0x5e,0x8d,0x00,0x00,0xd2,0x79,0x02,0x00,0x60,0x8d,0x00,0x00, 0x00,0x7a,0x02,0x00,0x61,0x8d,0x00,0x00,0x2e,0x7a,0x02,0x00,0x62,0x8d,0x00,0x00,0x48,0x7a,0x02,0x00, 0x63,0x8d,0x00,0x00,0x78,0x7a,0x02,0x00,0x64,0x8d,0x00,0x00,0xa8,0x7a,0x02,0x00,0x66,0x8d,0x00,0x00, 0xd8,0x7a,0x02,0x00,0x67,0x8d,0x00,0x00,0xe4,0x7a,0x02,0x00,0x6b,0x8d,0x00,0x00,0xf0,0x7a,0x02,0x00, 0x6d,0x8d,0x00,0x00,0x34,0x7b,0x02,0x00,0x70,0x8d,0x00,0x00,0x4a,0x7b,0x02,0x00,0x73,0x8d,0x00,0x00, 0x76,0x7b,0x02,0x00,0x74,0x8d,0x00,0x00,0x86,0x7b,0x02,0x00,0x75,0x8d,0x00,0x00,0xb8,0x7b,0x02,0x00, 0x76,0x8d,0x00,0x00,0xec,0x7b,0x02,0x00,0x77,0x8d,0x00,0x00,0x1a,0x7c,0x02,0x00,0x81,0x8d,0x00,0x00, 0x46,0x7c,0x02,0x00,0x85,0x8d,0x00,0x00,0x7e,0x7c,0x02,0x00,0x8a,0x8d,0x00,0x00,0xac,0x7c,0x02,0x00, 0x8b,0x8d,0x00,0x00,0xde,0x7c,0x02,0x00,0x91,0x8d,0x00,0x00,0x1a,0x7d,0x02,0x00,0x94,0x8d,0x00,0x00, 0x32,0x7d,0x02,0x00,0x9f,0x8d,0x00,0x00,0x3a,0x7d,0x02,0x00,0xa3,0x8d,0x00,0x00,0x46,0x7d,0x02,0x00, 0xa6,0x8d,0x00,0x00,0x7a,0x7d,0x02,0x00,0xb3,0x8d,0x00,0x00,0x86,0x7d,0x02,0x00,0xb4,0x8d,0x00,0x00, 0xb4,0x7d,0x02,0x00,0xb5,0x8d,0x00,0x00,0xd8,0x7d,0x02,0x00,0xb8,0x8d,0x00,0x00,0xe6,0x7d,0x02,0x00, 0xba,0x8d,0x00,0x00,0x02,0x7e,0x02,0x00,0xbc,0x8d,0x00,0x00,0x0a,0x7e,0x02,0x00,0xbe,0x8d,0x00,0x00, 0x16,0x7e,0x02,0x00,0xbf,0x8d,0x00,0x00,0x42,0x7e,0x02,0x00,0xc2,0x8d,0x00,0x00,0x52,0x7e,0x02,0x00, 0xc3,0x8d,0x00,0x00,0x6a,0x7e,0x02,0x00,0xc4,0x8d,0x00,0x00,0x9e,0x7e,0x02,0x00,0xc6,0x8d,0x00,0x00, 0xa6,0x7e,0x02,0x00,0xcb,0x8d,0x00,0x00,0xb8,0x7e,0x02,0x00,0xcc,0x8d,0x00,0x00,0xf2,0x7e,0x02,0x00, 0xcf,0x8d,0x00,0x00,0x28,0x7f,0x02,0x00,0xd0,0x8d,0x00,0x00,0x30,0x7f,0x02,0x00,0xd1,0x8d,0x00,0x00, 0x38,0x7f,0x02,0x00,0xd6,0x8d,0x00,0x00,0x6a,0x7f,0x02,0x00,0xd7,0x8d,0x00,0x00,0x72,0x7f,0x02,0x00, 0xdb,0x8d,0x00,0x00,0x7a,0x7f,0x02,0x00,0xdd,0x8d,0x00,0x00,0x90,0x7f,0x02,0x00,0xdf,0x8d,0x00,0x00, 0xb4,0x7f,0x02,0x00,0xe8,0x8d,0x00,0x00,0xe2,0x7f,0x02,0x00,0xea,0x8d,0x00,0x00,0x16,0x80,0x02,0x00, 0xeb,0x8d,0x00,0x00,0x48,0x80,0x02,0x00,0xec,0x8d,0x00,0x00,0x54,0x80,0x02,0x00,0xef,0x8d,0x00,0x00, 0x5c,0x80,0x02,0x00,0xf3,0x8d,0x00,0x00,0x8a,0x80,0x02,0x00,0xf5,0x8d,0x00,0x00,0xb6,0x80,0x02,0x00, 0xf7,0x8d,0x00,0x00,0xce,0x80,0x02,0x00,0xfa,0x8d,0x00,0x00,0xe8,0x80,0x02,0x00,0xfb,0x8d,0x00,0x00, 0xf6,0x80,0x02,0x00,0xfc,0x8d,0x00,0x00,0x02,0x81,0x02,0x00,0x05,0x8e,0x00,0x00,0x0a,0x81,0x02,0x00, 0x06,0x8e,0x00,0x00,0x12,0x81,0x02,0x00,0x09,0x8e,0x00,0x00,0x1a,0x81,0x02,0x00,0x0a,0x8e,0x00,0x00, 0x2e,0x81,0x02,0x00,0x0c,0x8e,0x00,0x00,0x36,0x81,0x02,0x00,0x0f,0x8e,0x00,0x00,0x5a,0x81,0x02,0x00, 0x14,0x8e,0x00,0x00,0x8a,0x81,0x02,0x00,0x1d,0x8e,0x00,0x00,0x92,0x81,0x02,0x00,0x1f,0x8e,0x00,0x00, 0xa4,0x81,0x02,0x00,0x22,0x8e,0x00,0x00,0xb8,0x81,0x02,0x00,0x25,0x8e,0x00,0x00,0xe8,0x81,0x02,0x00, 0x29,0x8e,0x00,0x00,0xf4,0x81,0x02,0x00,0x2a,0x8e,0x00,0x00,0x24,0x82,0x02,0x00,0x2e,0x8e,0x00,0x00, 0x30,0x82,0x02,0x00,0x2f,0x8e,0x00,0x00,0x3e,0x82,0x02,0x00,0x31,0x8e,0x00,0x00,0x4e,0x82,0x02,0x00, 0x35,0x8e,0x00,0x00,0x56,0x82,0x02,0x00,0x36,0x8e,0x00,0x00,0x66,0x82,0x02,0x00,0x39,0x8e,0x00,0x00, 0x6e,0x82,0x02,0x00,0x3a,0x8e,0x00,0x00,0x7a,0x82,0x02,0x00,0x40,0x8e,0x00,0x00,0x82,0x82,0x02,0x00, 0x41,0x8e,0x00,0x00,0x9e,0x82,0x02,0x00,0x42,0x8e,0x00,0x00,0xa6,0x82,0x02,0x00,0x44,0x8e,0x00,0x00, 0xae,0x82,0x02,0x00,0x47,0x8e,0x00,0x00,0xca,0x82,0x02,0x00,0x48,0x8e,0x00,0x00,0xe2,0x82,0x02,0x00, 0x49,0x8e,0x00,0x00,0xfa,0x82,0x02,0x00,0x4a,0x8e,0x00,0x00,0x14,0x83,0x02,0x00,0x4b,0x8e,0x00,0x00, 0x20,0x83,0x02,0x00,0x51,0x8e,0x00,0x00,0x28,0x83,0x02,0x00,0x52,0x8e,0x00,0x00,0x5c,0x83,0x02,0x00, 0x53,0x8e,0x00,0x00,0x6c,0x83,0x02,0x00,0x59,0x8e,0x00,0x00,0x7a,0x83,0x02,0x00,0x5a,0x8e,0x00,0x00, 0x8a,0x83,0x02,0x00,0x66,0x8e,0x00,0x00,0x98,0x83,0x02,0x00,0x67,0x8e,0x00,0x00,0xca,0x83,0x02,0x00, 0x69,0x8e,0x00,0x00,0xd6,0x83,0x02,0x00,0x6c,0x8e,0x00,0x00,0xde,0x83,0x02,0x00,0x6d,0x8e,0x00,0x00, 0x00,0x84,0x02,0x00,0x72,0x8e,0x00,0x00,0x2a,0x84,0x02,0x00,0x74,0x8e,0x00,0x00,0x5a,0x84,0x02,0x00, 0x7f,0x8e,0x00,0x00,0x6a,0x84,0x02,0x00,0x81,0x8e,0x00,0x00,0x96,0x84,0x02,0x00,0x9e,0x8e,0x00,0x00, 0xc8,0x84,0x02,0x00,0xab,0x8e,0x00,0x00,0xd0,0x84,0x02,0x00,0xac,0x8e,0x00,0x00,0xfe,0x84,0x02,0x00, 0xaf,0x8e,0x00,0x00,0x2e,0x85,0x02,0x00,0xb2,0x8e,0x00,0x00,0x3e,0x85,0x02,0x00,0xba,0x8e,0x00,0x00, 0x74,0x85,0x02,0x00,0xc3,0x8e,0x00,0x00,0x8c,0x85,0x02,0x00,0x02,0x8f,0x00,0x00,0x94,0x85,0x02,0x00, 0x57,0x8f,0x00,0x00,0x9c,0x85,0x02,0x00,0x58,0x8f,0x00,0x00,0xa4,0x85,0x02,0x00,0x66,0x8f,0x00,0x00, 0xac,0x85,0x02,0x00,0x67,0x8f,0x00,0x00,0xd8,0x85,0x02,0x00,0x68,0x8f,0x00,0x00,0x0a,0x86,0x02,0x00, 0x69,0x8f,0x00,0x00,0x40,0x86,0x02,0x00,0x6b,0x8f,0x00,0x00,0x78,0x86,0x02,0x00,0x6c,0x8f,0x00,0x00, 0x80,0x86,0x02,0x00,0x6e,0x8f,0x00,0x00,0xae,0x86,0x02,0x00,0x6f,0x8f,0x00,0x00,0xda,0x86,0x02,0x00, 0x70,0x8f,0x00,0x00,0x0c,0x87,0x02,0x00,0x71,0x8f,0x00,0x00,0x46,0x87,0x02,0x00,0x74,0x8f,0x00,0x00, 0x52,0x87,0x02,0x00,0x76,0x8f,0x00,0x00,0x82,0x87,0x02,0x00,0x78,0x8f,0x00,0x00,0x9e,0x87,0x02,0x00, 0x7a,0x8f,0x00,0x00,0xaa,0x87,0x02,0x00,0x7b,0x8f,0x00,0x00,0xb2,0x87,0x02,0x00,0x7d,0x8f,0x00,0x00, 0xde,0x87,0x02,0x00,0x7f,0x8f,0x00,0x00,0x0c,0x88,0x02,0x00,0x83,0x8f,0x00,0x00,0x2e,0x88,0x02,0x00, 0x84,0x8f,0x00,0x00,0x5e,0x88,0x02,0x00,0x85,0x8f,0x00,0x00,0x66,0x88,0x02,0x00,0x86,0x8f,0x00,0x00, 0x98,0x88,0x02,0x00,0x88,0x8f,0x00,0x00,0xa4,0x88,0x02,0x00,0x89,0x8f,0x00,0x00,0xc0,0x88,0x02,0x00, 0x8a,0x8f,0x00,0x00,0xec,0x88,0x02,0x00,0x8d,0x8f,0x00,0x00,0xf8,0x88,0x02,0x00,0x8e,0x8f,0x00,0x00, 0x2a,0x89,0x02,0x00,0x90,0x8f,0x00,0x00,0x36,0x89,0x02,0x00,0x91,0x8f,0x00,0x00,0x72,0x89,0x02,0x00, 0x92,0x8f,0x00,0x00,0x9e,0x89,0x02,0x00,0x93,0x8f,0x00,0x00,0xaa,0x89,0x02,0x00,0x94,0x8f,0x00,0x00, 0xe0,0x89,0x02,0x00,0x95,0x8f,0x00,0x00,0xe8,0x89,0x02,0x00,0x96,0x8f,0x00,0x00,0x02,0x8a,0x02,0x00, 0x97,0x8f,0x00,0x00,0x1e,0x8a,0x02,0x00,0x98,0x8f,0x00,0x00,0x4a,0x8a,0x02,0x00,0x99,0x8f,0x00,0x00, 0x56,0x8a,0x02,0x00,0x9b,0x8f,0x00,0x00,0x62,0x8a,0x02,0x00,0x9c,0x8f,0x00,0x00,0x98,0x8a,0x02,0x00, 0x9e,0x8f,0x00,0x00,0xa6,0x8a,0x02,0x00,0x9f,0x8f,0x00,0x00,0xd8,0x8a,0x02,0x00,0xa3,0x8f,0x00,0x00, 0xf6,0x8a,0x02,0x00,0xa8,0x8f,0x00,0x00,0x2a,0x8b,0x02,0x00,0xa9,0x8f,0x00,0x00,0x5c,0x8b,0x02,0x00, 0xab,0x8f,0x00,0x00,0x90,0x8b,0x02,0x00,0xb0,0x8f,0x00,0x00,0x98,0x8b,0x02,0x00,0xb1,0x8f,0x00,0x00, 0xc8,0x8b,0x02,0x00,0xb9,0x8f,0x00,0x00,0xe4,0x8b,0x02,0x00,0xbd,0x8f,0x00,0x00,0x12,0x8c,0x02,0x00, 0xbe,0x8f,0x00,0x00,0x46,0x8c,0x02,0x00,0xc1,0x8f,0x00,0x00,0x7a,0x8c,0x02,0x00,0xc2,0x8f,0x00,0x00, 0xa6,0x8c,0x02,0x00,0xc4,0x8f,0x00,0x00,0xd8,0x8c,0x02,0x00,0xc5,0x8f,0x00,0x00,0xe8,0x8c,0x02,0x00, 0xc7,0x8f,0x00,0x00,0x28,0x8d,0x02,0x00,0xc8,0x8f,0x00,0x00,0x54,0x8d,0x02,0x00,0xce,0x8f,0x00,0x00, 0x86,0x8d,0x02,0x00,0xd0,0x8f,0x00,0x00,0xb6,0x8d,0x02,0x00,0xd1,0x8f,0x00,0x00,0xe6,0x8d,0x02,0x00, 0xd4,0x8f,0x00,0x00,0x16,0x8e,0x02,0x00,0xd8,0x8f,0x00,0x00,0x46,0x8e,0x02,0x00,0xd9,0x8f,0x00,0x00, 0x74,0x8e,0x02,0x00,0xdb,0x8f,0x00,0x00,0xa0,0x8e,0x02,0x00,0xdc,0x8f,0x00,0x00,0xd0,0x8e,0x02,0x00, 0xdd,0x8f,0x00,0x00,0xfc,0x8e,0x02,0x00,0xde,0x8f,0x00,0x00,0x2a,0x8f,0x02,0x00,0xdf,0x8f,0x00,0x00, 0x58,0x8f,0x02,0x00,0xe2,0x8f,0x00,0x00,0x86,0x8f,0x02,0x00,0xe4,0x8f,0x00,0x00,0xb4,0x8f,0x02,0x00, 0xe5,0x8f,0x00,0x00,0xc2,0x8f,0x02,0x00,0xe6,0x8f,0x00,0x00,0xe6,0x8f,0x02,0x00,0xe9,0x8f,0x00,0x00, 0x02,0x90,0x02,0x00,0xea,0x8f,0x00,0x00,0x0a,0x90,0x02,0x00,0xeb,0x8f,0x00,0x00,0x42,0x90,0x02,0x00, 0xed,0x8f,0x00,0x00,0x7c,0x90,0x02,0x00,0xee,0x8f,0x00,0x00,0xaa,0x90,0x02,0x00,0xf0,0x8f,0x00,0x00, 0xb2,0x90,0x02,0x00,0xf3,0x8f,0x00,0x00,0xe2,0x90,0x02,0x00,0xf7,0x8f,0x00,0x00,0x02,0x91,0x02,0x00, 0xf8,0x8f,0x00,0x00,0x2e,0x91,0x02,0x00,0xf9,0x8f,0x00,0x00,0x4c,0x91,0x02,0x00,0xfb,0x8f,0x00,0x00, 0x64,0x91,0x02,0x00,0xfd,0x8f,0x00,0x00,0x6c,0x91,0x02,0x00,0x00,0x90,0x00,0x00,0x98,0x91,0x02,0x00, 0x01,0x90,0x00,0x00,0xc4,0x91,0x02,0x00,0x02,0x90,0x00,0x00,0xf0,0x91,0x02,0x00,0x03,0x90,0x00,0x00, 0x1e,0x92,0x02,0x00,0x06,0x90,0x00,0x00,0x4a,0x92,0x02,0x00,0x09,0x90,0x00,0x00,0x76,0x92,0x02,0x00, 0x0a,0x90,0x00,0x00,0xa2,0x92,0x02,0x00,0x0b,0x90,0x00,0x00,0xce,0x92,0x02,0x00,0x0d,0x90,0x00,0x00, 0xe4,0x92,0x02,0x00,0x0f,0x90,0x00,0x00,0x0c,0x93,0x02,0x00,0x10,0x90,0x00,0x00,0x3c,0x93,0x02,0x00, 0x12,0x90,0x00,0x00,0x68,0x93,0x02,0x00,0x14,0x90,0x00,0x00,0x94,0x93,0x02,0x00,0x17,0x90,0x00,0x00, 0xc4,0x93,0x02,0x00,0x1a,0x90,0x00,0x00,0xf2,0x93,0x02,0x00,0x1b,0x90,0x00,0x00,0x20,0x94,0x02,0x00, 0x1d,0x90,0x00,0x00,0x44,0x94,0x02,0x00,0x1e,0x90,0x00,0x00,0x66,0x94,0x02,0x00,0x1f,0x90,0x00,0x00, 0x86,0x94,0x02,0x00,0x20,0x90,0x00,0x00,0xb6,0x94,0x02,0x00,0x21,0x90,0x00,0x00,0xe2,0x94,0x02,0x00, 0x22,0x90,0x00,0x00,0xf2,0x94,0x02,0x00,0x2e,0x90,0x00,0x00,0x3a,0x95,0x02,0x00,0x36,0x90,0x00,0x00, 0x4c,0x95,0x02,0x00,0x38,0x90,0x00,0x00,0x54,0x95,0x02,0x00,0x3b,0x90,0x00,0x00,0x82,0x95,0x02,0x00, 0x3c,0x90,0x00,0x00,0xca,0x95,0x02,0x00,0x3e,0x90,0x00,0x00,0xf6,0x95,0x02,0x00,0x41,0x90,0x00,0x00, 0x1a,0x96,0x02,0x00,0x42,0x90,0x00,0x00,0x44,0x96,0x02,0x00,0x44,0x90,0x00,0x00,0x7a,0x96,0x02,0x00, 0x47,0x90,0x00,0x00,0x82,0x96,0x02,0x00,0x4d,0x90,0x00,0x00,0xb0,0x96,0x02,0x00,0x4f,0x90,0x00,0x00, 0xe4,0x96,0x02,0x00,0x50,0x90,0x00,0x00,0x02,0x97,0x02,0x00,0x51,0x90,0x00,0x00,0x32,0x97,0x02,0x00, 0x52,0x90,0x00,0x00,0x3e,0x97,0x02,0x00,0x53,0x90,0x00,0x00,0x4a,0x97,0x02,0x00,0x57,0x90,0x00,0x00, 0x78,0x97,0x02,0x00,0x5b,0x90,0x00,0x00,0xa6,0x97,0x02,0x00,0x63,0x90,0x00,0x00,0xd6,0x97,0x02,0x00, 0x65,0x90,0x00,0x00,0x0c,0x98,0x02,0x00,0x68,0x90,0x00,0x00,0x4a,0x98,0x02,0x00,0x6d,0x90,0x00,0x00, 0x58,0x98,0x02,0x00,0x6e,0x90,0x00,0x00,0x86,0x98,0x02,0x00,0x74,0x90,0x00,0x00,0xb8,0x98,0x02,0x00, 0x75,0x90,0x00,0x00,0xc0,0x98,0x02,0x00,0x76,0x90,0x00,0x00,0xf4,0x98,0x02,0x00,0x7d,0x90,0x00,0x00, 0xfc,0x98,0x02,0x00,0x7f,0x90,0x00,0x00,0x04,0x99,0x02,0x00,0x80,0x90,0x00,0x00,0x36,0x99,0x02,0x00, 0x82,0x90,0x00,0x00,0x6e,0x99,0x02,0x00,0x83,0x90,0x00,0x00,0x7e,0x99,0x02,0x00,0x88,0x90,0x00,0x00, 0x96,0x99,0x02,0x00,0x8b,0x90,0x00,0x00,0xac,0x99,0x02,0x00,0x91,0x90,0x00,0x00,0xbc,0x99,0x02,0x00, 0x93,0x90,0x00,0x00,0xc4,0x99,0x02,0x00,0x95,0x90,0x00,0x00,0x04,0x9a,0x02,0x00,0x97,0x90,0x00,0x00, 0x28,0x9a,0x02,0x00,0x99,0x90,0x00,0x00,0x3c,0x9a,0x02,0x00,0x9b,0x90,0x00,0x00,0x4a,0x9a,0x02,0x00, 0xa2,0x90,0x00,0x00,0x6a,0x9a,0x02,0x00,0xa3,0x90,0x00,0x00,0x98,0x9a,0x02,0x00,0xa6,0x90,0x00,0x00, 0xc4,0x9a,0x02,0x00,0xaa,0x90,0x00,0x00,0xf4,0x9a,0x02,0x00,0xac,0x90,0x00,0x00,0x20,0x9b,0x02,0x00, 0xae,0x90,0x00,0x00,0x2e,0x9b,0x02,0x00,0xaf,0x90,0x00,0x00,0x5c,0x9b,0x02,0x00,0xb1,0x90,0x00,0x00, 0xa6,0x9b,0x02,0x00,0xb3,0x90,0x00,0x00,0xcc,0x9b,0x02,0x00,0xb5,0x90,0x00,0x00,0xe2,0x9b,0x02,0x00, 0xb7,0x90,0x00,0x00,0x1a,0x9c,0x02,0x00,0xb8,0x90,0x00,0x00,0x24,0x9c,0x02,0x00,0xb9,0x90,0x00,0x00, 0x30,0x9c,0x02,0x00,0xba,0x90,0x00,0x00,0x62,0x9c,0x02,0x00,0xbb,0x90,0x00,0x00,0x6a,0x9c,0x02,0x00, 0xc1,0x90,0x00,0x00,0x9e,0x9c,0x02,0x00,0xc5,0x90,0x00,0x00,0xda,0x9c,0x02,0x00,0xc7,0x90,0x00,0x00, 0xe2,0x9c,0x02,0x00,0xca,0x90,0x00,0x00,0xf6,0x9c,0x02,0x00,0xce,0x90,0x00,0x00,0x1e,0x9d,0x02,0x00, 0xcf,0x90,0x00,0x00,0x54,0x9d,0x02,0x00,0xd1,0x90,0x00,0x00,0x5c,0x9d,0x02,0x00,0xd3,0x90,0x00,0x00, 0x90,0x9d,0x02,0x00,0xdd,0x90,0x00,0x00,0x9e,0x9d,0x02,0x00,0xe1,0x90,0x00,0x00,0xa8,0x9d,0x02,0x00, 0xe2,0x90,0x00,0x00,0xda,0x9d,0x02,0x00,0xe7,0x90,0x00,0x00,0xe6,0x9d,0x02,0x00,0xe8,0x90,0x00,0x00, 0x02,0x9e,0x02,0x00,0xeb,0x90,0x00,0x00,0x30,0x9e,0x02,0x00,0xed,0x90,0x00,0x00,0x38,0x9e,0x02,0x00, 0xef,0x90,0x00,0x00,0x6e,0x9e,0x02,0x00,0xf4,0x90,0x00,0x00,0x7c,0x9e,0x02,0x00,0xf8,0x90,0x00,0x00, 0x8e,0x9e,0x02,0x00,0xfd,0x90,0x00,0x00,0x9c,0x9e,0x02,0x00,0xfe,0x90,0x00,0x00,0xd6,0x9e,0x02,0x00, 0x02,0x91,0x00,0x00,0xea,0x9e,0x02,0x00,0x04,0x91,0x00,0x00,0x2e,0x9f,0x02,0x00,0x0b,0x91,0x00,0x00, 0x3c,0x9f,0x02,0x00,0x19,0x91,0x00,0x00,0x44,0x9f,0x02,0x00,0x1c,0x91,0x00,0x00,0x70,0x9f,0x02,0x00, 0x1e,0x91,0x00,0x00,0x78,0x9f,0x02,0x00,0x22,0x91,0x00,0x00,0x90,0x9f,0x02,0x00,0x2f,0x91,0x00,0x00, 0xac,0x9f,0x02,0x00,0x31,0x91,0x00,0x00,0xc0,0x9f,0x02,0x00,0x43,0x91,0x00,0x00,0xdc,0x9f,0x02,0x00, 0x46,0x91,0x00,0x00,0xe4,0x9f,0x02,0x00,0x49,0x91,0x00,0x00,0xec,0x9f,0x02,0x00,0x4a,0x91,0x00,0x00, 0x1e,0xa0,0x02,0x00,0x4b,0x91,0x00,0x00,0x26,0xa0,0x02,0x00,0x4c,0x91,0x00,0x00,0x3a,0xa0,0x02,0x00, 0x4d,0x91,0x00,0x00,0x6e,0xa0,0x02,0x00,0x4e,0x91,0x00,0x00,0x9a,0xa0,0x02,0x00,0x4f,0x91,0x00,0x00, 0xa2,0xa0,0x02,0x00,0x52,0x91,0x00,0x00,0xaa,0xa0,0x02,0x00,0x55,0x91,0x00,0x00,0xd8,0xa0,0x02,0x00, 0x57,0x91,0x00,0x00,0xe0,0xa0,0x02,0x00,0x5a,0x91,0x00,0x00,0xfa,0xa0,0x02,0x00,0x5d,0x91,0x00,0x00, 0x10,0xa1,0x02,0x00,0x5e,0x91,0x00,0x00,0x1e,0xa1,0x02,0x00,0x62,0x91,0x00,0x00,0x28,0xa1,0x02,0x00, 0x63,0x91,0x00,0x00,0x36,0xa1,0x02,0x00,0x65,0x91,0x00,0x00,0x66,0xa1,0x02,0x00,0x66,0x91,0x00,0x00, 0x98,0xa1,0x02,0x00,0x69,0x91,0x00,0x00,0xa4,0xa1,0x02,0x00,0x6a,0x91,0x00,0x00,0xb8,0xa1,0x02,0x00, 0x6c,0x91,0x00,0x00,0xf2,0xa1,0x02,0x00,0x6e,0x91,0x00,0x00,0x1e,0xa2,0x02,0x00,0x6f,0x91,0x00,0x00, 0x32,0xa2,0x02,0x00,0x70,0x91,0x00,0x00,0x3e,0xa2,0x02,0x00,0x71,0x91,0x00,0x00,0x4a,0xa2,0x02,0x00, 0x74,0x91,0x00,0x00,0x78,0xa2,0x02,0x00,0x75,0x91,0x00,0x00,0x80,0xa2,0x02,0x00,0x76,0x91,0x00,0x00, 0xae,0xa2,0x02,0x00,0x77,0x91,0x00,0x00,0xbe,0xa2,0x02,0x00,0x78,0x91,0x00,0x00,0xea,0xa2,0x02,0x00, 0x7d,0x91,0x00,0x00,0x18,0xa3,0x02,0x00,0x7f,0x91,0x00,0x00,0x20,0xa3,0x02,0x00,0x87,0x91,0x00,0x00, 0x56,0xa3,0x02,0x00,0x89,0x91,0x00,0x00,0x82,0xa3,0x02,0x00,0x8b,0x91,0x00,0x00,0xc2,0xa3,0x02,0x00, 0x8d,0x91,0x00,0x00,0xfc,0xa3,0x02,0x00,0x92,0x91,0x00,0x00,0x0c,0xa4,0x02,0x00,0x9b,0x91,0x00,0x00, 0x38,0xa4,0x02,0x00,0xa3,0x91,0x00,0x00,0x4a,0xa4,0x02,0x00,0xaa,0x91,0x00,0x00,0x52,0xa4,0x02,0x00, 0xac,0x91,0x00,0x00,0x5a,0xa4,0x02,0x00,0xb4,0x91,0x00,0x00,0x72,0xa4,0x02,0x00,0xba,0x91,0x00,0x00, 0x86,0xa4,0x02,0x00,0xc7,0x91,0x00,0x00,0x8e,0xa4,0x02,0x00,0xc9,0x91,0x00,0x00,0xba,0xa4,0x02,0x00, 0xca,0x91,0x00,0x00,0xe8,0xa4,0x02,0x00,0xcc,0x91,0x00,0x00,0x20,0xa5,0x02,0x00,0xcd,0x91,0x00,0x00, 0x54,0xa5,0x02,0x00,0xce,0x91,0x00,0x00,0x82,0xa5,0x02,0x00,0xcf,0x91,0x00,0x00,0xb2,0xa5,0x02,0x00, 0xd1,0x91,0x00,0x00,0xea,0xa5,0x02,0x00,0xdc,0x91,0x00,0x00,0x18,0xa6,0x02,0x00,0xe6,0x91,0x00,0x00, 0x46,0xa6,0x02,0x00,0x74,0x92,0x00,0x00,0x4e,0xa6,0x02,0x00,0xae,0x92,0x00,0x00,0x82,0xa6,0x02,0x00, 0x3e,0x93,0x00,0x00,0x92,0xa6,0x02,0x00,0x8f,0x93,0x00,0x00,0xa2,0xa6,0x02,0x00,0xca,0x93,0x00,0x00, 0xaa,0xa6,0x02,0x00,0xd6,0x93,0x00,0x00,0xb8,0xa6,0x02,0x00,0x6b,0x94,0x00,0x00,0xc4,0xa6,0x02,0x00, 0x88,0x94,0x00,0x00,0xf0,0xa6,0x02,0x00,0x89,0x94,0x00,0x00,0x22,0xa7,0x02,0x00,0x8b,0x94,0x00,0x00, 0x52,0xa7,0x02,0x00,0x8e,0x94,0x00,0x00,0x5c,0xa7,0x02,0x00,0x92,0x94,0x00,0x00,0x6c,0xa7,0x02,0x00, 0x93,0x94,0x00,0x00,0x7a,0xa7,0x02,0x00,0x95,0x94,0x00,0x00,0xb2,0xa7,0x02,0x00,0x97,0x94,0x00,0x00, 0xbc,0xa7,0x02,0x00,0x99,0x94,0x00,0x00,0xc6,0xa7,0x02,0x00,0x9b,0x94,0x00,0x00,0xf0,0xa7,0x02,0x00, 0x9c,0x94,0x00,0x00,0x16,0xa8,0x02,0x00,0x9d,0x94,0x00,0x00,0x2e,0xa8,0x02,0x00,0x9e,0x94,0x00,0x00, 0x4a,0xa8,0x02,0x00,0x9f,0x94,0x00,0x00,0x56,0xa8,0x02,0x00,0xa0,0x94,0x00,0x00,0x84,0xa8,0x02,0x00, 0xa1,0x94,0x00,0x00,0x96,0xa8,0x02,0x00,0xa2,0x94,0x00,0x00,0xa6,0xa8,0x02,0x00,0xa3,0x94,0x00,0x00, 0xd4,0xa8,0x02,0x00,0xa4,0x94,0x00,0x00,0xdc,0xa8,0x02,0x00,0xa5,0x94,0x00,0x00,0xe8,0xa8,0x02,0x00, 0xa6,0x94,0x00,0x00,0x22,0xa9,0x02,0x00,0xa7,0x94,0x00,0x00,0x5a,0xa9,0x02,0x00,0xa8,0x94,0x00,0x00, 0x6e,0xa9,0x02,0x00,0xa9,0x94,0x00,0x00,0x86,0xa9,0x02,0x00,0xae,0x94,0x00,0x00,0xbe,0xa9,0x02,0x00, 0xaf,0x94,0x00,0x00,0xd0,0xa9,0x02,0x00,0xb0,0x94,0x00,0x00,0xd8,0xa9,0x02,0x00,0xb1,0x94,0x00,0x00, 0xe4,0xa9,0x02,0x00,0xb3,0x94,0x00,0x00,0x16,0xaa,0x02,0x00,0xb4,0x94,0x00,0x00,0x46,0xaa,0x02,0x00, 0xb5,0x94,0x00,0x00,0x4e,0xaa,0x02,0x00,0xbb,0x94,0x00,0x00,0x68,0xaa,0x02,0x00,0xbc,0x94,0x00,0x00, 0x98,0xaa,0x02,0x00,0xbe,0x94,0x00,0x00,0xac,0xaa,0x02,0x00,0xc0,0x94,0x00,0x00,0xd0,0xaa,0x02,0x00, 0xc1,0x94,0x00,0x00,0xe4,0xaa,0x02,0x00,0xc2,0x94,0x00,0x00,0x16,0xab,0x02,0x00,0xc3,0x94,0x00,0x00, 0x2c,0xab,0x02,0x00,0xc4,0x94,0x00,0x00,0x60,0xab,0x02,0x00,0xc5,0x94,0x00,0x00,0x6c,0xab,0x02,0x00, 0xc6,0x94,0x00,0x00,0x9a,0xab,0x02,0x00,0xce,0x94,0x00,0x00,0xbe,0xab,0x02,0x00,0xd0,0x94,0x00,0x00, 0xcc,0xab,0x02,0x00,0xd7,0x94,0x00,0x00,0xd4,0xab,0x02,0x00,0xd9,0x94,0x00,0x00,0xdc,0xab,0x02,0x00, 0xdb,0x94,0x00,0x00,0xe4,0xab,0x02,0x00,0xdc,0x94,0x00,0x00,0xf2,0xab,0x02,0x00,0xdd,0x94,0x00,0x00, 0x1e,0xac,0x02,0x00,0xe0,0x94,0x00,0x00,0x50,0xac,0x02,0x00,0xe1,0x94,0x00,0x00,0x58,0xac,0x02,0x00, 0xe2,0x94,0x00,0x00,0x60,0xac,0x02,0x00,0xe3,0x94,0x00,0x00,0x70,0xac,0x02,0x00,0xe4,0x94,0x00,0x00, 0x84,0xac,0x02,0x00,0xe7,0x94,0x00,0x00,0x90,0xac,0x02,0x00,0xe8,0x94,0x00,0x00,0x98,0xac,0x02,0x00, 0xe9,0x94,0x00,0x00,0xaa,0xac,0x02,0x00,0xeb,0x94,0x00,0x00,0xba,0xac,0x02,0x00,0xec,0x94,0x00,0x00, 0xc2,0xac,0x02,0x00,0xed,0x94,0x00,0x00,0xe4,0xac,0x02,0x00,0xee,0x94,0x00,0x00,0x14,0xad,0x02,0x00, 0xf0,0x94,0x00,0x00,0x44,0xad,0x02,0x00,0xf1,0x94,0x00,0x00,0x54,0xad,0x02,0x00,0xf2,0x94,0x00,0x00, 0x5c,0xad,0x02,0x00,0xf3,0x94,0x00,0x00,0x90,0xad,0x02,0x00,0xf6,0x94,0x00,0x00,0x9c,0xad,0x02,0x00, 0xf7,0x94,0x00,0x00,0xd2,0xad,0x02,0x00,0xf8,0x94,0x00,0x00,0xda,0xad,0x02,0x00,0xfa,0x94,0x00,0x00, 0x08,0xae,0x02,0x00,0xfe,0x94,0x00,0x00,0x3c,0xae,0x02,0x00,0xff,0x94,0x00,0x00,0x6e,0xae,0x02,0x00, 0x00,0x95,0x00,0x00,0x82,0xae,0x02,0x00,0x01,0x95,0x00,0x00,0xb8,0xae,0x02,0x00,0x02,0x95,0x00,0x00, 0xea,0xae,0x02,0x00,0x03,0x95,0x00,0x00,0x10,0xaf,0x02,0x00,0x04,0x95,0x00,0x00,0x20,0xaf,0x02,0x00, 0x05,0x95,0x00,0x00,0x46,0xaf,0x02,0x00,0x06,0x95,0x00,0x00,0x7a,0xaf,0x02,0x00,0x08,0x95,0x00,0x00, 0x94,0xaf,0x02,0x00,0x09,0x95,0x00,0x00,0xb8,0xaf,0x02,0x00,0x0b,0x95,0x00,0x00,0xc0,0xaf,0x02,0x00, 0x0c,0x95,0x00,0x00,0xf4,0xaf,0x02,0x00,0x10,0x95,0x00,0x00,0x12,0xb0,0x02,0x00,0x11,0x95,0x00,0x00, 0x44,0xb0,0x02,0x00,0x12,0x95,0x00,0x00,0x52,0xb0,0x02,0x00,0x14,0x95,0x00,0x00,0x62,0xb0,0x02,0x00, 0x15,0x95,0x00,0x00,0x6e,0xb0,0x02,0x00,0x17,0x95,0x00,0x00,0x7a,0xb0,0x02,0x00,0x19,0x95,0x00,0x00, 0x82,0xb0,0x02,0x00,0x1a,0x95,0x00,0x00,0xb4,0xb0,0x02,0x00,0x1e,0x95,0x00,0x00,0xe2,0xb0,0x02,0x00, 0x21,0x95,0x00,0x00,0xea,0xb0,0x02,0x00,0x22,0x95,0x00,0x00,0x22,0xb1,0x02,0x00,0x23,0x95,0x00,0x00, 0x32,0xb1,0x02,0x00,0x24,0x95,0x00,0x00,0x5c,0xb1,0x02,0x00,0x25,0x95,0x00,0x00,0x84,0xb1,0x02,0x00, 0x26,0x95,0x00,0x00,0xb4,0xb1,0x02,0x00,0x28,0x95,0x00,0x00,0xe6,0xb1,0x02,0x00,0x2d,0x95,0x00,0x00, 0xee,0xb1,0x02,0x00,0x2e,0x95,0x00,0x00,0xfe,0xb1,0x02,0x00,0x2f,0x95,0x00,0x00,0x30,0xb2,0x02,0x00, 0x30,0x95,0x00,0x00,0x60,0xb2,0x02,0x00,0x31,0x95,0x00,0x00,0x7c,0xb2,0x02,0x00,0x32,0x95,0x00,0x00, 0x8c,0xb2,0x02,0x00,0x35,0x95,0x00,0x00,0x98,0xb2,0x02,0x00,0x39,0x95,0x00,0x00,0xa0,0xb2,0x02,0x00, 0x3a,0x95,0x00,0x00,0xb4,0xb2,0x02,0x00,0x3b,0x95,0x00,0x00,0xce,0xb2,0x02,0x00,0x3d,0x95,0x00,0x00, 0xfe,0xb2,0x02,0x00,0x40,0x95,0x00,0x00,0x06,0xb3,0x02,0x00,0x41,0x95,0x00,0x00,0x34,0xb3,0x02,0x00, 0x42,0x95,0x00,0x00,0x66,0xb3,0x02,0x00,0x47,0x95,0x00,0x00,0x86,0xb3,0x02,0x00,0x49,0x95,0x00,0x00, 0xb6,0xb3,0x02,0x00,0x4a,0x95,0x00,0x00,0xbe,0xb3,0x02,0x00,0x4c,0x95,0x00,0x00,0xc6,0xb3,0x02,0x00, 0x4d,0x95,0x00,0x00,0xe6,0xb3,0x02,0x00,0x4f,0x95,0x00,0x00,0x0a,0xb4,0x02,0x00,0x50,0x95,0x00,0x00, 0x1c,0xb4,0x02,0x00,0x55,0x95,0x00,0x00,0x28,0xb4,0x02,0x00,0x56,0x95,0x00,0x00,0x30,0xb4,0x02,0x00, 0x57,0x95,0x00,0x00,0x44,0xb4,0x02,0x00,0x5a,0x95,0x00,0x00,0x4c,0xb4,0x02,0x00,0x5b,0x95,0x00,0x00, 0x5a,0xb4,0x02,0x00,0x5c,0x95,0x00,0x00,0x62,0xb4,0x02,0x00,0x62,0x95,0x00,0x00,0x92,0xb4,0x02,0x00, 0x63,0x95,0x00,0x00,0x9a,0xb4,0x02,0x00,0x67,0x95,0x00,0x00,0xa6,0xb4,0x02,0x00,0x68,0x95,0x00,0x00, 0xb2,0xb4,0x02,0x00,0x69,0x95,0x00,0x00,0xba,0xb4,0x02,0x00,0x6a,0x95,0x00,0x00,0xc2,0xb4,0x02,0x00, 0x6b,0x95,0x00,0x00,0xca,0xb4,0x02,0x00,0x6c,0x95,0x00,0x00,0xd6,0xb4,0x02,0x00,0x6d,0x95,0x00,0x00, 0xde,0xb4,0x02,0x00,0x6f,0x95,0x00,0x00,0xf6,0xb4,0x02,0x00,0x70,0x95,0x00,0x00,0xfe,0xb4,0x02,0x00, 0x74,0x95,0x00,0x00,0x46,0xb5,0x02,0x00,0x76,0x95,0x00,0x00,0x4e,0xb5,0x02,0x00,0x7f,0x95,0x00,0x00, 0x6a,0xb5,0x02,0x00,0x92,0x95,0x00,0x00,0x96,0xb5,0x02,0x00,0xe8,0x95,0x00,0x00,0xc2,0xb5,0x02,0x00, 0xea,0x95,0x00,0x00,0xee,0xb5,0x02,0x00,0xed,0x95,0x00,0x00,0x1c,0xb6,0x02,0x00,0xee,0x95,0x00,0x00, 0x4a,0xb6,0x02,0x00,0xef,0x95,0x00,0x00,0x76,0xb6,0x02,0x00,0xf0,0x95,0x00,0x00,0xaa,0xb6,0x02,0x00, 0xf2,0x95,0x00,0x00,0xbe,0xb6,0x02,0x00,0xf4,0x95,0x00,0x00,0xea,0xb6,0x02,0x00,0xf5,0x95,0x00,0x00, 0x1c,0xb7,0x02,0x00,0xf7,0x95,0x00,0x00,0x3c,0xb7,0x02,0x00,0xf8,0x95,0x00,0x00,0x6c,0xb7,0x02,0x00, 0xf9,0x95,0x00,0x00,0x9c,0xb7,0x02,0x00,0xfa,0x95,0x00,0x00,0xca,0xb7,0x02,0x00,0xfb,0x95,0x00,0x00, 0xfa,0xb7,0x02,0x00,0xfd,0x95,0x00,0x00,0x32,0xb8,0x02,0x00,0xfe,0x95,0x00,0x00,0x66,0xb8,0x02,0x00, 0x00,0x96,0x00,0x00,0x7e,0xb8,0x02,0x00,0x01,0x96,0x00,0x00,0xa0,0xb8,0x02,0x00,0x03,0x96,0x00,0x00, 0xc8,0xb8,0x02,0x00,0x05,0x96,0x00,0x00,0xd8,0xb8,0x02,0x00,0x06,0x96,0x00,0x00,0x0e,0xb9,0x02,0x00, 0x07,0x96,0x00,0x00,0x30,0xb9,0x02,0x00,0x08,0x96,0x00,0x00,0x3c,0xb9,0x02,0x00,0x09,0x96,0x00,0x00, 0x44,0xb9,0x02,0x00,0x0e,0x96,0x00,0x00,0x5c,0xb9,0x02,0x00,0x0f,0x96,0x00,0x00,0x92,0xb9,0x02,0x00, 0x10,0x96,0x00,0x00,0x9a,0xb9,0x02,0x00,0x11,0x96,0x00,0x00,0xb6,0xb9,0x02,0x00,0x12,0x96,0x00,0x00, 0xec,0xb9,0x02,0x00,0x14,0x96,0x00,0x00,0x00,0xba,0x02,0x00,0x16,0x96,0x00,0x00,0x30,0xba,0x02,0x00, 0x19,0x96,0x00,0x00,0x72,0xba,0x02,0x00,0x1c,0x96,0x00,0x00,0x8a,0xba,0x02,0x00,0x1f,0x96,0x00,0x00, 0xc2,0xba,0x02,0x00,0x21,0x96,0x00,0x00,0xee,0xba,0x02,0x00,0x22,0x96,0x00,0x00,0xf6,0xba,0x02,0x00, 0x2a,0x96,0x00,0x00,0xfe,0xba,0x02,0x00,0x2e,0x96,0x00,0x00,0x0a,0xbb,0x02,0x00,0x32,0x96,0x00,0x00, 0x2e,0xbb,0x02,0x00,0x33,0x96,0x00,0x00,0x5a,0xbb,0x02,0x00,0x34,0x96,0x00,0x00,0x8c,0xbb,0x02,0x00, 0x35,0x96,0x00,0x00,0xb8,0xbb,0x02,0x00,0x36,0x96,0x00,0x00,0xe4,0xbb,0x02,0x00,0x3b,0x96,0x00,0x00, 0x1c,0xbc,0x02,0x00,0x3f,0x96,0x00,0x00,0x48,0xbc,0x02,0x00,0x40,0x96,0x00,0x00,0x84,0xbc,0x02,0x00, 0x42,0x96,0x00,0x00,0xbe,0xbc,0x02,0x00,0x44,0x96,0x00,0x00,0xc6,0xbc,0x02,0x00,0x45,0x96,0x00,0x00, 0xf6,0xbc,0x02,0x00,0x46,0x96,0x00,0x00,0x0a,0xbd,0x02,0x00,0x47,0x96,0x00,0x00,0x40,0xbd,0x02,0x00, 0x48,0x96,0x00,0x00,0x76,0xbd,0x02,0x00,0x49,0x96,0x00,0x00,0xa8,0xbd,0x02,0x00,0x4b,0x96,0x00,0x00, 0xb2,0xbd,0x02,0x00,0x4c,0x96,0x00,0x00,0xd6,0xbd,0x02,0x00,0x4d,0x96,0x00,0x00,0x02,0xbe,0x02,0x00, 0x50,0x96,0x00,0x00,0x2e,0xbe,0x02,0x00,0x55,0x96,0x00,0x00,0x5c,0xbe,0x02,0x00,0x5b,0x96,0x00,0x00, 0x8e,0xbe,0x02,0x00,0x5c,0x96,0x00,0x00,0x96,0xbe,0x02,0x00,0x61,0x96,0x00,0x00,0x9e,0xbe,0x02,0x00, 0x62,0x96,0x00,0x00,0xcc,0xbe,0x02,0x00,0x64,0x96,0x00,0x00,0xf8,0xbe,0x02,0x00,0x68,0x96,0x00,0x00, 0x2e,0xbf,0x02,0x00,0x69,0x96,0x00,0x00,0x5e,0xbf,0x02,0x00,0x6a,0x96,0x00,0x00,0x8a,0xbf,0x02,0x00, 0x74,0x96,0x00,0x00,0xba,0xbf,0x02,0x00,0x75,0x96,0x00,0x00,0xc2,0xbf,0x02,0x00,0x76,0x96,0x00,0x00, 0xf2,0xbf,0x02,0x00,0x77,0x96,0x00,0x00,0x1e,0xc0,0x02,0x00,0x86,0x96,0x00,0x00,0x52,0xc0,0x02,0x00, 0x88,0x96,0x00,0x00,0x80,0xc0,0x02,0x00,0x8b,0x96,0x00,0x00,0x8a,0xc0,0x02,0x00,0x8f,0x96,0x00,0x00, 0xc0,0xc0,0x02,0x00,0x90,0x96,0x00,0x00,0xec,0xc0,0x02,0x00,0x94,0x96,0x00,0x00,0x18,0xc1,0x02,0x00, 0x98,0x96,0x00,0x00,0x46,0xc1,0x02,0x00,0x99,0x96,0x00,0x00,0x56,0xc1,0x02,0x00,0x9c,0x96,0x00,0x00, 0x62,0xc1,0x02,0x00,0xa7,0x96,0x00,0x00,0x9e,0xc1,0x02,0x00,0xb0,0x96,0x00,0x00,0xc0,0xc1,0x02,0x00, 0xb6,0x96,0x00,0x00,0xc8,0xc1,0x02,0x00,0xbd,0x96,0x00,0x00,0xe8,0xc1,0x02,0x00,0xbe,0x96,0x00,0x00, 0x14,0xc2,0x02,0x00,0xc0,0x96,0x00,0x00,0x40,0xc2,0x02,0x00,0xc1,0x96,0x00,0x00,0x74,0xc2,0x02,0x00, 0xc4,0x96,0x00,0x00,0xac,0xc2,0x02,0x00,0xc5,0x96,0x00,0x00,0xe2,0xc2,0x02,0x00,0xc6,0x96,0x00,0x00, 0x16,0xc3,0x02,0x00,0xc7,0x96,0x00,0x00,0x4a,0xc3,0x02,0x00,0xc9,0x96,0x00,0x00,0x7a,0xc3,0x02,0x00, 0xcc,0x96,0x00,0x00,0x86,0xc3,0x02,0x00,0xcd,0x96,0x00,0x00,0xbc,0xc3,0x02,0x00,0xce,0x96,0x00,0x00, 0xf4,0xc3,0x02,0x00,0xcf,0x96,0x00,0x00,0xfc,0xc3,0x02,0x00,0xd5,0x96,0x00,0x00,0x28,0xc4,0x02,0x00, 0xe8,0x96,0x00,0x00,0x56,0xc4,0x02,0x00,0xea,0x96,0x00,0x00,0x88,0xc4,0x02,0x00,0xf0,0x96,0x00,0x00, 0xba,0xc4,0x02,0x00,0xf6,0x96,0x00,0x00,0xc6,0xc4,0x02,0x00,0xf7,0x96,0x00,0x00,0xfc,0xc4,0x02,0x00, 0xf9,0x96,0x00,0x00,0x28,0xc5,0x02,0x00,0xfe,0x96,0x00,0x00,0x40,0xc5,0x02,0x00,0x00,0x97,0x00,0x00, 0x72,0xc5,0x02,0x00,0x04,0x97,0x00,0x00,0xac,0xc5,0x02,0x00,0x07,0x97,0x00,0x00,0xc6,0xc5,0x02,0x00, 0x09,0x97,0x00,0x00,0xf2,0xc5,0x02,0x00,0x0d,0x97,0x00,0x00,0x22,0xc6,0x02,0x00,0x0e,0x97,0x00,0x00, 0x62,0xc6,0x02,0x00,0x0f,0x97,0x00,0x00,0x7c,0xc6,0x02,0x00,0x13,0x97,0x00,0x00,0x8e,0xc6,0x02,0x00, 0x1c,0x97,0x00,0x00,0xb8,0xc6,0x02,0x00,0x1e,0x97,0x00,0x00,0xe6,0xc6,0x02,0x00,0x22,0x97,0x00,0x00, 0x1c,0xc7,0x02,0x00,0x2a,0x97,0x00,0x00,0x24,0xc7,0x02,0x00,0x2d,0x97,0x00,0x00,0x2c,0xc7,0x02,0x00, 0x30,0x97,0x00,0x00,0x3c,0xc7,0x02,0x00,0x32,0x97,0x00,0x00,0x50,0xc7,0x02,0x00,0x38,0x97,0x00,0x00, 0x7c,0xc7,0x02,0x00,0x39,0x97,0x00,0x00,0xb2,0xc7,0x02,0x00,0x3e,0x97,0x00,0x00,0xdc,0xc7,0x02,0x00, 0x52,0x97,0x00,0x00,0xe4,0xc7,0x02,0x00,0x53,0x97,0x00,0x00,0x1a,0xc8,0x02,0x00,0x56,0x97,0x00,0x00, 0x46,0xc8,0x02,0x00,0x59,0x97,0x00,0x00,0x7c,0xc8,0x02,0x00,0x5b,0x97,0x00,0x00,0xaa,0xc8,0x02,0x00, 0x5e,0x97,0x00,0x00,0xd0,0xc8,0x02,0x00,0x60,0x97,0x00,0x00,0x06,0xc9,0x02,0x00,0x61,0x97,0x00,0x00, 0x38,0xc9,0x02,0x00,0x62,0x97,0x00,0x00,0x60,0xc9,0x02,0x00,0x66,0x97,0x00,0x00,0x8c,0xc9,0x02,0x00, 0x69,0x97,0x00,0x00,0x94,0xc9,0x02,0x00,0x73,0x97,0x00,0x00,0xd0,0xc9,0x02,0x00,0x74,0x97,0x00,0x00, 0xe0,0xc9,0x02,0x00,0x76,0x97,0x00,0x00,0xf2,0xc9,0x02,0x00,0x78,0x97,0x00,0x00,0x1e,0xca,0x02,0x00, 0x85,0x97,0x00,0x00,0x26,0xca,0x02,0x00,0x8b,0x97,0x00,0x00,0x32,0xca,0x02,0x00,0x8d,0x97,0x00,0x00, 0x5e,0xca,0x02,0x00,0x91,0x97,0x00,0x00,0xa0,0xca,0x02,0x00,0x98,0x97,0x00,0x00,0xd4,0xca,0x02,0x00, 0x9d,0x97,0x00,0x00,0xe6,0xca,0x02,0x00,0xa0,0x97,0x00,0x00,0xee,0xca,0x02,0x00,0xa3,0x97,0x00,0x00, 0x10,0xcb,0x02,0x00,0xad,0x97,0x00,0x00,0x2a,0xcb,0x02,0x00,0xe6,0x97,0x00,0x00,0x5e,0xcb,0x02,0x00, 0xe7,0x97,0x00,0x00,0xae,0xcb,0x02,0x00,0xe9,0x97,0x00,0x00,0xda,0xcb,0x02,0x00,0xec,0x97,0x00,0x00, 0x0a,0xcc,0x02,0x00,0xed,0x97,0x00,0x00,0x22,0xcc,0x02,0x00,0xf3,0x97,0x00,0x00,0x3a,0xcc,0x02,0x00, 0xf5,0x97,0x00,0x00,0x70,0xcc,0x02,0x00,0xf6,0x97,0x00,0x00,0x9c,0xcc,0x02,0x00,0x75,0x98,0x00,0x00, 0xd2,0xcc,0x02,0x00,0x76,0x98,0x00,0x00,0x04,0xcd,0x02,0x00,0x77,0x98,0x00,0x00,0x30,0xcd,0x02,0x00, 0x79,0x98,0x00,0x00,0x4a,0xcd,0x02,0x00,0x7a,0x98,0x00,0x00,0x82,0xcd,0x02,0x00,0x7b,0x98,0x00,0x00, 0xae,0xcd,0x02,0x00,0x7d,0x98,0x00,0x00,0xde,0xcd,0x02,0x00,0x7e,0x98,0x00,0x00,0x0c,0xce,0x02,0x00, 0x7f,0x98,0x00,0x00,0x42,0xce,0x02,0x00,0x80,0x98,0x00,0x00,0x72,0xce,0x02,0x00,0x81,0x98,0x00,0x00, 0x7e,0xce,0x02,0x00,0x82,0x98,0x00,0x00,0xae,0xce,0x02,0x00,0x84,0x98,0x00,0x00,0xda,0xce,0x02,0x00, 0x85,0x98,0x00,0x00,0x06,0xcf,0x02,0x00,0x86,0x98,0x00,0x00,0x28,0xcf,0x02,0x00,0x87,0x98,0x00,0x00, 0x56,0xcf,0x02,0x00,0x88,0x98,0x00,0x00,0x7a,0xcf,0x02,0x00,0x89,0x98,0x00,0x00,0xaa,0xcf,0x02,0x00, 0x8a,0x98,0x00,0x00,0xb6,0xcf,0x02,0x00,0x8c,0x98,0x00,0x00,0xc2,0xcf,0x02,0x00,0x8d,0x98,0x00,0x00, 0xd4,0xcf,0x02,0x00,0x90,0x98,0x00,0x00,0x00,0xd0,0x02,0x00,0x91,0x98,0x00,0x00,0x36,0xd0,0x02,0x00, 0x93,0x98,0x00,0x00,0x62,0xd0,0x02,0x00,0x94,0x98,0x00,0x00,0x90,0xd0,0x02,0x00,0x96,0x98,0x00,0x00, 0xb6,0xd0,0x02,0x00,0x97,0x98,0x00,0x00,0xd8,0xd0,0x02,0x00,0x98,0x98,0x00,0x00,0xfc,0xd0,0x02,0x00, 0x9a,0x98,0x00,0x00,0x2a,0xd1,0x02,0x00,0x9b,0x98,0x00,0x00,0x3c,0xd1,0x02,0x00,0x9c,0x98,0x00,0x00, 0x4c,0xd1,0x02,0x00,0x9d,0x98,0x00,0x00,0x7e,0xd1,0x02,0x00,0x9e,0x98,0x00,0x00,0xb6,0xd1,0x02,0x00, 0x9f,0x98,0x00,0x00,0xcc,0xd1,0x02,0x00,0xa0,0x98,0x00,0x00,0xd4,0xd1,0x02,0x00,0xa4,0x98,0x00,0x00, 0x12,0xd2,0x02,0x00,0xa6,0x98,0x00,0x00,0x4c,0xd2,0x02,0x00,0xa7,0x98,0x00,0x00,0x58,0xd2,0x02,0x00, 0xce,0x98,0x00,0x00,0x64,0xd2,0x02,0x00,0xd0,0x98,0x00,0x00,0x90,0xd2,0x02,0x00,0xd2,0x98,0x00,0x00, 0x98,0xd2,0x02,0x00,0xd3,0x98,0x00,0x00,0xb0,0xd2,0x02,0x00,0xd5,0x98,0x00,0x00,0xb8,0xd2,0x02,0x00, 0xd8,0x98,0x00,0x00,0xc0,0xd2,0x02,0x00,0xd9,0x98,0x00,0x00,0xec,0xd2,0x02,0x00,0xda,0x98,0x00,0x00, 0x1e,0xd3,0x02,0x00,0xde,0x98,0x00,0x00,0x2a,0xd3,0x02,0x00,0xdf,0x98,0x00,0x00,0x5c,0xd3,0x02,0x00, 0xe8,0x98,0x00,0x00,0x8a,0xd3,0x02,0x00,0x0d,0x99,0x00,0x00,0xa4,0xd3,0x02,0x00,0x10,0x99,0x00,0x00, 0xac,0xd3,0x02,0x00,0x35,0x99,0x00,0x00,0xdc,0xd3,0x02,0x00,0x54,0x99,0x00,0x00,0xf0,0xd3,0x02,0x00, 0x55,0x99,0x00,0x00,0x04,0xd4,0x02,0x00,0x65,0x99,0x00,0x00,0x26,0xd4,0x02,0x00,0x67,0x99,0x00,0x00, 0x62,0xd4,0x02,0x00,0x6b,0x99,0x00,0x00,0x6a,0xd4,0x02,0x00,0x6c,0x99,0x00,0x00,0x76,0xd4,0x02,0x00, 0x6d,0x99,0x00,0x00,0x7e,0xd4,0x02,0x00,0x6e,0x99,0x00,0x00,0xaa,0xd4,0x02,0x00,0x6f,0x99,0x00,0x00, 0xda,0xd4,0x02,0x00,0x70,0x99,0x00,0x00,0xe6,0xd4,0x02,0x00,0x71,0x99,0x00,0x00,0x16,0xd5,0x02,0x00, 0x72,0x99,0x00,0x00,0x50,0xd5,0x02,0x00,0x74,0x99,0x00,0x00,0x86,0xd5,0x02,0x00,0x75,0x99,0x00,0x00, 0x8e,0xd5,0x02,0x00,0x76,0x99,0x00,0x00,0xaa,0xd5,0x02,0x00,0x77,0x99,0x00,0x00,0xe0,0xd5,0x02,0x00, 0x78,0x99,0x00,0x00,0xe8,0xd5,0x02,0x00,0x7a,0x99,0x00,0x00,0xf0,0xd5,0x02,0x00,0x7c,0x99,0x00,0x00, 0x08,0xd6,0x02,0x00,0x7d,0x99,0x00,0x00,0x38,0xd6,0x02,0x00,0x7e,0x99,0x00,0x00,0x40,0xd6,0x02,0x00, 0x7f,0x99,0x00,0x00,0x4c,0xd6,0x02,0x00,0x82,0x99,0x00,0x00,0x8c,0xd6,0x02,0x00,0x83,0x99,0x00,0x00, 0x94,0xd6,0x02,0x00,0x84,0x99,0x00,0x00,0x9c,0xd6,0x02,0x00,0x85,0x99,0x00,0x00,0xa8,0xd6,0x02,0x00, 0x86,0x99,0x00,0x00,0xc2,0xd6,0x02,0x00,0x88,0x99,0x00,0x00,0xf0,0xd6,0x02,0x00,0x8a,0x99,0x00,0x00, 0x06,0xd7,0x02,0x00,0x8b,0x99,0x00,0x00,0x14,0xd7,0x02,0x00,0x8d,0x99,0x00,0x00,0x4a,0xd7,0x02,0x00, 0x8f,0x99,0x00,0x00,0x52,0xd7,0x02,0x00,0x92,0x99,0x00,0x00,0x5a,0xd7,0x02,0x00,0x93,0x99,0x00,0x00, 0x80,0xd7,0x02,0x00,0x95,0x99,0x00,0x00,0x88,0xd7,0x02,0x00,0x96,0x99,0x00,0x00,0x98,0xd7,0x02,0x00, 0x99,0x99,0x00,0x00,0xc4,0xd7,0x02,0x00,0xa5,0x99,0x00,0x00,0xf4,0xd7,0x02,0x00,0xa8,0x99,0x00,0x00, 0x00,0xd8,0x02,0x00,0x6c,0x9a,0x00,0x00,0x1e,0xd8,0x02,0x00,0x6d,0x9a,0x00,0x00,0x52,0xd8,0x02,0x00, 0x6e,0x9a,0x00,0x00,0x64,0xd8,0x02,0x00,0x6f,0x9a,0x00,0x00,0x92,0xd8,0x02,0x00,0x70,0x9a,0x00,0x00, 0xc4,0xd8,0x02,0x00,0x71,0x9a,0x00,0x00,0xf4,0xd8,0x02,0x00,0x73,0x9a,0x00,0x00,0x26,0xd9,0x02,0x00, 0x74,0x9a,0x00,0x00,0x54,0xd9,0x02,0x00,0x75,0x9a,0x00,0x00,0x8c,0xd9,0x02,0x00,0x76,0x9a,0x00,0x00, 0x94,0xd9,0x02,0x00,0x77,0x9a,0x00,0x00,0xc0,0xd9,0x02,0x00,0x78,0x9a,0x00,0x00,0xce,0xd9,0x02,0x00, 0x79,0x9a,0x00,0x00,0xe2,0xd9,0x02,0x00,0x7a,0x9a,0x00,0x00,0xea,0xd9,0x02,0x00,0x7b,0x9a,0x00,0x00, 0xf6,0xd9,0x02,0x00,0x7c,0x9a,0x00,0x00,0x26,0xda,0x02,0x00,0x7d,0x9a,0x00,0x00,0x52,0xda,0x02,0x00, 0x7e,0x9a,0x00,0x00,0x70,0xda,0x02,0x00,0x7f,0x9a,0x00,0x00,0xa6,0xda,0x02,0x00,0x81,0x9a,0x00,0x00, 0xc8,0xda,0x02,0x00,0x82,0x9a,0x00,0x00,0xe0,0xda,0x02,0x00,0x84,0x9a,0x00,0x00,0x16,0xdb,0x02,0x00, 0x86,0x9a,0x00,0x00,0x4e,0xdb,0x02,0x00,0x87,0x9a,0x00,0x00,0x8e,0xdb,0x02,0x00,0x88,0x9a,0x00,0x00, 0xb6,0xdb,0x02,0x00,0x8a,0x9a,0x00,0x00,0xda,0xdb,0x02,0x00,0x8b,0x9a,0x00,0x00,0xfe,0xdb,0x02,0x00, 0x8c,0x9a,0x00,0x00,0x0a,0xdc,0x02,0x00,0x8f,0x9a,0x00,0x00,0x3c,0xdc,0x02,0x00,0x90,0x9a,0x00,0x00, 0x50,0xdc,0x02,0x00,0x91,0x9a,0x00,0x00,0x5c,0xdc,0x02,0x00,0x92,0x9a,0x00,0x00,0x90,0xdc,0x02,0x00, 0x95,0x9a,0x00,0x00,0x98,0xdc,0x02,0x00,0x97,0x9a,0x00,0x00,0xa0,0xdc,0x02,0x00,0x9a,0x9a,0x00,0x00, 0xcc,0xdc,0x02,0x00,0x9b,0x9a,0x00,0x00,0xfc,0xdc,0x02,0x00,0x9f,0x9a,0x00,0x00,0x04,0xdd,0x02,0x00, 0xa1,0x9a,0x00,0x00,0x0c,0xdd,0x02,0x00,0xa4,0x9a,0x00,0x00,0x26,0xdd,0x02,0x00,0xa5,0x9a,0x00,0x00, 0x54,0xdd,0x02,0x00,0xa8,0x9a,0x00,0x00,0x5c,0xdd,0x02,0x00,0xab,0x9a,0x00,0x00,0x88,0xdd,0x02,0x00, 0xb0,0x9a,0x00,0x00,0x90,0xdd,0x02,0x00,0xb6,0x9a,0x00,0x00,0xa4,0xdd,0x02,0x00,0xb7,0x9a,0x00,0x00, 0xac,0xdd,0x02,0x00,0xb8,0x9a,0x00,0x00,0xc0,0xdd,0x02,0x00,0xba,0x9a,0x00,0x00,0xc8,0xdd,0x02,0x00, 0xc0,0x9a,0x00,0x00,0xd4,0xdd,0x02,0x00,0xc2,0x9a,0x00,0x00,0xe0,0xdd,0x02,0x00,0xcb,0x9a,0x00,0x00, 0xec,0xdd,0x02,0x00,0xcc,0x9a,0x00,0x00,0xfe,0xdd,0x02,0x00,0xd3,0x9a,0x00,0x00,0x06,0xde,0x02,0x00, 0xd8,0x9a,0x00,0x00,0x22,0xde,0x02,0x00,0xdd,0x9a,0x00,0x00,0x4e,0xde,0x02,0x00,0xeb,0x9a,0x00,0x00, 0x56,0xde,0x02,0x00,0xef,0x9a,0x00,0x00,0x62,0xde,0x02,0x00,0xfd,0x9a,0x00,0x00,0x6e,0xde,0x02,0x00, 0x03,0x9b,0x00,0x00,0x76,0xde,0x02,0x00,0x13,0x9b,0x00,0x00,0x7e,0xde,0x02,0x00,0x23,0x9b,0x00,0x00, 0x96,0xde,0x02,0x00,0x3c,0x9b,0x00,0x00,0xa6,0xde,0x02,0x00,0x41,0x9b,0x00,0x00,0xd2,0xde,0x02,0x00, 0x42,0x9b,0x00,0x00,0x06,0xdf,0x02,0x00,0x44,0x9b,0x00,0x00,0x48,0xdf,0x02,0x00,0x45,0x9b,0x00,0x00, 0x50,0xdf,0x02,0x00,0x46,0x9b,0x00,0x00,0x82,0xdf,0x02,0x00,0x47,0x9b,0x00,0x00,0x8a,0xdf,0x02,0x00, 0x4d,0x9b,0x00,0x00,0x92,0xdf,0x02,0x00,0x4f,0x9b,0x00,0x00,0xa2,0xdf,0x02,0x00,0x51,0x9b,0x00,0x00, 0xd4,0xdf,0x02,0x00,0x54,0x9b,0x00,0x00,0xe4,0xdf,0x02,0x00,0x5f,0x9b,0x00,0x00,0x12,0xe0,0x02,0x00, 0x63,0x9b,0x00,0x00,0x1a,0xe0,0x02,0x00,0x9f,0x9b,0x00,0x00,0x22,0xe0,0x02,0x00,0xa8,0x9b,0x00,0x00, 0x2a,0xe0,0x02,0x00,0xf0,0x9b,0x00,0x00,0x32,0xe0,0x02,0x00,0x46,0x9c,0x00,0x00,0x3a,0xe0,0x02,0x00, 0x7c,0x9c,0x00,0x00,0x42,0xe0,0x02,0x00,0x7f,0x9c,0x00,0x00,0x72,0xe0,0x02,0x00,0x81,0x9c,0x00,0x00, 0x7a,0xe0,0x02,0x00,0x83,0x9c,0x00,0x00,0xa8,0xe0,0x02,0x00,0x85,0x9c,0x00,0x00,0xb0,0xe0,0x02,0x00, 0x87,0x9c,0x00,0x00,0xc6,0xe0,0x02,0x00,0x88,0x9c,0x00,0x00,0xd2,0xe0,0x02,0x00,0x8d,0x9c,0x00,0x00, 0xda,0xe0,0x02,0x00,0x8e,0x9c,0x00,0x00,0x0a,0xe1,0x02,0x00,0x91,0x9c,0x00,0x00,0x12,0xe1,0x02,0x00, 0x94,0x9c,0x00,0x00,0x1a,0xe1,0x02,0x00,0x97,0x9c,0x00,0x00,0x22,0xe1,0x02,0x00,0x99,0x9c,0x00,0x00, 0x2c,0xe1,0x02,0x00,0x9b,0x9c,0x00,0x00,0x34,0xe1,0x02,0x00,0x9c,0x9c,0x00,0x00,0x44,0xe1,0x02,0x00, 0x9e,0x9c,0x00,0x00,0x74,0xe1,0x02,0x00,0x9f,0x9c,0x00,0x00,0x7c,0xe1,0x02,0x00,0xa0,0x9c,0x00,0x00, 0x88,0xe1,0x02,0x00,0xa2,0x9c,0x00,0x00,0x90,0xe1,0x02,0x00,0xa4,0x9c,0x00,0x00,0x98,0xe1,0x02,0x00, 0xa5,0x9c,0x00,0x00,0xc8,0xe1,0x02,0x00,0xa8,0x9c,0x00,0x00,0xd0,0xe1,0x02,0x00,0xab,0x9c,0x00,0x00, 0xd8,0xe1,0x02,0x00,0xad,0x9c,0x00,0x00,0xe0,0xe1,0x02,0x00,0xae,0x9c,0x00,0x00,0xec,0xe1,0x02,0x00, 0xaf,0x9c,0x00,0x00,0x04,0xe2,0x02,0x00,0xb1,0x9c,0x00,0x00,0x0c,0xe2,0x02,0x00,0xb2,0x9c,0x00,0x00, 0x14,0xe2,0x02,0x00,0xb3,0x9c,0x00,0x00,0x24,0xe2,0x02,0x00,0xb6,0x9c,0x00,0x00,0x2c,0xe2,0x02,0x00, 0xb7,0x9c,0x00,0x00,0x34,0xe2,0x02,0x00,0xb8,0x9c,0x00,0x00,0x40,0xe2,0x02,0x00,0xbb,0x9c,0x00,0x00, 0x70,0xe2,0x02,0x00,0xbd,0x9c,0x00,0x00,0x78,0xe2,0x02,0x00,0xc0,0x9c,0x00,0x00,0x88,0xe2,0x02,0x00, 0xc3,0x9c,0x00,0x00,0x90,0xe2,0x02,0x00,0xc4,0x9c,0x00,0x00,0x9c,0xe2,0x02,0x00,0xc7,0x9c,0x00,0x00, 0xd4,0xe2,0x02,0x00,0xcc,0x9c,0x00,0x00,0xdc,0xe2,0x02,0x00,0xcd,0x9c,0x00,0x00,0x12,0xe3,0x02,0x00, 0xcf,0x9c,0x00,0x00,0x1c,0xe3,0x02,0x00,0xd1,0x9c,0x00,0x00,0x30,0xe3,0x02,0x00,0xd4,0x9c,0x00,0x00, 0x38,0xe3,0x02,0x00,0xd5,0x9c,0x00,0x00,0x40,0xe3,0x02,0x00,0xd6,0x9c,0x00,0x00,0x48,0xe3,0x02,0x00, 0xd7,0x9c,0x00,0x00,0x58,0xe3,0x02,0x00,0xd9,0x9c,0x00,0x00,0x6a,0xe3,0x02,0x00,0xdc,0x9c,0x00,0x00, 0x72,0xe3,0x02,0x00,0xdd,0x9c,0x00,0x00,0x7a,0xe3,0x02,0x00,0xde,0x9c,0x00,0x00,0x88,0xe3,0x02,0x00, 0xdf,0x9c,0x00,0x00,0xc0,0xe3,0x02,0x00,0xe2,0x9c,0x00,0x00,0xc8,0xe3,0x02,0x00,0xef,0x9c,0x00,0x00, 0xd0,0xe3,0x02,0x00,0x56,0x9d,0x00,0x00,0xd8,0xe3,0x02,0x00,0x97,0x9d,0x00,0x00,0xe0,0xe3,0x02,0x00, 0x1f,0x9e,0x00,0x00,0xec,0xe3,0x02,0x00,0x20,0x9e,0x00,0x00,0x1c,0xe4,0x02,0x00,0x21,0x9e,0x00,0x00, 0x58,0xe4,0x02,0x00,0x22,0x9e,0x00,0x00,0x88,0xe4,0x02,0x00,0x23,0x9e,0x00,0x00,0x96,0xe4,0x02,0x00, 0x25,0x9e,0x00,0x00,0xc6,0xe4,0x02,0x00,0x26,0x9e,0x00,0x00,0xd2,0xe4,0x02,0x00,0x27,0x9e,0x00,0x00, 0xfc,0xe4,0x02,0x00,0x28,0x9e,0x00,0x00,0x04,0xe5,0x02,0x00,0x29,0x9e,0x00,0x00,0x0c,0xe5,0x02,0x00, 0x2b,0x9e,0x00,0x00,0x18,0xe5,0x02,0x00,0x2c,0x9e,0x00,0x00,0x20,0xe5,0x02,0x00,0x2d,0x9e,0x00,0x00, 0x34,0xe5,0x02,0x00,0x2e,0x9e,0x00,0x00,0x68,0xe5,0x02,0x00,0x31,0x9e,0x00,0x00,0x76,0xe5,0x02,0x00, 0x32,0x9e,0x00,0x00,0x8a,0xe5,0x02,0x00,0x33,0x9e,0x00,0x00,0x92,0xe5,0x02,0x00,0x35,0x9e,0x00,0x00, 0xd6,0xe5,0x02,0x00,0x37,0x9e,0x00,0x00,0xec,0xe5,0x02,0x00,0x38,0x9e,0x00,0x00,0xf4,0xe5,0x02,0x00, 0x3a,0x9e,0x00,0x00,0xfc,0xe5,0x02,0x00,0x3b,0x9e,0x00,0x00,0x04,0xe6,0x02,0x00,0x3d,0x9e,0x00,0x00, 0x0c,0xe6,0x02,0x00,0x3e,0x9e,0x00,0x00,0x3e,0xe6,0x02,0x00,0x3f,0x9e,0x00,0x00,0x5e,0xe6,0x02,0x00, 0x41,0x9e,0x00,0x00,0x8a,0xe6,0x02,0x00,0x43,0x9e,0x00,0x00,0x9a,0xe6,0x02,0x00,0x44,0x9e,0x00,0x00, 0xa4,0xe6,0x02,0x00,0x45,0x9e,0x00,0x00,0xb4,0xe6,0x02,0x00,0x48,0x9e,0x00,0x00,0xee,0xe6,0x02,0x00, 0x4a,0x9e,0x00,0x00,0xfc,0xe6,0x02,0x00,0x4c,0x9e,0x00,0x00,0x14,0xe7,0x02,0x00,0x4d,0x9e,0x00,0x00, 0x22,0xe7,0x02,0x00,0x4f,0x9e,0x00,0x00,0x38,0xe7,0x02,0x00,0x51,0x9e,0x00,0x00,0x64,0xe7,0x02,0x00, 0x54,0x9e,0x00,0x00,0x6c,0xe7,0x02,0x00,0x59,0x9e,0x00,0x00,0x74,0xe7,0x02,0x00,0x5c,0x9e,0x00,0x00, 0x7c,0xe7,0x02,0x00,0x5e,0x9e,0x00,0x00,0x8a,0xe7,0x02,0x00,0x61,0x9e,0x00,0x00,0xa2,0xe7,0x02,0x00, 0x63,0x9e,0x00,0x00,0xaa,0xe7,0x02,0x00,0x64,0x9e,0x00,0x00,0xb6,0xe7,0x02,0x00,0x66,0x9e,0x00,0x00, 0xf0,0xe7,0x02,0x00,0x67,0x9e,0x00,0x00,0x1e,0xe8,0x02,0x00,0x69,0x9e,0x00,0x00,0x26,0xe8,0x02,0x00, 0x6a,0x9e,0x00,0x00,0x2e,0xe8,0x02,0x00,0x6b,0x9e,0x00,0x00,0x36,0xe8,0x02,0x00,0x6c,0x9e,0x00,0x00, 0x42,0xe8,0x02,0x00,0x6d,0x9e,0x00,0x00,0x4e,0xe8,0x02,0x00,0x70,0x9e,0x00,0x00,0x6c,0xe8,0x02,0x00, 0x73,0x9e,0x00,0x00,0x9c,0xe8,0x02,0x00,0x7f,0x9e,0x00,0x00,0xac,0xe8,0x02,0x00,0x82,0x9e,0x00,0x00, 0xe4,0xe8,0x02,0x00,0x87,0x9e,0x00,0x00,0xec,0xe8,0x02,0x00,0x8b,0x9e,0x00,0x00,0xf4,0xe8,0x02,0x00, 0x92,0x9e,0x00,0x00,0xfc,0xe8,0x02,0x00,0x93,0x9e,0x00,0x00,0x38,0xe9,0x02,0x00,0x9d,0x9e,0x00,0x00, 0x4a,0xe9,0x02,0x00,0x9f,0x9e,0x00,0x00,0x68,0xe9,0x02,0x00,0xa6,0x9e,0x00,0x00,0x90,0xe9,0x02,0x00, 0xb8,0x9e,0x00,0x00,0xc6,0xe9,0x02,0x00,0xbb,0x9e,0x00,0x00,0xde,0xe9,0x02,0x00,0xbe,0x9e,0x00,0x00, 0x0e,0xea,0x02,0x00,0xc4,0x9e,0x00,0x00,0x16,0xea,0x02,0x00,0xc9,0x9e,0x00,0x00,0x46,0xea,0x02,0x00, 0xcd,0x9e,0x00,0x00,0x4e,0xea,0x02,0x00,0xce,0x9e,0x00,0x00,0x56,0xea,0x02,0x00,0xcf,0x9e,0x00,0x00, 0x90,0xea,0x02,0x00,0xd0,0x9e,0x00,0x00,0xc0,0xea,0x02,0x00,0xd1,0x9e,0x00,0x00,0xc8,0xea,0x02,0x00, 0xd4,0x9e,0x00,0x00,0xfe,0xea,0x02,0x00,0xd8,0x9e,0x00,0x00,0x3e,0xeb,0x02,0x00,0xdb,0x9e,0x00,0x00, 0x72,0xeb,0x02,0x00,0xdc,0x9e,0x00,0x00,0xa4,0xeb,0x02,0x00,0xdd,0x9e,0x00,0x00,0xb0,0xeb,0x02,0x00, 0xdf,0x9e,0x00,0x00,0xc4,0xeb,0x02,0x00,0xe0,0x9e,0x00,0x00,0xd0,0xeb,0x02,0x00,0xe2,0x9e,0x00,0x00, 0xd8,0xeb,0x02,0x00,0xe7,0x9e,0x00,0x00,0xe0,0xeb,0x02,0x00,0xe9,0x9e,0x00,0x00,0xe8,0xeb,0x02,0x00, 0xef,0x9e,0x00,0x00,0xf0,0xeb,0x02,0x00,0x0b,0x9f,0x00,0x00,0x18,0xec,0x02,0x00,0x0d,0x9f,0x00,0x00, 0x20,0xec,0x02,0x00,0x0e,0x9f,0x00,0x00,0x28,0xec,0x02,0x00,0x13,0x9f,0x00,0x00,0x58,0xec,0x02,0x00, 0x20,0x9f,0x00,0x00,0x88,0xec,0x02,0x00,0x29,0x9f,0x00,0x00,0xba,0xec,0x02,0x00,0x2c,0x9f,0x00,0x00, 0xc2,0xec,0x02,0x00,0x2f,0x9f,0x00,0x00,0xda,0xec,0x02,0x00,0x37,0x9f,0x00,0x00,0xe2,0xec,0x02,0x00, 0x39,0x9f,0x00,0x00,0xea,0xec,0x02,0x00,0x3b,0x9f,0x00,0x00,0xf8,0xec,0x02,0x00,0x3e,0x9f,0x00,0x00, 0x26,0xed,0x02,0x00,0x4c,0x9f,0x00,0x00,0x42,0xed,0x02,0x00,0x50,0x9f,0x00,0x00,0x4a,0xed,0x02,0x00, 0x51,0x9f,0x00,0x00,0x88,0xed,0x02,0x00,0x67,0x9f,0x00,0x00,0x90,0xed,0x02,0x00,0x71,0x9f,0x00,0x00, 0x98,0xed,0x02,0x00,0x7f,0x9f,0x00,0x00,0xa0,0xed,0x02,0x00,0x83,0x9f,0x00,0x00,0xd0,0xed,0x02,0x00, 0x84,0x9f,0x00,0x00,0xd8,0xed,0x02,0x00,0x85,0x9f,0x00,0x00,0xe0,0xed,0x02,0x00,0x87,0x9f,0x00,0x00, 0xe8,0xed,0x02,0x00,0x88,0x9f,0x00,0x00,0xf4,0xed,0x02,0x00,0x8b,0x9f,0x00,0x00,0x22,0xee,0x02,0x00, 0x8c,0x9f,0x00,0x00,0x38,0xee,0x02,0x00,0x99,0x9f,0x00,0x00,0x44,0xee,0x02,0x00,0x9a,0x9f,0x00,0x00, 0x76,0xee,0x02,0x00,0x9b,0x9f,0x00,0x00,0x80,0xee,0x02,0x00,0x9f,0x9f,0x00,0x00,0x8c,0xee,0x02,0x00, 0x00,0x00,0x00,0x00,0xba,0xee,0x02,0x00,0x0a,0x00,0x00,0x00,0x2a,0x4e,0x00,0x00,0x9b,0x4e,0x00,0x00, 0x9a,0x5b,0x00,0x00,0xf4,0x76,0x00,0x00,0x37,0x68,0x00,0x00,0x2c,0x82,0x00,0x00,0x77,0x8d,0x00,0x00, 0x0b,0x4e,0x00,0x00,0x07,0x52,0x00,0x00,0xe6,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x4e,0x00,0x00, 0x99,0x99,0x00,0x00,0xd0,0x67,0x00,0x00,0x81,0x5b,0x00,0x00,0xb6,0x5b,0x00,0x00,0x8c,0x4e,0xef,0x70, 0x00,0x00,0x57,0x5b,0xe4,0x88,0x00,0x00,0x01,0x4e,0x51,0x7f,0x00,0x00,0xf7,0x70,0x00,0x00,0x57,0x5b, 0xef,0x8d,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x6b,0x51,0x00,0x00,0x08,0x67,0x00,0x00,0x41,0x53, 0x00,0x00,0x15,0x59,0x00,0x00,0xe5,0x65,0x00,0x00,0x6b,0x51,0x41,0x53,0x00,0x00,0xec,0x65,0x00,0x00, 0x1f,0x66,0x00,0x00,0x69,0x5f,0x00,0x00,0x43,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x4e,0x00,0x00, 0xd1,0x79,0x00,0x00,0xbe,0x8f,0x00,0x00,0xfd,0x56,0x00,0x00,0x00,0x4e,0x00,0x00,0x69,0x72,0x00,0x00, 0x81,0x5c,0x00,0x00,0x8f,0x79,0x1f,0x75,0xd1,0x79,0x00,0x00,0xfd,0x80,0x00,0x00,0x06,0x52,0x00,0x00, 0x06,0x00,0x00,0x00,0x2b,0x59,0x00,0x00,0xcd,0x6b,0x18,0x5a,0x00,0x00,0xcf,0x91,0x00,0x00,0xba,0x4e, 0x00,0x00,0x8c,0x4e,0x8c,0x54,0x1a,0x5c,0x78,0x64,0x0d,0x4e,0x40,0x77,0x34,0x59,0x11,0x81,0x00,0x00, 0xcd,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x5b,0xa6,0x5e,0x00,0x00,0x1f,0x66,0x00,0x00,0x41,0x53, 0x00,0x00,0x06,0x52,0x4b,0x4e,0x00,0x4e,0x00,0x00,0x6c,0x51,0x00,0x00,0xe1,0x5c,0x00,0x00,0x9a,0x4e, 0x00,0x00,0x63,0x5b,0xa5,0x62,0x00,0x00,0x2d,0x4e,0x68,0x51,0x1a,0x4f,0x00,0x00,0xdb,0x56,0x00,0x00, 0x0a,0x00,0x00,0x00,0x02,0x5e,0x00,0x00,0x77,0x6d,0x00,0x00,0xa8,0x6d,0x00,0x00,0xf0,0x8f,0x00,0x00, 0x47,0x53,0x00,0x00,0x48,0x53,0x00,0x00,0x4a,0x53,0x74,0x5e,0x00,0x00,0x68,0x54,0x00,0x00,0x62,0x97, 0x00,0x00,0x74,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x96,0x00,0x00,0xcc,0x8d,0x00,0x00,0x48,0x53, 0x00,0x00,0xd1,0x6e,0x00,0x00,0x65,0x67,0x00,0x00,0x03,0x8c,0x00,0x00,0xbb,0x53,0x00,0x00,0x4a,0x53, 0x74,0x5e,0x00,0x00,0x4c,0x88,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x8f,0x00,0x00, 0x0c,0x54,0x00,0x00,0xad,0x65,0x00,0x00,0x11,0x5c,0x00,0x00,0xc5,0x4e,0x00,0x00,0x81,0x89,0x00,0x00, 0xb3,0x8d,0x00,0x00,0x7d,0x59,0x00,0x00,0x19,0x95,0x00,0x00,0x8d,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x64,0x6b,0x0c,0x54,0xf6,0x65,0x00,0x00,0x1a,0x4f,0x00,0x00,0x26,0x54,0x00,0x00,0x17,0x4f,0x0d,0x4e, 0x0c,0x54,0x00,0x00,0x1a,0x4f,0x05,0x80,0x00,0x00,0xf6,0x65,0xf1,0x4f,0xdb,0x8f,0x00,0x00,0x76,0x51, 0x00,0x00,0x76,0x51,0xf4,0x8b,0x00,0x00,0xe5,0x65,0xf1,0x4f,0x9e,0x58,0x00,0x00,0x1f,0x75,0xf1,0x4f, 0x65,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x2e,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x95,0x00,0x00, 0x4b,0x96,0x00,0x00,0x76,0x60,0x00,0x00,0x16,0x53,0x00,0x00,0x73,0x59,0x00,0x00,0x0f,0x5c,0x2d,0x9e, 0x00,0x00,0xd2,0x89,0x00,0x00,0x8b,0x4e,0x00,0x00,0x01,0x60,0x00,0x00,0x6b,0x51,0x2a,0x60,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0x1a,0x4e,0x00,0x00,0xe8,0x95,0x00,0x00,0x79,0x98,0x00,0x00, 0x29,0x52,0x00,0x00,0xe8,0x6c,0x00,0x00,0x28,0x75,0x00,0x00,0xbf,0x8b,0x00,0x00,0x98,0x98,0x00,0x00, 0x48,0x68,0xc4,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x4e,0xf4,0x8b,0x00,0x00,0x0d,0x4e,0xba,0x8b, 0x00,0x00,0x62,0x61,0x00,0x00,0x2b,0x67,0xbf,0x53,0x00,0x00,0x2b,0x67,0x00,0x00,0x2c,0x54,0x0b,0x4e, 0xde,0x56,0x06,0x52,0xe3,0x89,0x00,0x00,0xf4,0x8b,0x00,0x00,0x2b,0x67,0x57,0x90,0x40,0x57,0x00,0x00, 0x62,0x61,0x3e,0x6d,0x00,0x00,0x11,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x75,0x00,0x00,0xaa,0x7e, 0x00,0x00,0xf4,0x95,0x00,0x00,0x5a,0x53,0x1a,0x4f,0x00,0x00,0x38,0x8d,0x00,0x00,0x4c,0x75,0x6f,0x67, 0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x5c,0x00,0x00,0x5a,0x53,0x00,0x00,0xd7,0x4f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x75,0x96,0x00,0x00,0x09,0x54,0x14,0x5c,0x00,0x00,0x11,0x81,0x00,0x00,0x14,0x5c,0xd1,0x91, 0x00,0x00,0xb9,0x75,0x00,0x00,0xd4,0x6b,0x79,0x72,0x00,0x00,0x10,0x62,0x50,0x68,0x00,0x00,0x17,0x53, 0xbf,0x53,0x00,0x00,0x04,0x59,0x3a,0x67,0x00,0x00,0x17,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x9d,0x80, 0x00,0x00,0xef,0x70,0x00,0x00,0x7b,0x7c,0x37,0x62,0x00,0x00,0xef,0x70,0x70,0x91,0xfa,0x80,0x00,0x00, 0xef,0x70,0x78,0x91,0x00,0x00,0xf7,0x70,0x00,0x00,0x6e,0x91,0x00,0x00,0x8c,0x4e,0x87,0x91,0x00,0x00, 0x87,0x91,0x00,0x00,0x14,0x5c,0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x52,0x00,0x00,0xe9,0x7e, 0x00,0x00,0x85,0x51,0xba,0x4e,0xeb,0x58,0x00,0x00,0x85,0x51,0x00,0x00,0x3b,0x4e,0x00,0x00,0x4c,0x75, 0x00,0x00,0x01,0x60,0x00,0x00,0xa1,0x52,0x58,0x54,0x00,0x00,0x59,0x4f,0x00,0x00,0xa1,0x52,0xcf,0x91, 0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0x1f,0x75,0x00,0x00,0x66,0x4e,0x00,0x00,0x0a,0x52, 0x00,0x00,0x2d,0x4e,0x00,0x00,0x1b,0x4e,0x00,0x00,0xf0,0x53,0x3a,0x53,0x00,0x00,0xc6,0x96,0x00,0x00, 0x08,0x8c,0x00,0x00,0xf0,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x89,0x00,0x00,0xb9,0x65,0x00,0x00, 0xe8,0x90,0x00,0x00,0x17,0x53,0x00,0x00,0xac,0x4e,0x00,0x00,0xdf,0x76,0x00,0x00,0x9e,0x83,0x00,0x00, 0x57,0x53,0x9a,0x4e,0x00,0x00,0x9a,0x4e,0x00,0x00,0x77,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x6b, 0x00,0x00,0xf8,0x7e,0x4b,0x4e,0xef,0x8d,0x00,0x00,0xf8,0x7e,0x00,0x00,0x9c,0x88,0x00,0x00,0xdc,0x74, 0x00,0x00,0x1d,0x4e,0x00,0x00,0x54,0x58,0x99,0x82,0x00,0x00,0xfe,0x5d,0x00,0x00,0x26,0x5e,0x00,0x00, 0x1f,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0xf8,0x76,0x00,0x00,0x06,0x00,0x00,0x00,0x89,0x63,0x00,0x00, 0x31,0x59,0x00,0x00,0x1f,0x4e,0x00,0x00,0x03,0x5f,0x00,0x00,0xdb,0x8f,0x00,0x00,0x38,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0x31,0x59,0x00,0x00,0x03,0x5f,0x00,0x00,0x89,0x63,0x00,0x00,0xba,0x4e,0x00,0x00, 0x38,0x81,0x00,0x00,0x30,0x52,0x00,0x00,0x62,0x97,0x50,0x5b,0x00,0x00,0x09,0x4e,0x3d,0x84,0xdb,0x56, 0x00,0x00,0x05,0x53,0x00,0x00,0xba,0x4e,0xb0,0x73,0x3c,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80, 0x00,0x00,0x1a,0x4f,0x00,0x00,0x09,0x4e,0x00,0x00,0xb8,0x5c,0x00,0x00,0x30,0x57,0x00,0x00,0xa7,0x4f, 0x00,0x00,0x07,0x4e,0x00,0x00,0x43,0x53,0x00,0x00,0xb9,0x8f,0x00,0x00,0x7e,0x76,0x00,0x00,0x0a,0x00, 0x00,0x00,0xcd,0x91,0x00,0x00,0x3c,0x68,0x00,0x00,0x89,0x53,0x00,0x00,0xfb,0x5c,0x00,0x00,0x83,0x80, 0x00,0x00,0x81,0x79,0x00,0x00,0x28,0x8c,0x00,0x00,0xc6,0x5b,0x00,0x00,0xe9,0x60,0x00,0x00,0xe5,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x59,0x00,0x00,0x1f,0x75,0x00,0x00,0x7d,0x54,0x00,0x00,0x38,0x5c, 0x00,0x00,0x6c,0x84,0x00,0x00,0xc3,0x5f,0xc5,0x75,0xc2,0x72,0x00,0x00,0x8b,0x4e,0x00,0x00,0x6c,0x84, 0x39,0x8d,0x00,0x00,0x76,0x50,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0xa1,0x80,0x00,0x00,0x2b,0x52,0x00,0x00,0x53,0x4f,0x00,0x00,0x27,0x60,0x00,0x00,0x27,0x60,0x16,0x53, 0x00,0x00,0x0e,0x7a,0x00,0x00,0x48,0x68,0x00,0x00,0xba,0x4e,0x40,0x62,0x97,0x5f,0x0e,0x7a,0x00,0x00, 0x2a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x2b,0x4e,0x00,0x00,0x1f,0x9b,0x00,0x00, 0xaf,0x73,0x00,0x00,0xec,0x4e,0x00,0x00,0xfb,0x9a,0x00,0x00,0x34,0x59,0x47,0x72,0x50,0x5b,0x00,0x00, 0x50,0x5b,0x00,0x00,0x48,0x67,0x00,0x00,0x62,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x2e,0x59,0x00,0x00,0xcb,0x4e,0x00,0x00,0xb9,0x65,0x00,0x00,0x0f,0x5c,0x01,0x4f, 0x1a,0x4e,0x00,0x00,0xf4,0x95,0x00,0x00,0xe1,0x4f,0x00,0x00,0x3b,0x53,0x00,0x00,0x48,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcc,0x5b,0x00,0x00,0x30,0x75,0x00,0x00,0xf8,0x80,0x00,0x00,0x9a,0x53,0x00,0x00, 0x36,0x65,0x00,0x00,0xf0,0x53,0x00,0x00,0xe1,0x6e,0x00,0x00,0xf0,0x53,0x3a,0x53,0x00,0x00,0xdb,0x76, 0x00,0x00,0xcc,0x5b,0x1a,0x59,0x69,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x90,0x00,0x00,0x54,0x80, 0x00,0x00,0xe8,0x95,0x00,0x00,0x32,0x4e,0x00,0x00,0x0b,0x8c,0x00,0x00,0xe3,0x53,0x00,0x00,0x60,0x4e, 0x00,0x00,0x27,0x8d,0x00,0x00,0x07,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65, 0x00,0x00,0x8a,0x5e,0x00,0x00,0xd1,0x8f,0x00,0x00,0x4c,0x75,0xb9,0x70,0x00,0x00,0xc8,0x7e,0x00,0x00, 0xf6,0x65,0xe5,0x5d,0x00,0x00,0xf6,0x65,0x27,0x60,0x00,0x00,0xa2,0x5b,0x00,0x00,0x82,0x6c,0x00,0x00, 0x7b,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x42,0x52,0x00,0x00,0x8e,0x7f,0x00,0x00, 0x71,0x5c,0x00,0x00,0xa2,0x7e,0x00,0x00,0xa2,0x7e,0x2a,0x68,0x0f,0x5f,0x1a,0x4f,0x3e,0x79,0x00,0x00, 0x07,0x4e,0x00,0x00,0x4b,0x4e,0x85,0x51,0x00,0x00,0x6f,0x83,0x00,0x00,0x20,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x9e,0x00,0x00,0x33,0x96,0x00,0x00,0x39,0x4e,0x00,0x00,0x1c,0x4e,0x00,0x00,0x52,0x97, 0x00,0x00,0x3c,0x5c,0x14,0x5c,0x00,0x00,0xbd,0x7f,0x00,0x00,0x3c,0x5c,0xaf,0x65,0x00,0x00,0x5f,0x6c, 0xe3,0x53,0x00,0x00,0x30,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x86,0x4e,0x00,0x00,0xc0,0x4e,0x48,0x4e, 0x00,0x00,0x3b,0x4e,0x00,0x00,0x55,0x4f,0x00,0x00,0x62,0x6b,0x00,0x00,0x1f,0x67,0x00,0x00,0x31,0x75, 0x00,0x00,0x65,0x55,0x00,0x00,0x64,0x6b,0x00,0x00,0x96,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x89, 0x00,0x00,0xfb,0x4e,0x00,0x00,0x2d,0x5e,0x00,0x00,0xa8,0x52,0x00,0x00,0x98,0x98,0x00,0x00,0xa1,0x7b, 0x00,0x00,0x53,0x4f,0x00,0x00,0x43,0x67,0x00,0x00,0x9b,0x52,0x00,0x00,0xfc,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x5f,0x6c,0x00,0x00,0x0d,0x84,0x00,0x00,0x3d,0x4e,0x00,0x00,0x34,0x6c,0x00,0x00,0x4e,0x53, 0x00,0x00,0x3f,0x51,0x00,0x00,0x8e,0x83,0x00,0x00,0xe0,0x73,0x00,0x00,0x34,0x6c,0x02,0x5e,0x00,0x00, 0x5f,0x6c,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x9e,0x52,0x00,0x00,0xa5,0x62, 0x00,0x00,0xaa,0x63,0x00,0x00,0xa8,0x52,0x00,0x00,0x8b,0x4f,0x00,0x00,0xc1,0x8b,0x00,0x00,0xa5,0x62, 0xba,0x4e,0x00,0x00,0x3a,0x50,0x00,0x00,0x77,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x81,0x00,0x00, 0x2f,0x66,0x00,0x00,0xec,0x4e,0x00,0x00,0x14,0x5c,0x00,0x00,0x1c,0x4e,0xbf,0x53,0x00,0x00,0x1c,0x4e, 0x00,0x00,0x06,0x58,0xc9,0x62,0x00,0x00,0x06,0x58,0xc9,0x62,0x71,0x5c,0xe3,0x53,0x00,0x00,0x37,0x68, 0x00,0x00,0xf3,0x81,0x8e,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x80,0x45,0x4e,0x4b,0x4e,0x00,0x00, 0x45,0x4e,0x00,0x00,0xdc,0x8f,0x00,0x00,0xdd,0x8f,0x00,0x00,0x1f,0x67,0x00,0x00,0xd6,0x62,0x0d,0x4e, 0xb3,0x51,0x00,0x00,0xbb,0x6c,0x0d,0x4e,0x08,0x61,0x00,0x00,0xb3,0x54,0x00,0x00,0x1f,0x8d,0xdb,0x76, 0x0d,0x54,0x00,0x00,0x50,0x57,0x0d,0x4e,0xa8,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x48,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x52,0x00,0x00,0xe5,0x5d,0x00,0x00,0xa1,0x52,0x59,0x65, 0xb2,0x80,0x00,0x00,0x4c,0x4e,0x00,0x00,0x06,0x74,0x00,0x00,0x56,0x53,0x00,0x00,0x4c,0x4e,0x02,0x5e, 0x00,0x00,0xe0,0x65,0xcd,0x53,0x7e,0x98,0x00,0x00,0xca,0x8b,0x00,0x00,0x0d,0x4e,0xb9,0x5b,0x9e,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x54,0x00,0x00,0x4d,0x52,0x00,0x00,0xf4,0x95,0x00,0x00,0x00,0x4e, 0x00,0x00,0x16,0x59,0x00,0x00,0x2d,0x4e,0x00,0x00,0x40,0x62,0xe5,0x4e,0x00,0x00,0x0b,0x4e,0x00,0x00, 0x7b,0x7c,0x00,0x00,0x85,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x51,0x70,0x51,0x00,0x00,0x81,0x9c, 0x28,0x67,0x50,0x9f,0x00,0x00,0x99,0x9f,0x00,0x00,0x9f,0x9f,0x00,0x00,0x26,0x9e,0x00,0x00,0x72,0x5e, 0xbe,0x8f,0x00,0x00,0x99,0x9f,0x07,0x63,0x00,0x00,0x81,0x9c,0x28,0x67,0x50,0x9f,0x02,0x5e,0x00,0x00, 0x91,0x4e,0x00,0x00,0x28,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x97,0x5f,0x00,0x00,0x96,0x66,0xd8,0x8f, 0xd2,0x5b,0x00,0x00,0xb0,0x73,0x00,0x00,0x66,0x6d,0x00,0x00,0x97,0x5f,0x56,0x6e,0x00,0x00,0x66,0x6d, 0x2f,0x6e,0x00,0x00,0x66,0x6d,0x47,0x95,0x00,0x00,0x0b,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0x2b,0x59, 0x7c,0x69,0x00,0x00,0x08,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x73,0x54,0x00,0x00,0x84,0x55,0xef,0x53, 0x48,0x96,0x00,0x00,0xc3,0x71,0x99,0x65,0x00,0x00,0xc3,0x71,0x99,0x65,0xd2,0x68,0x00,0x00,0x7d,0x6c, 0x00,0x00,0xba,0x4e,0x67,0x71,0x7e,0x98,0x00,0x00,0x0f,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x89, 0x00,0x00,0x1f,0x96,0x00,0x00,0xa3,0x8d,0x00,0x00,0xc6,0x89,0x51,0x7f,0x00,0x00,0xed,0x56,0x00,0x00, 0xc6,0x89,0x00,0x00,0x0f,0x61,0x00,0x00,0x29,0x59,0x00,0x00,0x09,0x56,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x53,0x4e,0x03,0x74,0x00,0x00,0x53,0x4e,0x00,0x00,0x53,0x4e,0x03,0x74,0x1f,0x96, 0x00,0x00,0xbd,0x7f,0x00,0x00,0x53,0x4e,0x03,0x74,0xf0,0x53,0x00,0x00,0x54,0x80,0x00,0x00,0x53,0x4e, 0x03,0x74,0x4c,0x68,0x00,0x00,0x53,0x4e,0x03,0x74,0x5b,0x8d,0x00,0x00,0x53,0x4e,0x03,0x74,0xcd,0x62, 0x00,0x00,0x5b,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x53,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x5e, 0xaf,0x65,0x00,0x00,0xbb,0x6c,0x00,0x00,0xb3,0x7e,0xee,0x68,0x00,0x00,0x28,0x67,0x00,0x00,0x39,0x4e, 0x00,0x00,0x0a,0x4f,0x00,0x00,0x0a,0x4f,0xaf,0x65,0x00,0x00,0xc1,0x8f,0x00,0x00,0xbb,0x6c,0x9a,0x4e, 0xde,0x5d,0x00,0x00,0xbb,0x6c,0x66,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x56,0x4e,0x00,0x00,0xe7,0x5d, 0x00,0x00,0x20,0x5f,0x00,0x00,0x3e,0x62,0x00,0x00,0xfb,0x50,0x00,0x00,0x7a,0x98,0x00,0x00,0xdd,0x8f, 0x00,0x00,0x1b,0x82,0x00,0x00,0x2c,0x8c,0x00,0x00,0xd4,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x5b, 0x00,0x00,0x50,0x57,0x00,0x00,0x66,0x8f,0x00,0x00,0x28,0x75,0x66,0x8f,0x00,0x00,0xc9,0x51,0x00,0x00, 0xa1,0x52,0x58,0x54,0x00,0x00,0x3a,0x67,0x00,0x00,0x58,0x54,0x00,0x00,0xd5,0x6c,0x00,0x00,0x39,0x82, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9d,0x80,0x00,0x00,0x87,0x91,0x00,0x00,0xef,0x70,0x00,0x00,0xb9,0x65, 0x00,0x00,0x78,0x91,0x00,0x00,0x9b,0x91,0x00,0x00,0x7b,0x7c,0x00,0x00,0x8c,0x4e,0x87,0x91,0x00,0x00, 0x8b,0x57,0x9d,0x80,0x8e,0x70,0x00,0x00,0xfa,0x57,0x00,0x00,0x06,0x00,0x00,0x00,0x22,0x56,0x00,0x00, 0xfd,0x90,0x00,0x00,0x9c,0x65,0x00,0x00,0xce,0x91,0x00,0x00,0x5c,0x4e,0x00,0x00,0x3c,0x9b,0x00,0x00, 0x0a,0x00,0x00,0x00,0xce,0x57,0x00,0x00,0x08,0x67,0x00,0x00,0x41,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00, 0x99,0x9f,0x00,0x00,0xde,0x5d,0x00,0x00,0xe8,0x5b,0x9f,0x6c,0x00,0x00,0x0e,0x9f,0x00,0x00,0x10,0x62, 0x00,0x00,0x99,0x9f,0x71,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x8b,0x00,0x00,0x10,0x4e,0x00,0x00, 0xdf,0x98,0x00,0x00,0x42,0x6c,0x00,0x00,0xa8,0x8b,0x05,0x80,0x00,0x00,0x3f,0x51,0x00,0x00,0xe7,0x5d, 0x00,0x00,0x9b,0x52,0x6c,0x9a,0x4e,0x62,0x57,0x7f,0x71,0x5c,0x00,0x00,0x75,0x70,0x00,0x00,0x1c,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb8,0x8b,0x00,0x00,0x31,0x5c,0x2f,0x66,0xf4,0x8b,0x00,0x00,0x7d,0x59, 0x00,0x00,0xe8,0x95,0x00,0x00,0x62,0x7f,0x00,0x00,0x31,0x5c,0x2f,0x66,0x00,0x00,0x7d,0x59,0x0f,0x61, 0x1d,0x60,0x00,0x00,0xe8,0x95,0x71,0x51,0x8c,0x54,0xfd,0x56,0x00,0x00,0x0d,0x4e,0x8b,0x4f,0x16,0x59, 0x00,0x00,0x4c,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x60,0x00,0x00,0xd1,0x8f,0x73,0x5e,0x00,0x00, 0xd7,0x4f,0x00,0x00,0xef,0x60,0x27,0x60,0x00,0x00,0x14,0x6c,0x00,0x00,0x27,0x60,0x00,0x00,0xe5,0x4e, 0x3a,0x4e,0x38,0x5e,0x00,0x00,0x52,0x91,0x00,0x00,0x98,0x98,0x00,0x00,0x66,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x47,0x95,0x00,0x00,0x51,0x67,0x00,0x00,0xb2,0x4e,0x00,0x00,0x3f,0x65,0x9c,0x5e,0x00,0x00, 0x0b,0x4e,0x00,0x00,0xcc,0x91,0x00,0x00,0x7f,0x95,0x00,0x00,0x1f,0x57,0x00,0x00,0xf4,0x95,0x00,0x00, 0x5a,0x51,0xd4,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x8b,0x00,0x00,0x62,0x97,0x00,0x00,0x97,0x5e, 0x00,0x00,0x4d,0x7c,0x00,0x00,0x3b,0x75,0x00,0x00,0xd5,0x6c,0x00,0x00,0x99,0x51,0x00,0x00,0x62,0x96, 0x00,0x00,0x05,0x53,0x00,0x00,0xe1,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0xe5,0x7a,0x00,0x00,0x0a,0x00, 0x00,0x00,0x65,0x51,0x00,0x00,0x56,0x53,0x00,0x00,0xb6,0x5b,0x00,0x00,0x3f,0x62,0x00,0x00,0xb9,0x65, 0x00,0x00,0xdb,0x8f,0x00,0x00,0x0d,0x4e,0x77,0x8d,0x00,0x00,0xd8,0x76,0x00,0x00,0x3f,0x62,0xba,0x4e, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x8c,0x00,0x00,0x03,0x4e,0x6b,0x51,0xdf,0x7c, 0x00,0x00,0x40,0x5c,0x00,0x00,0x16,0x4e,0x00,0x00,0xa8,0x52,0x00,0x00,0x65,0x67,0x00,0x00,0xdf,0x7c, 0xdf,0x7c,0x00,0x00,0xd1,0x8d,0x00,0x00,0x01,0x78,0x00,0x00,0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3f,0x62,0x00,0x00,0x1a,0x4e,0x00,0x00,0x36,0x52,0xc1,0x54,0x00,0x00,0x7a,0x81,0x4c,0x76,0x00,0x00, 0x89,0x7c,0x00,0x00,0xc1,0x54,0x00,0x00,0x7a,0x81,0x00,0x00,0xb2,0x6d,0x00,0x00,0x01,0x4f,0x00,0x00, 0x34,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x86,0x96,0x00,0x00, 0x64,0x57,0x00,0x00,0x86,0x96,0x1d,0x5e,0x00,0x00,0xbf,0x53,0x00,0x00,0x75,0x96,0x00,0x00,0x89,0x5b, 0xbf,0x53,0x00,0x00,0x7e,0x4e,0x00,0x00,0x53,0x90,0x00,0x00,0x89,0x5b,0x00,0x00,0x1a,0x90,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe3,0x89,0x00,0x00,0x0d,0x4e,0x77,0x8d,0x00,0x00,0xd3,0x7e,0x00,0x00,0x8b,0x4e, 0x00,0x00,0x82,0x59,0x07,0x63,0x8c,0x63,0x00,0x00,0x86,0x4e,0x00,0x00,0x97,0x5f,0x00,0x00,0x36,0x71, 0x00,0x00,0xad,0x65,0x00,0x00,0x74,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xe5,0x4e,0x00,0x00,0xd6,0x53, 0x88,0x4e,0x42,0x6c,0x00,0x00,0xd6,0x53,0x88,0x4e,0x3a,0x59,0x00,0x00,0xba,0x4e,0xe3,0x53,0x9e,0x5b, 0x00,0x00,0xe5,0x4e,0x67,0x71,0x7e,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x8b,0x00,0x00,0xd6,0x53, 0x00,0x00,0xef,0x7a,0x00,0x00,0x3a,0x59,0x00,0x00,0xba,0x8b,0x00,0x00,0x67,0x62,0x00,0x00,0x35,0x54, 0x00,0x00,0xf8,0x76,0x00,0x00,0x3a,0x59,0x18,0x62,0x00,0x00,0x97,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf6,0x4e,0x00,0x00,0x45,0x65,0x00,0x00,0xc5,0x60,0x00,0x00,0x9e,0x5b,0x00,0x00,0x9e,0x5b,0x0a,0x4e, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x79,0x98,0x00,0x00,0xd1,0x53,0x00,0x00,0xa1,0x52,0x00,0x00,0xa1,0x52, 0x40,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xa7,0x7e,0x00,0x00,0x63,0x5b,0xa6,0x5e,0x00,0x00,0x41,0x53, 0x00,0x00,0x4b,0x62,0x3f,0x62,0x00,0x00,0x4b,0x62,0x00,0x00,0x05,0x80,0x00,0x00,0x18,0x62,0x00,0x00, 0x1f,0x67,0x00,0x00,0xbf,0x7e,0x00,0x00,0x27,0x6c,0x16,0x53,0xb3,0x78,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2f,0x66,0x00,0x00,0x2f,0x66,0x4e,0x4e,0x00,0x00,0xf3,0x53,0xfb,0x4e,0x00,0x00,0x8b,0x4e,0xe0,0x65, 0x65,0x88,0x00,0x00,0x2a,0x6d,0x00,0x00,0x79,0x72,0x9b,0x5c,0x00,0x00,0x2a,0x6d,0x3a,0x53,0x00,0x00, 0xc3,0x5f,0x0d,0x4e,0xcd,0x5f,0x00,0x00,0x30,0x75,0xbf,0x53,0x00,0x00,0xb6,0x5b,0x21,0x58,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5f,0x63,0x00,0x00,0x2c,0x67,0x00,0x00,0x5f,0x63,0x9d,0x98,0x00,0x00,0x5f,0x63, 0x62,0x97,0x00,0x00,0x7a,0x7a,0x00,0x00,0x20,0x6b,0x00,0x00,0x5a,0x86,0x00,0x00,0x89,0x63,0x00,0x00, 0x5f,0x63,0x87,0x73,0x00,0x00,0x85,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x53,0x00,0x00,0xa1,0x8b, 0x97,0x7b,0x00,0x00,0x57,0x53,0x01,0x77,0x00,0x00,0xc6,0x96,0x00,0x00,0xef,0x7a,0x00,0x00,0xf0,0x5c, 0x00,0x00,0x91,0x4e,0x00,0x00,0x99,0x9f,0x00,0x00,0x58,0x5b,0xa8,0x50,0x00,0x00,0x42,0x5c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x54,0x80,0x51,0x7f,0x00,0x00,0xa8,0x52,0x00,0x00,0xf8,0x76,0x00,0x00,0x54,0x80, 0x00,0x00,0x65,0x88,0x00,0x00,0x29,0x52,0x00,0x00,0x1a,0x90,0x00,0x00,0xe1,0x4f,0x00,0x00,0x62,0x63, 0x00,0x00,0xa9,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x7c,0xb2,0x6d,0x00,0x00,0x00,0x4e,0x00,0x00, 0x08,0x67,0x00,0x00,0x41,0x53,0x00,0x00,0x6d,0x51,0x00,0x00,0xd2,0x89,0x27,0x59,0x7c,0x69,0x00,0x00, 0x7e,0x76,0x00,0x00,0x1f,0x66,0xa7,0x7e,0x00,0x00,0x43,0x53,0x00,0x00,0xb1,0x82,0x6b,0x51,0xe8,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x55,0x00,0x00,0xd6,0x76,0x00,0x00,0xe3,0x53,0x00,0x00,0x88,0x51, 0x71,0x5c,0x00,0x00,0x34,0x6c,0x00,0x00,0xb7,0x55,0x0f,0x5f,0x00,0x00,0x0a,0x4e,0x00,0x00,0x36,0x71, 0x09,0x67,0x8f,0x5e,0x00,0x00,0x95,0x5e,0x00,0x00,0x95,0x4e,0x09,0x67,0x61,0x67,0x00,0x00,0x04,0x00, 0x00,0x00,0xe4,0x53,0x0d,0x4e,0xd8,0x53,0x00,0x00,0xe4,0x53,0x00,0x00,0xe4,0x53,0x2a,0x67,0x09,0x67, 0x00,0x00,0xe4,0x53,0x1a,0x90,0xca,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0x6c,0x9a, 0x0a,0x90,0x00,0x00,0x2a,0x59,0x00,0x00,0x86,0x53,0x71,0x5c,0x27,0x59,0x00,0x00,0x5d,0x78,0x78,0x91, 0xd0,0x76,0x00,0x00,0x2a,0x59,0x3a,0x53,0x00,0x00,0x9b,0x51,0x00,0x00,0x53,0x5f,0x00,0x00,0xd4,0x88, 0x00,0x00,0xd0,0x8f,0x1a,0x4f,0x00,0x00,0x05,0x00,0x00,0x00,0xb8,0x8b,0x00,0x00,0xae,0x5f,0x00,0x00, 0x50,0x5b,0x00,0x00,0x7b,0x98,0x00,0x00,0x2a,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x85,0x5f,0x00,0x00, 0x85,0x5f,0xe3,0x89,0xb3,0x51,0x00,0x00,0x00,0x97,0x00,0x00,0x7b,0x98,0x00,0x00,0xfc,0x76,0x00,0x00, 0x9f,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0x75,0x70,0x00,0x00,0x8a,0x7f,0x65,0x88, 0x62,0x72,0x00,0x00,0xfd,0x56,0x00,0x00,0x7d,0x54,0x00,0x00,0x45,0x65,0x00,0x00,0x42,0x9b,0x00,0x00, 0xbb,0x59,0x00,0x00,0x36,0x72,0x00,0x00,0x2b,0x59,0x00,0x00,0x05,0x00,0x00,0x00,0x4b,0x59,0x00,0x00, 0xdb,0x8f,0x00,0x00,0xdb,0x8f,0xc7,0x75,0x00,0x00,0xf1,0x65,0x00,0x00,0xf4,0x76,0x00,0x00,0x0a,0x00, 0x00,0x00,0x13,0x66,0x00,0x00,0x1a,0x90,0x00,0x00,0x41,0x6d,0x00,0x00,0x13,0x66,0x40,0x62,0x00,0x00, 0x13,0x66,0xe5,0x65,0x00,0x00,0x66,0x8b,0x00,0x00,0x62,0x63,0x00,0x00,0xd9,0x7e,0x00,0x00,0x80,0x5f, 0x00,0x00,0xd8,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0x2a,0x73,0x00,0x00,0x0a,0x00, 0x00,0x00,0x84,0x5e,0x00,0x00,0x36,0x71,0x00,0x00,0x65,0x6b,0xa6,0x4e,0x8b,0x8d,0x00,0x00,0xef,0x53, 0x00,0x00,0x84,0x5e,0xa6,0x4e,0x10,0x8c,0x00,0x00,0x9c,0x55,0xa6,0x4e,0xe7,0x5f,0x00,0x00,0xcb,0x79, 0x00,0x00,0xf0,0x79,0x00,0x00,0x14,0x4e,0x00,0x00,0x73,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x54, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x1f,0x75,0x00,0x00,0xfd,0x80,0x00,0x00,0x43,0x67,0x00,0x00,0xcf,0x91, 0x00,0x00,0x1a,0x4e,0xfe,0x94,0x00,0x00,0x1a,0x4e,0x16,0x53,0x00,0x00,0xfa,0x51,0x00,0x00,0x3c,0x50, 0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0x1a,0x90,0x00,0x00,0x79,0x72,0x00,0x00,0xb7,0x5f, 0x14,0x5c,0x00,0x00,0x29,0x52,0x94,0x4e,0x16,0x4e,0x00,0x00,0x1a,0x90,0xc6,0x96,0xe2,0x56,0x09,0x67, 0x50,0x96,0x6c,0x51,0xf8,0x53,0x00,0x00,0x3c,0x68,0x1b,0x6d,0x00,0x00,0x79,0x72,0xf0,0x6c,0x57,0x7f, 0x00,0x00,0x90,0x6e,0xb8,0x7e,0x00,0x00,0x5a,0x79,0x00,0x00,0x03,0x00,0x00,0x00,0xa7,0x4e,0x00,0x00, 0xa7,0x4e,0xcf,0x91,0x00,0x00,0x47,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xd7,0x53,0x00,0x00,0x09,0x67, 0x00,0x00,0x28,0x75,0x00,0x00,0x74,0x5e,0x00,0x00,0x89,0x8a,0x00,0x00,0x50,0x4e,0x00,0x00,0x8f,0x79, 0x00,0x00,0x50,0x4e,0x3b,0x4e,0x49,0x4e,0x00,0x00,0x09,0x67,0xdb,0x76,0x89,0x8a,0x00,0x00,0x3d,0x5c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x4e,0x00,0x00,0x4e,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0xfd,0x90, 0x00,0x00,0x67,0x52,0x00,0x00,0xaa,0x6c,0xd8,0x9a,0xc1,0x94,0x00,0x00,0xa4,0x4e,0x1a,0x4f,0x00,0x00, 0xa2,0x5b,0x86,0x96,0x00,0x00,0x95,0x62,0x00,0x00,0xca,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0xad,0x4e,0x00,0x00,0xad,0x4e,0x89,0x73,0xcb,0x7a,0x00,0x00,0xf0,0x53,0x7c,0x69,0x01,0x96, 0x00,0x00,0xf0,0x53,0x00,0x00,0x56,0x6e,0x3a,0x53,0x00,0x00,0x56,0x6e,0x00,0x00,0x50,0x5b,0xf4,0x95, 0x00,0x00,0x01,0x96,0x00,0x00,0x4d,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0xf8,0x76, 0x00,0x00,0x3d,0x4e,0x00,0x00,0xa6,0x5e,0x00,0x00,0x3c,0x77,0x00,0x00,0xae,0x4e,0x00,0x00,0x49,0x51, 0x00,0x00,0x72,0x82,0x00,0x00,0x51,0x52,0x00,0x00,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xea,0x81, 0x00,0x00,0x5e,0x5c,0x00,0x00,0x1a,0x62,0x00,0x00,0xba,0x4e,0x00,0x00,0xc6,0x5b,0x00,0x00,0xcb,0x53, 0x00,0x00,0xab,0x8e,0x00,0x00,0x07,0x52,0x00,0x00,0x31,0x72,0x00,0x00,0xd1,0x8f,0x00,0x00,0x04,0x00, 0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xbf,0x53,0x00,0x00,0xde,0x5d,0xce,0x57, 0x00,0x00,0x06,0x00,0x00,0x00,0x0e,0x6e,0x00,0x00,0x62,0x61,0x00,0x00,0x0e,0x6e,0x5e,0x79,0x0e,0x66, 0x00,0x00,0x0e,0x6e,0x84,0x76,0xdd,0x8b,0x00,0x00,0xe9,0x9e,0x00,0x00,0x35,0x66,0x00,0x00,0x02,0x00, 0x00,0x00,0xb9,0x4e,0x00,0x00,0xb9,0x4e,0x0d,0x4e,0x26,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54, 0x00,0x00,0xeb,0x58,0x00,0x00,0x11,0x6c,0x01,0x5e,0x00,0x00,0x11,0x6c,0x00,0x00,0xec,0x4e,0x00,0x00, 0xe3,0x53,0x00,0x00,0x70,0x65,0x00,0x00,0x7b,0x7c,0x00,0x00,0x53,0x4f,0x00,0x00,0x4d,0x62,0x00,0x00, 0x0a,0x00,0x00,0x00,0x07,0x4e,0x00,0x00,0x07,0x4e,0xcc,0x5b,0x6a,0x8c,0x00,0x00,0xa6,0x90,0x00,0x00, 0x29,0x52,0x00,0x00,0x70,0x4f,0x00,0x00,0x9b,0x73,0x00,0x00,0x33,0x96,0x00,0x00,0x29,0x52,0xbe,0x8f, 0x00,0x00,0x16,0x97,0x00,0x00,0xa7,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x4e,0x00,0x00,0x48,0x4e, 0x37,0x68,0x00,0x00,0x48,0x4e,0x84,0x76,0x00,0x00,0xf6,0x53,0x3e,0x6d,0x00,0x00,0x48,0x4e,0xf6,0x65, 0x19,0x50,0x00,0x00,0xa1,0x90,0x00,0x00,0x39,0x52,0x77,0x6d,0x00,0x00,0xa1,0x90,0x02,0x5e,0x00,0x00, 0x26,0x95,0x00,0x00,0x6c,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x6c,0x07,0x52,0x00,0x00,0x31,0x72, 0x00,0x00,0x8c,0x54,0x00,0x00,0xdd,0x5d,0x00,0x00,0x48,0x61,0x00,0x00,0x00,0x60,0x02,0x5e,0x00,0x00, 0x00,0x60,0x00,0x00,0x49,0x4e,0x00,0x00,0x44,0x51,0x00,0x00,0x52,0x60,0x00,0x00,0x01,0x00,0x00,0x00, 0xed,0x8b,0x00,0x00,0x02,0x00,0x00,0x00,0xf0,0x58,0x00,0x00,0x84,0x5f,0x00,0x00,0x09,0x00,0x00,0x00, 0xc5,0x4e,0x00,0x00,0x21,0x6b,0x8e,0x4e,0x00,0x00,0x64,0x6b,0x0c,0x80,0xf2,0x5d,0x00,0x00,0x5c,0x4f, 0xc2,0x53,0x03,0x80,0x00,0x00,0xc5,0x4e,0xea,0x53,0x00,0x00,0xea,0x53,0x00,0x00,0x9b,0x4f,0x00,0x00, 0x9b,0x4f,0xc2,0x53,0x03,0x80,0x00,0x00,0xc1,0x89,0x00,0x00,0x06,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0xce,0x4e,0x00,0x00,0x79,0x5f,0x00,0x00,0x57,0x88,0x00,0x00,0x87,0x59,0x00,0x00,0xc6,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x68,0x60,0x00,0x00,0xba,0x4e,0x00,0x00,0xc6,0x89,0x00,0x00,0x4c,0x65,0x00,0x00, 0xcc,0x5b,0x00,0x00,0x40,0x67,0x00,0x00,0xb6,0x5b,0x00,0x00,0x28,0x60,0x00,0x00,0x05,0x80,0x00,0x00, 0x16,0x59,0xc3,0x5f,0x06,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0x00,0x00,0x29,0x59,0x00,0x00, 0xe5,0x65,0x00,0x00,0x0e,0x54,0x00,0x00,0x5a,0x66,0x00,0x00,0x74,0x5e,0x1d,0x52,0x00,0x00,0x1f,0x75, 0x00,0x00,0x68,0x66,0x00,0x00,0x74,0x5e,0x95,0x5e,0x00,0x00,0xa6,0x9e,0xce,0x90,0x00,0x00,0x0a,0x00, 0x00,0x00,0xcd,0x7e,0x00,0x00,0x65,0x51,0x00,0x00,0x0f,0x61,0x00,0x00,0x8e,0x4e,0x00,0x00,0x28,0x8d, 0x00,0x00,0x4e,0x4e,0x00,0x00,0xcd,0x7e,0xe1,0x4f,0x00,0x00,0xcd,0x7e,0x39,0x8d,0x00,0x00,0xcd,0x7e, 0x40,0x62,0x00,0x00,0xcd,0x7e,0xba,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0xe7,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x80,0x00,0x00,0x8b,0x4e,0x00,0x00,0x65,0x67,0x00,0x00,0x2a,0x67, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x2d,0x4e,0x00,0x00,0x64,0x6b,0x00,0x00,0x0f,0x5c,0x00,0x00,0x0d,0x4e, 0x00,0x00,0x25,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0xcc,0x80,0x00,0x00,0xcc,0x80,0x61,0x4e,0x00,0x00, 0x09,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0x93,0x5e,0x00,0x00,0xa8,0x50,0x00,0x00, 0xc3,0x4f,0x00,0x00,0x20,0x9f,0x00,0x00,0x55,0x53,0x00,0x00,0x87,0x76,0x00,0x00,0xa8,0x50,0x1a,0x4e, 0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x7e,0x00,0x00, 0x2a,0x73,0x00,0x00,0xd4,0x4e,0x00,0x00,0xd4,0x4e,0xc6,0x7e,0xc6,0x7e,0x00,0x00,0x21,0x9e,0x00,0x00, 0x7c,0x9c,0x00,0x00,0xe4,0x88,0x00,0x00,0x5c,0x75,0x00,0x00,0x9b,0x5c,0x00,0x00,0x73,0x59,0x00,0x00, 0x08,0x00,0x00,0x00,0x14,0x90,0x00,0x00,0x73,0x59,0x00,0x00,0xa6,0x5b,0x00,0x00,0xdb,0x8f,0x00,0x00, 0x47,0x59,0x00,0x00,0x73,0x59,0xfe,0x56,0x00,0x00,0xcf,0x65,0x00,0x00,0x8c,0x54,0xc6,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x88,0x59,0x00,0x00, 0xfd,0x56,0x00,0x00,0x40,0x67,0x00,0x00,0x88,0x59,0x84,0x76,0x00,0x00,0x28,0x75,0x00,0x00,0x61,0x4e, 0x00,0x00,0xe9,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x4e,0x00,0x00,0x49,0x4e,0x67,0x62,0x00,0x8a, 0x00,0x00,0xbf,0x52,0x3a,0x6b,0xba,0x4e,0x00,0x00,0x49,0x4e,0x8f,0x75,0x22,0x8d,0x00,0x00,0x43,0x60, 0x00,0x00,0x57,0x84,0x00,0x00,0xc6,0x80,0x00,0x00,0x6b,0x70,0x00,0x00,0xbf,0x52,0x00,0x00,0x70,0x81, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x39,0x8d,0x00,0x00,0x3e,0x6b,0x00,0x00,0x6f,0x60, 0x00,0x00,0x05,0x6e,0x00,0x00,0xd9,0x7e,0x00,0x00,0xf8,0x8b,0x9e,0x5b,0xbd,0x65,0x00,0x00,0xf8,0x8b, 0x00,0x00,0x26,0x8d,0x00,0x00,0xf8,0x8b,0x9e,0x5b,0xf5,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e, 0x03,0x74,0x00,0x00,0x73,0x59,0x00,0x00,0xba,0x4e,0x00,0x00,0xba,0x4e,0x8c,0x63,0x00,0x00,0x83,0x58, 0x00,0x00,0x43,0x68,0x00,0x00,0x97,0x67,0x00,0x00,0x1e,0x97,0x00,0x00,0xa0,0x4f,0x00,0x00,0x51,0x52, 0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x97,0x00,0x00,0x03,0x00,0x00,0x00,0x09,0x54,0x00,0x00,0x94,0x60, 0x00,0x00,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x6c,0x4f,0xcf,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0x68,0x88,0x00,0x00,0x06,0x74,0x00,0x00,0x01,0x78,0x00,0x00,0xf7,0x4e,0x00,0x00,0x68,0x88,0xe2,0x56, 0x00,0x00,0xff,0x66,0x00,0x00,0x22,0x8c,0x00,0x00,0x06,0x74,0x46,0x55,0x00,0x00,0x2d,0x8d,0x00,0x00, 0x68,0x88,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0xba,0x4e,0xc5,0x62,0xe7,0x5f, 0x00,0x00,0xba,0x4e,0xe1,0x6e,0x0f,0x61,0x00,0x00,0xba,0x4e,0xe1,0x4f,0x0d,0x67,0x00,0x00,0xba,0x4e, 0xd1,0x53,0x07,0x63,0x00,0x00,0xba,0x4e,0xa9,0x77,0xee,0x76,0x00,0x00,0xba,0x4e,0x13,0x9f,0x1e,0x82, 0x00,0x00,0xba,0x4e,0x2f,0x63,0x4b,0x59,0x00,0x00,0xba,0x4e,0x0d,0x4e,0x89,0x5b,0x00,0x00,0xba,0x4e, 0x0d,0x4e,0xe3,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x53,0x00,0x00,0x65,0x67,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x0e,0x54,0x00,0x00,0x0b,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0x3a,0x4e,0x00,0x00,0x72,0x82, 0x17,0x52,0x00,0x00,0x80,0x5f,0x00,0x00,0x16,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0x08,0x67,0x00,0x00, 0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x5f,0x00,0x00,0x68,0x56,0x00,0x00,0x68,0x88,0x00,0x00, 0x68,0x8f,0x00,0x00,0xd7,0x4e,0x1f,0x96,0x00,0x00,0x81,0x5f,0x00,0x00,0x68,0x88,0xd8,0x76,0x00,0x00, 0x35,0x75,0x00,0x00,0x16,0x53,0x00,0x00,0x01,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x4f,0xcf,0x65, 0x00,0x00,0x6c,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x1b,0x67,0x00,0x00,0x67,0x53,0x00,0x00,0x49,0x51, 0x00,0x00,0x67,0x53,0x77,0x8d,0x50,0x57,0x00,0x00,0x55,0x61,0x00,0x00,0xd7,0x4e,0x00,0x00,0xc6,0x89, 0x00,0x00,0x62,0x97,0x00,0x00,0x56,0x8d,0x00,0x00,0x29,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x88, 0x00,0x00,0x87,0x65,0x00,0x00,0x7a,0x60,0x00,0x00,0xc1,0x88,0xad,0x5e,0x00,0x00,0xc1,0x88,0xd4,0x59, 0x00,0x00,0x0f,0x59,0x00,0x00,0xc1,0x88,0x58,0x54,0x00,0x00,0xcb,0x79,0x00,0x00,0xc1,0x88,0x48,0x68, 0x00,0x00,0xc1,0x88,0xd5,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0x5c,0x4f,0x00,0x00,0xe5,0x5d,0x00,0x00, 0x04,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0x70,0x65,0x00,0x00,0x21,0x6b,0x00,0x00,0x6b,0x88,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3c,0x68,0x00,0x00,0x3c,0x50,0x00,0x00,0x3c,0x68,0x18,0x62,0x00,0x00,0x4d,0x4f, 0x00,0x00,0x3c,0x50,0xc2,0x89,0x00,0x00,0xb1,0x94,0x00,0x00,0xee,0x5d,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x3c,0x50,0xfe,0x94,0x00,0x00,0x39,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x4f,0x00,0x00,0xa1,0x52, 0x00,0x00,0x7d,0x54,0x00,0x00,0x4c,0x80,0x00,0x00,0x1f,0x67,0x00,0x00,0x0f,0x61,0x00,0x00,0x55,0x4f, 0xba,0x4e,0x00,0x00,0x59,0x65,0x00,0x00,0x28,0x75,0x00,0x00,0x4d,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9d,0x98,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0xcf,0x91,0x00,0x00,0x9d,0x98,0x16,0x53, 0x00,0x00,0x70,0x65,0x00,0x00,0xe5,0x5d,0x00,0x00,0x16,0x59,0x00,0x00,0x50,0x5b,0xb1,0x94,0x00,0x00, 0x10,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x5b,0x4f,0x00,0x00,0x36,0x52,0x00,0x00,0x1f,0x77,0x00,0x00, 0x92,0x51,0x00,0x00,0xe4,0x53,0x00,0x00,0x48,0x65,0x00,0x00,0x20,0x90,0x00,0x00,0xc1,0x54,0x00,0x00, 0x1f,0x77,0xaa,0x67,0x00,0x00,0x67,0x71,0x00,0x00,0x01,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x1a,0x4e,0xb6,0x5b,0x00,0x00,0x33,0x7a,0x00,0x00,0xfe,0x56,0x00,0x00, 0x8b,0x4e,0x1a,0x4e,0x00,0x00,0x45,0x9e,0x00,0x00,0x1a,0x4e,0x3b,0x4e,0x00,0x00,0x1a,0x4e,0x4c,0x75, 0x00,0x00,0x12,0x52,0x00,0x00,0x1a,0x4e,0xa7,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x05,0x51,0x00,0x00, 0x02,0x00,0x00,0x00,0xea,0x4f,0x00,0x00,0xea,0x4f,0xc5,0x60,0xf1,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x17,0x67,0x00,0x00,0xc9,0x62,0x4b,0x51,0x00,0x00,0xaf,0x65,0x70,0x51,0x00,0x00,0x29,0x52,0x00,0x00, 0x3d,0x4e,0x8e,0x83,0x7d,0x76,0x00,0x00,0xcb,0x59,0x00,0x00,0xaf,0x65,0x70,0x51,0x59,0x65,0x00,0x00, 0x14,0x5c,0x00,0x00,0xaf,0x65,0x66,0x57,0x03,0x5e,0x14,0x5c,0x00,0x00,0xaf,0x65,0x70,0x51,0x21,0x58, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0xf7,0x5e,0xb3,0x82,0x00,0x00,0x50,0x5b,0xe5,0x80, 0x00,0x00,0xb6,0x5b,0x97,0x5c,0x3a,0x53,0x00,0x00,0xc0,0x73,0x54,0x58,0x14,0x5c,0x00,0x00,0xb7,0x5f, 0x6a,0x8c,0xaf,0x65,0x00,0x00,0xb6,0x5b,0x97,0x5c,0x00,0x00,0x7f,0x98,0x00,0x00,0x62,0x59,0x00,0x00, 0x26,0x4f,0x21,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0xe9,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x7b, 0x00,0x00,0xfb,0x51,0x00,0x00,0x79,0x72,0xa0,0x52,0x00,0x00,0xb2,0x7f,0x00,0x00,0x48,0x68,0x00,0x00, 0x30,0x57,0x54,0x9b,0x00,0x00,0x63,0x5b,0x00,0x00,0x14,0x5c,0xa0,0x52,0x3c,0x68,0xd2,0x52,0x00,0x00, 0xcf,0x85,0x00,0x00,0x79,0x72,0x00,0x00,0x09,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0x11,0x68,0x00,0x00, 0x28,0x67,0xe5,0x5d,0x00,0x00,0xef,0x67,0x00,0x00,0x28,0x67,0x3a,0x57,0x00,0x00,0x3a,0x53,0x00,0x00, 0x84,0x55,0x00,0x00,0x70,0x51,0x00,0x00,0x28,0x67,0xe5,0x5d,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x6f,0x60,0x00,0x00,0xf2,0x95,0x00,0x00,0x47,0x50,0x00,0x00,0x4b,0x51,0x00,0x00,0x02,0x5e,0x00,0x00, 0x74,0x65,0x00,0x00,0xaf,0x65,0x66,0x65,0x00,0x00,0x20,0x77,0x00,0x00,0x7b,0x51,0x00,0x00,0x62,0x6b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x59,0x00,0x00,0x1f,0x75,0x00,0x00,0xae,0x8b,0x62,0x96,0x00,0x00, 0xba,0x4e,0x00,0x00,0x40,0x62,0x68,0x54,0xe5,0x77,0x00,0x00,0x62,0x96,0x00,0x00,0xae,0x8b,0x58,0x54, 0x00,0x00,0xf4,0x8b,0xb7,0x7e,0xad,0x7e,0x00,0x00,0x79,0x7b,0x00,0x00,0xe2,0x77,0x4b,0x4e,0x84,0x76, 0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0xe0,0x60,0x00,0x00,0xc0,0x79,0x00,0x00,0x48,0x51, 0x00,0x00,0x16,0x53,0x00,0x00,0x28,0x8d,0x00,0x00,0x77,0x91,0x00,0x00,0x09,0x90,0x00,0x00,0xb9,0x70, 0x00,0x00,0x6f,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x4f,0x00,0x00,0x0c,0x54,0x00,0x00,0xdf,0x98, 0x00,0x00,0xdf,0x98,0x39,0x8d,0x00,0x00,0xa1,0x8b,0x00,0x00,0x34,0x4f,0xfd,0x56,0x00,0x00,0x3f,0x62, 0x00,0x00,0x34,0x4f,0x3f,0x51,0x00,0x00,0x2b,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xae,0x8b,0x00,0x00,0x08,0x8c,0x00,0x00,0x58,0x54,0x00,0x00,0x7f,0x95,0x00,0x00,0xa1,0x8b,0x00,0x00, 0x0a,0x4e,0x00,0x00,0xc1,0x89,0x00,0x00,0xa1,0x8b,0x08,0x5e,0x00,0x00,0x64,0x66,0x00,0x00,0x0c,0x54, 0x00,0x00,0x01,0x00,0x00,0x00,0x7b,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0x75,0x51,0x00,0x00,0x62,0x5f, 0x00,0x00,0xd6,0x76,0x00,0x00,0x62,0x97,0x00,0x00,0x62,0x5f,0xd1,0x79,0x00,0x00,0xb6,0x72,0x00,0x00, 0xf3,0x7e,0x00,0x00,0x05,0x53,0x00,0x00,0xb6,0x67,0x00,0x00,0xcc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x27,0x59,0x00,0x00,0x1a,0x4e,0x00,0x00,0xe5,0x54,0x00,0x00,0xba,0x4e,0x00,0x00,0x0e,0x66,0x00,0x00, 0x49,0x51,0x00,0x00,0xf0,0x5c,0x00,0x00,0x09,0x56,0x00,0x00,0x1b,0x52,0x9b,0x52,0x00,0x00,0xbe,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x7e,0x00,0x00,0xad,0x64,0x00,0x00,0x92,0x5a,0x00,0x00,0xfb,0x95, 0x00,0x00,0x12,0x90,0x00,0x00,0x00,0x8a,0x00,0x00,0xfa,0x51,0x00,0x00,0xf4,0x8b,0x00,0x00,0x7f,0x62, 0x00,0x00,0x47,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0x3d,0x5d, 0x00,0x00,0xd4,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x5b,0x00,0x00,0xa1,0x4e,0x00,0x00,0x05,0x80, 0x00,0x00,0x58,0x54,0x00,0x00,0xe3,0x53,0x00,0x00,0xbf,0x52,0x00,0x00,0xc3,0x5f,0x00,0x00,0xc5,0x60, 0x00,0x00,0x8b,0x6b,0x00,0x00,0xd5,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x3c,0x9b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x66,0x65,0x00,0x00,0x06,0x74,0x00,0x00,0x06,0x74,0x66,0x5b,0x00,0x00,0xdc,0x94,0x00,0x00, 0x38,0x5e,0x00,0x00,0xd4,0x6b,0x00,0x00,0x66,0x65,0x3f,0x65,0xbb,0x6c,0xcf,0x7e,0x4e,0x6d,0x66,0x5b, 0x62,0x96,0x00,0x00,0x66,0x65,0x02,0x5e,0x00,0x00,0xf4,0x5d,0x00,0x00,0x34,0x74,0x00,0x00,0x01,0x00, 0x00,0x00,0xd7,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x90,0x00,0x00,0xc5,0x88,0x00,0x00,0xd1,0x79, 0x66,0x5b,0x00,0x00,0xa3,0x52,0x00,0x00,0xc1,0x8b,0x00,0x00,0x84,0x55,0x00,0x00,0xfa,0x57,0xd9,0x7a, 0x00,0x00,0x18,0x5a,0x00,0x00,0xbb,0x9e,0xc4,0x9e,0xb1,0x78,0x00,0x00,0x5c,0x4f,0x00,0x00,0x04,0x00, 0x00,0x00,0xcb,0x7a,0x00,0x00,0x19,0x50,0x00,0x00,0x1b,0x67,0x00,0x00,0x17,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3c,0x68,0x00,0x00,0x57,0x53,0x4b,0x51,0x00,0x00,0x4b,0x51,0x00,0x00,0x4b,0x51,0x29,0x52, 0x00,0x00,0x35,0x72,0x00,0x00,0x69,0x60,0xaf,0x65,0x00,0x00,0x0e,0x66,0xf0,0x7f,0x00,0x00,0x2f,0x4f, 0x00,0x00,0x97,0x67,0x00,0x00,0x4b,0x51,0x0c,0x5e,0x14,0x5c,0xc8,0x54,0x92,0x64,0xe6,0x97,0x6c,0x51, 0xf8,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x8b,0x00,0x00,0x3c,0x50,0x00,0x00,0x97,0x7b,0x00,0x00, 0xf7,0x4e,0x00,0x00,0xcf,0x91,0x00,0x00,0x4b,0x6d,0x00,0x00,0x78,0x64,0x00,0x00,0x5f,0x63,0x00,0x00, 0x3c,0x50,0xd5,0x6c,0x00,0x00,0xa1,0x8b,0x3c,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0x8f,0x96,0x00,0x00, 0xa3,0x4f,0x00,0x00,0x4f,0x59,0x00,0x00,0x1f,0x75,0x00,0x00,0x18,0x5a,0x00,0x00,0x3f,0x51,0x00,0x00, 0xce,0x90,0x00,0x00,0x1e,0x82,0x00,0x00,0xd1,0x53,0x00,0x00,0x1f,0x66,0x00,0x00,0x09,0x00,0x00,0x00, 0xd0,0x4f,0x00,0x00,0x59,0x72,0xd0,0x4f,0x7f,0x9f,0x00,0x00,0xc3,0x4e,0x00,0x00,0xc3,0x4e,0x0b,0x6d, 0x00,0x00,0xd7,0x76,0x99,0x9f,0x00,0x00,0x2c,0x9f,0x00,0x00,0xdc,0x4f,0x00,0x00,0xa7,0x60,0x00,0x00, 0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x4b,0x62,0x00,0x00,0x55,0x5c,0x00,0x00, 0xf4,0x76,0x00,0x00,0x29,0x7f,0x00,0x00,0x20,0x5f,0x00,0x00,0x7f,0x95,0x00,0x00,0xd2,0x61,0x70,0x81, 0x00,0x00,0x4b,0x62,0x5a,0x51,0x00,0x00,0x29,0x7f,0x27,0x60,0x00,0x00,0x08,0x00,0x00,0x00,0x3a,0x67, 0x00,0x00,0x19,0x50,0x00,0x00,0x0d,0x67,0x00,0x00,0xdf,0x5b,0x00,0x00,0x0d,0x67,0x68,0x56,0x00,0x00, 0x04,0x5f,0x00,0x00,0x49,0x59,0x00,0x00,0x99,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x4e,0x00,0x00, 0x84,0x76,0x00,0x00,0xfe,0x66,0xf8,0x76,0xc6,0x8b,0x00,0x00,0x2f,0x66,0x0c,0x80,0x5e,0x97,0x00,0x00, 0xc2,0x61,0x5e,0x97,0xc2,0x61,0x00,0x00,0x34,0x6c,0x74,0x5e,0x4e,0x53,0x00,0x00,0x11,0x7b,0x5e,0x97, 0x11,0x7b,0x00,0x00,0x40,0x88,0x00,0x00,0x99,0x9f,0x5e,0x97,0x99,0x9f,0x00,0x00,0x4e,0x86,0x5e,0x97, 0x4e,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x65,0x75,0x00,0x00,0xdd,0x84,0x00,0x00,0x6c,0x9a, 0x04,0x5c,0xbf,0x7e,0x00,0x00,0x6c,0x9a,0x00,0x00,0x08,0x5e,0xbf,0x53,0x00,0x00,0x57,0x7f,0x4e,0x53, 0x00,0x00,0x9b,0x73,0x00,0x52,0x00,0x00,0x6c,0x9a,0xb4,0x66,0x00,0x00,0x08,0x5e,0x00,0x00,0x57,0x7f, 0xe6,0x74,0x00,0x00,0x05,0x00,0x00,0x00,0x9c,0x51,0x00,0x00,0x37,0x62,0x00,0x00,0x43,0x67,0x00,0x00, 0xdf,0x79,0x00,0x00,0x1c,0x4e,0x00,0x00,0x09,0x00,0x00,0x00,0x2f,0x66,0x00,0x00,0x3f,0x61,0x00,0x00, 0xe1,0x51,0x00,0x00,0xe5,0x4e,0x06,0x74,0x66,0x4e,0x00,0x00,0x66,0x4e,0x00,0x00,0x01,0x4e,0x00,0x00, 0xf4,0x8b,0xe0,0x65,0xa8,0x59,0x00,0x00,0x3c,0x5c,0x1f,0x75,0x00,0x00,0x3f,0x61,0x82,0x59,0x64,0x6b, 0x00,0x00,0x01,0x00,0x00,0x00,0x55,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x53,0x87,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0x6e,0x7f,0x00,0x00,0x45,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00, 0x70,0x65,0x00,0x00,0xfb,0x79,0x00,0x00,0x17,0x52,0x00,0x00,0x21,0x6b,0x00,0x00,0xd8,0x9a,0x43,0x67, 0xcd,0x91,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0xf7,0x8f,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x03,0x8c,0x00,0x00,0x00,0x5f,0x00,0x00,0xb9,0x70,0x00,0x00, 0xb3,0x78,0x00,0x00,0x30,0x4f,0x00,0x00,0xef,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x62,0x00,0x00, 0x85,0x5b,0x00,0x00,0x62,0x96,0x00,0x00,0xbf,0x5b,0x00,0x00,0xfa,0x5e,0xe8,0x90,0x00,0x00,0x37,0x62, 0x00,0x00,0x40,0x62,0x00,0x00,0x04,0x59,0x00,0x00,0x40,0x57,0x00,0x00,0x85,0x5b,0x7c,0x69,0x00,0x00, 0x0a,0x00,0x00,0x00,0xc1,0x8b,0x00,0x00,0x0a,0x4f,0x00,0x00,0x99,0x65,0x00,0x00,0xbb,0x6c,0x9a,0x4e, 0xde,0x5d,0x00,0x00,0x10,0x99,0x00,0x00,0x16,0x4e,0xdd,0x4f,0x00,0x00,0xbb,0x6c,0x9a,0x4e,0x00,0x00, 0xa9,0x52,0x00,0x00,0x3a,0x8d,0xbf,0x53,0x00,0x00,0x42,0x52,0x00,0x00,0x06,0x00,0x00,0x00,0x01,0x5a, 0x00,0x00,0x0c,0x66,0x00,0x00,0xa4,0x62,0x00,0x00,0x63,0x83,0x00,0x00,0xa9,0x52,0x00,0x00,0x39,0x68, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x7c,0x00,0x00,0x36,0x52,0x00,0x00,0xb0,0x73,0x00,0x00,0x8c,0x9a, 0x00,0x00,0xb2,0x80,0x00,0x00,0x85,0x51,0x00,0x00,0xcd,0x91,0x00,0x00,0x1a,0x4f,0x00,0x00,0xc0,0x68, 0x00,0x00,0x28,0x8d,0x00,0x00,0x03,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0x28,0x75,0x00,0x00,0x57,0x84, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xb5,0x51,0x00,0x00,0xe5,0x4e,0x00,0x00,0x04,0x59, 0x00,0x00,0x28,0x57,0x00,0x00,0xcd,0x79,0x00,0x00,0xc5,0x5f,0x00,0x00,0xb9,0x65,0x00,0x00,0xbb,0x53, 0x55,0x4f,0xce,0x4e,0x00,0x00,0xd0,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xb6,0x5b,0x7e,0x6e,0x51,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9d,0x98,0x00,0x00,0x9d,0x98,0x9d,0x5b,0x00,0x00,0x30,0x57,0x00,0x00, 0x07,0x97,0x00,0x00,0x0b,0x4e,0x00,0x00,0xda,0x59,0x00,0x00,0xed,0x70,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x6d,0x67,0x00,0x00,0x1f,0x75,0x00,0x00,0x03,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x87,0x65,0x00,0x00, 0x8b,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x65,0x00,0x00,0xd5,0x6c,0x00,0x00,0x66,0x5b,0x00,0x00, 0x40,0x96,0x00,0x00,0x71,0x5c,0x00,0x00,0xcf,0x7e,0x00,0x00,0xe9,0x83,0x28,0x84,0x00,0x00,0xcf,0x50, 0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0x59,0x65,0x92,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e, 0x00,0x00,0x28,0x75,0x00,0x00,0xc1,0x54,0x00,0x00,0xfa,0x51,0x00,0x00,0x05,0x80,0x00,0x00,0x18,0x62, 0x00,0x00,0x1a,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x48,0x68,0x00,0x00,0xce,0x98,0x00,0x00,0x03,0x00, 0x00,0x00,0x7b,0x50,0xc5,0x75,0x00,0x00,0x7b,0x50,0x00,0x00,0x80,0x77,0x00,0x00,0x01,0x00,0x00,0x00, 0x78,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0x8c,0x4e,0x21,0x58,0x00,0x00,0x9f,0x9e,0x01,0x96,0x00,0x00, 0x73,0x4f,0x5f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0x7d,0x59,0x00,0x00,0xb6,0x5b, 0x00,0x00,0x7b,0x6b,0x11,0x62,0x3b,0x6d,0x00,0x00,0x2d,0x4e,0x09,0x67,0x11,0x62,0x00,0x00,0x65,0x67, 0x11,0x62,0x80,0x5f,0x00,0x00,0xc5,0x60,0x11,0x62,0x3f,0x61,0x00,0x00,0xfd,0x8f,0x11,0x62,0x76,0x8d, 0x00,0x00,0x00,0x4e,0x00,0x8a,0x11,0x62,0x00,0x4e,0xed,0x8b,0x00,0x00,0x89,0x4e,0x11,0x62,0x3a,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0xcb,0x54,0x00,0x00,0xfb,0x7c,0x00,0x00,0x14,0x55, 0x00,0x00,0x05,0x56,0x00,0x00,0x81,0x54,0x00,0x00,0x72,0x55,0x00,0x00,0xfd,0x90,0x00,0x00,0x2a,0x4e, 0x00,0x00,0x1a,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0xd1,0x91,0x87,0x73,0x00,0x00, 0xd1,0x91,0x39,0x8d,0x87,0x73,0x00,0x00,0xba,0x4e,0x00,0x00,0x75,0x51,0x00,0x00,0xd1,0x91,0x9d,0x5b, 0x00,0x00,0xd1,0x91,0x18,0x62,0x00,0x00,0xe5,0x5d,0x00,0x00,0xd1,0x91,0x36,0x52,0x00,0x00,0xd1,0x91, 0x39,0x8d,0x00,0x00,0x04,0x00,0x00,0x00,0xa6,0x90,0x00,0x00,0xcf,0x65,0x00,0x00,0xcf,0x65,0xba,0x4e, 0x00,0x00,0xed,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0x64,0x4f,0xcf,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x62,0x00,0x00,0x0d,0x67,0x00,0x00,0x47,0x59,0x00,0x00,0xaf,0x65,0x00,0x00,0xf7,0x96,0xaf,0x65, 0x00,0x00,0xcc,0x91,0x00,0x00,0x1b,0x6d,0x7f,0x89,0x00,0x00,0x26,0x5e,0x00,0x00,0x34,0x62,0x05,0x80, 0x00,0x00,0x70,0x51,0x00,0x00,0x07,0x00,0x00,0x00,0xc5,0x88,0x00,0x00,0x2c,0x8c,0x00,0x00,0xf0,0x79, 0x00,0x00,0x3b,0x65,0x00,0x00,0x5c,0x4f,0x00,0x00,0xc2,0x72,0x00,0x00,0x00,0x8a,0x00,0x00,0x01,0x00, 0x00,0x00,0x29,0x52,0x54,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0x97,0x5f,0x00,0x00,0xc1,0x54, 0x00,0x00,0xfd,0x80,0x00,0x00,0x73,0x4f,0x00,0x00,0x46,0x51,0x1a,0x4e,0x00,0x00,0x82,0x82,0x00,0x00, 0x5c,0x4f,0x00,0x00,0xe9,0x7e,0x00,0x00,0x3d,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0x01,0x00,0x00,0x00, 0x48,0x5c,0x71,0x80,0x59,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0xe7,0x5d,0x00,0x00,0x02,0x00,0x00,0x00, 0x7c,0x4f,0x05,0x80,0x00,0x00,0x7c,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x75,0x00,0x00,0x97,0x5f, 0x00,0x00,0x86,0x99,0x00,0x00,0x7d,0x54,0x00,0x00,0x28,0x75,0x43,0x67,0x00,0x00,0x28,0x75,0x05,0x80, 0x00,0x00,0xb2,0x52,0x00,0x00,0x28,0x75,0x87,0x73,0x00,0x00,0x28,0x75,0xcf,0x91,0x00,0x00,0x28,0x75, 0x39,0x8d,0x00,0x00,0x08,0x00,0x00,0x00,0x83,0x4f,0x0c,0x80,0x08,0x8c,0x00,0x00,0x83,0x4f,0x00,0x00, 0x27,0x59,0x71,0x5c,0x00,0x00,0xf7,0x4e,0x00,0x00,0x37,0x72,0x00,0x00,0x3f,0x51,0x00,0x00,0x71,0x5c, 0x00,0x00,0x1f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x73,0x59,0x00,0x00,0x3f,0x51, 0x00,0x00,0x59,0x5b,0x00,0x00,0x73,0x59,0x7f,0x5a,0x00,0x00,0xb3,0x5a,0x87,0x59,0x00,0x00,0x59,0x5b, 0x73,0x59,0x00,0x00,0xb3,0x5a,0x00,0x00,0x16,0x59,0x59,0x5b,0x00,0x00,0x59,0x5b,0x50,0x5b,0x00,0x00, 0x03,0x00,0x00,0x00,0x08,0x8c,0x00,0x00,0x61,0x97,0x00,0x00,0xdc,0x7c,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x82,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x4c,0x88,0x00,0x00, 0x16,0x59,0x00,0x00,0x1a,0x4f,0x00,0x00,0xc1,0x8b,0x00,0x00,0x47,0x50,0x00,0x00,0x4c,0x88,0x6c,0x51, 0x8b,0x4e,0x00,0x00,0x4c,0x88,0x27,0x60,0x00,0x00,0x3e,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80, 0x00,0x00,0x49,0x59,0x00,0x00,0x6b,0x53,0x00,0x00,0xce,0x4e,0x00,0x00,0x73,0x59,0x00,0x00,0xce,0x90, 0x00,0x00,0x19,0x50,0x00,0x00,0x94,0x5e,0x00,0x00,0x52,0x91,0x08,0x5e,0x00,0x00,0x04,0x5f,0x00,0x00, 0x07,0x00,0x00,0x00,0x12,0x51,0x00,0x00,0x57,0x7f,0xaa,0x7e,0x00,0x00,0x12,0x51,0xc7,0x75,0x00,0x00, 0x57,0x7f,0x00,0x00,0x57,0x7f,0x16,0x4e,0x00,0x00,0x57,0x7f,0xfb,0x7c,0x00,0x00,0x12,0x51,0xd3,0x4e, 0x20,0x9f,0x00,0x00,0x01,0x00,0x00,0x00,0xc9,0x73,0x00,0x00,0x09,0x00,0x00,0x00,0xcf,0x65,0x00,0x00, 0xe8,0x5b,0x00,0x00,0x61,0x4e,0x00,0x00,0x11,0x6c,0x00,0x00,0xb6,0x5b,0x00,0x00,0xed,0x8b,0x00,0x00, 0xb6,0x5b,0xba,0x4e,0x00,0x00,0x67,0x52,0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x94,0x5e, 0x00,0x00,0x94,0x5e,0x46,0x55,0x00,0x00,0xd9,0x7e,0x00,0x00,0x00,0x97,0x00,0x00,0x7b,0x51,0x00,0x00, 0x34,0x6c,0x00,0x00,0x94,0x5e,0xfe,0x94,0x00,0x00,0x42,0x6c,0x00,0x00,0x94,0x5e,0xcf,0x91,0x00,0x00, 0x35,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0xd5,0x6c,0x00,0x00,0x6e,0x63,0x00,0x00, 0x60,0x97,0x00,0x00,0x56,0x8d,0x00,0x00,0xe7,0x65,0x00,0x00,0x67,0x71,0x00,0x00,0x58,0x62,0x00,0x00, 0x21,0x6b,0x00,0x00,0x58,0x5b,0xa6,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x5b,0x00,0x00,0x49,0x4e, 0x00,0x00,0xd7,0x76,0x00,0x00,0xeb,0x58,0x00,0x00,0xd7,0x76,0x0e,0x73,0x66,0x8f,0x4b,0x62,0x00,0x00, 0x73,0x59,0x00,0x00,0xa8,0x9a,0x00,0x00,0x14,0x6c,0x00,0x00,0x9d,0x80,0x49,0x4e,0xc6,0x80,0x00,0x00, 0xd7,0x76,0xde,0x98,0x66,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x4f,0x00,0x00,0x01,0x00,0x00,0x00, 0x78,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x67,0x00,0x00,0x34,0x78,0x00,0x00,0xdf,0x5b,0x00,0x00, 0xdf,0x5b,0x3a,0x67,0x00,0x00,0x9e,0x52,0x00,0x00,0xa2,0x63,0x00,0x00,0xe5,0x67,0x58,0x54,0x00,0x00, 0x4b,0x6d,0x00,0x00,0xa2,0x63,0x0f,0x5c,0xf4,0x8b,0x00,0x00,0xdf,0x5b,0x75,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x97,0x00,0x00,0xcd,0x91,0x00,0x00,0xfb,0x7f,0x00,0x00,0xcd,0x91,0xb9,0x70,0x00,0x00, 0x67,0x53,0x00,0x00,0xab,0x8e,0x00,0x00,0x07,0x52,0x00,0x00,0xe8,0x95,0x00,0x00,0x0f,0x6f,0x00,0x00, 0xee,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x6c,0x00,0x00,0xde,0x80,0x00,0x00,0xa5,0x62,0x00,0x00, 0xa1,0x52,0x00,0x00,0x54,0x80,0x00,0x00,0x9e,0x52,0x00,0x00,0x74,0x51,0x00,0x00,0x16,0x59,0x00,0x00, 0x61,0x4e,0x00,0x00,0x4c,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x8f,0x00,0x00,0x01,0x00,0x00,0x00, 0xba,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0xb1,0x8f,0x00,0x00,0xb1,0x8f,0x27,0x60,0x00,0x00,0xb1,0x8f, 0x6a,0x7f,0x00,0x00,0x62,0x61,0x00,0x00,0x11,0x85,0x00,0x00,0x04,0x5f,0x00,0x00,0x82,0x9a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5b,0x8d,0xe0,0x56,0x00,0x00,0x6c,0x9a,0x00,0x00,0x35,0x72,0x00,0x00,0x16,0x59, 0x97,0x67,0x00,0x00,0x6c,0x9a,0x02,0x5e,0x00,0x00,0x09,0x90,0xba,0x4e,0x00,0x00,0xe8,0x5b,0x61,0x4e, 0x00,0x00,0x08,0x67,0x00,0x00,0x01,0x80,0x00,0x00,0x37,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x43,0x67, 0x00,0x00,0xaf,0x72,0x00,0x00,0xb3,0x5b,0x00,0x00,0x65,0x75,0x00,0x00,0x60,0x53,0x00,0x00,0x65,0x51, 0x00,0x00,0xad,0x88,0x00,0x00,0x80,0x86,0x00,0x00,0x4e,0x53,0x00,0x00,0x1e,0x54,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x5b,0x00,0x00,0x29,0x52,0x00,0x00,0x77,0x63, 0x00,0x00,0xd8,0x79,0x00,0x00,0x8e,0x4e,0x00,0x00,0x2f,0x66,0x00,0x00,0x11,0x6c,0x00,0x00,0x29,0x52, 0x97,0x5e,0x00,0x00,0x29,0x52,0x16,0x53,0x00,0x00,0x63,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x8f, 0x00,0x00,0x00,0x95,0x00,0x00,0x7f,0x4f,0x00,0x00,0x10,0x62,0x00,0x00,0xdb,0x8f,0x1a,0x4f,0x00,0x00, 0x00,0x95,0x58,0x54,0x00,0x00,0xd1,0x53,0x00,0x00,0x00,0x95,0xf7,0x4e,0x00,0x00,0x00,0x95,0x18,0x62, 0x00,0x00,0xf7,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x7f,0xaf,0x65,0x00,0x00,0xb9,0x65,0x00,0x00, 0xfd,0x56,0x00,0x00,0xb0,0x65,0x3e,0x79,0x00,0x00,0xa5,0x4e,0xc4,0x4f,0xde,0x5d,0x00,0x00,0x9b,0x51, 0x00,0x00,0xed,0x8b,0x00,0x00,0xd2,0x52,0x88,0x51,0xde,0x5d,0x00,0x00,0xa5,0x4e,0xc4,0x4f,0x00,0x00, 0x87,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x67,0x00,0x00,0xf0,0x5c,0x00,0x00,0x8e,0x7f,0x00,0x00, 0xc0,0x79,0x00,0x00,0x17,0x67,0x00,0x00,0xd1,0x53,0x00,0x00,0xcf,0x4f,0x00,0x00,0x4d,0x62,0x00,0x00, 0x37,0x75,0x8e,0x7f,0x73,0x59,0x00,0x00,0x38,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0x0a,0x4e,0x89,0x80, 0x00,0x00,0x07,0x00,0x00,0x00,0xae,0x76,0x00,0x00,0x3d,0x4e,0x00,0x00,0xae,0x76,0xdd,0x8b,0x00,0x00, 0x72,0x82,0x00,0x00,0x27,0x8d,0x00,0x00,0xcb,0x7a,0x00,0x00,0x00,0x95,0x00,0x00,0x01,0x00,0x00,0x00, 0x3d,0x84,0x00,0x00,0x01,0x00,0x00,0x00,0x51,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x79,0x00,0x00, 0xdd,0x8b,0xf4,0x8b,0x00,0x00,0xed,0x8b,0x00,0x00,0xdd,0x8b,0x00,0x00,0x57,0x59,0x00,0x00,0x0d,0x54, 0x00,0x00,0x14,0x6c,0x00,0x00,0x16,0x4e,0x00,0x00,0x1b,0x8c,0x00,0x00,0xb6,0x5b,0x00,0x00,0x02,0x00, 0x00,0x00,0x4f,0x86,0x00,0x00,0xb7,0x83,0x00,0x00,0x05,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0xd7,0x4f, 0x00,0x00,0xf2,0x66,0x00,0x00,0x4c,0x6b,0x00,0x00,0x1a,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x96, 0x00,0x00,0x01,0x63,0x00,0x00,0xa4,0x62,0x00,0x00,0x9c,0x96,0x00,0x00,0xc1,0x8b,0x00,0x00,0x59,0x75, 0x00,0x00,0x65,0x50,0x00,0x00,0x89,0x5b,0x00,0x00,0x58,0x5b,0x00,0x00,0x9c,0x96,0x3f,0x62,0x00,0x00, 0x05,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x41,0x51,0x00,0x00,0x87,0x65,0x79,0x8c,0x00,0x00,0xc0,0x68, 0x00,0x00,0x29,0x59,0x7d,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0x3a,0x67,0x00,0x00,0x19,0x50,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6f,0x60,0x00,0x00,0x58,0x62,0x00,0x00,0xc3,0x5f,0x00,0x00,0x37,0x8d,0x00,0x00, 0xf7,0x53,0x00,0x00,0x28,0x75,0x00,0x00,0x28,0x75,0x61,0x53,0x00,0x00,0xfb,0x4e,0x00,0x00,0x6f,0x60, 0x16,0x53,0x00,0x00,0xf0,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0xa3,0x4f,0x00,0x00,0x03,0x00,0x00,0x00, 0x36,0x71,0x00,0x00,0x82,0x59,0x00,0x00,0x82,0x59,0x7d,0x76,0x3c,0x66,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x67,0x00,0x00,0x01,0x77,0x00,0x00,0xa6,0x7e,0x00,0x00,0x66,0x5b,0x00,0x00,0xe5,0x4e,0x7b,0x51, 0xc9,0x5e,0x00,0x00,0x20,0x7d,0x00,0x00,0x64,0x6c,0xba,0x4e,0x00,0x00,0x64,0x6c,0x00,0x00,0xce,0x4e, 0x55,0x4f,0x65,0x67,0x00,0x00,0x64,0x6c,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x65,0x00,0x00, 0x0d,0x59,0x00,0x00,0x4c,0x88,0x00,0x00,0xa2,0x8b,0x00,0x00,0x63,0x6b,0x00,0x00,0xfa,0x5e,0x00,0x00, 0x63,0x6b,0x48,0x68,0x00,0x00,0x06,0x74,0x00,0x00,0x01,0x63,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x67,0x53,0x91,0x64,0x00,0x00,0xb0,0x77,0x00,0x00,0xb2,0x51,0x00,0x00,0x67,0x53,0x00,0x00, 0xc6,0x89,0x00,0x00,0xab,0x8e,0x00,0x00,0xf0,0x4e,0x00,0x00,0x96,0x99,0x00,0x00,0xfe,0x62,0x86,0x76, 0x2f,0x66,0x00,0x00,0xc6,0x89,0xfe,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x4e,0xe8,0x90,0x00,0x00, 0x68,0x51,0x00,0x00,0x1f,0x75,0x00,0x00,0x50,0x4e,0xe8,0x90,0x1f,0x96,0x00,0x00,0xc1,0x6b,0x00,0x00, 0x28,0x57,0x00,0x00,0xbe,0x7c,0x00,0x00,0x50,0x4e,0xe8,0x90,0x6f,0x67,0x00,0x00,0x50,0x4e,0xe8,0x90, 0x36,0x52,0x00,0x00,0x73,0x4f,0x00,0x00,0x04,0x00,0x00,0x00,0xe5,0x53,0x00,0x00,0x18,0x4f,0x00,0x00, 0x10,0x8c,0x00,0x00,0xba,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x5c,0x00,0x00,0x05,0x00,0x00,0x00, 0x84,0x79,0x00,0x00,0xb1,0x94,0x00,0x00,0xf6,0x94,0x00,0x00,0xd9,0x7e,0x00,0x00,0x64,0x60,0x00,0x00, 0x06,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x18,0x5a,0x00,0x00,0xb9,0x59,0x00,0x00, 0xf4,0x6e,0x00,0x00,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8d,0x2f,0x65,0x01,0x77,0x00,0x00, 0xaf,0x65,0xa6,0x9e,0x00,0x00,0xef,0x8d,0x2f,0x65,0xaf,0x65,0x66,0x57,0x01,0x77,0x00,0x00,0xef,0x8d, 0x2f,0x65,0x00,0x00,0x3c,0x68,0x73,0x7c,0x00,0x00,0xba,0x4e,0x00,0x00,0x62,0x4f,0x00,0x00,0x3c,0x66, 0x5c,0x4f,0x1c,0x59,0x00,0x00,0x2a,0x50,0x00,0x00,0xc3,0x5f,0x3a,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9e,0x58,0x00,0x00,0x70,0x65,0x00,0x00,0x1f,0x61,0x00,0x00,0xd7,0x53,0x00,0x00,0xa0,0x52,0x00,0x00, 0x87,0x73,0x00,0x00,0x7a,0x98,0x00,0x00,0x3f,0x51,0x00,0x00,0x67,0x61,0x00,0x00,0x79,0x72,0x00,0x00, 0x03,0x00,0x00,0x00,0xfd,0x5f,0x00,0x00,0x36,0x71,0x00,0x00,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2f,0x66,0x00,0x00,0x4c,0x58,0x00,0x00,0xed,0x95,0x00,0x00,0x70,0x65,0x00,0x00,0x56,0x53,0x00,0x00, 0x65,0x51,0x00,0x00,0x00,0x90,0x00,0x00,0x0b,0x4e,0x00,0x00,0x02,0x63,0x00,0x00,0xa1,0x8b,0xf6,0x65, 0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x5f,0x00,0x00,0x9f,0x72,0x00,0x00,0x9f,0x72,0x49,0x6c,0x00,0x00, 0x34,0x59,0x14,0x50,0x11,0x81,0x00,0x00,0x06,0x00,0x00,0x00,0xe5,0x82,0x00,0x00,0x7f,0x4f,0x00,0x00, 0x16,0x62,0x00,0x00,0x6f,0x4f,0x00,0x00,0x36,0x71,0x00,0x00,0xfd,0x80,0x82,0x59,0x64,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x09,0x90,0xba,0x4e,0x00,0x00,0xa1,0x5b,0x00,0x00,0x09,0x90,0x00,0x00,0x66,0x8f, 0x00,0x00,0x1f,0x9e,0x00,0x00,0x66,0x8f,0xa4,0x5b,0x00,0x00,0xfb,0x4e,0x00,0x00,0x65,0x88,0xd4,0x59, 0x58,0x54,0x00,0x00,0x65,0x88,0x00,0x00,0x3a,0x67,0x7c,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x91, 0x00,0x00,0x60,0x97,0x00,0x00,0x56,0x8d,0x00,0x00,0xd7,0x4e,0x00,0x00,0x29,0x59,0x60,0x5c,0x99,0x9f, 0xb0,0x8b,0x00,0x00,0x01,0x80,0x56,0x53,0x01,0x80,0x00,0x00,0x29,0x59,0x01,0x96,0x00,0x00,0x50,0x57, 0x00,0x00,0x8d,0x50,0x00,0x00,0x6c,0x9a,0xef,0x53,0x85,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0xa5,0x50, 0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xa9,0x52,0x00,0x00,0x37,0x8d,0x00,0x00,0x3e,0x6b, 0x00,0x00,0x74,0x92,0x00,0x00,0xe3,0x53,0x00,0x00,0xf3,0x58,0x00,0x00,0x28,0x75,0x00,0x00,0x3e,0x6b, 0xba,0x4e,0x00,0x00,0x3a,0x67,0x00,0x00,0xb0,0x8b,0x61,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xfc,0x5b, 0x00,0x00,0xae,0x8b,0x00,0x00,0xae,0x8b,0x66,0x4e,0x00,0x00,0xfc,0x5b,0x05,0x80,0x00,0x00,0xfc,0x5b, 0x27,0x60,0x00,0x00,0xae,0x8b,0x05,0x80,0x00,0x00,0x00,0x8a,0x00,0x00,0xc9,0x5e,0x00,0x00,0x18,0x4f, 0x00,0x00,0xea,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x03,0x4f,0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x50, 0x00,0x00,0x97,0x4f,0x00,0x00,0x06,0x00,0x00,0x00,0x20,0x60,0x00,0x00,0x0f,0x61,0x00,0x00,0xb9,0x5b, 0x00,0x00,0x01,0x60,0x00,0x00,0x38,0x6e,0x00,0x00,0x1f,0x9e,0x95,0x62,0x97,0x67,0x00,0x00,0x02,0x00, 0x00,0x00,0xb2,0x50,0x00,0x00,0xb2,0x50,0x0d,0x4e,0x6d,0x60,0x00,0x00,0x03,0x00,0x00,0x00,0xa7,0x78, 0x00,0x00,0x71,0x5f,0x00,0x00,0xc5,0x88,0x00,0x00,0x04,0x00,0x00,0x00,0x21,0x53,0x00,0x00,0xdd,0x67, 0xf0,0x58,0x00,0x00,0xe3,0x55,0xb2,0x51,0x00,0x00,0x42,0x68,0xcd,0x73,0x00,0x00,0x08,0x00,0x00,0x00, 0xc7,0x5b,0x00,0x00,0xd1,0x9e,0x29,0x73,0x29,0x73,0x00,0x00,0xdc,0x74,0x00,0x00,0x29,0x73,0x29,0x73, 0x00,0x00,0xfd,0x56,0x00,0x00,0x6c,0x9a,0x9a,0x4e,0x8b,0x73,0x1d,0x67,0x00,0x00,0x9b,0x51,0x00,0x00, 0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x52,0x00,0x00,0xa1,0x52,0x00,0x00,0xfa,0x57,0x00,0x00, 0x02,0x5e,0x00,0x00,0x38,0x52,0x8b,0x57,0x00,0x00,0x43,0x67,0x00,0x00,0x43,0x67,0xba,0x4e,0x00,0x00, 0x3b,0x4e,0x00,0x00,0xa1,0x52,0xba,0x4e,0x00,0x00,0xa1,0x52,0x87,0x73,0x00,0x00,0x0a,0x00,0x00,0x00, 0x97,0x5f,0x00,0x00,0x97,0x5f,0x00,0x4e,0xd0,0x63,0x84,0x76,0x2f,0x66,0x00,0x00,0xed,0x73,0x00,0x00, 0xb1,0x94,0x00,0x00,0x88,0x5b,0x00,0x00,0xed,0x73,0xa4,0x5b,0x00,0x00,0x97,0x5f,0x00,0x4e,0xd0,0x63, 0x00,0x00,0xe4,0x52,0x00,0x00,0x3a,0x67,0x00,0x00,0x0d,0x4e,0x3c,0x50,0x97,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x11,0x54,0x00,0x00,0x00,0x95,0x00,0x00,0x9c,0x65,0x00,0x00,0x2c,0x54,0x00,0x00,0x12,0x50, 0x00,0x00,0xc9,0x8b,0x00,0x00,0x86,0x89,0x00,0x00,0x11,0x54,0x8e,0x4e,0x00,0x00,0xe8,0x6c,0x00,0x00, 0xb6,0x5b,0x61,0x83,0xa7,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0xd7,0x65,0x6f,0x60,0x13,0x9f,0x00,0x00, 0x08,0x5e,0x00,0x00,0x08,0x5e,0x02,0x5e,0x00,0x00,0x66,0x6b,0xee,0x4f,0x87,0x65,0x00,0x00,0x47,0x8e, 0x00,0x00,0x79,0x86,0x24,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0xbe,0x8b,0x00,0x00, 0x82,0x59,0x00,0x00,0x92,0x51,0x00,0x00,0xe5,0x65,0x00,0x00,0x27,0x8d,0x00,0x00,0x01,0x5e,0x00,0x00, 0xc5,0x88,0x00,0x00,0x9a,0x5b,0x00,0x00,0x6f,0x83,0x00,0x00,0x04,0x00,0x00,0x00,0x82,0x98,0x00,0x00, 0x50,0x5b,0x00,0x00,0xed,0x8b,0x00,0x00,0x87,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x27,0x59,0x00,0x00, 0x03,0x00,0x00,0x00,0x9d,0x4f,0x00,0x00,0x1a,0x50,0x00,0x00,0x8d,0x50,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7d,0x59,0x00,0x00,0x11,0x54,0x00,0x00,0xa1,0x80,0x8b,0x57,0x00,0x00,0xa1,0x80,0x00,0x00,0xbb,0x79, 0x00,0x00,0xee,0x5d,0x00,0x00,0xdc,0x8f,0x00,0x00,0xc1,0x89,0x00,0x00,0x31,0x72,0x00,0x00,0x4f,0x50, 0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x0c,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51, 0x00,0x00,0xd5,0x6c,0x00,0x00,0x30,0x52,0x00,0x00,0x7d,0x59,0x00,0x00,0x7a,0x7a,0x00,0x00,0x10,0x62, 0x00,0x00,0x6d,0x99,0x00,0x00,0x8b,0x4e,0x00,0x00,0x31,0x72,0x00,0x00,0xa2,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x6b,0x00,0x00,0x4c,0x72,0x00,0x00,0x66,0x8f,0x00,0x00,0x59,0x75,0x00,0x00,0xa7,0x4e, 0x00,0x00,0x66,0x8f,0x3a,0x57,0x00,0x00,0xe5,0x5d,0x00,0x00,0xde,0x6e,0x00,0x00,0x6b,0x70,0x00,0x00, 0x35,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x5e,0x00,0x00,0x68,0x51,0x00,0x00,0xab,0x8e,0x00,0x00, 0xab,0x8e,0x3f,0x62,0x00,0x00,0x8e,0x7f,0x00,0x00,0x9b,0x52,0x9d,0x5b,0x00,0x00,0xb7,0x5e,0x69,0x96, 0x00,0x00,0x28,0x57,0x00,0x00,0x11,0x81,0x00,0x00,0xc3,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x5c, 0x00,0x00,0x36,0x71,0x00,0x00,0xcf,0x50,0x00,0x00,0x47,0x90,0x00,0x00,0x36,0x71,0x27,0x60,0x00,0x00, 0x70,0x65,0x00,0x00,0xd1,0x53,0x00,0x00,0xcf,0x50,0x67,0x52,0x00,0x00,0xd1,0x53,0x27,0x60,0x00,0x00, 0xec,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x50,0x00,0x00,0xcd,0x62,0x00,0x00,0xd7,0x76,0x00,0x00, 0x70,0x8d,0x00,0x00,0x21,0x6e,0x00,0x00,0x83,0x7a,0x00,0x00,0xd2,0x61,0x00,0x00,0xc5,0x60,0x00,0x00, 0xe5,0x5d,0xcf,0x51,0x99,0x65,0x00,0x00,0x0e,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xd8,0x8f,0x00,0x00,0xd8,0x4e,0x00,0x00,0x3a,0x50,0x00,0x00,0x7d,0x54,0x00,0x00, 0xd8,0x8f,0x9d,0x98,0x00,0x00,0x3a,0x50,0x87,0x73,0x00,0x00,0xd8,0x8f,0xcf,0x91,0x00,0x00,0xd8,0x8f, 0x1f,0x67,0x00,0x00,0x37,0x8d,0x00,0x00,0x05,0x6e,0x00,0x00,0x03,0x00,0x00,0x00,0x21,0x51,0x00,0x00, 0x21,0x51,0x0f,0x62,0x00,0x00,0x21,0x51,0x3f,0x65,0x43,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xcc,0x91, 0xf6,0x53,0x00,0x00,0x5c,0x4f,0x49,0x4e,0x00,0x00,0xcb,0x7a,0xf6,0x53,0x00,0x00,0xd1,0x79,0x46,0x64, 0x00,0x00,0xcb,0x7a,0xf6,0x53,0xd8,0x53,0x62,0x63,0x00,0x00,0x51,0x67,0x47,0x95,0x00,0x00,0x89,0x7c, 0x00,0x00,0x51,0x67,0x00,0x00,0x1a,0x4f,0x00,0x00,0xf4,0x8b,0x00,0x00,0x02,0x00,0x00,0x00,0xf3,0x50, 0xcf,0x65,0x00,0x00,0xf3,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x66,0x00,0x00,0xb9,0x8f,0x00,0x00, 0x9d,0x4f,0x00,0x00,0x48,0x53,0x00,0x00,0xd1,0x9e,0x00,0x00,0xd1,0x8f,0x00,0x00,0xb6,0x5b,0x3f,0x51, 0x00,0x00,0xf3,0x67,0x8f,0x96,0xb1,0x82,0x00,0x00,0x37,0x62,0x0c,0x80,0xcb,0x7a,0x00,0x00,0xba,0x4e, 0xf1,0x7b,0xc1,0x58,0x00,0x00,0x03,0x00,0x00,0x00,0x19,0x4f,0x00,0x00,0x77,0x51,0x00,0x00,0xec,0x4f, 0x00,0x00,0x07,0x00,0x00,0x00,0xcf,0x65,0x00,0x00,0xb9,0x59,0x00,0x00,0xb6,0x5b,0x00,0x00,0xb6,0x5b, 0xba,0x4e,0x00,0x00,0x73,0x54,0x00,0x00,0x61,0x4e,0x00,0x00,0x67,0x52,0x00,0x00,0x01,0x00,0x00,0x00, 0x61,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xf8,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x59,0x00,0x00, 0xc4,0x84,0x00,0x00,0x58,0x5b,0x00,0x00,0xcf,0x91,0x00,0x00,0x37,0x62,0x00,0x00,0xcf,0x85,0x00,0x00, 0xc4,0x84,0x87,0x73,0x00,0x00,0xfd,0x80,0x00,0x00,0xd0,0x8f,0x00,0x00,0xc4,0x84,0x61,0x53,0x00,0x00, 0x03,0x00,0x00,0x00,0x0f,0x62,0x00,0x00,0x1e,0x82,0x00,0x00,0x5e,0x79,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1f,0x75,0x00,0x00,0x16,0x53,0x42,0x52,0x00,0x00,0x20,0x77,0x00,0x00,0xc3,0x4f,0x00,0x00,0x16,0x53, 0x00,0x00,0xc5,0x60,0x00,0x00,0xea,0x6c,0x00,0x00,0x9f,0x71,0x00,0x00,0xea,0x6c,0x39,0x5f,0x00,0x00, 0xa7,0x4e,0x20,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x61,0x00,0x00,0x38,0x6e,0x00,0x00,0xc6,0x89, 0x00,0x00,0xba,0x4e,0x00,0x00,0x14,0x6c,0x00,0x00,0xa8,0x9a,0x00,0x00,0x62,0x61,0x0e,0x4e,0x4f,0x50, 0xc1,0x89,0x00,0x00,0x36,0x71,0x00,0x00,0x16,0x4e,0x00,0x00,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3c,0x90,0x00,0x00,0x50,0x5b,0x00,0x00,0xdc,0x74,0x00,0x00,0x3c,0x77,0x00,0x00,0x8b,0x4e,0x00,0x00, 0xbb,0x50,0x00,0x00,0x11,0x7b,0x00,0x00,0x4e,0x4e,0x4e,0x4e,0x00,0x00,0xbb,0x50,0x84,0x76,0x00,0x00, 0x30,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x7d,0x00,0x00,0x2f,0x66,0x00,0x00,0x37,0x68,0x00,0x00, 0xe0,0x7a,0x00,0x00,0x21,0x6a,0xcf,0x50,0x37,0x68,0x00,0x00,0xdd,0x8b,0x00,0x00,0x34,0x59,0x00,0x00, 0x8c,0x51,0x00,0x00,0x47,0x72,0x00,0x00,0x8c,0x8c,0x00,0x00,0x05,0x00,0x00,0x00,0x3a,0x67,0x00,0x00, 0x5e,0x5c,0x00,0x00,0x50,0x4f,0x00,0x00,0xcb,0x53,0x00,0x00,0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00, 0xba,0x4e,0x00,0x00,0x3d,0x4f,0x00,0x00,0x17,0x4f,0x00,0x00,0xa3,0x4f,0x00,0x00,0xe2,0x56,0x00,0x00, 0x3c,0x5c,0x00,0x00,0x1a,0x59,0xa5,0x7c,0x11,0x5c,0x00,0x00,0x9d,0x5b,0x00,0x00,0xd7,0x4f,0x00,0x00, 0x53,0x90,0x00,0x00,0x02,0x00,0x00,0x00,0xec,0x50,0x00,0x00,0xa5,0x4f,0x00,0x00,0x04,0x00,0x00,0x00, 0x8a,0x8d,0x00,0x00,0xfa,0x5e,0x00,0x00,0x3b,0x4e,0x00,0x00,0x3b,0x4e,0x3f,0x65,0xbb,0x6c,0x00,0x00, 0x02,0x00,0x00,0x00,0xc6,0x4e,0x00,0x00,0xcf,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x5c,0x00,0x00, 0x38,0x5c,0x00,0x00,0x01,0x63,0x00,0x00,0x6c,0x78,0x00,0x00,0x16,0x53,0x00,0x00,0x38,0x5c,0x89,0x7c, 0x00,0x00,0x38,0x5c,0xa1,0x80,0x00,0x00,0xf4,0x76,0x00,0x00,0x7b,0x6b,0x00,0x00,0x38,0x5c,0x47,0x72, 0x00,0x00,0x06,0x00,0x00,0x00,0x59,0x97,0x00,0x00,0xdc,0x8f,0x00,0x00,0xe4,0x58,0x00,0x00,0xce,0x91, 0x00,0x00,0xf7,0x5d,0x00,0x00,0x30,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x12,0x62,0x00,0x00,0x03,0x00, 0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb6,0x5b,0x00,0x00,0x66,0x5b,0x00,0x00,0xc5,0x96,0x00,0x00,0x59,0x65,0x00,0x00,0x05,0x80,0x00,0x00, 0x97,0x67,0x00,0x00,0x46,0x55,0x00,0x00,0x1f,0x75,0x00,0x00,0xca,0x91,0x53,0x90,0x00,0x00,0x99,0x5c, 0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x7a,0x00,0x00,0x50,0x5b,0x00,0x00,0x73,0x59,0x00,0x00, 0xd1,0x79,0x00,0x00,0xb3,0x5a,0x00,0x00,0xe5,0x7a,0x82,0x82,0x00,0x00,0xf6,0x65,0x00,0x00,0x48,0x61, 0x1a,0x4f,0x00,0x00,0xb3,0x5a,0x87,0x59,0x00,0x00,0x0f,0x62,0x00,0x00,0x09,0x00,0x00,0x00,0xea,0x81, 0x00,0x00,0x6b,0x9e,0x00,0x00,0xcb,0x7a,0x00,0x00,0x70,0x9e,0x00,0x00,0xb2,0x50,0x00,0x00,0xf3,0x51, 0x00,0x00,0xec,0x81,0x00,0x00,0xf2,0x81,0x00,0x00,0xb0,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xb8,0x8b, 0x00,0x00,0xfa,0x8b,0x00,0x00,0x69,0x6d,0x00,0x00,0x3f,0x51,0x00,0x00,0xb8,0x8b,0x3c,0x50,0x00,0x00, 0xb8,0x8b,0xcf,0x91,0x00,0x00,0xc6,0x51,0x00,0x00,0x28,0x57,0x00,0x00,0xd5,0x71,0x00,0x00,0x53,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x7d,0x00,0x00,0xe6,0x65,0x00,0x00,0x96,0x99,0x00,0x00,0x14,0x6c, 0x00,0x00,0x68,0x56,0xf6,0x4e,0x00,0x00,0xf6,0x51,0x00,0x00,0x01,0x80,0x00,0x00,0xf6,0x4e,0x00,0x00, 0xb5,0x5b,0x82,0x82,0x00,0x00,0x05,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x5f,0x00,0x00,0xb9,0x59, 0x00,0x00,0x7f,0x95,0x00,0x00,0xf0,0x53,0x00,0x00,0x35,0x8d,0x00,0x00,0xc2,0x5a,0x00,0x00,0x1f,0x5f, 0x0b,0x96,0x99,0x58,0x00,0x00,0x1f,0x5f,0x19,0x4f,0x00,0x00,0xa7,0x63,0x00,0x00,0x1f,0x5f,0xe2,0x56, 0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x52,0x00,0x00,0xe1,0x6e,0x00,0x00,0xb3,0x8d,0x00,0x00,0x35,0x75, 0x00,0x00,0x53,0x5f,0x00,0x00,0xd5,0x88,0x00,0x00,0xb3,0x8d,0x87,0x73,0x00,0x00,0x9e,0x5b,0x00,0x00, 0xa5,0x65,0x00,0x00,0x3c,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0xe6,0x74,0x00,0x00,0x30,0x4e,0x00,0x00, 0x1a,0x4e,0x00,0x00,0x34,0x59,0x00,0x00,0x6b,0x8d,0x00,0x00,0x9f,0x9e,0x00,0x00,0x57,0x5b,0x82,0x82, 0x00,0x00,0xfd,0x80,0x00,0x00,0xf0,0x5c,0x00,0x00,0x4d,0x4f,0x00,0x00,0x03,0x00,0x00,0x00,0x1b,0x73, 0x00,0x00,0xe0,0x72,0x00,0x00,0x8b,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x0e,0x54, 0x00,0x00,0xdb,0x8f,0x00,0x00,0x4c,0x88,0x00,0x00,0x4d,0x52,0x00,0x00,0x0b,0x95,0x00,0x00,0x2f,0x66, 0x00,0x00,0x29,0x59,0x00,0x00,0x8b,0x4f,0x00,0x00,0x71,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x4f, 0x00,0x00,0x27,0x59,0x00,0x00,0x0e,0x66,0x00,0x00,0x35,0x75,0x00,0x00,0xbf,0x7e,0x00,0x00,0x07,0x68, 0x00,0x00,0x63,0x83,0x00,0x00,0xa4,0x7e,0x00,0x00,0xaf,0x73,0x00,0x00,0x1f,0x90,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0d,0x67,0x00,0x00,0x97,0x67,0x7f,0x98,0x00,0x00,0xc9,0x62,0x00,0x00,0x36,0x52,0x00,0x00, 0xcc,0x91,0xaf,0x65,0x00,0x00,0x86,0x96,0x00,0x00,0xb1,0x83,0xaf,0x65,0xd2,0x52,0x00,0x00,0xcc,0x91, 0xc6,0x59,0x97,0x67,0xab,0x5b,0x00,0x00,0x57,0x7f,0x30,0x57,0x9a,0x4e,0x00,0x00,0x17,0x67,0x00,0x00, 0x02,0x00,0x00,0x00,0x62,0x63,0x00,0x00,0xb0,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x8d,0x00,0x00, 0xab,0x75,0x00,0x00,0x0e,0x7a,0x00,0x00,0xab,0x75,0x9b,0x52,0x00,0x00,0xbb,0x53,0x00,0x00,0x4c,0x80, 0x00,0x00,0x64,0x96,0x00,0x00,0x81,0x5f,0x00,0x00,0x0e,0x7a,0x97,0x5e,0x00,0x00,0x97,0x5f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x62,0x63,0x00,0x00,0xb0,0x73,0x00,0x00,0xd8,0x4e,0x00,0x00,0x56,0x59,0x00,0x00, 0x34,0x6c,0x00,0x00,0x62,0x63,0x38,0x52,0x00,0x00,0xd6,0x53,0x00,0x00,0xd8,0x4e,0x1f,0x67,0x00,0x00, 0xd8,0x4e,0xe5,0x65,0x00,0x00,0x62,0x63,0xb9,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x54,0x51,0x00,0x00,0x74,0x5e,0x00,0x00,0x89,0x80,0x00,0x00,0x96,0x99,0x00,0x00,0xaf,0x65,0xfa,0x57, 0x00,0x00,0xf2,0x72,0x00,0x00,0x9d,0x5b,0x9d,0x5b,0x00,0x00,0xdb,0x6b,0x00,0x00,0x07,0x55,0x00,0x00, 0x01,0x00,0x00,0x00,0xe5,0x89,0x00,0x00,0x06,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0x64,0x71,0x00,0x00, 0xff,0x77,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xff,0x77,0xc6,0x96,0xe2,0x56,0x09,0x67,0x50,0x96, 0x6c,0x51,0xf8,0x53,0x00,0x00,0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x59,0x00,0x00,0x58,0x54, 0x00,0x00,0xc4,0x7e,0x00,0x00,0x85,0x51,0x00,0x00,0x3f,0x65,0x00,0x00,0x3e,0x6d,0x00,0x00,0x2d,0x4e, 0x2e,0x59,0x00,0x00,0x21,0x68,0x00,0x00,0x96,0x99,0x00,0x00,0x3f,0x65,0x3a,0x67,0x73,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0x2e,0x55,0x00,0x00,0x95,0x5e,0x00,0x00,0xcc,0x91,0x00,0x00,0x5c,0x51,0x00,0x00, 0x87,0x73,0x00,0x00,0xce,0x98,0x00,0x00,0x08,0x57,0x50,0x5b,0x00,0x00,0x70,0x51,0x00,0x00,0x08,0x57, 0x00,0x00,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x51,0x1a,0x4e,0x1a,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x4f,0x4f,0x00,0x00,0xb5,0x4f,0x00,0x00,0xa1,0x80,0x00,0x00,0x83,0x58,0x00,0x00,0xe3,0x53, 0x00,0x00,0x4b,0x62,0x00,0x00,0x66,0x5b,0x00,0x00,0x7b,0x9a,0x00,0x00,0x09,0x90,0x00,0x00,0xf4,0x56, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00,0x03,0x74,0x00,0x00,0xe8,0x90,0x00,0x00,0x62,0x97, 0x00,0x00,0x74,0x5e,0x00,0x00,0x02,0x5e,0x00,0x00,0x01,0x77,0x00,0x00,0xb0,0x65,0x00,0x00,0x9b,0x52, 0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x41,0x53,0x00,0x00,0x66,0x53,0x00,0x00,0x08,0x67, 0x00,0x00,0x00,0x4e,0x00,0x00,0x7e,0x76,0x00,0x00,0x5d,0x4e,0x00,0x00,0xbe,0x8f,0xad,0x5c,0x00,0x00, 0x43,0x53,0x00,0x00,0x94,0x4e,0x00,0x00,0xb9,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xf8,0x53,0x00,0x00, 0x03,0x5e,0x00,0x00,0x00,0x5f,0x00,0x00,0x4a,0x54,0x00,0x00,0x71,0x51,0x00,0x00,0xcc,0x91,0x00,0x00, 0x17,0x4f,0x00,0x00,0x89,0x5b,0x00,0x00,0xef,0x8d,0x00,0x00,0x89,0x5b,0x40,0x5c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x08,0x67,0x00,0x00,0x41,0x53,0x00,0x00,0x03,0x4e,0x00,0x00,0x56,0x79,0x00,0x00,0x00,0x4e, 0x00,0x00,0x08,0x54,0x00,0x00,0x03,0x4e,0x41,0x53,0x00,0x00,0xb9,0x70,0x00,0x00,0x7e,0x76,0x00,0x00, 0xec,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x6e,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00, 0xde,0x5d,0x02,0x5e,0x00,0x00,0xb7,0x5f,0x00,0x00,0xad,0x4e,0x00,0x00,0x79,0x72,0x00,0x00,0xb1,0x82, 0x00,0x00,0x3b,0x85,0x00,0x00,0x70,0x51,0x00,0x00,0x5a,0x53,0xfa,0x57,0x3c,0x5c,0x00,0x00,0x03,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x54,0x00,0x00,0x09,0x67,0x00,0x00,0xa1,0x8b,0x00,0x00,0xc6,0x8b, 0x00,0x00,0x8c,0x54,0x5a,0x51,0x00,0x00,0xab,0x4e,0x00,0x00,0xa7,0x4e,0x5a,0x51,0x00,0x00,0x0c,0x54, 0x3e,0x79,0x00,0x00,0x8c,0x54,0xfd,0x56,0x00,0x00,0x0c,0x54,0x53,0x4f,0x00,0x00,0x01,0x00,0x00,0x00, 0x1d,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x7c,0x00,0x00,0xe8,0x6c,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x2e,0x95,0x00,0x00,0xed,0x95,0x00,0x00,0xc3,0x5f,0x00,0x00,0x54,0x80,0x00,0x00,0x0e,0x7a,0x00,0x00, 0xe3,0x53,0x00,0x00,0x2e,0x95,0xcd,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xa3,0x8d,0x00,0x00,0x1a,0x4e, 0x00,0x00,0x4b,0x59,0x00,0x00,0x77,0x8d,0x00,0x00,0xfa,0x5e,0x00,0x00,0x68,0x51,0x00,0x00,0x4b,0x59, 0x42,0x52,0x00,0x00,0x4e,0x53,0x00,0x00,0xdb,0x76,0x00,0x00,0xfa,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9b,0x52,0x00,0x00,0xe2,0x56,0x00,0x00,0x68,0x56,0x00,0x00,0x6c,0x9a,0xd1,0x4f,0x00,0x00,0x25,0x84, 0x00,0x00,0x79,0x5f,0x00,0x00,0xd5,0x6c,0x00,0x00,0xcd,0x79,0x00,0x00,0xe5,0x5d,0x82,0x53,0x00,0x00, 0x75,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0xd6,0x4e,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x21,0x6b,0x00,0x00,0x83,0x5b,0x00,0x00,0x59,0x4f,0x00,0x00,0x0e,0x54,0x00,0x00,0xf4,0x95,0x00,0x00, 0x00,0x4e,0x00,0x00,0x8c,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0x53,0x4f,0x00,0x00, 0x07,0x59,0x00,0x00,0x0d,0x54,0x00,0x00,0xb3,0x8d,0x00,0x00,0x53,0x4f,0x16,0x53,0x00,0x00,0x61,0x8c, 0x00,0x00,0x53,0x4f,0xf4,0x8b,0x65,0x67,0x00,0x00,0x61,0x8c,0x16,0x53,0x00,0x00,0xb3,0x8d,0xe0,0x65, 0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x57,0x00,0x00,0x3c,0x79,0x00,0x00,0x53,0x5f,0x00,0x00, 0x03,0x83,0x00,0x00,0x4d,0x7c,0x00,0x00,0xc5,0x96,0x00,0x00,0x45,0x65,0x00,0x00,0xcf,0x85,0x00,0x00, 0x8b,0x57,0x27,0x60,0x00,0x00,0xe0,0x7a,0x00,0x00,0x05,0x00,0x00,0x00,0x57,0x7f,0xd0,0x63,0x00,0x00, 0x29,0x52,0x66,0x57,0x00,0x00,0x8b,0x4e,0x53,0x4f,0x27,0x59,0x00,0x00,0x83,0x6c,0xd2,0x52,0x00,0x00, 0xe0,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x1f,0x75,0x00,0x00,0x01,0x80,0xd1,0x91, 0x00,0x00,0x96,0x6b,0x00,0x00,0x10,0x62,0x00,0x00,0x96,0x6b,0x37,0x62,0x00,0x00,0x01,0x80,0x62,0x96, 0x00,0x00,0x9c,0x98,0x00,0x00,0x2a,0x73,0x00,0x00,0xa4,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x80, 0x00,0x00,0x76,0x5e,0x00,0x00,0x7e,0x98,0x00,0x00,0xfb,0x4e,0x00,0x00,0xb9,0x5b,0x00,0x00,0x77,0x51, 0x00,0x00,0xb9,0x5b,0x27,0x60,0x00,0x00,0x07,0x59,0x00,0x00,0x97,0x5f,0x00,0x00,0x0b,0x7a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3b,0x53,0x00,0x00,0x6f,0x83,0x00,0x00,0x96,0x99,0x00,0x00,0x7d,0x51,0x00,0x00, 0x27,0x60,0x00,0x00,0x7b,0x7c,0x00,0x00,0x28,0x75,0x00,0x00,0xba,0x4e,0x00,0x00,0x62,0x97,0x00,0x00, 0x3b,0x53,0xd9,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0x1c,0x4e,0x00,0x00,0x1b,0x67, 0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xde,0x5d,0x00,0x00,0x17,0x53,0x00,0x00,0x57,0x53,0x00,0x00, 0xdf,0x5b,0x00,0x00,0x2d,0x4e,0x57,0x53,0x00,0x00,0xfe,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x5b, 0x00,0x00,0xe8,0x90,0x00,0x00,0x30,0x57,0x00,0x00,0xc3,0x5f,0x00,0x00,0x99,0x84,0xe4,0x53,0x00,0x00, 0x55,0x5e,0x00,0x00,0x01,0x96,0x00,0x00,0x00,0x97,0x00,0x00,0x28,0x57,0x00,0x00,0xb5,0x6d,0x00,0x00, 0x0a,0x00,0x00,0x00,0x52,0x66,0x00,0x00,0x5c,0x4e,0x00,0x00,0x22,0x56,0x00,0x00,0xa9,0x54,0x00,0x00, 0x97,0x54,0x00,0x00,0x81,0x54,0x00,0x00,0xdf,0x98,0x00,0x00,0xc3,0x5f,0x3a,0x67,0x00,0x00,0x26,0x5e, 0x00,0x00,0x5c,0x4e,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2c,0x67,0x00,0x00,0xd4,0x6b,0x9a,0x4e, 0x00,0x00,0x71,0x5c,0x00,0x00,0x0e,0x5d,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0xe6,0x74,0xb3,0x7e, 0x00,0x00,0xc1,0x4e,0xe2,0x6c,0x50,0x9f,0x00,0x00,0x95,0x5e,0xaf,0x65,0x71,0x5c,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x95,0x5e,0xaf,0x65,0x71,0x5c,0x09,0x81,0x00,0x00,0x03,0x00,0x00,0x00,0x89,0x51,0x00,0x00, 0xb6,0x5b,0x5d,0x57,0x00,0x00,0x89,0x51,0x0a,0x4e,0x47,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x75,0x98, 0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x5c,0x00,0x00,0x01,0x5c,0x7f,0x4f,0x00,0x00,0x70,0x65,0x00,0x00, 0x9c,0x5e,0x43,0x51,0x9f,0x9f,0x00,0x00,0xa8,0x4e,0xbf,0x53,0x00,0x00,0xcb,0x7a,0x00,0x00,0xa8,0x4e, 0x00,0x00,0x21,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x21,0x6b,0x00,0x00,0xa6,0x5e,0x00,0x00,0x1f,0x75, 0x00,0x00,0xf4,0x8b,0x00,0x00,0xb0,0x73,0x00,0x00,0xc1,0x89,0x00,0x00,0x05,0x80,0x00,0x00,0x09,0x4e, 0x00,0x00,0x20,0x90,0x00,0x00,0x0d,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x7f,0x53,0x00,0x00,0xfa,0x5b, 0x00,0x00,0x7b,0x5f,0x00,0x00,0x67,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x96,0x00,0x00,0x45,0x51, 0x00,0x00,0xdf,0x70,0x00,0x00,0xaf,0x72,0x00,0x00,0xe8,0x96,0x00,0x00,0x28,0x75,0x00,0x00,0x86,0x98, 0x00,0x00,0x4c,0x72,0x00,0x00,0xdb,0x8f,0x00,0x00,0xe1,0x6c,0x00,0x00,0x03,0x00,0x00,0x00,0x81,0x5b, 0xbf,0x53,0x00,0x00,0x81,0x5b,0x00,0x00,0xd2,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x95,0x00,0x00, 0x59,0x4f,0x00,0x00,0x58,0x54,0x00,0x00,0x42,0x67,0x00,0x00,0x41,0x7e,0x00,0x00,0x98,0x5b,0x00,0x00, 0x58,0x8d,0x00,0x00,0xcd,0x8b,0x00,0x00,0x75,0x51,0x00,0x00,0x39,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x53,0x90,0x00,0x00,0x5c,0x4f,0x00,0x00,0x57,0x5b,0x7c,0x69,0x00,0x00,0x65,0x51,0x00,0x00,0xe1,0x4f, 0x00,0x00,0x67,0x71,0x00,0x00,0x57,0x5b,0x00,0x00,0x9e,0x5b,0x00,0x00,0x4b,0x62,0x00,0x00,0x1f,0x77, 0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x1f,0x96,0x00,0x00,0xb9,0x65,0x00,0x00,0xba,0x4e, 0x00,0x00,0x14,0x6f,0x00,0x00,0x3a,0x53,0x00,0x00,0x30,0x82,0x00,0x00,0xe5,0x5d,0x00,0x00,0x98,0x5b, 0x00,0x00,0x28,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x51,0x67,0x00,0x00,0x1a,0x4e,0x00,0x00,0x11,0x6c, 0x00,0x00,0x11,0x6c,0xe5,0x5d,0x00,0x00,0xa7,0x4e,0xc1,0x54,0x00,0x00,0x6f,0x83,0x00,0x00,0x1a,0x4e, 0xe8,0x90,0x00,0x00,0x4c,0x88,0x00,0x00,0x37,0x62,0x00,0x00,0x3a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9b,0x51,0x00,0x00,0xc3,0x5f,0xc5,0x75,0x00,0x00,0x0d,0x54,0x00,0x00,0xb6,0x72,0x00,0x00,0xe5,0x4e, 0x00,0x00,0x57,0x5b,0xf7,0x53,0x00,0x00,0x0d,0x54,0x43,0x67,0x00,0x00,0x95,0x51,0x02,0x58,0x87,0x76, 0x00,0x00,0x4e,0x53,0x00,0x00,0x77,0x63,0x00,0x00,0x01,0x00,0x00,0x00,0x2d,0x4e,0xaf,0x67,0xa8,0x9a, 0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x67,0x00,0x00,0xb6,0x5b,0x00,0x00,0x48,0x68,0x00,0x00,0x47,0x50, 0x19,0x95,0x48,0x68,0x00,0x00,0x89,0x67,0xb1,0x94,0x00,0x00,0x27,0x59,0x34,0x59,0x00,0x00,0x48,0x5c, 0x00,0x00,0x42,0x9b,0x00,0x00,0xf1,0x72,0x00,0x00,0xc7,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x73, 0x1f,0x66,0x00,0x00,0x8b,0x73,0x00,0x00,0xf3,0x60,0x00,0x00,0x4c,0x75,0x00,0x00,0xa5,0x51,0x00,0x00, 0x01,0x5e,0x00,0x00,0xa5,0x51,0x4b,0x4e,0x2d,0x4e,0x00,0x00,0x9c,0x5e,0x00,0x00,0x1d,0x60,0xe6,0x82, 0xf3,0x60,0x00,0x00,0x08,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59,0x00,0x00,0x63,0x5b,0x00,0x00, 0xdc,0x74,0x00,0x00,0x6b,0x86,0x0f,0x59,0x49,0x83,0x00,0x00,0xe5,0x65,0x00,0x00,0x65,0x59,0x1a,0x4f, 0x00,0x00,0xf3,0x81,0x00,0x00,0x20,0x77,0x00,0x00,0xac,0x51,0x00,0x00,0xc5,0x88,0x00,0x00,0x0a,0x00, 0x00,0x00,0x89,0x73,0x65,0x79,0x00,0x00,0xa5,0x9a,0x4d,0x62,0x00,0x00,0x51,0x67,0x00,0x00,0xa6,0x68, 0x99,0x9f,0x00,0x00,0x7e,0x6e,0x51,0x67,0x00,0x00,0xb6,0x5b,0x47,0x95,0x00,0x00,0xb7,0x5f,0xf1,0x82, 0x00,0x00,0xa6,0x7a,0x2f,0x4f,0x00,0x00,0x85,0x51,0x9c,0x67,0x00,0x00,0x65,0x68,0x61,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb1,0x7b,0x00,0x00,0x9b,0x5c,0x00,0x00,0xd6,0x7c,0x00,0x00,0xf9,0x96,0x00,0x00, 0xbb,0x51,0x00,0x00,0xdd,0x5d,0x00,0x00,0xea,0x96,0x00,0x00,0xb7,0x51,0x00,0x00,0xc7,0x6d,0xcb,0x6d, 0x00,0x00,0xd2,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x7a,0x00,0x00,0xfb,0x51,0x00,0x00,0xa8,0x52, 0x00,0x00,0xf3,0x7e,0x00,0x00,0xd8,0x9a,0x00,0x00,0x3a,0x52,0x00,0x00,0x17,0x6d,0x00,0x00,0xf3,0x7e, 0xbf,0x53,0x00,0x00,0x34,0x78,0x00,0x00,0xe1,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00, 0x56,0x7b,0x00,0x00,0xae,0x8b,0x00,0x00,0xc3,0x5f,0x00,0x00,0x5b,0x8d,0x00,0x00,0x97,0x7b,0x00,0x00, 0x9a,0x5b,0x27,0x60,0x00,0x00,0x0d,0x4e,0x00,0x00,0x56,0x7b,0x05,0x80,0x00,0x00,0x56,0x7b,0x42,0x5c, 0x00,0x00,0x02,0x00,0x00,0x00,0x14,0x4e,0x00,0x00,0x73,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xbc,0x70, 0x00,0x00,0xd1,0x91,0x00,0x00,0xbc,0x70,0x82,0x53,0x00,0x00,0xd1,0x91,0x26,0x71,0x00,0x00,0xd1,0x91, 0x64,0x71,0x00,0x00,0xa2,0x94,0x00,0x00,0xd1,0x91,0xe8,0x90,0x00,0x00,0xbc,0x70,0x89,0x70,0x00,0x00, 0x38,0x6e,0x00,0x00,0xf8,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x97,0x00,0x00,0x7a,0x7a,0x14,0x6c, 0x00,0x00,0x18,0x62,0x00,0x00,0xbb,0x51,0x00,0x00,0x74,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x05,0x6e, 0x00,0x00,0x20,0x6f,0x00,0x00,0xe1,0x6d,0x00,0x00,0xcf,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0xd3,0x7e, 0x00,0x00,0x7b,0x6b,0x00,0x00,0xe8,0x96,0x00,0x00,0xae,0x75,0x00,0x00,0x24,0x4f,0x00,0x00,0x2a,0x73, 0x89,0x80,0x00,0x00,0xc1,0x54,0x00,0x00,0x89,0x80,0x00,0x00,0x72,0x5e,0x00,0x00,0x1f,0x57,0x00,0x00, 0x02,0x00,0x00,0x00,0x51,0x67,0x00,0x00,0x1f,0x66,0x77,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0xbd,0x51, 0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0xa6,0x6d,0x00,0x00,0x3c,0x50,0x00,0x00,0x44,0x8d,0xa7,0x4e, 0x00,0x00,0x29,0x52,0x00,0x00,0x16,0x53,0x00,0x00,0x1f,0x57,0x00,0x00,0x7a,0x7a,0x00,0x00,0x16,0x53, 0x68,0x56,0x00,0x00,0x6f,0x60,0xee,0x5d,0x00,0x00,0x29,0x52,0x87,0x73,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc9,0x51,0x00,0x00,0xe8,0x60,0x00,0x00,0x8e,0x7f,0x00,0x00,0x89,0x53,0x00,0x00,0xe6,0x82,0x00,0x00, 0xce,0x98,0xe6,0x82,0xe8,0x96,0x00,0x00,0x36,0x71,0x00,0x00,0xc4,0x51,0x00,0x00,0xc4,0x51,0xe8,0x60, 0xe8,0x60,0x00,0x00,0x5a,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x59,0x00,0x00,0x6e,0x78,0x00,0x00, 0x19,0x52,0x00,0x00,0x65,0x51,0x00,0x00,0x07,0x59,0xd1,0x91,0x87,0x73,0x00,0x00,0x07,0x59,0xd1,0x91, 0x00,0x00,0xf6,0x65,0x00,0x00,0x6e,0x78,0x27,0x60,0x00,0x00,0xb8,0x8b,0x00,0x00,0x1f,0x75,0xc1,0x8b, 0x00,0x00,0x01,0x00,0x00,0x00,0x79,0x86,0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x83,0x00,0x00, 0xcc,0x62,0x00,0x00,0x34,0x6c,0x00,0x00,0x3d,0x72,0x00,0x00,0xeb,0x5f,0x00,0x00,0x8b,0x97,0x00,0x00, 0xdc,0x83,0x00,0x00,0x2d,0x5e,0x00,0x00,0x71,0x5c,0x00,0x00,0xae,0x76,0x00,0x00,0x08,0x00,0x00,0x00, 0xf6,0x96,0x00,0x00,0xa1,0x4e,0x00,0x00,0x22,0x8c,0x00,0x00,0x5d,0x65,0x00,0x00,0x3d,0x84,0x00,0x00, 0x8b,0x6b,0x00,0x00,0x3d,0x85,0x00,0x00,0x25,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x66,0x00,0x00, 0x71,0x4e,0x00,0x00,0x89,0x53,0x00,0x00,0x7e,0x9a,0x00,0x00,0x7a,0x7a,0x00,0x00,0xa8,0x52,0x00,0x00, 0xe5,0x65,0x00,0x00,0xb1,0x8f,0x00,0x00,0xd7,0x5f,0x00,0x00,0xdf,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x11,0x5c,0x00,0x00,0x01,0x63,0x00,0x00,0xa5,0x80,0x00,0x00,0x7b,0x8f,0x00,0x00,0x92,0x63,0x00,0x00, 0x31,0x5f,0x00,0x00,0x0e,0x7a,0x00,0x00,0xd3,0x4e,0x00,0x00,0x1f,0x90,0x00,0x00,0x13,0x7f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0xed,0x70,0xf9,0x95,0x00,0x00,0xe7,0x5d,0x00,0x00,0xd1,0x8f, 0x00,0x00,0xb3,0x8d,0x00,0x00,0x70,0x65,0x00,0x00,0x3b,0x6d,0x00,0x00,0xfd,0x4e,0x50,0x5b,0x00,0x00, 0x55,0x53,0x00,0x00,0xc6,0x96,0x00,0x00,0x05,0x00,0x00,0x00,0xbd,0x51,0x00,0x00,0x36,0x71,0x00,0x00, 0xdb,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x75,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x80,0x00,0x00, 0xfa,0x56,0x00,0x00,0x5a,0x80,0x9b,0x52,0x00,0x00,0xd3,0x7e,0x00,0x00,0xf6,0x80,0x00,0x00,0xc6,0x89, 0x00,0x00,0x40,0x88,0x00,0x00,0xcd,0x91,0x00,0x00,0xbb,0x51,0x00,0x00,0x1b,0x67,0x00,0x00,0x0a,0x00, 0x00,0x00,0x4e,0x4e,0x00,0x00,0x41,0x53,0x00,0x00,0x7e,0x76,0x00,0x00,0x87,0x73,0x00,0x00,0x43,0x53, 0x00,0x00,0x41,0x53,0x07,0x4e,0x00,0x00,0x07,0x4e,0x00,0x00,0x55,0x4f,0x00,0x00,0x7e,0x76,0x07,0x4e, 0x00,0x00,0x43,0x53,0x07,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x5b,0x00,0x00,0x2f,0x66,0x00,0x00, 0x2b,0x59,0x00,0x00,0x8b,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0xeb,0x58,0x97,0x67,0x00,0x00,0x23,0x57, 0x00,0x00,0x14,0x5c,0xb3,0x7e,0x00,0x00,0x2b,0x59,0xd7,0x4f,0x50,0x5b,0x00,0x00,0x14,0x5c,0x5b,0x8d, 0xab,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x51,0x00,0x00,0xf0,0x51,0xe4,0x53,0xce,0x57,0x00,0x00, 0xf0,0x51,0x51,0x7f,0x00,0x00,0xf0,0x51,0xbf,0x53,0x00,0x00,0xdb,0x6b,0x9f,0x9e,0xd2,0x89,0x00,0x00, 0xe2,0x5d,0x00,0x00,0xd0,0x59,0x00,0x00,0xa8,0x68,0x00,0x00,0xf0,0x51,0xce,0x57,0x00,0x00,0x33,0x96, 0x00,0x00,0x02,0x00,0x00,0x00,0x08,0x83,0x00,0x00,0xc1,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x50, 0x00,0x00,0xc1,0x8b,0x00,0x00,0x40,0x77,0x00,0x00,0x7a,0x7a,0x00,0x00,0x6e,0x63,0x00,0x00,0xc1,0x8b, 0x0f,0x5f,0x00,0x00,0x0a,0x54,0x00,0x00,0x65,0x79,0x00,0x00,0x7a,0x7a,0x4f,0x63,0x20,0x90,0x00,0x00, 0xc0,0x4e,0x48,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x79,0x72,0x00,0x00,0x87,0x65,0x00,0x00,0x5f,0x74, 0x33,0x74,0x00,0x00,0xcb,0x65,0x00,0x00,0xaf,0x65,0x00,0x00,0xcc,0x91,0x00,0x00,0xea,0x8f,0xc9,0x62, 0x4b,0x51,0x00,0x00,0x7f,0x89,0x00,0x00,0x69,0x60,0xaf,0x65,0x00,0x00,0x89,0x83,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x62,0x00,0x00,0x1b,0x73,0x00,0x00,0x8b,0x6b, 0x00,0x00,0x68,0x56,0x00,0x00,0x40,0x67,0x48,0x68,0x00,0x00,0xe0,0x72,0x00,0x00,0x40,0x67,0x00,0x00, 0x48,0x68,0x00,0x00,0x69,0x96,0x00,0x00,0x1f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x66,0x00,0x00, 0x77,0x8d,0x00,0x00,0xfa,0x51,0x00,0x00,0xb0,0x73,0x00,0x00,0xb9,0x70,0x00,0x00,0x0f,0x90,0x5c,0x95, 0x00,0x00,0x6e,0x8f,0x00,0x00,0x6e,0x8f,0x74,0x8f,0x00,0x00,0x62,0x97,0x00,0x00,0xf9,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0x77,0x96,0x00,0x00,0xf8,0x51,0x00,0x00,0xf8,0x51,0x0d,0x4e,0x73,0x5e,0x00,0x00, 0xfd,0x69,0x00,0x00,0x51,0x57,0x00,0x00,0xf8,0x51,0xfc,0x66,0x00,0x00,0xf8,0x51,0x09,0x67,0xf4,0x81, 0x00,0x00,0xd5,0x75,0x00,0x00,0xf8,0x51,0x1f,0x61,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb0,0x73,0x00,0x00,0x65,0x67,0x00,0x00,0xe3,0x53,0x00,0x00,0xf0,0x53,0x00,0x00,0x2e,0x55,0x00,0x00, 0xbb,0x53,0x00,0x00,0x48,0x72,0x00,0x00,0x1f,0x75,0x00,0x00,0x2d,0x5e,0x00,0x00,0xdf,0x79,0x66,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd9,0x6b,0x00,0x00,0x2d,0x4e,0x00,0x00,0x25,0x8d,0x00,0x00,0x3d,0x84, 0x00,0x00,0x7f,0x7a,0x00,0x00,0x00,0x90,0x00,0x00,0x53,0x62,0x00,0x00,0x34,0x78,0x00,0x00,0x13,0x9f, 0x00,0x00,0x24,0x4f,0x00,0x00,0x03,0x00,0x00,0x00,0xd4,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0xa5,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x65,0x00,0x00,0xf6,0x4e,0x00,0x00,0x88,0x63,0x00,0x00,0x4a,0x54, 0x00,0x00,0x37,0x8c,0x73,0x51,0x00,0x00,0xc1,0x8b,0x00,0x00,0x35,0x75,0x00,0x00,0x70,0x65,0x3c,0x50, 0x00,0x00,0x86,0x99,0x00,0x00,0xe2,0x8b,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xff,0x51, 0x00,0x00,0x7a,0x7a,0x00,0x00,0xa9,0x5c,0x00,0x00,0xa9,0x5c,0x3a,0x67,0x00,0x00,0x98,0x67,0x00,0x00, 0x95,0x4e,0x00,0x00,0xf3,0x77,0x3a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x51,0x00,0x00,0x50,0x5b, 0x00,0x00,0x03,0x52,0x00,0x00,0x47,0x72,0x00,0x00,0x7c,0x9c,0x00,0x00,0x0b,0x95,0x00,0x00,0x24,0x4f, 0x00,0x00,0xe3,0x53,0x00,0x00,0x16,0x5c,0x00,0x00,0x75,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x96, 0x00,0x00,0xbb,0x94,0x00,0x00,0x11,0x6c,0x00,0x00,0xf4,0x7e,0x17,0x52,0x00,0x00,0xee,0x86,0x00,0x00, 0xd1,0x6e,0x00,0x00,0x87,0x59,0x00,0x00,0x7d,0x98,0x00,0x00,0x8a,0x7f,0x00,0x00,0x8d,0x60,0x00,0x00, 0x05,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x77,0x51,0x00,0x00,0xe8,0x78,0x00,0x00,0xcf,0x91,0x77,0x51, 0x00,0x00,0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x90,0x67,0x00,0x00,0x2b,0x52,0x00,0x00,0x9f,0x94, 0x00,0x00,0x90,0x67,0x08,0x5e,0x00,0x00,0x4d,0x91,0x00,0x00,0xab,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00, 0xa2,0x7e,0x00,0x00,0x7b,0x7c,0x00,0x00,0x3a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x9e,0x5b,0x00,0x00, 0xad,0x65,0x00,0x00,0x62,0x63,0x00,0x00,0x72,0x52,0x00,0x00,0x64,0x96,0x00,0x00,0xab,0x8e,0x00,0x00, 0x65,0x51,0x00,0x00,0x47,0x72,0x00,0x00,0xcc,0x5f,0x00,0x00,0x00,0x5f,0x00,0x00,0x02,0x00,0x00,0x00, 0xbd,0x7f,0x00,0x00,0x05,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x76,0x00,0x00,0xd1,0x53,0x00,0x00, 0x69,0x72,0x00,0x00,0x7d,0x8f,0x00,0x00,0xfa,0x51,0x00,0x00,0x87,0x65,0x00,0x00,0x4c,0x88,0x00,0x00, 0xf7,0x53,0x00,0x00,0x2c,0x67,0x00,0x00,0x70,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xae,0x8b,0x00,0x00, 0x62,0x8c,0x00,0x00,0x5b,0x83,0x00,0x00,0xae,0x7c,0x00,0x00,0xe3,0x79,0x00,0x00,0x01,0x00,0x00,0x00, 0x88,0x98,0xa4,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0xd5,0x6c,0x00,0x00,0x66,0x8b, 0x00,0x00,0xa6,0x4f,0x00,0x00,0x5a,0x7f,0x00,0x00,0x1f,0x67,0x00,0x00,0xaf,0x8b,0x00,0x00,0x8b,0x4e, 0xc9,0x8b,0xbc,0x8b,0xd5,0x6c,0x00,0x00,0x8b,0x4e,0xaf,0x72,0x6a,0x7f,0x00,0x00,0xc9,0x8b,0xd5,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x52,0x00,0x00,0x97,0x7b,0x00,0x00,0x9a,0x5b,0x00,0x00,0xe8,0x62, 0x00,0x00,0x52,0x5f,0x00,0x00,0x24,0x4f,0x00,0x00,0xd5,0x75,0x00,0x00,0x05,0x6e,0x00,0x00,0xbe,0x8b, 0x00,0x00,0xf6,0x65,0xe3,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x65,0x51,0x00,0x00, 0x3a,0x4e,0x00,0x00,0xfa,0x51,0x00,0x00,0x3e,0x4e,0x00,0x00,0x68,0x88,0x00,0x00,0x81,0x5b,0x00,0x00, 0x2f,0x65,0x00,0x00,0x2d,0x5e,0x00,0x00,0x1f,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00, 0xb6,0x5b,0x00,0x00,0x11,0x5c,0x47,0x59,0x00,0x00,0x10,0x62,0x00,0x00,0x91,0x4e,0x71,0x5c,0x00,0x00, 0x01,0x80,0x00,0x00,0x0f,0x6c,0x00,0x00,0x3b,0x4e,0xfb,0x4e,0x00,0x00,0xb6,0x5b,0x91,0x7a,0x00,0x00, 0x6c,0x51,0x9b,0x5c,0x00,0x00,0x09,0x00,0x00,0x00,0xe0,0x65,0x00,0x00,0x65,0x6b,0x86,0x96,0x00,0x00, 0x2a,0x4e,0x00,0x00,0x51,0x65,0x4b,0x4e,0x00,0x00,0xc9,0x62,0xcd,0x96,0xf2,0x4e,0xfa,0x5b,0x00,0x00, 0xa3,0x8f,0xd1,0x9e,0x00,0x00,0xf0,0x58,0x00,0x00,0x3a,0x4e,0x00,0x00,0xf2,0x5d,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1a,0x52,0x00,0x00,0x4d,0x62,0x00,0x00,0x27,0x60,0x00,0x00,0x7d,0x59,0x00,0x00,0x9c,0x67, 0x00,0x00,0x3a,0x5f,0x00,0x00,0xc5,0x6b,0x00,0x00,0x53,0x4f,0x00,0x00,0x89,0x73,0x00,0x00,0xc8,0x70, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x65,0x00,0x00,0x1a,0x4e,0x7f,0x67,0x00,0x00,0x20,0x90,0x00,0x00, 0x1a,0x4e,0x00,0x00,0xcb,0x59,0xba,0x4e,0x00,0x00,0x0b,0x4e,0x00,0x00,0x0f,0x61,0x00,0x00,0x5c,0x4f, 0x00,0x00,0xfa,0x5e,0x00,0x00,0xfa,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x6b,0x00,0x00,0x1f,0x67, 0x00,0x00,0x2d,0x4e,0x00,0x00,0x77,0x88,0x00,0x00,0xa7,0x7e,0x00,0x00,0xcb,0x59,0x00,0x00,0x3c,0x50, 0x00,0x00,0xa1,0x5b,0x00,0x00,0x1b,0x52,0x00,0x00,0x21,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x64,0x96, 0x00,0x00,0x16,0x5e,0x00,0x00,0xcf,0x51,0x00,0x00,0x82,0x82,0x00,0x00,0x39,0x65,0x00,0x00,0x34,0x8d, 0x00,0x00,0x63,0x68,0x00,0x00,0xf7,0x53,0x00,0x00,0x41,0x7e,0x31,0x5c,0x80,0x7b,0x00,0x00,0x89,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x65,0x00,0x00,0xb3,0x51,0x00,0x00,0x04,0x59,0x00,0x00,0x9a,0x5b, 0x00,0x00,0x11,0x52,0x00,0x00,0xb3,0x51,0x66,0x4e,0x00,0x00,0xad,0x65,0x9b,0x52,0x00,0x00,0x5a,0x7f, 0x00,0x00,0x2b,0x52,0x00,0x00,0x8b,0x4f,0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x85,0x58, 0x00,0x00,0xb6,0x5b,0x00,0x00,0x04,0x59,0x00,0x00,0xed,0x73,0x00,0x00,0xfd,0x56,0x00,0x00,0x71,0x4e, 0x00,0x00,0xe2,0x56,0x00,0x00,0x88,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x64,0x96,0x00,0x00,0x39,0x68, 0xee,0x95,0x95,0x5e,0x00,0x00,0xb0,0x51,0x00,0x00,0xb1,0x82,0x7f,0x67,0x00,0x00,0x50,0x5b,0x00,0x00, 0xb1,0x82,0x00,0x00,0xdf,0x98,0x00,0x00,0x00,0x52,0x00,0x00,0x39,0x68,0x00,0x00,0x8a,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x87,0x73,0x00,0x00,0x28,0x75,0x00,0x00,0xa6,0x6d,0x00,0x00,0xca,0x76,0x00,0x00, 0x7d,0x59,0x00,0x00,0x6f,0x60,0x00,0x00,0xd4,0x6b,0x9a,0x4e,0x00,0x00,0x8e,0x4e,0x00,0x00,0xa6,0x6d, 0x87,0x73,0x00,0x00,0x7a,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x84,0x76,0x00,0x00, 0x85,0x58,0x00,0x00,0xfd,0x56,0x00,0x00,0x04,0x59,0x00,0x00,0x6d,0x62,0x00,0x00,0x4b,0x51,0x00,0x00, 0x09,0x67,0x28,0x75,0xc3,0x5f,0x00,0x00,0xd0,0x63,0x00,0x00,0xe0,0x65,0x09,0x90,0xe9,0x62,0x00,0x00, 0x0a,0x00,0x00,0x00,0xee,0x76,0xf8,0x76,0x0b,0x77,0x00,0x00,0xce,0x98,0x00,0x00,0xe7,0x75,0x00,0x00, 0xe1,0x80,0x50,0x5b,0x00,0x00,0xe6,0x64,0x00,0x00,0x2e,0x52,0x50,0x4e,0x00,0x00,0x6d,0x8e,0x00,0x00, 0x00,0x5f,0x00,0x00,0x24,0x4f,0x00,0x00,0xab,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x95,0x5e,0x00,0x00, 0x1f,0x67,0x00,0x00,0xbe,0x8f,0x00,0x00,0x65,0x67,0x00,0x00,0x4d,0x4f,0x00,0x00,0x04,0x59,0x00,0x00, 0x3a,0x57,0x00,0x00,0x4b,0x62,0x00,0x00,0xbf,0x8b,0x00,0x00,0xf6,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa6,0x5e,0x00,0x00,0x9a,0x5b,0x00,0x00,0x20,0x90,0x00,0x00,0x20,0x90,0x1a,0x4e,0x00,0x00,0x5c,0x4f, 0x00,0x00,0xc1,0x88,0x00,0x00,0x6f,0x83,0x00,0x00,0xa6,0x7e,0x00,0x00,0x20,0x90,0x46,0x55,0x00,0x00, 0xc1,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x65,0x00,0x00,0x59,0x72,0x00,0x00,0x61,0x53,0x00,0x00, 0x50,0x5b,0x00,0x00,0x3a,0x67,0x00,0x00,0x4f,0x5c,0x00,0x00,0x68,0x79,0x00,0x00,0x37,0x52,0x00,0x00, 0x78,0x91,0x00,0x00,0x61,0x53,0x39,0x8d,0x87,0x73,0x00,0x00,0x08,0x00,0x00,0x00,0x46,0x55,0x00,0x00, 0xcd,0x79,0x00,0x00,0x1a,0x4e,0x00,0x00,0x90,0x6e,0x00,0x00,0x2b,0x52,0x00,0x00,0x62,0x97,0x00,0x00, 0x65,0x68,0x61,0x4e,0x00,0x00,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0xa3,0x90, 0x00,0x00,0x4f,0x4f,0x00,0x00,0xa3,0x90,0xf4,0x95,0x00,0x00,0x1f,0x57,0x00,0x00,0x66,0x8f,0x47,0x72, 0x00,0x00,0x1d,0x5e,0x29,0x52,0x00,0x00,0x66,0x8f,0xf0,0x58,0x00,0x00,0x66,0x8f,0xd8,0x76,0x00,0x00, 0x66,0x8f,0x6f,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xc0,0x6f,0x00,0x00,0xc0,0x6f,0x27,0x60,0x00,0x00, 0x3b,0x9f,0x00,0x00,0x40,0x67,0x00,0x00,0x24,0x4f,0x00,0x00,0x2c,0x73,0x00,0x00,0xa2,0x5b,0x00,0x00, 0x3c,0x77,0x00,0x00,0xe3,0x7e,0x00,0x00,0x33,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x61,0x00,0x00, 0x0d,0x4e,0xb9,0x5b,0x13,0x7f,0x00,0x00,0x3b,0x75,0x00,0x00,0xe6,0x82,0x00,0x00,0xa8,0x9a,0xed,0x94, 0xc3,0x5f,0x00,0x00,0x7f,0x67,0x00,0x00,0x84,0x85,0x00,0x00,0xa6,0x5e,0x00,0x00,0x2c,0x67,0x00,0x00, 0x7f,0x67,0x70,0x53,0x61,0x8c,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x4b,0x62,0x00,0x00,0x01,0x00, 0x00,0x00,0x07,0x52,0x00,0x00,0x01,0x00,0x00,0x00,0x8e,0x78,0x00,0x00,0x06,0x00,0x00,0x00,0xcf,0x91, 0x00,0x00,0x8b,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0xcf,0x91,0x53,0x5f,0xcf,0x91,0x00,0x00,0xcf,0x91, 0x48,0x65,0x94,0x5e,0x00,0x00,0xcf,0x91,0xd1,0x76,0xa7,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x52, 0x00,0x00,0x7b,0x98,0x00,0x52,0x00,0x00,0x34,0x59,0x00,0x00,0xa6,0x5e,0x00,0x00,0x49,0x51,0x34,0x59, 0x00,0x00,0xdb,0x6b,0x00,0x00,0x89,0x63,0x00,0x00,0x7b,0x98,0x00,0x00,0xd1,0x53,0x00,0x00,0x7b,0x98, 0x8f,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xb0,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x51,0x00,0x00, 0x31,0x5f,0x00,0x00,0xf0,0x5c,0x00,0x00,0x71,0x5c,0x00,0x00,0x16,0x5c,0x00,0x00,0x73,0x5e,0x00,0x00, 0xa8,0x9a,0x00,0x00,0xf7,0x4e,0x00,0x00,0xd1,0x53,0x00,0x00,0x62,0x97,0x00,0x00,0x02,0x00,0x00,0x00, 0xc0,0x6f,0x00,0x00,0xf6,0x53,0x0e,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x80,0x5f,0x00,0x00,0x6f,0x66, 0x00,0x00,0x1f,0x67,0x00,0x00,0xd0,0x63,0x00,0x00,0x62,0x97,0x00,0x00,0x0e,0x54,0x00,0x00,0x65,0x67, 0x00,0x00,0x05,0x80,0x00,0x00,0xdb,0x8f,0x00,0x00,0x77,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x8f, 0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x8e,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x68,0x00,0x00,0x73,0x5e, 0x00,0x00,0x07,0x63,0x00,0x00,0xe2,0x6c,0x00,0x00,0x57,0x53,0x25,0x66,0x00,0x00,0xd4,0x62,0x29,0x5f, 0x20,0x5f,0x00,0x00,0xa0,0x4f,0x00,0x00,0x87,0x65,0x00,0x00,0x66,0x6b,0x00,0x00,0xa2,0x5b,0x00,0x00, 0x06,0x00,0x00,0x00,0x64,0x96,0x00,0x00,0xfa,0x51,0x00,0x00,0x0f,0x90,0x00,0x00,0x59,0x72,0x00,0x00, 0xa8,0x9a,0x00,0x00,0xa2,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x90,0x67,0x00,0x00,0x79,0x81,0xa7,0x4e, 0x00,0x00,0xab,0x5b,0xa7,0x4e,0x00,0x00,0x62,0x97,0x00,0x00,0x79,0x81,0x00,0x00,0x00,0x5f,0x00,0x00, 0xab,0x5b,0xa7,0x4e,0x87,0x73,0x00,0x00,0x79,0x81,0xa7,0x4e,0x87,0x73,0x00,0x00,0x7d,0x76,0x00,0x00, 0x79,0x81,0xea,0x81,0x40,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xaa,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3a,0x59,0x00,0x00,0xbb,0x79,0x00,0x00,0x4a,0x52,0x00,0x00,0x3d,0x84,0x00,0x00,0xf3,0x58,0x00,0x00, 0x49,0x51,0x00,0x00,0x80,0x86,0x00,0x00,0x4a,0x52,0x36,0x96,0xa7,0x7e,0x00,0x00,0x4a,0x52,0x05,0x80, 0x00,0x00,0xc7,0x91,0xd4,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x70,0x00,0x00,0x62,0x96,0x00,0x00, 0xc5,0x60,0x00,0x00,0x2c,0x67,0x00,0x00,0x3a,0x57,0x00,0x00,0x2d,0x4e,0x00,0x00,0xd2,0x6b,0x00,0x00, 0xc4,0x7e,0x00,0x00,0x9e,0x58,0x00,0x00,0xee,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00, 0x59,0x4f,0x00,0x00,0x73,0x59,0x00,0x00,0xdc,0x83,0x00,0x00,0x6d,0x99,0x00,0x00,0x37,0x75,0x69,0x52, 0x73,0x59,0x00,0x00,0x59,0x4f,0xf7,0x4e,0x3c,0x50,0x00,0x00,0x59,0x4f,0x69,0x72,0x00,0x00,0xc1,0x78, 0x00,0x00,0xcb,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x52,0x00,0x00,0x91,0x8f,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x89,0x63,0x00,0x00,0xc1,0x88,0x00,0x00,0x69,0x5f,0x00,0x00,0x07,0x52,0x00,0x00,0x71,0x5f, 0x00,0x00,0x00,0x52,0xee,0x5d,0x00,0x00,0xed,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x60,0xc1,0x88, 0x00,0x00,0x5c,0x4f,0x28,0x75,0x00,0x00,0x62,0x96,0x7f,0x95,0x00,0x00,0x59,0x65,0x88,0x63,0x00,0x00, 0x3b,0x4e,0xfb,0x4e,0x00,0x00,0x3b,0x60,0xdf,0x7e,0x00,0x00,0x2c,0x67,0x00,0x00,0xa7,0x4e,0xc1,0x54, 0x00,0x00,0x3b,0x60,0x00,0x00,0x85,0x53,0xa7,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x88,0x00,0x00, 0x0d,0x82,0x00,0x00,0x6e,0x63,0x00,0x00,0x24,0x4f,0x00,0x00,0x55,0x81,0x00,0x00,0xad,0x65,0x00,0x00, 0x89,0x55,0x00,0x00,0xa9,0x8b,0x00,0x00,0x3c,0x79,0x00,0x00,0x00,0x5f,0x00,0x00,0x01,0x00,0x00,0x00, 0x64,0x96,0x00,0x00,0x04,0x00,0x00,0x00,0x83,0x7a,0x00,0x00,0x8d,0x60,0x00,0x00,0x83,0x7a,0x05,0x80, 0x00,0x00,0xd6,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0x6d,0x70,0x00,0x00,0x2a,0x53,0x00,0x00,0x40,0x67, 0x00,0x00,0x64,0x96,0x00,0x00,0xad,0x88,0x00,0x00,0x71,0x51,0x00,0x00,0xf4,0x8b,0x00,0x00,0x02,0x00, 0x00,0x00,0xb0,0x8b,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x81,0x00,0x00,0x34,0x59, 0xd6,0x76,0x38,0x81,0x00,0x00,0xf4,0x67,0x00,0x00,0xc9,0x53,0x00,0x00,0x34,0x59,0x00,0x00,0xe2,0x6c, 0xa9,0x65,0x6a,0x6d,0x00,0x00,0xcc,0x91,0x6a,0x55,0x66,0x55,0x00,0x00,0xf7,0x4e,0x00,0x00,0xc2,0x88, 0x00,0x00,0x00,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x3f,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x91, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x89,0x4e,0x00,0x00,0x14,0x6c,0x00,0x00,0x42,0x6c,0x00,0x00,0xa8,0x63, 0x00,0x00,0xfe,0x56,0x00,0x00,0x66,0x5b,0x00,0x00,0x0d,0x4e,0xce,0x4e,0xc3,0x5f,0x00,0x00,0x40,0x62, 0xfd,0x80,0xca,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x8b,0x00,0x00,0x3b,0x96,0x00,0x00,0xfc,0x5b, 0x00,0x00,0x4a,0x54,0x00,0x00,0x00,0x90,0x00,0x00,0xe3,0x89,0x00,0x00,0xeb,0x8b,0x00,0x00,0xb6,0x67, 0x00,0x00,0xbb,0x79,0x00,0x00,0x8c,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0x06,0x74, 0x00,0x00,0x6c,0x51,0xa4,0x5b,0x00,0x00,0x6c,0x51,0x00,0x00,0x48,0x68,0x00,0x00,0x8b,0x4e,0x04,0x59, 0x00,0x00,0x6c,0x51,0x85,0x53,0x00,0x00,0x8b,0x4e,0x00,0x00,0x6c,0x51,0x7c,0x69,0x00,0x00,0x66,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x80,0x00,0x00,0x48,0x65,0x00,0x00,0xb7,0x5f,0x00,0x00,0x2b,0x59, 0x00,0x00,0x87,0x73,0x00,0x00,0xfe,0x8b,0x00,0x00,0xfd,0x80,0x3a,0x53,0x00,0x00,0xfd,0x80,0x27,0x60, 0x00,0x00,0xb3,0x52,0x00,0x00,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x5f,0x00,0x00,0x27,0x59, 0x00,0x00,0x65,0x51,0x00,0x00,0xeb,0x5f,0x00,0x00,0x0a,0x4e,0x00,0x00,0xe5,0x5d,0x00,0x00,0x1f,0x90, 0x00,0x00,0xff,0x62,0x27,0x59,0x00,0x00,0x67,0x52,0x00,0x00,0x1a,0x59,0x9d,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9e,0x5b,0x00,0x00,0xe5,0x5d,0x00,0x00,0xc5,0x5f,0x00,0x00,0xe5,0x5d,0xba,0x4e,0x58,0x54, 0x00,0x00,0x9c,0x51,0x00,0x00,0xe5,0x5d,0x05,0x80,0x00,0x00,0x42,0x6c,0x00,0x00,0x5a,0x86,0x00,0x00, 0xe5,0x5d,0x41,0x6d,0x00,0x00,0x9e,0x5b,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x8d,0x00,0x00, 0xbf,0x52,0x00,0x00,0xf9,0x8f,0x00,0x00,0x01,0x5e,0x71,0x9a,0x10,0x90,0x6f,0x82,0x01,0x5e,0x00,0x00, 0x0e,0x54,0xa7,0x7e,0x00,0x00,0x39,0x68,0x27,0x60,0x00,0x00,0x01,0x5e,0x00,0x00,0x49,0x7b,0x00,0x00, 0x4c,0x88,0x00,0x00,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x72,0x00,0x00,0x9b,0x52,0x00,0x00, 0x5c,0x4f,0x00,0x00,0x01,0x60,0x00,0x00,0x61,0x83,0x00,0x00,0x2b,0x6f,0x00,0x00,0x3a,0x67,0x00,0x00, 0x28,0x75,0x00,0x00,0x3b,0x75,0x00,0x00,0x69,0x72,0xed,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x74, 0x00,0x00,0xa8,0x63,0x00,0x00,0x4b,0x62,0x00,0x00,0x9b,0x52,0x00,0x00,0x7f,0x95,0x00,0x00,0x66,0x5b, 0x00,0x00,0x35,0x96,0x00,0x00,0x66,0x5b,0xd1,0x91,0x00,0x00,0xa8,0x63,0x68,0x56,0x00,0x00,0x27,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x14,0x5c,0x00,0x00,0xcc,0x91,0x00,0x00,0xd4,0x6b, 0x00,0x00,0x14,0x5c,0xc8,0x54,0x64,0x8d,0x00,0x00,0x14,0x5c,0x01,0x4e,0x00,0x00,0xe6,0x74,0x4b,0x51, 0x96,0x80,0x79,0x72,0x00,0x00,0xaa,0x52,0x00,0x00,0x57,0x53,0x00,0x00,0xd4,0x6b,0x9a,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x01,0x63,0x00,0x00,0x2a,0x53,0x00,0x00,0x3a,0x67,0x00,0x00,0xbe,0x96,0x00,0x00, 0x48,0x68,0x00,0x00,0x01,0x63,0x05,0x80,0x00,0x00,0xa0,0x63,0x00,0x00,0x0e,0x54,0x00,0x00,0x40,0x67, 0x00,0x00,0xcc,0x5b,0x4e,0x6d,0x2b,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0xb3,0x52,0x00,0x00,0x06,0x00, 0x00,0x00,0xd7,0x5f,0x00,0x00,0xbe,0x7c,0xfe,0x56,0xbb,0x6c,0x00,0x00,0x55,0x5c,0x00,0x00,0xd7,0x5f, 0xe5,0x54,0x00,0x00,0xd7,0x5f,0x7b,0x7c,0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x7e,0x67, 0x00,0x00,0x3f,0x51,0x00,0x00,0x34,0x59,0x00,0x00,0x06,0x72,0x00,0x00,0xc5,0x65,0x00,0x00,0x4c,0x65, 0x00,0x00,0x47,0x53,0x00,0x00,0x1e,0x82,0xe2,0x56,0x00,0x00,0x38,0x97,0x00,0x00,0x53,0x90,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0xa8,0x52,0x9b,0x52,0x00,0x00,0xa8,0x52,0x05,0x80,0x00,0x00, 0xa1,0x52,0x00,0x00,0xe5,0x5d,0x00,0x00,0xe5,0x5d,0xe8,0x90,0x00,0x00,0x59,0x65,0x00,0x00,0xa8,0x52, 0x5a,0x51,0x00,0x00,0x2f,0x7d,0x00,0x00,0x44,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00, 0x9b,0x52,0x00,0x00,0xc5,0x5f,0x00,0x00,0x28,0x57,0xc5,0x5f,0x4c,0x88,0x00,0x00,0xfd,0x80,0x00,0x00, 0x0d,0x4e,0xef,0x53,0x21,0x63,0x00,0x00,0x47,0x57,0x9b,0x52,0x4c,0x65,0x00,0x00,0x01,0x60,0x00,0x00, 0x29,0x52,0x00,0x00,0x55,0x53,0x9b,0x52,0x84,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x52,0x00,0x00, 0x6e,0x82,0x2c,0x7b,0x00,0x00,0xc3,0x52,0x1f,0x75,0x3a,0x67,0x00,0x00,0x36,0x71,0x27,0x59,0x12,0x60, 0x00,0x00,0xd1,0x53,0x00,0x00,0x74,0x51,0x00,0x00,0x17,0x52,0xe5,0x65,0x85,0x6d,0x2b,0x59,0x00,0x00, 0x70,0x51,0x7b,0x76,0x21,0x58,0xe8,0x95,0x00,0x00,0xc9,0x62,0xc6,0x59,0xaf,0x65,0x00,0x00,0x17,0x67, 0x81,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x62,0x65,0x00,0x00,0x8e,0x4e,0x00,0x00, 0xeb,0x58,0x00,0x00,0x1b,0x73,0x00,0x00,0x80,0x5f,0xf4,0x76,0x4d,0x52,0x00,0x00,0x05,0x80,0x00,0x00, 0x3a,0x59,0x00,0x00,0x9b,0x51,0x00,0x00,0x51,0x65,0x00,0x00,0x07,0x00,0x00,0x00,0x3a,0x5f,0x00,0x00, 0xb1,0x52,0x00,0x00,0xbf,0x53,0x00,0x00,0x3a,0x4e,0x76,0x51,0xbe,0x96,0x00,0x00,0xc9,0x52,0x3a,0x5f, 0x3a,0x5f,0x00,0x00,0x9b,0x52,0x00,0x00,0x9b,0x52,0x0c,0x80,0x3a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe0,0x7a,0x00,0x00,0x35,0x72,0x00,0x00,0x2f,0x4f,0x3c,0x68,0x00,0x00,0x4d,0x4f,0x00,0x00,0x1a,0x4e, 0x00,0x00,0xb3,0x52,0x00,0x00,0xe9,0x7e,0x00,0x00,0x7f,0x9e,0x00,0x00,0xaa,0x52,0xbe,0x8f,0x8e,0x7f, 0x00,0x00,0xcb,0x52,0x00,0x00,0x07,0x00,0x00,0x00,0x77,0x6d,0xbf,0x53,0x00,0x00,0x77,0x6d,0x00,0x00, 0x4a,0x81,0xbf,0x53,0x00,0x00,0x4a,0x81,0x00,0x00,0xd1,0x4e,0x00,0x00,0xd1,0x4e,0x47,0x95,0x00,0x00, 0x65,0x67,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x7d,0x00,0x00,0xe4,0x4e,0x00,0x00,0x03,0x5e, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x9e,0x5e,0x00,0x00,0x4f,0x4f,0x00,0x00,0x27,0x7d,0x00,0x00,0x88,0x98, 0x00,0x00,0x41,0x6d,0x00,0x00,0x4b,0x51,0xaf,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0xc9,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa2,0x63,0x00,0x00,0xe5,0x67,0x00,0x00,0xdf,0x5b,0x00,0x00,0x4b,0x6d,0x00,0x00, 0x8c,0x9a,0x00,0x00,0xef,0x8b,0x00,0x00,0x4b,0x6d,0x40,0x5c,0x00,0x00,0x4c,0x75,0x00,0x00,0xa2,0x63, 0x39,0x82,0x00,0x00,0xe5,0x67,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x96,0x00,0x00,0x44,0x8d, 0x00,0x00,0x95,0x62,0x00,0x00,0x50,0x63,0x00,0x00,0xa1,0x80,0x00,0x00,0xc6,0x96,0x1f,0x67,0x00,0x00, 0x44,0x8d,0x9d,0x98,0x00,0x00,0x97,0x5f,0x00,0x00,0x3e,0x6b,0x00,0x00,0x50,0x63,0xb1,0x7b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4b,0x59,0x00,0x00,0xb3,0x52,0x00,0x00,0xc9,0x52,0x00,0x00,0xeb,0x5f,0x00,0x00, 0xed,0x4f,0x82,0x82,0xa6,0x7e,0x00,0x00,0xa1,0x52,0x00,0x00,0xed,0x4f,0x00,0x00,0x1d,0x60,0x00,0x00, 0xee,0x4f,0x00,0x00,0xe5,0x5d,0xed,0x4f,0x66,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xed,0x56,0x00,0x00,0x77,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x64,0x00,0x00,0x51,0x51,0x00,0x00, 0xd3,0x7e,0x00,0x00,0xd2,0x52,0x00,0x00,0x15,0x5f,0x00,0x00,0x3b,0x75,0x00,0x00,0x53,0x5f,0x00,0x00, 0xa1,0x82,0x00,0x00,0xc3,0x5f,0x97,0x65,0xd2,0x89,0x00,0x00,0x09,0x90,0x00,0x00,0x07,0x00,0x00,0x00, 0xbd,0x65,0x8e,0x4e,0xba,0x4e,0x00,0x00,0x13,0x8c,0x00,0x8a,0x4b,0x4e,0x0d,0x4e,0x84,0x98,0x00,0x00, 0xd8,0x5f,0x49,0x83,0x00,0x00,0xe0,0x56,0x84,0x55,0x0f,0x5c,0x0c,0x80,0x0d,0x4e,0x3a,0x4e,0x00,0x00, 0x42,0x6c,0xba,0x4e,0x00,0x00,0xd8,0x5f,0xfd,0x56,0x3b,0x80,0x00,0x00,0xd8,0x5f,0x11,0x62,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf0,0x79,0x00,0x00,0x1f,0x90,0x00,0x00,0x1f,0x90,0xd0,0x8f,0xa8,0x52,0x00,0x00, 0xc0,0x51,0x00,0x00,0x74,0x65,0x00,0x00,0xc6,0x7e,0x00,0x00,0x9e,0x5b,0x00,0x00,0x50,0x9f,0x00,0x00, 0x9c,0x6e,0x00,0x00,0x38,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0xec,0x62,0x00,0x00,0xc5,0x88,0x00,0x00, 0x2b,0x54,0x00,0x00,0xf9,0x88,0x00,0x00,0x50,0x5b,0x00,0x00,0xf4,0x56,0x00,0x00,0xb9,0x5b,0x00,0x00, 0xa2,0x94,0x00,0x00,0xb1,0x88,0x00,0x00,0x05,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0x06,0x53,0x00,0x00, 0xd9,0x5f,0x00,0x00,0x06,0x53,0xd9,0x5f,0xd9,0x5f,0x00,0x00,0xc3,0x4f,0x00,0x00,0x7d,0x90,0x00,0x00, 0x52,0x53,0x00,0x00,0x1d,0x73,0x00,0x00,0x07,0x00,0x00,0x00,0x59,0x72,0x29,0x52,0x00,0x00,0x74,0x59, 0x00,0x00,0x74,0x59,0xba,0x4e,0x00,0x00,0x59,0x72,0x29,0x52,0xed,0x8b,0x00,0x00,0x59,0x72,0x29,0x52, 0x1f,0x96,0x00,0x00,0xed,0x8b,0x00,0x00,0x59,0x72,0x29,0x52,0x71,0x51,0x8c,0x54,0xfd,0x56,0x00,0x00, 0x04,0x00,0x00,0x00,0x10,0x53,0x00,0x00,0x10,0x53,0x4d,0x52,0xdb,0x8f,0x00,0x00,0x0f,0x4f,0x00,0x00, 0x10,0x53,0x0e,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0x96,0x99,0x00,0x00,0x2f,0x9b,0x0d,0x4e,0xca,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0x66,0x5b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x86,0x59,0xc1,0x54,0x00,0x00, 0x0d,0x54,0x00,0x00,0xe3,0x89,0x00,0x00,0x66,0x5b,0x66,0x6b,0x68,0x56,0x00,0x00,0x66,0x6b,0x00,0x00, 0x86,0x59,0x00,0x00,0xf3,0x77,0x00,0x00,0xa5,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xac,0x4e,0x00,0x00, 0xac,0x4e,0x02,0x5e,0x00,0x00,0xe8,0x90,0x00,0x00,0xb9,0x65,0x00,0x00,0xa6,0x7e,0x00,0x00,0x27,0x59, 0x00,0x00,0x8e,0x7f,0x00,0x00,0xac,0x4e,0x27,0x59,0x66,0x5b,0x00,0x00,0x81,0x67,0x00,0x00,0x77,0x6d, 0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3e,0x5c,0x50,0x5b,0x00,0x00,0x06,0x00,0x00,0x00, 0x53,0x90,0x00,0x00,0x53,0x90,0x65,0x68,0x00,0x00,0x53,0x90,0xe3,0x53,0x00,0x00,0x30,0x57,0x00,0x00, 0x08,0x67,0x00,0x00,0xa0,0x52,0x29,0x52,0x9a,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0xc3,0x5f,0x00,0x00,0xc3,0x5f,0xec,0x72,0xd0,0x8f,0x00,0x00,0x08,0x5e,0x00,0x00,0xc3,0x5f,0xec,0x72, 0x77,0x51,0x00,0x00,0x14,0x6c,0x00,0x00,0x37,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00, 0x01,0x5a,0x00,0x00,0x97,0x7b,0x00,0x00,0x63,0x6b,0x00,0x00,0x71,0x5c,0x00,0x00,0x76,0x62,0x00,0x00, 0x21,0x53,0x00,0x00,0x90,0x5e,0x47,0x59,0xc0,0x79,0x00,0x00,0x2c,0x8c,0x00,0x00,0xa9,0x52,0x00,0x00, 0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x53,0x4f,0x00,0x00,0xaa,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0x37,0x59,0x40,0x62,0x1d,0x60,0x00,0x00,0x92,0x5f,0x00,0x00,0x2e,0x5e,0x00,0x00,0x96,0x99,0x00,0x00, 0x14,0x6c,0x00,0x00,0xa3,0x60,0x00,0x00,0x7b,0x7c,0x00,0x00,0x0d,0x8c,0x00,0x00,0x66,0x8b,0x00,0x00, 0x9b,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0x4f,0x4e,0x00,0x00,0x3a,0x7f,0x00,0x00,0xed,0x7a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4d,0x91,0x00,0x00,0x4b,0x51,0x00,0x00,0x4c,0x65,0x00,0x00,0x79,0x51,0x21,0x58, 0x00,0x00,0x4d,0x91,0xa6,0x5e,0x00,0x00,0x2b,0x59,0x00,0x00,0x79,0x51,0x21,0x58,0x27,0x59,0x66,0x5b, 0x00,0x00,0x28,0x84,0x00,0x00,0x4d,0x91,0x27,0x60,0x00,0x00,0x2b,0x59,0x09,0x67,0x23,0x8d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xdf,0x57,0x00,0x00,0x2b,0x52,0x00,0x00,0xf4,0x95,0x00,0x00,0x06,0x52,0x00,0x00, 0xdf,0x57,0x27,0x60,0x00,0x00,0xd4,0x59,0x00,0x00,0x7f,0x95,0x00,0x00,0x57,0x57,0x00,0x00,0x3f,0x65, 0x9c,0x5e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x96,0x00,0x00,0x97,0x75,0x00,0x00, 0x1f,0x75,0x00,0x00,0x6f,0x83,0x00,0x00,0x66,0x5b,0x00,0x00,0xdd,0x4f,0x00,0x00,0x39,0x65,0x00,0x00, 0x08,0x5e,0x00,0x00,0xa4,0x62,0x00,0x00,0xa1,0x52,0x00,0x00,0x03,0x00,0x00,0x00,0x9d,0x98,0x00,0x00, 0x87,0x65,0x00,0x00,0x4c,0x72,0x00,0x00,0x09,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x0d,0x54,0xe1,0x4f, 0x00,0x00,0x0d,0x54,0x05,0x80,0x00,0x00,0x0d,0x54,0x27,0x60,0x00,0x00,0xcf,0x85,0x00,0x00,0xf9,0x8f, 0x00,0x00,0x71,0x5f,0xcf,0x85,0x62,0x5f,0x00,0x00,0xf9,0x8f,0x00,0x95,0xf0,0x58,0x00,0x00,0xa5,0x62, 0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x52,0x00,0x00,0x8c,0x4e,0x00,0x00,0xe0,0x51,0x00,0x00,0x00,0x4e, 0x00,0x00,0x09,0x4e,0x00,0x00,0x6b,0x51,0x27,0x59,0x00,0x00,0x94,0x4e,0x00,0x00,0xb3,0x8d,0x00,0x00, 0x6d,0x51,0x00,0x00,0x6b,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x4e,0x00,0x00,0xbf,0x4e,0x00,0x00, 0xe6,0x74,0x00,0x00,0x4b,0x51,0x00,0x00,0xe6,0x74,0xf6,0x65,0x00,0x00,0xb9,0x65,0x7e,0x76,0xa1,0x8b, 0x00,0x00,0x0f,0x4f,0x00,0x00,0xb3,0x8d,0xd1,0x91,0x00,0x00,0x9b,0x5c,0xa4,0x7f,0x9b,0x5c,0x00,0x00, 0x61,0x6a,0x00,0x00,0x01,0x00,0x00,0x00,0x94,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa7,0x7e,0x00,0x00, 0x3c,0x50,0x00,0x00,0x29,0x6e,0x00,0x00,0xd8,0x9a,0x00,0x00,0x45,0x5e,0x00,0x00,0x7a,0x7a,0x00,0x00, 0xbf,0x52,0x00,0x00,0x77,0x8d,0x00,0x00,0x66,0x5b,0x00,0x00,0x4e,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0e,0x54,0x00,0x00,0x10,0x99,0x00,0x00,0xd8,0x76,0x00,0x00,0x6d,0x99,0x00,0x00,0xf4,0x95,0x00,0x00, 0x1c,0x59,0x00,0x00,0x61,0x77,0x00,0x00,0x11,0x4f,0x00,0x00,0x02,0x5e,0x00,0x00,0x10,0x99,0x1a,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x5c,0x00,0x00,0x70,0x65,0x00,0x00,0x29,0x59,0x00,0x00,0x1c,0x59, 0x00,0x00,0xfc,0x5b,0x53,0x4f,0x00,0x00,0x84,0x5f,0x00,0x00,0xc1,0x58,0x5f,0x6c,0x71,0x5c,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x10,0x62,0xc1,0x54,0x00,0x00,0x08,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x59, 0x00,0x00,0xdb,0x76,0x7f,0x98,0x00,0x00,0x14,0x5c,0x57,0x88,0x00,0x00,0x3a,0x4e,0x00,0x00,0xba,0x4e, 0x00,0x00,0xa6,0x6d,0x00,0x00,0x46,0x55,0x00,0x00,0xf0,0x6c,0x00,0x00,0x17,0x53,0x00,0x00,0xa8,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x8b,0x00,0x00,0x1a,0x4f,0x00,0x00,0x03,0x8c,0x00,0x00,0x46,0x55, 0x00,0x00,0xa9,0x52,0x00,0x00,0x9a,0x5b,0x00,0x00,0x0c,0x54,0x00,0x00,0x5c,0x4f,0x00,0x00,0x8c,0x54, 0x00,0x00,0xae,0x8b,0x66,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x5f,0x00,0x00,0x19,0x91,0x00,0x00, 0xa3,0x52,0x00,0x00,0x31,0x8d,0x00,0x00,0xd7,0x8b,0x01,0x77,0x00,0x00,0xac,0x8e,0x48,0x5c,0x9d,0x81, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x14,0x5c,0x39,0x68,0x00,0x00,0xd7,0x8b,0x00,0x00,0x2f,0x60,0x00,0x00, 0x05,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0x1a,0x4e,0x00,0x00,0x81,0x5c,0x00,0x00, 0x95,0x5e,0xae,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x8a,0x8d,0x00,0x00,0x09,0x67,0x10,0x62,0x48,0x65, 0x00,0x00,0x8a,0x8d,0x51,0x7f,0x00,0x00,0x57,0x84,0x00,0x00,0x7b,0x76,0x00,0x00,0x36,0x71,0x00,0x00, 0x1b,0x67,0x00,0x00,0xbe,0x8f,0x00,0x00,0xc6,0x8b,0x00,0x00,0xdd,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x4d,0x4f,0x00,0x00,0xec,0x72,0x00,0x00,0xaf,0x7e,0x00,0x00,0x00,0x4e,0x00,0x00,0xab,0x8e,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x43,0x51,0x00,0x00,0xe5,0x65,0x00,0x00,0xb9,0x8f,0x00,0x00,0x2a,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0xeb,0x6d,0x00,0x00,0xb9,0x65,0x00,0x00, 0x0c,0x84,0x00,0x00,0xb9,0x70,0x00,0x00,0xfa,0x51,0x00,0x00,0x30,0x57,0x00,0x00,0x89,0x63,0x00,0x00, 0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xac,0x4e,0x00,0x00,0xb9,0x65,0x00,0x00,0xe8,0x90,0x00,0x00, 0x77,0x6d,0x00,0x00,0x5e,0x97,0x00,0x00,0x0c,0x66,0x00,0x00,0x81,0x5b,0x00,0x00,0xac,0x4e,0x02,0x5e, 0x00,0x00,0x17,0x53,0x00,0x00,0x99,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0x00,0x00,0x69,0x72, 0x86,0x99,0x00,0x00,0xa2,0x5b,0x00,0x00,0x08,0x5f,0x00,0x00,0xf6,0x65,0x00,0x00,0xc8,0x89,0x1a,0x4f, 0x00,0x00,0x87,0x65,0x00,0x00,0xeb,0x58,0x1f,0x75,0x00,0x00,0x69,0x72,0x62,0x96,0x00,0x00,0xb3,0x7e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x87,0x00,0x00,0x66,0x53,0x00,0x00,0x9e,0x8f,0x00,0x00,0x6e,0x7b, 0x00,0x00,0x45,0x5c,0x00,0x00,0x32,0x75,0x00,0x00,0xa8,0x9a,0x00,0x00,0x85,0x5b,0x00,0x00,0x3c,0x66, 0x5c,0x53,0x1c,0x59,0x00,0x00,0xee,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x49,0x55,0x00,0x00,0x49,0x55, 0xc1,0x94,0x00,0x00,0x29,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x6b,0x00,0x00,0x6e,0x63,0x00,0x00, 0x1f,0x66,0x00,0x00,0x86,0x98,0x00,0x00,0x09,0x67,0x00,0x00,0x30,0x57,0x00,0x00,0x28,0x75,0x00,0x00, 0x3e,0x6b,0x00,0x00,0x09,0x67,0x87,0x73,0x00,0x00,0x5c,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x62, 0xf2,0x83,0x00,0x00,0x85,0x68,0x26,0x4f,0x00,0x00,0x66,0x8f,0x00,0x00,0x14,0x5c,0x00,0x00,0x54,0x58, 0x14,0x5c,0x00,0x00,0x47,0x72,0x00,0x00,0xc9,0x62,0x00,0x00,0x14,0x5c,0x4e,0x62,0x0a,0x4f,0x00,0x00, 0x79,0x72,0x00,0x00,0x3c,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x5e,0x00,0x00,0xd4,0x6b,0x00,0x00, 0x66,0x6b,0xc9,0x94,0x00,0x00,0xee,0x68,0x21,0x58,0x00,0x00,0x6e,0x6d,0xab,0x5b,0x00,0x00,0xfa,0x65, 0xbe,0x8f,0x00,0x00,0xad,0x68,0x00,0x00,0x61,0x53,0xaf,0x65,0x00,0x00,0x4b,0x51,0x00,0x00,0x4b,0x51, 0x22,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x71,0x00,0x00,0x34,0x6c,0x00,0x00,0x73,0x54,0x00,0x00, 0xcb,0x86,0x00,0x00,0x89,0x80,0x00,0x00,0xdc,0x83,0x00,0x00,0x20,0x7d,0x00,0x00,0x2d,0x9e,0x00,0x00, 0x41,0x6c,0x00,0x00,0x62,0x97,0x00,0x00,0x04,0x00,0x00,0x00,0x61,0x8c,0x00,0x00,0x3b,0x72,0x00,0x00, 0x9e,0x8f,0x00,0x00,0x49,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00,0xfa,0x94,0x00,0x00, 0x95,0x5e,0x00,0x00,0x99,0x9f,0x00,0x00,0x8a,0x5e,0x00,0x00,0xa8,0x63,0x00,0x00,0xfa,0x94,0x68,0x79, 0x00,0x00,0xc5,0x75,0x00,0x00,0x12,0x50,0x00,0x00,0x77,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75, 0x00,0x00,0x1f,0x66,0x00,0x00,0x1f,0x75,0xe8,0x90,0x00,0x00,0xc6,0x89,0x00,0x00,0x1f,0x75,0x40,0x5c, 0x00,0x00,0x1f,0x75,0x85,0x53,0x00,0x00,0x1f,0x75,0xf4,0x95,0x00,0x00,0xa5,0x62,0x00,0x00,0x1f,0x75, 0x62,0x96,0x00,0x00,0xeb,0x58,0x00,0x00,0x06,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0x54,0x51,0x00,0x00, 0xab,0x69,0x00,0x00,0x2f,0x66,0x6f,0x53,0x00,0x00,0x3c,0x77,0x00,0x00,0x87,0x65,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x61,0x8c,0x00,0x00,0x3c,0x5c,0x00,0x00,0x37,0x52,0x00,0x00,0xc1,0x8b, 0x00,0x00,0xd1,0x53,0x00,0x00,0xa6,0x5e,0x3c,0x5c,0x7f,0x89,0x9a,0x4e,0x00,0x00,0xb1,0x82,0x0e,0x7a, 0x00,0x00,0xa6,0x5e,0x0b,0x6d,0x00,0x00,0xe0,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x67,0x00,0x00, 0x69,0x96,0x00,0x00,0xb3,0x5b,0x00,0x00,0xca,0x53,0x00,0x00,0x69,0x96,0x27,0x60,0x00,0x00,0x25,0x60, 0x00,0x00,0x3f,0x62,0x00,0x00,0xcd,0x91,0x00,0x00,0xb3,0x5b,0x27,0x60,0x00,0x00,0x30,0x57,0x6c,0x9a, 0xc9,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x4f,0x00,0x00,0x06,0x5c,0x00,0x00,0xbf,0x4f,0x00,0x00, 0xef,0x53,0x00,0x00,0xf6,0x65,0x00,0x00,0xe5,0x65,0x00,0x00,0x1f,0x67,0x00,0x00,0x3b,0x52,0x00,0x00, 0x74,0x51,0x00,0x00,0xf6,0x65,0x1a,0x90,0xaf,0x8b,0x00,0x00,0x08,0x00,0x00,0x00,0xf4,0x8b,0x00,0x00, 0x65,0x6b,0x00,0x00,0x4b,0x4e,0x0d,0x4e,0x6d,0x60,0x00,0x00,0xc5,0x75,0x00,0x00,0x4d,0x62,0x00,0x00, 0x12,0x50,0x00,0x00,0x2f,0x66,0x00,0x00,0x7f,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x5d,0x00,0x00, 0x50,0x5b,0x00,0x00,0xf7,0x78,0x02,0x81,0x00,0x00,0xe2,0x5d,0x4c,0x76,0x00,0x00,0xc6,0x7e,0xde,0x80, 0x00,0x00,0xe1,0x6c,0x00,0x00,0xe2,0x5d,0xe9,0x65,0x70,0x88,0x00,0x00,0x1f,0x75,0x00,0x00,0xf3,0x77, 0x00,0x00,0xc4,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0x1f,0x57,0xcd,0x91,0x65,0x67, 0x00,0x00,0xdf,0x70,0x00,0x00,0xc3,0x5f,0xdc,0x83,0x00,0x00,0x97,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00, 0xd1,0x53,0x00,0x00,0xf2,0x66,0x00,0x00,0x74,0x8f,0x00,0x00,0x3e,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xfb,0x4e,0x00,0x00,0x86,0x59,0x00,0x00,0x7d,0x8f,0x00,0x00,0x0b,0x4e,0x00,0x00,0x86,0x59,0xb9,0x6c, 0x00,0x00,0x27,0x8d,0x00,0x00,0x86,0x59,0x73,0x4e,0x00,0x00,0x86,0x59,0x34,0x6c,0x00,0x00,0x86,0x59, 0xb2,0x6d,0x00,0x00,0x66,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x6e,0x99,0x00,0x00,0x01,0x00,0x00,0x00, 0x7f,0x53,0x11,0x62,0x11,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x55,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x3f,0x62,0x00,0x00,0x3a,0x53,0x00,0x00,0x7f,0x95,0x00,0x00,0xb9,0x65,0x00,0x00,0x50,0x5b,0x00,0x00, 0x40,0x57,0x00,0x00,0x4c,0x72,0x00,0x00,0x0d,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x74,0x1a,0x59, 0x14,0x5c,0x00,0x00,0xd0,0x8f,0x00,0x00,0x14,0x5c,0x3c,0x5c,0xfa,0x8b,0x00,0x00,0x14,0x5c,0x00,0x00, 0xcb,0x7a,0x79,0x72,0xcc,0x91,0x9a,0x4e,0x00,0x00,0xb9,0x65,0x00,0x00,0x50,0x9f,0x14,0x5c,0x00,0x00, 0x69,0x60,0x56,0x6e,0x00,0x00,0xbe,0x96,0x00,0x00,0x3e,0x8d,0x70,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7f,0x95,0x00,0x00,0xa7,0x7e,0x00,0x00,0x02,0x58,0x00,0x00,0x40,0x5c,0xa7,0x7e,0x00,0x00,0x98,0x5b, 0x00,0x00,0x40,0x5c,0x7f,0x95,0x00,0x00,0x3f,0x62,0x00,0x00,0xf4,0x76,0x00,0x00,0x5e,0x5c,0x00,0x00, 0xda,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xf2,0x53,0x00,0x00,0x0b,0x7a,0x00,0x00,0xf6,0x65,0x00,0x00, 0xcf,0x7e,0x00,0x00,0x74,0x5e,0x00,0x00,0x65,0x67,0x00,0x00,0xf2,0x53,0x27,0x60,0x00,0x00,0xfb,0x4e, 0x00,0x00,0xe3,0x4e,0x00,0x00,0xf2,0x53,0x66,0x5b,0xb6,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x5b, 0x00,0x00,0x4c,0x88,0x82,0x82,0xa6,0x7e,0x00,0x00,0x4c,0x88,0x00,0x00,0xf0,0x58,0x00,0x00,0x75,0x51, 0xe3,0x79,0x6c,0x9a,0x00,0x00,0x4c,0x88,0x82,0x82,0xed,0x4f,0x00,0x00,0x3c,0x9b,0x00,0x00,0xe0,0x65, 0x4f,0x75,0x00,0x00,0x72,0x82,0x00,0x00,0x84,0x5e,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52, 0x00,0x00,0x29,0x7f,0x00,0x00,0x36,0x52,0x00,0x00,0x91,0x62,0x00,0x00,0x4e,0x4f,0x00,0x00,0xeb,0x8f, 0x00,0x00,0x39,0x68,0x00,0x00,0x81,0x5c,0xb1,0x94,0x00,0x00,0xa8,0x69,0x00,0x00,0x29,0x7f,0x3a,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x60,0x00,0x00,0x26,0x50,0x00,0x00,0xe6,0x70,0x00,0x00,0xdf,0x98, 0x00,0x00,0x16,0x4e,0x00,0x00,0xdf,0x98,0xc7,0x75,0x00,0x00,0xbb,0x79,0x00,0x00,0x66,0x5b,0x00,0x00, 0x27,0x6c,0xcc,0x83,0x00,0x00,0x03,0x5f,0x00,0x00,0x06,0x00,0x00,0x00,0x40,0x62,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x4d,0x4f,0x00,0x00,0x0a,0x4e,0x00,0x00,0xab,0x8e,0x00,0x00,0x77,0x51,0x00,0x00,0x01,0x00, 0x00,0x00,0x5a,0x59,0x00,0x00,0x07,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x05,0x6e,0x00,0x00,0x9a,0x5b, 0x00,0x00,0xd1,0x91,0x00,0x00,0x63,0x6b,0x00,0x00,0x47,0x53,0x00,0x00,0x4b,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x1b,0x67,0x00,0x00,0x9a,0x53,0x84,0x76,0x00,0x00,0xcd,0x91,0x00,0x00, 0x53,0x90,0x00,0x00,0x9a,0x53,0x00,0x00,0x9e,0x5b,0x00,0x00,0x1f,0x75,0x00,0x00,0x57,0x88,0x00,0x00, 0x31,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xe0,0x56,0x00,0x00,0x65,0x67,0x00,0x00,0x19,0x52,0x00,0x00, 0xb9,0x6c,0x00,0x00,0x99,0x65,0x00,0x00,0x2c,0x67,0x00,0x00,0x50,0x67,0x99,0x65,0x00,0x00,0x06,0x74, 0x00,0x00,0x09,0x67,0x00,0x00,0xcb,0x59,0x00,0x00,0x03,0x00,0x00,0x00,0x0f,0x5f,0x00,0x00,0x3f,0x62, 0x00,0x00,0x0f,0x5f,0x66,0x8f,0x00,0x00,0x02,0x00,0x00,0x00,0xcd,0x8b,0x00,0x00,0x31,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0xe8,0x95,0x02,0x5e,0x00,0x00,0x27,0x59,0x00,0x00,0x4e,0x53, 0x00,0x00,0x2a,0x82,0x00,0x00,0xe5,0x5d,0x00,0x00,0xe8,0x95,0x2f,0x6e,0x00,0x00,0xe8,0x95,0x9b,0x5c, 0x00,0x00,0xa8,0x94,0x00,0x00,0x33,0x6f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x62,0x00,0x00,0x08,0x5e, 0x00,0x00,0x7a,0x82,0x00,0x00,0x77,0x51,0x00,0x00,0x6b,0x53,0x00,0x00,0x59,0x4f,0x00,0x00,0x50,0x5b, 0x00,0x00,0x35,0x75,0x00,0x00,0x18,0x5a,0x00,0x00,0xdc,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xa5,0x80, 0x00,0x00,0x09,0x00,0x00,0x00,0x40,0x67,0x00,0x00,0x53,0x62,0x00,0x00,0x88,0x5b,0x00,0x00,0xf7,0x6d, 0x00,0x00,0xac,0x54,0x00,0x00,0x20,0x7f,0x00,0x00,0x0f,0x64,0x00,0x00,0x23,0x95,0x00,0x00,0x9f,0x71, 0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0x00,0x00,0x16,0x4e,0x00,0x00,0x74,0x5e,0x95,0x5e,0x00,0x00, 0x64,0x96,0x00,0x00,0x11,0x54,0x00,0x00,0x89,0x63,0x00,0x00,0x04,0x59,0x00,0x00,0x59,0x75,0x00,0x00, 0x74,0x5e,0x2b,0x67,0x00,0x00,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x59,0x00,0x00,0xa7,0x7e, 0x00,0x00,0xce,0x57,0x00,0x00,0x7f,0x95,0x00,0x00,0x3f,0x65,0x9c,0x5e,0x00,0x00,0xdf,0x57,0x00,0x00, 0xcc,0x91,0x00,0x00,0x04,0x59,0xa7,0x7e,0x00,0x00,0xe4,0x4e,0x00,0x00,0x98,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0e,0x4e,0x00,0x00,0xa0,0x52,0x00,0x00,0x03,0x80,0x00,0x00,0xc2,0x89,0x00,0x00,0xae,0x8b, 0x62,0x96,0x00,0x00,0x67,0x71,0x00,0x00,0x0e,0x4e,0x05,0x80,0x00,0x00,0xa1,0x80,0x00,0x00,0xdd,0x4f, 0x00,0x00,0xdc,0x62,0x00,0x00,0x02,0x00,0x00,0x00,0xc7,0x53,0x00,0x00,0xc6,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x00,0x4e,0x21,0x6b,0x00,0x00,0xca,0x60,0xc8,0x53,0x9c,0x55,0x00,0x00,0xed,0x54,0xc8,0x53, 0xf9,0x95,0x00,0x00,0xa2,0x7e,0xc8,0x53,0xbf,0x80,0x00,0x00,0xa2,0x7e,0xc8,0x53,0x13,0x4e,0x00,0x00, 0x2f,0x66,0x00,0x00,0x35,0x54,0xc8,0x53,0xf9,0x95,0x00,0x00,0xca,0x53,0x00,0x00,0xf0,0x79,0x00,0x00, 0x65,0x67,0x86,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe7,0x70,0x00,0x00,0x50,0x5b,0x00,0x00,0x66,0x8f, 0x00,0x00,0xc9,0x53,0x00,0x00,0x70,0x81,0x00,0x00,0xe7,0x70,0x05,0x53,0x00,0x00,0xef,0x8d,0xe3,0x53, 0x00,0x00,0x62,0x5f,0x00,0x00,0xef,0x79,0x00,0x00,0xb6,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65, 0x00,0x00,0x76,0x51,0x00,0x00,0xe9,0x65,0x00,0x00,0x3c,0x68,0x00,0x00,0xf6,0x65,0x27,0x60,0x00,0x00, 0xf3,0x81,0x00,0x00,0xf6,0x65,0xe8,0x96,0x00,0x00,0x2c,0x7b,0x00,0x00,0x3c,0x68,0xbf,0x7e,0x00,0x00, 0xf6,0x65,0x4c,0x88,0x50,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x59,0x00,0x00,0x0a,0x8c,0x00,0x00, 0xc5,0x60,0x00,0x00,0xba,0x4e,0x00,0x00,0xa6,0x90,0x00,0x00,0x84,0x55,0x00,0x00,0xbb,0x90,0x00,0x00, 0x31,0x72,0x00,0x00,0xbe,0x8f,0x00,0x00,0x7d,0x59,0x8b,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x65, 0x00,0x00,0xb9,0x8f,0x00,0x00,0xcd,0x91,0x00,0x00,0xcc,0x53,0x00,0x00,0x11,0x54,0x00,0x00,0x4b,0x62, 0x00,0x00,0x99,0x65,0x00,0x00,0x47,0x6c,0x00,0x00,0xcd,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x39,0x5f,0x00,0x00,0x20,0x66,0x00,0x00,0x94,0x5e,0x00,0x00,0xf9,0x5b,0x00,0x00,0x0c,0x80, 0x00,0x00,0xf9,0x5b,0x3e,0x6d,0x00,0x00,0x0d,0x59,0x00,0x00,0x63,0x6b,0x00,0x00,0x88,0x99,0x00,0x00, 0x1d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x5c,0x00,0x00,0xb0,0x73,0x00,0x00,0x1f,0x75,0x00,0x00, 0x03,0x5e,0x00,0x00,0x4c,0x88,0x00,0x00,0x68,0x88,0x00,0x00,0x00,0x8a,0xba,0x4e,0x00,0x00,0x25,0x63, 0x00,0x00,0xfa,0x51,0x00,0x00,0x39,0x65,0xd4,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x53,0x00,0x00, 0x84,0x4f,0x00,0x00,0x36,0x72,0x00,0x00,0x2c,0x67,0x4e,0x53,0x00,0x00,0x2f,0x4f,0x00,0x00,0x6c,0x51, 0x00,0x00,0x56,0x79,0x00,0x00,0x46,0x5a,0x00,0x00,0xcd,0x6b,0x00,0x00,0x56,0x79,0xcd,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x97,0x5f,0x00,0x00,0x88,0x6d,0x00,0x00,0xe3,0x4e,0x00,0x00,0xb3,0x51,0x8e,0x4e, 0x00,0x00,0xc1,0x8b,0x00,0x00,0xfa,0x51,0x00,0x00,0x11,0x54,0x00,0x00,0x14,0x7f,0x00,0x00,0x3e,0x6b, 0x00,0x00,0x96,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0x24,0x4f,0x00,0x00,0xca,0x76, 0x00,0x00,0x06,0x74,0x00,0x00,0x7e,0x70,0x00,0x00,0x5f,0x63,0x00,0x00,0xb3,0x5b,0x05,0x80,0x00,0x00, 0x3f,0x8d,0x00,0x00,0xbf,0x8b,0x05,0x80,0x00,0x00,0xb3,0x5b,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x16,0x53,0x00,0x00,0x10,0x62,0x00,0x00,0xa8,0x52,0x00,0x00,0xf4,0x66,0x00,0x00,0x69,0x97,0x00,0x00, 0x97,0x5f,0x00,0x00,0x3a,0x4e,0x00,0x00,0xf8,0x76,0x00,0x00,0x62,0x5f,0x00,0x00,0xb0,0x73,0x00,0x00, 0x0a,0x00,0x00,0x00,0x29,0x52,0x9a,0x4e,0x00,0x00,0xf0,0x8f,0x00,0x00,0x8b,0x4e,0x00,0x00,0x16,0x53, 0x66,0x6b,0x00,0x00,0xb9,0x65,0x00,0x00,0x29,0x52,0x9a,0x4e,0xba,0x4e,0x00,0x00,0x9b,0x51,0x00,0x00, 0xe7,0x65,0x00,0x00,0x1f,0x57,0x00,0x00,0xf0,0x8f,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x4e, 0x00,0x00,0x9b,0x51,0x00,0x00,0x06,0x90,0x00,0x00,0x03,0x90,0x00,0x00,0x92,0x5f,0x00,0x00,0xd8,0x53, 0x00,0x00,0xfd,0x56,0x00,0x00,0xfd,0x56,0x6a,0x7f,0x00,0x00,0x06,0x90,0x1f,0x67,0x00,0x00,0x06,0x90, 0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0x52,0x00,0x00,0xf5,0x97,0x00,0x00,0x82,0x5d,0x00,0x00, 0xe0,0x7f,0x00,0x00,0x57,0x7f,0x49,0x6c,0x00,0x00,0x8b,0x53,0x00,0x00,0xfc,0x62,0x00,0x00,0x42,0x5c, 0x00,0x00,0x85,0x58,0x00,0x00,0x8a,0x5e,0xb6,0x67,0x4b,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x54, 0x00,0x00,0xf7,0x53,0x00,0x00,0x54,0x81,0x00,0x00,0x1f,0x61,0x00,0x00,0xb8,0x5c,0x00,0x00,0x69,0x7f, 0x00,0x00,0x84,0x5f,0x00,0x00,0x91,0x78,0x00,0x00,0x34,0x59,0x00,0x00,0x8b,0x88,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe3,0x4e,0x00,0x00,0xf4,0x5d,0x00,0x00,0xce,0x57,0x00,0x00,0x78,0x51,0x00,0x00,0x01,0x80, 0x00,0x00,0xba,0x4e,0x00,0x00,0x63,0x84,0x00,0x00,0x4d,0x7c,0x00,0x00,0x95,0x4e,0x00,0x00,0xa9,0x73, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xf7,0x53,0x00,0x00,0x0f,0x5f,0x00,0x00,0xe5,0x53, 0x00,0x00,0xb9,0x5b,0x00,0x00,0xd5,0x6c,0x00,0x00,0x8b,0x57,0x00,0x00,0xb9,0x70,0x00,0x00,0xb9,0x5b, 0x02,0x5e,0x00,0x00,0xfb,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x59,0x00,0x00,0x00,0x4e,0xb9,0x65, 0x62,0x97,0x00,0x00,0x7b,0x7c,0x00,0x00,0x4c,0x88,0x00,0x00,0x53,0x5f,0x2b,0x52,0xba,0x8b,0x00,0x00, 0x77,0x8d,0x89,0x70,0x76,0x70,0x00,0x00,0x3c,0x77,0xf8,0x76,0x0b,0x77,0x00,0x00,0x09,0x90,0x00,0x00, 0x58,0x5b,0x3a,0x4e,0x00,0x00,0x0b,0x8c,0xd8,0x9a,0x31,0x5c,0x00,0x00,0x08,0x00,0x00,0x00,0xe8,0x53, 0x00,0x00,0xf5,0x5f,0x00,0x00,0x3c,0x90,0x00,0x00,0x95,0x54,0x00,0x00,0x70,0x62,0x00,0x00,0x20,0x55, 0x00,0x00,0x49,0x51,0x00,0x00,0x7b,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x7f,0x9f, 0x00,0x00,0xfb,0x51,0x00,0x00,0xdc,0x62,0x00,0x00,0xe8,0x95,0x00,0x00,0x96,0x99,0x00,0x00,0x22,0x8c, 0x00,0x00,0x00,0x5f,0x00,0x00,0x73,0x51,0x00,0x00,0xca,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x66, 0x00,0x00,0x81,0x89,0x00,0x00,0xfd,0x80,0x00,0x00,0x09,0x67,0x00,0x00,0x0d,0x4e,0xc7,0x8f,0x00,0x00, 0x7d,0x59,0x00,0x00,0xc1,0x89,0x00,0x00,0x97,0x5f,0x00,0x00,0x28,0x75,0x00,0x00,0x7e,0x98,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5a,0x50,0x00,0x00,0x5c,0x50,0x00,0x00,0x7d,0x59,0x00,0x00,0xf0,0x58,0x00,0x00, 0x56,0x53,0x00,0x00,0x7f,0x67,0x00,0x00,0x92,0x91,0x00,0x00,0xd5,0x6c,0x00,0x00,0xa3,0x56,0x00,0x00, 0x8a,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0xde,0x56,0x00,0x00,0xc6,0x96,0x00,0x00, 0x24,0x55,0x00,0x00,0xc1,0x89,0x00,0x00,0xc6,0x96,0xba,0x4e,0x00,0x00,0x66,0x8f,0x00,0x00,0xf7,0x8b, 0x00,0x00,0x75,0x96,0x00,0x00,0x1f,0x61,0x00,0x00,0x05,0x00,0x00,0x00,0xed,0x53,0x00,0x00,0x3f,0x51, 0xd7,0x72,0x00,0x00,0x3f,0x51,0x00,0x00,0x4e,0x86,0x00,0x00,0x66,0x55,0xd7,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0x31,0x56,0x00,0x00,0xac,0x54,0x00,0x00,0x53,0x5f,0x00,0x00,0x9b,0x54,0x00,0x00,0xee,0x53, 0x00,0x00,0x9a,0x54,0x00,0x00,0xee,0x53,0x53,0x5f,0x53,0x5f,0x00,0x00,0xc3,0x94,0x00,0x00,0x53,0x5f, 0x5c,0x4f,0xcd,0x54,0x00,0x00,0x53,0x5f,0xf0,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x4e,0x00,0x00, 0xfd,0x80,0x00,0x00,0x2f,0x66,0x00,0x00,0xfd,0x80,0x27,0x60,0x00,0x00,0x13,0x8c,0x00,0x00,0xc1,0x89, 0x00,0x00,0x31,0x72,0x00,0x00,0xdc,0x60,0x00,0x00,0x60,0x97,0x00,0x00,0x15,0x60,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7e,0x6e,0x00,0x00,0xce,0x98,0x00,0x00,0x17,0x53,0x00,0x00,0x36,0x96,0x00,0x00,0x0a,0x4e, 0x00,0x00,0xde,0x5d,0x00,0x00,0x01,0x5e,0x00,0x00,0x51,0x7f,0x00,0x00,0xcd,0x8b,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xa4,0x54,0x00,0x00,0xa4,0x54,0xce,0x98,0x91,0x4e,0x00,0x00,0x9d,0x55, 0x00,0x00,0x23,0x8d,0x00,0x00,0x12,0x54,0x00,0x00,0x82,0x9a,0x00,0x00,0x12,0x54,0xce,0x98,0x91,0x4e, 0x00,0x00,0xe4,0x4e,0x00,0x00,0xee,0x95,0x00,0x00,0x75,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x5b, 0xaf,0x65,0x00,0x00,0x82,0x84,0x2b,0x59,0x00,0x00,0x99,0x65,0x00,0x00,0xe0,0x65,0x4d,0x52,0x8b,0x4f, 0x00,0x00,0x66,0x5b,0x00,0x00,0xd7,0x8b,0x00,0x00,0xb0,0x8b,0x00,0x00,0x9e,0x5b,0x00,0x00,0x4d,0x52, 0x00,0x00,0x82,0x84,0x87,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xfc,0x7f,0x00,0x00,0x4b,0x62,0x00,0x00, 0xa7,0x4f,0x00,0x00,0xb9,0x8f,0x00,0x00,0x3e,0x6d,0x00,0x00,0x0a,0x4e,0xd2,0x89,0x00,0x00,0x6c,0x8f, 0x00,0x00,0x7f,0x81,0x00,0x00,0x0b,0x4e,0xd2,0x89,0x00,0x00,0x3c,0x77,0x00,0x00,0x02,0x00,0x00,0x00, 0x4b,0x6d,0x00,0x00,0x10,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x78,0x91,0x00,0x00, 0x47,0x72,0x00,0x00,0x80,0x6a,0x00,0x00,0x29,0x52,0xa6,0x94,0x00,0x00,0xff,0x7e,0x20,0x7d,0x00,0x00, 0xdc,0x83,0x00,0x00,0x61,0x53,0x77,0x63,0x33,0x74,0x21,0x58,0x00,0x00,0xee,0x95,0x00,0x00,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x78,0x00,0x00,0xf0,0x79,0x00,0x00,0xec,0x53,0x00,0x00,0x4c,0x72, 0x00,0x00,0xec,0x53,0x9b,0x52,0x00,0x00,0xe4,0x4e,0x00,0x00,0xd2,0x89,0x00,0x00,0x90,0x6e,0x00,0x00, 0xb5,0x6b,0x00,0x00,0x16,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x67,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x7f,0x95,0x00,0x00,0xe4,0x4e,0x00,0x00,0xe4,0x4e,0xe8,0x90,0x00,0x00,0xd5,0x6c,0xe8,0x90,0x00,0x00, 0x6c,0x9a,0x00,0x00,0xe4,0x4e,0x58,0x54,0x00,0x00,0xd5,0x6c,0x40,0x5c,0x00,0x00,0xd5,0x6c,0xe8,0x90, 0xe8,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x6f,0x60,0x00,0x00,0x14,0x6c,0x00,0x00,0x3a,0x4e,0xc2,0x89, 0x62,0x6b,0x00,0x00,0x0d,0x67,0x00,0x00,0xf7,0x53,0x00,0x00,0xdc,0x60,0x00,0x00,0xcb,0x60,0x00,0x00, 0xcd,0x8b,0x00,0x00,0x4f,0x8d,0x00,0x00,0xa1,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x53,0x00,0x00, 0xfd,0x53,0xb3,0x55,0xb3,0x55,0x00,0x00,0x6a,0x6b,0x00,0x00,0xcc,0x91,0x71,0x54,0x66,0x55,0x00,0x00, 0xcc,0x91,0x95,0x54,0x5c,0x56,0x00,0x00,0x95,0x54,0x00,0x00,0xe9,0x54,0x95,0x54,0x5c,0x56,0x00,0x00, 0xfd,0x53,0x0e,0x56,0x0e,0x56,0x00,0x00,0xfd,0x53,0x27,0x55,0x27,0x55,0x00,0x00,0xcc,0x91,0xee,0x65, 0xef,0x65,0x3f,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0xf7,0x8b,0x00,0x00,0x42,0x6c,0x00,0x00,0x01,0x54, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6d,0x99,0x00,0x00,0x27,0x8d,0x00,0x00,0xca,0x60,0x00,0x00,0xd5,0x6c, 0x00,0x00,0x8f,0x4e,0x00,0x00,0x20,0x7d,0x00,0x00,0x8c,0x5b,0x00,0x00,0x27,0x7d,0x00,0x00,0xe6,0x82, 0x00,0x00,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x79,0x00,0x00,0x30,0x57,0x00,0x00,0x7b,0x7c, 0x00,0x00,0x79,0x98,0x00,0x00,0xb9,0x65,0x00,0x00,0x2a,0x4e,0x00,0x00,0xfd,0x56,0x00,0x00,0xea,0x81, 0x00,0x00,0x4d,0x4f,0x00,0x00,0xa7,0x7e,0x00,0x00,0x05,0x00,0x00,0x00,0x9d,0x55,0x00,0x00,0x9d,0x55, 0xf0,0x58,0x00,0x00,0x94,0x4e,0x9d,0x55,0x6d,0x51,0x00,0x00,0x8a,0x55,0x00,0x00,0x7c,0x54,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5c,0x4f,0x00,0x00,0x0c,0x54,0x00,0x00,0x06,0x74,0x00,0x00,0x3c,0x68,0x00,0x00, 0xd5,0x6c,0x00,0x00,0xa6,0x7e,0x00,0x00,0x02,0x90,0x00,0x00,0xa1,0x8b,0x00,0x00,0xa5,0x80,0x00,0x00, 0x76,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0x97,0x67,0x01,0x77,0x00,0x00,0x29,0x52, 0x00,0x00,0x65,0x79,0x00,0x00,0xd6,0x4e,0x00,0x00,0x14,0x5c,0x09,0x54,0xaf,0x65,0xaf,0x65,0x66,0x57, 0x00,0x00,0xc9,0x62,0xb7,0x5f,0x00,0x00,0xc6,0x59,0x00,0x00,0x14,0x5c,0x00,0x00,0x86,0x96,0x61,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x95,0x00,0x00,0x66,0x8f,0x00,0x00,0x01,0x55,0x00,0x00,0x60,0x57, 0x00,0x00,0xc5,0x88,0x00,0x00,0x4c,0x72,0x00,0x00,0x76,0x98,0x00,0x00,0x26,0x5e,0x00,0x00,0xe1,0x8b, 0x00,0x00,0xf6,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xd4,0x6b,0x00,0x00,0x37,0x68, 0x00,0x00,0x1f,0x67,0x00,0x00,0x0f,0x61,0x00,0x00,0x66,0x5b,0x00,0x00,0x8b,0x4e,0x00,0x00,0xd7,0x5f, 0x00,0x00,0x65,0x6b,0x00,0x00,0x00,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x5b,0x00,0x00,0x55,0x53, 0x00,0x00,0xf0,0x79,0x00,0x00,0x49,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0xeb,0x53,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x4c,0x72,0x00,0x00,0x3a,0x4e,0x00,0x00,0x89,0x8a,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x67, 0x00,0x00,0x05,0x80,0x00,0x00,0x62,0x97,0x00,0x00,0xed,0x7e,0x00,0x00,0x9c,0x67,0x00,0x00,0x1f,0x67, 0x00,0x00,0x02,0x5e,0x00,0x00,0x94,0x60,0x00,0x00,0xf0,0x53,0x00,0x00,0xe3,0x4e,0x00,0x00,0x07,0x00, 0x00,0x00,0xbb,0x6c,0x00,0x00,0xe8,0x90,0x00,0x00,0x58,0x54,0x00,0x00,0xe5,0x80,0x00,0x00,0x84,0x79, 0x00,0x00,0x36,0x52,0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x69,0x00,0x00,0x43,0x85, 0x00,0x00,0x81,0x9c,0x6a,0x75,0x00,0x00,0x40,0x88,0x00,0x00,0x32,0x97,0x00,0x00,0xf8,0x53,0x00,0x00, 0x14,0x6c,0x00,0x00,0xe3,0x53,0x00,0x00,0xdf,0x7c,0x00,0x00,0x57,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0x80,0x5f,0x00,0x00,0x65,0x67,0x00,0x00,0xe5,0x65,0x75,0x84, 0x00,0x00,0x33,0x96,0x00,0x00,0x40,0x77,0x00,0x00,0x0b,0x4e,0x00,0x00,0x7d,0x59,0x00,0x00,0xfc,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x30,0x52,0x00,0x00,0x4f,0x57,0x00,0x00,0x2c,0x55, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x12,0x50,0x00,0x00,0x00,0x4e,0xf3,0x8d,0x00,0x00,0xd1,0x8d,0x00,0x00, 0x3b,0x96,0x00,0x00,0x13,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x68,0x00,0x00,0x8b,0x5b,0x9b,0x5c, 0x00,0x00,0x81,0x68,0x02,0x5e,0x00,0x00,0x8b,0x5b,0x00,0x00,0x0f,0x6c,0x00,0x00,0x0d,0x4e,0xe6,0x97, 0x00,0x00,0x81,0x68,0x71,0x5c,0x00,0x00,0x0e,0x54,0x00,0x00,0xa9,0x5c,0x00,0x00,0x03,0x5e,0x00,0x00, 0x04,0x00,0x00,0x00,0x61,0x55,0x00,0x00,0x61,0x55,0x37,0x68,0x00,0x00,0x61,0x55,0x42,0x52,0x00,0x00, 0xea,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00,0x3b,0x4e,0x00,0x00, 0x8b,0x73,0x00,0x00,0xe3,0x81,0x00,0x00,0x0d,0x4e,0xc1,0x89,0x00,0x00,0x54,0x80,0x00,0x00,0xa6,0x60, 0x00,0x00,0x3b,0x4e,0x36,0x52,0x00,0x00,0x1b,0x54,0x00,0x00,0x04,0x00,0x00,0x00,0x6c,0x55,0x00,0x00, 0xdc,0x60,0x00,0x00,0x8e,0x4e,0x00,0x00,0x6c,0x55,0x3c,0x9b,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x56, 0x00,0x00,0x10,0x54,0xcf,0x91,0x00,0x00,0xbd,0x54,0x00,0x00,0xa1,0x6c,0x00,0x00,0xdf,0x98,0x00,0x00, 0x76,0x5e,0x00,0x00,0x10,0x54,0x00,0x00,0x0d,0x67,0x00,0x00,0x61,0x53,0x00,0x00,0x1e,0x54,0x10,0x54, 0x10,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x55,0x00,0x00,0xf5,0x8b,0x00,0x00,0xd7,0x8b,0x00,0x00, 0x8f,0x54,0x00,0x00,0x38,0x6e,0x00,0x00,0xe6,0x54,0x00,0x00,0x82,0x98,0x00,0x00,0xce,0x98,0x04,0x5f, 0x08,0x67,0x00,0x00,0x31,0x5c,0x00,0x00,0xfa,0x51,0x00,0x00,0x04,0x00,0x00,0x00,0x40,0x96,0x00,0x00, 0xeb,0x53,0x00,0x00,0x0d,0x82,0x00,0x00,0x62,0x5f,0x20,0x54,0xf0,0x58,0x00,0x00,0x07,0x00,0x00,0x00, 0x76,0x55,0x00,0x00,0xaf,0x54,0x00,0x00,0x3c,0x68,0x17,0x52,0x6e,0x91,0x00,0x00,0x6b,0x86,0x49,0x55, 0x00,0x00,0xb9,0x55,0x6e,0x91,0x00,0x00,0xc9,0x62,0x7f,0x89,0x66,0x57,0x00,0x00,0xfb,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0x19,0x52,0x00,0x00,0xa4,0x8b,0x00,0x00,0x9a,0x5b,0x00,0x00,0xb3,0x51,0x00,0x00, 0xb3,0x51,0x43,0x67,0x00,0x00,0x81,0x67,0xf0,0x6c,0x65,0x67,0x00,0x00,0xb3,0x51,0x68,0x79,0x00,0x00, 0x9a,0x5b,0x27,0x60,0x00,0x00,0x89,0x63,0x00,0x00,0x81,0x67,0xf0,0x6c,0x00,0x00,0x09,0x00,0x00,0x00, 0xf0,0x53,0x00,0x00,0x27,0x55,0x00,0x00,0x3b,0x4e,0x00,0x00,0xcb,0x53,0x00,0x00,0xd2,0x55,0x00,0x00, 0x27,0x55,0x27,0x54,0x27,0x55,0x00,0x00,0x73,0x59,0x00,0x00,0x58,0x62,0x73,0x59,0x00,0x00,0x58,0x62, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0xf7,0x4e,0x00,0x00,0x6c,0x51,0xcc,0x91,0x00,0x00, 0x77,0x6d,0xcc,0x91,0x00,0x00,0xa2,0x94,0x00,0x00,0xae,0x7c,0x30,0x75,0x00,0x00,0xa7,0x7e,0x00,0x00, 0xae,0x7c,0xbf,0x53,0x00,0x00,0x37,0x8c,0x47,0x95,0x00,0x00,0x70,0x65,0x00,0x00,0x01,0x00,0x00,0x00, 0x90,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0xcf,0x91,0x00,0x00,0x49,0x4e,0x00,0x00, 0xd1,0x91,0xcf,0x91,0x00,0x00,0xca,0x7c,0x00,0x00,0xc4,0x84,0x00,0x00,0x34,0x6c,0xcf,0x91,0x00,0x00, 0xea,0x6c,0x00,0x00,0xd6,0x7c,0xcf,0x91,0x00,0x00,0x2f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52, 0x00,0x00,0xf4,0x8b,0x00,0x00,0xc1,0x8b,0x1a,0x4f,0x00,0x00,0xd6,0x53,0x00,0x00,0xc1,0x8b,0x00,0x00, 0xc1,0x89,0x00,0x00,0x17,0x4f,0x00,0x00,0x2c,0x54,0x00,0x00,0x9b,0x52,0x00,0x00,0xfb,0x95,0x00,0x00, 0x04,0x00,0x00,0x00,0xf0,0x58,0x00,0x00,0xe7,0x54,0x00,0x00,0x14,0x6c,0x00,0x00,0x2d,0x54,0x00,0x00, 0x02,0x00,0x00,0x00,0x38,0x54,0x00,0x00,0xc8,0x75,0x10,0x82,0xd4,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa8,0x52,0x00,0x00,0x28,0x75,0x00,0x00,0xd1,0x53,0x00,0x00,0x3a,0x79,0x00,0x00,0x99,0x84,0x00,0x00, 0x0b,0x7a,0x00,0x00,0x0e,0x66,0x00,0x00,0x8b,0x4e,0x00,0x00,0xea,0x8f,0x00,0x00,0x2a,0x82,0x00,0x00, 0x08,0x00,0x00,0x00,0x31,0x54,0x00,0x00,0xf0,0x58,0x00,0x00,0x40,0x54,0x00,0x00,0x31,0x54,0xf0,0x58, 0x00,0x00,0x0e,0x56,0x00,0x00,0x31,0x54,0x0e,0x56,0x0e,0x56,0x00,0x00,0x31,0x54,0xb3,0x55,0xb3,0x55, 0x00,0x00,0x31,0x54,0xa0,0x60,0xa0,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0xda,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd0,0x67,0x00,0x00,0x5f,0x6c,0x00,0x00,0xfd,0x56,0x00,0x00,0xc1,0x4e,0x9d,0x5b,0x00,0x00, 0xf1,0x82,0x48,0x68,0x00,0x00,0xa6,0x90,0xfd,0x56,0x00,0x00,0x2d,0x4e,0x00,0x00,0xe0,0x5f,0x00,0x00, 0xde,0x6d,0x00,0x00,0xe0,0x5f,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x67,0x00,0x00,0xf9,0x95, 0x00,0x00,0x92,0x91,0x00,0x00,0x35,0x54,0x00,0x00,0x30,0x52,0x00,0x00,0x35,0x54,0xf9,0x95,0xf9,0x95, 0x00,0x00,0xf9,0x95,0xf0,0x58,0x00,0x00,0x34,0x56,0x00,0x00,0x35,0x54,0xb7,0x56,0xb7,0x56,0x00,0x00, 0xb7,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x15,0x5f,0x00,0x00,0x36,0x65,0x00,0x00,0x15,0x5f,0x9b,0x52, 0x00,0x00,0xdf,0x70,0x00,0x00,0xb3,0x7e,0x00,0x00,0xd2,0x6b,0x00,0x00,0xd6,0x53,0x00,0x00,0x44,0x96, 0x00,0x00,0xd1,0x91,0x00,0x00,0xdf,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x18,0x56,0x00,0x00,0x5b,0x72, 0x00,0x00,0xce,0x98,0x00,0x00,0xce,0x98,0x1a,0x4f,0x00,0x00,0x67,0x63,0x00,0x00,0xce,0x98,0x3a,0x67, 0x00,0x00,0x14,0x6c,0x00,0x00,0xdb,0x6b,0x42,0x6c,0xb5,0x75,0x00,0x00,0xad,0x88,0x00,0x00,0xc2,0x62, 0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0xd5,0x75,0x00,0x00,0x2b,0x52,0x00,0x00,0x08,0x54, 0xa6,0x5e,0x00,0x00,0x0f,0x62,0x00,0x00,0x80,0x62,0x00,0x00,0x08,0x54,0x68,0x56,0x00,0x00,0x7d,0x51, 0x00,0x00,0x03,0x00,0x00,0x00,0xeb,0x53,0x00,0x00,0xf0,0x58,0x00,0x00,0xeb,0x53,0xf0,0x58,0x00,0x00, 0x01,0x00,0x00,0x00,0x59,0x72,0x00,0x00,0x06,0x00,0x00,0x00,0x88,0x8f,0x00,0x00,0xfd,0x56,0x00,0x00, 0xaa,0x4f,0x00,0x00,0xe5,0x65,0x09,0x4e,0x01,0x77,0x3e,0x54,0xab,0x8e,0x00,0x00,0xba,0x4e,0x00,0x00, 0x14,0x5c,0x00,0x5f,0x0c,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0x40,0x54,0x00,0x00,0xfa,0x8b,0xbe,0x8f, 0x00,0x00,0x3f,0x51,0xdf,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x06,0x90,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x46,0x54,0x00,0x00,0xde,0x6e,0x00,0x00,0x7f,0x67,0x00,0x00,0x0c,0x84,0x00,0x00, 0x26,0x8d,0x00,0x00,0x50,0x5b,0x00,0x00,0x46,0x54,0x30,0x57,0x00,0x00,0x4f,0x57,0x26,0x8d,0x00,0x00, 0xdb,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x73,0x00,0x00,0xa5,0x62,0x00,0x00,0xa4,0x4e,0x00,0x00, 0x21,0x8d,0x00,0x00,0x2e,0x73,0x00,0x00,0x63,0x6b,0x00,0x00,0x01,0x90,0x00,0x00,0xf7,0x8b,0x00,0x00, 0x12,0x90,0x00,0x00,0x73,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xc9,0x8b,0x00,0x00,0xe5,0x77,0x00,0x00, 0x2b,0x52,0x00,0x00,0xeb,0x8b,0x00,0x00,0x00,0x4e,0xb5,0x6b,0x3d,0x84,0x00,0x00,0xc8,0x7e,0x00,0x00, 0x25,0x60,0x00,0x00,0x3a,0x79,0x00,0x00,0x7d,0x76,0x00,0x00,0xb6,0x72,0x00,0x00,0x03,0x00,0x00,0x00, 0x83,0x55,0x00,0x00,0x83,0x55,0x39,0x4e,0x00,0x00,0x83,0x55,0x7f,0x89,0x97,0x67,0x00,0x00,0x01,0x00, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0x8a,0x55,0x00,0x00,0x8a,0x55,0xa9,0x52,0x01,0x5a, 0x00,0x00,0x8a,0x55,0xf0,0x58,0x00,0x00,0x04,0x00,0x00,0x00,0x7e,0x86,0x73,0x7c,0x93,0x8f,0x65,0x51, 0xd5,0x6c,0x00,0x00,0xa1,0x6c,0x00,0x00,0x65,0x55,0x00,0x00,0x7e,0x86,0x73,0x7c,0x00,0x00,0x01,0x00, 0x00,0x00,0xed,0x8b,0x00,0x00,0x09,0x00,0x00,0x00,0x10,0x54,0x00,0x00,0x10,0x54,0x69,0x72,0x00,0x00, 0xc3,0x5f,0xa5,0x6c,0x40,0x88,0x00,0x00,0x40,0x88,0x00,0x00,0xc3,0x5f,0x00,0x00,0x14,0x6c,0x00,0x00, 0x3d,0x5c,0xc3,0x5f,0x40,0x88,0x00,0x00,0xfa,0x51,0x69,0x72,0x00,0x00,0x30,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe5,0x5d,0x00,0x00,0x51,0x67,0x00,0x00,0xe5,0x5d,0x36,0x52,0x00,0x00,0x16,0x59,0x00,0x00, 0x9d,0x98,0x00,0x00,0xe5,0x5d,0xa1,0x80,0x00,0x00,0xe5,0x5d,0xcf,0x91,0x00,0x00,0x66,0x8b,0x00,0x00, 0x16,0x59,0xce,0x90,0x00,0x00,0x97,0x67,0x47,0x95,0x00,0x00,0x07,0x00,0x00,0x00,0x34,0x6c,0x00,0x00, 0xf0,0x58,0x00,0x00,0x3b,0x9f,0x00,0x00,0x7b,0x6b,0x00,0x00,0x76,0x59,0x00,0x00,0x6c,0x9a,0x00,0x00, 0x95,0x54,0x00,0x00,0x05,0x00,0x00,0x00,0x5c,0x54,0x00,0x00,0x7c,0x54,0x00,0x00,0xbd,0x54,0x00,0x00, 0x5c,0x54,0x56,0x79,0xc9,0x62,0x00,0x00,0x7c,0x54,0xc0,0x54,0xc9,0x54,0x00,0x00,0x0a,0x00,0x00,0x00, 0x83,0x55,0x00,0x00,0x50,0x5b,0x00,0x00,0xd2,0x7e,0x00,0x00,0xa6,0x5e,0x00,0x00,0x3d,0x5e,0x00,0x00, 0x83,0x55,0xc6,0x7e,0xed,0x8b,0x00,0x00,0x37,0x68,0x00,0x00,0xe8,0x90,0x00,0x00,0x62,0x54,0x00,0x00, 0x62,0x54,0xf4,0x75,0xf4,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x0e,0x55,0x00,0x00,0x02,0x00,0x00,0x00, 0x66,0x54,0x00,0x00,0x7f,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0xb9,0x8f,0x00,0x00, 0x0a,0x52,0x00,0x00,0x8c,0x4e,0x00,0x00,0xf4,0x56,0x00,0x00,0xdb,0x56,0x00,0x00,0x94,0x4e,0x00,0x00, 0x00,0x4e,0x00,0x00,0x09,0x4e,0x00,0x00,0x2b,0x67,0x00,0x00,0x07,0x00,0x00,0x00,0xd4,0x54,0x00,0x00, 0xd5,0x6b,0x00,0x00,0x28,0x54,0x00,0x00,0x28,0x54,0x6e,0x91,0x00,0x00,0xeb,0x55,0x00,0x00,0x85,0x56, 0x00,0x00,0x6b,0x54,0x00,0x00,0x07,0x00,0x00,0x00,0x6a,0x56,0x00,0x00,0x71,0x54,0x00,0x00,0x71,0x54, 0x60,0x57,0x30,0x57,0x00,0x00,0x27,0x55,0x00,0x00,0x71,0x54,0xeb,0x53,0x00,0x00,0xd2,0x55,0x00,0x00, 0xd2,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x59,0x72,0xa7,0x54,0x34,0x56,0x00,0x00,0x0a,0x00,0x00,0x00, 0x53,0x90,0x00,0x00,0xbe,0x7c,0x00,0x00,0x3f,0x51,0x00,0x00,0xc9,0x89,0x00,0x00,0x43,0x53,0x00,0x00, 0x7e,0x85,0x00,0x00,0x68,0x51,0x00,0x00,0x9b,0x8f,0x00,0x00,0x4c,0x56,0x00,0x00,0x0c,0x54,0xbc,0x56, 0x21,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0x75,0x54,0x00,0x00,0xa4,0x62,0x00,0x00,0xa5,0x65,0x00,0x00, 0x23,0x8d,0x00,0x00,0x20,0x6b,0x00,0x00,0x14,0x6c,0x00,0x00,0xfb,0x53,0x9c,0x5e,0x00,0x00,0xf1,0x53, 0x00,0x00,0xd2,0x75,0x00,0x00,0x14,0x6c,0x10,0x62,0x1c,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x54, 0x00,0x00,0x01,0x00,0x00,0x00,0x77,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0x01,0x54,0x00,0x00,0x38,0x54,0x00,0x00,0xf0,0x58,0x00,0x00,0x38,0x54,0x53,0x90,0x00,0x00, 0xeb,0x53,0x00,0x00,0x24,0x55,0x00,0x00,0x8c,0x54,0x69,0x6d,0x79,0x72,0x00,0x00,0x94,0x5e,0x00,0x00, 0x38,0x54,0xfb,0x7c,0xdf,0x7e,0x00,0x00,0x8a,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x8f,0x00,0x00, 0xe4,0x4e,0x00,0x00,0x0d,0x54,0x00,0x00,0x98,0x98,0x00,0x00,0x48,0x68,0x00,0x00,0x2d,0x4e,0x00,0x00, 0x09,0x81,0x00,0x00,0xc8,0x7e,0x00,0x00,0xd8,0x76,0x00,0x00,0x2d,0x4e,0x87,0x73,0x00,0x00,0x03,0x00, 0x00,0x00,0xbc,0x56,0x00,0x00,0xbc,0x56,0x47,0x72,0x00,0x00,0x92,0x54,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1a,0x59,0x00,0x00,0x71,0x55,0x00,0x00,0x37,0x68,0x00,0x00,0x27,0x59,0x00,0x00,0x05,0x56,0x00,0x00, 0x13,0x66,0x00,0x00,0x10,0x80,0x00,0x00,0xe9,0x65,0x00,0x00,0x1c,0x59,0x00,0x00,0xeb,0x5f,0x00,0x00, 0x03,0x00,0x00,0x00,0x34,0x56,0x00,0x00,0x82,0x54,0x00,0x00,0x78,0x64,0x00,0x00,0x05,0x00,0x00,0x00, 0x84,0x54,0x3c,0x90,0xba,0x4e,0x00,0x00,0x84,0x54,0x2a,0x60,0x8b,0x4e,0x00,0x00,0x84,0x54,0x00,0x00, 0xdf,0x55,0x00,0x00,0x84,0x54,0xf0,0x79,0x47,0x59,0x00,0x00,0x03,0x00,0x00,0x00,0xee,0x54,0x00,0x00, 0xee,0x54,0x53,0x4f,0x00,0x00,0xee,0x54,0x82,0x59,0xf7,0x96,0x00,0x00,0x05,0x00,0x00,0x00,0x0c,0x82, 0x00,0x00,0x37,0x68,0x00,0x00,0x48,0x4e,0x00,0x00,0x7c,0x54,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x73,0x5e,0x00,0x00,0x10,0x8c,0x00,0x00,0xe3,0x89,0x00,0x00,0x1a,0x5c,0x00,0x00,0x08,0x8c, 0x00,0x00,0x30,0x75,0x00,0x00,0x30,0x75,0x89,0x73,0x00,0x00,0x66,0x77,0x00,0x00,0xb0,0x8b,0x00,0x00, 0x73,0x5e,0x56,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0x31,0x75,0xea,0x81,0xd6,0x53,0x00,0x00,0xd7,0x72, 0x00,0x00,0x09,0x67,0x94,0x5e,0x97,0x5f,0x00,0x00,0x34,0x8c,0x00,0x00,0x06,0x00,0x00,0x00,0xf9,0x53, 0x03,0x8c,0x00,0x00,0x25,0x66,0x00,0x00,0x25,0x66,0xf3,0x62,0x00,0x00,0xf9,0x53,0x00,0x00,0x00,0x60, 0x00,0x00,0x77,0x61,0x00,0x00,0x09,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x82,0x9a,0x00,0x00,0xc5,0x8b, 0x00,0x00,0xf3,0x97,0x00,0x00,0x2f,0x67,0x00,0x00,0x6e,0x8f,0x00,0x00,0x9b,0x52,0x00,0x00,0x28,0x60, 0x00,0x00,0x87,0x65,0x00,0x00,0x07,0x00,0x00,0x00,0x94,0x54,0x00,0x00,0x93,0x56,0x00,0x00,0xd2,0x55, 0x00,0x00,0xd2,0x54,0x00,0x00,0x27,0x54,0x00,0x00,0xfd,0x53,0x00,0x00,0xd2,0x54,0xf0,0x58,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5c,0x56,0x00,0x00,0x95,0x54,0x00,0x00,0x9a,0x54,0x00,0x00,0xfd,0x53,0x00,0x00, 0x1f,0x56,0x00,0x00,0x1f,0x56,0x95,0x54,0x1f,0x56,0x00,0x00,0xdd,0x54,0x00,0x00,0x95,0x54,0xeb,0x53, 0x00,0x00,0x9a,0x54,0x95,0x54,0x9a,0x54,0x00,0x00,0x5c,0x56,0x5c,0x56,0x00,0x00,0x0a,0x00,0x00,0x00, 0x61,0x55,0x00,0x00,0x61,0x55,0x86,0x99,0x00,0x00,0x61,0x55,0xe0,0x56,0x00,0x00,0x61,0x55,0x85,0x53, 0x00,0x00,0x61,0x55,0x97,0x5e,0x00,0x00,0xb1,0x55,0x00,0x00,0x61,0x55,0x46,0x8c,0x00,0x00,0x61,0x55, 0xb1,0x78,0x00,0x00,0x61,0x55,0x3a,0x67,0x00,0x00,0x61,0x55,0x4b,0x5c,0x00,0x00,0x03,0x00,0x00,0x00, 0x2a,0x4e,0x00,0x00,0x62,0x4f,0x00,0x00,0x72,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0x9a,0x54,0x00,0x00, 0x02,0x00,0x00,0x00,0x9d,0x54,0xf0,0x58,0x00,0x00,0x3f,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x53,0x5f, 0x00,0x00,0xa3,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0xa7,0x54,0x00,0x00,0x00,0x5f,0x34,0x56,0x11,0x7b, 0x00,0x00,0x34,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x8b,0x00,0x00,0xe2,0x8b,0x08,0x5e,0x00,0x00, 0x87,0x65,0x00,0x00,0xe2,0x8b,0x39,0x8d,0x00,0x00,0xe2,0x8b,0xe8,0x90,0x00,0x00,0xe2,0x8b,0x1a,0x4f, 0x00,0x00,0xe2,0x8b,0x05,0x80,0x00,0x00,0x46,0x55,0x40,0x5c,0x00,0x00,0xe2,0x8b,0xf0,0x53,0x00,0x00, 0xe2,0x8b,0xcf,0x91,0x00,0x00,0x06,0x00,0x00,0x00,0xa9,0x54,0x00,0x00,0xfd,0x90,0x00,0x00,0xeb,0x53, 0x00,0x00,0xba,0x4e,0x00,0x00,0xce,0x91,0x00,0x00,0xfb,0x7c,0x00,0x00,0x07,0x00,0x00,0x00,0xaa,0x54, 0x00,0x00,0x11,0x55,0x00,0x00,0x68,0x88,0x00,0x00,0x14,0x55,0x00,0x00,0x7d,0x59,0x00,0x00,0x5c,0x56, 0x00,0x00,0xac,0x91,0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x5c,0x00,0x00,0x3a,0x5c,0x4b,0x4e,0x65,0x90, 0x00,0x00,0x3a,0x5c,0x29,0x59,0xaf,0x6d,0x00,0x00,0x65,0x6b,0x4b,0x4e,0x65,0x90,0x00,0x00,0x0a,0x00, 0x00,0x00,0x24,0x4f,0x00,0x00,0x59,0x72,0x00,0x00,0xac,0x54,0x00,0x00,0x08,0x54,0x00,0x00,0xad,0x65, 0x00,0x00,0x59,0x72,0x07,0x52,0x7f,0x9f,0x00,0x00,0x9a,0x5b,0x00,0x00,0x87,0x65,0xbc,0x56,0x57,0x5b, 0x00,0x00,0x27,0x7d,0x59,0x72,0x73,0x51,0x00,0x00,0x8e,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0xad,0x54, 0x71,0x54,0x71,0x54,0x00,0x00,0x08,0x00,0x00,0x00,0xaf,0x54,0x00,0x00,0x40,0x88,0x00,0x00,0x31,0x54, 0x00,0x00,0x54,0x56,0x00,0x00,0x93,0x56,0x00,0x00,0x31,0x54,0x31,0x54,0x00,0x00,0xaf,0x54,0x31,0x54, 0x31,0x54,0x00,0x00,0xaf,0x54,0x11,0x7b,0x00,0x00,0x04,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0xe9,0x4f, 0x00,0x00,0x51,0x67,0x00,0x00,0xb6,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0xfd,0x55,0x00,0x00,0xf0,0x75, 0x00,0x00,0x98,0x55,0x00,0x00,0x40,0x88,0x00,0x00,0xfd,0x55,0xf0,0x58,0x00,0x00,0x30,0x52,0x00,0x00, 0x5b,0x54,0x00,0x00,0x98,0x55,0x81,0x5b,0x00,0x00,0xfd,0x55,0xc5,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0x33,0x96,0x00,0x00,0x7c,0x9c,0x00,0x00,0xdc,0x83,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xcb,0x86, 0x00,0x00,0x73,0x54,0x00,0x00,0x81,0x5b,0x00,0x00,0x30,0x4e,0x00,0x00,0x5c,0x95,0x17,0x53,0x53,0x90, 0x00,0x00,0x7c,0x9c,0xfb,0x7f,0xab,0x8e,0x00,0x00,0x01,0x00,0x00,0x00,0xbb,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0x89,0x55,0x00,0x00,0x8e,0x70,0x00,0x00,0x0b,0x4e,0x00,0x00,0xdb,0x75,0x00,0x00,0x72,0x5e, 0x00,0x00,0xed,0x62,0x50,0x5b,0x00,0x00,0xe8,0x90,0x00,0x00,0x89,0x55,0x8e,0x70,0x00,0x00,0x89,0x55, 0xe8,0x90,0x00,0x00,0xd2,0x75,0x00,0x00,0x03,0x00,0x00,0x00,0x40,0x54,0x00,0x00,0x14,0x55,0x00,0x00, 0x37,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0xbc,0x60,0x00,0x00,0x24,0x4f,0x00,0x00,0x42,0x6c,0x00,0x00, 0x1d,0x60,0x00,0x00,0xf9,0x53,0x00,0x00,0xbc,0x60,0xe5,0x65,0x00,0x00,0x3f,0x9e,0x4d,0x90,0xce,0x91, 0x00,0x00,0x28,0x60,0x00,0x00,0x8e,0x56,0x00,0x00,0x01,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x72, 0x00,0x00,0xcd,0x79,0x00,0x00,0x28,0x8d,0x00,0x00,0x7b,0x7c,0x00,0x00,0x4d,0x4f,0x00,0x00,0x1d,0x5c, 0x00,0x00,0x73,0x54,0x00,0x00,0x4c,0x72,0x46,0x55,0x00,0x00,0xf8,0x76,0x00,0x00,0x3c,0x68,0x00,0x00, 0x02,0x00,0x00,0x00,0x11,0x7b,0x00,0x00,0xb3,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xac,0x62,0x00,0x00, 0xa2,0x62,0x00,0x00,0x97,0x9a,0x00,0x00,0xc4,0x54,0x00,0x00,0x11,0x7b,0x00,0x00,0x02,0x58,0x27,0x59, 0x11,0x7b,0x00,0x00,0xf9,0x95,0x00,0x00,0xa8,0x52,0x00,0x00,0x36,0x71,0x00,0x00,0x9d,0x52,0x00,0x00, 0x04,0x00,0x00,0x00,0xe6,0x55,0x00,0x00,0x65,0x67,0xaa,0x54,0x00,0x00,0x70,0x55,0x8e,0x7f,0xdc,0x8f, 0x00,0x00,0x70,0x55,0x8e,0x7f,0xdc,0x8f,0xcf,0x65,0x00,0x00,0x09,0x00,0x00,0x00,0xc7,0x54,0x00,0x00, 0x66,0x55,0x00,0x00,0x7b,0x56,0x00,0x00,0x7b,0x56,0x51,0x7f,0x00,0x00,0x99,0x6c,0xd4,0x6b,0x00,0x00, 0x87,0x55,0x00,0x00,0x99,0x6c,0x73,0x7c,0x00,0x00,0x60,0x97,0x00,0x00,0x5e,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc8,0x54,0x00,0x00,0xc8,0x54,0xc8,0x54,0x00,0x00,0x14,0x5c,0xe8,0x6e,0x00,0x00,0x5b,0x4f, 0x00,0x00,0x6c,0x9a,0xaf,0x65,0x00,0x00,0x28,0x84,0x4b,0x51,0xaf,0x65,0x66,0x57,0x00,0x00,0x3c,0x5c, 0x00,0x00,0x14,0x5c,0xe8,0x6e,0x02,0x5e,0x00,0x00,0xcc,0x91,0x00,0x00,0xd4,0x6b,0x00,0x00,0x02,0x00, 0x00,0x00,0xea,0x55,0x00,0x00,0xff,0x66,0x76,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0x94,0x5e,0x00,0x00, 0x77,0x8d,0x00,0x00,0xae,0x4e,0x00,0x00,0xf0,0x58,0x00,0x00,0x53,0x5f,0x53,0x5f,0x00,0x00,0x34,0x6c, 0x00,0x00,0xa8,0x52,0x00,0x00,0x3e,0x5c,0xc7,0x86,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x03,0x00,0x00,0x00,0x40,0x54,0x00,0x00,0xdf,0x54,0x00,0x00,0x37,0x55,0x00,0x00,0x04,0x00, 0x00,0x00,0x53,0x5f,0x00,0x00,0xd0,0x54,0x00,0x00,0x77,0x55,0x00,0x00,0xd0,0x54,0x77,0x55,0x77,0x55, 0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x94,0x00,0x00,0xf4,0x5d,0x00,0x00,0xe3,0x53,0xe0,0x65,0x00,0x8a, 0x00,0x00,0x6b,0x70,0x00,0x00,0x49,0x51,0x00,0x00,0xf4,0x5d,0x8f,0x4e,0x00,0x00,0x39,0x5f,0x00,0x00, 0xf4,0x5d,0x03,0x54,0xc4,0x9e,0xde,0x8f,0x00,0x00,0x36,0x71,0x31,0x59,0x11,0x7b,0x00,0x00,0xc3,0x94, 0x8b,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0xd2,0x54,0x00,0x00,0xea,0x55,0x00,0x00,0x01,0x00,0x00,0x00, 0xd3,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0xd4,0x54,0x00,0x00,0xfd,0x53,0x00,0x00,0xd4,0x54,0x6a,0x55, 0x6a,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0xd5,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00, 0xd7,0x54,0x00,0x00,0x17,0x4f,0xd6,0x53,0xa0,0x5b,0x00,0x00,0xd8,0x53,0x00,0x00,0x66,0x55,0x66,0x55, 0x00,0x00,0x66,0x55,0x00,0x00,0x66,0x55,0xd7,0x54,0x66,0x55,0x00,0x00,0xd7,0x54,0xd7,0x54,0x00,0x00, 0x17,0x4f,0x00,0x00,0x66,0x55,0x00,0x4e,0xf0,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0xde,0x54,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe5,0x54,0x00,0x00,0x26,0x4f,0xd4,0x6b,0x9a,0x4e,0x00,0x00,0xec,0x4e,0x00,0x00, 0x2c,0x67,0xc8,0x54,0x39,0x68,0x00,0x00,0xaf,0x65,0xbe,0x8f,0xce,0x9e,0xa0,0x52,0x00,0x00,0xec,0x4e, 0x3f,0x51,0x00,0x00,0x7d,0x76,0x3c,0x5c,0x00,0x00,0x26,0x4f,0x03,0x5e,0x00,0x00,0x91,0x7a,0x00,0x00, 0x79,0x72,0x00,0x00,0x02,0x00,0x00,0x00,0xe7,0x54,0x00,0x00,0x9c,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x40,0x62,0x00,0x00,0x75,0x51,0x00,0x00,0xf0,0x58,0x00,0x00,0xb9,0x70,0x00,0x00,0x50,0x5b,0x00,0x00, 0x61,0x53,0x00,0x00,0x4d,0x4f,0x00,0x00,0x97,0x5c,0x00,0x00,0xf3,0x97,0x00,0x00,0x7f,0x95,0x00,0x00, 0x05,0x00,0x00,0x00,0x2a,0x4e,0x00,0x00,0xe9,0x54,0x66,0x55,0x66,0x55,0x00,0x00,0xe9,0x54,0x70,0x55, 0x70,0x55,0x00,0x00,0xe9,0x54,0x57,0x7f,0x57,0x7f,0x00,0x00,0x9c,0x6e,0x6a,0x6b,0x9c,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcc,0x91,0x00,0x00,0x9b,0x4e,0x00,0x00,0x2a,0x4e,0x00,0x00,0x3f,0x51,0x00,0x00, 0x15,0x60,0x00,0x00,0xb6,0x5b,0x00,0x00,0x37,0x68,0x00,0x00,0x3e,0x6b,0x00,0x00,0x2c,0x82,0x00,0x00, 0x12,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xe3,0x6c,0x00,0x00,0xf0,0x58,0x00,0x00,0xf9,0x95,0x00,0x00, 0x11,0x7b,0x0d,0x4e,0x97,0x5f,0x00,0x00,0xc9,0x8b,0x00,0x00,0x8a,0x55,0x00,0x00,0x77,0x7a,0x00,0x00, 0x8a,0x55,0xf0,0x58,0x00,0x00,0xed,0x54,0x7c,0x55,0x7c,0x55,0x00,0x00,0x54,0x81,0x00,0x00,0x03,0x00, 0x00,0x00,0x98,0x55,0x00,0x00,0x98,0x55,0xc5,0x75,0x00,0x00,0x23,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x66,0x5b,0x00,0x00,0x66,0x5b,0xb6,0x5b,0x00,0x00,0x06,0x74,0x00,0x00,0x66,0x5b,0xf2,0x53,0x00,0x00, 0x66,0x5b,0xfb,0x7c,0x00,0x00,0xba,0x4e,0x00,0x00,0x8c,0x86,0xfa,0x5b,0x00,0x00,0x1d,0x60,0x00,0x00, 0x66,0x5b,0x4c,0x75,0x00,0x00,0xf2,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x4e,0x00,0x00,0x73,0x4e, 0xa8,0x52,0x69,0x72,0x00,0x00,0x73,0x4e,0x1f,0x67,0x00,0x00,0xb2,0x80,0x00,0x00,0x73,0x4e,0x7b,0x7c, 0x00,0x00,0x73,0x4e,0xa4,0x5b,0x00,0x00,0x73,0x4e,0xb2,0x7e,0x00,0x00,0xcd,0x6b,0x73,0x4e,0x00,0x00, 0x7b,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0xfc,0x54,0x00,0x00,0x27,0x55,0x00,0x00, 0x31,0x55,0x00,0x00,0xe7,0x54,0x00,0x00,0xfc,0x54,0x27,0x55,0x27,0x55,0x00,0x00,0xc8,0x54,0x8c,0x4e, 0x06,0x5c,0x00,0x00,0x37,0x55,0x00,0x00,0x3f,0x51,0xc8,0x54,0x3f,0x51,0x00,0x00,0xf0,0x58,0x00,0x00, 0x03,0x00,0x00,0x00,0xbd,0x54,0x00,0x00,0x4e,0x56,0x00,0x00,0x5e,0x58,0x00,0x00,0x04,0x00,0x00,0x00, 0x35,0x75,0x00,0x00,0xfd,0x51,0x00,0x00,0xe1,0x4f,0x00,0x00,0xb3,0x52,0x00,0x00,0x01,0x00,0x00,0x00, 0x7f,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x8f,0x81,0x00,0x00,0xe8,0x90,0x00,0x00,0xaa,0x67,0x0c,0x82, 0x51,0x52,0x00,0x00,0x69,0x5f,0x00,0x00,0x6d,0x81,0xc2,0x88,0x00,0x00,0x72,0x82,0x00,0x00,0x7f,0x9f, 0x00,0x00,0x0c,0x82,0x00,0x00,0x7f,0x9f,0xf8,0x76,0x9d,0x4f,0x00,0x00,0xc2,0x88,0x00,0x00,0x09,0x00, 0x00,0x00,0xf0,0x58,0xf9,0x53,0x14,0x6c,0x00,0x00,0xf9,0x53,0x00,0x00,0x09,0x55,0x00,0x00,0xaf,0x75, 0x00,0x00,0xe4,0x51,0x00,0x00,0x49,0x59,0x00,0x00,0xd0,0x59,0x00,0x00,0x4d,0x91,0x00,0x00,0xf0,0x58, 0xf9,0x53,0x6f,0x60,0x00,0x00,0x04,0x00,0x00,0x00,0x18,0x56,0x00,0x00,0xe9,0x54,0xd7,0x54,0x66,0x55, 0x00,0x00,0x18,0x56,0x3d,0x84,0xea,0x6c,0x00,0x00,0xd2,0x55,0x0f,0x55,0xd2,0x55,0x00,0x00,0x0a,0x00, 0x00,0x00,0x71,0x5c,0x00,0x00,0xe3,0x4e,0x00,0x00,0x1d,0x67,0x00,0x00,0xe7,0x50,0x00,0x00,0x09,0x4e, 0xcf,0x85,0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x61,0x53,0x00,0x00,0xba,0x4e, 0x57,0x88,0x00,0x00,0x8b,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x59,0x00,0x00,0xe5,0x77,0x00,0x00, 0xfb,0x7c,0x00,0x00,0x30,0x52,0x00,0x00,0xf3,0x60,0x00,0x00,0x1a,0x4f,0x00,0x00,0xc6,0x8b,0x00,0x00, 0x7f,0x4f,0x00,0x00,0xdf,0x98,0x00,0x00,0x0c,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00, 0x01,0x00,0x00,0x00,0x25,0x54,0x00,0x00,0x06,0x00,0x00,0x00,0xe8,0x53,0x00,0x00,0xd1,0x55,0x00,0x00, 0x20,0x55,0xe8,0x53,0xe8,0x53,0x00,0x00,0x20,0x55,0x00,0x00,0x77,0x8d,0x00,0x00,0x6f,0x62,0x00,0x00, 0x02,0x00,0x00,0x00,0x50,0x54,0x00,0x00,0x50,0x54,0xf2,0x66,0x00,0x00,0x09,0x00,0x00,0x00,0x92,0x91, 0x00,0x00,0x77,0x8d,0x00,0x00,0x65,0x67,0x00,0x00,0xde,0x56,0x00,0x00,0xd6,0x53,0x00,0x00,0x34,0x59, 0x00,0x00,0xe8,0x96,0x7c,0x54,0xce,0x98,0x00,0x00,0x5c,0x4f,0x00,0x00,0x5a,0x50,0x00,0x00,0x09,0x00, 0x00,0x00,0x27,0x55,0x00,0x00,0x27,0x55,0x6a,0x6b,0x6a,0x6b,0x00,0x00,0x27,0x55,0xb3,0x55,0xb3,0x55, 0x00,0x00,0x52,0x7b,0x00,0x00,0x95,0x54,0x00,0x00,0x52,0x7b,0xa7,0x5e,0x00,0x00,0x27,0x55,0x0e,0x56, 0x0e,0x56,0x00,0x00,0x7e,0x55,0x00,0x00,0xdd,0x54,0x00,0x00,0x04,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0x4f,0x4f,0x00,0x00,0xc2,0x70,0x00,0x00,0x04,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x68,0x79,0x00,0x00,0xfa,0x51,0x00,0x00,0x0e,0x54,0x0d,0x67,0xa1,0x52,0x00,0x00,0x56,0x53,0x00,0x00, 0x7c,0x69,0x04,0x59,0x00,0x00,0x3f,0x62,0x00,0x00,0x27,0x8d,0x58,0x54,0x00,0x00,0x47,0x50,0x00,0x00, 0x68,0x79,0x58,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x4e,0x00,0x00,0x09,0x67,0x00,0x00,0xa0,0x51, 0x00,0x00,0xc1,0x54,0x1a,0x4f,0x00,0x00,0xec,0x72,0x00,0x00,0xc6,0x8b,0x00,0x00,0xc3,0x5f,0x00,0x00, 0x50,0x60,0x00,0x00,0xc6,0x8b,0x66,0x5b,0x00,0x00,0x69,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x30,0x55, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x6b,0x00,0x00,0x47,0x72,0x00,0x00,0x7a,0x7a,0x00,0x00,0x70,0x88, 0x00,0x00,0x0f,0x62,0x00,0x00,0x3b,0x4e,0xd2,0x89,0x00,0x00,0x54,0x81,0x00,0x00,0xef,0x51,0x00,0x00, 0x3a,0x53,0x00,0x00,0xd5,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0x1b,0x56,0x62,0x54,0xed,0x53,0xaa,0x54, 0xde,0x54,0x00,0x00,0x1b,0x56,0xaa,0x54,0xed,0x53,0x62,0x54,0xde,0x54,0x00,0x00,0x02,0x00,0x00,0x00, 0x38,0x55,0x00,0x00,0x66,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x6d,0x00,0x00,0x03,0x5f,0x00,0x00, 0xab,0x6c,0x00,0x00,0x4b,0x62,0xef,0x53,0x97,0x5f,0x00,0x00,0xb2,0x6d,0x7a,0x81,0x00,0x00,0x82,0x9a, 0x00,0x00,0x62,0x97,0xea,0x81,0x72,0x5e,0x00,0x00,0x4b,0x62,0x00,0x00,0x59,0x4f,0x00,0x00,0xab,0x6c, 0x1f,0x66,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0xe8,0x54,0x00,0x00,0x87,0x55,0x00,0x00,0x87,0x55, 0x87,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0x7e,0x55,0x00,0x00,0x05,0x00,0x00,0x00,0x01,0x80,0xcf,0x65, 0x00,0x00,0x66,0x4e,0x2c,0x67,0x00,0x00,0x01,0x80,0x00,0x00,0x52,0x97,0x00,0x00,0x66,0x4e,0x00,0x00, 0x03,0x00,0x00,0x00,0x28,0x67,0x1f,0x9e,0x00,0x00,0xdf,0x98,0x00,0x00,0x8a,0x7f,0x66,0x9e,0x49,0x9e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0xc1,0x54,0x00,0x00,0xa1,0x52,0x00,0x00,0xb6,0x5b, 0x00,0x00,0xa5,0x62,0x00,0x00,0xce,0x57,0x00,0x00,0xa1,0x52,0xe8,0x90,0x00,0x00,0x07,0x68,0x00,0x00, 0x3a,0x57,0x00,0x00,0xc1,0x54,0x3f,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0x4a,0x55,0x00,0x00,0x40,0x54, 0x00,0x00,0xdf,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0xe3,0x6c,0x00,0x00,0x6e,0x99,0x00,0x00,0x65,0x51, 0x00,0x00,0x02,0x00,0x00,0x00,0x72,0x82,0x00,0x00,0x85,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x91, 0x00,0x00,0x52,0x91,0xf6,0x74,0x00,0x00,0x52,0x91,0x82,0x82,0x00,0x00,0x52,0x91,0x82,0x53,0x00,0x00, 0x52,0x91,0xb1,0x82,0x00,0x00,0x52,0x91,0x1a,0x4e,0x00,0x00,0x52,0x91,0x46,0x55,0x00,0x00,0x52,0x91, 0xa1,0x80,0x00,0x00,0x52,0x91,0x6f,0x67,0x00,0x00,0x52,0x91,0x50,0x7f,0x00,0x00,0x05,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x28,0x75,0x00,0x00,0x48,0x4e,0x00,0x00,0x0d,0x54,0x00,0x00,0xaa,0x54,0x00,0x00, 0x03,0x00,0x00,0x00,0x66,0x55,0x1f,0x96,0x00,0x00,0x66,0x55,0x1f,0x96,0x7f,0x95,0x00,0x00,0x71,0x54, 0x00,0x00,0x05,0x00,0x00,0x00,0x67,0x55,0x00,0x00,0x67,0x55,0xf0,0x79,0x47,0x59,0x00,0x00,0x09,0x67, 0xe6,0x70,0x00,0x8a,0x00,0x00,0x67,0x55,0xf0,0x79,0x5e,0x8d,0x00,0x00,0x67,0x55,0xf0,0x58,0x00,0x00, 0x05,0x00,0x00,0x00,0x6a,0x55,0x6a,0x55,0x00,0x00,0x6a,0x55,0x00,0x00,0xd2,0x55,0x00,0x00,0xd2,0x54, 0x00,0x00,0xd2,0x54,0x6a,0x55,0xd2,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0xb1,0x55,0x00,0x00,0xe9,0x54, 0x00,0x00,0x01,0x00,0x00,0x00,0x23,0x9e,0x00,0x00,0x06,0x00,0x00,0x00,0x7f,0x9f,0x7b,0x7c,0x00,0x00, 0x7f,0x9f,0xa8,0x52,0x69,0x72,0x00,0x00,0x08,0x54,0x00,0x00,0x7f,0x9f,0xee,0x76,0x00,0x00,0x7f,0x9f, 0x00,0x00,0x6c,0x56,0x00,0x00,0x04,0x00,0x00,0x00,0xe6,0x55,0x00,0x00,0x06,0x55,0x00,0x00,0xcc,0x91, 0x70,0x55,0xe6,0x55,0x00,0x00,0xcf,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x55,0x00,0x00,0x08,0x00, 0x00,0x00,0x4c,0x6b,0x00,0x00,0x22,0x56,0x00,0x00,0x14,0x55,0x00,0x00,0xba,0x4e,0x00,0x00,0xce,0x91, 0x00,0x00,0x81,0x54,0x00,0x00,0xa9,0x54,0x00,0x00,0xf8,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0x74,0x55, 0x00,0x00,0x13,0x7f,0x00,0x00,0x01,0x00,0x00,0x00,0x75,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0x53,0x5f, 0x00,0x00,0x05,0x00,0x00,0x00,0x87,0x5b,0x00,0x00,0xf0,0x58,0x00,0x00,0x5a,0x80,0x00,0x00,0x23,0x9e, 0x00,0x00,0xb2,0x50,0x00,0x00,0x07,0x00,0x00,0x00,0x11,0x7b,0x86,0x76,0x5e,0x97,0x00,0x00,0xed,0x54, 0x00,0x00,0xf0,0x58,0x00,0x00,0x23,0x9e,0x00,0x00,0x65,0x99,0xf7,0x53,0xd2,0x5b,0x00,0x00,0x43,0x9e, 0x00,0x00,0x3f,0x73,0x00,0x00,0x02,0x00,0x00,0x00,0x7e,0x55,0x00,0x00,0x27,0x55,0x00,0x00,0x0a,0x00, 0x00,0x00,0x03,0x5e,0x14,0x5c,0x00,0x00,0xc0,0x4e,0x00,0x00,0xa6,0x9e,0x86,0x96,0x00,0x00,0x1f,0x57, 0x46,0x7a,0x00,0x00,0x71,0x5c,0x00,0x00,0xb3,0x7e,0xaf,0x65,0x00,0x00,0xaf,0x65,0x79,0x72,0x00,0x00, 0xaf,0x65,0x79,0x72,0x30,0x57,0x8c,0x8c,0x00,0x00,0xc9,0x62,0xc9,0x62,0xa6,0x90,0x00,0x00,0xcb,0x79, 0x8e,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0x81,0x55,0x00,0x00,0x05,0x00,0x00,0x00,0x7b,0x51,0x00,0x00, 0x76,0x59,0x00,0x00,0xcd,0x6b,0x73,0x4e,0x00,0x00,0x7b,0x51,0xcf,0x91,0x00,0x00,0xdf,0x98,0x00,0x00, 0x03,0x00,0x00,0x00,0x83,0x55,0x00,0x00,0x57,0x5b,0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0e,0x54,0x00,0x00,0x8e,0x4e,0x00,0x00,0x6f,0x82,0x00,0x00,0x0f,0x61,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x39,0x68,0x00,0x00,0x76,0x60,0x00,0x00,0x8b,0x4e,0x00,0x00,0x1a,0x4e,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x01,0x00,0x00,0x00,0x0d,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x53,0x00,0x00,0x1b,0x56,0x00,0x00, 0xed,0x53,0xf0,0x58,0x00,0x00,0x1b,0x56,0x59,0x65,0x00,0x00,0xed,0x53,0xe3,0x53,0x00,0x00,0xed,0x53, 0x9f,0x6c,0xe8,0x95,0x00,0x00,0xed,0x53,0xe4,0x88,0x00,0x00,0xed,0x53,0xb1,0x82,0x00,0x00,0xed,0x53, 0x62,0x5f,0x00,0x00,0x1b,0x56,0x99,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x54,0x00,0x00,0xe8,0x90, 0x00,0x00,0x4c,0x76,0x00,0x00,0x99,0x54,0xdb,0x75,0x00,0x00,0xd3,0x7e,0x00,0x00,0x0c,0x82,0x00,0x00, 0x34,0x59,0x00,0x00,0xa1,0x7b,0x00,0x00,0x8e,0x70,0x00,0x00,0x6e,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdd,0x8b,0x00,0x00,0xa4,0x51,0x00,0x00,0xeb,0x53,0x00,0x00,0xf0,0x58,0x00,0x00,0xf7,0x4e,0x00,0x00, 0xeb,0x53,0xf0,0x58,0x00,0x00,0x53,0x90,0x00,0x00,0xa8,0x6d,0x00,0x00,0xdd,0x8b,0x68,0x56,0x00,0x00, 0xd3,0x55,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x8b,0x55,0x0d,0x4e,0x11,0x4f,0x00,0x00,0x40,0x88, 0x00,0x00,0x8b,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0x38,0x72, 0x00,0x00,0x38,0x97,0x00,0x00,0x7b,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x6f,0x60,0x00,0x00,0x0d,0x4e, 0xc7,0x8f,0x14,0x6c,0x65,0x67,0x00,0x00,0x14,0x6c,0x00,0x00,0x9a,0x5b,0x00,0x00,0x97,0x7c,0x14,0x6c, 0x00,0x00,0x2f,0x63,0x00,0x00,0x98,0x55,0x14,0x6c,0x00,0x00,0x47,0x6b,0x00,0x00,0x01,0x54,0x01,0x54, 0x00,0x00,0x18,0x56,0x18,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x6b,0x00,0x00,0x31,0x72,0x00,0x00, 0x7d,0x59,0x00,0x00,0xa6,0x60,0x00,0x00,0x67,0x52,0x00,0x00,0x86,0x5e,0x00,0x00,0xba,0x4e,0x00,0x00, 0xfb,0x95,0x50,0x4e,0xc1,0x89,0x00,0x00,0x8a,0x7f,0x8a,0x7f,0x00,0x00,0x1f,0x61,0x00,0x00,0x0a,0x00, 0x00,0x00,0x52,0x91,0x00,0x00,0x36,0x83,0x00,0x00,0x69,0x5f,0x00,0x00,0x89,0x91,0x00,0x00,0x62,0x6b, 0x00,0x00,0x53,0x90,0x00,0x00,0x7f,0x89,0x17,0x53,0xce,0x98,0x00,0x00,0xe4,0x4e,0x00,0x00,0x69,0x5f, 0xf0,0x58,0x00,0x00,0xa5,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0xf9,0x53,0x00,0x00,0x36,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa3,0x56,0x00,0x00,0xd7,0x54,0x00,0x00,0xf9,0x95,0x00,0x00,0xbe,0x5b,0x3a,0x59, 0x3b,0x4e,0x00,0x00,0xf9,0x95,0xf0,0x58,0x00,0x00,0xb7,0x56,0x00,0x00,0x7e,0x81,0x00,0x00,0xd7,0x54, 0x0e,0x4e,0x9a,0x9a,0xa8,0x52,0x00,0x00,0x70,0x62,0x00,0x00,0x17,0x96,0x00,0x00,0x01,0x00,0x00,0x00, 0x36,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xb3,0x55,0x00,0x00,0x05,0x00,0x00,0x00,0xb5,0x55,0x00,0x00, 0x1f,0x66,0xba,0x4e,0x00,0x00,0x71,0x91,0x00,0x00,0xaa,0x54,0x00,0x00,0x1f,0x66,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd1,0x53,0x00,0x00,0x12,0x6d,0x00,0x00,0x04,0x5c,0x00,0x00,0xc9,0x6c,0x00,0x00,0x14,0x6c, 0x00,0x00,0x34,0x6c,0x00,0x00,0x14,0x6c,0x0f,0x5f,0x00,0x00,0x06,0x6f,0x00,0x00,0x82,0x6d,0x00,0x00, 0x8f,0x56,0x00,0x00,0x02,0x00,0x00,0x00,0xfa,0x8b,0x6e,0x91,0x00,0x00,0x49,0x55,0x00,0x00,0x02,0x00, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x14,0x55,0x00,0x00,0x06,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x49,0x4e, 0x00,0x00,0x16,0x4e,0x0e,0x66,0x00,0x8a,0x00,0x00,0x16,0x4e,0x00,0x00,0xb6,0x5b,0x7e,0x6e,0x51,0x67, 0x00,0x00,0x79,0x72,0xfc,0x66,0xd1,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x41,0x6c,0x00,0x00,0x03,0x00, 0x00,0x00,0x70,0x55,0x00,0x00,0x57,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0xc9,0x89, 0x00,0x00,0x30,0x52,0x00,0x00,0xa2,0x63,0x00,0x00,0x73,0x54,0x00,0x00,0x5e,0x79,0xcf,0x7e,0x00,0x00, 0x02,0x00,0x00,0x00,0xca,0x56,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x6f,0x83,0x00,0x00, 0xdc,0x74,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xd2,0x55,0x00,0x00,0x36,0x71,0x00,0x00,0x06,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0xf3,0x97,0x00,0x00,0xe8,0x95,0x00,0x00,0x50,0x5b,0x3c,0x77,0x00,0x00, 0x50,0x5b,0x3c,0x77,0x3f,0x51,0x00,0x00,0xe8,0x95,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x60, 0x00,0x00,0xc3,0x5f,0x00,0x00,0x5a,0x60,0x00,0x00,0x12,0x60,0x00,0x00,0x2a,0x60,0x00,0x00,0xee,0x76, 0x00,0x00,0xa5,0x65,0x00,0x00,0xc2,0x72,0x00,0x00,0x9d,0x55,0x00,0x00,0x40,0x77,0x00,0x00,0x01,0x00, 0x00,0x00,0xd6,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x59,0x00,0x00,0x61,0x77,0x00,0x00,0x4c,0x8d, 0x00,0x00,0xdf,0x98,0x00,0x00,0x40,0x88,0x00,0x00,0x61,0x77,0xc7,0x75,0x00,0x00,0x32,0x6b,0x00,0x00, 0x20,0x77,0xc5,0x75,0x00,0x00,0x52,0x91,0x82,0x59,0x7d,0x54,0x00,0x00,0x40,0x88,0x46,0x67,0xcc,0x83, 0x00,0x00,0x01,0x00,0x00,0x00,0x41,0x5c,0x00,0x00,0x03,0x00,0x00,0x00,0xf9,0x53,0x00,0x00,0x65,0x67, 0x4b,0x4e,0xdf,0x98,0x00,0x00,0x94,0x60,0x00,0x00,0x06,0x00,0x00,0x00,0xe1,0x55,0x00,0x00,0xe1,0x55, 0x56,0x79,0xc9,0x62,0x00,0x00,0xe1,0x55,0x24,0x56,0x24,0x56,0x00,0x00,0xe1,0x55,0xeb,0x53,0x00,0x00, 0xe1,0x55,0xf0,0x58,0x00,0x00,0xe1,0x55,0x39,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x54,0x00,0x00, 0x70,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0x4d,0x4f,0x00,0x00,0x0c,0x54,0x00,0x00,0xcd,0x6b,0x00,0x00, 0xbd,0x5f,0x00,0x00,0xcd,0x54,0x00,0x00,0xfd,0x56,0x00,0x00,0x81,0x5c,0x00,0x00,0x03,0x00,0x00,0x00, 0x4b,0x4e,0xe5,0x4e,0x3b,0x9f,0x00,0x00,0x11,0x7b,0x00,0x00,0xe4,0x55,0x00,0x00,0x01,0x00,0x00,0x00, 0xeb,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xe6,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0xae,0x76,0x00,0x00, 0x03,0x00,0x00,0x00,0x85,0x56,0x00,0x00,0xeb,0x55,0x00,0x00,0x6b,0x54,0x00,0x00,0x01,0x00,0x00,0x00, 0xdf,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0xfc,0x54,0x00,0x00,0x05,0x00,0x00,0x00,0x2a,0x4e,0x00,0x00, 0xa6,0x5e,0x00,0x00,0x72,0x55,0x00,0x00,0x35,0x96,0x00,0x00,0xb9,0x8f,0x00,0x00,0x02,0x00,0x00,0x00, 0xf0,0x58,0xf2,0x55,0x14,0x6c,0x00,0x00,0x73,0x54,0x3f,0x51,0x00,0x00,0x08,0x00,0x00,0x00,0x14,0x6c, 0x00,0x00,0x78,0x91,0x00,0x00,0x50,0x81,0x1e,0x54,0x78,0x91,0x00,0x00,0x50,0x81,0x00,0x00,0x14,0x6c, 0x1e,0x54,0x78,0x91,0x00,0x00,0x14,0x6c,0x78,0x91,0x50,0x81,0x00,0x00,0x14,0x6c,0x50,0x81,0xed,0x81, 0x00,0x00,0x14,0x6c,0x55,0x54,0x06,0x90,0x00,0x00,0x02,0x00,0x00,0x00,0xf5,0x55,0x00,0x00,0xf5,0x55, 0x13,0x9f,0x00,0x00,0x03,0x00,0x00,0x00,0xf7,0x55,0x00,0x00,0xf7,0x55,0x85,0x5f,0xfa,0x54,0x00,0x00, 0xf7,0x55,0xeb,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x7f,0x4f,0x00,0x00,0x08,0x00,0x00,0x00,0x95,0x54, 0x00,0x00,0x00,0x56,0x00,0x00,0xd2,0x55,0xe2,0x56,0x00,0x00,0xd2,0x55,0x00,0x00,0x95,0x54,0x51,0x7f, 0x00,0x00,0xcb,0x53,0x00,0x00,0xd2,0x54,0x00,0x00,0xcc,0x91,0x1f,0x56,0x5c,0x56,0x00,0x00,0x02,0x00, 0x00,0x00,0xe9,0x54,0x80,0x55,0xb3,0x55,0x00,0x00,0x01,0x56,0xb3,0x55,0xb3,0x55,0x00,0x00,0x04,0x00, 0x00,0x00,0xba,0x4e,0x00,0x00,0x22,0x56,0x00,0x00,0xf6,0x65,0x19,0x50,0x00,0x00,0xfb,0x7c,0x00,0x00, 0x03,0x00,0x00,0x00,0x42,0x67,0x00,0x00,0x92,0x91,0x00,0x00,0x42,0x67,0xf0,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9e,0x5b,0x00,0x00,0xbe,0x5b,0x00,0x00,0xb7,0x5f,0x00,0x00,0x74,0x51,0x00,0x00,0x9a,0x5b, 0x00,0x00,0x74,0x5e,0x4e,0x53,0x00,0x00,0xeb,0x58,0x2f,0x4f,0x00,0x00,0xbe,0x79,0x00,0x00,0xcc,0x91, 0x00,0x00,0x74,0x51,0x02,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0x64,0x54,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0e,0x56,0x00,0x00,0x23,0x56,0x06,0x81,0x00,0x00,0xe5,0x67,0x00,0x00,0x23,0x56,0x00,0x00,0x31,0x54, 0x0e,0x56,0x31,0x54,0x00,0x00,0xbe,0x8f,0x00,0x00,0x9b,0x73,0x00,0x00,0x86,0x96,0xc9,0x62,0x00,0x00, 0x31,0x54,0x00,0x00,0xf4,0x5d,0x00,0x00,0x04,0x00,0x00,0x00,0x18,0x56,0x00,0x00,0xf0,0x58,0x00,0x00, 0xd2,0x5b,0xee,0x95,0x96,0x66,0x00,0x00,0x0f,0x55,0x00,0x00,0x02,0x00,0x00,0x00,0x1a,0x56,0x00,0x00, 0x75,0x55,0x00,0x00,0x02,0x00,0x00,0x00,0x3c,0x5c,0x00,0x00,0x62,0x54,0x06,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1f,0x56,0x00,0x00,0xd4,0x56,0x00,0x00,0xdd,0x54,0x00,0x00,0x34,0x56,0x00,0x00,0x5c,0x56, 0x00,0x00,0x40,0x77,0x34,0x56,0x00,0x00,0x1f,0x56,0xdd,0x54,0xdd,0x54,0x00,0x00,0x88,0x59,0x00,0x00, 0x1f,0x56,0xcd,0x54,0x00,0x00,0x1f,0x56,0x66,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0xdf,0x98,0x00,0x00, 0x02,0x00,0x00,0x00,0x24,0x56,0x00,0x00,0x23,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x55,0x00,0x00, 0x01,0x00,0x00,0x00,0x2a,0x76,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x2d,0x56,0x00,0x00,0x03,0x00, 0x00,0x00,0x90,0x54,0x00,0x00,0x58,0x62,0x00,0x00,0x8b,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x11,0x7b, 0x00,0x00,0xbd,0x8b,0x00,0x00,0x04,0x5f,0x00,0x00,0x11,0x7b,0xf0,0x58,0x00,0x00,0x11,0x8c,0x00,0x00, 0xf3,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xcc,0x91,0x00,0x00,0xf4,0x5d,0x00,0x00,0x07,0x55,0x00,0x00, 0xd2,0x89,0x00,0x00,0xb9,0x8f,0x00,0x00,0x38,0x81,0x00,0x00,0xe8,0x90,0x00,0x00,0xae,0x76,0x50,0x5b, 0x00,0x00,0x6c,0x78,0x00,0x00,0xae,0x70,0x00,0x00,0x08,0x00,0x00,0x00,0xd1,0x54,0x00,0x00,0x3c,0x54, 0x00,0x00,0x36,0x56,0x00,0x00,0x23,0x9e,0x00,0x00,0x36,0x56,0xf0,0x58,0x00,0x00,0x8a,0x55,0x00,0x00, 0xeb,0x53,0x00,0x00,0xd1,0x54,0xf0,0x58,0x00,0x00,0x02,0x00,0x00,0x00,0xae,0x4e,0x00,0x00,0xa8,0x55, 0x00,0x00,0x06,0x00,0x00,0x00,0xc8,0x54,0x00,0x00,0x3b,0x56,0xc8,0x54,0xc8,0x54,0x00,0x00,0x11,0x7b, 0x00,0x00,0xae,0x76,0x11,0x7b,0x38,0x81,0x00,0x00,0xae,0x76,0x00,0x00,0x3b,0x56,0x00,0x00,0x04,0x00, 0x00,0x00,0x3f,0x56,0x00,0x00,0x3f,0x56,0x3f,0x56,0x00,0x00,0xbb,0x54,0x00,0x00,0xb5,0x55,0x00,0x00, 0x01,0x00,0x00,0x00,0xc2,0x70,0x00,0x00,0x02,0x00,0x00,0x00,0x4c,0x56,0x00,0x00,0x4c,0x56,0x4c,0x56, 0x00,0x00,0x01,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0x7b,0x6b,0x00,0x00,0x4f,0x4f, 0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x01,0x00,0x00,0x00,0x54,0x56,0x00,0x00,0x07,0x00, 0x00,0x00,0xe4,0x55,0x00,0x00,0x1a,0x90,0x00,0x00,0x6a,0x6d,0x00,0x00,0xcb,0x53,0x00,0x00,0x5c,0x56, 0x5c,0x56,0x00,0x00,0x3b,0x4e,0x00,0x00,0x87,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x56,0x00,0x00, 0x77,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0xe5,0x65,0x00,0x00,0x5a,0x66,0x00,0x00,0x02,0x00,0x00,0x00, 0x5c,0x56,0x00,0x00,0xcf,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x62,0x56,0x00,0x00,0xd0,0x8f,0x1a,0x4f, 0x00,0x00,0x03,0x00,0x00,0x00,0xf0,0x58,0x00,0x00,0xe5,0x82,0xd2,0x5b,0x49,0x87,0x00,0x00,0xf0,0x58, 0xe4,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x98,0x5b,0x00,0x00,0xb0,0x68,0x00,0x00,0x50,0x67,0x00,0x00, 0x77,0x51,0x00,0x00,0x69,0x72,0x00,0x00,0xf6,0x4e,0x00,0x00,0xbf,0x76,0x00,0x00,0x28,0x8d,0x27,0x60, 0x00,0x00,0x50,0x4e,0x00,0x00,0xcd,0x91,0x00,0x00,0x04,0x00,0x00,0x00,0xa6,0x68,0x00,0x00,0x17,0x80, 0x00,0x00,0xd0,0x8f,0x00,0x00,0x46,0x51,0x00,0x00,0x09,0x00,0x00,0x00,0xf3,0x97,0x00,0x00,0xf0,0x58, 0x00,0x00,0xb9,0x70,0x00,0x00,0xf0,0x58,0x90,0x6e,0x00,0x00,0x42,0x67,0x00,0x00,0xf3,0x97,0x90,0x6e, 0x00,0x00,0xf3,0x97,0x3a,0x53,0x00,0x00,0xf0,0x58,0x61,0x6c,0xd3,0x67,0x00,0x00,0xf3,0x97,0xd2,0x76, 0x00,0x00,0x01,0x00,0x00,0x00,0x3b,0x56,0x00,0x00,0x04,0x00,0x00,0x00,0xcc,0x83,0x53,0x4f,0x00,0x00, 0xac,0x54,0x00,0x00,0xba,0x4e,0xa8,0x9c,0x00,0x00,0x10,0x81,0xab,0x83,0xca,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x4e,0x3e,0x6d,0x00,0x00,0x9b,0x73,0xf4,0x5d, 0x00,0x00,0x14,0x5c,0x00,0x00,0x53,0x5f,0x3e,0x6d,0x00,0x00,0x26,0x4f,0x00,0x00,0xa6,0x53,0x00,0x00, 0x14,0x5c,0x39,0x4e,0x00,0x00,0x9b,0x73,0x76,0x56,0x3e,0x4e,0x3e,0x6d,0x00,0x00,0x9b,0x73,0x70,0x51, 0x00,0x00,0x87,0x55,0x00,0x00,0x02,0x00,0x00,0x00,0x11,0x55,0x00,0x00,0x29,0x54,0x00,0x00,0x04,0x00, 0x00,0x00,0xcc,0x91,0x6a,0x55,0x66,0x55,0x00,0x00,0x6a,0x55,0x00,0x00,0x7c,0x56,0x6a,0x55,0x6a,0x55, 0x00,0x00,0x7c,0x56,0xed,0x53,0xed,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0xeb,0x55, 0x00,0x00,0x06,0x00,0x00,0x00,0x55,0x55,0x00,0x00,0xeb,0x53,0x00,0x00,0xed,0x54,0x00,0x00,0x55,0x55, 0x27,0x59,0xed,0x54,0x00,0x00,0x25,0x66,0x00,0x00,0xb7,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0xb7,0x55, 0x00,0x00,0x03,0x00,0x00,0x00,0xd5,0x8b,0x00,0x00,0x90,0x56,0x00,0x00,0x9c,0x9c,0x00,0x00,0x01,0x00, 0x00,0x00,0x93,0x56,0x00,0x00,0x02,0x00,0x00,0x00,0x05,0x56,0x00,0x00,0x47,0x77,0x00,0x00,0x04,0x00, 0x00,0x00,0x20,0x5f,0x00,0x00,0x20,0x5f,0x14,0x6c,0x30,0x71,0x00,0x00,0xf9,0x95,0x00,0x00,0x42,0x67, 0x00,0x00,0x03,0x00,0x00,0x00,0xb7,0x56,0x00,0x00,0x57,0x84,0x00,0x00,0x88,0x52,0x00,0x00,0x06,0x00, 0x00,0x00,0x21,0x87,0x00,0x00,0x0c,0x82,0x39,0x68,0x00,0x00,0x0c,0x82,0x00,0x00,0x0c,0x82,0x34,0x59, 0x00,0x00,0x50,0x5b,0x00,0x00,0x28,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xec,0x62,0x00,0x00,0x2d,0x4e, 0x00,0x00,0xbf,0x80,0x00,0x00,0x2d,0x4e,0x9e,0x7f,0xa9,0x6d,0x00,0x00,0xe1,0x6c,0x00,0x00,0x27,0x60, 0x00,0x00,0x2d,0x4e,0x4b,0x4e,0x69,0x72,0x00,0x00,0x2d,0x4e,0x69,0x72,0x00,0x00,0x26,0x8c,0xbf,0x53, 0x00,0x00,0x26,0x8c,0x00,0x00,0x02,0x00,0x00,0x00,0x28,0x54,0x00,0x00,0xf0,0x54,0x00,0x00,0x01,0x00, 0x00,0x00,0xd4,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x72,0x00,0x00,0x81,0x79,0x00,0x00,0x92,0x5f, 0x00,0x00,0x0d,0x67,0x00,0x00,0x66,0x8f,0x00,0x00,0xa4,0x5b,0x00,0x00,0x63,0x88,0x00,0x00,0x3c,0x7b, 0x00,0x00,0x4c,0x6b,0x00,0x00,0xae,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x5d,0x00,0x00,0x63,0x5b, 0xa6,0x5e,0x00,0x00,0xdd,0x5d,0x01,0x77,0x00,0x00,0x04,0x59,0x00,0x00,0x94,0x4e,0x00,0x00,0x41,0x53, 0x00,0x00,0x68,0x54,0x00,0x00,0x06,0x52,0x4b,0x4e,0x00,0x4e,0x00,0x00,0x08,0x67,0x00,0x00,0xa2,0x80, 0x00,0x00,0x01,0x00,0x00,0x00,0xd4,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x94,0x5e,0x00,0x00,0x3d,0x84, 0x00,0x00,0x54,0x7b,0x00,0x00,0x47,0x53,0x00,0x00,0x2d,0x8d,0x00,0x00,0xb6,0x5b,0x00,0x00,0x65,0x67, 0x00,0x00,0x30,0x52,0x00,0x00,0xa5,0x62,0x00,0x00,0x0d,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0xe8,0x95, 0x00,0x00,0x11,0x81,0xe8,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x64,0x6b,0x00,0x00, 0x20,0x7d,0x00,0x00,0x0c,0x80,0x00,0x00,0x9c,0x67,0x00,0x00,0x18,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00, 0xba,0x4e,0x0c,0x80,0x02,0x5f,0x00,0x00,0x30,0x57,0x36,0x52,0x9c,0x5b,0x00,0x00,0x45,0x65,0x00,0x00, 0x01,0x00,0x00,0x00,0xe1,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x96,0x00,0x00,0x2d,0x8d,0x00,0x00, 0x53,0x4f,0x00,0x00,0x19,0x4f,0x00,0x00,0xd3,0x7e,0x00,0x00,0x7f,0x95,0x00,0x00,0x5a,0x80,0x00,0x00, 0x2d,0x8d,0x51,0x7f,0x00,0x00,0x39,0x8d,0x00,0x00,0xd4,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x79, 0x00,0x00,0x27,0x8d,0x00,0x00,0x30,0x57,0x00,0x00,0xef,0x79,0x45,0x5c,0x47,0x59,0x00,0x00,0x3f,0x62, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x52,0x91,0x00,0x00,0x68,0x79,0x00,0x00,0xd0,0x76,0x00,0x00,0x5a,0x80, 0x00,0x00,0x06,0x00,0x00,0x00,0x14,0x90,0x00,0x00,0xe7,0x56,0x00,0x00,0x8b,0x4e,0x00,0x00,0xd4,0x53, 0x00,0x00,0x67,0x71,0x00,0x00,0x38,0x81,0x00,0x00,0x04,0x00,0x00,0x00,0xf5,0x56,0x1e,0x54,0xa3,0x67, 0x00,0x00,0xf5,0x56,0x00,0x00,0xf5,0x56,0xc9,0x89,0x00,0x00,0xf5,0x56,0x1e,0x54,0x0b,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0x97,0x67,0x00,0x00,0x7f,0x95,0x00,0x00,0x85,0x51,0x00,0x00, 0x7a,0x82,0x00,0x00,0xb9,0x65,0x00,0x00,0x97,0x67,0x40,0x5c,0x00,0x00,0x5a,0x53,0xed,0x56,0x00,0x00, 0x5a,0x53,0x1a,0x4f,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x96,0x00,0x00,0x83,0x58, 0x00,0x00,0x70,0x62,0x00,0x00,0xd1,0x60,0x00,0x00,0x40,0x5c,0x00,0x00,0xbe,0x96,0xcd,0x91,0xcd,0x91, 0x00,0x00,0xe6,0x82,0x00,0x00,0x7f,0x98,0x00,0x00,0x26,0x50,0x00,0x00,0xbe,0x96,0x37,0x62,0x00,0x00, 0x01,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x7e,0x00,0x00,0xc2,0x89,0x00,0x00, 0x99,0x58,0x00,0x00,0x35,0x58,0x00,0x00,0x3b,0x65,0x00,0x00,0xfe,0x5d,0x00,0x00,0xf0,0x56,0x00,0x00, 0xce,0x57,0x00,0x00,0x7f,0x52,0x00,0x00,0xcb,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0x04,0x57,0x00,0x00, 0x09,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x9a,0x5b,0x44,0x8d,0xa7,0x4e,0x00,0x00, 0x36,0x71,0x00,0x00,0x09,0x67,0x00,0x00,0x53,0x4f,0x00,0x00,0x16,0x53,0x00,0x00,0x67,0x62,0x00,0x00, 0x01,0x60,0x00,0x00,0x88,0x5b,0x00,0x00,0x9f,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x45,0x96,0x00,0x00,0x85,0x51,0x00,0x00,0xa1,0x52,0x62,0x96,0x00,0x00,0x16,0x59,0x00,0x00,0x09,0x67, 0x00,0x00,0x3a,0x50,0x00,0x00,0x1a,0x4f,0x00,0x00,0x01,0x4f,0x00,0x00,0x1f,0x57,0x00,0x00,0x0a,0x00, 0x00,0x00,0x47,0x72,0x00,0x00,0x66,0x4e,0x00,0x00,0x66,0x4e,0x86,0x99,0x00,0x00,0xcf,0x50,0x00,0x00, 0x48,0x68,0x00,0x00,0x62,0x5f,0x00,0x00,0x68,0x88,0x00,0x00,0x07,0x68,0x00,0x00,0xb8,0x7e,0x00,0x00, 0x87,0x65,0x00,0x00,0x03,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0x7b,0x51,0x00,0x00,0x7b,0x51,0x30,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x6e,0x00,0x00,0x1a,0x90,0x00,0x00,0x62,0x5f,0x00,0x00,0x0e,0x66, 0xed,0x56,0x00,0x00,0x4c,0x68,0x00,0x00,0x06,0x57,0x00,0x00,0xa6,0x68,0x00,0x00,0x8d,0x87,0x00,0x00, 0xa6,0x6d,0x00,0x00,0x08,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x85,0x51,0x00,0x00, 0x08,0x57,0x00,0x00,0x57,0x59,0x00,0x00,0x7b,0x51,0x00,0x00,0x3f,0x51,0x00,0x00,0x42,0x5c,0x00,0x00, 0x30,0x57,0xd0,0x8f,0xa8,0x52,0x00,0x00,0xb1,0x94,0x00,0x00,0x9a,0x5b,0x00,0x00,0x02,0x00,0x00,0x00, 0xba,0x4e,0x00,0x00,0x50,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x18,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x30,0x57,0x00,0x00,0x33,0x80,0x76,0x51,0x00,0x00,0x46,0x8c,0x00,0x00,0xe4,0x58,0x00,0x00,0x1f,0x66, 0x00,0x00,0x6a,0x8c,0x00,0x00,0x57,0x84,0x00,0x00,0xb9,0x65,0x00,0x00,0x39,0x65,0x00,0x00,0x28,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x7e,0x00,0x00,0xde,0x8b,0x00,0x00,0xde,0x8b,0x82,0x82,0x00,0x00, 0xba,0x4e,0x00,0x00,0x30,0x57,0x00,0x00,0x7c,0x5f,0x97,0x5f,0x21,0x58,0x00,0x00,0x75,0x70,0x00,0x00, 0x30,0x57,0x9a,0x4e,0xe5,0x54,0x00,0x00,0xdd,0x4f,0x57,0x7f,0x00,0x00,0x24,0x8d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xbf,0x7e,0x00,0x00,0x8e,0x4e,0x00,0x00,0x85,0x51,0x00,0x00,0xb6,0x5b,0x00,0x00,0x00,0x4e, 0x77,0x8d,0x00,0x00,0x0f,0x61,0x00,0x00,0xfa,0x5e,0x00,0x00,0x3a,0x57,0x00,0x00,0x4e,0x4e,0x00,0x00, 0x21,0x68,0x00,0x00,0x07,0x00,0x00,0x00,0x47,0x95,0x00,0x00,0x24,0x58,0x00,0x00,0xb8,0x57,0x00,0x00, 0xe5,0x65,0x00,0x00,0x50,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0x30,0x75,0x00,0x00,0x08,0x00,0x00,0x00, 0xf0,0x53,0x00,0x00,0x74,0x8e,0x00,0x00,0xaf,0x57,0x00,0x00,0x82,0x82,0x00,0x00,0x88,0x94,0x00,0x00, 0x54,0x58,0x00,0x00,0x54,0x58,0x51,0x67,0x00,0x00,0xf0,0x53,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00, 0xe5,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x4e,0xa3,0x90,0x00,0x00,0xec,0x81,0x00,0x00,0x14,0x5c, 0x2b,0x59,0x27,0x59,0x66,0x5b,0x00,0x00,0x68,0x88,0x00,0x00,0xd2,0x89,0x00,0x00,0x24,0x8d,0x00,0x00, 0x38,0x72,0x00,0x00,0xe5,0x54,0x00,0x00,0x2d,0x57,0x00,0x00,0x9f,0x94,0x00,0x00,0x01,0x00,0x00,0x00, 0x65,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0xb9,0x65,0x00,0x00,0xa7,0x4e,0x00,0x00, 0x07,0x97,0x00,0x00,0x4d,0x4f,0x00,0x00,0xc1,0x94,0x00,0x00,0xb9,0x70,0x00,0x00,0x03,0x74,0x00,0x00, 0x40,0x57,0x00,0x00,0x57,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0xcc,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0x40,0x62,0x00,0x00,0x6f,0x66,0x00,0x00,0x08,0x54,0x00,0x00,0x30,0x57,0x00,0x00,0x85,0x51,0x00,0x00, 0x16,0x59,0x00,0x00,0x62,0x97,0x00,0x00,0x86,0x99,0x00,0x00,0x0a,0x4e,0x00,0x00,0x21,0x6b,0x00,0x00, 0x06,0x00,0x00,0x00,0x30,0x75,0x00,0x00,0x2c,0x67,0x99,0x9f,0x00,0x4e,0x00,0x00,0xd4,0x4e,0x47,0x95, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x0b,0x4e,0x51,0x67,0x00,0x00,0x50,0x5b,0xf6,0x77,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x61,0x88,0x00,0x00,0x00,0x53,0x00,0x00,0x3c,0x50,0x00,0x00,0x49,0x7b, 0x16,0x53,0x00,0x00,0x49,0x7b,0x00,0x00,0x61,0x88,0x27,0x60,0x00,0x00,0x06,0x52,0x00,0x00,0x61,0x88, 0x16,0x53,0x00,0x00,0xbf,0x52,0x00,0x00,0x04,0x00,0x00,0x00,0xf4,0x95,0x00,0x00,0x50,0x5b,0x3a,0x53, 0x00,0x00,0x50,0x5b,0x00,0x00,0x1a,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0x92,0x7c,0x00,0x00,0x06,0x00, 0x00,0x00,0x4c,0x58,0x00,0x00,0xb9,0x65,0x00,0x00,0x4c,0x58,0x04,0x59,0x00,0x00,0x77,0x96,0x00,0x00, 0xf0,0x53,0x00,0x00,0x2e,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x57,0x00,0x00,0x1d,0x8d,0x14,0x5c, 0x00,0x00,0x27,0x59,0xc8,0x54,0x00,0x00,0x06,0x66,0x00,0x00,0x27,0x59,0xc8,0x54,0x01,0x77,0x00,0x00, 0x6e,0x66,0x00,0x00,0x3f,0x51,0x00,0x00,0x15,0x5e,0xc9,0x62,0x00,0x00,0x79,0x72,0x00,0x00,0x79,0x72, 0x2f,0x4f,0xf7,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x26,0x8d,0x00,0x00,0xba,0x4e, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x04,0x59,0x00,0x00,0xdd,0x8b,0x00,0x00,0xcb,0x86,0x00,0x00,0x26,0x8d, 0x87,0x73,0x00,0x00,0x89,0x63,0x00,0x00,0x40,0x88,0xc5,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x68, 0x00,0x00,0x3d,0x84,0x00,0x00,0x49,0x7b,0x00,0x00,0x28,0x57,0x00,0x00,0x0b,0x4e,0x00,0x00,0xff,0x59, 0x00,0x00,0x62,0x72,0x00,0x00,0x47,0x95,0x00,0x00,0x08,0x67,0x50,0x5b,0x00,0x00,0x85,0x79,0x00,0x00, 0x0a,0x00,0x00,0x00,0x39,0x72,0x00,0x00,0x53,0x90,0x00,0x00,0xba,0x4e,0x00,0x00,0xe3,0x53,0x00,0x00, 0xb3,0x5b,0x00,0x00,0x51,0x57,0x3c,0x6d,0x3c,0x6d,0x00,0x00,0x1e,0x6d,0x00,0x00,0x3c,0x6d,0x00,0x00, 0x99,0x84,0xd0,0x62,0x97,0x9a,0x00,0x00,0x93,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x51,0x00,0x00, 0xb6,0x72,0x00,0x00,0x34,0x59,0x00,0x00,0x0e,0x83,0x00,0x00,0x57,0x57,0x00,0x00,0x39,0x68,0x00,0x00, 0xf3,0x77,0x00,0x00,0x92,0x57,0x00,0x00,0x62,0x97,0x00,0x00,0x70,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0x01,0x63,0x00,0x00,0xb3,0x51,0x00,0x00,0x9a,0x5b,0x00,0x00,0x88,0x5b,0x00,0x00,0x3a,0x5f,0x00,0x00, 0x9e,0x5b,0x00,0x00,0x9c,0x67,0x00,0x00,0xe1,0x4f,0x00,0x00,0xf0,0x79,0x00,0x00,0x3a,0x63,0x00,0x00, 0x06,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xce,0x57,0x00,0x00,0x3a,0x57,0x00,0x00,0x5b,0x57,0x50,0x7f, 0x50,0x7f,0x00,0x00,0xcb,0x53,0x00,0x00,0x50,0x5b,0xad,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x53,0x4f,0x00,0x00,0x3a,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x76,0x98,0x00,0x00,0x58,0x58, 0x00,0x00,0x34,0x59,0x00,0x00,0x49,0x51,0x00,0x00,0x40,0x57,0x00,0x00,0xb5,0x6b,0x00,0x00,0x05,0x00, 0x00,0x00,0xd9,0x7a,0x00,0x00,0xee,0x4f,0x00,0x00,0xa9,0x58,0x00,0x00,0x99,0x58,0x00,0x00,0x61,0x4e, 0xc6,0x96,0x00,0x00,0x08,0x00,0x00,0x00,0x93,0x58,0x00,0x00,0x34,0x59,0x00,0x00,0x30,0x57,0x00,0x00, 0x3a,0x57,0x00,0x00,0x14,0x83,0x00,0x00,0x06,0x58,0x00,0x00,0x71,0x5c,0x00,0x00,0x18,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xc1,0x6b,0x00,0x00,0x3d,0x84,0x00,0x00,0x65,0x51,0x00,0x00,0x3a,0x67,0x00,0x00, 0x7c,0x69,0x00,0x00,0x0b,0x4e,0x00,0x00,0xa1,0x4e,0x00,0x00,0x16,0x5d,0x00,0x00,0xb3,0x6c,0x00,0x00, 0x95,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x53,0x90,0x00,0x00,0x30,0x57,0x00,0x00, 0xde,0x5d,0x00,0x00,0x76,0x98,0x00,0x00,0x62,0x97,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x34,0x59, 0x3a,0x53,0x00,0x00,0x53,0x4f,0x00,0x00,0x50,0x5b,0x57,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x6c, 0x00,0x00,0x66,0x53,0x00,0x00,0xd4,0x53,0x00,0x00,0xe5,0x54,0x00,0x00,0x05,0x53,0x00,0x00,0x81,0x5b, 0xab,0x5b,0x00,0x00,0x38,0x75,0x00,0x00,0x10,0x62,0x00,0x00,0x20,0x90,0x00,0x00,0x68,0x88,0x00,0x00, 0x0a,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0x4b,0x51,0x00,0x00,0x7f,0x62,0x00,0x00,0xda,0x8b,0x00,0x00, 0x7d,0x76,0x00,0x00,0x36,0x71,0x00,0x00,0x87,0x73,0x00,0x00,0x51,0x68,0x3c,0x5c,0x9a,0x4e,0x00,0x00, 0x48,0x96,0x00,0x00,0x61,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0x68,0x57,0x00,0x00,0x50,0x5b,0x00,0x00, 0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xda,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00, 0x51,0x67,0x00,0x00,0x30,0x57,0x00,0x00,0xf3,0x77,0x00,0x00,0x71,0x5c,0xb3,0x6c,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x48,0x65,0x00,0x00,0x71,0x5c,0xd9,0x7a,0x00,0x00,0x5d,0x57,0x00,0x00,0x58,0x58,0x00,0x00, 0x06,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x5e,0x00,0x00,0x99,0x65,0x00,0x00,0xce,0x80,0x00,0x00, 0xf6,0x4e,0x00,0x00,0x21,0x6a,0x00,0x00,0x01,0x00,0x00,0x00,0x77,0x96,0x00,0x00,0x02,0x00,0x00,0x00, 0x83,0x57,0x00,0x00,0xc9,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf4,0x76,0x00,0x00,0x71,0x53,0x00,0x00,0x93,0x94,0x00,0x00,0x8e,0x6d,0x00,0x00,0xf4,0x76,0x7b,0x7c, 0x00,0x00,0x53,0x4f,0x00,0x00,0x52,0x97,0x00,0x00,0x7b,0x6b,0x00,0x00,0xf4,0x76,0x16,0x53,0x00,0x00, 0x03,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x57,0x00,0x00,0x3e,0x57,0x76,0x68,0x00,0x00,0x3e,0x57, 0xa1,0x80,0x00,0x00,0x3e,0x57,0xb1,0x7b,0x00,0x00,0x3e,0x57,0x3a,0x57,0x00,0x00,0x3e,0x57,0x06,0x58, 0x00,0x00,0x3e,0x57,0x8b,0x88,0x00,0x00,0x3e,0x57,0xa7,0x7e,0x00,0x00,0x3e,0x57,0xd9,0x7a,0x00,0x00, 0x3e,0x57,0x66,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x65,0x00,0x00,0xad,0x65,0x27,0x60,0x00,0x00, 0xad,0x65,0x05,0x80,0x00,0x00,0xad,0x65,0x48,0x68,0x00,0x00,0xad,0x65,0x8b,0x57,0x00,0x00,0xad,0x65, 0x43,0x67,0x00,0x00,0xad,0x65,0x44,0x8d,0x2c,0x67,0x00,0x00,0xad,0x65,0x16,0x53,0x00,0x00,0x9f,0x6c, 0x00,0x00,0xad,0x65,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0x50,0x67,0x00,0x00, 0x01,0x60,0x00,0x00,0x0f,0x5f,0x00,0x00,0xa2,0x94,0x00,0x00,0x3a,0x67,0x00,0x00,0x66,0x8f,0x00,0x00, 0x3c,0x68,0x00,0x00,0x8c,0x54,0x00,0x00,0x55,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0x03,0x74,0x00,0x00, 0x0c,0x78,0x00,0x00,0xfa,0x56,0x00,0x00,0xf3,0x77,0x04,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0x0b,0x4e, 0x00,0x00,0xc3,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x1e,0x58, 0x00,0x00,0xf3,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0xa3,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59, 0x00,0x00,0x01,0x00,0x00,0x00,0x61,0x6c,0x00,0x00,0x03,0x00,0x00,0x00,0xf2,0x66,0xbf,0x53,0x00,0x00, 0xf2,0x66,0x00,0x00,0x63,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0x01,0x4e,0x00,0x00, 0x52,0x83,0x00,0x00,0x29,0x52,0x00,0x00,0x96,0x6b,0x3a,0x57,0x00,0x00,0x29,0x52,0xbf,0x53,0x00,0x00, 0x96,0x6b,0x00,0x00,0xd3,0x62,0x00,0x00,0xcd,0x79,0x00,0x00,0xb9,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd8,0x4e,0x00,0x00,0x95,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x3e,0x6b,0x00,0x00,0x5f,0x6c,0x00,0x00, 0x5f,0x6c,0xbf,0x53,0x00,0x00,0x1a,0x81,0xf3,0x77,0x00,0x00,0xcc,0x80,0x00,0x00,0x08,0x57,0x00,0x00, 0x7f,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x50,0x5b,0xe3,0x53,0x00,0x00,0x04,0x00, 0x00,0x00,0xf0,0x53,0x00,0x00,0x4c,0x58,0x00,0x00,0x65,0x68,0x00,0x00,0x5d,0x57,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x53,0x00,0x00,0xcc,0x91,0x4b,0x51,0x00,0x00, 0x5e,0x58,0xc4,0x4f,0xd4,0x6b,0x9a,0x4e,0x00,0x00,0x14,0x5c,0x1a,0x59,0x89,0x5b,0x00,0x00,0x1b,0x6d, 0x6e,0x66,0x00,0x00,0x4b,0x51,0xee,0x68,0x8e,0x7f,0x5a,0x5b,0x00,0x00,0x87,0x65,0xaf,0x65,0x00,0x00, 0xf2,0x83,0x14,0x5c,0x00,0x00,0x54,0x58,0x00,0x00,0x4b,0x51,0xee,0x68,0x00,0x00,0x02,0x00,0x00,0x00, 0x65,0x68,0x3a,0x53,0x00,0x00,0x65,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x60,0x00,0x00,0x6c,0x84, 0x00,0x00,0xcf,0x85,0x00,0x00,0x0f,0x4f,0x00,0x00,0x34,0x59,0x00,0x00,0xa1,0x6c,0x00,0x00,0xbe,0x8b, 0x00,0x00,0x34,0x59,0xe6,0x82,0x72,0x5e,0x00,0x00,0x55,0x53,0x00,0x00,0xbf,0x7e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x02,0x5e,0x00,0x00,0x47,0x95,0x00,0x00,0x61,0x4e,0x00,0x00,0x47,0x95,0x16,0x53,0x00,0x00, 0xa1,0x7b,0x00,0x00,0x3a,0x53,0x00,0x00,0x02,0x5e,0x16,0x53,0x00,0x00,0x45,0x96,0x00,0x00,0xfa,0x5e, 0x00,0x00,0xcc,0x91,0x00,0x00,0x06,0x00,0x00,0x00,0xcc,0x91,0x00,0x00,0xc3,0x5f,0x00,0x00,0xcc,0x91, 0x47,0x95,0x00,0x00,0xd0,0x76,0x00,0x00,0xd0,0x76,0x61,0x4e,0x00,0x00,0xc3,0x5f,0x61,0x4e,0x00,0x00, 0x06,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x16,0x59,0x00,0x00,0x0d,0x54,0xa2,0x62,0xe8,0x6c,0x00,0x00, 0x0d,0x54,0x0d,0x67,0xa1,0x52,0x68,0x56,0x00,0x00,0x1a,0x59,0x29,0x52,0x87,0x76,0x0e,0x54,0x00,0x00, 0x0d,0x54,0xe8,0x6c,0x8c,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x04,0x00,0x00,0x00, 0xc5,0x96,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59,0x61,0x4e,0x00,0x00,0xce,0x57,0x47,0x95,0x00,0x00, 0x01,0x00,0x00,0x00,0xe0,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x8b,0x00,0x00,0x7b,0x51,0x00,0x00, 0xb2,0x80,0x00,0x00,0xad,0x8b,0xed,0x73,0x00,0x00,0x39,0x68,0x00,0x00,0xad,0x8b,0x39,0x8d,0x00,0x00, 0x0d,0x69,0x00,0x00,0x7b,0x51,0xfa,0x57,0x00,0x00,0xb2,0x80,0x1f,0x67,0x00,0x00,0xad,0x8b,0x08,0x5e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x2c,0x67,0x00,0x00,0x40,0x78,0x00,0x00,0x30,0x57, 0x00,0x00,0x8e,0x4e,0x00,0x00,0x2c,0x67,0x0a,0x4e,0x00,0x00,0x42,0x5c,0x00,0x00,0xe0,0x56,0x00,0x00, 0xc6,0x51,0x00,0x00,0x2c,0x67,0x62,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x73,0xbf,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0x0c,0x80,0x87,0x76,0x4b,0x4e,0x00,0x00,0x02,0x58,0x00,0x00,0x1f,0x5f,0x00,0x00, 0x44,0x51,0x00,0x00,0xe5,0x54,0x00,0x00,0x02,0x58,0x63,0x6b,0x63,0x6b,0x00,0x00,0xb9,0x59,0x00,0x00, 0x09,0x54,0xc3,0x8b,0xb7,0x5f,0x00,0x00,0xd0,0x59,0x00,0x00,0x4b,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0xef,0x79,0x00,0x00,0x3e,0x65,0x00,0x00,0xe1,0x6e,0x00,0x00,0x0c,0x78,0x00,0x00,0xef,0x79,0x82,0x59, 0x71,0x5c,0x00,0x00,0xaf,0x82,0x00,0x00,0xa5,0x80,0x00,0x00,0x3a,0x57,0x00,0x00,0xe0,0x53,0x00,0x00, 0x58,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x72,0x82,0x00,0x00,0x02,0x00,0x00,0x00, 0xd5,0x58,0x00,0x00,0x9f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x3d,0x84,0x00,0x00,0xce,0x80,0x00,0x00, 0x65,0x51,0x00,0x00,0x8e,0x4e,0x00,0x00,0x30,0x52,0x00,0x00,0x7c,0x69,0x00,0x00,0xce,0x80,0x05,0x80, 0x00,0x00,0xce,0x80,0xd5,0x6c,0x00,0x00,0x6c,0x9a,0x00,0x00,0x91,0x4e,0xfe,0x96,0x2d,0x4e,0x00,0x00, 0x08,0x00,0x00,0x00,0x92,0x57,0x00,0x00,0x4e,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x51,0x67, 0x00,0x00,0xe8,0x5b,0x00,0x00,0x01,0x79,0x00,0x00,0x89,0x5b,0x51,0x67,0x00,0x00,0xe3,0x53,0x51,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x5d,0x57,0x00,0x00,0x32,0x96,0x00,0x00,0xb8,0x5c,0x00,0x00,0xb5,0x6b, 0x00,0x00,0xf4,0x56,0x00,0x00,0xd2,0x89,0x00,0x00,0xab,0x8e,0x00,0x00,0x58,0x58,0x00,0x00,0x76,0x98, 0x00,0x00,0x30,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x79,0x00,0x00,0x03,0x5e,0x00,0x00,0xf9,0x57, 0xc9,0x62,0x00,0x00,0x28,0x84,0xaf,0x65,0xde,0x5d,0x00,0x00,0x28,0x84,0xaf,0x65,0xce,0x57,0x00,0x00, 0xdf,0x5b,0xa0,0x52,0x4a,0x53,0x9b,0x5c,0x00,0x00,0x28,0x84,0xaf,0x65,0x00,0x00,0xe7,0x5f,0x00,0x00, 0xdf,0x5b,0xa0,0x52,0x00,0x00,0xcd,0x5f,0x00,0x00,0x08,0x00,0x00,0x00,0x5e,0x58,0x56,0x6e,0x00,0x00, 0x5e,0x58,0x53,0x4f,0x00,0x00,0x58,0x58,0x00,0x00,0x53,0x4f,0x00,0x00,0x76,0x98,0x00,0x00,0x85,0x51, 0x00,0x00,0x13,0x87,0xa7,0x5e,0x00,0x00,0xad,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x5e,0x58,0x00,0x00, 0x66,0x8f,0x00,0x00,0x4f,0x4f,0x00,0x00,0x2a,0x62,0x00,0x00,0x0f,0x6f,0x00,0x00,0xef,0x8d,0x00,0x00, 0xe8,0x95,0x00,0x00,0xb9,0x70,0x00,0x00,0xc3,0x5f,0x00,0x00,0x61,0x53,0x00,0x00,0x01,0x00,0x00,0x00, 0xc5,0x96,0xba,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x4e,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x96, 0x00,0x00,0xb9,0x65,0x00,0x00,0x7c,0x69,0x00,0x00,0x65,0x68,0x00,0x00,0x77,0x96,0x3a,0x53,0x00,0x00, 0x29,0x7f,0x00,0x00,0x3d,0x84,0x00,0x00,0x77,0x96,0x04,0x59,0x00,0x00,0xb9,0x65,0x04,0x59,0x00,0x00, 0xb9,0x65,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x65,0x00,0x00,0x16,0x53,0x42,0x52,0x00,0x00, 0x20,0x90,0x00,0x00,0x99,0x65,0x8b,0x88,0x00,0x00,0xf6,0x80,0x00,0x00,0xcf,0x50,0x00,0x00,0x99,0x65, 0xf6,0x74,0x00,0x00,0x62,0x5f,0x00,0x00,0xab,0x8e,0x00,0x00,0x99,0x65,0x03,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x29,0x52,0xed,0x73,0x00,0x00,0x09,0x54,0x4b,0x51,0xaf,0x65,0x66,0x57,0x00,0x00,0x54,0x58, 0x00,0x00,0x0a,0x54,0x00,0x00,0xce,0x57,0x00,0x00,0xfa,0x57,0x00,0x00,0xf0,0x53,0x00,0x00,0xcc,0x91, 0x28,0x67,0x00,0x00,0x7c,0x69,0x00,0x00,0x2b,0x59,0x28,0x83,0x27,0x59,0x66,0x5b,0x00,0x00,0x01,0x00, 0x00,0x00,0xf2,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xbd,0x6c,0x00,0x00,0xb3,0x6c,0x00,0x00,0xa6,0x53, 0x00,0x00,0x5d,0x57,0x00,0x00,0x65,0x68,0x00,0x00,0x30,0x75,0x02,0x5e,0x47,0x95,0x00,0x00,0xa6,0x53, 0x47,0x95,0x00,0x00,0xb9,0x8f,0x00,0x00,0x30,0x58,0x00,0x00,0x16,0x68,0x00,0x00,0x0a,0x00,0x00,0x00, 0x66,0x6d,0xef,0x8d,0xaf,0x65,0x00,0x00,0x14,0x5c,0x00,0x00,0x14,0x5c,0xf4,0x7e,0x9a,0x4e,0x00,0x00, 0xc9,0x62,0x9a,0x4e,0x00,0x00,0xed,0x73,0x00,0x00,0x7f,0x89,0x00,0x00,0x85,0x51,0xa0,0x52,0x14,0x5c, 0x00,0x00,0xc9,0x62,0x00,0x00,0x66,0x8f,0x00,0x00,0xb3,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x51, 0x00,0x00,0x65,0x88,0x00,0x00,0xa5,0x62,0x00,0x00,0x45,0x51,0x00,0x00,0xcb,0x57,0x3a,0x57,0x00,0x00, 0x73,0x5e,0x00,0x00,0x68,0x88,0x00,0x00,0x43,0x67,0x00,0x00,0xa5,0x59,0x00,0x00,0x71,0x99,0x00,0x00, 0x04,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00,0x30,0x57,0x00,0x00,0x62,0x97,0x00,0x00,0x37,0x8c,0x00,0x00, 0x01,0x00,0x00,0x00,0x08,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x85,0x51,0x00,0x00,0x16,0x59,0x00,0x00, 0x4c,0x75,0x00,0x00,0x30,0x57,0x00,0x00,0x85,0x51,0x16,0x59,0x00,0x00,0xb5,0x51,0x00,0x00,0x47,0x90, 0x00,0x00,0x18,0x7f,0x00,0x00,0xf8,0x76,0x00,0x00,0xdf,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x65,0x68, 0x3a,0x53,0x00,0x00,0xa3,0x57,0x00,0x00,0x03,0x00,0x00,0x00,0xc5,0x60,0x00,0x00,0xc5,0x60,0xb9,0x70, 0x00,0x00,0x1f,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0x6c,0x84,0x00,0x00,0x91,0x78, 0x00,0x00,0xed,0x56,0x00,0x00,0x74,0x7a,0x00,0x00,0xa4,0x5b,0x00,0x00,0xd7,0x5f,0x00,0x00,0x3b,0x4e, 0xba,0x4e,0x00,0x00,0x3b,0x4e,0x00,0x00,0xd7,0x5f,0xed,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e, 0x00,0x00,0xc1,0x58,0x00,0x00,0x53,0x4f,0x00,0x00,0xd2,0x89,0x00,0x00,0x62,0x97,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x34,0x59,0x00,0x00,0xae,0x76,0x00,0x00,0x39,0x68,0x00,0x00,0x1a,0x81,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7f,0x95,0x00,0x00,0xa0,0x52,0x00,0x00,0x1f,0x90,0x00,0x00,0x3a,0x5f,0x00,0x00,0x01,0x63, 0x00,0x00,0x45,0x5e,0x00,0x00,0x7f,0x95,0x87,0x73,0x00,0x00,0x3c,0x50,0x00,0x00,0x1a,0x59,0x00,0x00, 0xd1,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x89,0xe5,0x54, 0x00,0x00,0x7f,0x89,0xe5,0x54,0x7e,0x6e,0x00,0x00,0x5c,0x95,0x00,0x00,0x14,0x5c,0x2c,0x67,0x00,0x00, 0x7f,0x89,0xe5,0x54,0xce,0x57,0x00,0x00,0x34,0x6c,0x00,0x00,0xf9,0x8f,0x00,0x00,0x31,0x81,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x5e,0x00,0x00, 0xf1,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x92,0x57,0x00,0x00,0x3b,0x75,0x00,0x00,0xcb,0x7a,0x00,0x00, 0xb8,0x7e,0x00,0x00,0x0a,0x4e,0x00,0x00,0x4e,0x86,0x00,0x00,0x89,0x70,0x00,0x00,0x71,0x6a,0x00,0x00, 0x02,0x63,0x00,0x00,0x9b,0x9f,0x00,0x00,0x04,0x00,0x00,0x00,0x5e,0x58,0x53,0x4f,0x00,0x00,0x5e,0x58, 0x00,0x00,0x34,0x6c,0x00,0x00,0x1f,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x9f,0x6c,0x00,0x00,0x37,0x8c, 0x00,0x00,0x03,0x00,0x00,0x00,0x9f,0x6c,0x00,0x00,0x11,0x58,0x00,0x00,0x61,0x57,0x00,0x00,0x03,0x00, 0x00,0x00,0x1f,0x57,0x00,0x00,0x58,0x58,0x00,0x00,0x58,0x58,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x75,0x51,0x00,0x00,0x14,0x6c,0x00,0x00,0x98,0x5b,0x00,0x00,0x27,0x59,0x2b,0x59,0x00,0x00,0x97,0x67, 0x00,0x00,0xc5,0x7e,0x00,0x00,0xba,0x4e,0x00,0x00,0x1a,0x59,0x00,0x00,0x70,0x51,0xae,0x5f,0x00,0x00, 0xcf,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x8c,0x4e,0x78,0x91,0x00,0x00,0xb0,0x8f,0x00,0x00,0xb0,0x8f, 0x99,0x9f,0x00,0x00,0xfa,0x57,0x5a,0x91,0x00,0x00,0x33,0x75,0x00,0x00,0x48,0x53,0x00,0x00,0x50,0x5b, 0x00,0x00,0xc5,0x5b,0x00,0x00,0x0c,0x62,0x00,0x00,0xb0,0x8f,0x2d,0x50,0x71,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x27,0x59,0x00,0x00,0xcf,0x65,0x00,0x00,0xc2,0x89,0x00,0x00,0xeb,0x58,0x00,0x00,0x3e,0x4e, 0x00,0x00,0x3d,0x4e,0x00,0x00,0x74,0x5e,0x00,0x00,0x49,0x6c,0x00,0x00,0xc8,0x70,0x00,0x00,0xd7,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66,0x00,0x00,0xf3,0x97,0x00,0x00,0xf0,0x79,0x00,0x00,0x89,0x8a, 0x00,0x00,0xfb,0x95,0x00,0x00,0x1b,0x67,0x00,0x00,0xf4,0x63,0x00,0x00,0xa8,0x8b,0x00,0x00,0xcd,0x54, 0x00,0x00,0xbf,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0x53,0x4f, 0x00,0x00,0xcb,0x53,0x00,0x00,0x39,0x8d,0x00,0x00,0x85,0x51,0x00,0x00,0x3f,0x51,0x00,0x00,0xa1,0x80, 0x00,0x00,0x28,0x67,0x00,0x00,0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0xd6,0x76, 0x00,0x00,0xab,0x8e,0x00,0x00,0x8b,0x73,0x00,0x00,0x2d,0x4e,0x00,0x00,0x34,0x56,0x00,0x00,0x7a,0x82, 0x00,0x00,0x85,0x51,0x00,0x00,0x73,0x51,0xbf,0x53,0x00,0x00,0x73,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf7,0x53,0x00,0x00,0xd2,0x89,0x00,0x00,0x70,0x4f,0x00,0x00,0x06,0x57,0x00,0x00,0xa7,0x7e,0x00,0x00, 0x43,0x51,0x00,0x00,0xd2,0x89,0x38,0x52,0x00,0x00,0xfe,0x62,0x00,0x00,0x61,0x53,0x1a,0x4f,0x00,0x00, 0x2a,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x7d,0x54,0x00,0x00,0xf8,0x53,0x00,0x00,0x1f,0x66,0x00,0x00, 0x71,0x5c,0x00,0x00,0x69,0x96,0x00,0x00,0xc8,0x7e,0x63,0x6b,0xdd,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x06,0x74,0x00,0x00,0x8e,0x4e,0x00,0x00,0x5a,0x7f,0x00,0x00,0x6e,0x7f,0x00,0x00,0x28,0x57,0x00,0x00, 0x7f,0x95,0x00,0x00,0x06,0x52,0x00,0x00,0x73,0x59,0x00,0x00,0x06,0x74,0x68,0x56,0x00,0x00,0xb9,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x68,0x00,0x00,0xd7,0x53,0x00,0x00,0xd8,0x5f,0x55,0x5f,0x00,0x00, 0x28,0x75,0x00,0x00,0x18,0x62,0x00,0x00,0xfd,0x4e,0x00,0x00,0xe8,0x6c,0x00,0x00,0x09,0x90,0x00,0x00, 0xce,0x80,0x00,0x00,0x4d,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x67,0x00,0x00,0xcf,0x82,0x00,0x00, 0x36,0x52,0x00,0x00,0x08,0x54,0x00,0x00,0x74,0x51,0x00,0x00,0x4c,0x72,0x00,0x00,0xe6,0x65,0x00,0x00, 0x1f,0x66,0x00,0x00,0x70,0x53,0xf6,0x4e,0x00,0x00,0x60,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59, 0x00,0x00,0x63,0x5b,0x00,0x00,0x6e,0x66,0x00,0x00,0x01,0x5a,0x37,0x59,0x00,0x00,0xe5,0x65,0x00,0x00, 0xe4,0x4e,0x25,0x84,0x00,0x00,0xae,0x7c,0x00,0x00,0x29,0x52,0x00,0x00,0xaf,0x4f,0x00,0x00,0xc5,0x88, 0x00,0x00,0x04,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0xb9,0x7e,0x00,0x00,0xde,0x5d,0x00,0x00,0x14,0x59, 0x00,0x00,0x06,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x67,0x71,0x00,0x00,0x33,0x96,0x7f,0x89,0x0b,0x4e, 0x00,0x00,0x33,0x96,0xa2,0x7e,0x00,0x00,0xdf,0x70,0x00,0x00,0x33,0x96,0xa7,0x4e,0x1a,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x47,0x6c,0x00,0x00,0xa4,0x4e,0x00,0x00,0x44,0x8d,0x00,0x00,0x4c,0x75,0x00,0x00, 0xfd,0x56,0x00,0x00,0xe8,0x90,0x00,0x00,0xa4,0x4e,0xe8,0x90,0x00,0x00,0x38,0x8d,0x00,0x00,0x62,0x97, 0x00,0x00,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x61,0x00,0x00,0x1c,0x59,0x00,0x00,0x4c,0x65, 0x00,0x00,0x74,0x51,0x1c,0x59,0xd0,0x5b,0x00,0x00,0x28,0x60,0x00,0x00,0x3f,0x61,0x97,0x5f,0x7f,0x50, 0x00,0x00,0x1c,0x59,0x2a,0x53,0xc8,0x61,0x00,0x00,0x19,0x59,0x00,0x00,0xe5,0x65,0x00,0x00,0x1b,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x5c,0x00,0x00,0x21,0x6b,0x00,0x00,0x70,0x65,0x00,0x00,0xcd,0x79, 0x00,0x00,0x74,0x5e,0x00,0x00,0x43,0x51,0x16,0x53,0x00,0x00,0xb9,0x65,0x00,0x00,0x45,0x4e,0x00,0x00, 0x48,0x4e,0x00,0x00,0xcd,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x95,0x00,0x00,0x5a,0x66,0x00,0x00, 0xcc,0x91,0x00,0x00,0x02,0x5e,0x00,0x00,0x72,0x82,0x00,0x00,0x3b,0x60,0x1a,0x4f,0x00,0x00,0xed,0x73, 0x00,0x00,0x7a,0x7a,0x00,0x00,0x97,0x5e,0x00,0x00,0xb5,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x75, 0x00,0x00,0x5b,0x54,0x00,0x00,0x3c,0x68,0x00,0x00,0x0f,0x61,0x1d,0x60,0x00,0x00,0x2c,0x67,0x00,0x00, 0x9b,0x52,0x00,0x00,0xd7,0x53,0x84,0x76,0x00,0x00,0xb2,0x52,0x3f,0x51,0x00,0x00,0x17,0x62,0x00,0x00, 0x73,0x54,0x3f,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0x1c,0x59,0x00,0x00,0x18,0x7f,0x00,0x00,0x18,0x7f, 0x00,0x65,0x44,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x4f,0x00,0x00,0xa1,0x8b,0x00,0x00,0x90,0x98, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0x66,0x5b,0x00,0x00,0xcf,0x91,0x00,0x00,0x45,0x5e, 0x00,0x00,0x8b,0x57,0x00,0x00,0xe8,0x90,0x06,0x52,0x00,0x00,0xd8,0x76,0x00,0x00,0x1a,0x4f,0x00,0x00, 0xa6,0x7e,0x00,0x00,0x82,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x36,0x71,0x14,0x6c, 0x00,0x00,0x25,0x6d,0x00,0x00,0x36,0x71,0x00,0x00,0x0b,0x4e,0x00,0x00,0x29,0x59,0x00,0x00,0x7a,0x7a, 0x00,0x00,0x30,0x57,0x00,0x00,0x02,0x58,0x00,0x00,0xf7,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96, 0x00,0x00,0x33,0x96,0xfd,0x80,0x00,0x00,0x73,0x5e,0x0b,0x6d,0x00,0x00,0x7a,0x7a,0x00,0x00,0x9f,0x53, 0x00,0x00,0x2a,0x59,0x00,0x00,0x73,0x5e,0x00,0x00,0xdd,0x4f,0x00,0x00,0x81,0x67,0x00,0x00,0x9f,0x53, 0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x59,0x00,0x00,0x87,0x59,0x00,0x00,0xba,0x4e,0x00,0x00, 0x50,0x5b,0x99,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x1b,0x54,0x00,0x00,0xbb,0x59,0x97,0x5e,0x00,0x00, 0x7f,0x5a,0x00,0x00,0xbb,0x59,0xab,0x5b,0x00,0x00,0x31,0x55,0x87,0x59,0x8f,0x96,0x00,0x00,0x03,0x00, 0x00,0x00,0x98,0x62,0x00,0x00,0xa1,0x4e,0x00,0x00,0xeb,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88, 0x00,0x00,0xc6,0x89,0x00,0x00,0x01,0x4f,0x00,0x00,0x68,0x79,0x00,0x00,0xc6,0x89,0x51,0x7f,0x00,0x00, 0x42,0x6c,0x00,0x00,0x30,0x57,0x00,0x00,0x8e,0x7f,0x00,0x00,0xa7,0x4e,0x3f,0x62,0x00,0x00,0x92,0x5a, 0x00,0x00,0x08,0x00,0x00,0x00,0x9e,0x5b,0x00,0x00,0x1f,0x57,0x00,0x00,0x1f,0x57,0x42,0x5c,0x00,0x00, 0x77,0x51,0x00,0x00,0x1f,0x57,0x3a,0x67,0x00,0x00,0x4c,0x6b,0x00,0x00,0x49,0x6c,0x00,0x00,0x23,0x78, 0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x53,0x00,0x00,0x25,0x8d,0x00,0x00,0x2a,0x8e,0x00,0x00,0x1a,0x4e, 0x87,0x73,0x00,0x00,0x1a,0x4e,0x00,0x00,0x1b,0x67,0x00,0x00,0xef,0x8b,0x00,0x00,0x61,0x88,0x00,0x00, 0x20,0x77,0x00,0x00,0xa7,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x53,0x00,0x00,0xe8,0x90,0x00,0x00, 0x11,0x81,0x00,0x00,0xcf,0x50,0x00,0x00,0xdb,0x75,0x00,0x00,0xbc,0x75,0x00,0x00,0x55,0x66,0x00,0x00, 0xee,0x76,0x00,0x00,0x76,0x98,0x00,0x00,0xf8,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x73,0x5e, 0x30,0x57,0x00,0x00,0x73,0x5e,0x00,0x00,0x75,0x96,0x00,0x00,0x75,0x96,0x3a,0x53,0x00,0x00,0x1d,0x8d, 0x00,0x00,0xe8,0x95,0x00,0x00,0x6d,0x70,0x00,0x00,0x36,0x71,0x00,0x00,0x3a,0x4e,0x00,0x4e,0x47,0x72, 0x9f,0x5e,0x9f,0x58,0x00,0x00,0xb9,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x5f,0x00,0x00,0x27,0x59, 0x00,0x00,0x56,0x59,0x00,0x00,0x4b,0x51,0x00,0x00,0x5e,0x8d,0x00,0x00,0x27,0x59,0x76,0x51,0xcd,0x8b, 0x00,0x00,0x00,0x80,0x00,0x00,0x38,0x59,0x76,0x51,0x08,0x8c,0x00,0x00,0xe3,0x53,0x00,0x00,0x27,0x59, 0x76,0x51,0x9e,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x67,0x00,0x00,0xfb,0x51,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x1d,0x7f,0x00,0x00,0x42,0x5c,0x00,0x00,0x4b,0x51,0x00,0x00,0x26,0x5e,0x00,0x00,0x50,0x5b, 0x00,0x00,0x7f,0x81,0x00,0x00,0xd2,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x5f,0x00,0x00,0xd6,0x53, 0x00,0x00,0xa0,0x51,0x00,0x00,0x9b,0x5c,0x00,0x00,0x7d,0x54,0x00,0x00,0xde,0x56,0x00,0x00,0x43,0x67, 0x00,0x00,0xee,0x76,0x00,0x00,0x70,0x8d,0x00,0x00,0x0b,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0x44,0x59, 0x00,0x4e,0x6f,0x60,0x00,0x00,0x8e,0x7f,0x00,0x00,0x36,0x71,0x00,0x00,0x44,0x59,0x00,0x00,0xfd,0x5f, 0x00,0x00,0x17,0x52,0x00,0x00,0x44,0x59,0x85,0x5f,0xd9,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x60, 0x00,0x00,0xf9,0x8f,0x00,0x00,0x69,0x84,0x00,0x00,0x4e,0x86,0x00,0x00,0x7a,0x82,0x00,0x00,0x5e,0x74, 0x00,0x00,0x79,0x72,0x00,0x00,0x99,0x59,0x00,0x00,0x7b,0x5e,0x00,0x00,0x02,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x55,0x4f,0x00,0x00,0x79,0x72,0x00,0x00,0x6f,0x82,0x00,0x00,0x73,0x7c,0x00,0x00,0x9a,0x4e, 0x50,0x5b,0x00,0x00,0x6f,0x82,0xbf,0x53,0x00,0x00,0xfc,0x66,0xd7,0x65,0x00,0x00,0x6f,0x82,0x02,0x5e, 0x00,0x00,0xea,0x7e,0x00,0x00,0x6f,0x82,0xf6,0x65,0xe3,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2e,0x73, 0x00,0x00,0x4c,0x88,0x00,0x00,0x9d,0x52,0x00,0x00,0x7d,0x54,0x00,0x00,0x16,0x53,0x00,0x00,0x24,0x8d, 0x00,0x00,0x24,0x8d,0x3a,0x53,0x00,0x00,0x82,0x82,0x00,0x00,0x29,0x59,0x00,0x00,0x6a,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0x97,0x65,0x00,0x00,0x9b,0x52,0x00,0x00,0x18,0x62,0x00,0x00,0xdb,0x8f,0x00,0x00, 0x77,0x8d,0x00,0x00,0x0d,0x4e,0x7e,0x98,0xab,0x8e,0x00,0x00,0xc7,0x52,0x00,0x00,0xd1,0x53,0x00,0x00, 0x77,0x8d,0xf4,0x76,0xfd,0x8f,0x00,0x00,0xd1,0x53,0x09,0x67,0x3a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xbe,0x8f,0x00,0x00,0xe0,0x56,0x00,0x00,0x7e,0x67,0x00,0x00,0x6f,0x5c,0x00,0x00,0x14,0x5c,0x00,0x00, 0x81,0x5b,0x00,0x00,0xbe,0x8f,0x02,0x5e,0x00,0x00,0x6f,0x5c,0x02,0x5e,0x00,0x00,0x7e,0x67,0x02,0x5e, 0x00,0x00,0x54,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x65,0x00,0x00,0xcd,0x54,0x00,0x00,0x23,0x9e, 0xf2,0x66,0x00,0x00,0x98,0x62,0x00,0x00,0x50,0x4e,0x00,0x00,0xe0,0x7a,0x00,0x00,0x8f,0x75,0x00,0x00, 0xef,0x51,0x00,0x00,0x05,0x80,0x00,0x00,0x23,0x9e,0xf2,0x66,0x0f,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3a,0x67,0x00,0x00,0xa6,0x7e,0x00,0x00,0x08,0x54,0x00,0x00,0x0e,0x7a,0x00,0x00,0x39,0x4e,0x00,0x00, 0xa6,0x7e,0x8b,0x57,0x00,0x00,0x65,0x51,0x00,0x00,0x08,0x54,0xb9,0x70,0x00,0x00,0x08,0x54,0xa6,0x5e, 0x00,0x00,0xc3,0x8b,0x2b,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x9a,0x00,0x00,0x74,0x8d,0x00,0x00, 0xe2,0x6c,0x00,0x00,0xd1,0x8d,0x00,0x00,0x70,0x8d,0x00,0x00,0x7e,0x81,0x00,0x00,0x3e,0x65,0x00,0x00, 0xad,0x88,0x00,0x00,0x41,0x6d,0x00,0x00,0xd9,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0x55,0x59,0x00,0x00, 0xbb,0x52,0x00,0x00,0x5d,0x8a,0x00,0x00,0x33,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x52,0x00,0x00, 0xd1,0x91,0x00,0x00,0x79,0x98,0x00,0x00,0x66,0x5b,0xd1,0x91,0x00,0x00,0xc1,0x54,0x00,0x00,0xe0,0x7a, 0x00,0x00,0x4c,0x72,0x00,0x00,0xe9,0x60,0x00,0x00,0x6f,0x67,0x00,0x00,0x4f,0x8d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb0,0x73,0x00,0x00,0x10,0x99,0x00,0x00,0x3f,0x62,0x00,0x00,0x70,0x65,0x00,0x00,0xc5,0x88, 0x00,0x00,0xdd,0x4f,0x00,0x00,0x1f,0x67,0x00,0x00,0x8b,0x57,0x00,0x00,0xef,0x8d,0x00,0x00,0x28,0x75, 0x00,0x00,0x01,0x00,0x00,0x00,0x08,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x3d,0x84,0x00,0x00,0x78,0x55, 0x2f,0x4f,0x00,0x00,0xe5,0x82,0x00,0x00,0x37,0x8c,0x71,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b, 0x00,0x00,0xfa,0x57,0x00,0x00,0xfa,0x57,0xba,0x4e,0x00,0x00,0xfa,0x57,0x05,0x80,0x00,0x00,0xfa,0x57, 0xf3,0x77,0x00,0x00,0xfa,0x57,0x27,0x60,0x00,0x00,0xcb,0x7a,0x00,0x00,0x6d,0x79,0x00,0x00,0x52,0x91, 0x00,0x00,0xfa,0x57,0x3c,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x4f,0xc1,0x54,0x00,0x00,0x88,0x4f, 0x00,0x00,0x4e,0x53,0x00,0x00,0x1b,0x67,0x00,0x00,0x61,0x97,0x00,0x00,0x42,0x6c,0x00,0x00,0x88,0x4f, 0x6a,0x6d,0x39,0x8d,0x00,0x00,0x88,0x4f,0x0e,0x7a,0x00,0x00,0x08,0x8c,0x00,0x00,0x4e,0x53,0x52,0x91, 0x97,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x5d,0x6c,0x9a,0x00,0x00,0xd0,0x8f,0x1a,0x4f,0x00,0x00, 0xd0,0x8f,0x00,0x00,0x17,0x67,0xb7,0x5f,0x00,0x00,0x30,0x57,0x29,0x52,0x00,0x00,0xea,0x8f,0x00,0x00, 0x97,0x67,0x39,0x53,0x4b,0x51,0x00,0x00,0x14,0x5c,0x00,0x00,0xaf,0x65,0x61,0x53,0x00,0x00,0xd4,0x59, 0x1a,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x60,0x00,0x00,0xeb,0x58,0x00,0x00,0xba,0x4e,0x00,0x00, 0x3f,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x69,0x5b,0x00,0x00,0x1f,0x75,0x00,0x00,0xcb,0x53,0x00,0x00, 0x0b,0x67,0xcb,0x53,0x00,0x00,0x8b,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x96,0x00,0x00,0x79,0x5f, 0x00,0x00,0x4d,0x62,0x00,0x00,0xc6,0x4e,0x00,0x00,0xb6,0x96,0x36,0x52,0x00,0x00,0x27,0x60,0x00,0x00, 0x62,0x5a,0x00,0x00,0xe5,0x5d,0x00,0x00,0xb6,0x96,0x3b,0x4e,0x00,0x00,0xb6,0x96,0x3e,0x79,0x1a,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x7c,0x00,0x00,0x76,0x59,0x00,0x00,0x5b,0x72,0x00,0x00,0x6a,0x91, 0x00,0x00,0x36,0x83,0x00,0x00,0xb9,0x6c,0x00,0x00,0x36,0x52,0xc1,0x54,0x00,0x00,0x1a,0x4e,0x00,0x00, 0x9c,0x51,0x00,0x00,0xf6,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x6d,0x00,0x00,0x46,0x55,0x00,0x00, 0x40,0x67,0x00,0x00,0xc8,0x8b,0x00,0x00,0xc5,0x60,0x00,0x00,0xe3,0x81,0x00,0x00,0x40,0x67,0x48,0x68, 0x00,0x00,0xba,0x4e,0x00,0x00,0x61,0x6c,0x00,0x00,0x38,0x5c,0x00,0x00,0x05,0x00,0x00,0x00,0xec,0x4e, 0x00,0x00,0xb6,0x5b,0x00,0x00,0xe9,0x4f,0x00,0x00,0xcf,0x7e,0x4e,0x6d,0x00,0x00,0x9b,0x73,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcf,0x50,0x00,0x00,0x04,0x59,0x00,0x00,0x6c,0x8f,0x00,0x00,0x1a,0x59,0x00,0x00, 0x7d,0x59,0x00,0x00,0xe0,0x51,0x00,0x00,0x03,0x54,0x00,0x00,0x0b,0x77,0x00,0x00,0x8b,0x4e,0x00,0x00, 0xcb,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x67,0x00,0x00,0x55,0x4f,0x00,0x00,0x64,0x6b,0x00,0x00, 0xca,0x4e,0x00,0x00,0x0b,0x4e,0x00,0x00,0x0c,0x54,0x00,0x00,0x1f,0x67,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x2f,0x66,0xf4,0x8b,0x00,0x00,0x0f,0x61,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xd4,0x5a, 0x00,0x00,0x50,0x5b,0x11,0x7b,0x00,0x00,0x72,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x60,0x00,0x00, 0xf5,0x5f,0x00,0x00,0xed,0x8b,0x00,0x00,0xfe,0x56,0x00,0x00,0xc3,0x5f,0x00,0x00,0x00,0x8a,0x00,0x00, 0xf3,0x60,0xc7,0x75,0x00,0x00,0xa8,0x52,0x00,0x00,0xf0,0x79,0x00,0x00,0xea,0x81,0xf2,0x83,0x84,0x85, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x5b,0x00,0x00,0xb9,0x70,0x00,0x00,0x62,0x97,0x00,0x00,0xb9,0x70, 0x51,0x7f,0x00,0x00,0x1f,0x61,0x00,0x00,0x6e,0x62,0x00,0x00,0x48,0x65,0x00,0x00,0x70,0x99,0x00,0x00, 0x41,0x59,0x00,0x00,0xb0,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x59,0x00,0x00,0xd1,0x79,0x00,0x00, 0x7c,0x5e,0x00,0x00,0x54,0x80,0x00,0x00,0xa7,0x4e,0xd1,0x79,0x00,0x00,0xba,0x4e,0x00,0x00,0xd1,0x79, 0xc5,0x75,0x00,0x00,0x73,0x59,0x82,0x82,0x00,0x00,0x74,0x5a,0x00,0x00,0x3f,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0x88,0x59,0x00,0x00,0xaa,0x54,0x00,0x00,0x56,0x79,0x00,0x00,0xcc,0x5b,0x86,0x96,0x00,0x00, 0x7e,0x6e,0x00,0x00,0x56,0x79,0x99,0x5e,0x00,0x00,0x7e,0x6e,0x2f,0x6e,0x00,0x00,0x50,0x5b,0x00,0x00, 0x2f,0x77,0x00,0x00,0x84,0x76,0x00,0x00,0x05,0x00,0x00,0x00,0x20,0x5a,0x00,0x00,0x20,0x5a,0x1f,0x67, 0x00,0x00,0x20,0x5a,0xb9,0x7e,0x00,0x00,0x20,0x5a,0xd5,0x8b,0x8c,0x9a,0x00,0x00,0x87,0x59,0x00,0x00, 0x03,0x00,0x00,0x00,0x8d,0x59,0x00,0x00,0x3d,0x4e,0x00,0x00,0xb8,0x5a,0x00,0x00,0x06,0x00,0x00,0x00, 0xcc,0x5f,0x00,0x00,0xc9,0x5a,0x00,0x00,0x6b,0x70,0x00,0x00,0x24,0x8d,0xc9,0x5a,0xfd,0x80,0x00,0x00, 0x24,0x8d,0xcc,0x5f,0xfd,0x80,0x00,0x00,0xfd,0x80,0xb3,0x5b,0x24,0x8d,0x00,0x00,0x04,0x00,0x00,0x00, 0x73,0x59,0x00,0x00,0x62,0x96,0x00,0x00,0x05,0x80,0x00,0x00,0x86,0x99,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2a,0x60,0x00,0x00,0x54,0x9b,0x16,0x53,0x00,0x00,0xbe,0x7c,0x00,0x00,0x06,0x5a,0x00,0x00,0x7d,0x5b, 0x00,0x00,0xa1,0x80,0x00,0x00,0x54,0x9b,0x3c,0x9b,0x2a,0x60,0x00,0x00,0x54,0x9b,0x00,0x00,0x73,0x82, 0x00,0x00,0x73,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xcd,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd5,0x6c,0x00,0x00,0x28,0x75,0x00,0x00,0xb9,0x65,0x00,0x00,0x84,0x9f,0x00,0x00,0xa1,0x8b, 0x00,0x00,0x04,0x59,0x00,0x00,0x0d,0x4e,0xef,0x53,0x00,0x8a,0x00,0x00,0xa3,0x8d,0x2a,0x6a,0x1f,0x75, 0x00,0x00,0xc9,0x89,0x00,0x00,0xed,0x8b,0x00,0x00,0x04,0x00,0x00,0x00,0x9e,0x59,0x00,0x00,0x3f,0x51, 0x00,0x00,0xec,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x55,0x00,0x00,0x4f,0x53, 0x00,0x00,0x53,0x5f,0x00,0x00,0x16,0x5e,0x00,0x00,0x4f,0x53,0x27,0x60,0x00,0x00,0x04,0x59,0x00,0x00, 0x28,0x67,0xaf,0x65,0x00,0x00,0x34,0x8d,0x00,0x00,0xa5,0x59,0x16,0x5e,0x16,0x5e,0x00,0x00,0x38,0x75, 0x47,0x95,0x00,0x00,0x04,0x00,0x00,0x00,0x8d,0x78,0x00,0x00,0xb3,0x5b,0x00,0x00,0x8d,0x78,0x03,0x74, 0x00,0x00,0x9f,0x52,0xb3,0x5b,0xfd,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x9a,0x5a,0x00,0x00,0x04,0x00, 0x00,0x00,0xef,0x53,0x00,0x00,0xf4,0x7e,0xc5,0x96,0x00,0x00,0x50,0x5b,0x00,0x00,0xf4,0x7e,0x05,0x5a, 0x00,0x00,0x01,0x00,0x00,0x00,0x0c,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0xf1,0x5d,0x00,0x00,0x09,0x00, 0x00,0x00,0xec,0x4e,0x00,0x00,0x1a,0x4f,0x00,0x00,0x38,0x72,0x00,0x00,0xf4,0x8b,0x00,0x00,0xb6,0x5b, 0x00,0x00,0x31,0x72,0x00,0x00,0xd1,0x53,0x00,0x00,0x28,0x75,0x00,0x00,0x88,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0xb8,0x7e,0x00,0x00,0xb9,0x59,0x00,0x00,0x2b,0x59,0x00,0x00,0xb8,0x7e, 0xec,0x4e,0x00,0x00,0x3f,0x51,0x00,0x00,0x41,0x6c,0x00,0x00,0xa7,0x63,0x00,0x00,0x96,0x62,0x00,0x00, 0x7f,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0x73,0x59,0x00,0x00, 0xbe,0x59,0x00,0x00,0xbb,0x79,0x50,0x5b,0x63,0x65,0x00,0x00,0xa1,0x7b,0x25,0x4e,0x00,0x00,0xa4,0x5b, 0x00,0x00,0x0f,0x5c,0x00,0x00,0x3f,0x51,0x01,0x80,0x0f,0x5c,0x00,0x00,0x05,0x82,0x00,0x00,0x02,0x00, 0x00,0x00,0xab,0x8e,0x00,0x00,0x8d,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc9,0x62,0xea,0x8f,0x47,0x59, 0x00,0x00,0x1d,0x8d,0xfa,0x57,0x00,0x00,0xdc,0x62,0x3c,0x5c,0x6c,0x9a,0xc9,0x62,0x6c,0x9a,0x00,0x00, 0x07,0x63,0x00,0x00,0x7f,0x89,0xc9,0x62,0x00,0x00,0xf4,0x5d,0xf4,0x5d,0xb3,0x7e,0x00,0x00,0x6c,0x4f, 0xcf,0x65,0x00,0x00,0x3c,0x5c,0x03,0x5e,0x3a,0x53,0x00,0x00,0x5e,0x58,0x4b,0x51,0xe6,0x74,0x00,0x00, 0x79,0x72,0xe6,0x74,0xc9,0x62,0x01,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x59,0x00,0x00,0xca,0x59, 0x00,0x00,0xb9,0x59,0xc7,0x7b,0x00,0x00,0x1f,0x5f,0x00,0x00,0xb9,0x59,0xb1,0x82,0x00,0x00,0xb9,0x59, 0x82,0x82,0x00,0x00,0x2b,0x59,0x00,0x00,0xca,0x59,0xec,0x4e,0x00,0x00,0x08,0x4e,0x00,0x00,0xb9,0x59, 0x6d,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x7e,0x00,0x00,0xd1,0x53,0x00,0x00,0xfa,0x5e,0x00,0x00, 0x5c,0x4f,0xd1,0x4f,0x05,0x80,0x00,0x00,0x2b,0x67,0x00,0x00,0x99,0x65,0x2a,0x67,0xca,0x53,0x00,0x00, 0x56,0x79,0x00,0x00,0x99,0x65,0x0d,0x4e,0xca,0x53,0x00,0x00,0xc8,0x7e,0x82,0x59,0x00,0x4e,0x00,0x00, 0xd1,0x53,0xd9,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x59,0x00,0x00,0xb9,0x59,0x00,0x00,0x1f,0x5f, 0x00,0x00,0x2b,0x59,0x00,0x00,0xec,0x4e,0x00,0x00,0xf4,0x8b,0x00,0x00,0xec,0x4e,0x3f,0x51,0x00,0x00, 0xb9,0x59,0x3f,0x51,0x00,0x00,0xb6,0x5b,0x00,0x00,0xb9,0x59,0xc7,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x18,0x5a,0x00,0x00,0xd1,0x59,0x00,0x00,0x6f,0x60,0x00,0x00,0x14,0x4e,0x00,0x00,0x36,0x72,0x00,0x00, 0xc9,0x51,0x00,0x00,0x88,0x59,0x00,0x00,0xcf,0x82,0x00,0x00,0x6f,0x60,0xc1,0x8f,0x31,0x5c,0x00,0x00, 0xcd,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0x87,0x65,0x7d,0x54,0x00,0x00,0x05,0x00,0x00,0x00,0x0d,0x54, 0x00,0x00,0x0f,0x6c,0x00,0x00,0x0d,0x54,0x43,0x67,0x00,0x00,0x0d,0x54,0x4c,0x72,0x00,0x00,0x0d,0x54, 0xba,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54,0x1a,0x4f,0x00,0x00,0x58,0x54,0x00,0x00,0x58,0x62, 0x00,0x00,0x85,0x51,0x5e,0x74,0xc9,0x62,0x00,0x00,0x48,0x5c,0x00,0x00,0x58,0x54,0x7f,0x95,0x00,0x00, 0x58,0x62,0xba,0x4e,0x00,0x00,0xfb,0x4e,0x00,0x00,0x3e,0x6d,0x00,0x00,0x49,0x5a,0x00,0x00,0x02,0x00, 0x00,0x00,0xd7,0x59,0x65,0x67,0xdf,0x8f,0x00,0x00,0xd7,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0x45,0x5c, 0x00,0x00,0x34,0x59,0x00,0x00,0x87,0x59,0x00,0x00,0x2b,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66, 0x00,0x00,0x89,0x5b,0x00,0x00,0x87,0x65,0x43,0x51,0x00,0x00,0x89,0x5b,0xbf,0x53,0x00,0x00,0x0f,0x6c, 0x00,0x00,0x4b,0x4e,0x1f,0x96,0x00,0x00,0xea,0x96,0xa0,0x57,0x00,0x00,0xb6,0x5b,0x51,0x67,0x00,0x00, 0x1d,0x60,0xc9,0x5e,0x00,0x00,0xe8,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x41,0x6c, 0x00,0x00,0x2b,0x67,0x00,0x00,0x9c,0x51,0x00,0x00,0xc4,0x9e,0x00,0x00,0xfd,0x56,0x00,0x00,0x7c,0x99, 0x00,0x00,0x30,0x58,0x00,0x00,0xd6,0x7c,0x34,0x6c,0x00,0x00,0x2a,0x59,0x6c,0x51,0x00,0x00,0x02,0x00, 0x00,0x00,0x7d,0x59,0x00,0x00,0x8d,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0xe5,0x59,0x00,0x00,0x37,0x72, 0x00,0x00,0xa8,0x9c,0x00,0x00,0x18,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x60,0x00,0x00,0x0a,0x00, 0x00,0x00,0x88,0x59,0x00,0x00,0x2b,0x59,0x00,0x00,0x36,0x72,0x00,0x00,0xcd,0x6b,0x00,0x00,0x2a,0x59, 0x2a,0x59,0x00,0x00,0x18,0x5a,0x00,0x00,0x08,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x46,0x5a,0x00,0x00, 0xe8,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00, 0xef,0x8d,0x02,0x5e,0x00,0x00,0x06,0x00,0x00,0x00,0xbe,0x59,0x00,0x00,0xef,0x8d,0x02,0x5e,0x00,0x00, 0xef,0x8d,0xce,0x57,0x00,0x00,0x7e,0x67,0x38,0x83,0x00,0x00,0x14,0x5c,0x00,0x00,0x7e,0x76,0x08,0x54, 0x54,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x25,0x5a,0x00,0x00,0x02,0x00,0x00,0x00,0x2b,0x7d,0xe3,0x5a, 0xa2,0x7e,0x00,0x00,0x73,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0x18,0x7f,0x00,0x00,0xb2,0x4e,0x00,0x00, 0x09,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0x01,0x60,0x00,0x00,0x72,0x82,0x00,0x00,0x0f,0x5f,0x00,0x00, 0xb9,0x5b,0x00,0x00,0xa7,0x63,0x00,0x00,0x71,0x5f,0x00,0x00,0x01,0x60,0x40,0x5a,0x1c,0x5a,0x00,0x00, 0xf7,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x80,0x00,0x00,0xc9,0x5e,0x00,0x00,0x9b,0x52,0x00,0x00, 0x51,0x61,0x00,0x00,0x14,0x5c,0x00,0x00,0x77,0x6d,0x00,0x00,0x3c,0x5c,0xaf,0x65,0x00,0x00,0xc9,0x5e, 0xc6,0x59,0xaf,0x65,0x00,0x00,0x66,0x6b,0x00,0x00,0x51,0x61,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc8,0x54,0xc8,0x54,0x00,0x00,0x03,0x5a,0x00,0x00,0x3f,0x51,0x00,0x00,0x03,0x5a,0x38,0x81,0x00,0x00, 0x03,0x5a,0x7c,0x9c,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x5a,0xdc,0x83,0x00,0x00,0xc8,0x54,0xc8,0x54, 0x3c,0x68,0xe6,0x74,0xaf,0x65,0x00,0x00,0x03,0x5a,0xb2,0x4e,0x00,0x00,0x03,0x5a,0x75,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0x95,0x5e,0x00,0x00,0x95,0x5e,0x02,0x5e,0x00,0x00,0x71,0x5c,0x73,0x51,0x00,0x00, 0x1f,0x66,0x3a,0x53,0x00,0x00,0xe6,0x70,0xbf,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xe6,0x70,0x00,0x00, 0x1f,0x66,0x00,0x00,0xbf,0x5b,0x00,0x00,0x95,0x5e,0x30,0x57,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe9,0x5a,0x00,0x00,0x0f,0x5c,0x00,0x00,0x14,0x6c,0x00,0x00,0x07,0x5a,0x00,0x00,0x9e,0x7f,0x00,0x00, 0x35,0x8d,0x00,0x00,0x70,0x51,0x00,0x00,0x73,0x82,0x00,0x00,0xf5,0x97,0xd7,0x8b,0x00,0x00,0x1f,0x75, 0xef,0x60,0x7b,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0xe5,0x7a,0x00,0x00,0xe5,0x7a,0x05,0x80,0x00,0x00, 0x01,0x00,0x00,0x00,0x77,0x5a,0x00,0x00,0x03,0x00,0x00,0x00,0x46,0x5a,0x00,0x00,0x57,0x7f,0x11,0x68, 0x00,0x00,0x57,0x7f,0xcc,0x53,0x11,0x68,0x00,0x00,0x04,0x00,0x00,0x00,0x13,0x5a,0x53,0x90,0x65,0x67, 0x00,0x00,0x13,0x5a,0x00,0x00,0x13,0x5a,0xa8,0x52,0x2c,0x54,0x00,0x00,0x13,0x5a,0x0c,0x80,0x08,0x8c, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00,0x18,0x5a,0x00,0x00,0xae,0x70, 0x00,0x00,0x50,0x5b,0x9b,0x51,0x00,0x00,0xce,0x80,0x00,0x00,0xb6,0x5b,0xba,0x4e,0x00,0x00,0x18,0x5a, 0x54,0x81,0x00,0x00,0xec,0x4e,0x00,0x00,0x05,0x82,0x00,0x00,0x03,0x00,0x00,0x00,0x54,0x58,0x89,0x83, 0x00,0x00,0x54,0x58,0x8e,0x83,0x00,0x00,0x1c,0x5a,0x00,0x00,0x03,0x00,0x00,0x00,0xc0,0x79,0x00,0x00, 0xd0,0x59,0x00,0x00,0x7d,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x59,0x00,0x00,0x01,0x00,0x00,0x00, 0x09,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x59,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x4e,0x00,0x00,0x50,0x4e,0x08,0x57,0x00,0x00,0x50,0x4e,0x16,0x53,0x00,0x00, 0x50,0x4e,0x27,0x60,0x00,0x00,0x50,0x4e,0x1a,0x4e,0x00,0x00,0x50,0x4e,0xce,0x57,0x00,0x00,0x50,0x4e, 0x3a,0x57,0x00,0x00,0x50,0x4e,0x4c,0x75,0x00,0x00,0x50,0x4e,0x9d,0x5b,0x00,0x00,0x50,0x4e,0x3a,0x53, 0x00,0x00,0x03,0x00,0x00,0x00,0x9f,0x71,0x00,0x00,0x59,0x97,0x00,0x00,0xc5,0x96,0x00,0x00,0x03,0x00, 0x00,0x00,0xb2,0x4e,0x00,0x00,0xbb,0x59,0x00,0x00,0xb3,0x5a,0x87,0x59,0x00,0x00,0x05,0x00,0x00,0x00, 0x93,0x59,0x00,0x00,0x87,0x59,0x00,0x00,0xb6,0x5b,0x00,0x00,0x73,0x59,0x00,0x00,0xe8,0x95,0x00,0x00, 0x02,0x00,0x00,0x00,0x1c,0x5a,0x00,0x00,0x1c,0x5a,0x1a,0x59,0xff,0x59,0x00,0x00,0x0a,0x00,0x00,0x00, 0x46,0x5a,0x00,0x00,0x57,0x7f,0xe8,0x95,0x00,0x00,0xb3,0x5a,0x00,0x00,0x99,0x6c,0x00,0x00,0xb6,0x5b, 0x00,0x00,0x57,0x7f,0xe8,0x95,0x59,0x65,0x00,0x00,0x11,0x5a,0x00,0x00,0x57,0x7f,0x00,0x00,0x57,0x7f, 0x32,0x6d,0x00,0x00,0x46,0x5a,0x88,0x59,0x88,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x59,0x00,0x00, 0x0a,0x00,0x00,0x00,0xd2,0x62,0x00,0x00,0x6c,0x8f,0x00,0x00,0xa6,0x7e,0x00,0x00,0x00,0x8a,0x22,0x8c, 0xdd,0x7e,0x00,0x00,0x00,0x8a,0x00,0x00,0xb9,0x5b,0x00,0x00,0x49,0x5a,0x00,0x00,0xa6,0x7e,0x3e,0x6d, 0x00,0x00,0x22,0x8c,0x00,0x00,0x3d,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xfb,0x59,0x00,0x00,0x3c,0x79,0x00,0x00,0x0e,0x54,0x00,0x00,0x4b,0x60,0x00,0x00,0x4d,0x52, 0x00,0x00,0xb4,0x5b,0x00,0x00,0xb1,0x7e,0x00,0x00,0x86,0x5e,0x00,0x00,0x16,0x59,0xc5,0x60,0x00,0x00, 0x3f,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x51,0x00,0x00, 0x7c,0x5e,0x3f,0x51,0x00,0x00,0xe5,0x7a,0x00,0x00,0x3f,0x51,0x66,0x8f,0x00,0x00,0x69,0x5b,0x00,0x00, 0x75,0x70,0x00,0x00,0x7c,0x5e,0x00,0x00,0x3f,0x51,0x1f,0x67,0x00,0x00,0x3f,0x51,0x6e,0x6f,0x00,0x00, 0x0f,0x62,0xb9,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x1f,0x5a,0x00,0x00,0x9b,0x5a,0x00,0x00,0x06,0x00, 0x00,0x00,0x76,0x5a,0x00,0x00,0x50,0x5b,0x00,0x00,0xcd,0x6b,0x00,0x00,0x18,0x5a,0x00,0x00,0x3f,0x51, 0x00,0x00,0x46,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x59,0x00,0x00,0x07,0x00,0x00,0x00,0x90,0x6e, 0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x67,0x52, 0x00,0x00,0x73,0x59,0x00,0x00,0xff,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x61,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0xcb,0x4e,0x00,0x00,0xf0,0x79,0x00,0x00,0xba,0x4e, 0x00,0x00,0x53,0x4f,0x16,0x53,0x00,0x00,0x53,0x4f,0x4c,0x75,0x00,0x00,0x46,0x5a,0x00,0x00,0xdd,0x66, 0x00,0x00,0x53,0x4f,0x1a,0x4e,0x00,0x00,0xc4,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0x40,0x5a,0x00,0x00, 0x0a,0x00,0x00,0x00,0xd7,0x4f,0x00,0x00,0x3c,0x77,0x00,0x00,0x01,0x60,0x00,0x00,0x16,0x59,0x00,0x00, 0xd1,0x60,0x00,0x00,0x11,0x7b,0x00,0x00,0xa8,0x9a,0x00,0x00,0x16,0x4e,0x00,0x00,0x03,0x5a,0x00,0x00, 0xcd,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0x8e,0x7f,0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x59,0x00,0x00, 0x87,0x59,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x8d,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0x8c,0x54, 0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x63,0x00,0x00,0x86,0x59,0x00,0x00,0xba,0x4e,0x00,0x00,0x63,0x88, 0x00,0x00,0x65,0x51,0x00,0x00,0x78,0x79,0x00,0x00,0x36,0x5a,0x00,0x00,0x63,0x88,0xf3,0x88,0x00,0x00, 0x21,0x9e,0x8f,0x96,0x21,0x9e,0x00,0x00,0x78,0x79,0x8e,0x4e,0xba,0x4e,0x00,0x00,0x03,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0xc2,0x5a,0x00,0x00,0x2b,0x59,0xba,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x92,0x59, 0x00,0x00,0x92,0x59,0xc3,0x5f,0x00,0x00,0x68,0x60,0x00,0x00,0x76,0x60,0x82,0x59,0xc7,0x4e,0x00,0x00, 0x24,0x8d,0x92,0x59,0xfd,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x91,0x75,0xba,0x4e,0x00,0x00,0xaf,0x72, 0x00,0x00,0x91,0x75,0x00,0x00,0x03,0x5f,0x00,0x00,0x91,0x75,0xaf,0x72,0x00,0x00,0x2b,0x8d,0x31,0x72, 0xcc,0x5b,0x00,0x00,0x99,0x96,0x00,0x00,0x76,0x60,0x00,0x00,0xf6,0x51,0x00,0x00,0x91,0x75,0x66,0x8f, 0x00,0x00,0x01,0x00,0x00,0x00,0x1b,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x83,0x59,0x00,0x00,0x07,0x00, 0x00,0x00,0x3c,0x5a,0x00,0x00,0xbf,0x5b,0x00,0x00,0xa2,0x5b,0x00,0x00,0x93,0x59,0x00,0x00,0x44,0x8d, 0x00,0x00,0x3c,0x5a,0x48,0x68,0x00,0x00,0x93,0x59,0x0f,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x56,0x79, 0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x59,0x00,0x00,0x82,0x82,0x00,0x00,0x09,0x00,0x00,0x00,0xfb,0x7c, 0x00,0x00,0x59,0x5b,0x00,0x00,0x20,0x4f,0x00,0x00,0xb2,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0xfa,0x51, 0x00,0x00,0xcd,0x6b,0x00,0x00,0x3e,0x6d,0x00,0x00,0x02,0x58,0x00,0x00,0x04,0x00,0x00,0x00,0x36,0x71, 0x00,0x00,0x36,0x71,0x00,0x4e,0x11,0x7b,0x00,0x00,0xa2,0x7e,0x00,0x00,0x5b,0x72,0x5a,0x53,0x00,0x00, 0x03,0x00,0x00,0x00,0x25,0x5a,0x00,0x00,0x25,0x5a,0x8c,0x4e,0xf7,0x53,0x00,0x00,0x25,0x5a,0x00,0x4e, 0xf7,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x4e,0x00,0x00,0xa4,0x80,0x00,0x00,0x7d,0x76,0x00,0x00, 0xd1,0x6e,0x00,0x00,0xbd,0x82,0x00,0x00,0x5f,0x6c,0x00,0x00,0xe9,0x5a,0x84,0x76,0x00,0x00,0xf6,0x53, 0x00,0x00,0x21,0x6a,0x00,0x00,0x89,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0f,0x62,0x00,0x00,0xae,0x76,0x00,0x00,0xae,0x76,0xeb,0x58,0x00,0x00,0x11,0x7b,0x00,0x00, 0xf9,0x95,0x00,0x00,0x11,0x7b,0x12,0x60,0x82,0x9a,0x00,0x00,0x34,0x6c,0x00,0x00,0xae,0x76,0x11,0x7b, 0x38,0x81,0x00,0x00,0x34,0x6c,0x82,0x82,0x00,0x00,0x0d,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xd8,0x53, 0x00,0x00,0x01,0x00,0x00,0x00,0x3f,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0x45,0x5c,0x00,0x00,0x87,0x59, 0x00,0x00,0xfa,0x95,0x00,0x00,0x7a,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x51,0xf8,0x53,0x00,0x00, 0x73,0x59,0x00,0x00,0xab,0x5b,0x00,0x00,0x39,0x5f,0x00,0x00,0x1f,0x5f,0x00,0x00,0x59,0x5b,0x00,0x00, 0x4c,0x88,0x1a,0x4e,0x00,0x00,0xab,0x5b,0x88,0x98,0x00,0x00,0x5a,0x86,0x4c,0x4e,0x09,0x67,0x00,0x00, 0x59,0x5b,0x0e,0x54,0xe3,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x36,0x71,0x00,0x4e, 0xab,0x8e,0x00,0x00,0x53,0x5b,0x00,0x00,0x57,0x90,0x00,0x00,0x11,0x6c,0x00,0x00,0x51,0x5b,0x00,0x00, 0xcb,0x7a,0x00,0x00,0xab,0x8e,0x00,0x00,0x51,0x5b,0x3a,0x4e,0x49,0x4e,0x00,0x00,0xcb,0x7a,0xe0,0x65, 0x9d,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xc0,0x96,0x00,0x00,0x99,0x5e,0x00,0x00, 0x0e,0x66,0x6f,0x70,0x00,0x00,0x1e,0x6d,0x00,0x00,0x84,0x5f,0x00,0x00,0x2b,0x59,0x50,0x5b,0x00,0x00, 0x9c,0x5e,0x00,0x00,0xc0,0x96,0xf3,0x77,0x00,0x00,0x99,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x87,0x59, 0x00,0x00,0xb2,0x80,0x00,0x00,0x1f,0x67,0x00,0x00,0xa7,0x4e,0x87,0x59,0x00,0x00,0xc0,0x6f,0x20,0x7d, 0x00,0x00,0x4d,0x52,0x00,0x00,0xc0,0x68,0x00,0x00,0x6e,0x91,0x00,0x00,0x74,0x5a,0x00,0x00,0xe9,0x65, 0x1f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x55,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x68,0x00,0x00, 0xcd,0x6b,0x00,0x00,0x53,0x4f,0x00,0x00,0xf7,0x53,0x00,0x00,0x3c,0x77,0x00,0x00,0x55,0x5e,0x00,0x00, 0x78,0x51,0x00,0x00,0x3b,0x75,0x00,0x00,0x34,0x59,0x00,0x00,0x26,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x28,0x57,0x00,0x00,0x3e,0x6b,0x00,0x00,0xcf,0x91,0x00,0x00,0xa8,0x50,0x00,0x00,0x3e,0x65,0x00,0x00, 0x27,0x8d,0x00,0x00,0x3b,0x6d,0x00,0x00,0x37,0x8d,0x00,0x00,0x65,0x51,0x00,0x00,0x37,0x8d,0x3e,0x6b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xd0,0x67,0x00,0x00,0x73,0x59,0x00,0x00,0x2d,0x4e, 0x71,0x5c,0x00,0x00,0x9f,0x60,0x7a,0x7a,0x00,0x00,0x88,0x8f,0x00,0x00,0x6c,0x51,0xf8,0x53,0x00,0x00, 0x3f,0x51,0x00,0x00,0x1d,0x60,0x88,0x90,0x00,0x00,0x38,0x90,0xd9,0x4e,0x00,0x00,0x02,0x00,0x00,0x00, 0xe5,0x65,0x71,0x5c,0x00,0x00,0x14,0x5c,0xbe,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x66,0x00,0x00, 0x09,0x00,0x00,0x00,0x5c,0x5b,0x0d,0x4e,0x26,0x50,0x00,0x00,0x36,0x71,0x00,0x00,0x5c,0x5b,0xe5,0x4e, 0x42,0x6c,0x00,0x00,0x5c,0x5b,0x00,0x00,0x5c,0x5b,0xfd,0x8f,0x42,0x6c,0x00,0x00,0x36,0x71,0xb9,0x82, 0x00,0x00,0x5c,0x5b,0xfb,0x77,0xfb,0x77,0x00,0x00,0x2c,0x67,0x00,0x00,0x5c,0x5b,0x15,0x80,0x18,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x7a,0x98,0x00,0x00,0x6c,0x65,0x00,0x00,0x50,0x5b,0x00,0x00,0x53,0x90, 0x00,0x00,0x1f,0x61,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0c,0x66,0x00,0x00,0x1f,0x61,0x02,0x5e,0x00,0x00, 0xb2,0x4e,0x00,0x00,0xc9,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x4e,0x00,0x00,0xa0,0x52,0xc9,0x62, 0xfd,0x56,0x00,0x00,0x71,0x5c,0xfd,0x90,0x00,0x00,0x50,0x5b,0x00,0x00,0xa0,0x52,0xc9,0x62,0x00,0x00, 0xb7,0x5f,0xaf,0x65,0x20,0x9e,0x00,0x00,0xa0,0x52,0xc9,0x62,0x7e,0x6e,0x00,0x00,0xb7,0x5f,0x00,0x00, 0xcd,0x6b,0x00,0x00,0xa0,0x52,0xc9,0x62,0x4e,0x86,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x50,0x5b,0x89,0x7c,0x00,0x00,0x50,0x5b,0x0d,0x69,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x82,0x82,0x00,0x00,0x82,0x82,0x27,0x60,0x00,0x00,0xa5,0x62,0x00,0x00,0x2b,0x67,0x00,0x00, 0xab,0x83,0x33,0x75,0xd1,0x79,0x00,0x00,0x03,0x8c,0x00,0x00,0xa1,0x7f,0x97,0x67,0x00,0x00,0xce,0x98, 0x00,0x00,0x9b,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xec,0x72,0x00,0x00,0x3f,0x51,0x00,0x00,0xcb,0x7a, 0x00,0x00,0x55,0x53,0x00,0x00,0x9b,0x5c,0x00,0x00,0xfb,0x50,0x00,0x00,0x3f,0x51,0x62,0x96,0x00,0x00, 0xec,0x72,0xc7,0x75,0x00,0x00,0xe1,0x5b,0x01,0x80,0xba,0x4e,0x00,0x00,0xf6,0x96,0xf6,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x21,0x68,0x00,0x00,0x60,0x4e,0x00,0x00,0x62,0x96,0x00,0x00, 0x05,0x80,0x00,0x00,0x1a,0x4f,0x00,0x00,0x2f,0x67,0x00,0x00,0x86,0x53,0x00,0x00,0x4d,0x4f,0x00,0x00, 0x58,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xb8,0x7e,0x00,0x00,0xe5,0x7a,0x00,0x00, 0x50,0x5b,0xec,0x4e,0x00,0x00,0x3f,0x51,0x00,0x00,0x50,0x5b,0x14,0x6c,0x00,0x00,0xd0,0x63,0x00,0x00, 0x50,0x5b,0x8b,0x73,0x00,0x00,0x3f,0x51,0xa2,0x7e,0x00,0x00,0x50,0x5b,0xb6,0x5b,0x00,0x00,0x03,0x00, 0x00,0x00,0x1f,0x75,0x00,0x00,0x1f,0x75,0x20,0x7d,0x70,0x65,0x00,0x00,0x95,0x4e,0xe9,0x6e,0x00,0x00, 0x01,0x00,0x00,0x00,0xcd,0x79,0x00,0x00,0x08,0x00,0x00,0x00,0x2f,0x66,0x70,0x5b,0x5e,0x97,0x00,0x00, 0x7b,0x8f,0x70,0x5b,0xcd,0x91,0x00,0x00,0x0d,0x4e,0xef,0x53,0xcd,0x5f,0x00,0x00,0x1f,0x77,0x70,0x5b, 0x47,0x50,0x00,0x00,0xe5,0x77,0x00,0x00,0xfd,0x80,0xe0,0x65,0xc5,0x60,0x00,0x00,0xfd,0x80,0x1f,0x75, 0xe7,0x5d,0x00,0x00,0x99,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x31,0x5f,0x00,0x00,0x34,0x59,0x00,0x00, 0x05,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x6f,0x60,0x00,0x00,0x6f,0x60,0x87,0x73,0x00,0x00,0x73,0x5b, 0x00,0x00,0x73,0x4e,0x00,0x00,0x08,0x00,0x00,0x00,0x16,0x53,0x00,0x00,0x16,0x53,0x68,0x56,0x00,0x00, 0xcb,0x86,0x00,0x00,0x16,0x53,0xed,0x56,0x00,0x00,0x75,0x53,0x00,0x00,0x16,0x53,0x3a,0x57,0x00,0x00, 0xb2,0x80,0x00,0x00,0x16,0x53,0x1f,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b, 0xef,0x53,0x59,0x65,0x00,0x00,0x50,0x5b,0x5b,0x72,0x00,0x00,0xba,0x4e,0x00,0x00,0x50,0x5b,0xad,0x4e, 0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x96,0x00,0x00,0x50,0x5b,0x00,0x00,0x77,0x6d,0x00,0x00, 0x1f,0x75,0x00,0x00,0xcd,0x79,0x00,0x00,0x5c,0x75,0x00,0x00,0x77,0x6d,0xb1,0x82,0x00,0x00,0x39,0x68, 0x00,0x00,0xa5,0x62,0x00,0x00,0x18,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x6c,0x00,0x00,0x0f,0x59, 0x00,0x00,0x3f,0x61,0x00,0x00,0x59,0x97,0x00,0x00,0xef,0x53,0x00,0x00,0xe2,0x6c,0x02,0x5e,0x00,0x00, 0xb7,0x5f,0x00,0x00,0xb9,0x8f,0x00,0x00,0x77,0x6d,0x00,0x00,0xfd,0x56,0x00,0x00,0x02,0x00,0x00,0x00, 0xec,0x4e,0x00,0x00,0x2c,0x67,0xab,0x8e,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x57,0x30,0x57,0x00,0x00, 0x73,0x59,0x00,0x00,0x25,0x60,0x01,0x90,0x00,0x00,0x30,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x96, 0x00,0x00,0x37,0x75,0x85,0x5b,0x73,0x59,0x00,0x00,0xb8,0x90,0x00,0x00,0x37,0x75,0xec,0x4e,0x00,0x00, 0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x5b,0x00,0x00,0x2a,0x82,0x58,0x54,0x00,0x00,0x2a,0x82, 0x40,0x5c,0x00,0x00,0x2a,0x82,0x00,0x00,0x1a,0x90,0x00,0x00,0x99,0x5b,0xde,0x98,0x39,0x82,0x00,0x00, 0x99,0x5b,0x66,0x5b,0x00,0x00,0xde,0x98,0x00,0x00,0x87,0x65,0x00,0x00,0x99,0x9f,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa4,0x62,0x00,0x00,0x19,0x50,0x00,0x00,0xd5,0x6c,0x00,0x00,0x6b,0x53,0x00,0x00,0x19,0x52, 0x00,0x00,0xe1,0x4f,0x00,0x00,0x1b,0x67,0x00,0x00,0x52,0x60,0x00,0x00,0xa4,0x62,0x05,0x80,0x00,0x00, 0x1b,0x67,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x51,0x00,0x00,0x92,0x63,0x00,0x00,0xc5,0x88, 0x00,0x00,0xbd,0x5f,0x00,0x00,0x0d,0x50,0x00,0x00,0x6e,0x7f,0x00,0x00,0x06,0x74,0x1a,0x4f,0x00,0x00, 0x68,0x51,0x27,0x60,0x00,0x00,0xdd,0x4f,0x00,0x00,0x59,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0xe3,0x4e, 0x00,0x00,0x1d,0x67,0x00,0x00,0xd0,0x67,0x00,0x00,0x86,0x5e,0x84,0x9f,0x00,0x00,0x43,0x51,0x00,0x00, 0x56,0x79,0x00,0x00,0x84,0x5e,0x00,0x00,0xce,0x57,0x00,0x00,0x8e,0x7f,0x84,0x9f,0x00,0x00,0xfd,0x90, 0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x62,0x00,0x00,0x68,0x51,0x00,0x00,0x84,0x55,0x00,0x00,0x74,0x65, 0x00,0x00,0x8e,0x7f,0x00,0x00,0xd5,0x6b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x07,0x59,0x00,0x00,0x7d,0x59, 0x00,0x00,0x86,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x89,0x00,0x00,0x1f,0x4f,0x00,0x00,0x90,0x6e, 0x00,0x00,0x29,0x52,0x00,0x00,0x81,0x78,0x00,0x00,0x27,0x59,0x00,0x00,0xdb,0x76,0x00,0x00,0xbe,0x8f, 0x00,0x00,0xbe,0x8f,0x35,0x75,0x00,0x00,0xc2,0x89,0x62,0x97,0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x67, 0x00,0x00,0x0c,0x66,0x00,0x00,0x0c,0x66,0xbf,0x53,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x59,0x65,0x00,0x00,0xe8,0x65,0x00,0x00,0x3e,0x6d,0x00,0x00,0x08,0x5e,0x00,0x00,0x30,0x57,0x00,0x00, 0x80,0x55,0xf4,0x5d,0x00,0x00,0x59,0x65,0x4c,0x75,0x00,0x00,0xcf,0x65,0x00,0x00,0x6f,0x82,0x00,0x00, 0xb2,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54,0x00,0x00,0xb9,0x65,0x00,0x00,0x75,0x51,0x00,0x00, 0x51,0x7f,0x00,0x00,0xf8,0x53,0x00,0x00,0xb8,0x90,0x00,0x00,0x3f,0x62,0x7f,0x95,0x98,0x5b,0x00,0x00, 0xda,0x50,0x00,0x00,0x3a,0x57,0x00,0x00,0xda,0x50,0x3b,0x4e,0x49,0x4e,0x00,0x00,0x03,0x00,0x00,0x00, 0xaf,0x65,0x00,0x00,0xaf,0x65,0xfe,0x76,0x00,0x00,0xaf,0x65,0xfe,0x76,0x30,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x1f,0x67,0x00,0x00,0x49,0x4e,0x00,0x00,0x95,0x62, 0x00,0x00,0x11,0x54,0x00,0x00,0x36,0x52,0x00,0x00,0x9e,0x58,0x00,0x00,0x8e,0x4e,0x00,0x00,0xb9,0x70, 0x00,0x00,0x0a,0x00,0x00,0x00,0x82,0x59,0x00,0x00,0xe5,0x82,0x00,0x00,0x36,0x71,0x00,0x00,0xce,0x57, 0x3a,0x53,0x00,0x00,0x73,0x5e,0xce,0x57,0x00,0x00,0x6c,0x8f,0x00,0x00,0xde,0x5d,0x00,0x00,0xce,0x57, 0x00,0x00,0x73,0x5e,0xbf,0x53,0x00,0x00,0x30,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x0c,0x66,0x00,0x00,0x45,0x5c,0x00,0x00,0xbe,0x5b,0x00,0x00,0xe1,0x4f,0x00,0x00,0x74,0x51,0x00,0x00, 0xbe,0x5b,0x02,0x5e,0x00,0x00,0xba,0x4e,0x00,0x00,0x0c,0x66,0x02,0x5e,0x00,0x00,0x25,0x66,0x00,0x00, 0x0a,0x00,0x00,0x00,0x9d,0x5b,0x00,0x00,0x6c,0x9a,0x00,0x00,0x1d,0x8d,0x00,0x00,0xa2,0x94,0x00,0x00, 0x35,0x8d,0x00,0x00,0xf3,0x77,0x00,0x00,0x89,0x5b,0x00,0x00,0x01,0x6d,0x00,0x00,0xa7,0x5e,0x00,0x00, 0xc9,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x73,0x00,0x00,0xbd,0x65,0x00,0x00,0x45,0x96,0x00,0x00, 0x45,0x96,0x0a,0x4e,0x00,0x00,0x4c,0x88,0x00,0x00,0x8c,0x9a,0x00,0x00,0x28,0x57,0x00,0x00,0x9b,0x52, 0x00,0x00,0x53,0x4f,0x00,0x00,0xf5,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x72,0x00,0x00,0x31,0x72, 0x00,0x00,0x3f,0x51,0x00,0x00,0x69,0x72,0x97,0x5e,0x00,0x00,0x69,0x72,0xac,0x72,0x00,0x00,0x4f,0x57, 0x00,0x00,0x78,0x5e,0x00,0x00,0xba,0x6e,0x00,0x00,0xb1,0x8f,0x0d,0x4e,0xca,0x60,0x00,0x00,0x83,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0x79,0x62,0x00,0x00,0x38,0x68,0x00,0x00,0xa1,0x8b,0x00,0x00,0xe5,0x67, 0x00,0x00,0x06,0x74,0x00,0x00,0xae,0x8b,0x00,0x00,0x24,0x52,0x00,0x00,0xa1,0x8b,0x72,0x7f,0x00,0x00, 0x4e,0x61,0x00,0x00,0x8e,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x62,0x00,0x00,0xc2,0x89,0x00,0x00, 0x66,0x8f,0x00,0x00,0x0d,0x67,0x00,0x00,0x3a,0x67,0x00,0x00,0xba,0x4e,0x00,0x00,0xd0,0x8f,0x00,0x00, 0x37,0x62,0xef,0x7a,0x00,0x00,0x41,0x6d,0x00,0x00,0x08,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x5e, 0x00,0x00,0x20,0x4f,0x00,0x00,0xf0,0x79,0x00,0x00,0x24,0x52,0x00,0x00,0x20,0x4f,0xe8,0x90,0x00,0x00, 0x4a,0x54,0x00,0x00,0x00,0x8a,0x00,0x00,0x93,0x8a,0x00,0x00,0x6c,0x62,0x00,0x00,0xfb,0x8b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x85,0x51,0x00,0x00,0xcb,0x53,0x00,0x00,0x16,0x59,0x00,0x00,0x29,0x6e,0x00,0x00, 0x3b,0x4e,0xfb,0x4e,0x00,0x00,0x85,0x51,0x16,0x59,0x00,0x00,0x7f,0x95,0x00,0x00,0x29,0x52,0x00,0x00, 0x16,0x59,0x3a,0x67,0x00,0x00,0x85,0x51,0x50,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x80,0x00,0x00, 0x07,0x00,0x00,0x00,0x98,0x5b,0x00,0x00,0x77,0x6d,0x00,0x00,0x38,0x6e,0x00,0x00,0x14,0x90,0x00,0x00, 0x77,0x6d,0xce,0x98,0xe2,0x6c,0x00,0x00,0xe8,0x95,0x00,0x00,0x91,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd5,0x6c,0x00,0x00,0xe0,0x7a,0x00,0x00,0x3f,0x65,0x00,0x00,0x75,0x51,0x00,0x00,0xd5,0x6c,0xd1,0x76, 0xa4,0x62,0xd4,0x59,0x58,0x54,0x1a,0x4f,0x00,0x00,0xd1,0x76,0x1a,0x4f,0x00,0x00,0x75,0x51,0x1f,0x96, 0x00,0x00,0xd5,0x6c,0x66,0x5b,0x00,0x00,0x36,0x52,0x00,0x00,0x66,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf7,0x5e,0x00,0x00,0x88,0x98,0x00,0x00,0xbf,0x6b,0x00,0x00,0x88,0x98,0x4c,0x76,0x00,0x00,0x4d,0x4f, 0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x3b,0x4e,0x1f,0x66,0x00,0x00,0xe4,0x53,0x9b,0x5c,0x00,0x00, 0x0e,0x5d,0x8f,0x9a,0x00,0x00,0x2d,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x67,0x00,0x00,0xf8,0x76, 0x00,0x00,0x72,0x72,0x82,0x82,0x00,0x00,0xa2,0x5b,0x00,0x00,0x72,0x52,0x00,0x00,0x36,0x52,0x00,0x00, 0x85,0x8f,0x00,0x00,0x88,0x4e,0x00,0x00,0x72,0x72,0xad,0x4e,0x00,0x00,0x03,0x83,0x00,0x00,0x0a,0x00, 0x00,0x00,0x15,0x60,0x00,0x00,0x9e,0x7f,0x00,0x00,0xba,0x4e,0x00,0x00,0x6b,0x86,0x00,0x00,0x04,0x59, 0x00,0x00,0xa4,0x7f,0x4b,0x4e,0x6c,0x9a,0x00,0x00,0x7b,0x6b,0x00,0x00,0xba,0x4e,0x0d,0x4e,0x45,0x6d, 0x00,0x00,0xca,0x81,0x00,0x00,0xc5,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x8b,0x00,0x00,0x1a,0x4f, 0x00,0x00,0x2d,0x5e,0x00,0x00,0x1a,0x4f,0x85,0x53,0x00,0x00,0xa2,0x5b,0x00,0x00,0x6e,0x99,0x00,0x00, 0x50,0x4e,0x00,0x00,0x1a,0x4f,0x4c,0x68,0x00,0x00,0xe8,0x98,0x00,0x00,0x89,0x5b,0x29,0x9e,0xd2,0x6b, 0x00,0x00,0x07,0x00,0x00,0x00,0x81,0x79,0x00,0x00,0x1c,0x59,0x00,0x00,0x63,0x88,0xf0,0x65,0xdf,0x98, 0x00,0x00,0xf0,0x65,0x00,0x00,0x81,0x5f,0x00,0x00,0x0f,0x5c,0x00,0x00,0xb9,0x8f,0x74,0x51,0xb1,0x83, 0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x5e,0x00,0x00,0x7f,0x95,0x00,0x00,0xcc,0x91,0x00,0x00,0xba,0x4e, 0x00,0x00,0x5e,0x5c,0x00,0x00,0x35,0x75,0x00,0x00,0x77,0x51,0x00,0x00,0xcf,0x65,0x00,0x00,0x2d,0x4e, 0x00,0x00,0x45,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0xa3,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x13,0x66, 0x00,0x00,0xcf,0x91,0x00,0x00,0xcd,0x5f,0x00,0x00,0xb3,0x7e,0x00,0x00,0x68,0x56,0x00,0x00,0xef,0x79, 0x87,0x73,0x00,0x00,0xb8,0x8b,0x00,0x00,0x8c,0x8c,0x00,0x00,0xcd,0x5f,0xa6,0x5e,0x00,0x00,0x9c,0x98, 0x00,0x00,0x0a,0x00,0x00,0x00,0x7e,0x67,0x00,0x00,0x26,0x5e,0x00,0x00,0xb9,0x5b,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x5e,0x65,0x00,0x00,0xd5,0x88,0x00,0x00,0x45,0x5e,0x00,0x00,0x7f,0x5e,0x00,0x00,0xdb,0x6c, 0x00,0x00,0x27,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x86,0x99,0x00,0x00,0xa2,0x5b,0x00,0x00,0x29,0x52, 0x00,0x00,0x15,0x59,0xd5,0x6c,0x3c,0x5c,0x9a,0x4e,0xde,0x5d,0x00,0x00,0x15,0x59,0xd5,0x6c,0x3c,0x5c, 0x9a,0x4e,0x00,0x00,0xde,0x5d,0x00,0x00,0x97,0x5f,0x00,0x00,0xed,0x8b,0x00,0x00,0x33,0x96,0xbf,0x53, 0x00,0x00,0x33,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x82,0x00,0x00,0x7d,0x54,0x00,0x00,0x0d,0x82, 0x7c,0x69,0x00,0x00,0x3b,0x4e,0x00,0x00,0xc1,0x8f,0x00,0x00,0xbf,0x4f,0x00,0x00,0xde,0x5d,0x00,0x00, 0xde,0x5d,0x02,0x5e,0x00,0x00,0xc1,0x8f,0x02,0x5e,0x00,0x00,0x16,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xde,0x5b,0x00,0x00,0x59,0x97,0x00,0x00,0x6d,0x70,0x00,0x00,0xe5,0x5b,0x00,0x00,0x36,0x71,0x00,0x00, 0xc2,0x5b,0x00,0x00,0x67,0x71,0x00,0x00,0x59,0x97,0xad,0x5c,0x00,0x00,0x62,0x6b,0x00,0x00,0xd8,0x9e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x4e,0x00,0x00,0x58,0x62,0x00,0x00,0x1f,0x75,0x6b,0x86,0x00,0x00, 0x1f,0x75,0x00,0x00,0x01,0x90,0x00,0x00,0xbf,0x5b,0x00,0x00,0x45,0x5c,0xf9,0x87,0x00,0x00,0x7b,0x51, 0x00,0x00,0xed,0x8b,0x00,0x00,0x58,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0x03,0x54,0x6f,0x53,0xae,0x7c, 0x00,0x00,0xf6,0x65,0x00,0x00,0x4e,0x86,0x00,0x00,0x2f,0x65,0x6f,0x53,0xae,0x7c,0x00,0x00,0x57,0x84, 0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x52,0x00,0x00,0x01,0x78,0x00,0x00,0xc6,0x96,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x01,0x5c,0x00,0x00,0xc6,0x96,0x8b,0x57,0x00,0x00,0x0d,0x4e,0xef,0x53,0x06,0x52,0x00,0x00, 0x97,0x5b,0x00,0x00,0x91,0x4e,0x00,0x00,0xc6,0x5b,0xbb,0x9e,0xbb,0x9e,0x00,0x00,0x03,0x00,0x00,0x00, 0xc6,0x51,0x00,0x00,0xc7,0x4e,0x00,0x00,0x18,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x6a,0x8c,0x00,0x00, 0xeb,0x58,0xb7,0x5e,0x00,0x00,0x09,0x67,0x00,0x00,0xd5,0x88,0x00,0x00,0xba,0x4e,0x00,0x00,0xc1,0x7f, 0x00,0x00,0x6a,0x8c,0x9c,0x69,0x00,0x00,0x8c,0x4e,0xe3,0x4e,0x00,0x00,0x9b,0x52,0x00,0x00,0x35,0x8d, 0x00,0x00,0x01,0x00,0x00,0x00,0x99,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x51,0x00,0x00,0xac,0x51, 0x00,0x00,0x47,0x50,0x00,0x00,0x6e,0x6f,0x00,0x00,0xce,0x98,0x00,0x00,0x41,0x6d,0x00,0x00,0x0f,0x61, 0x00,0x00,0xc9,0x51,0x00,0x00,0x14,0x6c,0x00,0x00,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x61, 0x00,0x00,0x40,0x62,0x00,0x00,0x00,0x8a,0x00,0x00,0x59,0x65,0x8e,0x4e,0x50,0x4e,0x00,0x00,0x8e,0x4e, 0x00,0x00,0x45,0x5c,0x00,0x00,0x3a,0x79,0x00,0x00,0x6c,0x51,0x00,0x00,0xee,0x76,0x00,0x00,0xa1,0x7b, 0x06,0x74,0x8e,0x4e,0x0d,0x67,0xa1,0x52,0x4b,0x4e,0x2d,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa4,0x5b, 0x00,0x00,0xdf,0x98,0xbe,0x96,0x89,0x5b,0x00,0x00,0x77,0x51,0x00,0x00,0xa4,0x5b,0x7c,0x69,0x00,0x00, 0xab,0x5b,0x00,0x00,0xdf,0x98,0x00,0x00,0xdf,0x98,0x0d,0x4e,0x89,0x5b,0x00,0x00,0x8a,0x5e,0x00,0x00, 0x0d,0x4e,0x89,0x5b,0x2d,0x5e,0x00,0x00,0xeb,0x82,0x95,0x67,0x57,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc9,0x89,0x00,0x00,0x0b,0x77,0x00,0x00,0x00,0x8a,0xc2,0x89,0x72,0x82,0x00,0x00,0xc8,0x54,0x14,0x5c, 0x00,0x00,0x85,0x96,0xbf,0x53,0x00,0x00,0x85,0x96,0x00,0x00,0x08,0x54,0xf0,0x53,0x00,0x00,0x8c,0x9a, 0x00,0x00,0x03,0x5e,0xe5,0x67,0x14,0x5c,0x21,0x95,0x2f,0x4f,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00, 0x03,0x5e,0xe5,0x67,0x14,0x5c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x87,0x59, 0x00,0x00,0xba,0x4e,0x00,0x00,0x00,0x8a,0x00,0x00,0xd6,0x7c,0x00,0x00,0xcd,0x6b,0x00,0x00,0x0d,0x4e, 0x4c,0x65,0x17,0x4f,0x00,0x00,0x00,0x8a,0x11,0x5c,0xed,0x8b,0x00,0x00,0x45,0x5c,0x00,0x00,0x34,0x59, 0x3f,0x65,0xbb,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x5b,0x00,0x00,0x06,0x00,0x00,0x00,0xe5,0x5b, 0x00,0x00,0xe5,0x5b,0xe0,0x65,0xe0,0x51,0x00,0x00,0xe5,0x5b,0xef,0x53,0x70,0x65,0x00,0x00,0x3d,0x84, 0x00,0x00,0xe5,0x82,0x68,0x66,0x1f,0x66,0x00,0x00,0xd3,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x65,0x68,0x51,0x67,0x00,0x00,0xcc,0x91,0x00,0x00,0x34,0x59,0x00,0x00,0x65,0x68,0x00,0x00, 0xb9,0x8f,0x00,0x00,0x76,0x98,0x00,0x00,0x1c,0x4e,0x00,0x00,0x39,0x68,0x61,0x4e,0x00,0x00,0x50,0x5b, 0xe3,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0x65,0x6b,0x00,0x00,0x3f,0x62,0x00,0x00,0x65,0x6b,0x47,0x95, 0x00,0x00,0xfd,0x56,0x00,0x00,0x4b,0x5c,0x00,0x00,0x06,0x00,0x00,0x00,0x87,0x5b,0x00,0x00,0x9a,0x4e, 0x00,0x00,0x03,0x74,0x00,0x00,0x9b,0x5c,0x00,0x00,0x9b,0x5c,0x1f,0x96,0x00,0x00,0xbd,0x87,0x00,0x00, 0x0a,0x00,0x00,0x00,0x1f,0x57,0xf8,0x5b,0xd1,0x91,0x00,0x00,0x65,0x6b,0xbe,0x96,0x4c,0x88,0x00,0x00, 0x34,0x59,0x00,0x00,0x1f,0x57,0x00,0x00,0x49,0x83,0x0d,0x4e,0x1f,0x75,0x00,0x00,0x65,0x6b,0x0d,0x4e, 0xbb,0x79,0x00,0x00,0xe9,0x6e,0x00,0x00,0x65,0x6b,0x0d,0x4e,0xa9,0x8b,0x00,0x00,0x1f,0x57,0xc5,0x5f, 0x89,0x4e,0x00,0x00,0xf8,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0xb9,0x65,0x00,0x00, 0x61,0x8c,0x00,0x00,0xdd,0x8b,0x00,0x00,0x4b,0x62,0x00,0x00,0x16,0x59,0x00,0x00,0x94,0x5e,0x00,0x00, 0xd4,0x6b,0x00,0x00,0x85,0x5f,0x00,0x00,0x97,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x5e,0x00,0x00, 0x62,0x96,0x00,0x00,0xcc,0x91,0x00,0x00,0xc2,0x89,0x00,0x00,0xe7,0x50,0x00,0x00,0x93,0x5e,0x00,0x00, 0xa7,0x4e,0x00,0x00,0xa1,0x7b,0x1a,0x4f,0x00,0x00,0x61,0x57,0x00,0x00,0x9f,0x6c,0x61,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x7e,0x62,0x00,0x00,0x42,0x6c,0x00,0x00,0x38,0x5e,0x00,0x00,0xc5,0x89,0x00,0x00, 0xdf,0x79,0x00,0x00,0x45,0x88,0xcb,0x6e,0x8b,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0x95,0x5e,0x00,0x00, 0xbf,0x8b,0x00,0x00,0x1d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x81,0x00,0x00,0x39,0x5f,0x00,0x00, 0x14,0x6f,0x00,0x00,0x2a,0x82,0x00,0x00,0x11,0x54,0x00,0x00,0x08,0x5e,0x00,0x00,0x38,0x6e,0x00,0x00, 0xa5,0x62,0x00,0x00,0x6b,0x70,0x22,0x7d,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x54, 0x00,0x00,0x69,0x96,0x00,0x00,0xf8,0x53,0x00,0x00,0x49,0x51,0x00,0x00,0x69,0x96,0x1a,0x4e,0x00,0x00, 0x71,0x5c,0xf3,0x77,0x00,0x00,0x71,0x5c,0x00,0x00,0x1f,0x66,0x00,0x00,0x63,0x88,0x00,0x00,0xc8,0x7e, 0x63,0x6b,0xdd,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x95,0x00,0x00,0x01,0x95,0x00,0x00,0x62,0x97, 0x00,0x00,0x58,0x5b,0x00,0x00,0xed,0x95,0x0f,0x5f,0x00,0x00,0x76,0x98,0x00,0x00,0x40,0x67,0x00,0x00, 0xfa,0x5e,0x00,0x00,0xc5,0x88,0x00,0x00,0x35,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x62,0x00,0x00, 0xfb,0x51,0x00,0x00,0x0b,0x7a,0x00,0x00,0xbe,0x7c,0x00,0x00,0xbf,0x7e,0x00,0x00,0x91,0x98,0x00,0x00, 0x4b,0x62,0xa7,0x5e,0x00,0x00,0xad,0x7b,0x00,0x00,0x35,0x75,0x00,0x00,0xe8,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x65,0x67,0x00,0x00,0xd1,0x8f,0x00,0x00,0x9b,0x51,0x00,0x00,0x81,0x89,0x00,0x00,0x86,0x98, 0x00,0x00,0xeb,0x58,0x00,0x00,0xe1,0x4f,0x06,0x5c,0x91,0x75,0x00,0x00,0xc3,0x5f,0xd4,0x6b,0xc3,0x5f, 0x00,0x00,0x05,0x5e,0x00,0x00,0x9b,0x51,0xa7,0x7e,0x00,0x00,0x09,0x00,0x00,0x00,0xdf,0x8f,0x00,0x00, 0x0f,0x6c,0xbf,0x53,0x00,0x00,0xdf,0x8f,0x6d,0x60,0x00,0x00,0x81,0x72,0xbf,0x53,0x00,0x00,0x0f,0x6c, 0x00,0x00,0x98,0x5b,0x00,0x00,0x81,0x72,0x00,0x00,0x2d,0x7f,0x50,0x5b,0x00,0x00,0x2d,0x7f,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcd,0x91,0x00,0x00,0x25,0x4e,0x00,0x00,0x6c,0x65,0x00,0x00,0x05,0x80,0x00,0x00, 0x35,0x8d,0x00,0x00,0x07,0x5d,0x00,0x00,0xab,0x4e,0x00,0x00,0xf0,0x79,0x00,0x00,0x5b,0x4f,0x00,0x00, 0xdc,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xc4,0x7e,0x00,0x00,0x3a,0x53,0x00,0x00, 0x66,0x5b,0x00,0x00,0xd0,0x59,0x00,0x00,0x45,0x5e,0x00,0x00,0xf4,0x8b,0x00,0x00,0x69,0x5b,0x00,0x00, 0x8b,0x57,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x65,0x00,0x00,0x74,0x5e,0x00,0x00, 0xcf,0x91,0x00,0x00,0x73,0x59,0x00,0x00,0x8e,0x4e,0x00,0x00,0xc1,0x89,0x00,0x00,0xb8,0x8b,0x00,0x00, 0x70,0x65,0x11,0x6c,0xcf,0x65,0x00,0x00,0x3f,0x51,0x00,0x00,0x06,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3c,0x68,0x00,0x00,0x0e,0x54,0x00,0x00,0x49,0x7b,0x00,0x00,0x5e,0x86,0x11,0x62,0xc8,0x8b,0x00,0x00, 0xac,0x51,0x00,0x00,0xf9,0x66,0x00,0x00,0x33,0x80,0x00,0x00,0xc5,0x96,0x00,0x00,0xb7,0x5f,0x00,0x00, 0x65,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xaf,0x65,0x93,0x5e,0xd2,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0x10,0x95,0x00,0x00,0xef,0x7a,0x00,0x00,0x01,0x96,0x00,0x00,0xeb,0x53,0x00,0x00,0x00,0x52,0x00,0x00, 0xf0,0x5c,0x00,0x00,0x99,0x6c,0x80,0x54,0x00,0x00,0xeb,0x53,0xf0,0x58,0x00,0x00,0x16,0x5c,0x00,0x00, 0x01,0x96,0x17,0x52,0x9b,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x57,0x3d,0x84,0x9a,0x5b,0x00,0x00, 0xc3,0x57,0x00,0x00,0x1f,0x57,0x00,0x00,0xba,0x80,0xc5,0x75,0x00,0x00,0x16,0x4e,0x00,0x00,0x01,0x5c, 0x00,0x00,0xba,0x80,0x00,0x00,0xb3,0x52,0x00,0x00,0xa8,0x87,0x00,0x00,0xa2,0x57,0x00,0x00,0x0a,0x00, 0x00,0x00,0x2a,0x67,0x00,0x00,0x14,0x4e,0x00,0x00,0x66,0x4e,0x00,0x00,0xd7,0x5f,0x00,0x00,0x87,0x65, 0x00,0x00,0x66,0x6b,0x00,0x00,0xc1,0x54,0x00,0x00,0xc5,0x96,0x00,0x00,0xc1,0x54,0x51,0x7f,0x00,0x00, 0xb9,0x65,0x9d,0x5b,0x51,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0x1c,0x5c,0x00,0x00,0x3f,0x51,0x00,0x00, 0x09,0x00,0x00,0x00,0xd5,0x8b,0x00,0x00,0x1d,0x5c,0x00,0x00,0xd5,0x8b,0x27,0x60,0x00,0x00,0x9c,0x9c, 0x05,0x80,0x00,0x00,0xb0,0x65,0x00,0x00,0xd7,0x53,0x00,0x00,0x0e,0x9f,0x00,0x4e,0x14,0x81,0x00,0x00, 0x3d,0x5c,0xc3,0x5f,0x78,0x91,0x00,0x00,0x9c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x51,0x00,0x00, 0x3a,0x4e,0x00,0x00,0x76,0x51,0x2f,0x66,0x00,0x00,0x87,0x65,0xfe,0x56,0xaf,0x65,0x00,0x00,0x1b,0x6d, 0x61,0x53,0x00,0x00,0x69,0x72,0x00,0x00,0xaa,0x52,0xaf,0x65,0x00,0x00,0xb3,0x7e,0xaf,0x65,0x00,0x00, 0xbe,0x8f,0x00,0x00,0x29,0x52,0x7f,0x89,0xaf,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x8e,0x50,0x5b, 0x00,0x00,0x09,0x00,0x00,0x00,0x1c,0x82,0x00,0x00,0xfd,0x90,0x3a,0x53,0x00,0x00,0x71,0x5c,0x00,0x00, 0xbb,0x6c,0xb3,0x6c,0x00,0x00,0xfd,0x90,0x00,0x00,0xbb,0x6c,0xb3,0x6c,0x51,0x67,0x00,0x00,0x29,0x59, 0x1c,0x82,0xe5,0x65,0x00,0x00,0xbb,0x6c,0xb3,0x6c,0x51,0x67,0xba,0x4e,0x00,0x00,0x50,0x5b,0x25,0x84, 0x51,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x61,0x00,0x00,0xbb,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2f,0x66,0x00,0x00,0x1a,0x4e,0x00,0x00,0x97,0x7b,0x00,0x00,0x81,0x89,0x00,0x00,0x64,0x6b,0x00,0x00, 0x3b,0x53,0x00,0x00,0x4c,0x80,0x00,0x00,0x2f,0x66,0xf4,0x8b,0x00,0x00,0xca,0x8b,0x00,0x00,0xfb,0x8b, 0x00,0x00,0x01,0x00,0x00,0x00,0x2c,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0xc0,0x68, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x57,0x57,0x00,0x00,0x91,0x65,0x00,0x00,0xb8,0x9a,0x00,0x00,0x96,0x99, 0x00,0x00,0xab,0x8e,0x00,0x00,0xf5,0x50,0x00,0x00,0x90,0x6e,0x00,0x00,0x05,0x00,0x00,0x00,0x0f,0x6c, 0x00,0x00,0x7e,0x6e,0x00,0x00,0x7d,0x6f,0x84,0x55,0x00,0x00,0x21,0x58,0xe8,0x5b,0x51,0x67,0x00,0x00, 0x3c,0x7a,0x5e,0x57,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xf8,0x5b,0x00,0x00,0xa6,0x5e,0x00,0x00, 0x01,0x78,0x00,0x00,0x50,0x5b,0x00,0x00,0x6b,0x51,0x00,0x00,0xc4,0x89,0x5c,0x4f,0xfe,0x56,0x00,0x00, 0x4d,0x72,0x00,0x00,0xa8,0x9a,0x00,0x00,0xc4,0x89,0x00,0x00,0x29,0x7f,0x00,0x00,0x03,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0xa8,0x9a,0x00,0x00,0xe8,0x95,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x65, 0x29,0x52,0x9a,0x4e,0x00,0x00,0x9b,0x73,0x00,0x00,0xca,0x6c,0x14,0x5c,0x00,0x00,0x4b,0x51,0x00,0x00, 0x4b,0x51,0xee,0x68,0x00,0x00,0x14,0x5c,0x00,0x00,0xaf,0x65,0x00,0x00,0x14,0x5c,0xee,0x68,0x00,0x00, 0x4b,0x51,0x7e,0x67,0x00,0x00,0xa0,0x52,0xc9,0x62,0xdc,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x7b, 0x00,0x00,0xeb,0x5f,0x00,0x00,0xcf,0x91,0x00,0x00,0xef,0x53,0xfd,0x80,0x00,0x00,0xe9,0x65,0x00,0x00, 0x9b,0x52,0x00,0x00,0x34,0x59,0x00,0x00,0xc5,0x60,0x00,0x00,0x82,0x59,0xba,0x4e,0x0f,0x61,0x00,0x00, 0x4c,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x76,0x00,0x00,0xf4,0x5d,0x00,0x00,0xf0,0x58,0x00,0x00, 0x14,0x6c,0x00,0x00,0x8f,0x96,0x00,0x00,0xe8,0x90,0x00,0x00,0xf7,0x53,0x00,0x00,0x02,0x5e,0x00,0x00, 0xff,0x77,0x93,0x5e,0x00,0x00,0x3e,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x6d,0x00,0x00,0x20,0x7d, 0x00,0x00,0x53,0x90,0x00,0x00,0xd2,0x6b,0xc7,0x75,0x00,0x00,0x78,0x91,0x00,0x00,0x03,0x5e,0x00,0x00, 0xef,0x8d,0x00,0x00,0x3f,0x5c,0x00,0x00,0x91,0x98,0x00,0x00,0x0d,0x4e,0x7f,0x6e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7f,0x95,0x00,0x00,0x62,0x97,0x00,0x00,0xbf,0x52,0x00,0x00,0xe8,0x90,0x00,0x00,0x50,0x96, 0x00,0x00,0x30,0x57,0x00,0x00,0x50,0x96,0x27,0x60,0x00,0x00,0xa7,0x7e,0x00,0x00,0xdf,0x57,0x51,0x7f, 0x00,0x00,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x80,0x00,0x00,0x41,0x5c,0x00,0x00,0xa0,0x98, 0x41,0x5c,0xa0,0x98,0x00,0x00,0xdd,0x8b,0x00,0x00,0x3c,0x77,0x00,0x00,0x11,0x6c,0x00,0x00,0xda,0x6e, 0x3f,0x5c,0x41,0x6d,0x00,0x00,0xf0,0x58,0x00,0x00,0x73,0x54,0x00,0x00,0x11,0x6c,0xec,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0x21,0x6b,0x00,0x00,0x42,0x5c,0x00,0x00,0xfa,0x51,0x0d,0x4e, 0x77,0x7a,0x00,0x00,0xa7,0x7e,0x00,0x00,0x70,0x65,0x00,0x00,0x21,0x6b,0x1f,0x61,0x00,0x00,0x42,0x5c, 0xe0,0x53,0xe0,0x53,0x00,0x00,0xe0,0x53,0x00,0x00,0x7f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x6c, 0x00,0x00,0x4f,0x4f,0x00,0x00,0x36,0x71,0x00,0x00,0xeb,0x58,0x00,0x00,0xd8,0x9a,0x0d,0x4e,0x0b,0x4e, 0x00,0x00,0x1a,0x59,0x00,0x00,0xd4,0x59,0x1a,0x4f,0x00,0x00,0xb6,0x5b,0x00,0x00,0x4f,0x4f,0xc1,0x8b, 0x00,0x00,0x11,0x6c,0x7c,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x67,0x00,0x00,0x07,0x63,0xef,0x53, 0x70,0x65,0x00,0x00,0xb1,0x8f,0x00,0x00,0x9f,0x53,0x00,0x00,0xce,0x4e,0x00,0x00,0x9d,0x81,0x00,0x00, 0x45,0x5c,0x00,0x00,0x38,0x4f,0x00,0x00,0xf2,0x66,0x00,0x00,0x0a,0x5c,0x00,0x00,0x02,0x00,0x00,0x00, 0x03,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xe1,0x6e,0x00,0x00, 0x2d,0x4e,0x00,0x00,0x1f,0x67,0x00,0x00,0x4a,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x98,0x00,0x00, 0x50,0x5b,0x00,0x00,0x85,0x51,0x00,0x00,0xcc,0x91,0x00,0x00,0x90,0x6a,0x00,0x00,0x3b,0x4e,0x00,0x00, 0x0e,0x54,0x00,0x00,0x62,0x97,0x00,0x00,0x16,0x59,0x00,0x00,0x0a,0x81,0x00,0x00,0x02,0x00,0x00,0x00, 0x1d,0x4e,0x00,0x00,0x1d,0x4e,0xec,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0xf3,0x58,0xce,0x90,0x00,0x00, 0xfd,0x5f,0x00,0x00,0x0f,0x61,0x00,0x00,0xb5,0x86,0x82,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x5e, 0x00,0x00,0x3d,0x85,0x00,0x00,0x9c,0x96,0x00,0x00,0xce,0x98,0x00,0x00,0x1c,0x4e,0x00,0x00,0x3d,0x85, 0xe8,0x95,0x00,0x00,0x4f,0x4f,0x00,0x00,0x6f,0x60,0x00,0x00,0x1c,0x4e,0xbf,0x53,0x00,0x00,0xdd,0x4f, 0x00,0x00,0x01,0x00,0x00,0x00,0xd5,0x75,0x00,0x00,0x02,0x00,0x00,0x00,0x51,0x5c,0x00,0x00,0xae,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x3a,0x79,0x00,0x00,0xc8,0x89,0x00,0x00,0xb0,0x73, 0x00,0x00,0x1b,0x67,0x00,0x00,0xfa,0x51,0x00,0x00,0x1a,0x4f,0x00,0x00,0x85,0x53,0x00,0x00,0x3a,0x53, 0x00,0x00,0xc1,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0x4e,0x5c,0x00,0x00,0x3f,0x5c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x8e,0x4e,0x00,0x00,0x27,0x60,0x00,0x00,0x9e,0x5b,0x00,0x00,0x30,0x57,0x00,0x00,0x75,0x70, 0x00,0x00,0x0b,0x4e,0x00,0x00,0xbc,0x65,0x00,0x00,0x30,0x57,0x16,0x53,0x00,0x00,0xf8,0x76,0x00,0x00, 0x0f,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x67,0x00,0x00,0xb0,0x5b,0x00,0x00,0xb0,0x5b,0x3a,0x57, 0x00,0x00,0x2b,0x59,0x00,0x00,0x00,0x52,0x00,0x00,0xb0,0x5b,0x82,0x53,0x00,0x00,0xb0,0x5b,0xcf,0x91, 0x00,0x00,0x40,0x67,0x48,0x68,0x00,0x00,0xce,0x57,0x00,0x00,0x2e,0x62,0x00,0x00,0x0a,0x00,0x00,0x00, 0x61,0x5c,0x00,0x00,0x21,0x6b,0x00,0x00,0xc1,0x89,0x0d,0x4e,0x9c,0x9c,0x00,0x00,0x81,0x79,0x0d,0x4e, 0x62,0x6b,0x00,0x00,0xd5,0x8b,0x0d,0x4e,0x3d,0x72,0x00,0x00,0x81,0x79,0x0d,0x4e,0xdd,0x7e,0x00,0x00, 0x59,0x65,0x0d,0x4e,0x39,0x65,0x00,0x00,0x18,0x62,0x61,0x5c,0x25,0x8d,0x00,0x00,0x25,0x8d,0x61,0x5c, 0x18,0x62,0x00,0x00,0x59,0x65,0x0d,0x4e,0x39,0x65,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88, 0x00,0x00,0x4c,0x80,0x00,0x00,0x86,0x53,0x00,0x00,0xa6,0x7e,0x00,0x00,0xb0,0x65,0x00,0x00,0x26,0x5e, 0x00,0x00,0x26,0x5e,0x0f,0x5f,0x00,0x00,0x4c,0x80,0x3d,0x5c,0x23,0x8d,0x00,0x00,0x23,0x8d,0x00,0x00, 0x86,0x53,0x68,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0xe8,0x95,0x00,0x00,0x75,0x51, 0x00,0x00,0x0c,0x66,0x00,0x00,0xcc,0x91,0x00,0x00,0x70,0x51,0xff,0x77,0x00,0x00,0x30,0x75,0x00,0x00, 0xaa,0x6e,0x00,0x00,0xa6,0x57,0x00,0x00,0x0c,0x66,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x4e, 0x00,0x00,0x7f,0x89,0x00,0x00,0x1c,0x4e,0x01,0x77,0x00,0x00,0x7f,0x89,0x01,0x77,0x00,0x00,0x3a,0x53, 0x00,0x00,0xe8,0x5b,0x00,0x00,0xc9,0x6c,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x4e,0x00,0x00,0x6f,0x83, 0x00,0x00,0x02,0x00,0x00,0x00,0xcb,0x7a,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x67, 0x00,0x00,0x2b,0x67,0x00,0x00,0x70,0x65,0x00,0x00,0x9d,0x5b,0x00,0x00,0x3e,0x5c,0x00,0x00,0x81,0x5c, 0x74,0x5e,0x74,0x5e,0x00,0x00,0x08,0x67,0x0d,0x4e,0x76,0x99,0xba,0x4e,0x00,0x00,0x81,0x5c,0xfb,0x6d, 0xd1,0x91,0x00,0x00,0x1d,0x52,0x00,0x00,0xee,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x80,0x00,0x00, 0x62,0x6b,0x00,0x00,0x09,0x67,0x64,0x6b,0x06,0x74,0x00,0x00,0x62,0x65,0x00,0x00,0xe0,0x56,0x78,0x79, 0x8f,0x79,0x7f,0x90,0x8b,0x8d,0x4b,0x4e,0x00,0x00,0x0d,0x4e,0x00,0x00,0x99,0x65,0x00,0x00,0x0d,0x4e, 0xe5,0x77,0x00,0x00,0x5e,0x97,0x00,0x00,0x46,0x4f,0x00,0x00,0x03,0x00,0x00,0x00,0x8c,0x5c,0xef,0x53, 0x71,0x53,0x00,0x00,0x8c,0x5c,0x00,0x00,0xaa,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00, 0x1c,0x96,0xbf,0x53,0x00,0x00,0x1c,0x96,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0xc6,0x89,0x00,0x00, 0x5f,0x6c,0x00,0x00,0x8b,0x73,0x00,0x00,0x5f,0x6c,0x65,0x68,0x00,0x00,0x1c,0x96,0x27,0x59,0x66,0x5b, 0x00,0x00,0xef,0x8d,0x6f,0x70,0x00,0x00,0x08,0x00,0x00,0x00,0xaa,0x6e,0x00,0x00,0xaa,0x6e,0x02,0x5e, 0x00,0x00,0x51,0x67,0x00,0x00,0xe9,0x5d,0xbf,0x53,0x00,0x00,0xe9,0x5d,0x00,0x00,0xc2,0x5b,0x00,0x00, 0xc2,0x53,0x00,0x00,0x6d,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8d,0xe3,0x53,0x00,0x00,0xef,0x8d, 0x00,0x00,0xb3,0x6c,0x00,0x00,0x00,0x5f,0x00,0x00,0x53,0x90,0x00,0x00,0x14,0x6c,0x00,0x00,0xe3,0x53, 0x00,0x00,0x50,0x5b,0x00,0x00,0xef,0x8d,0xb3,0x6c,0x47,0x95,0x00,0x00,0xb3,0x6c,0x47,0x95,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0xad,0x4e,0x00,0x00,0x76,0x98,0x00,0x00,0x47,0x95,0x00,0x00, 0xe8,0x54,0x00,0x00,0x4d,0x52,0x00,0x00,0xa6,0x53,0x00,0x00,0x4d,0x4f,0x70,0x65,0x00,0x00,0x4c,0x4e, 0x47,0x95,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x2f,0x6e,0x00,0x00,0x96,0x99,0x71,0x5c, 0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x5c,0x6b,0x53,0x47,0x95,0x00,0x00,0x08,0x00,0x00,0x00,0x71,0x5c, 0x00,0x00,0x8b,0x76,0xbf,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0x8b,0x76,0x00,0x00,0x71,0x5c,0x3a,0x53, 0x00,0x00,0xdf,0x70,0x00,0x00,0x71,0x5c,0x34,0x59,0x00,0x00,0x49,0x51,0x24,0x6c,0x32,0x6c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x7f,0x5c,0x00,0x00,0xfd,0x56,0x00,0x00,0x01,0x79,0x00,0x00,0x85,0x51,0x00,0x00, 0xfe,0x94,0x00,0x00,0x11,0x6c,0x00,0x00,0x16,0x59,0x00,0x00,0x3b,0x4e,0x00,0x00,0x39,0x68,0xbf,0x53, 0x00,0x00,0x89,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x9a,0x5c,0x00,0x00,0x9a,0x5c,0xbf,0x53,0x00,0x00, 0x02,0x00,0x00,0x00,0xe3,0x5c,0x00,0x00,0xa7,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x77,0x00,0x00, 0x7e,0x67,0x00,0x00,0x46,0x6d,0x00,0x00,0x4b,0x62,0xbf,0x53,0x00,0x00,0x42,0x5c,0x00,0x00,0x3b,0x75, 0x00,0x00,0xb6,0x6e,0x00,0x00,0x1f,0x57,0x00,0x00,0x30,0x75,0x00,0x00,0x1e,0x6d,0x00,0x00,0x06,0x00, 0x00,0x00,0x89,0x73,0x00,0x00,0xa9,0x5c,0x00,0x00,0xa9,0x5c,0x89,0x73,0x00,0x00,0xa9,0x5c,0xbf,0x53, 0x00,0x00,0x71,0x5c,0x51,0x67,0x00,0x00,0xa9,0x5c,0xe1,0x6e,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53, 0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x53,0x00,0x00,0xb3,0x6f, 0x00,0x00,0x57,0x53,0x1a,0x90,0x00,0x00,0x0a,0x4e,0x00,0x00,0x1c,0x4e,0x00,0x00,0x57,0x53,0x27,0x59, 0x66,0x5b,0x00,0x00,0x1c,0x4e,0x3a,0x53,0x00,0x00,0x57,0x53,0x3e,0x6d,0x00,0x00,0x61,0x57,0x00,0x00, 0x30,0x57,0x00,0x00,0x06,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0x97,0x5b, 0x00,0x00,0xb3,0x5c,0x3a,0x53,0x00,0x00,0x99,0x5e,0x00,0x00,0xb3,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x33,0x96,0x00,0x00,0x36,0x72,0x00,0x00,0xcd,0x6b,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xde,0x98, 0x00,0x00,0x93,0x9e,0x3a,0x53,0x00,0x00,0x36,0x72,0xcd,0x6b,0x00,0x00,0x51,0x67,0x00,0x00,0x33,0x96, 0xbf,0x53,0x00,0x00,0x93,0x9e,0x71,0x5c,0x00,0x00,0x03,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x71,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x8f,0x00,0x00,0x0a,0x4e,0x00,0x00,0x30,0x75, 0x00,0x00,0xbf,0x7e,0x00,0x00,0xfa,0x57,0x00,0x00,0x32,0x96,0x00,0x00,0xe9,0x6e,0x00,0x00,0x24,0x58, 0x00,0x00,0xfc,0x5b,0x00,0x00,0x61,0x57,0x00,0x00,0x03,0x00,0x00,0x00,0x36,0x71,0x0d,0x4e,0xa8,0x52, 0x00,0x00,0x36,0x71,0x00,0x00,0xcd,0x5d,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x57,0x00,0x00,0xce,0x57, 0x3a,0x53,0x00,0x00,0x03,0x00,0x00,0x00,0xcc,0x91,0x9b,0x5c,0x00,0x00,0xcc,0x91,0x00,0x00,0xc7,0x5c, 0x18,0x5a,0xf9,0x60,0x00,0x00,0x05,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0x67,0x52, 0x00,0x00,0xe0,0x8b,0x00,0x00,0xa4,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0x37,0x8c,0x00,0x00,0x7e,0x6e, 0x00,0x00,0xe3,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0x71,0x5c,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00, 0x2d,0x4e,0x00,0x00,0x71,0x5c,0x47,0x95,0x00,0x00,0x5f,0x6c,0xba,0x4e,0x00,0x00,0x03,0x00,0x00,0x00, 0x58,0x5d,0x00,0x00,0x58,0x5d,0x81,0x5c,0x08,0x67,0x00,0x00,0xc6,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x09,0x77,0x71,0x5c,0x00,0x00,0x09,0x77,0x00,0x00,0x71,0x5c,0x00,0x00,0x4b,0x5d,0x00,0x00,0x09,0x77, 0x71,0x5c,0x02,0x5e,0x00,0x00,0x4b,0x5d,0x71,0x5c,0x00,0x00,0xb9,0x8f,0xbf,0x53,0x00,0x00,0xb9,0x8f, 0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0xb9,0x8f,0x5d,0x5f,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53, 0x00,0x00,0x01,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x08,0x00,0x00,0x00,0xc1,0x58,0x00,0x00,0xd4,0x62, 0x00,0x00,0xa9,0x5c,0x00,0x00,0x90,0x5c,0x47,0x95,0x00,0x00,0x3d,0x4e,0x00,0x00,0x36,0x71,0x00,0x00, 0xd4,0x62,0xb7,0x51,0xfb,0x5c,0x00,0x00,0xcb,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4f,0x00,0x00, 0x3c,0x50,0x00,0x00,0xde,0x56,0xef,0x8d,0x6c,0x8f,0x00,0x00,0x37,0x8c,0x00,0x00,0x76,0x98,0x00,0x00, 0xf0,0x5c,0x00,0x00,0x71,0x5c,0x00,0x00,0xe6,0x5c,0x00,0x00,0xe5,0x54,0x00,0x00,0x6f,0x66,0x00,0x00, 0x08,0x00,0x00,0x00,0xad,0x5c,0x00,0x00,0xed,0x5c,0x00,0x00,0x25,0x60,0x00,0x00,0xd4,0x62,0x00,0x00, 0xc0,0x79,0x00,0x00,0x1f,0x4f,0x00,0x00,0x89,0x53,0x00,0x00,0xd4,0x62,0xc0,0x79,0x38,0x90,0x00,0x00, 0x01,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x02,0x00,0x00,0x00,0x76,0x98,0x61,0x4e,0x00,0x00,0x76,0x98, 0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0x3a,0x53,0x00,0x00,0x04,0x00,0x00,0x00, 0xd2,0x5c,0x00,0x00,0xd2,0x5c,0x3a,0x53,0x00,0x00,0xd2,0x5c,0x9b,0x5c,0x00,0x00,0xad,0x5c,0xa4,0x7f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x62,0x00,0x00,0xd8,0x9a,0x00,0x00,0x1a,0x5c,0x00,0x00,0x0e,0x66, 0x00,0x00,0x87,0x65,0xe8,0x95,0x00,0x00,0x6c,0x65,0x00,0x00,0x87,0x65,0x00,0x00,0xe1,0x4f,0x00,0x00, 0x87,0x65,0x3a,0x53,0x00,0x00,0x6f,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x96,0x5c,0x00,0x00,0x02,0x00, 0x00,0x00,0xf2,0x66,0x00,0x00,0x71,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x6c,0x43,0x51,0x00,0x00, 0xd0,0x67,0x00,0x00,0x04,0x54,0x84,0x5e,0x61,0x4e,0x00,0x00,0x6c,0x5d,0x00,0x00,0x65,0x50,0x00,0x00, 0xcd,0x5d,0x00,0x00,0xa2,0x98,0x00,0x00,0x2d,0x57,0x0f,0x59,0x00,0x00,0x84,0x5e,0x61,0x4e,0x00,0x00, 0x6c,0x9a,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x58,0x00,0x00,0x93,0x58,0x00,0x00,0xce,0x57, 0x00,0x00,0xe3,0x53,0x00,0x00,0xce,0x57,0x47,0x95,0x00,0x00,0xe3,0x53,0x51,0x67,0x00,0x00,0x0b,0x4e, 0x00,0x00,0xde,0x5d,0x00,0x00,0x76,0x98,0x00,0x00,0xb9,0x8f,0x00,0x00,0x03,0x00,0x00,0x00,0x77,0x8d, 0x00,0x00,0x30,0x57,0x0c,0x80,0x77,0x8d,0x00,0x00,0xcb,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x83,0x6e,0x00,0x00,0xd8,0x76,0x00,0x00,0x4c,0x58,0x00,0x00,0x4f,0x57, 0x00,0x00,0xc2,0x88,0x00,0x00,0xe3,0x89,0x00,0x00,0xb8,0x5c,0x00,0x00,0x0f,0x6f,0x00,0x00,0xd8,0x76, 0xba,0x8b,0x00,0x00,0xd1,0x6e,0x00,0x00,0x08,0x00,0x00,0x00,0xb0,0x65,0x00,0x00,0x32,0x97,0x34,0x59, 0xd2,0x89,0x00,0x00,0x2d,0x5d,0x00,0x00,0x36,0x71,0x00,0x00,0xae,0x4e,0x00,0x00,0xb2,0x52,0x00,0x00, 0x50,0x9f,0x00,0x00,0x74,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x5c,0x47,0x95,0x00,0x00,0x03,0x00, 0x00,0x00,0x1a,0x81,0x00,0x00,0xe5,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x3f,0x51,0x00,0x00,0x3d,0x5d,0x00,0x00,0x01,0x00,0x00,0x00,0x2d,0x4e,0x63,0x65,0xc6,0x96, 0x00,0x00,0x06,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xd7,0x6c,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00, 0xd7,0x6c,0xbf,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0xd7,0x6c,0x17,0x52,0x9b,0x5c,0x00,0x00,0x08,0x00, 0x00,0x00,0x65,0x51,0x00,0x00,0x65,0x51,0x0f,0x5f,0x00,0x00,0x57,0x59,0x00,0x00,0x08,0x54,0x53,0x4f, 0x00,0x00,0x3b,0x52,0x00,0x00,0x76,0x95,0x00,0x00,0xf7,0x74,0x00,0x00,0xdb,0x8f,0x00,0x00,0x01,0x00, 0x00,0x00,0x71,0x5c,0x00,0x00,0x09,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0xbf,0x53,0x00,0x00,0x33,0x96, 0x00,0x00,0x71,0x5c,0x11,0x5c,0x97,0x67,0xfa,0x5b,0x00,0x00,0x0e,0x66,0xbf,0x53,0x00,0x00,0x71,0x5c, 0xef,0x8d,0x00,0x00,0x5d,0x79,0xfa,0x5b,0x00,0x00,0x0e,0x66,0x00,0x00,0x71,0x5c,0x11,0x5c,0x97,0x67, 0x66,0x6b,0x2f,0x67,0x4c,0x80,0x1a,0x4e,0x66,0x5b,0x62,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0xcb,0x5c, 0x00,0x00,0x02,0x00,0x00,0x00,0xf0,0x5c,0x00,0x00,0xf0,0x5c,0x1f,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0xa9,0x5c,0x00,0x00,0x07,0x00,0x00,0x00,0xcd,0x5d,0x00,0x00,0xe8,0x5c,0x00,0x00,0x36,0x71,0x00,0x00, 0x71,0x5c,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0x36,0x71,0x79,0x5c,0xcb,0x7a,0x00,0x00,0x71,0x5c, 0x5d,0x5f,0xcf,0x65,0xde,0x56,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7f,0x89,0x00,0x00,0xdc,0x83,0x00,0x00,0x0e,0x5d,0x00,0x00,0x27,0x59,0x00,0x00,0x1d,0x8d,0x00,0x00, 0x99,0x6c,0x00,0x00,0x57,0x53,0x00,0x00,0x8e,0x82,0x00,0x00,0xcf,0x85,0xbf,0x7e,0x00,0x00,0x41,0x6d, 0x0d,0x4e,0x6f,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x95,0x00,0x00,0xcb,0x7a,0x00,0x00,0x3f,0x65, 0x9c,0x5e,0x00,0x00,0xd4,0x59,0x00,0x00,0x9c,0x5e,0x00,0x00,0x45,0x96,0x00,0x00,0xae,0x8b,0x58,0x54, 0x00,0x00,0xa7,0x7e,0x00,0x00,0xce,0x57,0x00,0x00,0x5e,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x90, 0x00,0x00,0x2a,0x82,0x00,0x00,0xc6,0x89,0x00,0x00,0xe5,0x67,0x00,0x00,0x66,0x8b,0x00,0x00,0x14,0x6f, 0x00,0x00,0xc6,0x89,0xc4,0x7e,0x00,0x00,0xc6,0x89,0x58,0x54,0x00,0x00,0xde,0x56,0x00,0x00,0x3b,0x90, 0x39,0x82,0x00,0x00,0x08,0x00,0x00,0x00,0x56,0x6e,0x00,0x00,0x74,0x7a,0x00,0x00,0x56,0x6e,0x02,0x5e, 0x00,0x00,0xb1,0x7b,0x00,0x00,0xbf,0x53,0x00,0x00,0x56,0x6e,0x66,0x5b,0x62,0x96,0x00,0x00,0x9f,0x7a, 0x00,0x00,0x56,0x6e,0x30,0x57,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x5c,0x4f,0x00,0x00,0x0b,0x7a, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x44,0x8d,0x00,0x00,0x77,0x51,0x00,0x00,0xba,0x4e,0x00,0x00,0x46,0x55, 0x00,0x00,0x82,0x53,0x00,0x00,0x7a,0x82,0x00,0x00,0x0b,0x7a,0x08,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf3,0x53,0x00,0x00,0x4b,0x62,0x00,0x00,0xa7,0x4f,0x00,0x00,0xb9,0x8f,0x00,0x00,0xfc,0x7f,0x00,0x00, 0x3e,0x6d,0x00,0x00,0x3c,0x77,0x00,0x00,0x7f,0x81,0x00,0x00,0x1a,0x81,0x00,0x00,0xcb,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4b,0x51,0x9b,0x52,0x00,0x00,0x08,0x54,0x00,0x00,0x99,0x59,0x00,0x00,0xb6,0x5b, 0xbf,0x53,0x00,0x00,0x47,0x90,0x00,0x00,0xcb,0x7a,0x0d,0x54,0xee,0x76,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x4b,0x62,0x00,0x00,0x87,0x59,0x00,0x00,0x1d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x59,0x00,0x00, 0x34,0x59,0x00,0x00,0x9d,0x98,0x00,0x00,0xba,0x4e,0x00,0x00,0xf9,0x87,0x00,0x00,0x8f,0x4e,0x00,0x00, 0x44,0x8d,0x00,0x00,0xf9,0x87,0xa7,0x5e,0x00,0x00,0x8b,0x57,0x00,0x00,0xcf,0x91,0x00,0x00,0x0a,0x00, 0x00,0x00,0xfa,0x56,0x00,0x00,0xd0,0x4f,0x00,0x00,0x49,0x4e,0x02,0x5e,0x00,0x00,0xd1,0x53,0x5a,0x51, 0x00,0x00,0x49,0x4e,0x00,0x00,0x9c,0x81,0x00,0x00,0x59,0x75,0xbf,0x53,0x00,0x00,0x43,0x4e,0xaf,0x65, 0x00,0x00,0xfa,0x56,0x87,0x73,0x00,0x00,0x59,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x5e,0x00,0x00, 0x96,0x59,0x8b,0x73,0x00,0x00,0x2f,0x67,0x00,0x00,0x71,0x5c,0x00,0x00,0x73,0x59,0x00,0x00,0x71,0x5c, 0xbf,0x53,0x00,0x00,0x46,0x5a,0x00,0x00,0x3b,0x53,0x00,0x00,0xaa,0x6e,0x00,0x00,0xaa,0x6e,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x8d,0x00,0x00,0x02,0x5f,0x00,0x00,0x0d,0x4e,0x1a,0x59,0x00,0x00, 0x2b,0x52,0x00,0x00,0x19,0x95,0x00,0x00,0x02,0x5f,0x16,0x53,0x00,0x00,0xf7,0x4e,0x00,0x00,0xb9,0x70, 0x00,0x00,0x9d,0x98,0x00,0x00,0x2b,0x52,0x16,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xfa,0x57,0x00,0x00, 0x0a,0x00,0x00,0x00,0xfb,0x4e,0x00,0x00,0xb9,0x65,0x00,0x00,0x40,0x62,0x0d,0x4e,0x32,0x6b,0x00,0x00, 0x11,0x4e,0x00,0x00,0x6f,0x53,0x00,0x00,0x49,0x91,0x00,0x00,0x85,0x51,0x70,0x91,0xfa,0x80,0x00,0x00, 0xf3,0x5d,0x00,0x00,0xa5,0x4e,0x00,0x00,0xc1,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x7e,0x00,0x00, 0x36,0x71,0x00,0x00,0x5a,0x5a,0x00,0x00,0x45,0x65,0x00,0x00,0xe5,0x77,0x00,0x00,0x5a,0x5a,0x05,0x80, 0x00,0x00,0x80,0x5f,0x00,0x00,0x09,0x67,0x00,0x00,0xe5,0x77,0x70,0x65,0x00,0x00,0xb3,0x51,0xaf,0x72, 0x00,0x00,0x03,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xc7,0x86,0x00,0x00,0x74,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7f,0x89,0x00,0x00,0xfa,0x57,0xaf,0x65,0x66,0x57,0x00,0x00,0xce,0x9e,0x00,0x00,0xf2,0x83, 0x79,0x72,0x00,0x00,0xd2,0x52,0xaf,0x65,0x66,0x57,0x00,0x00,0x3c,0x68,0xbe,0x8f,0x00,0x00,0xeb,0x58, 0x00,0x00,0x4b,0x51,0xb1,0x83,0x00,0x00,0xb9,0x65,0x00,0x00,0x14,0x5c,0x00,0x00,0x08,0x00,0x00,0x00, 0x53,0x90,0x00,0x00,0x50,0x5b,0x00,0x00,0x18,0x62,0x00,0x00,0xe3,0x53,0x00,0x00,0x04,0x5f,0x00,0x00, 0x2d,0x4e,0x00,0x00,0x50,0x5b,0xe3,0x53,0x00,0x00,0x60,0x6c,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0xee,0x5b,0x7e,0x6e,0x00,0x00,0x06,0x00,0x00,0x00,0x3c,0x5e,0x00,0x00,0x3c,0x5e,0xf1,0x82,0xc4,0x96, 0x00,0x00,0xb1,0x7b,0x2c,0x67,0x00,0x00,0xab,0x8e,0x00,0x00,0x3c,0x5e,0x7b,0x98,0x09,0x77,0x00,0x00, 0x15,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x57,0x00,0x00,0x11,0x6c,0x00,0x00,0xc8,0x76,0x87,0x73, 0x00,0x00,0x7f,0x95,0x00,0x00,0x07,0x00,0x00,0x00,0xcd,0x79,0x00,0x00,0x3c,0x50,0x00,0x00,0x46,0x55, 0x00,0x00,0x02,0x5e,0x00,0x00,0x62,0x97,0x00,0x00,0x36,0x52,0x00,0x00,0x2b,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3a,0x57,0x00,0x00,0x11,0x6c,0x00,0x00,0x3c,0x50,0x00,0x00,0x3a,0x57,0x16,0x53,0x00,0x00, 0xd4,0x59,0x00,0x00,0x7f,0x95,0x00,0x00,0x3f,0x65,0x9c,0x5e,0x00,0x00,0xc8,0x76,0x87,0x73,0x00,0x00, 0x3a,0x53,0x00,0x00,0x3f,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x5c,0x00,0x00,0xc0,0x4e,0x00,0x00, 0xbd,0x65,0x00,0x00,0xc9,0x62,0x00,0x00,0x6e,0x7f,0x00,0x00,0x17,0x67,0x00,0x00,0x81,0x9c,0x5e,0x58, 0x14,0x5c,0x00,0x00,0x26,0x4f,0x79,0x72,0x00,0x00,0xf7,0x96,0x00,0x00,0xe1,0x6e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe5,0x54,0x00,0x00,0x14,0x6c,0x00,0x00,0x70,0x53,0x00,0x00,0x05,0x95,0x00,0x00,0x9c,0x5e, 0x00,0x00,0x4d,0x62,0x00,0x00,0x4d,0x4f,0x00,0x00,0x46,0x54,0x86,0x4e,0x00,0x00,0xe5,0x54,0xec,0x4e, 0x00,0x00,0x30,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x82,0x00,0x00,0x03,0x5e,0x00,0x00,0x03,0x5e, 0x8b,0x97,0x00,0x00,0x39,0x82,0x5b,0x8d,0x00,0x00,0x7f,0x67,0x00,0x00,0x71,0x5f,0x00,0x00,0x06,0x5e, 0x00,0x00,0x39,0x82,0x1f,0x96,0x00,0x00,0x20,0x5f,0x51,0x7f,0x00,0x00,0x03,0x5e,0x8a,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x85,0x50,0x00,0x00,0x36,0x72,0x00,0x00,0x03,0x83,0x27,0x59,0x66,0x5b,0x00,0x00, 0x1f,0x75,0x00,0x00,0x44,0x51,0x00,0x00,0x44,0x8d,0x00,0x00,0x27,0x59,0x00,0x00,0x03,0x83,0x00,0x00, 0x7f,0x95,0x00,0x00,0xd0,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x1b,0x67,0x00,0x00,0x4a,0x81,0x00,0x00, 0xc9,0x62,0xcc,0x91,0x00,0x00,0x14,0x5c,0x00,0x00,0x79,0x72,0xd2,0x52,0x00,0x00,0x14,0x5c,0x7f,0x98, 0x00,0x00,0x4a,0x81,0xed,0x8b,0x00,0x00,0x3c,0x68,0xaf,0x65,0xbb,0x73,0x72,0x82,0x50,0x5b,0x00,0x00, 0xc9,0x62,0x00,0x00,0x80,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x55,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf7,0x7b,0x00,0x00,0xf7,0x53,0x00,0x00,0x37,0x62,0x00,0x00,0xee,0x76,0x00,0x00,0x55,0x53,0x00,0x00, 0x37,0x62,0x70,0x65,0x00,0x00,0x62,0x97,0x00,0x00,0xec,0x84,0x00,0x00,0xf7,0x7b,0x3a,0x53,0x00,0x00, 0x3f,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0xcf,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0x79,0x72,0xcc,0x91, 0x4b,0x51,0x00,0x00,0xb3,0x52,0x00,0x00,0x28,0x84,0x79,0x72,0x00,0x00,0xd1,0x91,0xee,0x68,0xc5,0x75, 0x00,0x00,0xd1,0x91,0xee,0x68,0x00,0x00,0xaf,0x65,0x61,0x53,0x00,0x00,0xaf,0x65,0x61,0x53,0x14,0x5c, 0x00,0x00,0x54,0x58,0x9a,0x4e,0x00,0x00,0xd1,0x91,0xee,0x68,0xc7,0x75,0x00,0x00,0x14,0x5c,0x6c,0x9a, 0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x87,0x65,0x00,0x00,0x28,0x67,0x3f,0x51,0x00,0x00, 0x92,0x64,0x57,0x7f,0x3c,0x5c,0xe6,0x8f,0x4d,0x52,0x66,0x4e,0x00,0x00,0x92,0x64,0x57,0x7f,0x3c,0x5c, 0xe6,0x8f,0x00,0x00,0x92,0x64,0x57,0x7f,0x3c,0x5c,0xe6,0x8f,0x0e,0x54,0x66,0x4e,0x00,0x00,0x0d,0x67, 0x00,0x00,0x28,0x67,0x3f,0x51,0x27,0x59,0x57,0x6c,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x55,0x5e,0x00,0x00,0x03,0x5e,0x00,0x00,0x85,0x51,0x00,0x00,0x04,0x00,0x00,0x00,0x66,0x4e,0x00,0x00, 0x3b,0x75,0x00,0x00,0xd1,0x91,0x00,0x00,0x09,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00, 0xfd,0x90,0x00,0x00,0x8b,0x73,0x00,0x00,0xfd,0x56,0x3b,0x4e,0x49,0x4e,0x00,0x00,0xca,0x91,0x00,0x00, 0x6a,0x8c,0x00,0x00,0x36,0x52,0x00,0x00,0x6f,0x66,0x00,0x00,0x01,0x4f,0x45,0x9e,0x00,0x00,0x75,0x96, 0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x67,0x00,0x00,0xa8,0x52,0x00,0x00,0x86,0x98,0x00,0x00,0x09,0x67, 0x00,0x00,0x70,0x8d,0x00,0x00,0x34,0x59,0x00,0x00,0xbd,0x5b,0x00,0x00,0x65,0x51,0x00,0x00,0x1f,0x96, 0x00,0x00,0x30,0x52,0x00,0x00,0x07,0x00,0x00,0x00,0x70,0x65,0x00,0x00,0x87,0x73,0x00,0x00,0x91,0x98, 0x00,0x00,0x3c,0x68,0x0f,0x5f,0x00,0x00,0x2d,0x4e,0xe7,0x7e,0x00,0x00,0xc0,0x68,0x8c,0x9a,0x8f,0x5e, 0x17,0x52,0x00,0x00,0x96,0x99,0x9a,0x5b,0x4c,0x75,0x26,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x4f, 0x00,0x00,0x77,0x53,0x00,0x00,0xf4,0x95,0x00,0x00,0xa6,0x68,0x1d,0x60,0x00,0x00,0x30,0x57,0x0c,0x80, 0x50,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0x2b,0x52,0x00,0x00,0x21,0x6b,0x00,0x00,0x30,0x57,0x00,0x00, 0xd2,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xa9,0x52,0x00,0x00,0xd9,0x5f,0x00,0x00,0x76,0x62,0x00,0x00, 0x4b,0x62,0x00,0x00,0x2e,0x5e,0x00,0x00,0x3b,0x4e,0x00,0x00,0xf6,0x51,0x00,0x00,0x3e,0x6d,0x00,0x00, 0x59,0x65,0x00,0x00,0x0d,0x4e,0x86,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x55,0x5e,0x00,0x00,0x54,0x5e, 0x00,0x00,0x44,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x5e,0x00,0x00,0xc1,0x89, 0x00,0x00,0xa1,0x52,0x00,0x00,0xd4,0x59,0x00,0x00,0xd4,0x59,0x1a,0x4f,0x00,0x00,0xc4,0x89,0x00,0x00, 0x28,0x75,0x00,0x00,0x74,0x5e,0x00,0x00,0xc6,0x8b,0x00,0x00,0x01,0x60,0x00,0x00,0x01,0x00,0x00,0x00, 0x86,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x6b,0x88,0x00,0x00,0xf0,0x5c,0x71,0x5c, 0x00,0x00,0x50,0x5b,0x0f,0x62,0xd5,0x6c,0x00,0x00,0x90,0x6a,0x00,0x00,0xbd,0x5f,0x00,0x00,0x3f,0x51, 0x00,0x00,0x26,0x5e,0x00,0x00,0x3d,0x5e,0x00,0x00,0x20,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0xa7,0x7e, 0x70,0x65,0x00,0x00,0x49,0x7b,0x00,0x00,0x05,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x58,0x54,0x00,0x00, 0x04,0x5c,0x00,0x00,0x62,0x97,0x00,0x00,0x58,0x54,0xbd,0x8f,0x14,0x96,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x10,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0e,0x54,0x00,0x00,0x99,0x58,0x00,0x00,0xda,0x50,0x00,0x00,0xda,0x50,0x7f,0x95,0x00,0x00,0x9c,0x5e, 0x00,0x00,0x03,0x5e,0x00,0x00,0x55,0x5e,0x00,0x00,0x0e,0x54,0xb1,0x82,0x6e,0x7d,0x00,0x00,0xcb,0x53, 0x00,0x00,0xbe,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x05,0x00,0x00,0x00,0x36,0x71, 0x92,0x91,0x9f,0x60,0x00,0x00,0x36,0x71,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0x36,0x71, 0x39,0x65,0xfe,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x90, 0x00,0x00,0xc0,0x51,0x00,0x00,0x84,0x98,0x00,0x00,0x70,0x62,0x00,0x00,0xe5,0x71,0x00,0x00,0xf1,0x65, 0x00,0x00,0x06,0x81,0x00,0x00,0x89,0x6d,0x00,0x00,0xc0,0x4e,0x48,0x4e,0x00,0x00,0x3b,0x6d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0x47,0x57,0x00,0x00,0xb9,0x65,0x73,0x7c,0x00,0x00,0x61,0x88, 0x00,0x00,0x89,0x5b,0x00,0x00,0xf6,0x65,0x00,0x00,0x33,0x7a,0x00,0x00,0x7f,0x67,0x00,0x00,0x49,0x7b, 0x00,0x00,0x73,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x95,0x5e,0x00,0x00,0xe3,0x4e, 0x00,0x00,0x84,0x9f,0x00,0x00,0x1d,0x52,0x00,0x00,0x7b,0x8f,0x00,0x00,0xa5,0x62,0x00,0x00,0x7b,0x8f, 0xba,0x4e,0x00,0x00,0x2b,0x67,0x00,0x00,0xa7,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x4e,0x00,0x00, 0x0d,0x4e,0x00,0x00,0x5e,0x97,0x00,0x00,0x2d,0x8d,0x00,0x00,0x2a,0x67,0x00,0x00,0x58,0x5b,0x00,0x00, 0xd1,0x53,0xc7,0x75,0x00,0x00,0x65,0x51,0x00,0x00,0x51,0x7f,0x00,0x00,0x04,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0x8f,0x79,0x00,0x00,0xd0,0x8f,0x00,0x00,0x58,0x5b,0x05,0x80,0x00,0x00,0x8f,0x79,0x1f,0x61, 0x00,0x00,0x7d,0x59,0x00,0x00,0x58,0x5b,0x00,0x00,0x4d,0x51,0x00,0x00,0x8f,0x4e,0x00,0x00,0xd0,0x8f, 0x3f,0x51,0x00,0x00,0x4d,0x51,0x8e,0x4e,0xbe,0x96,0x00,0x00,0x07,0x00,0x00,0x00,0xfe,0x86,0x50,0x5b, 0x00,0x00,0x8c,0x4e,0x00,0x00,0xd1,0x59,0x00,0x00,0xbd,0x9e,0x00,0x00,0xb9,0x70,0x00,0x00,0xbd,0x9e, 0x0f,0x5c,0x11,0x4e,0x00,0x00,0x76,0x5e,0xe2,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x60,0x00,0x00, 0xc9,0x89,0x00,0x00,0x71,0x5f,0x00,0x00,0x61,0x8c,0x00,0x00,0x6f,0x70,0x47,0x72,0x00,0x00,0x16,0x53, 0x00,0x00,0x6d,0x70,0x00,0x00,0x83,0x58,0x00,0x00,0x2c,0x54,0x00,0x00,0xa6,0x68,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3f,0x51,0xed,0x56,0x00,0x00,0x3f,0x51,0x00,0x00,0x1a,0x7a,0x00,0x00,0x73,0x59,0x00,0x00, 0x6b,0x86,0x00,0x00,0x74,0x5e,0x00,0x00,0xe5,0x7a,0x00,0x00,0x0f,0x5c,0x00,0x00,0x08,0x5e,0x00,0x00, 0x59,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x9e,0x00,0x00,0x75,0x70,0x00,0x00,0xd8,0x9e,0x1f,0x61, 0x00,0x00,0xe8,0x95,0x00,0x00,0x7d,0x5e,0x00,0x00,0x59,0x97,0x00,0x00,0x97,0x66,0x00,0x00,0xa5,0x51, 0x00,0x00,0xc5,0x96,0x00,0x00,0xf1,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0x4a,0x54, 0x00,0x00,0x1c,0x4e,0x00,0x00,0xdb,0x6c,0x00,0x00,0x27,0x59,0x00,0x00,0x3a,0x57,0x00,0x00,0x1c,0x4e, 0x01,0x77,0x00,0x00,0x7f,0x89,0x00,0x00,0xad,0x64,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x25,0x4e,0x00,0x00,0xed,0x56,0x00,0x00,0x50,0x5b,0x00,0x00,0xb6,0x5b,0x00,0x00,0x3c,0x7a, 0x00,0x00,0xcd,0x91,0x00,0x00,0x47,0x95,0x00,0x00,0x3b,0x4e,0x00,0x00,0xb3,0x6c,0x00,0x00,0x3c,0x7a, 0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x5d,0x79,0x00,0x00,0x78,0x51,0x00,0x00,0x78,0x5e,0x00,0x00, 0x4e,0x53,0x00,0x00,0x1f,0x75,0x00,0x00,0x3a,0x8d,0x00,0x00,0x30,0x4e,0x00,0x00,0x33,0x96,0x00,0x00, 0x25,0x66,0x00,0x00,0x91,0x4e,0x00,0x00,0x09,0x00,0x00,0x00,0xa4,0x62,0x00,0x00,0x51,0x4f,0x00,0x00, 0xa4,0x62,0x40,0x62,0x00,0x00,0xa4,0x62,0xaf,0x65,0xfa,0x8b,0x7b,0x76,0x00,0x00,0x6b,0x83,0x00,0x00, 0xa4,0x62,0x43,0x67,0x00,0x00,0xa4,0x62,0xfd,0x56,0x00,0x00,0x50,0x79,0x00,0x00,0x7f,0x89,0x79,0x72, 0xc9,0x62,0xfe,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0xab,0x57,0x00,0x00,0x55,0x53, 0x00,0x00,0x34,0x59,0x00,0x00,0xfa,0x94,0x00,0x00,0x34,0x59,0xdc,0x67,0x00,0x00,0x4d,0x4f,0x70,0x65, 0x00,0x00,0xc1,0x54,0x00,0x00,0x7f,0x67,0x00,0x00,0x4d,0x4f,0x39,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x55,0x5e,0x00,0x00,0x17,0x52,0x00,0x00,0xf7,0x53,0x00,0x00,0x00,0x8a,0x00,0x00,0x17,0x52,0xf7,0x53, 0x00,0x00,0xf2,0x66,0x00,0x00,0x87,0x65,0x00,0x00,0xcb,0x8d,0x00,0x00,0xe0,0x7a,0x00,0x00,0x70,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00, 0x33,0x96,0x3a,0x53,0x00,0x00,0x71,0x5c,0x3a,0x53,0x00,0x00,0x71,0x5c,0x7f,0x89,0x77,0x6d,0x00,0x00, 0x0d,0x82,0x00,0x00,0xde,0x5d,0x00,0x00,0x33,0x96,0x00,0x00,0x75,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0x58,0x5b,0x00,0x00,0x4b,0x51,0x00,0x00,0x3a,0x53,0x00,0x00,0x58,0x5b,0xcf,0x91,0x00,0x00,0x3f,0x62, 0x00,0x00,0x14,0x5c,0xb7,0x5f,0x00,0x00,0xf4,0x5d,0x00,0x00,0xf4,0x5d,0x51,0x7f,0x00,0x00,0xb9,0x5b, 0x00,0x00,0x14,0x5c,0xd2,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x8b,0x00,0x00,0x28,0x75,0x00,0x00, 0x53,0x5f,0x00,0x00,0xf9,0x5b,0x00,0x00,0x25,0x60,0x00,0x00,0x09,0x67,0x00,0x00,0xd8,0x4e,0x00,0x00, 0x36,0x65,0x00,0x00,0x4a,0x5c,0x00,0x00,0x58,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x90,0x00,0x00, 0xbf,0x7e,0x00,0x00,0x0b,0x4e,0x00,0x00,0x79,0x72,0x8b,0x5f,0x00,0x00,0xf7,0x4e,0x00,0x00,0x42,0x5c, 0x00,0x00,0x14,0x6c,0x00,0x00,0x74,0x85,0x00,0x00,0xaa,0x85,0x00,0x00,0xd8,0x76,0x00,0x00,0x04,0x00, 0x00,0x00,0x01,0x4e,0xe3,0x89,0x5b,0x72,0x00,0x00,0xe3,0x4e,0x00,0x00,0x7a,0x72,0x0f,0x6c,0x00,0x00, 0xa8,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x94,0x00,0x00,0x3b,0x4e,0x00,0x00,0x62,0x97,0x00,0x00, 0x58,0x54,0x00,0x00,0xb6,0x5b,0x00,0x00,0x7f,0x95,0x00,0x00,0x86,0x5e,0x00,0x00,0xb9,0x65,0x00,0x00, 0x0d,0x54,0x00,0x00,0x16,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4f,0x00,0x00,0x87,0x5b,0x00,0x00, 0xcc,0x91,0x00,0x00,0x02,0x58,0x00,0x00,0x50,0x5b,0x00,0x00,0x57,0x88,0x00,0x00,0xe8,0x95,0x00,0x00, 0xf7,0x53,0x00,0x00,0x9f,0x6c,0xe8,0x95,0x47,0x95,0x00,0x00,0x5d,0x79,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x33,0x75,0x00,0x00,0xb0,0x8f,0x00,0x00,0x0c,0x62,0x00,0x00,0x33,0x75,0x34,0x73, 0x00,0x00,0x48,0x53,0x00,0x00,0xc5,0x5b,0x00,0x00,0xc5,0x5b,0x74,0x5e,0x00,0x00,0x3e,0x6b,0x00,0x00, 0xe5,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x8c,0xbf,0x53,0x00,0x00,0x37,0x8c,0x00,0x00,0xb8,0x90, 0x00,0x00,0xb3,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0x66,0x5b,0x00,0x00,0x9e,0x52,0x00,0x00,0xf3,0x53, 0x57,0x88,0x00,0x00,0x39,0x5c,0x00,0x00,0x2c,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x59,0x00,0x00, 0x0f,0x6c,0x97,0x9a,0x40,0x5c,0x00,0x00,0x42,0x67,0x00,0x00,0x36,0x71,0x27,0x59,0x69,0x72,0x00,0x00, 0x1d,0x8d,0x00,0x00,0xa0,0x52,0xb1,0x83,0x00,0x00,0xf4,0x5d,0xea,0x8f,0x6c,0x51,0xf8,0x53,0x00,0x00, 0x1f,0x4f,0x00,0x00,0x04,0x54,0x84,0x5e,0x00,0x00,0x04,0x54,0x84,0x5e,0x47,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x03,0x5f,0x00,0x00,0x69,0x72,0x00,0x00,0x9f,0x58,0x00,0x00,0x64,0x96,0x00,0x00,0x34,0x6c, 0x00,0x00,0xe7,0x65,0x00,0x00,0xc1,0x54,0x00,0x00,0x03,0x5f,0x69,0x72,0x00,0x00,0x62,0x6b,0x00,0x00, 0xdd,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x8f,0x00,0x00, 0x47,0x50,0x00,0x00,0x47,0x50,0x51,0x67,0x00,0x00,0x47,0x50,0x3a,0x53,0x00,0x00,0x70,0x65,0x00,0x00, 0x18,0x5a,0x00,0x00,0xe5,0x65,0x00,0x00,0xcf,0x91,0x00,0x00,0x16,0x53,0x00,0x00,0x0f,0x59,0x00,0x00, 0x0a,0x00,0x00,0x00,0x08,0x8c,0x1a,0x4f,0x00,0x00,0x4d,0x4f,0x00,0x00,0x05,0x69,0x00,0x00,0x08,0x8c, 0x00,0x00,0x3a,0x67,0x00,0x00,0x7e,0x9a,0x00,0x00,0xe0,0x65,0x5a,0x86,0x2d,0x5e,0x00,0x00,0x31,0x82, 0x00,0x00,0x21,0x6b,0x00,0x00,0xf3,0x53,0xed,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x5b,0x00,0x00, 0x62,0x96,0x00,0x00,0x7f,0x95,0x00,0x00,0x0a,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0x16,0x59,0x00,0x00, 0xed,0x56,0x00,0x00,0xaf,0x8b,0x00,0x00,0x62,0x96,0x0f,0x5f,0x00,0x00,0x2d,0x4e,0x00,0x00,0x05,0x00, 0x00,0x00,0x02,0x58,0x00,0x00,0x1c,0x4e,0x47,0x95,0x00,0x00,0x69,0x64,0xd2,0x52,0x00,0x00,0x50,0x5b, 0x00,0x00,0x69,0x64,0x3d,0x84,0xe6,0x8f,0x9c,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x6c,0x00,0x00, 0xe0,0x51,0x00,0x00,0xba,0x4e,0x00,0x00,0xa1,0x52,0x00,0x00,0x50,0x5b,0x00,0x00,0xfa,0x51,0x00,0x00, 0xcd,0x6b,0x00,0x00,0x09,0x54,0xeb,0x58,0x00,0x00,0x4e,0x4e,0x00,0x00,0xa4,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0d,0x59,0x00,0x00,0x08,0x5e,0x85,0x50,0x00,0x00,0x8e,0x7f,0x00,0x00,0x99,0x71,0x00,0x00, 0xf0,0x6c,0x00,0x00,0x73,0x4f,0x00,0x00,0x9d,0x5b,0x00,0x00,0x85,0x6d,0xc4,0x72,0x3c,0x68,0xde,0x5d, 0x00,0x00,0x48,0x59,0x14,0x5c,0x00,0x00,0x01,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0xd7,0x4f,0x00,0x00, 0xba,0x4e,0xea,0x81,0x70,0x62,0x00,0x00,0x3b,0x53,0x00,0x00,0xd7,0x4f,0x16,0x53,0x00,0x00,0xba,0x4e, 0x00,0x00,0xd2,0x61,0x63,0x65,0x62,0x59,0x00,0x00,0x38,0x5e,0x00,0x00,0x8c,0x78,0x00,0x00,0xb8,0x5e, 0x8c,0x78,0x8c,0x78,0x00,0x00,0x4d,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0x07,0x97,0x00,0x00,0x02,0x00, 0x00,0x00,0xe1,0x4f,0x00,0x00,0xb6,0x5b,0xb3,0x6c,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x4e, 0x00,0x00,0x3f,0x65,0x00,0x00,0xdf,0x79,0x3f,0x62,0x00,0x00,0x01,0x6d,0x00,0x00,0xdf,0x79,0x00,0x00, 0x72,0x7f,0x00,0x00,0x01,0x6d,0xea,0x81,0x8b,0x5f,0x00,0x00,0x5f,0x6c,0x02,0x5e,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x3b,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x4a,0x57,0x00,0x00,0x4a,0x57,0x02,0x5e,0x00,0x00, 0x53,0x90,0x00,0x00,0xf1,0x67,0x00,0x00,0x65,0x68,0x57,0x90,0xa6,0x68,0x00,0x00,0x90,0x6a,0x00,0x00, 0x00,0x5f,0x9c,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x91,0x5e,0x00,0x00,0x99,0x5e,0x00,0x00,0x02,0x00, 0x00,0x00,0x05,0x6e,0x00,0x00,0x62,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0xab,0x6c, 0x99,0x6c,0x00,0x00,0x6c,0x51,0x00,0x00,0x0f,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00, 0xb3,0x6c,0xde,0x56,0xcf,0x65,0x3a,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xd3,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xed,0x7e,0x00,0x00,0x7f,0x95,0x00,0x00,0x38,0x4f,0x00,0x00,0xdf,0x8f,0x00,0x00,0xef,0x8b, 0x00,0x00,0x55,0x5c,0x00,0x00,0x1f,0x67,0x00,0x00,0x13,0x7f,0x00,0x00,0x89,0x5b,0x00,0x00,0x0e,0x54, 0x00,0x00,0x06,0x00,0x00,0x00,0x09,0x5c,0x00,0x00,0xf4,0x5d,0x4b,0x51,0xfe,0x56,0x00,0x00,0x03,0x5e, 0x00,0x00,0x56,0x67,0x00,0x00,0xaf,0x80,0x00,0x00,0xd5,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x8b, 0x00,0x00,0xae,0x8b,0x00,0x00,0xcb,0x7a,0x00,0x00,0x51,0x7b,0x00,0x00,0x10,0x62,0x00,0x00,0x20,0x90, 0x00,0x00,0x50,0x67,0x00,0x00,0x4c,0x88,0x00,0x00,0xfd,0x56,0x00,0x00,0x51,0x7b,0x69,0x72,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6b,0x51,0x00,0x00,0xdb,0x56,0x00,0x00,0x8c,0x4e,0x00,0x00,0x09,0x4e,0x00,0x00, 0x00,0x4e,0x00,0x00,0x5d,0x4e,0x00,0x00,0x94,0x4e,0x00,0x00,0x03,0x4e,0x00,0x00,0x6d,0x51,0x00,0x00, 0x74,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xcb,0x59,0x00,0x00,0xd1,0x53,0x00,0x00,0x55,0x5c,0x00,0x00, 0x3e,0x65,0x00,0x00,0xd1,0x53,0x46,0x55,0x00,0x00,0x2f,0x65,0x00,0x00,0xd8,0x76,0x00,0x00,0x1a,0x90, 0x00,0x00,0xe5,0x5d,0x00,0x00,0x2f,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0x0a,0x00, 0x00,0x00,0x38,0x5e,0x00,0x00,0x30,0x57,0x00,0x00,0xae,0x8b,0x00,0x00,0x27,0x60,0x00,0x00,0xa8,0x52, 0x00,0x00,0x73,0x54,0x00,0x00,0x69,0x72,0x00,0x00,0x9b,0x51,0x81,0x7a,0x77,0x8d,0x00,0x00,0x30,0x57, 0x4b,0x60,0x00,0x00,0x37,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5a,0x00,0x00,0x43,0x67,0x00,0x00, 0x28,0x75,0x00,0x00,0x38,0x68,0x00,0x00,0xce,0x98,0x00,0x00,0x43,0x67,0x68,0x79,0x00,0x00,0x3f,0x51, 0x00,0x00,0x6e,0x7f,0x00,0x00,0x03,0x80,0x00,0x00,0x3f,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x86, 0x5c,0x4f,0x47,0x50,0x00,0x00,0x05,0x6e,0x00,0x00,0x7b,0x6b,0x00,0x00,0x19,0x95,0x00,0x00,0x02,0x58, 0x00,0x00,0xb9,0x70,0x00,0x00,0xe7,0x5d,0x10,0x62,0xd9,0x62,0x00,0x00,0x24,0x4f,0x00,0x00,0x6e,0x6f, 0x3f,0x51,0x00,0x00,0x4f,0x57,0x00,0x00,0x03,0x00,0x00,0x00,0x8c,0x54,0x00,0x00,0xcb,0x68,0x00,0x00, 0xcb,0x53,0x00,0x00,0x06,0x00,0x00,0x00,0xef,0x7a,0x00,0x00,0xc5,0x75,0x00,0x00,0x48,0x68,0x00,0x00, 0xb3,0x5b,0x00,0x00,0x3f,0x65,0x00,0x00,0xdd,0x7e,0xce,0x98,0x05,0x6e,0x00,0x00,0x06,0x00,0x00,0x00, 0x33,0x96,0xbf,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00, 0x33,0x96,0x54,0x81,0x00,0x00,0xd6,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xae,0x5f,0x00,0x00,0x37,0x68, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0f,0x5f,0x00,0x00,0x03,0x8c,0x00,0x00,0x03,0x00,0x00,0x00,0x1b,0x54, 0x00,0x00,0x36,0x72,0x00,0x00,0xcd,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x7b,0x00,0x00,0x62,0x5f, 0x6b,0x86,0x00,0x00,0x29,0x5f,0x00,0x00,0x26,0x5f,0x00,0x00,0xad,0x7b,0x4b,0x62,0x00,0x00,0x62,0x5f, 0x00,0x00,0x65,0x6b,0x00,0x00,0x7f,0x95,0xad,0x5c,0x3a,0x53,0x00,0x00,0x4b,0x62,0x00,0x00,0x7f,0x95, 0xad,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x75,0x00,0x00,0x77,0x8d,0x00,0x00,0xd1,0x53,0x00,0x00, 0xfc,0x5b,0x00,0x00,0x65,0x51,0x00,0x00,0xdb,0x8f,0x00,0x00,0xce,0x64,0x00,0x00,0x65,0x67,0x00,0x00, 0x06,0x72,0x00,0x00,0xf0,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x96,0x00,0x00,0x70,0x51,0x4b,0x51, 0x00,0x00,0x09,0x54,0x3c,0x5c,0x9a,0x4e,0xde,0x5d,0x00,0x00,0xc9,0x62,0xfa,0x57,0x73,0x7c,0x14,0x5c, 0x00,0x00,0x1b,0x6d,0x0a,0x4f,0xb7,0x5f,0x00,0x00,0x09,0x54,0x3c,0x5c,0x9a,0x4e,0x00,0x00,0xb1,0x83, 0x00,0x00,0x17,0x67,0x7f,0x89,0xaf,0x65,0x00,0x00,0x70,0x51,0x00,0x00,0x3c,0x68,0xee,0x68,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6c,0x62,0x00,0x00,0xd5,0x6c,0x00,0x00,0x00,0x4e,0x00,0x00,0x1a,0x4e,0x00,0x00, 0xd5,0x6c,0xfa,0x5b,0x00,0x00,0xcd,0x5f,0x00,0x00,0x20,0x4f,0x00,0x00,0xb7,0x5e,0x00,0x00,0x53,0x90, 0x00,0x00,0x16,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x13,0x7f,0x00,0x00,0x20,0x5f,0xed,0x70,0x00,0x00, 0x07,0x00,0x00,0x00,0x1f,0x5f,0x00,0x00,0x50,0x5b,0x00,0x00,0x44,0x51,0x00,0x00,0xb3,0x5a,0x00,0x00, 0xb9,0x59,0x00,0x00,0x87,0x59,0x00,0x00,0x44,0x51,0xec,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67, 0x00,0x00,0x34,0x8d,0x00,0x00,0xb6,0x5b,0x4c,0x75,0x00,0x00,0xd5,0x88,0x00,0x00,0x7a,0x82,0x0b,0x8c, 0x00,0x00,0x9b,0x52,0x00,0x00,0x00,0x5f,0x00,0x00,0x6c,0x62,0x00,0x00,0x5f,0x6c,0x00,0x00,0x27,0x59, 0x43,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x88,0x00,0x00,0x2b,0x6f,0x00,0x00,0x40,0x96,0x00,0x00, 0xd2,0x52,0x00,0x00,0x08,0x54,0x00,0x00,0xd2,0x52,0xe9,0x83,0x28,0x84,0x00,0x00,0xb3,0x8d,0xcd,0x73, 0x35,0x8d,0x00,0x00,0xd2,0x52,0x5b,0x4f,0x00,0x00,0x63,0x65,0x00,0x00,0x59,0x75,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x4e,0x00,0x00,0xba,0x8b,0x00,0x00,0x06,0x74,0xba,0x8b,0x00,0x00,0x16,0x59,0x4b,0x4e, 0xf3,0x97,0x00,0x00,0x50,0x5b,0x00,0x00,0x4c,0x6b,0x00,0x00,0x50,0x4e,0x68,0x56,0x00,0x00,0x70,0x65, 0x00,0x00,0x50,0x4e,0x1f,0x96,0x00,0x00,0xf0,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x5f,0x00,0x00, 0xa6,0x5e,0x00,0x00,0xbf,0x7e,0x00,0x00,0xcc,0x83,0x00,0x00,0x76,0x98,0x00,0x00,0x62,0x97,0x00,0x00, 0x7f,0x95,0x00,0x00,0x49,0x51,0x00,0x00,0xbf,0x7e,0x03,0x74,0x00,0x00,0x49,0x51,0x6f,0x70,0x00,0x00, 0x04,0x00,0x00,0x00,0xad,0x7b,0x00,0x00,0x13,0x5f,0x00,0x00,0xae,0x70,0x00,0x00,0x75,0x51,0x00,0x00, 0x01,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x75,0x51,0x00,0x00,0x24,0x8c,0x00,0x00, 0x71,0x4e,0x00,0x00,0xd0,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xf2,0x66,0x00,0x00,0x70,0x81,0x00,0x00, 0x53,0x90,0x00,0x00,0xef,0x8d,0x00,0x00,0x2f,0x5f,0x00,0x00,0x00,0x52,0x00,0x00,0x2f,0x5f,0xf2,0x66, 0xf2,0x66,0x00,0x00,0x98,0x62,0x00,0x00,0x2f,0x5f,0x84,0x76,0x00,0x00,0xf2,0x66,0xa6,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0x16,0x53,0x00,0x00,0xb9,0x70,0x00,0x00,0x02,0x5e,0x00,0x00, 0x31,0x5f,0x00,0x00,0x05,0x80,0x00,0x00,0x0f,0x5c,0x00,0x00,0x7a,0x66,0x00,0x00,0xb1,0x78,0x27,0x60, 0x00,0x00,0xb7,0x51,0x7a,0x7a,0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x60,0x00,0x00,0x6f,0x83, 0x00,0x00,0x53,0x90,0x00,0x00,0x53,0x90,0xfc,0x5b,0x39,0x5f,0x00,0x00,0x34,0x59,0x00,0x00,0x27,0x7c, 0x00,0x00,0x04,0x5c,0x00,0x00,0x9b,0x52,0x00,0x00,0xbe,0x52,0x00,0x00,0x4f,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0x03,0x8c,0x00,0x00,0xc8,0x70,0x00,0x00,0x16,0x53,0x00,0x00,0x27,0x59,0x00,0x00,0xbf,0x52, 0x00,0x00,0x36,0x52,0x00,0x00,0xb2,0x52,0x00,0x00,0xa6,0x5e,0x00,0x00,0x6c,0x78,0x00,0x00,0x4c,0x88, 0x00,0x00,0x02,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xf6,0x65,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00, 0x5e,0x5c,0x00,0x00,0xd8,0x8f,0x00,0x00,0x65,0x67,0x00,0x00,0x48,0x68,0x00,0x00,0xd3,0x7e,0x00,0x00, 0xb3,0x7e,0x00,0x00,0x8e,0x54,0x00,0x00,0x8e,0x4e,0x00,0x00,0x9f,0x52,0x00,0x00,0x1f,0x77,0x02,0x58, 0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0xf6,0x65,0x00,0x00,0x36,0x71,0x00,0x00,0x29,0x59, 0x00,0x00,0x4d,0x52,0x00,0x00,0x74,0x5e,0x00,0x00,0xe5,0x65,0x00,0x00,0x2d,0x4e,0x00,0x00,0x40,0x5c, 0x00,0x00,0x1d,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x53,0x00,0x00,0xcf,0x50,0x00,0x00,0xf3,0x97, 0x00,0x00,0x97,0x5f,0x00,0x00,0x36,0x52,0x00,0x00,0x28,0x75,0x00,0x00,0x65,0x51,0x00,0x00,0xcf,0x50, 0x26,0x5e,0x00,0x00,0xd6,0x53,0x87,0x73,0x00,0x00,0xf3,0x97,0x26,0x5e,0x00,0x00,0x01,0x00,0x00,0x00, 0x9e,0x8f,0x00,0x00,0x04,0x00,0x00,0x00,0x1f,0x66,0x00,0x00,0x3e,0x5c,0x00,0x00,0x38,0x68,0x00,0x00, 0x1f,0x66,0x1f,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x65,0x00,0x00,0x6f,0x82,0xbf,0x53,0x00,0x00, 0x6f,0x82,0x00,0x00,0xcf,0x65,0xba,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0xcf,0x65,0x61,0x4e,0x00,0x00, 0xed,0x8b,0x00,0x00,0x68,0x56,0x00,0x00,0x61,0x4e,0x00,0x00,0x26,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x10,0x62,0x00,0x00,0x0f,0x5f,0x00,0x00,0xbf,0x52,0x00,0x00,0x61,0x8c,0x00,0x00,0x01,0x60,0x00,0x00, 0xb9,0x5b,0x00,0x00,0xb6,0x72,0x00,0x00,0x5a,0x5a,0x00,0x00,0x0c,0x54,0x5a,0x86,0xbe,0x8b,0x00,0x00, 0x53,0x4f,0x00,0x00,0x05,0x00,0x00,0x00,0x64,0x5f,0x00,0x00,0xd4,0x53,0x00,0x00,0x90,0x6e,0x00,0x00, 0x91,0x4e,0x00,0x00,0xa1,0x7b,0x3b,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x79,0x00,0x00,0x72,0x82, 0x00,0x00,0x35,0x75,0x00,0x00,0x79,0x86,0x00,0x00,0x11,0x6c,0x00,0x00,0x86,0x59,0x00,0x00,0xd8,0x7e, 0x00,0x00,0x92,0x63,0x00,0x00,0x1e,0x97,0x00,0x00,0xe1,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x8d,0x60, 0x00,0x00,0x62,0x5f,0x00,0x00,0xe5,0x54,0x00,0x00,0xb3,0x70,0x00,0x00,0x62,0x5f,0x27,0x59,0x49,0x6c, 0x00,0x00,0xb3,0x70,0xf2,0x53,0x8c,0x51,0x00,0x00,0xb3,0x70,0x43,0x53,0xcb,0x79,0x00,0x00,0x6c,0x9a, 0x00,0x00,0xb3,0x70,0x43,0x53,0xe4,0x53,0x00,0x00,0xee,0x58,0x00,0x00,0x06,0x00,0x00,0x00,0x6c,0x5f, 0x00,0x00,0x6c,0x5f,0x09,0x67,0x3c,0x79,0x00,0x00,0xbf,0x53,0x00,0x00,0x6c,0x9a,0xa3,0x90,0x00,0x00, 0x1a,0x85,0x00,0x00,0x6c,0x5f,0x1b,0x54,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x5f,0x00,0x60, 0x00,0x00,0x3d,0x4e,0x9b,0x5a,0x00,0x00,0xfd,0x6c,0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00, 0xde,0x5d,0x02,0x5e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x9a,0x5b,0xb7,0x5e,0x00,0x00,0x71,0x5c,0x00,0x00, 0x71,0x5c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x66,0x00,0x00,0x16,0x53,0x00,0x00,0x16,0x53, 0xbf,0x53,0x00,0x00,0x66,0x6b,0xbf,0x53,0x00,0x00,0x66,0x6b,0x00,0x00,0x6c,0x62,0x00,0x00,0x70,0x5f, 0x00,0x00,0x16,0x53,0xba,0x4e,0x00,0x00,0x0e,0x66,0x83,0x8f,0x57,0x84,0x00,0x00,0x16,0x53,0x02,0x5e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x54,0x00,0x00,0xcd,0x54,0x9b,0x52,0x00,0x00,0xc6,0x89,0x00,0x00, 0x47,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0xcf,0x50,0x00,0x00,0x62,0x96,0x00,0x00,0xc6,0x89,0x67,0x52, 0x00,0x00,0x1a,0x4e,0x00,0x00,0xce,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x8d,0x4e,0x00,0x00,0x05,0x00, 0x00,0x00,0xa8,0x5f,0x00,0x00,0x5b,0x4f,0x00,0x00,0x82,0x59,0x00,0x00,0x3c,0x4f,0x00,0x00,0x89,0x5f, 0x00,0x00,0x05,0x00,0x00,0x00,0x7f,0x4f,0x00,0x00,0x37,0x75,0x00,0x00,0x84,0x9f,0x00,0x00,0x5c,0x75, 0x00,0x00,0x7f,0x4f,0xa8,0x52,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x95,0x5e,0x00,0x00,0xe5,0x67, 0x00,0x00,0x1c,0x59,0x00,0x00,0x34,0x59,0x7b,0x5f,0x3e,0x5c,0x00,0x00,0x9f,0x60,0x00,0x00,0xa8,0x9a, 0x00,0x00,0x1c,0x59,0x2a,0x67,0x20,0x77,0x00,0x00,0x1c,0x59,0x0d,0x4e,0x20,0x77,0x00,0x00,0x95,0x5e, 0x27,0x60,0x00,0x00,0xc1,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x64,0x6b,0x00,0x00,0x97,0x5f,0x00,0x00, 0xf6,0x65,0x00,0x00,0xb8,0x5c,0x00,0x00,0xb9,0x65,0x00,0x00,0x5b,0x4f,0x00,0x00,0x14,0x5c,0xc6,0x59, 0x02,0x5e,0x00,0x00,0x14,0x5c,0xc6,0x59,0x00,0x00,0x97,0x5f,0x21,0x58,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x80,0x5f,0x00,0x00,0x74,0x5e,0x00,0x00,0x65,0x67,0x00,0x00,0x1f,0x75,0x00,0x00, 0xd4,0x8f,0x00,0x00,0x38,0x5e,0x00,0x00,0x8b,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0x0e,0x54,0x00,0x00, 0xe5,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x65,0x00,0x00,0x42,0x6c,0x00,0x00,0x0e,0x7a,0x00,0x00, 0xc6,0x96,0x00,0x00,0x30,0x57,0x00,0x00,0x0d,0x67,0x00,0x00,0xe1,0x4f,0x00,0x00,0x14,0x90,0x00,0x00, 0x46,0x51,0x00,0x00,0xa1,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x76,0x00,0x00,0x41,0x6d,0x00,0x00, 0x41,0x6d,0xcf,0x91,0x00,0x00,0xea,0x81,0x00,0x00,0xef,0x8d,0x00,0x00,0x4c,0x88,0x00,0x00,0xf9,0x8f, 0x00,0x00,0x5b,0x8d,0x00,0x00,0xad,0x5e,0x00,0x00,0x53,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x90, 0x00,0x00,0x7d,0x54,0x00,0x00,0x9a,0x5b,0x00,0x00,0xba,0x4e,0x00,0x00,0x3a,0x67,0x00,0x00,0xc1,0x89, 0x00,0x00,0xed,0x7e,0x00,0x00,0xa7,0x4e,0x00,0x00,0x1a,0x4e,0x00,0x00,0xa8,0x6d,0x00,0x00,0x05,0x00, 0x00,0x00,0xc1,0x79,0x1e,0x82,0x0a,0x5f,0x00,0x00,0xc1,0x79,0x89,0x67,0xd5,0x6c,0x00,0x00,0xc1,0x79, 0x00,0x00,0xc5,0x60,0x00,0x00,0xc5,0x60,0x89,0x67,0xd5,0x6c,0x00,0x00,0x07,0x00,0x00,0x00,0x1a,0x59, 0x00,0x00,0xeb,0x5f,0x00,0x00,0xbe,0x96,0xf4,0x8b,0x00,0x00,0x0f,0x5c,0x00,0x00,0xe9,0x65,0xe5,0x4e, 0x4d,0x52,0x00,0x00,0x45,0x4e,0xe5,0x4e,0x0e,0x54,0x00,0x00,0x1a,0x59,0xf6,0x65,0x00,0x00,0x0a,0x00, 0x00,0x00,0x08,0x5e,0x00,0x00,0x40,0x62,0x00,0x00,0x08,0x5e,0xe2,0x56,0x00,0x00,0x08,0x5e,0x39,0x8d, 0x00,0x00,0xd5,0x6c,0x00,0x00,0x4f,0x53,0x00,0x00,0xea,0x4e,0x00,0x00,0x3f,0x65,0xf8,0x53,0x00,0x00, 0xcf,0x85,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xd0,0x67,0x00,0x00, 0xb6,0x5b,0x47,0x6c,0x00,0x00,0xb2,0x60,0x3f,0x9e,0x00,0x00,0x47,0x6c,0x3a,0x53,0x00,0x00,0x47,0x6c, 0x00,0x00,0xe5,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x90,0x5f,0x00,0x00,0xd7,0x5f,0x69,0x64, 0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x52,0x00,0x00,0x65,0x6b,0x00,0x00,0x1f,0x5f,0x00,0x00,0x4b,0x62, 0x00,0x00,0xb3,0x52,0x00,0x00,0x17,0x4f,0x00,0x00,0x36,0x71,0x00,0x00,0xb3,0x52,0xe0,0x65,0x9f,0x52, 0x00,0x00,0x09,0x67,0x5a,0x86,0x0d,0x54,0x00,0x00,0xb3,0x52,0xe0,0x65,0xca,0x76,0x00,0x00,0x01,0x00, 0x00,0x00,0x61,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0xe5,0x77,0x00,0x00,0xe5,0x4e, 0x00,0x00,0xfa,0x51,0x00,0x00,0xca,0x76,0x00,0x00,0x0d,0x4e,0x30,0x52,0x00,0x00,0x06,0x52,0x00,0x00, 0x3b,0x4e,0x00,0x00,0x0f,0x61,0x00,0x00,0x6a,0x7f,0x00,0x00,0x01,0x00,0x00,0x00,0x8a,0x5f,0x00,0x00, 0x01,0x00,0x00,0x00,0x1a,0x50,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd2,0x5b,0x00,0x00,0xd0,0x59,0x00,0x00,0x28,0x75,0x00,0x00,0x36,0x52,0x00,0x00,0x4b,0x62,0x00,0x00, 0xf2,0x53,0x00,0x00,0x6f,0x66,0x00,0x00,0xed,0x56,0x00,0x00,0x14,0x7b,0x00,0x00,0xb1,0x82,0xed,0x56, 0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x73,0x00,0x00,0x8f,0x5e,0x10,0x6e,0xdb,0x8f,0x00,0x00,0xaf,0x73, 0xfb,0x7c,0xdf,0x7e,0x00,0x00,0xaf,0x73,0x80,0x5f,0x0d,0x59,0x00,0x00,0xc4,0x89,0x48,0x8e,0xe9,0x77, 0x00,0x00,0xc1,0x8b,0x00,0x00,0xbf,0x7e,0x00,0x00,0xf0,0x58,0x00,0x00,0x8f,0x5e,0x00,0x00,0x4c,0x88, 0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x79,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x5a,0x53,0x00,0x00,0x6f,0x8f,0x00,0x00,0xe1,0x4f,0x00,0x00,0x11,0x7b,0x00,0x00,0x03,0x8c, 0x00,0x00,0x8b,0x57,0x00,0x00,0x1f,0x75,0x69,0x72,0x00,0x00,0x99,0x59,0x00,0x00,0xc2,0x89,0x00,0x00, 0xe2,0x6c,0x89,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0x84,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56, 0x00,0x00,0xc9,0x62,0x00,0x00,0x14,0x5c,0x00,0x00,0x0f,0x61,0xd7,0x5f,0x00,0x00,0xd1,0x9e,0x70,0x51, 0x00,0x00,0xcc,0x91,0x00,0x00,0xde,0x5d,0x00,0x00,0xe4,0x52,0x00,0x00,0x87,0x65,0x00,0x00,0xed,0x8b, 0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x55,0x00,0x00,0xe0,0x7a, 0x00,0x00,0xde,0x5d,0x00,0x00,0x3e,0x6d,0x00,0x00,0xbf,0x53,0x00,0x00,0x07,0x68,0x00,0x00,0x97,0x5b, 0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0xb0,0x8b,0x00,0x00,0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x06,0x74,0x00,0x00,0xcc,0x91,0x00,0x00,0x01,0x60,0x00,0x00,0xc5,0x60,0x00,0x00,0x06,0x74,0x66,0x5b, 0x00,0x00,0x2d,0x4e,0x00,0x00,0x0f,0x81,0x00,0x00,0x75,0x70,0x00,0x00,0x0f,0x81,0xc5,0x75,0x00,0x00, 0x40,0x88,0xa1,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x98,0x00,0x00,0x81,0x89,0x00,0x00,0x36,0x71, 0x00,0x00,0x06,0x5c,0x00,0x00,0x9a,0x5b,0x00,0x00,0x00,0x97,0x00,0x00,0x07,0x59,0x00,0x00,0x81,0x89, 0x27,0x60,0x00,0x00,0x0d,0x4e,0xef,0x53,0x11,0x5c,0x00,0x00,0x00,0x97,0xc1,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf5,0x5f,0x00,0x00,0xe6,0x82,0x00,0x00,0x77,0x8d,0x00,0x00,0x01,0x63,0x00,0x00,0xf0,0x8f, 0x00,0x00,0xca,0x53,0x00,0x00,0xe6,0x82,0x1d,0x60,0x1c,0x75,0x00,0x00,0xf3,0x60,0x00,0x00,0xe6,0x82, 0x6d,0x99,0x00,0x00,0xe7,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x29,0x52,0x29,0x59,0x00,0x00,0x29,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x8b,0x00,0x00,0xee,0x60,0x00,0x00,0xe3,0x53,0x00,0x00,0x28,0x75, 0x00,0x00,0xe5,0x65,0x00,0x00,0x92,0x59,0x00,0x00,0x68,0x60,0x00,0x00,0xb0,0x8f,0x00,0x00,0x34,0x56, 0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xd7,0x53,0x00,0x00,0x0d,0x4e,0x4f,0x4f,0x00,0x00, 0x10,0x80,0x00,0x00,0xc3,0x5f,0x00,0x00,0xb1,0x8f,0x00,0x00,0x05,0x80,0x00,0x00,0xe0,0x65,0xef,0x53, 0xcd,0x5f,0x00,0x00,0xdb,0x75,0x00,0x00,0x14,0x6c,0x1e,0x54,0xf0,0x58,0x00,0x00,0xa9,0x8b,0x00,0x00, 0x06,0x00,0x00,0x00,0x94,0x60,0x00,0x00,0xd5,0x6c,0x00,0x00,0x64,0x96,0x00,0x00,0x6a,0x7f,0x00,0x00, 0x94,0x60,0x55,0x5f,0x00,0x00,0x94,0x60,0x66,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xd1,0x5f,0x00,0x00, 0xd1,0x5f,0x0d,0x4e,0x89,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xee,0x4f,0xaf,0x65,0x00,0x00,0x3f,0x51, 0x00,0x00,0x04,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0xcf,0x91,0x00,0x00,0x1d,0x60,0x00,0x00,0x78,0x64, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x61,0x05,0x80,0x00,0x00,0x3a,0x5f,0x00,0x00,0x3f,0x61,0x00,0x00, 0x0e,0x66,0x00,0x00,0x3f,0x61,0x9b,0x51,0x00,0x00,0x1f,0x4f,0x00,0x00,0x0c,0x54,0x53,0x90,0x08,0x54, 0x00,0x00,0xa2,0x7e,0x00,0x00,0xd8,0x9a,0x00,0x00,0x87,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x8b, 0x00,0x00,0x89,0x63,0x00,0x00,0x74,0x53,0x00,0x00,0x0d,0x4e,0x86,0x4e,0x00,0x00,0x11,0x62,0x00,0x00, 0x00,0x60,0x00,0x00,0xc5,0x60,0x00,0x00,0x31,0x59,0x00,0x00,0x69,0x60,0x1f,0x8d,0x49,0x4e,0x00,0x00, 0x4e,0x4e,0x40,0x62,0xe5,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x8c,0x78,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x3b,0x6d,0x00,0x00,0x40,0x77,0x00,0x00,0xd9,0x5f,0x8c,0x78,0x8c,0x78,0x00,0x00,0x71,0x4e,0x00,0x00, 0xcc,0x91,0x77,0x50,0xf2,0x95,0x00,0x00,0x0d,0x4e,0xed,0x8f,0x00,0x00,0xf3,0x97,0x00,0x00,0x4d,0x52, 0xd9,0x5f,0x0e,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x17,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xda,0x8b, 0x00,0x00,0x9e,0x5b,0x00,0x00,0xda,0x8b,0xa6,0x5e,0x00,0x00,0x8e,0x4e,0x00,0x00,0x4a,0x54,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x1e,0x8d,0x00,0x00,0x49,0x4e,0x00,0x00,0xbf,0x53,0x00,0x00,0x9a,0x53,0x00,0x00, 0x01,0x00,0x00,0x00,0xe1,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0x06,0x90,0x00,0x00,0x06,0x90,0x0d,0x4e, 0x5d,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x51,0x86,0x00,0x00,0x24,0x4f,0x00,0x00,0xc1,0x90,0x00,0x00, 0xc3,0x5f,0xe1,0x5f,0xe1,0x5f,0x00,0x00,0xc3,0x5f,0x00,0x00,0xa3,0x60,0x00,0x00,0x01,0x61,0x00,0x00, 0xc1,0x90,0xc7,0x75,0x00,0x00,0x1d,0x60,0x00,0x00,0xfd,0x56,0xe7,0x5f,0x11,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1f,0x90,0x00,0x00,0x12,0x90,0x00,0x00,0x50,0x4e,0x00,0x00,0xa5,0x62,0x00,0x00,0xaf,0x8b, 0x00,0x00,0x77,0x63,0x00,0x00,0x1f,0x61,0x00,0x00,0xf6,0x4e,0x00,0x00,0x12,0x90,0x58,0x54,0x00,0x00, 0x10,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x5b,0x4f,0x00,0x00,0x34,0x59,0x00,0x00,0xf5,0x8b,0x00,0x00, 0xf5,0x5f,0x00,0x00,0xcf,0x7e,0x00,0x00,0x66,0x4e,0x00,0x00,0xe8,0x53,0x00,0x00,0xf5,0x5f,0x0d,0x4e, 0xd8,0x5f,0x00,0x00,0x92,0x54,0x00,0x00,0xe0,0x73,0x00,0x00,0x02,0x00,0x00,0x00,0x29,0x60,0x00,0x00, 0xf8,0x5f,0x29,0x60,0x29,0x60,0x00,0x00,0x07,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e, 0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x9c,0x5e,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0xe3,0x53, 0x00,0x00,0x9c,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x89,0x00,0x00,0x65,0x75,0x00,0x00,0x36,0x71, 0x00,0x00,0xa0,0x60,0x00,0x00,0xb7,0x51,0xfd,0x5f,0xed,0x70,0x00,0x00,0x0c,0x80,0x00,0x00,0xc5,0x5f, 0xc8,0x70,0x00,0x00,0xa0,0x60,0xba,0x4e,0x00,0x00,0x0a,0x4e,0xfd,0x5f,0x0b,0x4e,0x00,0x00,0xfd,0x5f, 0x00,0x00,0x05,0x00,0x00,0x00,0x12,0x60,0x00,0x00,0xff,0x5f,0x0d,0x4e,0x73,0x5e,0x00,0x00,0xff,0x5f, 0x00,0x00,0x68,0x60,0x00,0x00,0xd1,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0x91,0x75,0x00,0x00,0x55,0x5b, 0x00,0x00,0xf5,0x5f,0x00,0x00,0xb1,0x62,0x00,0x00,0x40,0x77,0x00,0x00,0xe7,0x65,0x00,0x00,0xcc,0x91, 0x00,0x00,0xd4,0x67,0x00,0x00,0x79,0x72,0x00,0x00,0x16,0x53,0x00,0x00,0x08,0x00,0x00,0x00,0xa6,0x5e, 0x00,0x00,0xbf,0x52,0x00,0x00,0xe2,0x77,0xcf,0x91,0x00,0x00,0x16,0x53,0x00,0x00,0x04,0x5c,0x00,0x00, 0xe0,0x53,0xa0,0x52,0x00,0x00,0x37,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x7f,0x60, 0x00,0x00,0xba,0x4e,0x00,0x00,0x3c,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x01,0x00, 0x00,0x00,0x14,0x6c,0x00,0x00,0x07,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x36,0x71,0xe5,0x82,0x31,0x59, 0x00,0x00,0xd8,0x60,0x00,0x00,0x05,0x60,0x00,0x00,0x68,0x60,0x00,0x00,0x36,0x71,0x4b,0x4e,0x59,0x4f, 0x00,0x00,0xcb,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0xdb,0x75,0x00,0x00,0x0a,0x00, 0x00,0x00,0x48,0x4e,0x00,0x00,0x37,0x68,0x00,0x00,0x48,0x4e,0x9e,0x52,0x00,0x00,0x48,0x4e,0x37,0x68, 0x00,0x00,0x48,0x4e,0xde,0x56,0x8b,0x4e,0x00,0x00,0x48,0x4e,0x40,0x77,0x00,0x00,0x48,0x4e,0x1a,0x4f, 0x00,0x00,0x30,0x57,0x00,0x00,0x48,0x4e,0x97,0x5f,0x86,0x4e,0x00,0x00,0x1f,0x75,0x00,0x00,0x03,0x00, 0x00,0x00,0x0f,0x60,0x00,0x00,0x0f,0x60,0x0d,0x4e,0x50,0x4e,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00, 0x00,0x00,0x6b,0x70,0x00,0x00,0x5f,0x6c,0x00,0x00,0xa5,0x65,0x00,0x00,0x14,0x6c,0x00,0x00,0x3c,0x54, 0x00,0x00,0x3e,0x65,0x00,0x00,0x82,0x9a,0x00,0x00,0x0d,0x4e,0xef,0x53,0x4f,0x90,0x00,0x00,0x14,0x6c, 0xb2,0x51,0xb2,0x51,0x00,0x00,0x5f,0x6c,0xde,0x5d,0x00,0x00,0x06,0x00,0x00,0x00,0x14,0x60,0x00,0x00, 0x4f,0x4f,0x00,0x00,0xe1,0x5f,0x00,0x00,0xea,0x5f,0x00,0x00,0x5e,0x79,0x3f,0x51,0x00,0x00,0x25,0x84, 0x00,0x00,0x07,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x1f,0x75,0x00,0x00,0x9e,0x7f,0x00,0x00,0xba,0x4e, 0x00,0x00,0xd2,0x75,0x00,0x00,0x01,0x80,0x46,0x5a,0x00,0x00,0x7b,0x6b,0x3c,0x9b,0x00,0x00,0x01,0x00, 0x00,0x00,0x4f,0x75,0x00,0x00,0x03,0x00,0x00,0x00,0x3b,0x4e,0x00,0x00,0x43,0x60,0x00,0x00,0x76,0x60, 0x0d,0x4e,0x9b,0x60,0x00,0x00,0x07,0x00,0x00,0x00,0xaf,0x60,0x00,0x00,0x31,0x72,0x00,0x00,0xdc,0x60, 0x00,0x00,0x0d,0x61,0x00,0x00,0x99,0x99,0xdc,0x60,0x89,0x73,0x00,0x00,0x64,0x60,0x00,0x00,0x1c,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x60,0x00,0x00,0x03,0x80,0x00,0x00,0xef,0x8d,0x00,0x00,0xf4,0x7e, 0x00,0x00,0xd1,0x79,0x00,0x00,0xf5,0x5f,0x00,0x00,0x6e,0x6f,0x00,0x00,0x22,0x7d,0x00,0x00,0xdf,0x60, 0x00,0x00,0xf3,0x60,0xb6,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0x62,0x61,0x00,0x00,0x1f,0x90,0x00,0x00, 0xf0,0x60,0x00,0x00,0xe5,0x5d,0x00,0x00,0xfd,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x9d,0x5b,0x00,0x00, 0x36,0x71,0x00,0x00,0x9a,0x4e,0x1a,0x90,0x00,0x00,0x6f,0x66,0x00,0x00,0x36,0x71,0xea,0x81,0x97,0x5f, 0x00,0x00,0x89,0x5b,0x00,0x00,0xba,0x4e,0x00,0x00,0xed,0x56,0x00,0x00,0x05,0x6e,0x90,0x6e,0x00,0x00, 0x77,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x51,0x65,0x00,0x00,0x67,0x52,0x00,0x00,0x00,0x97,0x00,0x00, 0x8e,0x4e,0x00,0x00,0x27,0x60,0x00,0x00,0x1f,0x90,0x00,0x00,0xca,0x8b,0x00,0x00,0x51,0x65,0x66,0x8f, 0x00,0x00,0xd9,0x5f,0x00,0x00,0xcc,0x8d,0x00,0x00,0x03,0x00,0x00,0x00,0x36,0x71,0xc3,0x5f,0xa8,0x52, 0x00,0x00,0x26,0x60,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x8d,0x00,0x00,0x31,0x72, 0x00,0x00,0x3c,0x68,0x00,0x00,0xfd,0x80,0x00,0x00,0x1f,0x75,0x3b,0x6d,0x00,0x00,0x2b,0x52,0x00,0x00, 0x32,0x6b,0x00,0x00,0x1f,0x61,0x00,0x00,0xc5,0x60,0x00,0x00,0xf7,0x4e,0xd4,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x68,0x60,0x00,0x00,0x14,0x6c,0x00,0x00,0x00,0x8a,0x00,0x00,0xf5,0x5f,0x00,0x00,0xf0,0x58, 0x7d,0x8f,0x53,0x90,0x00,0x00,0x29,0x59,0x24,0x5c,0xba,0x4e,0x00,0x00,0x87,0x59,0x00,0x00,0xb6,0x5b, 0x00,0x00,0x4c,0x65,0x00,0x00,0x8e,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x72,0x00,0x00,0x08,0x57, 0x00,0x00,0x02,0x5f,0x00,0x00,0x7d,0x51,0x00,0x00,0x2a,0x60,0x84,0x76,0x00,0x00,0x0d,0x4e,0x97,0x5f, 0x00,0x00,0x00,0x87,0xcd,0x9e,0x00,0x00,0x8b,0x4e,0x00,0x00,0x73,0x54,0x00,0x00,0x61,0x8c,0x00,0x00, 0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x08,0x00,0x00,0x00,0xe6,0x61,0x00,0x00,0x31,0x5f,0x00,0x00, 0x3a,0x57,0x00,0x00,0x1f,0x75,0x1f,0x75,0x00,0x00,0x1f,0x75,0x00,0x00,0x35,0x96,0x00,0x00,0xf0,0x58, 0x2f,0x60,0x14,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0x06,0x00,0x00,0x00,0xee,0x76,0xca,0x60,0xc3,0x5f, 0x00,0x00,0xd5,0x60,0x00,0x00,0x34,0x59,0x00,0x00,0x36,0x71,0x00,0x00,0x3a,0x57,0x00,0x00,0xe7,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x7e,0x00,0x00,0xcf,0x7e,0x06,0x74,0x00,0x00,0x53,0x4f,0x00,0x00, 0xc1,0x88,0x00,0x00,0x06,0x74,0x00,0x00,0x9d,0x98,0x00,0x00,0x2f,0x66,0x00,0x00,0xcf,0x91,0x00,0x00, 0xe8,0x90,0x00,0x00,0x40,0x5c,0x00,0x00,0x03,0x00,0x00,0x00,0x48,0x4e,0x00,0x00,0x30,0x57,0x00,0x00, 0x2c,0x82,0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x5f,0xcc,0x51,0x31,0x5f,0x00,0x00,0x4d,0x62,0xb2,0x50, 0x69,0x72,0x00,0x00,0x4d,0x62,0x00,0x00,0x3a,0x5f,0x3a,0x6b,0x31,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x31,0x72,0x00,0x00,0xba,0x4e,0x00,0x00,0xc5,0x60,0x00,0x00,0xb3,0x8d,0x00,0x00,0x0a,0x4e,0x00,0x00, 0x4b,0x60,0x00,0x00,0xe5,0x7a,0x56,0x76,0x00,0x00,0x4b,0x60,0x0d,0x4e,0x0d,0x82,0x00,0x00,0x18,0x62, 0x00,0x00,0x8a,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xda,0x60,0x00,0x00,0x36,0x71,0x27,0x59,0x9f,0x60, 0x00,0x00,0x36,0x71,0x00,0x00,0x82,0x59,0x00,0x00,0xe5,0x82,0x00,0x00,0x82,0x59,0x94,0x96,0x16,0x4e, 0x00,0x00,0x4d,0x60,0xda,0x60,0xda,0x60,0x00,0x00,0xe5,0x82,0x94,0x96,0x16,0x4e,0x00,0x00,0x5e,0x79, 0x00,0x00,0x36,0x71,0x92,0x91,0x9f,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x60,0x00,0x00,0x15,0x60, 0x00,0x00,0x4c,0x61,0x00,0x00,0xe7,0x60,0x00,0x00,0x16,0x60,0x3b,0x4e,0x49,0x4e,0x00,0x00,0x99,0x9f, 0x00,0x00,0x13,0x54,0x00,0x00,0x4c,0x61,0x27,0x60,0x00,0x00,0xe7,0x60,0xc7,0x75,0x00,0x00,0x16,0x60, 0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x63,0x00,0x00,0x27,0x59,0x00,0x00,0x1f,0x75,0x00,0x00, 0x29,0x59,0x36,0x71,0x00,0x00,0x1f,0x66,0x00,0x00,0xfa,0x57,0x00,0x00,0xf0,0x6c,0x00,0x00,0xe1,0x4f, 0x00,0x00,0x9a,0x5b,0x00,0x00,0x5e,0x74,0x00,0x00,0x02,0x00,0x00,0x00,0xf6,0x60,0x00,0x00,0x53,0x60, 0x00,0x00,0x02,0x00,0x00,0x00,0x6a,0x7f,0x00,0x00,0x76,0x51,0x40,0x62,0xed,0x77,0x00,0x00,0x02,0x00, 0x00,0x00,0x6b,0x86,0xc5,0x75,0x00,0x00,0x6b,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x59,0x00,0x00, 0x0d,0x59,0x27,0x60,0x00,0x00,0x18,0x5f,0x00,0x00,0x8f,0x5b,0x00,0x00,0x0d,0x59,0x38,0x5e,0x01,0x60, 0x00,0x00,0x62,0x60,0x00,0x00,0x0d,0x59,0x39,0x8d,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0d,0x59,0xfb,0x7c, 0x00,0x00,0xd3,0x5e,0x00,0x00,0x09,0x00,0x00,0x00,0x0f,0x61,0x00,0x00,0xc5,0x60,0x00,0x00,0x86,0x80, 0x00,0x00,0x0f,0x61,0x84,0x59,0x3a,0x4e,0x00,0x00,0x62,0x77,0x00,0x00,0x32,0x6b,0x00,0x00,0x86,0x80, 0x6a,0x6c,0x0b,0x6d,0x00,0x00,0x4c,0x88,0xe0,0x65,0xcc,0x5f,0x00,0x00,0x0f,0x61,0x4c,0x88,0x50,0x4e, 0x00,0x00,0x04,0x00,0x00,0x00,0x6b,0x88,0x00,0x00,0xd1,0x91,0x00,0x00,0xe0,0x5a,0x00,0x00,0x2e,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x4e,0x97,0x5f,0x00,0x00,0x7b,0x6b,0x00,0x00,0x0f,0x61,0x00,0x00, 0x4b,0x4e,0x65,0x51,0xa8,0x9a,0x00,0x00,0xc1,0x94,0x0d,0x4e,0x10,0x62,0xa2,0x94,0x00,0x00,0xc1,0x5a, 0x00,0x00,0x76,0x60,0x00,0x00,0x8b,0x4e,0x00,0x00,0x65,0x51,0xa8,0x9a,0xd3,0x9a,0x00,0x00,0xba,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x72,0x00,0x00,0x28,0x60,0x00,0x00,0x78,0x51,0x00,0x00,0xbd,0x65, 0x00,0x00,0x08,0x5e,0x00,0x00,0xb7,0x5f,0x00,0x00,0x50,0x8d,0x00,0x00,0xba,0x4e,0x00,0x00,0x3c,0x68, 0xaf,0x65,0x00,0x00,0xe0,0x60,0x00,0x00,0x06,0x00,0x00,0x00,0x88,0x5b,0x00,0x00,0x3d,0x5c,0x00,0x00, 0x75,0x90,0x00,0x00,0x3d,0x5c,0x4c,0x80,0x88,0x5b,0x00,0x00,0x4e,0x61,0x00,0x00,0xe1,0x4f,0x00,0x00, 0x01,0x00,0x00,0x00,0x13,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x97,0x00,0x00,0xe1,0x6d,0x00,0x00, 0x0d,0x4e,0xe5,0x77,0x3b,0x80,0x00,0x00,0x6c,0x60,0x00,0x00,0x36,0x71,0x00,0x00,0x02,0x90,0x00,0x00, 0x09,0x61,0x00,0x00,0x8e,0x7f,0x00,0x00,0xb9,0x6f,0x00,0x00,0x38,0x90,0x00,0x00,0x0a,0x00,0x00,0x00, 0x6c,0x65,0x00,0x00,0x9c,0x55,0x00,0x00,0xf4,0x7e,0x00,0x00,0x6d,0x60,0x6c,0x65,0x6c,0x65,0x00,0x00, 0xf7,0x8b,0x00,0x00,0x19,0x50,0x00,0x00,0x3a,0x8d,0x00,0x00,0x8b,0x73,0x9c,0x5e,0x00,0x00,0xce,0x57, 0x00,0x00,0x9c,0x55,0xd1,0x53,0x22,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x6f,0x60,0xf8,0x76,0x73,0x51, 0x00,0x00,0xee,0x5d,0x00,0x00,0x87,0x73,0x00,0x00,0x0e,0x7a,0x00,0x00,0x89,0x80,0x00,0x00,0x8b,0x4e, 0x81,0x5b,0xba,0x4e,0x00,0x00,0x6d,0x70,0x00,0x00,0x7e,0x70,0x00,0x00,0xbf,0x53,0x00,0x00,0x39,0x8d, 0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x60,0x00,0x00,0x7d,0x59,0x00,0x00,0x53,0x5f,0x00,0x00,0xe7,0x5d, 0x00,0x00,0x70,0x60,0xf8,0x76,0xcd,0x53,0x00,0x00,0x30,0x52,0x7d,0x59,0x04,0x59,0x00,0x00,0x82,0x59, 0x76,0x51,0x06,0x52,0x00,0x00,0x3c,0x4f,0x00,0x00,0x82,0x59,0x00,0x00,0x4b,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf7,0x8b,0x00,0x00,0x42,0x6c,0x00,0x00,0x08,0x8c,0x1a,0x4f,0x00,0x00,0x07,0x52,0x00,0x00, 0x08,0x8c,0x00,0x00,0xb2,0x4e,0x00,0x00,0x58,0x62,0x00,0x00,0x1a,0x63,0x00,0x00,0x9e,0x8f,0x00,0x00, 0x1b,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x53,0x00,0x00,0x0f,0x61,0x00,0x00,0xa3,0x52,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x27,0x60,0x00,0x00,0x27,0x60,0xaa,0x5f,0xaf,0x73,0x00,0x00,0x1a,0x4e,0x00,0x00, 0x54,0x9b,0x00,0x00,0x9c,0x67,0x00,0x00,0x27,0x60,0xbf,0x80,0x24,0x76,0x00,0x00,0x02,0x00,0x00,0x00, 0xed,0x54,0x00,0x00,0xed,0x54,0xf0,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x79,0x60,0x00,0x00,0x04,0x00, 0x00,0x00,0x92,0x64,0x00,0x00,0x8c,0x60,0x00,0x00,0x7b,0x5f,0x00,0x00,0x1f,0x5f,0x00,0x00,0x04,0x00, 0x00,0x00,0x90,0x96,0x4b,0x4e,0xc3,0x5f,0x00,0x00,0x90,0x96,0x00,0x00,0x36,0x71,0x00,0x00,0x1b,0x60, 0x4b,0x4e,0xc3,0x5f,0x00,0x00,0x07,0x00,0x00,0x00,0x6b,0x70,0x00,0x00,0x12,0x60,0x00,0x00,0xba,0x4e, 0x00,0x00,0x9e,0x7f,0x10,0x62,0x12,0x60,0x00,0x00,0x71,0x4e,0x00,0x00,0xb3,0x5b,0x00,0x00,0x68,0x60, 0x00,0x00,0x02,0x00,0x00,0x00,0xe3,0x4e,0x00,0x00,0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71, 0x00,0x00,0x84,0x60,0x00,0x00,0xe0,0x65,0xf0,0x58,0x6f,0x60,0x00,0x00,0x84,0x60,0x84,0x76,0x00,0x00, 0x84,0x60,0xdd,0x8b,0x00,0x00,0xf0,0x58,0x00,0x00,0x36,0x71,0xe0,0x65,0xf0,0x58,0x00,0x00,0x84,0x60, 0x30,0x57,0x00,0x00,0x84,0x60,0x36,0x71,0x00,0x00,0xc2,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x5c, 0x00,0x00,0x70,0x65,0x00,0x00,0xc3,0x5f,0x00,0x00,0x3c,0x5c,0x27,0x59,0x66,0x5b,0x00,0x00,0x80,0x6a, 0x00,0x00,0x3c,0x5c,0x02,0x5e,0x00,0x00,0x2e,0x55,0x00,0x00,0x3c,0x5c,0x2f,0x6e,0x00,0x00,0x3c,0x5c, 0xba,0x4e,0x00,0x00,0x3c,0x5c,0x7e,0x6e,0x00,0x00,0x02,0x00,0x00,0x00,0x66,0x77,0x00,0x00,0xcb,0x53, 0x00,0x00,0x07,0x00,0x00,0x00,0x6c,0x9a,0x00,0x00,0x36,0x71,0x00,0x00,0x2a,0x53,0x00,0x00,0x06,0x5c, 0x00,0x00,0x87,0x59,0x00,0x00,0xc7,0x52,0x00,0x00,0x36,0x71,0x0d,0x4e,0x7e,0x98,0x00,0x00,0x0a,0x00, 0x00,0x00,0x39,0x65,0x00,0x00,0x6a,0x7f,0x00,0x00,0x68,0x60,0x00,0x00,0xc7,0x8f,0x00,0x00,0x0f,0x61, 0x00,0x00,0xc7,0x8f,0x66,0x4e,0x00,0x00,0x9f,0x60,0x00,0x00,0x0d,0x4e,0x53,0x5f,0x1d,0x52,0x00,0x00, 0x5a,0x5a,0x00,0x00,0xc7,0x8f,0xea,0x81,0xb0,0x65,0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x8b,0x00,0x00, 0x06,0x90,0x00,0x00,0x2c,0x8c,0x00,0x00,0x06,0x74,0x00,0x00,0x71,0x4e,0x00,0x00,0x65,0x51,0x96,0x60, 0xfa,0x51,0x00,0x00,0xf6,0x65,0x00,0x00,0x66,0x66,0x00,0x00,0x2a,0x7f,0x00,0x00,0x02,0x00,0x00,0x00, 0x36,0x71,0x00,0x00,0xe7,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x7a,0x7a,0x00,0x00,0x53,0x90,0x00,0x00, 0x27,0x60,0x00,0x00,0xfa,0x51,0x00,0x00,0x2c,0x67,0x02,0x58,0x00,0x00,0x05,0x80,0x00,0x00,0x83,0x58, 0x00,0x00,0xe3,0x89,0x00,0x00,0xc3,0x5f,0x00,0x00,0xc0,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x4e, 0x00,0x00,0xf2,0x95,0x00,0x00,0xa0,0x60,0x00,0x00,0x6c,0x62,0x00,0x00,0x36,0x71,0x00,0x00,0x7f,0x95, 0x00,0x00,0xc6,0x89,0x51,0x7f,0x00,0x00,0xdc,0x8f,0x00,0x00,0x38,0x6e,0x00,0x00,0x36,0x71,0xea,0x81, 0x97,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0x3f,0x51,0x00,0x00,0xc5,0x75,0x00,0x00, 0x09,0x67,0x00,0x00,0xc5,0x75,0x87,0x73,0x00,0x00,0x04,0x59,0x00,0x00,0xbe,0x96,0x00,0x00,0x97,0x5f, 0xa3,0x60,0x31,0x59,0x00,0x00,0xb9,0x65,0x00,0x00,0xbe,0x96,0x0e,0x4e,0x71,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0xbe,0x8f,0x00,0x00,0xa6,0x60,0x00,0x00,0x33,0x80,0x00,0x00,0xa8,0x52,0x00,0x00,0xce,0x57, 0x00,0x00,0xee,0x76,0x00,0x00,0x3b,0x6d,0x00,0x00,0x0f,0x61,0x00,0x00,0xb7,0x5e,0x00,0x00,0x65,0x67, 0x00,0x00,0x02,0x00,0x00,0x00,0x7d,0x59,0x00,0x00,0x01,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x5d, 0x00,0x00,0xf5,0x5f,0x00,0x00,0x02,0x63,0x00,0x00,0x4f,0x8d,0x00,0x00,0x8a,0x6b,0x00,0x00,0x6e,0x6d, 0x00,0x00,0x91,0x75,0x00,0x00,0x0c,0x80,0x2a,0x67,0xb3,0x51,0x00,0x00,0x7a,0x7a,0x00,0x00,0x48,0x68, 0x00,0x00,0x02,0x00,0x00,0x00,0x1d,0x54,0x00,0x00,0xed,0x4f,0x00,0x00,0x02,0x00,0x00,0x00,0x64,0x60, 0x00,0x00,0xdc,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x89,0x00,0x00,0x67,0x52,0x00,0x00,0x24,0x4f, 0x00,0x00,0xc0,0x54,0x00,0x00,0xac,0x50,0x00,0x00,0xdb,0x75,0x00,0x00,0xe8,0x60,0x00,0x00,0xc3,0x5f, 0x00,0x00,0xc5,0x60,0x00,0x00,0xee,0x58,0x00,0x00,0x02,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x17,0x68, 0x00,0x00,0x02,0x00,0x00,0x00,0xbb,0x60,0x00,0x00,0x36,0x71,0x00,0x00,0x06,0x00,0x00,0x00,0xf5,0x5f, 0x00,0x00,0xcd,0x8b,0x00,0x00,0xa1,0x4e,0x00,0x00,0x01,0x55,0x00,0x00,0x9e,0x8f,0x00,0x00,0x44,0x89, 0x8b,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xb5,0x51,0x00,0x00,0xea,0x7e,0x00,0x00,0xa5,0x62,0x00,0x00, 0x62,0x5f,0x00,0x00,0x1f,0x61,0x00,0x00,0x82,0x82,0x00,0x00,0xa3,0x4f,0x00,0x00,0x6f,0x66,0x00,0x00, 0xba,0x4e,0x00,0x00,0xba,0x4e,0x82,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x05,0x60,0x00,0x00,0x05,0x60, 0xe5,0x82,0x31,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x9c,0x55,0x00,0x00,0xb6,0x8b, 0x00,0x00,0x47,0x59,0x00,0x00,0xf9,0x53,0x00,0x00,0x92,0x91,0x00,0x00,0x7c,0x54,0x00,0x00,0x73,0x82, 0x00,0x00,0x13,0x54,0x00,0x00,0xb0,0x73,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x60,0x00,0x00,0x03,0x00, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x71,0x4e,0x00,0x00,0x1f,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0xd3,0x60, 0x00,0x00,0x03,0x00,0x00,0x00,0xb1,0x52,0x00,0x00,0x89,0x53,0x00,0x00,0x36,0x71,0x00,0x00,0x02,0x00, 0x00,0x00,0x36,0x71,0x00,0x00,0xfb,0x95,0x00,0x00,0x01,0x00,0x00,0x00,0xd9,0x60,0x00,0x00,0x01,0x00, 0x00,0x00,0x04,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x8f,0x79,0x00,0x00,0x37,0x8d,0x00,0x00,0x2b,0x52, 0x00,0x00,0xa8,0x58,0x82,0x59,0xd1,0x91,0x00,0x00,0x25,0x8d,0x8e,0x4e,0x00,0x00,0x34,0x96,0x00,0x00, 0x2e,0x55,0x00,0x00,0x25,0x8d,0x00,0x00,0x9b,0x52,0x00,0x00,0xf8,0x5b,0x34,0x96,0x00,0x00,0x01,0x00, 0x00,0x00,0x4d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x4e,0x00,0x00,0x09,0x67,0x00,0x00,0x99,0x59, 0xdf,0x60,0x96,0x80,0x00,0x00,0xec,0x72,0x00,0x00,0x50,0x60,0x00,0x00,0xea,0x8f,0x00,0x00,0x29,0x52, 0x2f,0x66,0xfe,0x56,0x00,0x00,0x11,0x62,0xec,0x72,0x0a,0x5c,0x00,0x00,0x50,0x60,0x29,0x59,0x0b,0x4e, 0x0d,0x4e,0x71,0x4e,0x00,0x00,0x76,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x66,0x00,0x00,0xde,0x5d, 0x00,0x00,0x11,0x6c,0x00,0x00,0x89,0x8a,0x00,0x00,0xca,0x53,0x00,0x00,0x0f,0x6c,0x00,0x00,0x79,0x72, 0xfc,0x66,0x00,0x00,0x9c,0x51,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x06,0x74,0x00,0x00,0x04,0x00, 0x00,0x00,0xb0,0x8b,0x00,0x00,0xf5,0x5f,0x00,0x00,0xe6,0x60,0x00,0x00,0x02,0x63,0x00,0x00,0x04,0x00, 0x00,0x00,0x15,0x60,0x00,0x00,0x72,0x82,0x00,0x00,0x85,0x51,0x00,0x00,0xd8,0x9a,0xc7,0x75,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcd,0x91,0x00,0x00,0xe1,0x6d,0x00,0x00,0xc8,0x70,0x00,0x00,0x67,0x52,0x00,0x00, 0x48,0x68,0x00,0x00,0x6d,0x90,0x00,0x00,0xdb,0x75,0x00,0x00,0x0d,0x4e,0xcd,0x5f,0x79,0x77,0x00,0x00, 0x25,0x8d,0x00,0x00,0xb6,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x7f,0x00,0x00,0x04,0x59,0x00,0x00, 0xbb,0x6c,0x00,0x00,0x5a,0x7f,0x27,0x60,0x00,0x00,0x12,0x62,0x00,0x00,0x32,0x96,0x00,0x00,0x9e,0x52, 0x00,0x00,0x76,0x60,0x6c,0x62,0x84,0x55,0x00,0x00,0xf6,0x51,0x00,0x00,0x4d,0x52,0xd6,0x6b,0x0e,0x54, 0x00,0x00,0x03,0x00,0x00,0x00,0xd2,0x61,0x00,0x00,0x26,0x50,0x00,0x00,0x56,0x8d,0x00,0x00,0x03,0x00, 0x00,0x00,0x0f,0x61,0x00,0x00,0x53,0x5f,0x00,0x00,0x00,0x60,0x00,0x00,0x05,0x00,0x00,0x00,0x27,0x61, 0x00,0x00,0x72,0x82,0x00,0x00,0x9a,0x75,0x00,0x00,0x0d,0x60,0x00,0x00,0x9c,0x98,0x00,0x00,0x0a,0x00, 0x00,0x00,0x8b,0x4f,0x00,0x00,0x27,0x60,0x00,0x00,0x28,0x75,0x00,0x00,0x38,0x5e,0x00,0x00,0xaf,0x72, 0x00,0x00,0x27,0x60,0xfb,0x7c,0x00,0x00,0x09,0x67,0x00,0x00,0x27,0x60,0x9b,0x52,0x00,0x00,0x77,0x50, 0x00,0x00,0xfc,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x27,0x60,0x00,0x00,0x27,0x60,0x14,0x6c,0x53,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0xd5,0x6c,0x00,0x00,0x61,0x8c,0x00,0x00,0x81,0x89, 0x00,0x00,0x77,0x8d,0x00,0x00,0xf3,0x60,0x00,0x00,0x61,0x8c,0x9b,0x52,0x00,0x00,0xcf,0x50,0x00,0x00, 0x0d,0x4e,0x30,0x52,0x00,0x00,0xb9,0x65,0xbe,0x8b,0xd5,0x6c,0x00,0x00,0x03,0x00,0x00,0x00,0xf4,0x60, 0x0d,0x4e,0x89,0x5b,0x00,0x00,0xf4,0x60,0x00,0x00,0x17,0x68,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x60, 0x00,0x00,0xf6,0x60,0x00,0x00,0x50,0x60,0x0d,0x4e,0x89,0x5b,0x00,0x00,0xd1,0x60,0x00,0x00,0x36,0x71, 0x00,0x00,0xf6,0x60,0x36,0x71,0x00,0x00,0x9a,0x60,0x00,0x00,0x50,0x60,0xe9,0x6e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x78,0x79,0x00,0x00,0x12,0x60,0x00,0x00,0x7c,0x60,0x00,0x00,0x8b,0x4e,0x00,0x00,0x0d,0x4e, 0x77,0x8d,0x00,0x00,0x6b,0x70,0x00,0x00,0xba,0x4e,0xe8,0x6c,0xee,0x76,0x00,0x00,0x2f,0x66,0x1f,0x75, 0x5e,0x97,0x00,0x00,0xba,0x4e,0x8c,0x53,0x00,0x00,0x8b,0x4e,0x1f,0x75,0x5e,0x97,0x00,0x00,0x06,0x00, 0x00,0x00,0xfa,0x60,0xf8,0x76,0xdc,0x60,0x00,0x00,0xea,0x5f,0x00,0x00,0xfa,0x60,0x00,0x00,0xfa,0x60, 0x5c,0x4f,0x01,0x60,0x00,0x00,0x7e,0x67,0x00,0x00,0xfa,0x60,0xdc,0x60,0xfa,0x60,0xfa,0x60,0x00,0x00, 0x0a,0x00,0x00,0x00,0x09,0x77,0xe6,0x82,0x38,0x81,0x00,0x00,0xb9,0x5b,0x00,0x00,0x09,0x77,0x0d,0x4e, 0x55,0x5c,0x00,0x00,0xe6,0x82,0x00,0x00,0x91,0x4e,0x00,0x00,0x91,0x4e,0xe8,0x60,0xfe,0x96,0x00,0x00, 0xea,0x7e,0x00,0x00,0x09,0x77,0x00,0x00,0xa0,0x80,0x00,0x00,0xf7,0x95,0x00,0x00,0x02,0x00,0x00,0x00, 0x24,0x5c,0x00,0x00,0x1f,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x14,0x6f,0x08,0x61,0xc8,0x70,0x00,0x00, 0xd1,0x53,0x00,0x00,0xa0,0x52,0x00,0x00,0x08,0x54,0x00,0x00,0x65,0x67,0x08,0x61,0x00,0x00,0xca,0x76, 0x00,0x00,0xcf,0x63,0x08,0x61,0xd1,0x9e,0x00,0x00,0x0d,0x59,0x00,0x00,0x05,0x00,0x00,0x00,0xeb,0x5f, 0x00,0x00,0xa6,0x60,0x00,0x00,0xa6,0x60,0x1f,0x61,0x00,0x00,0x85,0x60,0x00,0x00,0x09,0x61,0xeb,0x5f, 0xeb,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x89,0x00,0x00,0x49,0x4e,0x00,0x00,0x73,0x54,0x40,0x77, 0x00,0x00,0xc6,0x8b,0x00,0x00,0x16,0x59,0x00,0x00,0x27,0x59,0x29,0x52,0x00,0x00,0x1d,0x60,0x00,0x00, 0x73,0x54,0x00,0x00,0x3f,0x61,0x00,0x00,0xfe,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0x22,0x88,0x00,0x00,0xf4,0x75,0x00,0x00,0x27,0x66,0x00,0x00,0xba,0x4e,0x82,0x82, 0x00,0x00,0x04,0x5f,0x00,0x00,0xba,0x4e,0x00,0x00,0x05,0x80,0x00,0x00,0x28,0x7b,0x00,0x00,0x9d,0x94, 0x00,0x00,0x6c,0x51,0xfb,0x79,0x71,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc9,0x89,0x00,0x00,0x30,0x52, 0x00,0x00,0xd7,0x53,0x00,0x00,0xd3,0x67,0x00,0x00,0xc5,0x60,0x00,0x00,0x22,0x8c,0x00,0x00,0x92,0x51, 0x00,0x00,0xa8,0x52,0x00,0x00,0xf9,0x53,0x00,0x00,0x68,0x61,0x00,0x00,0x02,0x00,0x00,0x00,0x72,0x82, 0x00,0x00,0x12,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x4f,0x4f,0x00,0x00,0x34,0x59,0x52,0x97,0x00,0x00, 0x5e,0x79,0x00,0x00,0x34,0x59,0x23,0x61,0x11,0x81,0x00,0x00,0x14,0x60,0x00,0x00,0x5e,0x79,0x3f,0x51, 0x00,0x00,0x2f,0x66,0x00,0x00,0x72,0x5e,0x00,0x00,0xb2,0x52,0x3f,0x51,0x00,0x00,0x34,0x59,0x3f,0x51, 0x52,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x60,0x00,0x00,0x68,0x61,0x00,0x00,0x52,0x97,0x00,0x00, 0x68,0x60,0x00,0x00,0xd1,0x61,0x00,0x00,0x24,0x61,0x0d,0x4e,0x73,0x5e,0x00,0x00,0x36,0x71,0x00,0x00, 0x24,0x61,0x00,0x00,0x16,0x4e,0xc9,0x5a,0xd7,0x4f,0x00,0x00,0xc0,0x6f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9a,0x75,0x00,0x00,0xf9,0x5b,0x00,0x00,0x9a,0x75,0x1f,0x61,0x00,0x00,0x72,0x82,0x00,0x00,0x94,0x60, 0x00,0x00,0x0d,0x4e,0x62,0x65,0x53,0x5f,0x00,0x00,0x0d,0x60,0x00,0x00,0x8e,0x4e,0x00,0x00,0x67,0x8d, 0x00,0x00,0x68,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x61,0x00,0x00,0x1b,0x67,0x00,0x00,0x6f,0x66, 0x00,0x00,0x9b,0x52,0x00,0x00,0x0d,0x4e,0x3f,0x61,0x0f,0x61,0x00,0x00,0xc3,0x5f,0x00,0x00,0x4c,0x8d, 0x0d,0x67,0x93,0x8f,0x00,0x00,0x05,0x80,0x0a,0x4e,0xa9,0x94,0x00,0x00,0x7f,0x62,0xa4,0x8b,0x00,0x00, 0x22,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x55,0x00,0x00,0xb2,0x60,0x00,0x00,0xa7,0x79,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x84,0x55,0xb6,0x5b,0x00,0x00,0x31,0x72,0x00,0x00,0xaa,0x6e,0x00,0x00,0x65,0x79, 0x00,0x00,0x4e,0x6d,0x00,0x00,0x1f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x20,0x5f, 0x00,0x00,0xd9,0x5f,0x00,0x00,0x4c,0x61,0x20,0x5f,0x20,0x5f,0x00,0x00,0x0d,0x4e,0xe9,0x62,0xef,0x8d, 0x00,0x00,0x4c,0x61,0x00,0x00,0xcc,0x91,0x4c,0x61,0x20,0x5f,0x00,0x00,0x4c,0x61,0xd9,0x5f,0xd9,0x5f, 0x00,0x00,0x5e,0x79,0x00,0x00,0x4b,0x62,0x4c,0x61,0x1a,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x91, 0x00,0x00,0x4b,0x4e,0xc8,0x53,0x4e,0x61,0x00,0x00,0xdf,0x98,0x00,0x00,0x00,0x8a,0x00,0x00,0x09,0x90, 0x00,0x00,0xc8,0x7e,0xfd,0x8f,0xdc,0x8f,0x00,0x00,0xc6,0x5b,0x00,0x00,0x28,0x75,0x00,0x00,0x65,0x51, 0x00,0x00,0xcd,0x91,0x76,0x51,0x8b,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x0d,0x67,0x00,0x00,0x01,0x00, 0x00,0x00,0x8d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x5b,0x00,0x00,0x3c,0x5c,0xd1,0x9e,0x00,0x00, 0x0d,0x54,0x0c,0x80,0x65,0x67,0x00,0x00,0x0d,0x54,0x00,0x00,0xb9,0x5b,0xea,0x96,0x51,0x67,0x00,0x00, 0xb9,0x5b,0x0d,0x59,0x00,0x00,0x30,0x75,0xea,0x5c,0x00,0x00,0x53,0x90,0xcb,0x53,0x00,0x00,0x1d,0x4e, 0x00,0x00,0x3c,0x5c,0xd1,0x9e,0x8d,0x51,0xdd,0x4f,0x69,0x96,0xc6,0x96,0xe2,0x56,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x61,0x00,0x00,0x27,0x60,0x00,0x00,0x27,0x60,0xc5,0x75,0x00,0x00,0xd1,0x8d,0x00,0x00, 0x62,0x61,0x65,0x67,0x00,0x00,0x5b,0x72,0x00,0x00,0x4c,0x88,0x00,0x00,0x27,0x60,0xbe,0x75,0xc5,0x75, 0x00,0x00,0x70,0x8d,0x00,0x00,0xed,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x77,0x00,0x00,0x6a,0x80, 0x51,0x7f,0x00,0x00,0x7d,0x54,0x00,0x00,0x6a,0x80,0x00,0x00,0xfd,0x80,0x00,0x00,0x87,0x65,0x00,0x00, 0xdc,0x8f,0x00,0x00,0x1d,0x60,0x00,0x00,0x39,0x68,0x00,0x00,0x0e,0x66,0x00,0x00,0x04,0x00,0x00,0x00, 0xf9,0x53,0x00,0x00,0x36,0x71,0x00,0x00,0x53,0x5f,0xe5,0x4e,0x77,0x61,0x00,0x00,0x00,0x8a,0x00,0x00, 0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0x89,0x5b,0x87,0x59,0x00,0x00,0xc9,0x85,0x00,0x00,0xee,0x95, 0xd1,0x91,0x00,0x00,0x89,0x5b,0x40,0x62,0x00,0x00,0x75,0x70,0x00,0x00,0xee,0x95,0xc1,0x54,0x00,0x00, 0xee,0x95,0x35,0x75,0x00,0x00,0xb3,0x52,0x00,0x00,0x89,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x61, 0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x61,0x00,0x00,0x68,0x61,0xe3,0x89,0xca,0x56,0x00,0x00,0x68,0x61, 0xc0,0x6f,0x02,0x66,0x00,0x00,0x68,0x61,0x27,0x59,0xb9,0x65,0x00,0x00,0x68,0x61,0x48,0x96,0xcd,0x8b, 0x00,0x00,0x68,0x61,0xb2,0x60,0x4c,0x6b,0x00,0x00,0x68,0x61,0x31,0x5c,0x49,0x4e,0x00,0x00,0xd6,0x4e, 0xba,0x4e,0x4b,0x4e,0x68,0x61,0x00,0x00,0x68,0x61,0x48,0x96,0x9e,0x8f,0x00,0x00,0x68,0x61,0x74,0x8d, 0x49,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x48,0x5c,0x00,0x00,0x14,0x6c,0x00,0x00,0x7b,0x6b,0x00,0x00, 0xf7,0x95,0x00,0x00,0xb3,0x8d,0xb2,0x52,0x00,0x00,0x57,0x84,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x61, 0x00,0x00,0x03,0x00,0x00,0x00,0x68,0x60,0x00,0x00,0x76,0x60,0x00,0x00,0x8c,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0xb4,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0xac,0x61,0x00,0x00,0xa7,0x61,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9a,0x53,0x00,0x00,0x01,0x60,0xef,0x53,0xac,0x63,0x00,0x00,0x46,0x8c,0x00,0x00,0xa8,0x61, 0x00,0x00,0x46,0x8c,0x48,0x51,0x1f,0x75,0x00,0x00,0xa8,0x61,0x84,0x76,0x00,0x00,0x11,0x7b,0x00,0x00, 0x01,0x60,0x00,0x00,0xf4,0x76,0x00,0x00,0x50,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00, 0x6f,0x60,0x00,0x00,0xa4,0x5b,0x8e,0x70,0x00,0x00,0x6f,0x60,0x04,0x59,0x00,0x00,0x02,0x00,0x00,0x00, 0x36,0x71,0x00,0x00,0x9f,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x3a,0x57,0x00,0x00, 0x02,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x68,0x60,0x00,0x00,0x07,0x00,0x00,0x00,0x97,0x5f,0x00,0x00, 0x8b,0x4e,0x00,0x00,0x4c,0x88,0x00,0x00,0x2d,0x4e,0x87,0x65,0x05,0x80,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x40,0x5c,0x00,0x00,0xe8,0x95,0x3f,0x51,0x00,0x00,0x05,0x00,0x00,0x00,0x20,0x60,0x00,0x00,0xf0,0x60, 0x00,0x00,0x1b,0x5f,0x00,0x00,0x20,0x60,0x10,0x62,0x60,0x4e,0x00,0x00,0x14,0x6c,0x00,0x00,0x06,0x00, 0x00,0x00,0x7c,0x60,0x00,0x00,0x94,0x60,0x00,0x00,0x27,0x4e,0x00,0x00,0x68,0x60,0x00,0x00,0xb9,0x61, 0x00,0x00,0xdf,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0x90,0x6e,0x00,0x00,0x9f,0x52,0x00,0x00,0x01,0x00, 0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x5f,0x00,0x00,0xf0,0x60,0x00,0x00,0xba,0x4e, 0x00,0x00,0x63,0x65,0x00,0x00,0xc9,0x89,0x00,0x00,0xd2,0x61,0x00,0x00,0x0b,0x6d,0x0b,0x6d,0x00,0x00, 0x6b,0x86,0x00,0x00,0x3f,0x65,0x00,0x00,0x70,0x81,0x00,0x00,0x03,0x00,0x00,0x00,0x31,0x5f,0x00,0x00, 0x2b,0x59,0x00,0x00,0x05,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x51,0x86,0x00,0x00,0x03,0x00,0x00,0x00, 0xc2,0x61,0x00,0x00,0xf5,0x61,0xc2,0x61,0xc2,0x61,0x00,0x00,0xf5,0x61,0x00,0x00,0x03,0x00,0x00,0x00, 0xe8,0x65,0x00,0x00,0x8b,0x73,0x00,0x00,0xb2,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x27,0x59,0x00,0x00, 0x34,0x59,0x06,0x62,0x11,0x81,0x00,0x00,0xf4,0x76,0x00,0x00,0x63,0x77,0x00,0x00,0x20,0x9e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xc1,0x58,0x00,0x00,0x14,0x5c,0xf4,0x5d,0x54,0x4e,0x2b,0x59,0x00,0x00,0x70,0x51, 0x00,0x00,0x14,0x5c,0x00,0x00,0xa6,0x9e,0xaf,0x65,0x00,0x00,0xc1,0x58,0xe9,0x6e,0x00,0x00,0x6c,0x9a, 0x00,0x00,0xc1,0x58,0x99,0x6c,0x20,0x6f,0x00,0x00,0xd4,0x6b,0x00,0x00,0xb7,0x5f,0xaf,0x65,0x1a,0x90, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x62,0x00,0x00,0x9d,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0xb0,0x8f, 0x00,0x00,0x0c,0x62,0xd8,0x53,0xd5,0x6c,0x00,0x00,0xc5,0x5b,0x00,0x00,0x33,0x75,0x00,0x00,0x8b,0x57, 0x9d,0x80,0x8e,0x70,0x00,0x00,0x48,0x53,0x00,0x00,0xd6,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0x0b,0x62, 0x00,0x00,0x02,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xd7,0x72,0x00,0x00,0x06,0x00,0x00,0x00,0xb9,0x8f, 0x00,0x00,0x88,0x5b,0x00,0x00,0x52,0x53,0x00,0x00,0xb9,0x8f,0xba,0x4e,0x00,0x00,0xce,0x57,0x00,0x00, 0xd2,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x88,0x00,0x00,0x6c,0x9a,0x00,0x00,0x6c,0x9a,0x1f,0x75, 0xaf,0x6d,0x00,0x00,0x6c,0x9a,0x00,0x4e,0x1f,0x75,0x00,0x00,0x63,0x88,0x00,0x00,0x6c,0x9a,0x25,0x50, 0x6c,0x50,0x00,0x00,0x3a,0x67,0x00,0x00,0xd1,0x53,0x00,0x00,0x4c,0x88,0x00,0x00,0x66,0x8f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x67,0x52,0x00,0x00,0xf0,0x79,0x00,0x00,0x67,0x52,0x27,0x60,0x00,0x00,0xf2,0x66, 0x00,0x00,0x11,0x8c,0x00,0x00,0x01,0x78,0x00,0x00,0x00,0x8a,0x00,0x00,0x67,0x52,0x16,0x53,0x00,0x00, 0xfd,0x4e,0x00,0x00,0x62,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x2c,0x67,0x00,0x00, 0x9f,0x52,0x00,0x00,0xcb,0x7a,0x00,0x00,0xa4,0x4e,0x00,0x00,0x58,0x54,0x00,0x00,0x7f,0x95,0x00,0x00, 0x9f,0x71,0x00,0x00,0xfd,0x90,0x00,0x00,0x06,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xec,0x4e,0x00,0x00, 0xfd,0x56,0x00,0x00,0x01,0x77,0x00,0x00,0xb6,0x5b,0x00,0x00,0x02,0x5e,0x00,0x00,0x9b,0x51,0x00,0x00, 0x49,0x7b,0x00,0x00,0xb9,0x65,0x00,0x00,0x4c,0x88,0x00,0x00,0x1a,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x07,0x63,0x00,0x00,0xdf,0x70,0x00,0x00,0x8b,0x5f,0x00,0x00,0x07,0x59,0x00,0x00,0xd2,0x6b,0x00,0x00, 0x64,0x96,0x00,0x00,0x52,0x91,0x00,0x00,0xeb,0x6d,0x00,0x00,0x9a,0x5b,0x67,0x61,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x02,0x00,0x00,0x00,0xb3,0x5b,0x00,0x00,0x3c,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80, 0x00,0x00,0xb8,0x8b,0x00,0x00,0x2f,0x66,0x00,0x00,0x1a,0x59,0x16,0x62,0x11,0x5c,0x00,0x00,0x0e,0x66, 0x16,0x62,0x97,0x66,0x00,0x00,0x36,0x71,0x00,0x00,0x05,0x80,0x27,0x60,0x00,0x00,0x36,0x71,0x87,0x73, 0x00,0x00,0x12,0x89,0x16,0x62,0x2c,0x8d,0x00,0x00,0x05,0x80,0x2f,0x66,0x00,0x00,0x02,0x00,0x00,0x00, 0xce,0x98,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x75,0x00,0x00,0x89,0x4e,0x00,0x00, 0x3a,0x67,0x00,0x00,0x97,0x65,0x00,0x00,0x97,0x65,0x3a,0x67,0x00,0x00,0x65,0x75,0x27,0x60,0x00,0x00, 0x3a,0x57,0x00,0x00,0xeb,0x58,0x00,0x00,0x2f,0x67,0x00,0x00,0xdc,0x80,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1a,0x62,0x00,0x00,0xe7,0x7e,0x49,0x51,0x00,0x00,0xcb,0x53,0x00,0x00,0x85,0x58,0x30,0x58,0x00,0x00, 0x1a,0x62,0x36,0x71,0x00,0x00,0x85,0x58,0x30,0x58,0x3a,0x53,0x00,0x00,0x5e,0x5c,0x00,0x00,0x1a,0x62, 0x05,0x80,0x00,0x00,0x0a,0x8c,0x00,0x00,0xcf,0x65,0x00,0x00,0x07,0x00,0x00,0x00,0xb3,0x7e,0x00,0x00, 0x36,0x71,0x0c,0x80,0x62,0x6b,0x00,0x00,0x36,0x71,0x00,0x00,0xaf,0x65,0x00,0x00,0x1b,0x62,0x00,0x00, 0x1b,0x62,0xec,0x72,0x20,0x90,0x00,0x00,0xb3,0x7e,0x82,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0xcb,0x7a, 0x00,0x00,0xeb,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x81,0x00,0x00,0x62,0x6b,0x00,0x00,0xfe,0x56,0x00,0x00,0x36,0x71, 0x0d,0x4e,0x0c,0x54,0x00,0x00,0xb7,0x83,0x00,0x00,0x59,0x75,0x00,0x00,0x36,0x71,0x00,0x00,0xa2,0x80, 0x00,0x00,0xd6,0x53,0x00,0x00,0x62,0x6b,0xe5,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x9b,0x52,0x00,0x00, 0x9b,0x52,0x0c,0x54,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0x34,0x78,0x00,0x00, 0x7f,0x7a,0x00,0x00,0x30,0x52,0x00,0x00,0x33,0x62,0x00,0x00,0x7b,0x6b,0x00,0x00,0x24,0x4f,0x00,0x00, 0xb0,0x8b,0x00,0x00,0x06,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x5c,0x00,0x00, 0xf4,0x7e,0x00,0x00,0xc6,0x59,0xd2,0x52,0x00,0x00,0x89,0x5b,0x1c,0x5a,0x00,0x00,0xd8,0x9a,0x50,0x4e, 0x00,0x00,0x57,0x59,0x00,0x00,0xf4,0x7e,0x25,0x84,0x00,0x00,0x4b,0x62,0x57,0x59,0x00,0x00,0xc9,0x79, 0xfd,0x56,0x00,0x00,0xf8,0x80,0x69,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x7c,0x00,0x00,0xe3,0x53, 0x00,0x00,0x16,0x59,0x00,0x00,0x8b,0x57,0x00,0x00,0x70,0x65,0x00,0x00,0xe3,0x53,0x2c,0x67,0x00,0x00, 0x3b,0x4e,0x00,0x00,0xe3,0x53,0x3f,0x7c,0x00,0x00,0x4d,0x7c,0x30,0x57,0x00,0x00,0x34,0x59,0x00,0x00, 0x02,0x00,0x00,0x00,0x97,0x65,0x00,0x00,0x34,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0x14,0x6c,0x00,0x00, 0x99,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57,0xa7,0x4e,0x00,0x00,0xf7,0x4e,0x00,0x00,0x50,0x5b, 0x00,0x00,0x4b,0x5c,0x00,0x00,0xa7,0x4e,0x00,0x00,0xf4,0x95,0x00,0x00,0x01,0x4f,0x00,0x00,0xa7,0x4e, 0x0e,0x7a,0x00,0x00,0x37,0x8d,0x00,0x00,0x90,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x4e,0x00,0x00, 0x09,0x67,0x00,0x00,0x13,0x8c,0x00,0x00,0x28,0x57,0x00,0x00,0x7f,0x95,0x00,0x00,0x97,0x5f,0x00,0x00, 0x5e,0x5c,0x00,0x00,0x97,0x5f,0x0e,0x7a,0x00,0x00,0x28,0x57,0x30,0x57,0x00,0x00,0x09,0x67,0x43,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x5e,0x00,0x00,0x46,0x8c,0x00,0x00,0x73,0x5e,0x16,0x53,0x00,0x00, 0x43,0x68,0xc1,0x4e,0x00,0x00,0x43,0x68,0x53,0x4f,0x00,0x00,0xc5,0x62,0x00,0x00,0x4a,0x9e,0x00,0x00, 0x43,0x68,0x53,0x4f,0x8e,0x70,0x00,0x00,0x43,0x68,0x00,0x00,0x1f,0x82,0x00,0x00,0x01,0x00,0x00,0x00, 0x54,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x1d,0x8d,0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x97,0x00,0x00, 0x62,0x5f,0x00,0x00,0x33,0x80,0x49,0x51,0x00,0x00,0xa8,0x9a,0x00,0x00,0xa8,0x52,0x00,0x00,0xf6,0x53, 0x00,0x00,0x3a,0x53,0x00,0x00,0x3b,0x75,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x4e,0x00,0x00,0xb6,0x5b, 0x84,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x75,0x98,0x00,0x00,0x3b,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3a,0x67,0x00,0x00,0xb5,0x6b,0x00,0x00,0x2f,0x67,0x00,0x00,0xed,0x7e,0x00,0x00,0x2d,0x4e,0x00,0x00, 0xed,0x7e,0x39,0x8d,0x00,0x00,0xcc,0x91,0x00,0x00,0x07,0x63,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x80,0x00,0x00,0x4e,0x53,0x00,0x00,0x7a,0x82,0x00,0x00,0x50,0x5b, 0x00,0x00,0x72,0x5e,0x00,0x00,0x7a,0x66,0x00,0x00,0x73,0x59,0x00,0x00,0x4e,0x53,0x2a,0x6a,0xa2,0x6e, 0x00,0x00,0x8f,0x75,0x66,0x5b,0x45,0x6d,0x00,0x00,0xca,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x9e,0x5b, 0x00,0x00,0x4b,0x51,0x00,0x00,0x06,0x58,0x00,0x00,0x39,0x68,0x00,0x00,0x14,0x5c,0xbe,0x8f,0xcc,0x91, 0x00,0x00,0x7f,0x89,0x00,0x00,0x4e,0x62,0x9e,0x5b,0x9e,0x5b,0x00,0x00,0x3c,0x77,0x00,0x00,0x25,0x84, 0x00,0x00,0x88,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x6d,0x70,0x00,0x00,0x51,0x65,0x00,0x00,0x14,0x67, 0xf7,0x8f,0xbb,0x79,0x00,0x00,0x4b,0x51,0x00,0x00,0x62,0x97,0x0c,0x80,0x65,0x67,0x00,0x00,0x6b,0x70, 0x00,0x00,0x4b,0x51,0x4c,0x72,0x00,0x00,0x40,0x67,0x00,0x00,0x3b,0x9f,0x00,0x00,0x1a,0x90,0x00,0x00, 0x0a,0x00,0x00,0x00,0x83,0x7a,0x00,0x00,0x4b,0x62,0x00,0x00,0x00,0x5f,0x00,0x00,0xc9,0x62,0x00,0x00, 0xae,0x76,0x00,0x00,0x49,0x51,0x00,0x00,0x21,0x9e,0x00,0x00,0xaa,0x7c,0x00,0x00,0x66,0x8f,0x00,0x00, 0x70,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x51,0x00,0x00,0x20,0x90,0x00,0x00,0x00,0x5f,0x00,0x00, 0x97,0x7b,0x00,0x00,0x34,0x78,0x00,0x00,0x35,0x75,0xdd,0x8b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x70,0x53, 0x00,0x00,0x98,0x62,0x00,0x00,0x8b,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0x89,0x63,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x8b,0x97,0x00,0x00,0x2a,0x4e,0x00,0x00,0x03,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x7b, 0x00,0x00,0x6c,0x9a,0xaf,0x65,0x00,0x00,0xa1,0x7b,0xba,0x4e,0x00,0x00,0xd0,0x8f,0x00,0x00,0x3c,0x5c, 0x00,0x00,0x02,0x5e,0x00,0x00,0xa1,0x7b,0x39,0x8d,0x00,0x00,0xd8,0x4e,0x00,0x00,0xd8,0x76,0x00,0x00, 0x8f,0x79,0x00,0x00,0x03,0x00,0x00,0x00,0x0e,0x9f,0x4b,0x4e,0x5c,0x4f,0x00,0x00,0xde,0x56,0x00,0x00, 0x3b,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x64,0x96,0x00,0x00,0xbc,0x62,0x00,0x00,0x59,0x75,0x00,0x00, 0x63,0x62,0x00,0x00,0x39,0x8d,0x00,0x00,0x06,0x52,0x00,0x00,0x0e,0x7a,0x00,0x00,0x5e,0x97,0x00,0x00, 0x50,0x5b,0x00,0x00,0x34,0x7f,0x00,0x00,0x03,0x00,0x00,0x00,0xd2,0x63,0x00,0x00,0x50,0x5b,0x00,0x00, 0x4b,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0xd5,0x6c,0x00,0x00,0x4c,0x88,0x98,0x5b, 0x00,0x00,0x3f,0x65,0x00,0x00,0x40,0x77,0x00,0x00,0x1a,0x4e,0x00,0x00,0x3f,0x65,0x5a,0x51,0x00,0x00, 0xe4,0x52,0x00,0x00,0x57,0x84,0x00,0x00,0x8c,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x59,0x00,0x00, 0x20,0x5f,0x00,0x00,0x55,0x5c,0x00,0x00,0x63,0x65,0x00,0x00,0xb9,0x5b,0x00,0x00,0xfa,0x5e,0x00,0x00, 0x45,0x51,0x00,0x00,0xa1,0x80,0x00,0x00,0xf4,0x56,0x00,0x00,0xa7,0x4e,0x00,0x00,0x04,0x00,0x00,0x00, 0xc3,0x5f,0xea,0x81,0xee,0x95,0x00,0x00,0xc3,0x5f,0x00,0x00,0xc3,0x5f,0xea,0x81,0x01,0x77,0x00,0x00, 0xc3,0x5f,0xe0,0x65,0x27,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x63,0x00,0x00,0xc4,0x9e,0x00,0x00, 0x93,0x58,0x00,0x00,0x04,0x5c,0x00,0x00,0x64,0x96,0x00,0x00,0x27,0x8d,0x00,0x00,0x30,0x57,0x00,0x00, 0xf7,0x96,0x00,0x00,0xcf,0x63,0xea,0x4e,0x00,0x00,0x1a,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0xde,0x5d,0x00,0x00,0x00,0x8a,0x00,0x00,0x18,0x5c,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00, 0x99,0x6c,0x00,0x00,0xf0,0x58,0x68,0x56,0x00,0x00,0x06,0x5e,0x00,0x00,0x7f,0x95,0x0c,0x80,0xbb,0x53, 0x00,0x00,0x50,0x5b,0x5f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x8f,0x00,0x00,0xf2,0x66,0x00,0x00, 0x8f,0x4e,0x00,0x00,0x8f,0x4e,0x3a,0x4e,0xc8,0x76,0x00,0x00,0x34,0x59,0x00,0x00,0x24,0x4f,0x00,0x00, 0xa8,0x52,0x00,0x00,0xe9,0x77,0x00,0x00,0x53,0x62,0x00,0x00,0x01,0x90,0x00,0x00,0x0a,0x00,0x00,0x00, 0x14,0x6f,0x00,0x00,0x14,0x6f,0x05,0x80,0x00,0x00,0x10,0x62,0x00,0x00,0x53,0x97,0x00,0x00,0xf8,0x76, 0x00,0x00,0x5c,0x4f,0x00,0x00,0x3c,0x9b,0x38,0x81,0x00,0x00,0x3c,0x9b,0x00,0x00,0x11,0x4e,0x00,0x00, 0x77,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x6d,0x00,0x00,0x08,0x8c,0x00,0x00,0xae,0x76,0x00,0x00, 0x0a,0x4e,0x00,0x00,0xad,0x65,0x00,0x00,0x6f,0x62,0x00,0x00,0x73,0x5e,0x00,0x00,0xc1,0x8b,0x00,0x00, 0x0e,0x8c,0x00,0x00,0xa8,0x52,0x00,0x00,0x07,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0xa8,0x52,0x00,0x00, 0x11,0x6c,0x00,0x00,0x70,0x62,0x00,0x00,0x18,0x65,0x00,0x00,0xba,0x4e,0x00,0x00,0x41,0x6d,0x7f,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x67,0x00,0x00,0x4b,0x62,0x00,0x00,0xde,0x56,0x00,0x00,0x12,0x50, 0x00,0x00,0x73,0x5e,0x00,0x00,0xa8,0x52,0x00,0x00,0x12,0x50,0x95,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00, 0x2c,0x67,0x00,0x00,0x53,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x63,0x00,0x00,0x2b,0x8d,0x00,0x00, 0xaf,0x68,0x00,0x00,0xa9,0x52,0x00,0x00,0x0d,0x69,0x00,0x00,0x4b,0x62,0x00,0x00,0x2b,0x8d,0x9e,0x52, 0x00,0x00,0x7b,0x51,0x00,0x00,0x47,0x64,0xf4,0x76,0x0a,0x4e,0x00,0x00,0x51,0x68,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc6,0x51,0x00,0x00,0xc4,0x8b,0x00,0x00,0xd1,0x53,0x00,0x00,0x21,0x6b,0x00,0x00,0x0d,0x59, 0x00,0x00,0x24,0x52,0x00,0x00,0xcf,0x91,0x00,0x00,0x3a,0x79,0x00,0x00,0x87,0x65,0x00,0x00,0xd1,0x53, 0xf7,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x8c,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x67,0x00,0x00, 0x36,0x52,0x00,0x00,0x55,0x81,0x00,0x00,0x81,0x89,0x00,0x00,0x4f,0x4f,0x00,0x00,0x88,0x5b,0x00,0x00, 0x55,0x81,0xf9,0x53,0x6f,0x60,0x00,0x00,0x88,0x98,0x00,0x00,0x8b,0x53,0x00,0x00,0x7b,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0xde,0x56,0x00,0x00,0xfb,0x5b,0x00,0x00,0x7e,0x62,0x00,0x00, 0xfa,0x51,0x00,0x00,0x0a,0x4e,0xe8,0x95,0x00,0x00,0xb1,0x94,0x00,0x00,0x2c,0x83,0x00,0x00,0x34,0x6c, 0x00,0x00,0xfa,0x51,0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x62,0x00,0x00,0xfa,0x8b,0x00,0x00, 0xa4,0x8b,0x00,0x00,0xd7,0x53,0x00,0x00,0x05,0x53,0x00,0x00,0xa5,0x63,0x00,0x00,0x7d,0x8f,0x00,0x00, 0x00,0x95,0x00,0x00,0x9e,0x52,0x00,0x00,0x00,0x95,0x46,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x67, 0x00,0x00,0xfd,0x80,0x00,0x00,0xe7,0x5d,0x00,0x00,0x2f,0x67,0x27,0x60,0x00,0x00,0x2f,0x67,0x62,0x97, 0x00,0x00,0x7a,0x82,0x00,0x00,0x39,0x65,0x00,0x00,0x08,0x5e,0x00,0x00,0x09,0x56,0x00,0x00,0xe5,0x5d, 0x00,0x00,0x02,0x00,0x00,0x00,0xa6,0x60,0x00,0x00,0x8c,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x95,0x5e, 0x00,0x00,0xad,0x88,0x00,0x00,0x99,0x51,0x00,0x00,0xcf,0x7e,0x00,0x00,0x2c,0x67,0x00,0x00,0x01,0x90, 0x00,0x00,0x55,0x5f,0x00,0x00,0xb6,0x5b,0x00,0x00,0x4a,0x54,0x00,0x00,0xad,0x88,0x05,0x80,0x00,0x00, 0x03,0x00,0x00,0x00,0xe9,0x62,0x00,0x00,0x1e,0x64,0x00,0x00,0x54,0x52,0x2c,0x72,0xb3,0x68,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe1,0x63,0x00,0x00,0x73,0x51,0x00,0x00,0x01,0x63,0x00,0x00,0x0f,0x62,0x00,0x00, 0x09,0x81,0x00,0x00,0x88,0x5b,0x00,0x00,0xb9,0x59,0x00,0x00,0xa9,0x73,0x00,0x00,0xc4,0x67,0x00,0x00, 0x33,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x52,0x00,0x00,0xc1,0x90,0x00,0x00,0xc1,0x90,0xc7,0x75, 0x00,0x00,0x16,0x62,0x00,0x00,0x36,0x52,0x42,0x52,0x00,0x00,0xcc,0x83,0x00,0x00,0x6c,0x62,0x7f,0x98, 0x2b,0x63,0x00,0x00,0x36,0x52,0x27,0x60,0x00,0x00,0x4c,0x76,0x00,0x00,0x62,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc5,0x60,0x00,0x00,0xd1,0x53,0x00,0x00,0x00,0x60,0x00,0x00,0x99,0x51,0x00,0x00,0xc5,0x60, 0xd7,0x8b,0x00,0x00,0xc5,0x60,0x27,0x60,0x00,0x00,0xc5,0x60,0x4c,0x6b,0x00,0x00,0xc5,0x60,0xf2,0x66, 0x00,0x00,0xc5,0x60,0x16,0x53,0x00,0x00,0xc5,0x60,0x45,0x75,0x00,0x60,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb7,0x83,0x00,0x00,0x4f,0x4f,0x00,0x00,0x27,0x7d,0x00,0x00,0x55,0x63,0x00,0x00,0x7d,0x59,0x00,0x00, 0x4b,0x62,0x00,0x00,0xd6,0x53,0x00,0x00,0x77,0x8d,0x00,0x00,0xcd,0x62,0x00,0x00,0x63,0x62,0x00,0x00, 0x0a,0x00,0x00,0x00,0x44,0x8d,0x00,0x00,0x44,0x8d,0x05,0x80,0x00,0x00,0x65,0x51,0x00,0x00,0xc9,0x8b, 0x00,0x00,0x68,0x79,0x00,0x00,0x3e,0x65,0x00,0x00,0x44,0x8d,0xba,0x4e,0x00,0x00,0x4c,0x88,0x00,0x00, 0x3a,0x67,0x00,0x00,0xa7,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x7f,0x81,0x00,0x00, 0x96,0x62,0x00,0x00,0x3d,0x84,0x00,0x00,0xde,0x64,0x00,0x00,0x02,0x64,0x00,0x00,0xee,0x68,0x00,0x00, 0x01,0x5a,0xce,0x98,0x00,0x00,0xde,0x64,0xbe,0x7c,0x5e,0x79,0x00,0x00,0xa4,0x98,0x00,0x00,0x0a,0x00, 0x00,0x00,0xae,0x8b,0x00,0x00,0x1f,0x75,0x20,0x7d,0x00,0x00,0xf1,0x65,0x00,0x00,0x4c,0x76,0x00,0x00, 0x18,0x62,0x00,0x00,0xd2,0x62,0x00,0x00,0x61,0x88,0x00,0x00,0x27,0x6c,0x16,0x53,0x42,0x52,0x00,0x00, 0xae,0x8b,0x05,0x80,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x62,0x00,0x00,0x08,0x54, 0x00,0x00,0x7e,0x81,0x00,0x00,0x97,0x7b,0x00,0x00,0x04,0x5c,0x00,0x00,0xe8,0x78,0x00,0x00,0xf7,0x4e, 0x00,0x00,0xf7,0x4e,0x87,0x73,0x00,0x00,0xe7,0x65,0x00,0x00,0xe0,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7b,0x51,0x00,0x00,0x7b,0x51,0x39,0x8d,0x00,0x00,0x78,0x64,0x00,0x00,0x7a,0x98,0x00,0x00,0x70,0x61, 0x00,0x00,0x70,0x61,0xd1,0x91,0x00,0x00,0xde,0x5d,0x00,0x00,0x64,0x60,0xd1,0x91,0x00,0x00,0x64,0x60, 0x00,0x00,0xd9,0x4e,0x56,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2e,0x55,0x00,0x00,0x03,0x5f,0x00,0x00, 0x00,0x5f,0x00,0x00,0x8b,0x53,0x00,0x00,0x49,0x51,0x00,0x00,0xd8,0x76,0x00,0x00,0x38,0x5c,0x00,0x00, 0x1a,0x95,0x00,0x00,0x16,0x78,0x15,0x5f,0x89,0x73,0x00,0x00,0x69,0x72,0xbf,0x7e,0x00,0x00,0x04,0x00, 0x00,0x00,0x99,0x6c,0x00,0x00,0x6d,0x99,0x00,0x00,0x04,0x5f,0x00,0x00,0xce,0x98,0x00,0x00,0x09,0x00, 0x00,0x00,0xe8,0x95,0x00,0x00,0xa0,0x62,0x00,0x00,0x57,0x5b,0x3c,0x77,0x00,0x00,0xfe,0x56,0x00,0x00, 0xe8,0x95,0x3f,0x51,0x00,0x00,0xa0,0x62,0x1c,0x64,0x1c,0x64,0x00,0x00,0x06,0x55,0x00,0x00,0x1c,0x64, 0x00,0x00,0x57,0x5b,0x3c,0x77,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xa7,0x65,0x10,0x4f,0x42,0x68, 0x00,0x00,0x0a,0x00,0x00,0x00,0x51,0x65,0x00,0x00,0xab,0x52,0x00,0x00,0x69,0x96,0x00,0x00,0x60,0x53, 0x00,0x00,0x2d,0x8d,0x00,0x00,0xee,0x4f,0x00,0x00,0x3c,0x77,0x00,0x00,0x70,0x8d,0x00,0x00,0x3a,0x59, 0x00,0x00,0x68,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x74,0x00,0x00,0xeb,0x58,0x00,0x00,0x67,0x71, 0x00,0x00,0x2a,0x82,0x00,0x00,0xa4,0x80,0x00,0x00,0xa4,0x80,0xc1,0x54,0x00,0x00,0x6b,0x53,0x30,0x82, 0x00,0x00,0xd8,0x76,0x00,0x00,0x0f,0x68,0x00,0x00,0x01,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x90, 0x00,0x00,0x4a,0x54,0x00,0x00,0x0d,0x54,0x00,0x00,0x66,0x8b,0x00,0x00,0xf7,0x4e,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x36,0x65,0x00,0x00,0x00,0x95,0x00,0x00,0x48,0x68,0x00,0x00,0x0d,0x59,0x00,0x00,0x01,0x00, 0x00,0x00,0xfb,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x97,0x00,0x00,0x28,0x84,0x00,0x00,0xa9,0x80, 0x00,0x00,0x32,0x97,0x1f,0x67,0x00,0x00,0x1f,0x66,0x34,0x62,0x3d,0x5e,0x00,0x00,0x0a,0x4e,0x00,0x00, 0x34,0x59,0xeb,0x58,0x00,0x00,0xce,0x98,0x00,0x00,0x46,0x83,0xa9,0x65,0xd8,0x68,0x00,0x00,0x02,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0xd8,0x9a,0x00,0x00,0x47,0x53,0x00,0x00,0x77,0x8d, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x60,0x67,0x00,0x00,0x3e,0x4e,0x00,0x00,0x34,0x59,0xb9,0x7e,0x00,0x00, 0x7f,0x8f,0x50,0x5b,0x00,0x00,0x46,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x60,0x00,0x00,0x49,0x6b, 0x00,0x00,0xe2,0x56,0x00,0x00,0x09,0x67,0x00,0x00,0x1f,0x8d,0x00,0x00,0xb1,0x62,0x00,0x00,0x95,0x67, 0x00,0x00,0x5b,0x4f,0x1a,0x81,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59,0xdb,0x75,0xed,0x54,0x00,0x00, 0x0a,0x00,0x00,0x00,0xbe,0x8f,0x00,0x00,0xbc,0x62,0x00,0x00,0x36,0x52,0x00,0x00,0x97,0x62,0x00,0x00, 0xa1,0x5f,0x00,0x00,0x88,0x6d,0x00,0x00,0x97,0x62,0x9b,0x52,0x00,0x00,0x63,0x62,0x00,0x00,0xe6,0x89, 0x00,0x00,0xbc,0x62,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x9e,0x00,0x00,0x03,0x5e,0x00,0x00, 0x36,0x83,0x00,0x00,0x40,0x67,0x00,0x00,0x89,0x63,0x00,0x00,0x99,0x99,0xb8,0x9c,0x00,0x00,0xbb,0x53, 0x00,0x00,0xf8,0x80,0x00,0x00,0x5e,0x71,0x00,0x00,0xb9,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x97, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0xe8,0x6c,0x00,0x00,0xe3,0x89,0x00,0x00,0x01,0x90, 0x00,0x00,0xd0,0x8f,0x00,0x00,0xf5,0x97,0x00,0x00,0x0e,0x54,0x00,0x00,0xde,0x56,0x00,0x00,0xd0,0x8f, 0x58,0x54,0x00,0x00,0x80,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc0,0x68,0x00,0x00,0xe5,0x67,0x00,0x00, 0xdf,0x70,0x00,0x00,0x37,0x68,0x00,0x00,0x61,0x8c,0x00,0x00,0xd6,0x53,0x00,0x00,0x56,0x59,0x00,0x00, 0x03,0x8c,0x00,0x00,0xfa,0x51,0x00,0x00,0x40,0x88,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x53,0x66,0x00,0x00,0x96,0x88,0x0c,0x80,0xbb,0x53,0x00,0x00,0xed,0x62,0x00,0x00, 0x18,0x5c,0x00,0x00,0x96,0x88,0x00,0x00,0xa8,0x52,0x00,0x00,0x0f,0x61,0x00,0x00,0xc2,0x62,0x00,0x00, 0x62,0x97,0x00,0x00,0x06,0x90,0x00,0x00,0x02,0x00,0x00,0x00,0x56,0x67,0x00,0x00,0x56,0x67,0x05,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0xfb,0x4e,0x00,0x00,0xe7,0x5f,0x00,0x00,0xdd,0x4f, 0x00,0x00,0x53,0x5f,0x00,0x00,0x1f,0x8d,0x00,0x00,0xb6,0x67,0x00,0x00,0xb2,0x7e,0x00,0x00,0x50,0x5b, 0x00,0x00,0xdd,0x4f,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x8f,0x00,0x00,0x64,0x96,0x00,0x00, 0x1f,0x50,0x00,0x00,0x06,0x52,0x00,0x00,0xe3,0x89,0x00,0x00,0x00,0x5f,0x00,0x00,0xc1,0x8f,0x37,0x62, 0x00,0x00,0x78,0x53,0x00,0x00,0xdd,0x8f,0x00,0x00,0xc1,0x8f,0x9e,0x52,0x00,0x00,0x04,0x00,0x00,0x00, 0x07,0x63,0x00,0x00,0xbe,0x8d,0x00,0x00,0x07,0x63,0x32,0x75,0x00,0x00,0x18,0x62,0x00,0x00,0x05,0x00, 0x00,0x00,0xb1,0x82,0x00,0x00,0xb1,0x82,0xf9,0x60,0x49,0x83,0x00,0x00,0x99,0x99,0x00,0x00,0x7b,0x8f, 0x15,0x60,0xcd,0x91,0x00,0x00,0x07,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x00,0x5f, 0x00,0x00,0x47,0x53,0x00,0x00,0x8e,0x7f,0x00,0x00,0x28,0x84,0x00,0x00,0x7b,0x76,0x00,0x00,0xaf,0x65, 0x00,0x00,0x2b,0x59,0x57,0x7f,0x2b,0x59,0x00,0x00,0xc9,0x62,0x00,0x00,0xc6,0x59,0x00,0x00,0x02,0x00, 0x00,0x00,0x8c,0x63,0x00,0x00,0xc0,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x5f,0x00,0x00,0x2e,0x55, 0x00,0x00,0x00,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x53,0x00,0x00,0x6d,0x99,0x00,0x00,0x62,0x97, 0x00,0x00,0x65,0x51,0x00,0x00,0x34,0x56,0x00,0x00,0x8c,0x54,0x00,0x00,0xcd,0x79,0x00,0x00,0x9c,0x84, 0x00,0x00,0x8c,0x54,0x3a,0x67,0x00,0x00,0x34,0x56,0x97,0x65,0x0c,0x82,0x00,0x00,0x0a,0x00,0x00,0x00, 0x56,0x53,0x00,0x00,0x44,0x64,0x00,0x00,0x67,0x71,0x00,0x00,0xc1,0x54,0x00,0x00,0x56,0x53,0x1a,0x4f, 0x00,0x00,0x56,0x53,0x4c,0x88,0x00,0x00,0x30,0x52,0x00,0x00,0x53,0x62,0x00,0x00,0xcd,0x62,0x00,0x00, 0x7f,0x67,0x00,0x00,0x03,0x00,0x00,0x00,0x17,0x53,0x00,0x00,0x05,0x53,0x00,0x00,0x77,0x8d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x56,0x53,0x00,0x00,0x2f,0x5f,0x00,0x00,0x56,0x67,0x00,0x00, 0x34,0x59,0x00,0x00,0x97,0x9a,0x00,0x00,0xd2,0x89,0x00,0x00,0xd2,0x89,0x04,0x59,0x00,0x00,0x2f,0x5f, 0xb9,0x62,0xd2,0x89,0x00,0x00,0xcd,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x7e,0x00,0x00,0x4b,0x4e, 0xe8,0x95,0x16,0x59,0x00,0x00,0x36,0x65,0x00,0x00,0x7e,0x7b,0x00,0x00,0xd8,0x4e,0x00,0x00,0x55,0x63, 0x00,0x00,0x6c,0x9a,0xb3,0x6c,0x00,0x00,0x62,0x6b,0x00,0x00,0xa5,0x63,0x00,0x00,0xa5,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0x55,0x5c,0x00,0x00,0xbd,0x5b,0x00,0x00,0x51,0x62,0x00,0x00,0x52,0x83,0x00,0x00, 0x47,0x72,0x00,0x00,0x2c,0x67,0x00,0x00,0x51,0x62,0x66,0x5b,0x00,0x00,0x55,0x5c,0x3a,0x53,0x00,0x00, 0x52,0x83,0x05,0x80,0x00,0x00,0x51,0x62,0xd3,0x7e,0x84,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x63, 0x00,0x00,0x59,0x72,0x00,0x00,0xd8,0x9a,0x00,0x00,0x30,0x57,0x0c,0x80,0x77,0x8d,0x00,0x00,0x64,0x96, 0x00,0x00,0x16,0x5c,0x00,0x00,0x50,0x7f,0x00,0x00,0xb3,0x6c,0x00,0x00,0x49,0x83,0x00,0x00,0xd7,0x82, 0xa9,0x52,0x7f,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x7d,0x00,0x00,0x20,0x6b,0x00,0x00,0xf6,0x5e, 0x00,0x00,0x8b,0x97,0x00,0x00,0xc9,0x62,0x3a,0x67,0x00,0x00,0xf6,0x5e,0xc7,0x75,0x00,0x00,0x66,0x8f, 0x00,0x00,0xfd,0x62,0x00,0x00,0x93,0x6c,0x00,0x00,0xc9,0x62,0x00,0x00,0x05,0x00,0x00,0x00,0xe3,0x53, 0x00,0x00,0x0d,0x4e,0xc7,0x8f,0x00,0x00,0xad,0x65,0x00,0x00,0x77,0x96,0x00,0x00,0xe3,0x53,0xe4,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x75,0x00,0x00,0x55,0x63,0x00,0x00,0x81,0x79,0x00,0x00,0x79,0x5f, 0x00,0x00,0xbc,0x62,0x00,0x00,0x59,0x75,0x40,0x62,0x00,0x00,0xe5,0x6c,0x00,0x00,0x5f,0x67,0x00,0x00, 0x28,0x8c,0x00,0x00,0x20,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xa3,0x52,0x00,0x00,0x6b,0x70,0x00,0x00, 0xa1,0x8b,0x00,0x00,0x3f,0x65,0xed,0x56,0x00,0x00,0x57,0x84,0x00,0x00,0x5c,0x4f,0x00,0x00,0xc1,0x89, 0x00,0x00,0x34,0x67,0x00,0x00,0x3f,0x7a,0x00,0x00,0xd1,0x8b,0x00,0x00,0x07,0x00,0x00,0x00,0x7d,0x54, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x03,0x5f,0x00,0x00,0x64,0x96,0x00,0x00,0x22,0x8d,0x00,0x00,0xbb,0x53, 0x00,0x00,0x34,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x55,0x00,0x00,0x58,0x80,0x00,0x00,0x07,0x68, 0x00,0x00,0x1f,0x75,0x00,0x00,0xdf,0x52,0x00,0x00,0xa1,0x80,0x00,0x00,0x4c,0x88,0x00,0x00,0x95,0x62, 0x07,0x68,0x00,0x00,0xa1,0x80,0x66,0x4e,0x00,0x00,0x4c,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x8b, 0x00,0x00,0x58,0x62,0x00,0x00,0x74,0x5e,0x00,0x00,0x5b,0x4f,0x00,0x00,0x33,0x80,0x00,0x00,0xc1,0x4e, 0x00,0x00,0x1a,0x4f,0x00,0x00,0xdc,0x62,0x00,0x00,0x08,0x5e,0x00,0x00,0xd1,0x91,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9a,0x5b,0x00,0x00,0xfb,0x4e,0x00,0x00,0xfa,0x5e,0x00,0x00,0xa2,0x8b,0x00,0x00,0xae,0x8b, 0x00,0x00,0x08,0x54,0x00,0x00,0x01,0x60,0x00,0x00,0xbe,0x8b,0x00,0x00,0xba,0x4e,0x00,0x00,0x2e,0x55, 0x00,0x00,0x06,0x00,0x00,0x00,0x71,0x51,0x00,0x00,0xf3,0x97,0x00,0x00,0x3b,0x60,0x00,0x00,0xb8,0x5c, 0x00,0x00,0x50,0x5b,0x00,0x00,0x25,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0x09,0x90,0x00,0x00,0x30,0x52, 0x00,0x00,0x5b,0x4f,0xe7,0x70,0x99,0x99,0x00,0x00,0x77,0x8d,0x00,0x00,0xe1,0x4f,0xa4,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0x35,0x58,0x00,0x00,0xb1,0x62,0x00,0x00,0x24,0x63,0x00,0x00, 0xa4,0x62,0x00,0x00,0x35,0x58,0x39,0x8d,0x00,0x00,0x09,0x67,0x05,0x80,0x00,0x00,0x9b,0x51,0x00,0x00, 0xb8,0x8d,0x00,0x00,0x09,0x67,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x62,0x00,0x00,0x4f,0x4f, 0x00,0x00,0x0b,0x4e,0x00,0x00,0xef,0x8d,0x4e,0x86,0x00,0x00,0x3b,0x96,0x00,0x00,0x70,0x81,0x00,0x00, 0xef,0x8d,0x00,0x00,0x2a,0x62,0x39,0x5f,0x00,0x00,0x2a,0x6d,0x00,0x00,0x2a,0x62,0x68,0x56,0x00,0x00, 0x04,0x00,0x00,0x00,0xf4,0x5d,0x00,0x00,0x10,0x62,0x00,0x4e,0xa1,0x80,0xf3,0x7e,0x00,0x00,0x27,0x7d, 0x00,0x00,0x00,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x62,0x00,0x00,0x3e,0x6b,0x00,0x00,0xd8,0x4e, 0x00,0x00,0x1a,0x90,0x00,0x00,0x07,0x59,0x00,0x00,0xf7,0x53,0x00,0x00,0x00,0x5f,0x00,0x00,0xa8,0x52, 0x00,0x00,0x04,0x5f,0x00,0x00,0x71,0x4e,0xcd,0x53,0x63,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x67, 0x00,0x00,0xe5,0x65,0x00,0x00,0x76,0x50,0x00,0x00,0xf6,0x65,0x00,0x00,0x18,0x4f,0x00,0x00,0x1f,0x67, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x21,0x68,0x39,0x8d,0x00,0x00,0x21,0x68,0x1f,0x75,0x00,0x00,0xa1,0x80, 0x00,0x00,0x05,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0xa6,0x7e,0x8c,0x80,0x00,0x00,0x27,0x5f,0x00,0x00, 0xbf,0x7e,0x00,0x00,0xd2,0x6b,0x00,0x00,0x07,0x00,0x00,0x00,0xee,0x76,0xe5,0x4e,0x85,0x5f,0x00,0x00, 0xea,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0xb9,0x62,0x00,0x00,0xee,0x76,0x00,0x00,0x64,0x96,0x00,0x00, 0xee,0x76,0x3e,0x50,0x33,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0x6e,0x63,0x00,0x00,0x97,0x62,0x42,0x52, 0x00,0x00,0x97,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0x51,0x65,0x00,0x00,0x51,0x65,0x05,0x80,0x00,0x00, 0x51,0x65,0x27,0x59,0x75,0x51,0x5e,0x74,0x69,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x62,0x00,0x00, 0x17,0x53,0x00,0x00,0x85,0x58,0x3a,0x53,0x00,0x00,0xe8,0x95,0x00,0x00,0x65,0x68,0x00,0x00,0x62,0x5f, 0x00,0x00,0x85,0x58,0x00,0x00,0x77,0x8d,0x00,0x00,0x76,0x98,0x00,0x00,0xca,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x34,0x59,0x00,0x00,0xfb,0x51,0x00,0x00,0x1a,0x81,0x00,0x00,0x53,0x62,0x1a,0x81,0x22,0x8e, 0x00,0x00,0x34,0x59,0xa7,0x4e,0xc1,0x54,0x00,0x00,0x8b,0x73,0x00,0x00,0xfb,0x51,0x4b,0x62,0x00,0x00, 0x4b,0x62,0x00,0x00,0x2f,0x67,0x00,0x00,0xf3,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0x6c,0x9a,0x69,0x68, 0x00,0x00,0xc3,0x5f,0x00,0x00,0x4f,0x4f,0x00,0x00,0x03,0x00,0x00,0x00,0x07,0x63,0x00,0x00,0x50,0x5b, 0x00,0x00,0x11,0x52,0x00,0x00,0x08,0x00,0x00,0x00,0x1d,0x8d,0x00,0x00,0xee,0x95,0x00,0x00,0x53,0x62, 0x00,0x00,0x30,0x52,0x00,0x00,0xa0,0x63,0x00,0x00,0xcb,0x79,0xe4,0x52,0x00,0x00,0xb1,0x82,0x00,0x00, 0x41,0x62,0x84,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x54,0x00,0x00,0xf3,0x97,0x00,0x00,0x66,0x8f, 0x00,0x00,0x0f,0x64,0x00,0x00,0xa5,0x63,0x00,0x00,0xd1,0x51,0x00,0x00,0xfe,0x56,0x00,0x00,0x99,0x51, 0x00,0x00,0x39,0x72,0x00,0x00,0xc5,0x88,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x52,0x83,0x00,0x00,0x57,0x90,0x00,0x00,0x52,0x83,0x05,0x80,0x00,0x00,0xd1,0x91,0x0d,0x4e, 0x27,0x66,0x00,0x00,0xd6,0x53,0x00,0x00,0x87,0x63,0x00,0x00,0xa7,0x7e,0x0c,0x80,0x0a,0x4e,0x00,0x00, 0xf3,0x97,0x68,0x56,0x00,0x00,0xd1,0x91,0xa2,0x5b,0x00,0x00,0xb7,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x30,0x52,0x00,0x00,0x30,0x57,0x00,0x00,0x0b,0x4e,0x00,0x00,0x70,0x8d,0x00,0x00,0xfa,0x51,0x00,0x00, 0x27,0x8d,0x00,0x00,0x65,0x67,0x00,0x00,0x34,0x78,0xd1,0x4e,0x00,0x00,0x77,0x8d,0x00,0x00,0x4f,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x7e,0x00,0x00,0x09,0x67,0x00,0x00,0x73,0x5e,0x00,0x00,0xd3,0x4e, 0x00,0x00,0x09,0x67,0xba,0x4e,0x00,0x00,0x61,0x53,0xba,0x4e,0x00,0x00,0x45,0x4e,0x00,0x00,0xed,0x7e, 0x27,0x60,0x00,0x00,0xaa,0x67,0x00,0x00,0xd3,0x4e,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x72, 0x00,0x00,0xa9,0x94,0x00,0x00,0xf7,0x53,0x00,0x00,0x60,0x97,0x00,0x00,0x31,0x59,0x00,0x00,0x4c,0x80, 0x00,0x00,0x4c,0x72,0xf7,0x4e,0x00,0x00,0x05,0x5e,0x00,0x00,0xf7,0x53,0x39,0x8d,0x00,0x00,0x86,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x70,0x65,0x00,0x00,0x07,0x68,0x00,0x00,0xfc,0x5b, 0x00,0x00,0xa7,0x63,0x00,0x00,0x23,0x8d,0x00,0x00,0x25,0x63,0x00,0x00,0x9a,0x5b,0x00,0x00,0x15,0x5f, 0x00,0x00,0x3a,0x79,0x00,0x00,0x02,0x00,0x00,0x00,0x26,0x5e,0x00,0x00,0x08,0x63,0x00,0x00,0x0a,0x00, 0x00,0x00,0x67,0x71,0x00,0x00,0x69,0x64,0x00,0x00,0xf6,0x65,0x00,0x00,0xed,0x63,0x00,0x00,0xae,0x94, 0x00,0x00,0x1f,0x67,0x00,0x00,0x8b,0x53,0x00,0x00,0x2e,0x95,0x00,0x00,0x06,0x74,0xf4,0x8b,0x00,0x00, 0x75,0x51,0x0d,0x4e,0xa8,0x52,0x00,0x00,0x04,0x00,0x00,0x00,0x05,0x53,0x00,0x00,0x97,0x65,0x00,0x00, 0x5c,0x51,0x00,0x00,0x5c,0x51,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x18,0x62,0x00,0x00,0x09,0x90, 0x00,0x00,0x45,0x88,0x00,0x00,0x77,0x8d,0x00,0x00,0x54,0x52,0x00,0x00,0x18,0x62,0x27,0x60,0x00,0x00, 0x17,0x90,0x00,0x00,0x18,0x62,0x05,0x80,0x00,0x00,0xdf,0x98,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x98,0x63,0x00,0x00,0x98,0x63,0x3a,0x67,0x00,0x00,0xd2,0x89,0x00,0x00,0x5c,0x6f,0x00,0x00, 0xe6,0x82,0x00,0x00,0x99,0x58,0x1a,0x81,0x00,0x00,0x7a,0x7a,0xc3,0x5f,0x1d,0x60,0x00,0x00,0x3a,0x67, 0x00,0x00,0x1f,0x57,0x3a,0x67,0x00,0x00,0xad,0x65,0x00,0x00,0x07,0x00,0x00,0x00,0x31,0x72,0x00,0x00, 0xcb,0x53,0x00,0x00,0xda,0x8b,0x00,0x00,0xc5,0x60,0x00,0x00,0x07,0x52,0x00,0x00,0xcb,0x53,0x6f,0x82, 0x0b,0x67,0x00,0x00,0x1a,0x63,0x00,0x00,0x01,0x00,0x00,0x00,0x29,0x7f,0x00,0x00,0x01,0x00,0x00,0x00, 0x10,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x63,0x00,0x00,0x26,0x5e,0x00,0x00,0x36,0x52,0x00,0x00, 0x29,0x59,0x50,0x5b,0xe5,0x4e,0xe4,0x4e,0xf8,0x8b,0xaf,0x4f,0x00,0x00,0x0b,0x6d,0xea,0x81,0xcd,0x91, 0x00,0x00,0xcc,0x5a,0x00,0x00,0x28,0x60,0x00,0x00,0x54,0x83,0xab,0x5b,0x00,0x00,0x29,0x59,0x50,0x5b, 0xe5,0x4e,0xe4,0x4e,0x29,0x59,0x0b,0x4e,0x00,0x00,0x01,0x63,0xc7,0x96,0x3b,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x34,0x59,0x00,0x00,0xd2,0x75,0xd2,0x75,0x00,0x00,0x20,0x63,0x00,0x00,0xd2,0x75,0x00,0x00, 0xa6,0x5e,0x00,0x00,0xf2,0x66,0x00,0x00,0x9b,0x52,0xb3,0x6c,0x00,0x00,0xa9,0x94,0x00,0x00,0x87,0x73, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x4f,0x4f,0x00,0x00,0xce,0x98,0x00,0x00,0xad,0x7b, 0x4c,0x72,0x00,0x00,0x7f,0x67,0x00,0x00,0x4d,0x4f,0x00,0x00,0x1f,0x57,0x99,0x58,0x00,0x00,0x99,0x58, 0x00,0x00,0x34,0x6c,0x00,0x00,0xef,0x8d,0x00,0x00,0xb7,0x83,0x00,0x00,0x08,0x00,0x00,0x00,0x4e,0x62, 0x00,0x00,0xb1,0x94,0x00,0x00,0x31,0x81,0x00,0x00,0xad,0x65,0x00,0x00,0x97,0x5f,0x00,0x00,0x7d,0x54, 0x00,0x00,0x38,0x81,0x00,0x00,0x4e,0x62,0xb6,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x53,0x00,0x00, 0xfa,0x51,0x00,0x00,0x60,0x53,0x00,0x00,0xe1,0x6e,0x00,0x00,0x51,0x51,0x00,0x00,0x89,0x63,0x00,0x00, 0x76,0x59,0x00,0x00,0x06,0x72,0x00,0x00,0x59,0x72,0x8f,0x81,0x00,0x00,0x24,0x63,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd1,0x53,0x00,0x00,0x1e,0x82,0x00,0x00,0x0d,0x97,0x00,0x00,0x4b,0x62,0x00,0x00,0x4b,0x4e, 0x0d,0x4e,0xbb,0x53,0x00,0x00,0xd1,0x53,0x27,0x60,0x00,0x00,0xa8,0x52,0x00,0x00,0x00,0x52,0x00,0x00, 0x12,0x6d,0x00,0x00,0xd1,0x53,0xb9,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x77,0x00,0x00,0x53,0x62, 0x00,0x00,0x2a,0x4e,0x00,0x00,0xb6,0x5b,0x28,0x63,0x37,0x62,0x00,0x00,0x7f,0x99,0x00,0x00,0x82,0x9a, 0x00,0x00,0x79,0x62,0x00,0x00,0xbb,0x51,0x00,0x00,0xcd,0x63,0x00,0x00,0xb0,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x28,0x75,0x00,0x00,0x01,0x5a,0x00,0x00,0xa8,0x52,0x00,0x00,0xfb,0x79,0x00,0x00,0x5c,0x4f, 0x00,0x00,0x00,0x5f,0x00,0x00,0x47,0x50,0x00,0x00,0x01,0x5a,0xfd,0x56,0xb6,0x5b,0xf3,0x77,0xb9,0x6c, 0x6c,0x51,0xf8,0x53,0x00,0x00,0x9a,0x4e,0x00,0x00,0xfa,0x51,0x00,0x00,0x09,0x00,0x00,0x00,0x98,0x62, 0x00,0x00,0x25,0x8d,0x00,0x00,0x24,0x4f,0x00,0x00,0x25,0x8d,0x1f,0x61,0x00,0x00,0x98,0x62,0x1f,0x61, 0x00,0x00,0xc2,0x88,0x24,0x4f,0x00,0x00,0xcc,0x8d,0x00,0x00,0xa8,0x9a,0x6c,0x62,0x70,0x70,0x00,0x00, 0x5f,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x51,0x00,0x00,0x61,0x83,0x00,0x00,0x4e,0x53,0x00,0x00, 0xa8,0x52,0x00,0x00,0x4b,0x59,0x00,0x00,0x87,0x5b,0x00,0x00,0x45,0x5e,0x00,0x00,0x1c,0x4e,0x00,0x00, 0x5c,0x4f,0x00,0x00,0x66,0x6b,0x00,0x00,0x04,0x00,0x00,0x00,0xe8,0x6c,0x00,0x00,0xd6,0x53,0x00,0x00, 0xac,0x63,0x00,0x00,0x4c,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x8f,0x00,0x00,0xf4,0x76,0x00,0x00, 0xab,0x8e,0x0c,0x80,0xfa,0x51,0x00,0x00,0xd4,0x62,0x00,0x00,0xf8,0x80,0x00,0x00,0xcb,0x7a,0x00,0x00, 0xab,0x8e,0x00,0x00,0x77,0x8d,0x00,0x00,0xf7,0x4e,0x00,0x00,0x4f,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xde,0x56,0x00,0x00,0x51,0x65,0x00,0x00,0x59,0x75,0x00,0x00,0x54,0x80,0x00,0x00,0x4c,0x6b,0x00,0x00, 0x4b,0x62,0x00,0x00,0xcd,0x8b,0x00,0x00,0x5b,0x5e,0x00,0x00,0x9d,0x98,0x00,0x00,0x77,0x51,0x00,0x00, 0x05,0x00,0x00,0x00,0xd8,0x76,0x00,0x00,0x4f,0x4f,0x00,0x00,0xd6,0x76,0x50,0x5b,0x00,0x00,0x4f,0x4f, 0x38,0x81,0x00,0x00,0x42,0x63,0xd6,0x76,0xd6,0x76,0x00,0x00,0x09,0x00,0x00,0x00,0x24,0x4f,0x00,0x00, 0x34,0x78,0x00,0x00,0x3a,0x52,0x00,0x00,0x45,0x63,0x00,0x00,0x6c,0x9a,0x02,0x87,0x9d,0x7a,0x00,0x00, 0x04,0x5a,0x50,0x5b,0x00,0x00,0x95,0x54,0x00,0x00,0xbd,0x55,0x50,0x5b,0x00,0x00,0x7c,0x69,0x50,0x5b, 0x00,0x00,0x05,0x00,0x00,0x00,0xd1,0x7e,0x00,0x00,0xd1,0x7e,0x0f,0x5f,0x00,0x00,0x4e,0x62,0x00,0x00, 0x1a,0x7f,0x00,0x00,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x5f,0x89,0xc1,0x89,0x98,0x80,0x00,0x00, 0x78,0x64,0x00,0x00,0x25,0x60,0x00,0x00,0xff,0x62,0x00,0x00,0x4f,0x4f,0x00,0x00,0xf7,0x8f,0xcf,0x85, 0x00,0x00,0x04,0x5f,0x00,0x00,0x78,0x59,0x00,0x00,0xff,0x62,0x52,0x5f,0x48,0x68,0x00,0x00,0x78,0x64, 0x0d,0x4e,0x9a,0x5b,0x00,0x00,0x07,0x00,0x00,0x00,0x7a,0x98,0x00,0x00,0x4b,0x63,0x00,0x00,0x96,0x88, 0x50,0x5b,0x00,0x00,0x4e,0x86,0x7b,0x98,0x00,0x00,0xf3,0x80,0x8a,0x81,0x00,0x00,0xc2,0x81,0xce,0x63, 0xf3,0x62,0x00,0x00,0x9a,0x62,0x00,0x00,0x04,0x00,0x00,0x00,0x6b,0x53,0x00,0x00,0x6b,0x53,0x05,0x80, 0x00,0x00,0xa1,0x5f,0x00,0x00,0x06,0x5c,0x00,0x00,0x05,0x00,0x00,0x00,0x26,0x5e,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x26,0x5e,0x1a,0x81,0x3f,0x51,0x00,0x00,0x65,0x67,0x00,0x00,0xe1,0x4f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x20,0x90,0x00,0x00,0x4f,0x63,0x00,0x00,0x00,0x4e,0x8a,0x62,0x57,0x6c,0x00,0x00,0x8e,0x78, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x08,0x54,0x00,0x00,0x06,0x72,0x00,0x00,0x0a,0x81,0x00,0x00,0xef,0x79, 0x00,0x00,0x04,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x60,0x8d,0x00,0x00,0x3e,0x6b,0x00,0x00,0x2e,0x73, 0x00,0x00,0xa9,0x52,0x00,0x00,0xbe,0x7c,0x00,0x00,0x2e,0x73,0x05,0x80,0x00,0x00,0x60,0x8d,0x05,0x80, 0x00,0x00,0x44,0x8d,0x00,0x00,0x69,0x72,0x00,0x00,0x3e,0x6b,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x49,0x63,0x00,0x00,0x5e,0x63,0x00,0x00,0x7c,0x9c,0x00,0x00,0xb7,0x83,0x00,0x00,0xdf,0x98,0x00,0x00, 0x40,0x67,0x00,0x00,0xb8,0x9c,0x00,0x00,0x0e,0x73,0x00,0x00,0xdf,0x98,0x05,0x80,0x00,0x00,0xce,0x98, 0x49,0x63,0x71,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x94,0x00,0x00,0xd6,0x53,0x00,0x00,0x00,0x4e, 0x8a,0x62,0x00,0x00,0x7c,0x9c,0x00,0x00,0xd1,0x91,0x00,0x00,0x38,0x5c,0x00,0x00,0x95,0x5e,0x00,0x00, 0xb9,0x6c,0x00,0x00,0x00,0x52,0xb3,0x6c,0x00,0x00,0x40,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x59, 0x00,0x00,0xb3,0x5b,0x00,0x00,0x24,0x4f,0x00,0x00,0x4f,0x57,0x00,0x00,0xc1,0x6b,0x00,0x00,0xca,0x76, 0x00,0x00,0x17,0x80,0x00,0x00,0x31,0x59,0x69,0x96,0x00,0x00,0xba,0x4e,0x0d,0x4e,0x29,0x52,0xf1,0x5d, 0x00,0x00,0xcb,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0x0f,0x6f,0x00,0x00,0x34,0x78,0xc2,0x70,0x00,0x00, 0xfe,0x62,0x00,0x00,0x03,0x74,0x00,0x00,0x0f,0x6f,0x3f,0x51,0x00,0x00,0xbf,0x4f,0x9c,0x5b,0x00,0x00, 0x34,0x78,0xc2,0x70,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x53,0xdd,0x8b,0xf4,0x8b,0x00,0x00, 0xd6,0x53,0x00,0x00,0x4b,0x62,0x87,0x73,0x00,0x00,0x58,0x4e,0x00,0x00,0x4a,0x5c,0x00,0x00,0x00,0x8a, 0x4b,0x4e,0x00,0x00,0xa1,0x80,0x00,0x00,0x0a,0x4e,0x00,0x00,0x97,0x7b,0x00,0x00,0x3f,0x62,0x00,0x00, 0x0a,0x00,0x00,0x00,0xc1,0x6b,0x00,0x00,0x71,0x4e,0x00,0x00,0x8e,0x78,0x00,0x00,0x13,0x9f,0x00,0x00, 0xcb,0x86,0x00,0x00,0x10,0x62,0x00,0x00,0x3c,0x9b,0x00,0x00,0x41,0x6c,0x00,0x00,0x7e,0x81,0x00,0x00, 0xc3,0x7e,0xfe,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x57,0x00,0x00,0x79,0x81,0x27,0x59,0x11,0x7b, 0x00,0x00,0x97,0x5f,0x00,0x00,0x79,0x81,0x00,0x00,0xcf,0x54,0x00,0x00,0x6f,0x67,0x00,0x00,0x67,0x63, 0x3a,0x57,0x00,0x00,0x57,0x84,0x00,0x00,0x30,0x52,0x29,0x59,0x0a,0x4e,0x00,0x00,0xd2,0x89,0x3f,0x51, 0x00,0x00,0x01,0x00,0x00,0x00,0x16,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x60,0x00,0x00,0xf4,0x8b, 0x00,0x00,0xf0,0x79,0x00,0x00,0x64,0x6b,0x00,0x00,0xb9,0x70,0x00,0x00,0x20,0x4f,0x00,0x00,0x3a,0x4e, 0xf1,0x5d,0x09,0x67,0x00,0x00,0x9e,0x5b,0x00,0x00,0x06,0x74,0x9b,0x52,0x89,0x4e,0x00,0x00,0xe1,0x4f, 0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x99,0x00,0x00,0x14,0x6c,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00, 0xbd,0x6c,0x00,0x00,0x06,0x00,0x00,0x00,0x53,0x62,0x00,0x00,0xcc,0x80,0x00,0x00,0xf8,0x80,0x7f,0x98, 0xb3,0x8d,0x00,0x00,0xf8,0x80,0x00,0x00,0xfb,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x4b,0x51,0x00,0x00,0x84,0x5f,0x00,0x00,0x79,0x8c,0xef,0x8d,0x4e,0x86,0x00,0x00,0xbe,0x8f,0x00,0x00, 0x79,0x8c,0x00,0x00,0x1f,0x66,0x00,0x00,0x10,0x62,0x00,0x00,0xd0,0x8f,0x00,0x00,0xa5,0x62,0x00,0x00, 0xb3,0x8d,0x48,0x51,0x7b,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0x9b,0x51,0x00,0x00,0x50,0x5b,0x00,0x00, 0x09,0x00,0x00,0x00,0x77,0x8d,0x00,0x00,0x00,0x5f,0x00,0x00,0xfb,0x7f,0x00,0x00,0xa8,0x52,0x00,0x00, 0x29,0x59,0xed,0x63,0x30,0x57,0x00,0x00,0x8c,0x6d,0x00,0x00,0xce,0x98,0x13,0x9f,0x6a,0x6d,0x00,0x00, 0x7e,0x81,0x00,0x00,0x89,0x63,0x00,0x00,0x05,0x00,0x00,0x00,0xcf,0x91,0x00,0x00,0xcf,0x91,0x82,0x63, 0xcf,0x91,0x00,0x00,0x82,0x63,0x00,0x00,0x87,0x63,0x00,0x00,0xf9,0x5b,0x00,0x00,0x05,0x00,0x00,0x00, 0x00,0x52,0x3a,0x53,0x00,0x00,0x00,0x52,0x00,0x00,0xfe,0x62,0x00,0x00,0x04,0x5f,0x00,0x00,0xc0,0x81, 0x67,0x63,0x41,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x43,0x67,0x00,0x00,0x88,0x4e,0x00,0x00,0xe1,0x4f, 0x00,0x00,0xfe,0x8b,0x00,0x00,0x0f,0x61,0x00,0x00,0xb0,0x8b,0x00,0x00,0x89,0x7c,0x00,0x00,0x43,0x67, 0x66,0x4e,0x00,0x00,0x43,0x67,0x39,0x8d,0x00,0x00,0xf6,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59, 0x00,0x00,0x3d,0x84,0x00,0x00,0xe5,0x4e,0x7b,0x8f,0xc3,0x5f,0x00,0x00,0x1f,0x67,0x00,0x00,0x72,0x82, 0x00,0x00,0x1f,0x96,0x00,0x00,0x06,0x6f,0x00,0x00,0x05,0x53,0x00,0x00,0xf7,0x4e,0x00,0x00,0xd1,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x63,0x00,0x00,0xa7,0x63,0x00,0x00,0xf0,0x58,0x00,0x00,0xa1,0x7b, 0x00,0x00,0xe8,0x95,0xba,0x4e,0x00,0x00,0xdc,0x67,0x00,0x00,0x35,0x82,0x00,0x00,0xe8,0x95,0x00,0x00, 0x43,0x67,0x00,0x00,0xc3,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x89,0x4b,0x4e,0xbf,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb1,0x94,0x00,0x00,0x70,0x81,0x05,0x53,0x00,0x00,0x7a,0x7a,0x00,0x00,0xfa,0x51, 0x00,0x00,0xaa,0x67,0x00,0x00,0xc3,0x5f,0x8f,0x63,0xba,0x80,0x00,0x00,0x9d,0x5b,0x00,0x00,0x95,0x5e, 0x00,0x00,0x05,0x53,0x00,0x00,0xc3,0x5f,0x00,0x00,0x07,0x00,0x00,0x00,0xb6,0x67,0x00,0x00,0x4f,0x4f, 0x00,0x00,0x34,0x59,0xbb,0x53,0x3e,0x5c,0x00,0x00,0xc0,0x8b,0x00,0x00,0xad,0x65,0x00,0x00,0x97,0x7b, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x64,0x96,0x00,0x00,0x3e,0x65, 0x00,0x00,0x1f,0x96,0x00,0x00,0xe5,0x67,0x00,0x00,0x4c,0x88,0x9c,0x69,0x00,0x00,0x17,0x52,0x00,0x00, 0xd2,0x6b,0x00,0x00,0x34,0x6c,0x00,0x00,0xa5,0x65,0x00,0x00,0x06,0x00,0x00,0x00,0xad,0x5e,0x00,0x00, 0xbf,0x53,0x00,0x00,0xe8,0x95,0x00,0x00,0x95,0x54,0x00,0x00,0x96,0x63,0xd6,0x76,0xd6,0x76,0x00,0x00, 0xa3,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0xdb,0x8f,0x00,0x00,0xdb,0x8f,0x3a,0x67, 0x00,0x00,0xd1,0x91,0x1f,0x96,0x00,0x00,0xdb,0x8f,0x34,0x59,0x00,0x00,0x1f,0x57,0x3a,0x67,0x00,0x00, 0xdb,0x8f,0xb9,0x70,0x00,0x00,0xa2,0x5b,0x00,0x00,0x93,0x58,0xad,0x97,0x38,0x5c,0x00,0x00,0x5f,0x57, 0xad,0x97,0x38,0x5c,0x00,0x00,0x07,0x00,0x00,0x00,0xf5,0x5f,0x00,0x00,0x4c,0x72,0x00,0x00,0x0d,0x54, 0x00,0x00,0xf7,0x53,0x00,0x00,0x4f,0x4f,0x00,0x00,0x86,0x53,0x00,0x00,0x51,0x7f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3a,0x59,0x00,0x00,0xc7,0x8f,0x00,0x00,0xdf,0x98,0x05,0x80,0x00,0x00,0x3a,0x59,0x27,0x60, 0x00,0x00,0x71,0x5f,0x00,0x00,0x3a,0x59,0x05,0x80,0x00,0x00,0x3a,0x59,0x0f,0x5f,0x00,0x00,0x77,0x6d, 0x00,0x00,0xdf,0x98,0x00,0x00,0xd6,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x7d,0x00,0x00,0xa8,0x8b, 0x00,0x00,0x4b,0x6d,0x00,0x00,0xbf,0x8b,0x00,0x00,0x95,0x5e,0x00,0x00,0x4b,0x6d,0x68,0x56,0x00,0x00, 0x1b,0x67,0x00,0x00,0x76,0x7a,0x00,0x00,0xfb,0x5b,0x00,0x00,0xff,0x77,0x43,0x67,0x00,0x00,0x03,0x00, 0x00,0x00,0x98,0x80,0x00,0x00,0x35,0x75,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xd7,0x53, 0x00,0x00,0xd1,0x8f,0x00,0x00,0xe6,0x89,0x00,0x00,0x30,0x52,0x00,0x00,0x0b,0x4e,0x65,0x67,0x00,0x00, 0x85,0x5f,0x00,0x00,0x40,0x77,0x00,0x00,0x36,0x65,0x00,0x00,0xde,0x8f,0x00,0x00,0x65,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0x36,0x52,0x00,0x00,0xa1,0x80,0x00,0x00,0x36,0x52,0x43,0x67,0x00,0x00,0xdf,0x70, 0x00,0x00,0x4a,0x54,0x00,0x00,0xa1,0x80,0x43,0x67,0x00,0x00,0x36,0x52,0x9b,0x52,0x00,0x00,0xc9,0x8b, 0x00,0x00,0xaa,0x67,0x00,0x00,0xb9,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0xa8,0x52, 0x00,0x00,0xdb,0x8f,0x00,0x00,0x50,0x83,0x00,0x00,0x7f,0x5e,0x00,0x00,0x4c,0x88,0x00,0x00,0xdf,0x8f, 0x00,0x00,0x4b,0x6d,0x00,0x00,0x00,0x95,0x00,0x00,0xfb,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x76, 0x00,0x00,0x70,0x99,0x00,0x00,0xcb,0x57,0x00,0x00,0xa4,0x62,0x00,0x00,0x53,0x4f,0x00,0x00,0xba,0x4e, 0x33,0x80,0xee,0x76,0x00,0x00,0xcf,0x85,0x00,0x00,0x20,0x66,0x00,0x00,0x33,0x80,0xd7,0x76,0xc3,0x94, 0x00,0x00,0x3d,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0xbd,0x65,0x00,0x00,0x9e,0x8f,0x00,0x00,0x4b,0x62, 0x0d,0x4e,0xca,0x53,0x00,0x00,0xcd,0x8b,0x00,0x00,0x6e,0x7f,0x00,0x00,0xe4,0x52,0x00,0x00,0x0f,0x61, 0x00,0x00,0xe4,0x52,0xbf,0x53,0x00,0x00,0xbd,0x65,0xd5,0x6c,0x00,0x00,0x8e,0x7f,0x00,0x00,0x03,0x00, 0x00,0x00,0x34,0x6c,0x00,0x00,0xda,0x8b,0x00,0x00,0x6e,0x99,0x00,0x00,0x01,0x00,0x00,0x00,0xa2,0x5b, 0x00,0x00,0x09,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x2f,0x5f,0x00,0x00,0xad,0x65,0x00,0x00,0xf4,0x76, 0x00,0x00,0x6f,0x62,0x00,0x00,0xb0,0x63,0x00,0x00,0x55,0x81,0x50,0x5b,0x00,0x00,0x00,0x5f,0xc9,0x63, 0x8e,0x78,0x00,0x00,0x96,0x54,0x00,0x00,0x05,0x00,0x00,0x00,0x70,0x8d,0x00,0x00,0xa0,0x63,0x00,0x00, 0xb7,0x83,0x00,0x00,0xbb,0x53,0x00,0x00,0xba,0x4e,0xd2,0x52,0x4e,0x8d,0x00,0x00,0x06,0x00,0x00,0x00, 0x30,0x57,0x09,0x67,0xf0,0x58,0x00,0x00,0xb0,0x9a,0x50,0x5b,0x00,0x00,0x39,0x5f,0x52,0x7b,0x00,0x00, 0x6f,0x67,0x00,0x00,0xd8,0x8f,0x00,0x00,0x72,0x82,0x00,0x00,0x03,0x00,0x00,0x00,0xa6,0x90,0x00,0x00, 0x50,0x5b,0x00,0x00,0xa6,0x90,0xd8,0x9a,0x9f,0x53,0x00,0x00,0x08,0x00,0x00,0x00,0x42,0x67,0x00,0x00, 0x47,0x50,0x00,0x00,0x8c,0x54,0x00,0x00,0x08,0x54,0x00,0x00,0xf1,0x94,0x00,0x00,0x42,0x67,0x7f,0x4f, 0x47,0x50,0x00,0x00,0x34,0x6c,0x00,0x00,0x47,0x50,0x7f,0x4f,0x42,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0xcb,0x86,0x00,0x00,0xe4,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x62,0x00,0x00,0x82,0x88,0x00,0x00, 0x02,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0xc5,0x60,0xa6,0x5e,0x06,0x74,0x00,0x00,0x0a,0x00,0x00,0x00, 0x13,0x64,0x00,0x00,0xc9,0x63,0x00,0x00,0x10,0x62,0x00,0x00,0x79,0x81,0x00,0x00,0x4f,0x63,0x00,0x00, 0x08,0x54,0x00,0x00,0xe6,0x64,0x00,0x00,0x36,0x52,0x00,0x00,0xe8,0x78,0x00,0x00,0x8c,0x54,0x00,0x00, 0x01,0x00,0x00,0x00,0x7b,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x62,0x4b,0x63,0x96,0x88,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf0,0x8f,0x00,0x00,0xd8,0x7e,0x00,0x00,0x99,0x51,0x00,0x00,0x79,0x64,0x00,0x00, 0x3b,0x75,0x00,0x00,0xf0,0x8f,0x27,0x60,0x00,0x00,0xd1,0x91,0x00,0x00,0xa2,0x7e,0x00,0x00,0xfe,0x56, 0x00,0x00,0xb0,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x4f,0x00,0x00,0xd8,0x9a,0x00,0x00,0xfa,0x51, 0x00,0x00,0x47,0x53,0x00,0x00,0x4d,0x52,0x00,0x00,0x92,0x91,0x00,0x00,0x30,0x52,0x00,0x00,0xa4,0x4e, 0x00,0x00,0xee,0x95,0x00,0x00,0x3a,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xf6,0x4e, 0x00,0x00,0x4b,0x62,0x00,0x00,0xfe,0x56,0x00,0x00,0xa7,0x5e,0x00,0x00,0xf2,0x66,0x00,0x00,0x1f,0x96, 0x00,0x00,0x3b,0x75,0x00,0x00,0x34,0x59,0x00,0x00,0xad,0x64,0x00,0x00,0x01,0x00,0x00,0x00,0xa9,0x8b, 0x00,0x00,0x01,0x00,0x00,0x00,0xd5,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0xd7,0x82,0xa9,0x52,0x7f,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x62,0x00,0x00,0x09,0x67,0x00,0x00,0x4f,0x4f,0x00,0x00,0xf3,0x62, 0x00,0x00,0x27,0x7d,0x00,0x00,0x4b,0x62,0x00,0x8a,0x8c,0x54,0x00,0x00,0x9b,0x52,0x00,0x00,0x4b,0x62, 0x1a,0x4f,0x00,0x00,0x2b,0x52,0x00,0x00,0xff,0x7a,0x00,0x00,0x06,0x00,0x00,0x00,0x4b,0x6d,0x00,0x00, 0x69,0x64,0x00,0x00,0xa6,0x5e,0x00,0x00,0x78,0x64,0x00,0x00,0x28,0x57,0x00,0x60,0xcc,0x91,0x00,0x00, 0xf3,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00, 0xed,0x62,0x00,0x00,0xe6,0x64,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0xfa,0x51,0x00,0x00, 0xea,0x63,0x00,0x00,0x6f,0x62,0x00,0x00,0x97,0x65,0x00,0x00,0xe2,0x56,0x00,0x00,0xe7,0x75,0x00,0x00, 0xab,0x8f,0x50,0x5b,0x00,0x00,0xc3,0x5f,0xea,0x63,0xba,0x80,0x00,0x00,0x01,0x90,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd8,0x79,0x00,0x00,0x3a,0x79,0x00,0x00,0x00,0x5f,0x00,0x00,0x32,0x97,0x00,0x00,0x53,0x66, 0x00,0x00,0xd1,0x53,0x00,0x00,0x55,0x5e,0x00,0x00,0x33,0x96,0x00,0x00,0x7f,0x7a,0x00,0x00,0x4c,0x72, 0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xa9,0x52,0x00,0x00,0x15,0x5f, 0x00,0x00,0xfa,0x5e,0x00,0x00,0x4b,0x62,0x00,0x00,0x86,0x75,0x00,0x00,0x51,0x65,0x00,0x00,0xa9,0x52, 0xe2,0x56,0x00,0x00,0x3e,0x6b,0x00,0x00,0xcf,0x85,0x00,0x00,0x16,0x59,0x00,0x00,0x01,0x00,0x00,0x00, 0xc4,0x63,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x57,0x84,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa2,0x5b,0x00,0x00,0x58,0x5b,0x00,0x00,0x3b,0x6d,0x00,0x00,0xc7,0x8f,0x00,0x00, 0xec,0x62,0x00,0x00,0xe5,0x5d,0x00,0x00,0xdc,0x80,0x00,0x00,0xa8,0x50,0x00,0x00,0x94,0x8f,0x84,0x6f, 0x05,0x6e,0x00,0x00,0x3b,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0xe5,0x5d,0x00,0x00,0xdf,0x98,0x00,0x00, 0x06,0x00,0x00,0x00,0x76,0x62,0x00,0x00,0x8c,0x54,0x00,0x00,0x42,0x67,0x00,0x00,0x51,0x51,0x00,0x00, 0x47,0x50,0x00,0x00,0x08,0x54,0x00,0x00,0x09,0x00,0x00,0x00,0x6e,0x7f,0x00,0x00,0x45,0x6d,0x00,0x00, 0x7f,0x67,0x00,0x00,0x0d,0x4e,0x4f,0x4f,0x00,0x00,0x1a,0x81,0x7f,0x67,0x00,0x00,0x6e,0x7f,0x0d,0x4e, 0x4d,0x52,0x00,0x00,0x14,0x7b,0x00,0x00,0x97,0x5f,0x4f,0x4f,0x00,0x00,0x1a,0x81,0x69,0x72,0x00,0x00, 0x06,0x00,0x00,0x00,0xb1,0x62,0x00,0x00,0x02,0x64,0x00,0x00,0x49,0x83,0x53,0x62,0x54,0x51,0x50,0x5b, 0x00,0x00,0xb1,0x94,0x00,0x00,0x34,0x59,0x00,0x00,0x4f,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xcc,0x62, 0x00,0x00,0xa8,0x52,0x00,0x00,0x40,0x5c,0x00,0x00,0x71,0x4e,0x00,0x00,0x00,0x53,0x00,0x00,0xcc,0x62, 0x3a,0x67,0x00,0x00,0xcc,0x62,0xd9,0x7a,0x00,0x00,0x40,0x5c,0x05,0x80,0x00,0x00,0xfa,0x57,0x00,0x00, 0xcc,0x62,0x66,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x77,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x62,0x97,0x00,0x00,0x28,0x57,0x00,0x60,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x65, 0x00,0x00,0xfb,0x51,0x00,0x00,0x40,0x67,0x00,0x00,0xa8,0x52,0x00,0x00,0x7d,0x54,0x00,0x00,0xd6,0x53, 0x00,0x00,0xfb,0x51,0x5b,0x8d,0x00,0x00,0x18,0x62,0x00,0x00,0xa8,0x52,0xf0,0x58,0x00,0x00,0xc0,0x9a, 0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x6c,0x00,0x00,0x4b,0x62, 0x00,0x00,0xa1,0x6f,0x00,0x00,0x17,0x6d,0x00,0x00,0x63,0x88,0x7f,0x67,0x00,0x00,0xbb,0x9e,0x00,0x00, 0x7f,0x67,0x00,0x00,0xa1,0x6f,0xe5,0x5d,0x00,0x00,0xc9,0x63,0x00,0x00,0x04,0x5f,0x00,0x00,0x02,0x00, 0x00,0x00,0xd2,0x75,0x00,0x00,0x96,0x99,0x04,0x5f,0xff,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x7d, 0x00,0x00,0x51,0x65,0x00,0x00,0xd0,0x72,0x00,0x00,0x22,0x7d,0x15,0x5f,0xce,0x64,0x00,0x00,0xc6,0x96, 0x00,0x00,0xfb,0x5b,0x00,0x00,0xd7,0x72,0x00,0x00,0xe5,0x67,0x00,0x00,0x3f,0x62,0x51,0x7f,0x00,0x00, 0x55,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x11,0x7b,0x00,0x00,0x7d,0x59,0x00,0x00, 0xfa,0x57,0x00,0x00,0x2a,0x60,0x00,0x00,0x3b,0x6d,0x00,0x00,0xae,0x57,0x00,0x00,0x82,0x63,0x00,0x00, 0x1e,0x64,0x00,0x00,0xed,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x7e,0x00,0x00,0x03,0x00,0x00,0x00, 0xa1,0x7b,0x00,0x00,0x18,0x62,0x00,0x00,0xa1,0x7b,0x63,0x60,0x86,0x80,0x00,0x00,0x03,0x00,0x00,0x00, 0x5e,0x58,0x00,0x00,0xf7,0x74,0x00,0x00,0x81,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x8f,0x00,0x00, 0xb6,0x5b,0x00,0x00,0xd0,0x8f,0x00,0x00,0x70,0x8d,0x00,0x00,0xdb,0x8f,0x00,0x00,0xbb,0x79,0x00,0x00, 0xd0,0x8f,0xe5,0x5d,0x00,0x00,0xa8,0x52,0x00,0x00,0x77,0x8d,0xf3,0x77,0x34,0x59,0x38,0x78,0xea,0x81, 0xf1,0x5d,0x84,0x76,0x1a,0x81,0x00,0x00,0xbb,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x91,0x00,0x00, 0xfa,0x5e,0x00,0x00,0x7d,0x8f,0x00,0x00,0x58,0x4e,0x00,0x00,0x63,0x68,0x00,0x00,0xaa,0x8b,0x00,0x00, 0x06,0x74,0x00,0x00,0x2e,0x55,0x00,0x00,0x65,0x68,0x00,0x00,0xbf,0x4f,0x66,0x8f,0x00,0x00,0x01,0x00, 0x00,0x00,0xf3,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0xd7,0x65,0x00,0x00,0x09,0x00,0x00,0x00,0xdf,0x98, 0x00,0x00,0x30,0x52,0x00,0x00,0xe5,0x5d,0x00,0x00,0x2a,0x4e,0x00,0x00,0x6a,0x75,0x00,0x00,0xce,0x91, 0x00,0x00,0x62,0x4f,0x00,0x00,0xba,0x4e,0x00,0x00,0xd4,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x26,0x5e, 0x00,0x00,0x0b,0x7a,0x00,0x00,0x4b,0x62,0x00,0x00,0x0b,0x7a,0x51,0x7f,0x00,0x00,0x26,0x5e,0x05,0x80, 0x00,0x00,0x77,0x8d,0x4b,0x62,0x65,0x67,0x00,0x00,0xbb,0x59,0x00,0x00,0xac,0x72,0x00,0x00,0xb6,0x5b, 0x26,0x5e,0xe3,0x53,0x00,0x00,0x4b,0x62,0x76,0x5e,0xa9,0x80,0x00,0x00,0x02,0x00,0x00,0x00,0x89,0x94, 0x3f,0x51,0x00,0x00,0x63,0x62,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5f,0x00,0x00,0x65,0x51, 0x00,0x00,0xcf,0x50,0x34,0x59,0x00,0x00,0x71,0x5f,0x08,0x5e,0x00,0x00,0x0f,0x6c,0xa6,0x5e,0x00,0x00, 0xd6,0x53,0x00,0x00,0x65,0x51,0xcf,0x91,0x00,0x00,0xcf,0x50,0x3a,0x67,0x00,0x00,0x71,0x5f,0xb6,0x5b, 0x00,0x00,0xcf,0x50,0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x81,0x00,0x00,0x3e,0x65,0x00,0x00,0x4a,0x64, 0x00,0x00,0xbe,0x8b,0x00,0x00,0xa8,0x52,0x00,0x00,0x73,0x5e,0x00,0x00,0xf6,0x4e,0x00,0x00,0x04,0x5f, 0x00,0x00,0x21,0x6e,0x00,0x00,0x28,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0xda,0x6e, 0x00,0x00,0x46,0x64,0x00,0x00,0x43,0x66,0x00,0x00,0x34,0x59,0x00,0x00,0xee,0x7b,0x00,0x00,0xda,0x6e, 0x50,0x4e,0x00,0x00,0x47,0x64,0x00,0x00,0xab,0x8e,0x00,0x4e,0xd8,0x53,0x00,0x00,0x46,0x64,0xde,0x5d, 0x00,0x00,0x04,0x00,0x00,0x00,0x03,0x5f,0x00,0x00,0x64,0x96,0x00,0x00,0xa5,0x65,0x00,0x00,0x10,0x90, 0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x85,0x00,0x00,0x4d,0x4f,0x00,0x00,0x3b,0x4e,0x00,0x00,0x29,0x8d, 0x00,0x00,0x00,0x95,0x00,0x00,0xb9,0x70,0x00,0x00,0x3e,0x6d,0x00,0x00,0x50,0x5b,0x00,0x00,0x4c,0x72, 0x00,0x00,0x4b,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0x03,0x5f,0x00,0x00,0x64,0x96,0x00,0x00,0xdd,0x7e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x50,0x00,0x00,0xe4,0x8d,0x00,0x00,0x53,0x62,0x00,0x00,0x3d,0x84, 0x00,0x00,0x74,0x5a,0x00,0x00,0xe5,0x7a,0x00,0x00,0x7b,0x6b,0x00,0x00,0xe8,0x95,0x00,0x00,0xad,0x65, 0x00,0x00,0x74,0x5a,0x48,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x89,0x00,0x00,0x16,0x7f,0x00,0x00, 0x3d,0x5e,0x00,0x00,0xea,0x81,0x00,0x00,0x55,0x5f,0x00,0x00,0x89,0x63,0x00,0x00,0x64,0x96,0x00,0x00, 0xd6,0x53,0x00,0x00,0x84,0x62,0x00,0x00,0xd1,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0xa1,0x7b,0x00,0x00, 0x08,0x00,0x00,0x00,0xc1,0x6b,0x00,0x00,0x8b,0x6b,0x00,0x00,0xaf,0x67,0xc9,0x62,0x3d,0x67,0x00,0x00, 0xae,0x57,0x00,0x00,0x0f,0x4f,0x00,0x00,0x98,0x62,0x00,0x00,0x09,0x77,0x98,0x62,0x70,0x81,0x00,0x00, 0x16,0x5d,0xcd,0x62,0xb8,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x62,0x57,0x7f,0xc9,0x62,0x00,0x00, 0xe6,0x64,0x00,0x00,0x39,0x68,0x27,0x59,0x1a,0x90,0x00,0x00,0x58,0x62,0x66,0x8f,0x00,0x00,0x39,0x68, 0xeb,0x58,0x39,0x4e,0x29,0x52,0x00,0x00,0x39,0x68,0x00,0x00,0xaf,0x7f,0x00,0x00,0xaf,0x7f,0xa7,0x5e, 0x00,0x00,0xc3,0x8b,0x00,0x00,0x14,0x5c,0x00,0x00,0x02,0x00,0x00,0x00,0xfe,0x62,0x00,0x00,0xfb,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x7d,0x00,0x00,0x95,0x5e,0x00,0x00,0x05,0x6e,0x00,0x00,0x78,0x64, 0x00,0x00,0x40,0x77,0xf3,0x77,0x34,0x59,0xc7,0x8f,0xb3,0x6c,0x00,0x00,0x2c,0x72,0xda,0x6e,0x53,0x62, 0x00,0x00,0x0d,0x4e,0x40,0x77,0x34,0x59,0x11,0x81,0x00,0x00,0xe5,0x67,0x00,0x00,0xd1,0x9e,0x00,0x00, 0x97,0x5f,0x40,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x2c,0x67,0x00,0x00,0xff,0x4e,0x00,0x00,0x99,0x51, 0x00,0x00,0x3b,0x52,0x00,0x00,0xdf,0x62,0x00,0x00,0xd8,0x7e,0x00,0x00,0x3b,0x75,0x00,0x00,0xb6,0x72, 0x00,0x00,0x70,0x53,0x00,0x00,0x71,0x5c,0x03,0x83,0x34,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0xbf,0x7e, 0x00,0x00,0x07,0x00,0x00,0x00,0x52,0x83,0x00,0x00,0x0b,0x4e,0x00,0x00,0x11,0x63,0x50,0x5b,0x00,0x00, 0x11,0x63,0x00,0x00,0x12,0x50,0x00,0x00,0x30,0x57,0x00,0x00,0x30,0x57,0x4a,0x64,0x00,0x00,0x02,0x00, 0x00,0x00,0x34,0x56,0x00,0x00,0xc0,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x6e,0x00,0x00,0x00,0x5f, 0x00,0x00,0x64,0x96,0x00,0x00,0x0b,0x4e,0x00,0x00,0x34,0x56,0x00,0x00,0x89,0x63,0x00,0x00,0x03,0x5f, 0x00,0x00,0x00,0x5f,0x0d,0x4e,0x08,0x8c,0x00,0x00,0x31,0x81,0x00,0x00,0x06,0x7f,0xaa,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0x70,0x81,0x00,0x00,0x30,0x52,0x00,0x00,0x4f,0x4f,0x00,0x00,0xe8,0x95,0x62,0x97, 0x00,0x00,0x3a,0x57,0x62,0x97,0x00,0x00,0x46,0x67,0xf3,0x8d,0x00,0x00,0x46,0x67,0x00,0x00,0xff,0x7a, 0xf3,0x8d,0x00,0x00,0x1e,0x4f,0x00,0x00,0xff,0x7a,0xf3,0x8d,0xd8,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00, 0x07,0x52,0x14,0x5c,0x00,0x00,0x0e,0x8c,0x00,0x00,0x07,0x5a,0x00,0x00,0xc8,0x54,0xc9,0x62,0x00,0x00, 0xe6,0x65,0x00,0x00,0x3f,0x5c,0x00,0x00,0x51,0x7f,0x00,0x00,0x4b,0x62,0x00,0x00,0xd0,0x76,0x00,0x00, 0x1d,0x8d,0x81,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0x00,0x5f,0x00,0x00,0xc1,0x6b, 0x00,0x00,0xac,0x54,0x00,0x00,0xc3,0x5f,0xc2,0x88,0xba,0x80,0x00,0x00,0x8e,0x78,0x00,0x00,0x34,0x78, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x34,0x78,0x38,0x81,0x00,0x00,0xb8,0x7e,0x00,0x00,0x01,0x00,0x00,0x00, 0x82,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x37,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x51,0x00,0x00, 0x66,0x8f,0x00,0x00,0x30,0x52,0x00,0x00,0xde,0x98,0x00,0x00,0x7b,0x6b,0x00,0x00,0xc1,0x89,0x00,0x00, 0x6b,0x88,0x00,0x00,0x3a,0x67,0x00,0x00,0xc1,0x6b,0x00,0x00,0xfb,0x51,0x9b,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x00,0x95,0x00,0x00,0xbb,0x79,0x00,0x00,0xfa,0x51,0x00,0x00,0xde,0x56,0x00,0x00,0x9b,0x51, 0x00,0x00,0x00,0x90,0x00,0x00,0x4c,0x80,0x00,0x00,0x44,0x8d,0x00,0x00,0x55,0x53,0x00,0x00,0x70,0x8d, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x62,0x00,0x00,0x00,0x5f,0x00,0x00,0xa8,0x52,0x00,0x00,0x71,0x4e, 0x00,0x00,0xdc,0x83,0x00,0x00,0x17,0x90,0x00,0x00,0x77,0x8d,0x00,0x00,0xf9,0x60,0x00,0x00,0xba,0x4e, 0x00,0x00,0xba,0x4e,0xc3,0x5f,0xa8,0x52,0x00,0x00,0x06,0x00,0x00,0x00,0xcd,0x68,0x00,0x00,0xe8,0x95, 0x00,0x00,0x60,0x67,0x00,0x00,0x83,0x7a,0x00,0x00,0x00,0x5f,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3e,0x65,0x00,0x00,0xfa,0x51,0x00,0x00,0xcd,0x79,0x00,0x00,0xa5,0x62,0x00,0x00,0x3e,0x65, 0x68,0x56,0x00,0x00,0xd1,0x53,0x00,0x00,0xf3,0x97,0x00,0x00,0xf3,0x97,0x58,0x54,0x00,0x00,0x3e,0x65, 0xcf,0x91,0x00,0x00,0xa2,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0x95,0x7b,0x00,0x00, 0x81,0x89,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x51,0x00,0x00,0x87,0x65,0x00,0x00, 0x3f,0x7a,0xba,0x4e,0x00,0x00,0x3f,0x7a,0x00,0x00,0xf0,0x8f,0x00,0x00,0x99,0x51,0xba,0x4e,0x00,0x00, 0x99,0x51,0x05,0x80,0x00,0x00,0x57,0x84,0x00,0x00,0x3f,0x7a,0x05,0x80,0x00,0x00,0x55,0x5f,0x00,0x00, 0x02,0x00,0x00,0x00,0x70,0x8d,0x00,0x00,0xfa,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0xd6,0x53,0x00,0x00, 0xfe,0x62,0x00,0x00,0x81,0x89,0x00,0x00,0x07,0x00,0x00,0x00,0x3b,0x4e,0x00,0x00,0xa1,0x7b,0x00,0x00, 0xb8,0x64,0x00,0x00,0xb9,0x70,0x00,0x00,0xb9,0x59,0x00,0x00,0x5f,0x74,0x00,0x00,0x50,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0x87,0x63,0x00,0x00,0x04,0x5f,0x00,0x00,0x05,0x00,0x00,0x00,0xa8,0x52,0x00,0x00, 0xba,0x4e,0xc3,0x5f,0x44,0x9b,0x00,0x00,0x29,0x59,0xa8,0x52,0x30,0x57,0x00,0x00,0x36,0x71,0x00,0x00, 0x11,0x68,0x8d,0x86,0x09,0x87,0x00,0x00,0x04,0x00,0x00,0x00,0x62,0x97,0x56,0x67,0x00,0x00,0x36,0x52, 0x00,0x00,0xe1,0x6b,0x00,0x00,0x56,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0xf0,0x53, 0x5b,0x8d,0x00,0x00,0x13,0x9f,0x00,0x00,0x13,0x9f,0x47,0x95,0x00,0x00,0x3b,0x4e,0x00,0x00,0x36,0x83, 0x00,0x00,0x13,0x9f,0xa9,0x58,0x00,0x00,0x13,0x9f,0x23,0x9e,0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00, 0xea,0x81,0x00,0x00,0x7f,0x95,0x00,0x00,0x7f,0x95,0x8e,0x4e,0x00,0x00,0xef,0x95,0x00,0x00,0xbb,0x79, 0x4c,0x80,0x88,0x5b,0x00,0x00,0xbb,0x79,0x00,0x00,0x43,0x67,0x00,0x00,0x8e,0x4e,0x00,0x00,0xbc,0x65, 0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x5c,0x4f,0x00,0x00,0x5c,0x4f,0xfb,0x7c,0xdf,0x7e, 0x00,0x00,0xb5,0x7e,0x00,0x00,0xa7,0x63,0x00,0x00,0x3a,0x57,0x00,0x00,0xd8,0x76,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x5c,0x4f,0x27,0x60,0x00,0x00,0xd8,0x76,0x4b,0x62,0x00,0x00,0x88,0x5b,0x00,0x00,0x05,0x00, 0x00,0x00,0x29,0x59,0xf1,0x67,0x00,0x00,0xf3,0x62,0x08,0x54,0x8c,0x63,0x00,0x00,0xd7,0x65,0xba,0x4e, 0x00,0x00,0xa5,0x63,0x00,0x00,0x29,0x59,0x00,0x00,0x05,0x00,0x00,0x00,0xb7,0x83,0x00,0x00,0xff,0x62, 0x00,0x00,0x3c,0x8d,0x00,0x00,0x4c,0x65,0x00,0x00,0x3c,0x8d,0xd2,0x64,0x8b,0x73,0x00,0x00,0x01,0x00, 0x00,0x00,0x0a,0x8e,0x00,0x00,0x03,0x00,0x00,0x00,0x3b,0x75,0x00,0x00,0x12,0x52,0x00,0x00,0x00,0x5f, 0x00,0x00,0x03,0x00,0x00,0x00,0x47,0x53,0x00,0x00,0x2c,0x7b,0x00,0x00,0xd1,0x53,0xbe,0x96,0x70,0x65, 0x00,0x00,0x01,0x00,0x00,0x00,0x3b,0x9f,0x95,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x8f,0x03,0x74, 0x00,0x00,0xed,0x62,0x00,0x00,0x24,0x4f,0x00,0x00,0xa9,0x80,0x0c,0x80,0xc7,0x8f,0x00,0x00,0xae,0x4e, 0x00,0x00,0xe6,0x64,0x00,0x00,0x89,0x63,0x00,0x00,0x17,0x6d,0x00,0x00,0xaa,0x67,0x70,0x8d,0x6b,0x70, 0x00,0x00,0x38,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x53,0x00,0x00,0xd4,0x6b,0x00,0x00,0x2c,0x72, 0x00,0x00,0x7b,0x76,0x00,0x00,0xa2,0x94,0x00,0x00,0xa9,0x5c,0x00,0x00,0x9d,0x67,0xb1,0x82,0x00,0x00, 0x08,0x8c,0x00,0x00,0x18,0x7f,0x00,0x00,0x9d,0x67,0xb1,0x82,0x02,0x5e,0x00,0x00,0x01,0x00,0x00,0x00, 0x64,0x71,0x3a,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x1f,0x59,0x00,0x00,0xa8,0x52,0x00,0x00,0x3a,0x67, 0x00,0x00,0x07,0x7c,0x00,0x00,0x5a,0x80,0x00,0x00,0x09,0x77,0x00,0x00,0xc6,0x96,0x00,0x00,0xd2,0x76, 0x00,0x00,0x0a,0x00,0x00,0x00,0x18,0x65,0x00,0x00,0x37,0x59,0x00,0x00,0x16,0x59,0xc5,0x5f,0x48,0x51, 0x89,0x5b,0x85,0x51,0x00,0x00,0xc2,0x81,0x00,0x00,0x16,0x59,0x89,0x5b,0x85,0x51,0x00,0x00,0x3a,0x59, 0x00,0x00,0x7e,0x70,0x00,0x00,0xdf,0x8b,0x00,0x00,0x64,0x96,0x00,0x00,0x8a,0x7f,0x00,0x00,0x03,0x00, 0x00,0x00,0xd6,0x53,0x00,0x00,0x3a,0x59,0x00,0x00,0x20,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x63, 0x00,0x00,0xd8,0x4e,0x00,0x00,0xfa,0x51,0x00,0x00,0x91,0x64,0x00,0x00,0x1f,0x96,0x00,0x00,0x01,0x63, 0x05,0x80,0x00,0x00,0x4c,0x88,0x00,0x00,0xf4,0x63,0x00,0x00,0x01,0x63,0x87,0x73,0x00,0x00,0xf1,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xca,0x76,0x00,0x00,0x2d,0x8d,0x00,0x00,0x39,0x8d, 0x00,0x00,0xca,0x76,0x87,0x73,0x00,0x00,0x30,0x52,0x00,0x00,0xd8,0x76,0x00,0x00,0xcf,0x85,0x00,0x00, 0xd6,0x53,0x00,0x00,0xc6,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0x73,0x51,0x00,0x00,0xbf,0x53,0x00,0x00, 0xbf,0x53,0x4d,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x97,0x00,0x00,0xd8,0x53,0x00,0x00,0x84,0x55, 0x00,0x00,0x20,0x90,0x00,0x00,0xdb,0x8f,0x00,0x00,0x36,0x52,0x00,0x00,0x63,0x6b,0x00,0x00,0xc5,0x88, 0x00,0x00,0x0d,0x54,0x00,0x00,0xc2,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x51,0x00,0x00,0x65,0x75, 0x00,0x00,0xbf,0x52,0x00,0x00,0x5a,0x57,0x00,0x00,0x73,0x51,0x00,0x00,0xfb,0x51,0x27,0x60,0x00,0x00, 0x4b,0x51,0x00,0x00,0xfb,0x8b,0x00,0x00,0x60,0x53,0x00,0x00,0x53,0x62,0x00,0x00,0x0a,0x00,0x00,0x00, 0x03,0x5f,0x00,0x00,0x13,0x7f,0x00,0x00,0x7e,0x67,0x00,0x00,0x28,0x57,0x00,0x00,0xc3,0x5f,0x00,0x00, 0x27,0x59,0x00,0x00,0x00,0x5f,0x00,0x00,0xbd,0x5b,0x00,0x00,0x0b,0x4e,0x00,0x00,0xcf,0x91,0x00,0x00, 0x0a,0x00,0x00,0x00,0x9c,0x5e,0x00,0x00,0x56,0x7b,0x00,0x00,0xbb,0x6c,0x00,0x00,0x4f,0x53,0x00,0x00, 0x43,0x67,0x00,0x00,0x5a,0x51,0x00,0x00,0x9c,0x5e,0x9b,0x51,0x00,0x00,0x9c,0x5e,0xe8,0x90,0xe8,0x95, 0x00,0x00,0xbb,0x6c,0x27,0x60,0x00,0x00,0xbb,0x6c,0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e, 0x00,0x00,0x0f,0x61,0x00,0x00,0x9c,0x96,0x00,0x00,0xab,0x5b,0x00,0x00,0x61,0x4e,0x00,0x00,0x45,0x5c, 0x00,0x00,0x0c,0x80,0x00,0x00,0xcc,0x91,0x00,0x00,0x64,0x6b,0x00,0x00,0x1f,0x57,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9c,0x67,0x00,0x00,0x87,0x73,0x00,0x00,0x94,0x5e,0x00,0x00,0xca,0x76,0x00,0x00,0x9b,0x52, 0x00,0x00,0xff,0x4e,0x00,0x00,0xfd,0x80,0x00,0x00,0x28,0x75,0x00,0x00,0x9c,0x67,0xfe,0x56,0x00,0x00, 0xe0,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0xf9,0x5b,0x00,0x00,0xb9,0x65,0x00,0x00,0x0f,0x61,0x00,0x00,0xc6,0x89,0x00,0x00,0x9b,0x51,0x00,0x00, 0x3a,0x67,0x00,0x00,0xfd,0x56,0x00,0x00,0x11,0x62,0x00,0x00,0x4c,0x65,0x4f,0x75,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1f,0x61,0x00,0x00,0x10,0x95,0x00,0x00,0x1f,0x61,0xa6,0x5e,0x00,0x00,0x1f,0x61,0x27,0x60, 0x00,0x00,0x77,0x63,0x00,0x00,0x1f,0x61,0x1f,0x67,0x00,0x00,0x1f,0x61,0xcd,0x8b,0x00,0x00,0x1f,0x61, 0x3a,0x53,0x00,0x00,0x1f,0x61,0xb9,0x70,0x00,0x00,0x1f,0x61,0xae,0x76,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf4,0x63,0x00,0x00,0xa9,0x52,0x00,0x00,0xbb,0x6c,0x00,0x00,0x7e,0x70,0x00,0x00,0x4e,0x6d,0x00,0x00, 0xa4,0x62,0x66,0x8f,0x00,0x00,0xba,0x4e,0x00,0x00,0x02,0x5e,0x00,0x00,0x7d,0x54,0x00,0x00,0xa4,0x62, 0x00,0x00,0x06,0x00,0x00,0x00,0xe4,0x4e,0x00,0x00,0xfa,0x5e,0x00,0x00,0xd2,0x52,0xdd,0x5d,0x00,0x00, 0x66,0x4e,0x00,0x00,0xd2,0x52,0x00,0x00,0x01,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x4e,0x00,0x00, 0x05,0x53,0x00,0x00,0xb7,0x5f,0x28,0x84,0x00,0x00,0x49,0x6c,0xd7,0x65,0x00,0x00,0x49,0x6c,0x00,0x00, 0xf0,0x95,0x00,0x00,0xac,0x72,0x00,0x00,0x7f,0x5e,0x00,0x00,0x1c,0x4e,0x1f,0x96,0x00,0x00,0x38,0x6e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x80,0x00,0x00,0x88,0x63,0x00,0x00,0x08,0x5e,0x00,0x00,0x66,0x5b, 0x00,0x00,0xad,0x8b,0x00,0x00,0xb2,0x80,0xe8,0x90,0x00,0x00,0x50,0x67,0x00,0x00,0xb2,0x80,0x40,0x5c, 0x00,0x00,0xc3,0x7e,0x00,0x00,0xa4,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0x22,0x8d,0x00,0x00,0xb1,0x94, 0x00,0x00,0xf9,0x8f,0x00,0x00,0xb9,0x5b,0x00,0x00,0xbb,0x53,0x00,0x00,0x7d,0x88,0x00,0x00,0xf4,0x5d, 0x00,0x00,0x65,0x6b,0x00,0x00,0x6f,0x60,0x4f,0x5c,0xf0,0x58,0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x4e, 0x00,0x00,0x63,0x5c,0x00,0x00,0x1a,0x5e,0xea,0x81,0xcd,0x73,0x00,0x00,0x21,0x68,0x00,0x00,0xfd,0x56, 0x00,0x00,0x63,0x5c,0x0a,0x5c,0x63,0x83,0x00,0x00,0x82,0x53,0x00,0x00,0xf8,0x53,0x00,0x00,0x1a,0x5e, 0x43,0x53,0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0xe3,0x53,0x00,0x00,0xf7,0x7b, 0x00,0x00,0xae,0x4e,0x00,0x00,0xf7,0x7b,0x66,0x8f,0x00,0x00,0x00,0x5f,0x0f,0x5f,0x00,0x00,0x66,0x8f, 0x00,0x00,0xf7,0x7b,0x7d,0x6c,0x66,0x8f,0x00,0x00,0xae,0x4e,0xae,0x4e,0x00,0x00,0xb6,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0x7b,0x6b,0x1f,0x96,0x00,0x00,0xc5,0x60,0x00,0x00,0x3a,0x4e, 0xba,0x4e,0x48,0x51,0x00,0x00,0x12,0x60,0x0d,0x4e,0x62,0x65,0x00,0x8a,0x00,0x00,0x3a,0x4e,0x29,0x59, 0x0b,0x4e,0x48,0x51,0x00,0x00,0x5c,0x4f,0x62,0x65,0x3a,0x4e,0x00,0x00,0x5a,0x50,0x62,0x65,0x3a,0x4e, 0x00,0x00,0x12,0x60,0x0c,0x80,0x0d,0x4e,0x62,0x65,0x00,0x8a,0x00,0x00,0x5a,0x50,0x62,0x65,0x53,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x62,0x00,0x00,0xd1,0x53,0x00,0x00,0x65,0x6b,0x00,0x00,0x03,0x5e, 0x00,0x00,0x3d,0x84,0x00,0x00,0xed,0x70,0x00,0x00,0xc5,0x88,0x00,0x00,0x87,0x65,0x00,0x00,0x71,0x4e, 0x00,0x00,0xa2,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x4f,0x00,0x00,0x4c,0x71,0x00,0x00,0x4c,0x71, 0x51,0x7f,0x00,0x00,0x4c,0x71,0x66,0x5b,0x00,0x00,0x9a,0x53,0x00,0x00,0x16,0x53,0x00,0x00,0x4c,0x71, 0x02,0x5e,0x00,0x00,0x6a,0x8c,0x00,0x00,0x3a,0x8d,0x00,0x00,0x9e,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf7,0x8b,0x00,0x00,0x4f,0x75,0x00,0x00,0x0f,0x61,0x00,0x00,0x01,0x80,0x62,0x96,0x00,0x00,0x1a,0x4e, 0x00,0x00,0x69,0x4f,0x00,0x00,0x3c,0x79,0x00,0x00,0x2e,0x73,0x00,0x00,0xcd,0x91,0x00,0x00,0xf0,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x63,0x00,0x00,0xcf,0x91,0x00,0x00,0x57,0x5b,0x00,0x00,0x66,0x5b, 0x00,0x00,0x41,0x53,0x00,0x00,0x9d,0x98,0x00,0x00,0x7e,0x76,0x00,0x00,0x01,0x78,0x00,0x00,0x43,0x53, 0x00,0x00,0x6e,0x63,0x93,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x54,0x00,0x00,0xc8,0x8b,0xd2,0x52, 0x22,0x7d,0x00,0x00,0xc8,0x8b,0x00,0x00,0xe8,0x95,0x00,0x00,0x53,0x62,0x00,0x00,0xfb,0x51,0x00,0x00, 0xc8,0x8b,0xd2,0x52,0x22,0x7d,0x6a,0x7f,0x00,0x00,0xe8,0x95,0x16,0x78,0x00,0x00,0xe8,0x95,0xf0,0x58, 0x00,0x00,0x72,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x4e,0x00,0x00,0x53,0x4f,0x00,0x00,0x08,0x54, 0x00,0x00,0x06,0x74,0x00,0x00,0xbb,0x6c,0x00,0x00,0x39,0x65,0x00,0x00,0x7f,0x98,0x00,0x00,0x62,0x5f, 0x00,0x00,0x74,0x65,0x00,0x00,0x70,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x88,0x00,0x00,0x38,0x81, 0x00,0x00,0x4d,0x88,0x86,0x4e,0x8b,0x4e,0x00,0x00,0x62,0x97,0x9c,0x81,0x00,0x00,0xbe,0x8b,0x00,0x00, 0x4d,0x88,0x5e,0x58,0x23,0x8d,0x00,0x00,0x34,0x8d,0x00,0x00,0x99,0x65,0x00,0x00,0x62,0x97,0x00,0x00, 0x14,0x6f,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x53,0x00,0x00,0xe0,0x7a,0x00,0x00,0xf6,0x4e,0x00,0x00, 0x66,0x5b,0x00,0x00,0x69,0x72,0x00,0x00,0x0e,0x66,0x00,0x00,0x57,0x5b,0x00,0x00,0x7a,0x82,0x00,0x00, 0x2e,0x73,0x00,0x00,0x2c,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x62,0x00,0x00,0x08,0x67,0x00,0x00, 0x02,0x58,0x00,0x00,0xe4,0x85,0x00,0x00,0x28,0x67,0x2d,0x66,0x86,0x96,0x00,0x00,0x6d,0x99,0x00,0x00, 0x02,0x58,0x9b,0x5c,0x57,0x88,0x00,0x00,0xab,0x5b,0x00,0x00,0xe5,0x65,0x00,0x00,0x51,0x68,0x00,0x00, 0x03,0x00,0x00,0x00,0x8c,0x65,0x00,0x00,0xe5,0x54,0x00,0x00,0x65,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0x4e,0x6d,0x00,0x00,0x36,0x71,0x00,0x00,0x90,0x65,0x00,0x00,0xea,0x8f,0x57,0x53,0x00,0x00,0x4e,0x6d, 0xa4,0x7f,0x9b,0x5c,0x00,0x00,0x50,0x4e,0x00,0x00,0x4e,0x6d,0x71,0x51,0x8c,0x54,0xfd,0x56,0x00,0x00, 0x4e,0x6d,0x9b,0x5c,0x00,0x00,0x06,0x74,0x2f,0x4f,0x00,0x00,0x4e,0x6d,0x1f,0x96,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb9,0x70,0x00,0x00,0x91,0x65,0x00,0x00,0x6c,0x9a,0xbf,0x7e,0x00,0x00,0x6c,0x9a,0x00,0x00, 0x73,0x9a,0x00,0x00,0x57,0x57,0x00,0x00,0x93,0x65,0x00,0x00,0x9a,0x7f,0x00,0x00,0xb9,0x7e,0x00,0x00, 0x20,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x4e,0x00,0x00,0xb4,0x6b,0x00,0x00,0xeb,0x58,0x00,0x00, 0xd7,0x5f,0x00,0x00,0x7a,0x66,0x00,0x00,0xf7,0x7b,0x00,0x00,0x30,0x57,0x3b,0x4e,0x00,0x00,0x5b,0x72, 0x00,0x00,0xc7,0x52,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x74,0x00,0x00,0x30,0x52, 0x00,0x00,0x52,0x91,0x00,0x00,0xf3,0x60,0x00,0x00,0x50,0x5b,0x00,0x00,0x06,0x74,0x97,0x5e,0x00,0x00, 0xed,0x5c,0x00,0x00,0x06,0x74,0x3a,0x67,0x00,0x00,0x68,0x56,0x00,0x00,0x9a,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x61,0x57,0x00,0x00,0xf9,0x5b,0x62,0x97,0x00,0x00,0x87,0x73,0x00,0x00,0xc6,0x89,0x00,0x00, 0x62,0x97,0x00,0x00,0xbf,0x7e,0x00,0x00,0x95,0x4e,0x00,0x00,0xc9,0x62,0x00,0x00,0x3c,0x77,0x00,0x00, 0x54,0x58,0x00,0x00,0x04,0x00,0x00,0x00,0x4c,0x91,0x00,0x00,0x52,0x91,0x00,0x00,0x4c,0x91,0x57,0x5b, 0xe5,0x53,0x00,0x00,0x4c,0x91,0xb3,0x51,0x9a,0x5b,0x43,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xcb,0x65, 0x00,0x00,0x06,0x00,0x00,0x00,0xa4,0x65,0xa1,0x8b,0x83,0x8f,0x00,0x00,0x2a,0x73,0x89,0x80,0x00,0x00, 0x24,0x4e,0x00,0x00,0xa4,0x65,0x00,0x00,0x97,0x65,0x00,0x00,0xa4,0x65,0x83,0x8f,0xcf,0x91,0x00,0x00, 0x0a,0x00,0x00,0x00,0x44,0x8d,0x00,0x00,0x23,0x8d,0x00,0x00,0x9b,0x52,0x00,0x00,0x4b,0x4e,0x3a,0x4e, 0x00,0x00,0x19,0x50,0x00,0x00,0x82,0x9a,0x00,0x00,0x00,0x90,0x00,0x00,0x3a,0x4e,0x00,0x00,0x64,0x53, 0x00,0x00,0x69,0x97,0x00,0x00,0x09,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x63,0x6b, 0x00,0x00,0xba,0x94,0x00,0x00,0x4a,0x52,0x00,0x00,0xba,0x94,0x64,0x6c,0x6c,0x95,0x00,0x00,0xba,0x94, 0x4b,0x4e,0xdb,0x8b,0x00,0x00,0xff,0x51,0x00,0x00,0xff,0x51,0xf0,0x58,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb7,0x83,0x00,0x00,0xad,0x65,0x00,0x00,0x96,0x99,0x00,0x00,0x89,0x94,0x2a,0x62,0xc1,0x94,0x00,0x00, 0xd3,0x4e,0x00,0x00,0x49,0x83,0x64,0x96,0x39,0x68,0x00,0x00,0x47,0x50,0xf3,0x77,0x00,0x00,0x0c,0x80, 0x0d,0x4e,0x4f,0x59,0x00,0x00,0x40,0x67,0x00,0x00,0xb0,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0x25,0x84, 0x00,0x00,0x27,0x4e,0x00,0x00,0x7d,0x76,0x00,0x00,0x72,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x88, 0x00,0x00,0x35,0x75,0x00,0x00,0x9a,0x5b,0x00,0x00,0x00,0x8a,0x00,0x00,0x42,0x5c,0x00,0x00,0xdd,0x7e, 0x00,0x00,0x62,0x97,0x00,0x00,0x27,0x8d,0x00,0x00,0xad,0x65,0xed,0x7e,0xed,0x7e,0x00,0x00,0x36,0x71, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x8b,0x7b,0x76,0x00,0x00,0x66,0x57,0x00,0x00,0xcc,0x91,0x70,0x51, 0x61,0x53,0x00,0x00,0x27,0x59,0x97,0x67,0x00,0x00,0x66,0x57,0x8f,0x79,0x00,0x00,0xb7,0x5f,0xe5,0x54, 0x14,0x5c,0x69,0x64,0x00,0x00,0x82,0x84,0xac,0x82,0x00,0x00,0x1b,0x6d,0x87,0x65,0x3c,0x5c,0x9a,0x4e, 0x00,0x00,0x1a,0x90,0x00,0x00,0x87,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x95,0x00,0x00,0x4e,0x53, 0x00,0x00,0x51,0x7f,0x00,0x00,0x4e,0x53,0x3e,0x79,0x00,0x00,0x74,0x51,0x00,0x00,0x9e,0x58,0x00,0x00, 0x86,0x75,0x00,0x00,0xfb,0x95,0x51,0x7f,0x00,0x00,0xd8,0x9a,0x00,0x00,0x8b,0x57,0x00,0x00,0x01,0x00, 0x00,0x00,0x27,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0x0f,0x5f,0x00,0x00,0x48,0x68, 0x00,0x00,0xd5,0x6c,0x00,0x00,0x11,0x54,0x00,0x00,0xbf,0x4f,0x00,0x00,0xbe,0x8f,0x00,0x00,0x88,0x94, 0x00,0x00,0x63,0x6b,0x00,0x00,0xbf,0x4f,0x62,0x97,0x00,0x00,0x05,0x00,0x00,0x00,0x64,0x6b,0x00,0x00, 0xba,0x4e,0x00,0x00,0xdf,0x83,0x00,0x00,0x4e,0x4e,0x00,0x00,0x0f,0x62,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe5,0x5d,0x00,0x00,0x4c,0x88,0x00,0x00,0x8b,0x53,0x00,0x00,0xa0,0x52,0x00,0x00,0x51,0x65,0x00,0x00, 0x3f,0x65,0x00,0x00,0xe5,0x5d,0xb9,0x65,0x00,0x00,0x57,0x7f,0xb7,0x5f,0x00,0x00,0x55,0x5c,0x00,0x00, 0xa5,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x8f,0x00,0x00,0x2c,0x54,0x00,0x00,0xba,0x4e,0x00,0x00, 0xc2,0x89,0x05,0x80,0x00,0x00,0x2c,0x54,0x2d,0x5e,0x00,0x00,0xc2,0x89,0x00,0x00,0x0f,0x6c,0x00,0x00, 0x7d,0x76,0x00,0x00,0x6e,0x90,0x6e,0x66,0x01,0x77,0x00,0x00,0x3d,0x84,0x00,0x00,0x01,0x00,0x00,0x00, 0x80,0x6a,0x00,0x00,0x03,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x2a,0x50,0x00,0x00,0x1f,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0x38,0x6e,0x00,0x00,0xa2,0x5b,0x00,0x00,0x4c,0x88,0x00,0x00,0x4c,0x88,0x3e,0x79, 0x00,0x00,0x38,0x6e,0x1a,0x4e,0x00,0x00,0x38,0x6e,0x40,0x5c,0x00,0x00,0x86,0x99,0x00,0x00,0x0b,0x7a, 0x00,0x00,0xba,0x4e,0x00,0x00,0x14,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x8f,0x00,0x00,0x8b,0x5f, 0x00,0x00,0xce,0x98,0x00,0x00,0x73,0x53,0x00,0x00,0xfc,0x7f,0x00,0x00,0xfc,0x7f,0x3a,0x67,0x00,0x00, 0xa1,0x6d,0x00,0x00,0xae,0x94,0x00,0x00,0x6c,0x8f,0xe8,0x95,0x00,0x00,0xce,0x98,0x0f,0x5f,0x00,0x00, 0x06,0x00,0x00,0x00,0xd7,0x65,0x00,0x00,0x33,0x96,0x3a,0x53,0x00,0x00,0xb7,0x5f,0xbf,0x53,0x00,0x00, 0x33,0x96,0x00,0x00,0xb7,0x5f,0x00,0x00,0x68,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xa4,0x7f,0x00,0x00, 0xd4,0x88,0x00,0x00,0xba,0x4e,0x00,0x00,0x31,0x8c,0x00,0x00,0x7f,0x95,0x00,0x00,0x11,0x6c,0x00,0x00, 0x45,0x96,0x00,0x00,0xc4,0x89,0x00,0x00,0x43,0x67,0x00,0x00,0x2b,0x52,0x00,0x00,0x01,0x00,0x00,0x00, 0xce,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0x30,0x82,0x97,0x5e,0x00,0x00,0x1c,0x5e, 0x00,0x00,0x30,0x82,0x00,0x00,0xf7,0x53,0x00,0x00,0x8d,0x88,0x00,0x00,0x1c,0x5e,0x9c,0x9c,0x0e,0x66, 0x00,0x00,0x13,0x9f,0xf8,0x76,0x53,0x5f,0x00,0x00,0x4b,0x62,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd5,0x6c,0x00,0x00,0xba,0x8b,0x00,0x00,0x91,0x75,0x00,0x00,0xba,0x8b,0x2f,0x66,0x00,0x00, 0x48,0x59,0x00,0x00,0xbf,0x7e,0x00,0x00,0x50,0x96,0x00,0x00,0x48,0x65,0x00,0x00,0x70,0x65,0x00,0x00, 0x73,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x9a,0x5b,0x00,0x00,0x97,0x5f,0x29,0x52, 0xca,0x76,0x00,0x00,0x09,0x67,0x00,0x00,0x36,0x71,0x82,0x59,0x64,0x6b,0x00,0x00,0x80,0x5f,0x00,0x00, 0x97,0x5f,0x29,0x52,0xca,0x76,0x05,0x80,0x00,0x00,0xc6,0x89,0x1f,0x61,0x00,0x00,0x09,0x67,0xbf,0x7e, 0x00,0x00,0x80,0x5f,0x0d,0x4e,0x8e,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x2c,0x67,0x00,0x00,0x4d,0x52, 0x00,0x00,0xa5,0x62,0x00,0x00,0x38,0x5e,0x00,0x00,0x43,0x51,0x00,0x00,0xca,0x76,0x00,0x00,0x1f,0x67, 0x00,0x00,0x50,0x5b,0x00,0x00,0x47,0x57,0x00,0x00,0xb9,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0xd2,0x89, 0x00,0x00,0x15,0x59,0x00,0x00,0xe6,0x65,0x00,0x00,0x63,0x83,0x00,0x00,0x15,0x59,0x58,0x5b,0xa1,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x71,0x5c,0x00,0x00,0x40,0x57,0x00,0x00,0xce,0x57,0x00,0x00, 0x48,0x72,0x00,0x00,0x27,0x8d,0x00,0x00,0x09,0x67,0x00,0x00,0x66,0x4e,0x00,0x00,0x39,0x65,0x00,0x00, 0x45,0x5c,0x00,0x00,0x8b,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0x28,0x57,0x00,0x00,0x0f,0x61,0x00,0x00, 0xa3,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00,0x1f,0x67,0x00,0x00,0xd8,0x76,0x00,0x00, 0x10,0x99,0x00,0x00,0xf2,0x5d,0x00,0x00,0x68,0x66,0x00,0x00,0xa5,0x62,0x00,0x00,0x31,0x5c,0x00,0x00, 0x4d,0x52,0x00,0x00,0xe5,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x33,0x96, 0x00,0x00,0x91,0x90,0xbf,0x53,0x00,0x00,0xa5,0x62,0x00,0x00,0xa6,0x5e,0x00,0x00,0x91,0x90,0x00,0x00, 0x0a,0x52,0x00,0x00,0xe5,0x65,0x00,0x00,0x2b,0x67,0x00,0x00,0x96,0x99,0x00,0x00,0x09,0x00,0x00,0x00, 0x89,0x8f,0x00,0x00,0x49,0x51,0x00,0x00,0xe5,0x65,0x00,0x00,0x33,0x96,0x00,0x00,0xe5,0x65,0x1c,0x4e, 0x47,0x53,0x00,0x00,0xed,0x65,0x00,0x00,0x93,0x76,0x00,0x00,0x6d,0x99,0x00,0x00,0xe5,0x65,0x05,0x69, 0x00,0x00,0x02,0x00,0x00,0x00,0xef,0x65,0x00,0x00,0xef,0x65,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc5,0x60,0x00,0x00,0x7e,0x70,0x00,0x00,0x3a,0x53,0x00,0x00,0x9d,0x6d,0xdd,0x4f,0x36,0x65,0x00,0x00, 0x30,0x57,0x00,0x00,0x63,0x5b,0x00,0x00,0x5c,0x4f,0x00,0x00,0x6d,0x73,0x00,0x00,0x30,0x75,0x00,0x00, 0x95,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x95,0x00,0x00,0x19,0x50,0x00,0x00,0xe3,0x4e,0x00,0x00, 0xa5,0x62,0x00,0x00,0x1f,0x67,0x00,0x00,0x3b,0x52,0x00,0x00,0x3a,0x67,0x00,0x00,0x1a,0x5c,0x00,0x00, 0xb5,0x6b,0x00,0x00,0xf4,0x95,0x68,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x65,0x01,0x63,0x45,0x4e, 0x00,0x00,0xce,0x91,0x00,0x00,0xe5,0x5d,0x00,0x00,0xfe,0x8b,0x00,0x00,0xbe,0x8f,0x00,0x00,0xdc,0x8f, 0x00,0x00,0xe4,0x53,0x00,0x00,0xe3,0x4e,0x00,0x00,0x16,0x4e,0x4b,0x4e,0x5c,0x4f,0x00,0x00,0x4c,0x80, 0x00,0x00,0x01,0x00,0x00,0x00,0x37,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x5b,0x00,0x00,0xdb,0x76, 0x00,0x00,0xfa,0x65,0x00,0x00,0xd2,0x89,0x00,0x00,0x00,0x95,0x00,0x00,0x22,0x8d,0x00,0x00,0x6b,0x70, 0x00,0x00,0xd4,0x4e,0x00,0x00,0xfa,0x94,0x00,0x00,0x2b,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0x6b,0x8d, 0x00,0x00,0x0a,0x00,0x00,0x00,0x35,0x8d,0x00,0x00,0x71,0x5c,0x20,0x7d,0x63,0x5b,0x00,0x00,0x6c,0x62, 0x00,0x00,0x96,0x99,0x00,0x00,0x96,0x99,0x3a,0x63,0xf8,0x80,0x00,0x00,0x36,0x71,0x00,0x00,0xd1,0x79, 0xc9,0x62,0x00,0x00,0x96,0x99,0x14,0x96,0x65,0x6b,0x00,0x00,0x39,0x82,0x32,0x6d,0x00,0x00,0x40,0x77, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66,0x00,0x00,0x6b,0x86,0x00,0x00,0x0e,0x66,0x02,0x5e,0x00,0x00, 0xd1,0x4e,0x00,0x00,0x71,0x5c,0x00,0x00,0xf2,0x66,0x00,0x00,0xd1,0x4e,0x71,0x5c,0x00,0x00,0xeb,0x58, 0x70,0x51,0xde,0x5d,0x00,0x00,0x67,0x52,0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0x04,0x00,0x00,0x00, 0x4e,0x53,0x00,0x00,0xbe,0x8f,0x00,0x00,0xe5,0x54,0x00,0x00,0xa7,0x7e,0x00,0x00,0x05,0x00,0x00,0x00, 0x4e,0x53,0x00,0x00,0x77,0x6d,0x00,0x00,0xd3,0x4e,0x00,0x00,0x29,0x59,0x00,0x00,0xba,0x73,0x00,0x00, 0x0a,0x00,0x00,0x00,0x73,0x5e,0x00,0x00,0x73,0x5e,0x3a,0x53,0x00,0x00,0xb3,0x6c,0x00,0x00,0xdb,0x76, 0x00,0x00,0xfd,0x90,0x00,0x00,0x73,0x5e,0xbf,0x7e,0x00,0x00,0x0e,0x66,0x00,0x00,0xce,0x9e,0x00,0x00, 0x5f,0x6c,0x00,0x00,0x97,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x66,0x00,0x00,0x6e,0x78,0x00,0x00, 0x74,0x5e,0x00,0x00,0x7d,0x76,0x00,0x00,0x1f,0x66,0x00,0x00,0x29,0x59,0x00,0x00,0x0e,0x66,0x00,0x00, 0x17,0x67,0x00,0x00,0xf6,0x80,0x00,0x00,0xe1,0x4f,0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x8f, 0x00,0x00,0x97,0x66,0x00,0x00,0x89,0x6c,0x00,0x00,0x12,0x50,0x00,0x00,0xa5,0x53,0x00,0x00,0x61,0x77, 0x00,0x00,0x0f,0x66,0x32,0x6b,0x61,0x77,0x00,0x00,0xf7,0x8f,0x0d,0x4e,0x92,0x91,0x00,0x00,0x0f,0x66, 0x89,0x6c,0x89,0x6c,0x00,0x00,0xc4,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x89,0x00,0x00,0x8e,0x4e, 0x00,0x00,0x45,0x5c,0x00,0x00,0xc2,0x61,0x00,0x00,0xcf,0x7e,0x00,0x00,0xc3,0x71,0x00,0x00,0xc9,0x62, 0x50,0x7f,0x00,0x00,0x12,0x60,0x00,0x00,0x8b,0x4e,0x00,0x00,0xc5,0x8f,0x51,0x7f,0x00,0x00,0x07,0x00, 0x00,0x00,0xe5,0x65,0x00,0x00,0x70,0x51,0x3c,0x5c,0xa0,0x52,0x00,0x00,0xf6,0x65,0x00,0x00,0x05,0x80, 0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x74,0x5e,0x00,0x00,0x06,0x00,0x00,0x00, 0xb1,0x82,0x00,0x4e,0xb0,0x73,0x00,0x00,0xb1,0x82,0x00,0x00,0x4e,0x53,0x97,0x67,0x00,0x00,0xdc,0x66, 0x00,0x00,0xf7,0x65,0x00,0x00,0xb1,0x82,0x97,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xa7,0x5e,0x00,0x00, 0x1f,0x67,0x00,0x00,0xa7,0x5e,0xd0,0x8f,0xbf,0x52,0x00,0x00,0xf4,0x5d,0x4b,0x51,0x00,0x00,0x1f,0x66, 0x00,0x00,0x03,0x74,0x00,0x00,0xa7,0x7e,0x00,0x00,0x7a,0x7a,0x00,0x00,0xd8,0x76,0x00,0x00,0x91,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x04,0x5c,0x00,0x00,0xc0,0x79,0x00,0x00,0x6c,0x88,0x00,0x00,0xc0,0x79, 0x47,0x95,0x00,0x00,0x65,0x51,0x3c,0x77,0x18,0x5e,0x00,0x00,0x67,0x71,0x00,0x00,0xcf,0x50,0x00,0x00, 0xa1,0x7b,0x00,0x00,0xcf,0x50,0x82,0x82,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x82,0x82, 0x00,0x00,0x29,0x59,0x00,0x00,0xd0,0x8f,0x00,0x00,0x63,0x5b,0x00,0x00,0x5a,0x66,0x00,0x00,0xcb,0x79, 0x00,0x00,0xcd,0x62,0x00,0x00,0xce,0x98,0x00,0x00,0x15,0x80,0x00,0x00,0xce,0x57,0x00,0x00,0x07,0x00, 0x00,0x00,0xfd,0x56,0x00,0x00,0xc3,0x5f,0x00,0x00,0xe6,0x65,0x00,0x00,0x7b,0x6b,0x00,0x00,0x6f,0x82, 0xc3,0x5f,0x00,0x00,0xa1,0x6c,0x00,0x00,0xc3,0x5f,0xdd,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x65, 0x00,0x00,0x29,0x59,0x00,0x00,0x5a,0x66,0x00,0x00,0x1c,0x59,0x00,0x00,0x68,0x66,0x00,0x00,0xe9,0x65, 0x00,0x00,0x3f,0x51,0x00,0x00,0x48,0x53,0x00,0x00,0x36,0x65,0x00,0x00,0xd1,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1a,0x90,0x02,0x5e,0x00,0x00,0x3a,0x79,0x00,0x00,0x1a,0x90,0x00,0x00,0x8c,0x54,0x00,0x00, 0x36,0x71,0xe5,0x82,0xed,0x63,0x00,0x00,0xe0,0x60,0x00,0x00,0x4a,0x54,0x00,0x00,0x33,0x96,0x3a,0x53, 0x00,0x00,0x1b,0x54,0x00,0x00,0xea,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x26,0x54,0x00,0x00,0x84,0x76, 0x00,0x00,0x0d,0x4e,0x2f,0x66,0x00,0x00,0x5e,0x97,0x00,0x00,0x6f,0x83,0x09,0x4e,0x06,0x52,0xd2,0x6b, 0x00,0x00,0x2f,0x66,0x5e,0x97,0x5e,0x97,0x00,0x00,0x5e,0x97,0xf2,0x66,0xf4,0x76,0x00,0x00,0x2f,0x66, 0x2f,0x66,0x00,0x00,0x5e,0x97,0xc2,0x89,0x00,0x00,0xef,0x53,0xcd,0x5f,0x00,0x00,0x01,0x00,0x00,0x00, 0x31,0x66,0x00,0x00,0x02,0x00,0x00,0x00,0x1f,0x66,0xe2,0x56,0x00,0x00,0xbf,0x5b,0x1f,0x66,0xe2,0x56, 0x00,0x00,0x03,0x00,0x00,0x00,0xf0,0x79,0x00,0x00,0x31,0x72,0x00,0x00,0xd4,0x6b,0x00,0x00,0x06,0x00, 0x00,0x00,0x1c,0x59,0x00,0x00,0x0f,0x4f,0x1c,0x59,0xfa,0x51,0x00,0x00,0x1c,0x59,0x82,0x82,0x8b,0x5f, 0x00,0x00,0x7f,0x95,0x1c,0x59,0xed,0x77,0x00,0x00,0xed,0x77,0x1c,0x59,0x7f,0x95,0x00,0x00,0x1c,0x59, 0x73,0x5e,0x06,0x52,0xb9,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x79,0x00,0x00,0x36,0x71,0x00,0x00, 0x57,0x84,0x00,0x00,0x97,0x5f,0x00,0x00,0xb0,0x73,0x00,0x00,0x3a,0x79,0x4f,0x5c,0x00,0x00,0x3a,0x79, 0x68,0x56,0x00,0x00,0x0c,0x80,0x13,0x66,0xc1,0x89,0x00,0x00,0x32,0x97,0x00,0x00,0x61,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x61,0x83,0x00,0x00,0xa0,0x60,0x00,0x00,0x43,0x66,0xa0,0x60, 0xa0,0x60,0x00,0x00,0x3c,0x77,0x00,0x00,0x43,0x66,0x00,0x00,0x65,0x67,0x43,0x66,0xbb,0x53,0x00,0x00, 0xb9,0x70,0x00,0x00,0x5e,0x79,0x00,0x00,0x43,0x66,0x61,0x83,0x61,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x47,0x53,0x00,0x00,0xa7,0x7e,0x00,0x00,0x5f,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0x2d,0x4e,0x00,0x00, 0x81,0x5b,0xbf,0x53,0x00,0x00,0x7f,0x89,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0x5f,0x6c,0x02,0x5e, 0x00,0x00,0x2d,0x4e,0x02,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x48,0x53,0x00,0x00,0xc9,0x89,0x00,0x00, 0x07,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x74,0x5a,0x00,0x00,0x7e,0x9a,0x00,0x00,0x73,0x5e,0xf2,0x4e, 0x00,0x00,0xb6,0x5b,0x47,0x95,0x00,0x00,0x0b,0x4e,0x51,0x67,0x00,0x00,0x50,0x5b,0x25,0x66,0xcb,0x79, 0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x59,0x33,0x96,0x00,0x00,0x24,0x4f,0x00,0x00,0x52,0x66,0x00,0x00, 0x91,0x65,0x00,0x00,0xfe,0x56,0x00,0x00,0x55,0x53,0x00,0x00,0x63,0x88,0x00,0x00,0x3a,0x57,0x00,0x00, 0xf0,0x53,0x00,0x00,0x37,0x8c,0x3a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66,0x00,0x00,0x97,0x5f, 0x00,0x00,0x1c,0x4e,0x00,0x00,0xf0,0x5c,0x00,0x00,0xa2,0x7e,0x00,0x00,0xd5,0x71,0x00,0x00,0x97,0x67, 0x00,0x00,0x4f,0x65,0x00,0x00,0x39,0x4e,0x00,0x00,0x53,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x50, 0x00,0x00,0x66,0x8f,0x00,0x00,0xa5,0x53,0x00,0x00,0x29,0x77,0x00,0x00,0x39,0x82,0x00,0x00,0x34,0x59, 0x6c,0x8f,0x11,0x54,0x00,0x00,0xd3,0x67,0x00,0x00,0x4e,0x4e,0x4e,0x4e,0x00,0x00,0x55,0x66,0x00,0x00, 0xdc,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00, 0xa5,0x62,0x00,0x00,0xf4,0x95,0x00,0x00,0x10,0x99,0x00,0x00,0x1a,0x4f,0x00,0x00,0x6d,0x99,0x00,0x00, 0x1f,0x67,0x00,0x00,0x74,0x5e,0x00,0x00,0xb9,0x70,0x00,0x00,0xb4,0x5b,0x00,0x00,0x01,0x00,0x00,0x00, 0x4f,0x65,0xe5,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0x08,0x8c,0x00,0x00,0x62,0x97,0x00,0x00,0xf9,0x5b, 0x00,0x00,0x06,0x00,0x00,0x00,0xa9,0x6d,0x00,0x00,0x97,0x66,0x00,0x00,0x14,0x6c,0x00,0x00,0x14,0x67, 0x00,0x00,0x0e,0x66,0x00,0x00,0x9d,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x62,0x00,0x00,0x49,0x51, 0x00,0x00,0xe6,0x66,0x00,0x00,0x1f,0x66,0x00,0x00,0xc3,0x7e,0x00,0x00,0x23,0x9e,0x00,0x00,0xc3,0x52, 0x00,0x00,0x68,0x66,0x00,0x00,0xd1,0x8d,0x00,0x00,0x33,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x90, 0x00,0x00,0x4d,0x90,0x00,0x00,0xac,0x4e,0x00,0x00,0xca,0x53,0x00,0x00,0x14,0x5c,0x00,0x00,0xe5,0x67, 0x00,0x00,0x1a,0x90,0xba,0x4e,0x00,0x00,0x1a,0x90,0xa1,0x80,0x00,0x00,0x1a,0x90,0xdd,0x8b,0x00,0x00, 0xa8,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0xb9,0x70,0x00,0x00,0x14,0x6c,0x00,0x00, 0xc2,0x89,0x00,0x00,0x61,0x8c,0x00,0x00,0x7a,0x98,0x00,0x00,0x14,0x6c,0xa6,0x5e,0x00,0x00,0xb7,0x5f, 0x47,0x95,0x00,0x00,0x72,0x82,0x00,0x00,0x33,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59,0x00,0x00, 0xe8,0x96,0x68,0x88,0x00,0x00,0x17,0x67,0x00,0x00,0x7d,0x59,0x00,0x00,0x29,0x59,0x39,0x97,0xf3,0x96, 0x00,0x00,0xf4,0x95,0x1a,0x59,0x91,0x4e,0x00,0x00,0x7a,0x7a,0x00,0x00,0xdd,0x5d,0x00,0x00,0x74,0x66, 0x00,0x00,0x30,0x52,0x1a,0x59,0x91,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0x76,0x66, 0x00,0x00,0xd1,0x79,0x00,0x00,0x53,0x4f,0xa1,0x7b,0x00,0x00,0xb9,0x83,0x00,0x00,0xb6,0x72,0x53,0x4f, 0x00,0x00,0xb3,0x6f,0x00,0x00,0x45,0x78,0x00,0x00,0xb9,0x83,0x54,0x52,0x0f,0x90,0x00,0x00,0x06,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x80,0x00,0x00,0x67,0x61,0x00,0x00,0x29,0x52,0x00,0x00,0x9b,0x52, 0x00,0x00,0x46,0x55,0x00,0x00,0x93,0x5e,0x00,0x00,0xfd,0x80,0x16,0x53,0x00,0x00,0xfd,0x80,0x3a,0x67, 0x00,0x00,0x05,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x66,0x00,0x00,0x72,0x5e, 0x00,0x00,0xc9,0x51,0x00,0x00,0x63,0x88,0x00,0x00,0x63,0x88,0xb6,0x67,0x00,0x00,0x63,0x88,0x46,0x67, 0x00,0x00,0x63,0x88,0x39,0x59,0x00,0x00,0xf0,0x53,0x00,0x00,0x63,0x88,0xee,0x7b,0x00,0x00,0xd8,0x76, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0x5c,0x50,0x00,0x00,0x4c,0x88,0x00,0x00,0x13,0x7f, 0x00,0x00,0x9a,0x5b,0x00,0x00,0xf6,0x65,0x27,0x60,0x00,0x00,0x14,0x4e,0x00,0x00,0x4f,0x4f,0x00,0x00, 0x4f,0x4f,0xc1,0x8b,0x00,0x00,0x4f,0x4f,0x30,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x7e,0x81,0x00,0x00, 0x04,0x00,0x00,0x00,0xdd,0x8f,0x00,0x00,0x2b,0x52,0x00,0x00,0x94,0x96,0x00,0x00,0xbb,0x79,0x00,0x00, 0x0a,0x00,0x00,0x00,0x47,0x50,0x00,0x00,0x1f,0x67,0x00,0x00,0xd0,0x8f,0x00,0x00,0xed,0x70,0x00,0x00, 0x14,0x6c,0x00,0x00,0x1f,0x67,0xe5,0x5d,0x00,0x00,0x7f,0x6e,0x00,0x00,0x1f,0x67,0xed,0x73,0x00,0x00, 0x29,0x59,0x00,0x00,0xc3,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x8c,0x54,0x00,0x00, 0x0f,0x61,0x00,0x00,0xac,0x51,0x00,0x00,0x7f,0x6e,0x14,0x6c,0x41,0x6d,0x00,0x00,0xc3,0x80,0x00,0x00, 0x96,0x66,0x00,0x00,0x96,0x66,0x84,0x76,0x00,0x00,0x41,0x6d,0x00,0x00,0x9d,0x5b,0x9d,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3a,0x79,0x00,0x00,0xbf,0x8b,0x00,0x00,0x40,0x67,0x00,0x00,0x2d,0x4e,0x00,0x00, 0xcf,0x85,0x00,0x00,0xe1,0x6d,0x00,0x00,0x4b,0x60,0x00,0x00,0xb1,0x7b,0x00,0x00,0xf7,0x53,0x00,0x00, 0xea,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xda,0x66,0x00,0x00,0x03,0x00,0x00,0x00,0x27,0x66,0x00,0x00, 0xa7,0x66,0x00,0x00,0x27,0x66,0x73,0x51,0xfb,0x7c,0x00,0x00,0x04,0x00,0x00,0x00,0x57,0x53,0x00,0x00, 0x33,0x96,0x00,0x00,0x27,0x59,0x00,0x00,0x57,0x53,0x27,0x59,0x66,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x72,0x82,0x00,0x00,0x49,0x51,0x00,0x00,0x74,0x5e,0x00,0x00,0x91,0x4e,0x00,0x00,0x25,0x66,0x00,0x00, 0x14,0x6c,0x89,0x6c,0x89,0x6c,0x00,0x00,0xcb,0x79,0x00,0x00,0x13,0x9f,0x00,0x00,0x2d,0x97,0x00,0x00, 0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0xe8,0x96,0x00,0x00,0x32,0x97,0x00,0x00, 0xcc,0x8d,0x00,0x00,0xa8,0x6d,0x00,0x00,0x29,0x52,0x00,0x00,0xd1,0x53,0x00,0x00,0x9e,0x58,0x00,0x00, 0xcc,0x5b,0x00,0x00,0x81,0x8e,0x00,0x00,0x05,0x00,0x00,0x00,0x57,0x7f,0x00,0x00,0x92,0x7c,0x00,0x00, 0x3b,0x90,0x00,0x00,0x57,0x7f,0x7e,0x6e,0x00,0x00,0x57,0x7f,0xed,0x8b,0x00,0x00,0x01,0x00,0x00,0x00, 0x32,0x6b,0x37,0x8c,0x00,0x00,0x02,0x00,0x00,0x00,0x3d,0x66,0x00,0x00,0xc8,0x66,0x00,0x00,0x05,0x00, 0x00,0x00,0x49,0x51,0x00,0x00,0x49,0x51,0xef,0x8d,0x00,0x00,0x72,0x82,0x00,0x00,0x49,0x51,0x00,0x4e, 0xf7,0x53,0x00,0x00,0x49,0x51,0x0a,0x4e,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x33,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0x49,0x51,0x00,0x00,0xfa,0x51,0x00,0x00,0x49,0x51,0x87,0x73,0x00,0x00,0x99,0x65, 0x00,0x00,0x52,0x66,0x00,0x00,0x49,0x51,0xf0,0x53,0x00,0x00,0x49,0x51,0xa6,0x5e,0x00,0x00,0x32,0x97, 0x00,0x00,0x49,0x51,0x05,0x80,0x00,0x00,0x49,0x51,0xcf,0x91,0x00,0x00,0x01,0x00,0x00,0x00,0x1b,0x67, 0x71,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x7e,0x00,0x00, 0x98,0x62,0x00,0x00,0xee,0x76,0x00,0x00,0xe3,0x89,0x00,0x00,0x5f,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00, 0x56,0x97,0x00,0x00,0x56,0x97,0x02,0x5e,0x00,0x00,0x1c,0x96,0x00,0x00,0x87,0x73,0x00,0x00,0x02,0x00, 0x00,0x00,0x49,0x51,0x39,0x5f,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0x52,0x00,0x00, 0x3a,0x4e,0x00,0x00,0xb0,0x65,0x00,0x00,0x62,0x63,0x00,0x00,0x2f,0x66,0x00,0x00,0x39,0x65,0x00,0x00, 0x0d,0x54,0x00,0x00,0x55,0x4f,0xb5,0x51,0x00,0x00,0x63,0x6b,0x00,0x00,0x74,0x5e,0x1f,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcd,0x64,0x00,0x00,0xea,0x96,0xb9,0x82,0x00,0x00,0xbf,0x53,0x00,0x00,0xba,0x79, 0x00,0x00,0x15,0x4e,0x00,0x00,0x1e,0x6d,0x97,0x5b,0x00,0x00,0x0d,0x69,0x00,0x00,0x83,0x59,0x38,0x75, 0x3a,0x53,0x00,0x00,0xb6,0x5b,0xf7,0x5d,0x00,0x00,0x1f,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x8c, 0x00,0x00,0xb7,0x5f,0x00,0x00,0xc8,0x54,0x7f,0x98,0x00,0x00,0xb7,0x5f,0xc9,0x62,0x00,0x00,0x54,0x80, 0x00,0x00,0x81,0x5b,0x00,0x00,0xcf,0x82,0x14,0x5c,0x00,0x00,0x7b,0x5f,0xaf,0x65,0x79,0x72,0x00,0x00, 0xce,0x57,0x00,0x00,0x8a,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x7e,0x00,0x00,0x9d,0x53,0x00,0x00, 0xd0,0x67,0x00,0x00,0xe0,0x51,0x55,0x4f,0xf6,0x65,0x00,0x00,0xfd,0x56,0xe9,0x85,0x00,0x00,0x50,0x5b, 0x00,0x00,0x6b,0x83,0x43,0x67,0x00,0x00,0x56,0x79,0x36,0x72,0x00,0x00,0x28,0x75,0x0d,0x54,0x00,0x00, 0x59,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xe3,0x4e,0x00,0x00,0x62,0x63,0x00,0x00,0xe3,0x4e,0xc1,0x54, 0x00,0x00,0xe3,0x4e,0x87,0x73,0x00,0x00,0xe3,0x4e,0x27,0x60,0x00,0x00,0x65,0x88,0x00,0x00,0x6a,0x7f, 0x8a,0x7f,0x00,0x00,0xab,0x8e,0x00,0x00,0x03,0x80,0x00,0x00,0xe3,0x4e,0x69,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0e,0x54,0x00,0x00,0xc8,0x7e,0x00,0x00,0xd8,0x9a,0x00,0x00,0xd1,0x8f,0x00,0x00,0xb0,0x65, 0x00,0x00,0x4e,0x4f,0x00,0x00,0x3a,0x4e,0x00,0x00,0x73,0x4f,0x00,0x00,0x7d,0x59,0x00,0x00,0x1d,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x4e,0x00,0x00,0x95,0x5e,0x00,0x00,0x1d,0x52,0x00,0x00,0x2b,0x67, 0x00,0x00,0x7c,0x99,0x00,0x00,0xae,0x4e,0x00,0x00,0xcf,0x7e,0x00,0x00,0x03,0x74,0x00,0x00,0xa6,0x5e, 0x00,0x00,0xaa,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x51,0x00,0x00,0x50,0x96,0x6c,0x51,0xf8,0x53, 0x00,0x00,0x48,0x65,0x00,0x00,0x9b,0x4e,0x00,0x00,0x40,0x62,0x00,0x00,0x84,0x76,0x00,0x00,0x50,0x96, 0x00,0x00,0xba,0x4e,0x00,0x00,0x1b,0x67,0x00,0x00,0xb9,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x75, 0xd2,0x6b,0x00,0x00,0x07,0x00,0x00,0x00,0xcb,0x53,0x00,0x00,0xcb,0x53,0x08,0x57,0x00,0x00,0x4b,0x51, 0x00,0x00,0xcb,0x53,0xb6,0x5b,0x00,0x00,0x5a,0x51,0x00,0x00,0xcb,0x53,0x0f,0x5f,0x00,0x00,0xd4,0x6b, 0x3a,0x4e,0x78,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x52,0x00,0x00,0xc5,0x88,0x00,0x00,0xa1,0x52, 0x1a,0x4e,0x00,0x00,0x28,0x75,0x00,0x00,0xa1,0x52,0x68,0x56,0x00,0x00,0x70,0x99,0x00,0x00,0xa1,0x52, 0x46,0x55,0x00,0x00,0xa1,0x52,0x58,0x54,0x00,0x00,0x79,0x5f,0x00,0x00,0xa1,0x52,0x39,0x8d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x1b,0x67,0x08,0x67,0x00,0x00, 0xce,0x98,0x00,0x00,0xb9,0x65,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xe5,0x65,0x00,0x00,0x1b,0x67, 0x00,0x00,0x08,0x67,0x00,0x00,0xce,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x46,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf5,0x8b,0x00,0x00,0xd1,0x79,0x00,0x00,0xfb,0x8b,0x00,0x00,0x9b,0x73,0x00,0x00,0x17,0x67, 0x00,0x00,0xd7,0x8b,0x00,0x00,0xaf,0x8b,0x00,0x00,0xb7,0x5f,0x00,0x00,0x53,0x90,0x00,0x00,0xaf,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x8f,0x5c,0x95,0x00,0x00,0xac,0x4e,0x00,0x00,0x0c,0x80,0x74,0x53, 0x65,0x6b,0x00,0x00,0x18,0x5c,0xab,0x83,0xca,0x53,0x00,0x00,0xbb,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00, 0xce,0x57,0x3a,0x53,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0x0c,0x80,0x1f,0x75,0x4f,0x75,0x00,0x00, 0xce,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x9c,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0x3a,0x53, 0x00,0x00,0xb9,0x65,0x00,0x00,0x40,0x77,0x00,0x00,0x2d,0x4e,0x3e,0x79,0x00,0x00,0xe5,0x65,0x00,0x00, 0xf7,0x5e,0x00,0x00,0x56,0x66,0x00,0x00,0x11,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x95,0x00,0x00, 0x27,0x8d,0x00,0x00,0x85,0x5f,0x00,0x00,0x50,0x96,0x00,0x00,0x1b,0x67,0x00,0x00,0x43,0x67,0x00,0x00, 0x07,0x63,0x00,0x00,0x2b,0x67,0x00,0x00,0xfc,0x76,0x00,0x00,0x0a,0x52,0x00,0x00,0x05,0x00,0x00,0x00, 0xe7,0x80,0x00,0x00,0x26,0x67,0xe7,0x80,0xe7,0x80,0x00,0x00,0xe7,0x80,0xd7,0x8b,0x00,0x00,0x26,0x67, 0x00,0x00,0x28,0x57,0x13,0x9f,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0x6c,0x9a, 0x00,0x00,0x1f,0x66,0x00,0x00,0x50,0x67,0x00,0x00,0xdc,0x74,0x00,0x00,0x34,0x59,0x00,0x00,0x7f,0x67, 0x00,0x00,0x33,0x80,0x00,0x00,0x28,0x8d,0x00,0x00,0x43,0x4e,0x0a,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x65,0x67,0x00,0x00,0xfd,0x80,0x00,0x00,0xcf,0x7e,0x00,0x00,0xc5,0x5f,0x00,0x00,0x10,0x62,0x74,0x5e, 0xba,0x4e,0x00,0x00,0xe5,0x77,0x00,0x00,0x9c,0x67,0x00,0x00,0x10,0x62,0x74,0x5e,0x00,0x00,0x5a,0x5a, 0x00,0x00,0xfe,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x65,0x00,0x00,0x1f,0x67,0x00,0x00,0xef,0x7a, 0x00,0x00,0xed,0x73,0x66,0x8f,0x00,0x00,0xd5,0x6c,0x00,0x00,0xa2,0x68,0x00,0x00,0x3e,0x5c,0x00,0x00, 0x16,0x4e,0x00,0x00,0x74,0x5e,0x00,0x00,0xe3,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x62,0x00,0x00, 0xab,0x8e,0x00,0x00,0x21,0x6b,0x00,0x00,0xba,0x4e,0x00,0x00,0x65,0x67,0x00,0x00,0x68,0x54,0x00,0x00, 0x08,0x67,0x00,0x00,0x30,0x57,0x00,0x00,0x02,0x5e,0x00,0x00,0x1f,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb0,0x8b,0x00,0x00,0x4c,0x5e,0x00,0x00,0x4c,0x5e,0x02,0x5e,0x00,0x00,0xbe,0x8f,0xbf,0x53,0x00,0x00, 0xbe,0x8f,0x00,0x00,0xc0,0x4e,0x26,0x4f,0x03,0x5e,0xfa,0x5b,0x00,0x00,0x6c,0x9a,0x81,0x9c,0x01,0x4e, 0x00,0x00,0x3c,0x68,0xc9,0x62,0x03,0x5e,0x00,0x00,0x3c,0x68,0x5e,0x74,0x03,0x5e,0x00,0x00,0x6c,0x9a, 0x4c,0x52,0x01,0x4e,0x00,0x00,0x09,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x0e,0x54,0x00,0x00,0xeb,0x58, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x70,0x65,0x00,0x00,0x0f,0x5f,0x00,0x00,0xd1,0x79,0x00,0x00,0x64,0x8d, 0x00,0x00,0xa9,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x83,0x00,0x00,0x0e,0x66,0x00,0x00,0x02,0x78, 0x00,0x00,0x55,0x95,0xfa,0x57,0x00,0x00,0x29,0x52,0x89,0x5b,0x00,0x00,0x43,0x51,0x8b,0x74,0x00,0x00, 0x87,0x65,0x00,0x00,0xc0,0x96,0x00,0x00,0xb9,0x71,0x00,0x00,0xe3,0x68,0x00,0x00,0x0a,0x00,0x00,0x00, 0xff,0x69,0xe0,0x60,0x00,0x00,0x20,0x7d,0x00,0x00,0x9e,0x5b,0x00,0x00,0x63,0x6b,0x99,0x71,0x00,0x00, 0x9e,0x5b,0xe0,0x65,0x4e,0x53,0x00,0x00,0x11,0x68,0x00,0x00,0x28,0x83,0x05,0x83,0xaf,0x65,0x00,0x00, 0x66,0x5b,0x00,0x00,0xd9,0x62,0x00,0x00,0xf0,0x6c,0x50,0x95,0x00,0x00,0x04,0x00,0x00,0x00,0x35,0x67, 0x00,0x00,0x91,0x4e,0x69,0x8f,0x00,0x00,0x3f,0x51,0x00,0x00,0x90,0x98,0x00,0x00,0x0a,0x00,0x00,0x00, 0x84,0x67,0x00,0x00,0x1a,0x4f,0x00,0x00,0x36,0x52,0x00,0x00,0x73,0x51,0x00,0x00,0x3a,0x57,0x00,0x00, 0xb0,0x68,0x00,0x00,0x47,0x90,0x00,0x00,0x68,0x79,0x00,0x00,0x68,0x56,0x00,0x00,0xa8,0x52,0x66,0x8f, 0x00,0x00,0x06,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0xc8,0x8f,0x00,0x00,0x4f,0x57,0x00,0x00,0xc2,0x70, 0x00,0x00,0x25,0x8d,0x00,0x00,0x39,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x7b,0x6b, 0x00,0x00,0xb3,0x5b,0x00,0x00,0x4b,0x62,0x00,0x00,0xcc,0x8d,0x00,0x00,0xd2,0x6b,0x00,0x00,0xcc,0x83, 0x00,0x00,0xba,0x4e,0x6a,0x7f,0x00,0x00,0x1f,0x75,0x00,0x00,0x24,0x4f,0x9b,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd7,0x5f,0x00,0x00,0xa4,0x4e,0x00,0x00,0x28,0x8d,0x00,0x00,0xd7,0x5f,0x3e,0x79,0x00,0x00, 0x69,0x72,0x00,0x00,0x49,0x83,0x00,0x00,0x80,0x62,0x00,0x00,0x71,0x4e,0x00,0x00,0xf5,0x5f,0x00,0x00, 0xae,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x76,0x00,0x00,0x29,0x52,0x00,0x00,0x9b,0x52,0x00,0x00, 0x01,0x5a,0x00,0x00,0x50,0x96,0x00,0x00,0xcd,0x91,0xa1,0x80,0x00,0x00,0xca,0x76,0x7b,0x7c,0x00,0x00, 0x61,0x88,0x00,0x00,0x01,0x5a,0x27,0x60,0x00,0x00,0xc1,0x8b,0x00,0x00,0x06,0x00,0x00,0x00,0xcc,0x83, 0x00,0x00,0x50,0x5b,0x00,0x00,0x54,0x58,0x00,0x00,0x3f,0x51,0x00,0x00,0x1f,0x5f,0x00,0x00,0xe4,0x79, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x67,0x00,0x00,0x71,0x5c, 0x00,0x00,0x28,0x67,0x00,0x00,0x11,0x68,0x00,0x00,0x30,0x75,0x00,0x00,0xdc,0x83,0x00,0x00,0x97,0x67, 0x00,0x00,0x49,0x67,0xa7,0x63,0xa1,0x80,0x09,0x67,0x50,0x96,0x6c,0x51,0xf8,0x53,0x00,0x00,0xd9,0x7b, 0x00,0x00,0x71,0x5c,0x6c,0x5f,0x00,0x00,0x03,0x00,0x00,0x00,0xf3,0x51,0x00,0x00,0x67,0x96,0x00,0x00, 0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0x4b,0x51,0x3a,0x5f,0x00,0x00,0x0e,0x66, 0x5a,0x53,0x00,0x00,0x09,0x56,0xda,0x8b,0x00,0x00,0x00,0x5f,0x0d,0x59,0x00,0x00,0x66,0x5f,0x8f,0x5b, 0x00,0x00,0x81,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00,0x11,0x68,0x00,0x00,0xfd,0x6c,0x77,0x69,0x00,0x00, 0x0a,0x00,0x00,0x00,0xc1,0x4e,0x00,0x00,0xb1,0x82,0x00,0x00,0xb1,0x82,0x51,0x67,0x00,0x00,0xc1,0x4e, 0x38,0x68,0x00,0x00,0x97,0x67,0x00,0x00,0x11,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0xc1,0x4e,0x32,0x97, 0x00,0x00,0x8d,0x9c,0xc7,0x83,0x00,0x00,0x5b,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x65,0x00,0x00, 0x28,0x8d,0x00,0x00,0x99,0x65,0x39,0x8d,0x00,0x00,0x99,0x65,0x82,0x53,0x00,0x00,0x99,0x65,0x3e,0x6b, 0x00,0x00,0x99,0x65,0xd1,0x79,0x66,0x5b,0x00,0x00,0x99,0x65,0x46,0x55,0x00,0x00,0x99,0x65,0x93,0x5e, 0x00,0x00,0xef,0x79,0x00,0x00,0x99,0x65,0xc4,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x6c,0x00,0x00, 0xcc,0x91,0x00,0x00,0x84,0x5e,0x00,0x00,0xd4,0x59,0x1a,0x4f,0x00,0x00,0x47,0x95,0x00,0x00,0x50,0x5b, 0x00,0x00,0x72,0x5e,0xe8,0x90,0x00,0x00,0x3d,0x84,0x00,0x00,0x2f,0x65,0x66,0x4e,0x00,0x00,0x7f,0x95, 0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x74,0x3a,0x57,0x00,0x00,0x03,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x34,0x59,0x28,0x67,0x76,0x50,0x00,0x00,0x11,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdd,0x7e,0x00,0x00,0x6c,0x9a,0x00,0x00,0x43,0x9e,0x00,0x00,0x4b,0x51,0x00,0x00,0xc9,0x62,0x00,0x00, 0x2b,0x75,0x00,0x00,0xa6,0x90,0x00,0x00,0xb7,0x5e,0x00,0x00,0xb0,0x64,0x00,0x00,0x7e,0x85,0xaf,0x65, 0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x4e,0xe7,0x5f,0x29,0x59,0x00,0x00,0xbf,0x53,0x00,0x00,0x50,0x5b, 0x00,0x00,0xba,0x4e,0x4b,0x4e,0xe7,0x5f,0x00,0x00,0xfd,0x56,0x00,0x00,0xfd,0x56,0xe7,0x5f,0x29,0x59, 0x00,0x00,0xfd,0x56,0x4b,0x4e,0xe7,0x5f,0x00,0x00,0x29,0x59,0x4b,0x4e,0x51,0x86,0x00,0x00,0x93,0x68, 0x4b,0x4e,0x97,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x7f,0x00,0x00,0x4b,0x62,0xe0,0x65,0x56,0x7b, 0x00,0x00,0x4b,0x4e,0xd8,0x9a,0x01,0x96,0x00,0x00,0xb3,0x6c,0x00,0x00,0x4b,0x62,0x31,0x5c,0xd2,0x64, 0x00,0x00,0x70,0x81,0x00,0x00,0xf8,0x80,0x00,0x00,0x4b,0x62,0x5f,0x67,0x1a,0x81,0x00,0x00,0x41,0x6d, 0x00,0x00,0x4b,0x62,0x85,0x5f,0xd9,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x67,0x00,0x00,0x46,0x67, 0x16,0x53,0x00,0x00,0x46,0x67,0x87,0x73,0x00,0x00,0x60,0x67,0x00,0x00,0xc3,0x94,0x00,0x00,0x46,0x67, 0x8b,0x57,0x00,0x00,0x46,0x67,0x27,0x60,0x00,0x00,0x50,0x5b,0x00,0x00,0x46,0x67,0xa1,0x80,0x00,0x00, 0x3f,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0x8b,0x4f,0x00,0x00,0x3e,0x6b,0x00,0x00, 0xa6,0x7e,0x00,0x00,0x87,0x65,0x00,0x00,0xee,0x76,0x00,0x00,0xb9,0x7e,0x00,0x00,0x62,0x5f,0x01,0x78, 0x00,0x00,0x45,0x5e,0x00,0x00,0x01,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0xea,0x81,0x00,0x00,0xf4,0x8b, 0x00,0x00,0x90,0x6e,0x00,0x00,0x0b,0x77,0x00,0x00,0x30,0x52,0x00,0x00,0xb2,0x8b,0x00,0x00,0x34,0x4e, 0x00,0x00,0x90,0x6e,0x8e,0x4e,0x00,0x00,0xde,0x56,0x00,0x00,0x0d,0x4e,0xca,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd0,0x67,0x00,0x00,0xf3,0x67,0x00,0x00,0x01,0x6d,0xea,0x7b,0x00,0x00,0xf4,0x81,0xdc,0x8f, 0x00,0x00,0x85,0x68,0x00,0x00,0x11,0x68,0x00,0x00,0x66,0x6d,0x3a,0x53,0x00,0x00,0x66,0x6d,0x00,0x00, 0x2f,0x63,0x81,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d, 0x02,0x5e,0x00,0x00,0xce,0x57,0x00,0x00,0xde,0x5d,0x7e,0x6e,0x00,0x00,0xde,0x5d,0xba,0x4e,0x00,0x00, 0xde,0x5d,0xd9,0x7a,0x00,0x00,0x27,0x6c,0x00,0x00,0x7d,0x6c,0x6e,0x8f,0x00,0x00,0x2c,0x75,0xd8,0x9a, 0xc1,0x94,0x00,0x00,0xde,0x5d,0x08,0x5e,0x03,0x83,0x27,0x59,0x66,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x77,0x51,0x00,0x00,0x34,0x6c,0x66,0x8f,0xaa,0x85,0x00,0x00,0x2d,0x4e,0x00,0x00, 0xe3,0x53,0x00,0x00,0x95,0x5e,0x00,0x00,0x5b,0x8d,0x00,0x00,0xc1,0x58,0x00,0x00,0xab,0x8e,0x00,0x00, 0xc5,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x4b,0x51,0x0a,0x90,0x00,0x00,0x4b,0x51, 0x00,0x00,0x5c,0x4f,0x00,0x00,0x5e,0x74,0x00,0x00,0xc9,0x62,0x00,0x00,0x7f,0x89,0x00,0x00,0xcc,0x91, 0x73,0x7c,0x00,0x00,0x7f,0x89,0x61,0x53,0x00,0x00,0x4e,0x59,0x33,0x74,0x00,0x00,0x01,0x00,0x00,0x00, 0x72,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xe0,0x65,0xf3,0x97,0xaf,0x8b,0x00,0x00,0xe0,0x65,0xf3,0x97, 0xe1,0x4f,0x00,0x00,0xa5,0x51,0x00,0x00,0x73,0x67,0x00,0x00,0x36,0x71,0x00,0x00,0xe0,0x65,0xba,0x4e, 0xdf,0x70,0x00,0x00,0x82,0x59,0xc4,0x9e,0x64,0x9e,0x00,0x00,0xe0,0x65,0x88,0x6d,0x6f,0x60,0x00,0x00, 0x3a,0x6e,0x00,0x00,0x2d,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa8,0x52,0x00,0x00,0x0b,0x4e,0x00,0x00,0xd1,0x7e,0x00,0x00,0x1b,0x5f,0x00,0x00,0x20,0x9f,0x00,0x00, 0x50,0x5b,0x00,0x00,0x5f,0x6c,0x00,0x00,0x20,0x9f,0x1a,0x4f,0x00,0x00,0x63,0x65,0x00,0x00,0xb1,0x82, 0x5f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x57,0x00,0x00,0xf3,0x51,0x00,0x00,0x50,0x67,0x00,0x00, 0x3f,0x62,0x00,0x00,0xdd,0x84,0x39,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0xe8,0x95,0x97,0x5e,0x00,0x00, 0x17,0x68,0x00,0x00,0x65,0x68,0x00,0x00,0x0a,0x4e,0x89,0x94,0x89,0x94,0x00,0x00,0x0a,0x00,0x00,0x00, 0x27,0x59,0x00,0x00,0xef,0x7a,0x00,0x00,0x3a,0x4e,0x00,0x00,0x76,0x51,0x00,0x00,0xa6,0x5e,0x00,0x00, 0x50,0x96,0x00,0x00,0x9b,0x52,0x00,0x00,0xf4,0x81,0x00,0x00,0xc1,0x54,0x00,0x00,0x50,0x4e,0x16,0x4e, 0x4c,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x62,0x00,0x00,0xfa,0x5e,0x00,0x00,0x20,0x90,0x00,0x00, 0x51,0x7b,0x00,0x00,0xf3,0x60,0x00,0x00,0x1d,0x60,0x00,0x00,0xfe,0x56,0x00,0x00,0xb6,0x67,0x00,0x00, 0xf6,0x4e,0x00,0x00,0x51,0x7b,0x69,0x72,0x00,0x00,0x05,0x00,0x00,0x00,0x77,0x67,0x00,0x00,0x77,0x67, 0x8f,0x81,0x00,0x00,0x77,0x67,0xf6,0x53,0x00,0x00,0x77,0x67,0x11,0x68,0x00,0x00,0x77,0x67,0xb1,0x82, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0x36,0x71,0x00,0x00,0x39,0x8d,0x00,0x00,0x7b,0x6b, 0x00,0x00,0x7e,0x98,0x00,0x00,0xea,0x81,0x00,0x00,0x7e,0x9a,0x00,0x00,0xb3,0x52,0x00,0x00,0x84,0x5f, 0x00,0x00,0x18,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0xee,0x5b,0x00,0x00,0xee,0x5b,0x61,0x4e,0x00,0x00, 0x71,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00,0x71,0x5c,0x61,0x4e,0x00,0x00,0x08,0x00,0x00,0x00,0xfa,0x51, 0x00,0x00,0xa7,0x4e,0x00,0x00,0x91,0x75,0x00,0x00,0x06,0x74,0x00,0x00,0x08,0x5e,0x00,0x00,0x48,0x68, 0x00,0x00,0xbb,0x79,0x00,0x00,0xeb,0x6b,0x56,0x52,0x98,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59, 0x00,0x00,0xb9,0x8f,0x00,0x00,0x57,0x59,0x00,0x00,0x28,0x67,0x00,0x00,0xe8,0x90,0x00,0x00,0xfe,0x5d, 0x00,0x00,0xa8,0x9a,0x00,0x00,0xaf,0x82,0x00,0x00,0x08,0x62,0x85,0x5f,0xe6,0x65,0x00,0x00,0xb9,0x8f, 0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0x1a,0x4e,0x40,0x5c,0x00,0x00,0xd0,0x67, 0x00,0x00,0x30,0x57,0x00,0x00,0xcb,0x7a,0x00,0x00,0xaf,0x80,0x00,0x00,0x28,0x67,0x00,0x00,0x3a,0x57, 0x00,0x00,0x3a,0x53,0x00,0x00,0x66,0x4e,0x6a,0x8c,0x00,0x00,0x01,0x00,0x00,0x00,0xff,0x51,0x00,0x00, 0x05,0x00,0x00,0x00,0x3e,0x4e,0x00,0x00,0x58,0x4e,0x00,0x00,0x5c,0x53,0x00,0x00,0xd4,0x53,0x00,0x00, 0x6c,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x58,0x00,0x00,0xf3,0x58,0x51,0x7f,0x00,0x00,0x36,0x71, 0x00,0x00,0xad,0x65,0x00,0x00,0x41,0x6c,0x00,0x00,0x9e,0x5b,0x00,0x00,0x78,0x91,0x00,0x00,0xa5,0x62, 0x00,0x00,0xbb,0x51,0x00,0x00,0x1f,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x53,0x00,0x00,0xce,0x91, 0x00,0x00,0x5f,0x6c,0x00,0x00,0x34,0x59,0x00,0x00,0x61,0x67,0x00,0x00,0x72,0x5e,0x00,0x00,0x41,0x7e, 0xf6,0x53,0x02,0x83,0x00,0x00,0x82,0x82,0x00,0x00,0x5f,0x6c,0x02,0x5e,0x00,0x00,0x48,0x67,0x00,0x00, 0x03,0x00,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x11,0x68,0x00,0x00,0x0a,0x00, 0x00,0x00,0xbd,0x7e,0x00,0x00,0xbd,0x7e,0xd9,0x7a,0x00,0x00,0x3a,0x67,0x00,0x00,0xbd,0x7e,0x8b,0x57, 0x00,0x00,0xc6,0x5b,0x62,0x96,0x00,0x00,0x74,0x8f,0x00,0x00,0xbd,0x7e,0x2f,0x6e,0x00,0x00,0x81,0x89, 0x00,0x00,0xa3,0x57,0x00,0x00,0x3a,0x67,0x3b,0x4e,0x59,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x5e, 0x00,0x00,0x84,0x5e,0x02,0x5e,0x00,0x00,0xd5,0x7c,0x00,0x00,0x11,0x68,0x00,0x00,0x50,0x5b,0x00,0x00, 0x33,0x96,0x00,0x00,0xed,0x56,0x00,0x00,0xe5,0x6c,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x38,0x68, 0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x67,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x5d,0x57,0x47,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x65,0x00,0x00,0xfb,0x51,0x00,0x00,0xfb,0x51,0x48,0x68,0x00,0x00, 0x4b,0x62,0x00,0x00,0x40,0x67,0x00,0x00,0xf0,0x58,0x00,0x00,0x18,0x62,0x00,0x00,0xb0,0x68,0x00,0x00, 0xe3,0x53,0x00,0x00,0xd9,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0xf6,0x53,0x00,0x00, 0x11,0x68,0x00,0x00,0xfe,0x6c,0x00,0x00,0x65,0x68,0x00,0x00,0x39,0x4e,0x7d,0x76,0x32,0x97,0x00,0x00, 0xd6,0x7c,0x00,0x00,0x39,0x4e,0x00,0x00,0x28,0x67,0x00,0x00,0xf6,0x53,0xfd,0x56,0x00,0x00,0x05,0x00, 0x00,0x00,0x99,0x9f,0x00,0x00,0xc4,0x96,0x00,0x00,0x96,0x99,0x00,0x00,0x96,0x99,0x3a,0x79,0x17,0x4f, 0x00,0x00,0x06,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x7a,0x00,0x00,0xe5,0x71,0x00,0x00,0x0e,0x84, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x34,0x6c,0x1f,0x67,0x00,0x00,0xc4,0x9e,0x00,0x00,0x34,0x6c,0x00,0x00, 0x63,0x83,0xbf,0x7e,0x00,0x00,0xf6,0x53,0x00,0x00,0x28,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x97, 0x00,0x00,0x01,0x00,0x00,0x00,0x07,0x69,0x00,0x00,0x01,0x00,0x00,0x00,0x79,0x81,0xce,0x4e,0x6c,0x51, 0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x67,0x00,0x00,0x21,0x6b,0x00,0x00,0x50,0x5b,0x00,0x00,0xbe,0x8b, 0x00,0x00,0x7a,0x7a,0x00,0x00,0xbf,0x52,0x00,0x00,0x84,0x67,0x08,0x5e,0x00,0x00,0x0d,0x4e,0x4f,0x4f, 0x00,0x00,0x65,0x68,0x00,0x00,0x0f,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0x01,0x95,0x00,0x00,0x7f,0x67, 0x00,0x00,0x26,0x5e,0x01,0x95,0x93,0x62,0x00,0x00,0x00,0x95,0x00,0x00,0x04,0x00,0x00,0x00,0x5e,0x67, 0x00,0x00,0x5e,0x67,0x50,0x5b,0x00,0x00,0x7c,0x6a,0x78,0x91,0x00,0x00,0x7c,0x6a,0x00,0x00,0x04,0x00, 0x00,0x00,0xfd,0x56,0x00,0x00,0x43,0x67,0x00,0x00,0xe3,0x81,0x00,0x00,0x3f,0x65,0x00,0x00,0x01,0x00, 0x00,0x00,0xf6,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0xc9,0x62,0xfe,0x56,0x00,0x00, 0x97,0x67,0x99,0x58,0x00,0x00,0x11,0x68,0x00,0x00,0xb9,0x6c,0x00,0x00,0xb9,0x6c,0xef,0x8d,0x00,0x00, 0x68,0x67,0x00,0x00,0xc9,0x62,0xfe,0x56,0x0f,0x5f,0x00,0x00,0xa8,0x53,0x00,0x00,0x61,0x4e,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x4e,0x00,0x00,0xcd,0x79,0x00,0x00,0x2a,0x4e,0x00,0x00,0xd0,0x67, 0x00,0x00,0xba,0x4e,0x00,0x00,0x30,0x57,0x00,0x00,0x9d,0x5b,0x00,0x00,0x4d,0x4f,0x00,0x00,0xe5,0x65, 0x00,0x00,0xe8,0x90,0x00,0x00,0x06,0x00,0x00,0x00,0x58,0x6a,0x00,0x00,0x54,0x68,0x00,0x00,0x50,0x5b, 0x00,0x00,0xd4,0x4e,0x97,0x5e,0x00,0x00,0x58,0x6a,0x71,0x91,0x00,0x00,0x54,0x68,0xed,0x56,0x00,0x00, 0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x82,0x53,0x4f,0x00,0x00,0x72,0x82, 0x00,0x00,0x99,0x65,0x00,0x00,0xd1,0x53,0x00,0x00,0xc5,0x75,0x00,0x00,0x07,0x63,0x00,0x00,0x61,0x6c, 0x00,0x00,0xd1,0x53,0x42,0x52,0x00,0x00,0x0a,0x4e,0x00,0x00,0x72,0x82,0x42,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x6f,0x8f,0x00,0x00,0x8c,0x54,0x00,0x00,0x27,0x60,0x00,0x00,0x53,0x90,0x00,0x00,0x31,0x5f, 0x00,0x00,0xc5,0x60,0x00,0x00,0xe7,0x97,0x27,0x60,0x00,0x00,0x8e,0x7f,0x00,0x00,0x7a,0x98,0x00,0x00, 0xe7,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x2d,0x4e,0x00,0x00,0xce,0x57, 0x00,0x00,0x63,0x83,0x00,0x00,0x97,0x67,0x00,0x00,0x63,0x83,0xbf,0x53,0x00,0x00,0x6a,0x6c,0x47,0x95, 0x00,0x00,0x11,0x68,0x00,0x00,0x58,0x58,0x47,0x95,0x00,0x00,0x46,0x6d,0x00,0x00,0x06,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x50,0x5b,0xae,0x76,0x00,0x00,0x50,0x5b,0x36,0x83,0x00,0x00,0x28,0x67,0x00,0x00, 0x11,0x68,0x00,0x00,0xd7,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0x50,0x5b,0x00,0x00, 0x58,0x54,0x00,0x00,0x58,0x54,0x3a,0x67,0x00,0x00,0x62,0x97,0x00,0x00,0xe8,0x95,0x00,0x00,0x53,0x4f, 0x00,0x00,0xcc,0x91,0x00,0x00,0x2d,0x4e,0x00,0x00,0x85,0x51,0x00,0x00,0x07,0x00,0x00,0x00,0x34,0x6c, 0xbf,0x53,0x00,0x00,0x95,0x86,0x1d,0x4e,0x00,0x00,0x95,0x86,0x00,0x00,0x34,0x6c,0x00,0x00,0x11,0x68, 0x00,0x00,0x0e,0x68,0x00,0x00,0x97,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xac,0x6a,0x00,0x00,0xac,0x6a, 0x78,0x91,0x00,0x00,0xac,0x6a,0x41,0x6c,0x00,0x00,0xac,0x6a,0x34,0x6c,0x00,0x00,0xac,0x6a,0xc4,0x9e, 0x00,0x00,0xac,0x6a,0x36,0x83,0x00,0x00,0xac,0x6a,0x47,0x72,0x00,0x00,0xac,0x6a,0x73,0x54,0x00,0x00, 0xac,0x6a,0xae,0x76,0x00,0x00,0xac,0x6a,0x49,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x8b,0x00,0x00, 0x04,0x59,0x00,0x00,0x0b,0x77,0x00,0x00,0x0e,0x66,0x00,0x00,0xe6,0x97,0xaf,0x65,0x00,0x00,0x05,0x96, 0x00,0x00,0xb7,0x83,0x00,0x00,0xfa,0x51,0x00,0x00,0x01,0x5c,0x00,0x00,0x7e,0x62,0x00,0x00,0x07,0x00, 0x00,0x00,0xd4,0x57,0xe8,0x5b,0x00,0x00,0xb9,0x65,0x00,0x00,0xd4,0x57,0xe8,0x5b,0x4d,0x7c,0x00,0x00, 0xd4,0x57,0xe8,0x5b,0x8b,0x73,0xfd,0x56,0x00,0x00,0x8b,0x73,0xfd,0x56,0x00,0x00,0xd4,0x57,0xe8,0x5b, 0xba,0x4e,0x11,0x6c,0x5a,0x51,0x00,0x00,0x34,0x54,0xe5,0x54,0x8b,0x73,0x1d,0x67,0x00,0x00,0x0a,0x00, 0x00,0x00,0xbe,0x8f,0x00,0x00,0x97,0x67,0xaf,0x65,0x00,0x00,0x65,0x68,0x00,0x00,0x6a,0x57,0xbf,0x53, 0x00,0x00,0x3c,0x5c,0x00,0x00,0x14,0x5c,0x4b,0x51,0x5c,0x5b,0xcf,0x65,0x00,0x00,0x6a,0x57,0x00,0x00, 0xe3,0x68,0x4e,0x53,0x00,0x00,0x3c,0x5c,0x61,0x53,0x00,0x00,0x28,0x84,0x47,0x59,0xc5,0x75,0xd2,0x6b, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xb6,0x72, 0x00,0x00,0x34,0x59,0x00,0x00,0x53,0x4f,0x00,0x00,0xf3,0x77,0x00,0x00,0xca,0x5e,0x00,0x00,0xab,0x8e, 0x00,0x00,0x1e,0x6d,0x00,0x00,0xf1,0x67,0x00,0x00,0xfa,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d, 0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x5f,0x6c,0x00,0x00,0x11,0x68,0x00,0x00,0xe5,0x5d,0x00,0x00, 0xf6,0x53,0x00,0x52,0x00,0x00,0x97,0x66,0xb1,0x82,0x0e,0x66,0x00,0x00,0x97,0x67,0x00,0x00,0xa2,0x94, 0x00,0x00,0x59,0x6a,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00,0xb9,0x6c,0x3a,0x67,0x00,0x00, 0x6b,0x70,0x00,0x00,0x73,0x7c,0xb9,0x6c,0xd0,0x76,0x00,0x00,0xe1,0x80,0x00,0x00,0xbe,0x8f,0x28,0x67, 0x00,0x00,0x73,0x7c,0xb9,0x6c,0xd0,0x76,0x71,0x91,0x8b,0x91,0x36,0x83,0x00,0x00,0xef,0x53,0x2b,0x59, 0xaf,0x65,0xfa,0x57,0x00,0x00,0x21,0x9e,0x00,0x00,0x00,0x52,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x7c,0x99,0x00,0x00,0x50,0x5b,0x12,0x69,0x00,0x00,0x50,0x5b,0x11,0x68,0x00,0x00,0x1c,0x97, 0x00,0x00,0xae,0x76,0x00,0x00,0x50,0x5b,0xae,0x76,0x00,0x00,0x12,0x69,0x00,0x00,0x03,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x50,0x5b,0xb1,0x82,0x00,0x00,0xd2,0x89,0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x67, 0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x68,0x00,0x00,0x3c,0x68,0x00,0x00,0x0f,0x68,0xe8,0x95, 0x00,0x00,0x81,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0xe8,0x95,0x00,0x00,0x61,0x67,0x00,0x00,0x56,0x6e, 0xbf,0x7e,0x00,0x00,0xf1,0x7b,0x00,0x00,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x51,0x00,0x00, 0x98,0x98,0x00,0x00,0xd7,0x5f,0x00,0x00,0x7e,0x7b,0x00,0x00,0x84,0x76,0x00,0x00,0xc6,0x8b,0x00,0x00, 0x6e,0x66,0x00,0x00,0xe8,0x6c,0x00,0x00,0xc6,0x51,0x16,0x53,0x00,0x00,0xf7,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x53,0x90,0x00,0x00,0x65,0x68,0x00,0x00,0x76,0x98,0x00,0x00,0x3b,0x4e,0x00,0x00,0x3f,0x62, 0x00,0x00,0xdf,0x79,0x00,0x00,0x65,0x68,0x0f,0x5f,0x01,0x78,0x34,0x59,0x00,0x00,0x7f,0x67,0x00,0x00, 0x30,0x57,0x40,0x57,0x00,0x00,0x55,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xce,0x98,0x90,0x6c,0xe8,0x96, 0x00,0x00,0x34,0x6c,0xcd,0x6b,0x00,0x00,0x54,0x5b,0x00,0x00,0xd4,0x6b,0x00,0x00,0xd4,0x6b,0xde,0x9c, 0x21,0x6b,0x00,0x00,0x05,0x00,0x00,0x00,0x0b,0x68,0x00,0x00,0x81,0x68,0x00,0x00,0x81,0x68,0x4b,0x4e, 0x50,0x67,0x00,0x00,0x81,0x68,0x50,0x67,0x00,0x00,0xf7,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x11,0x68, 0x00,0x00,0x97,0x67,0x00,0x00,0x09,0x00,0x00,0x00,0xee,0x76,0x00,0x00,0x46,0x67,0x00,0x00,0xee,0x76, 0xc4,0x7e,0x00,0x00,0xb6,0x67,0x00,0x00,0x05,0x68,0x00,0x00,0x51,0x7f,0x00,0x00,0xdc,0x67,0x00,0x00, 0x08,0x57,0x00,0x00,0xee,0x76,0x7b,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xcb,0x7a,0x00,0x00,0x02,0x81, 0x00,0x00,0x28,0x67,0x00,0x00,0x97,0x67,0x00,0x00,0x9d,0x67,0x00,0x00,0x0a,0x4e,0x00,0x00,0xf6,0x53, 0x00,0x00,0x72,0x5e,0x00,0x00,0xd7,0x82,0x00,0x00,0xae,0x76,0x00,0x00,0x04,0x00,0x00,0x00,0x5e,0x58, 0x00,0x00,0x42,0x52,0x00,0x00,0xae,0x76,0x0e,0x68,0x00,0x00,0xae,0x76,0x00,0x00,0x0a,0x00,0x00,0x00, 0x6f,0x60,0x30,0x57,0x00,0x00,0x6f,0x60,0x00,0x00,0xab,0x8e,0x00,0x00,0x1e,0x97,0x00,0x00,0x1e,0x97, 0x3a,0x53,0x00,0x00,0x45,0x5c,0x00,0x00,0x1e,0x97,0xfa,0x5b,0x00,0x00,0x1e,0x97,0x02,0x5e,0x00,0x00, 0x1e,0x97,0x71,0x5c,0x00,0x00,0x62,0x6b,0x00,0x00,0x09,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x11,0x68, 0x00,0x00,0x72,0x82,0x00,0x00,0x20,0x9f,0x00,0x00,0x17,0x68,0x00,0x00,0x36,0x71,0x00,0x00,0x50,0x5b, 0xed,0x56,0x00,0x00,0x8e,0x4e,0x6a,0x57,0x61,0x4e,0x00,0x00,0x50,0x5b,0x97,0x5e,0x51,0x67,0x00,0x00, 0x01,0x00,0x00,0x00,0x7c,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x95,0x00,0x00,0xed,0x56,0x00,0x00, 0x66,0x8f,0x00,0x00,0xb9,0x65,0x00,0x00,0x3a,0x53,0x00,0x00,0xcb,0x53,0x00,0x00,0x0d,0x67,0x00,0x00, 0x85,0x51,0x00,0x00,0x0d,0x82,0x00,0x00,0xe8,0x95,0x00,0x00,0x04,0x00,0x00,0x00,0x29,0x68,0x82,0x59, 0x1f,0x75,0x00,0x00,0x29,0x68,0x00,0x00,0x29,0x68,0x36,0x71,0x00,0x00,0x29,0x68,0x1f,0x75,0x89,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0x32,0x6d,0x02,0x5e,0x00,0x00,0x0f,0x5f,0x1a,0x4f, 0x3e,0x79,0x00,0x00,0xde,0x8f,0x00,0x00,0x32,0x6d,0xbf,0x53,0x00,0x00,0xb6,0x51,0x00,0x00,0xde,0x5d, 0x00,0x00,0xde,0x8f,0x5d,0x4e,0xcf,0x65,0x00,0x00,0xfb,0x7c,0x00,0x00,0xdd,0x8d,0x00,0x00,0x03,0x00, 0x00,0x00,0x33,0x68,0x00,0x00,0xf6,0x80,0x00,0x00,0x5e,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x80,0x6a, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x2c,0x67,0x00,0x00,0xc1,0x54,0x00,0x00,0x0f,0x5f, 0x00,0x00,0x7f,0x67,0x00,0x00,0x37,0x68,0x00,0x00,0x3a,0x67,0x00,0x00,0x8c,0x8c,0x00,0x00,0x2c,0x67, 0xa1,0x80,0x00,0x00,0x2c,0x67,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0x9e,0x5b, 0x00,0x00,0xe5,0x67,0x00,0x00,0x35,0x75,0xd9,0x7a,0x00,0x00,0x35,0x75,0x00,0x00,0xc6,0x51,0x00,0x00, 0x66,0x6b,0x68,0x56,0x00,0x00,0x97,0x7b,0x00,0x00,0x43,0x68,0x00,0x00,0xd5,0x8b,0x8c,0x9a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6e,0x63,0x00,0x00,0x2c,0x67,0x00,0x00,0x90,0x6e,0x00,0x00,0x2c,0x67,0x27,0x60, 0x00,0x00,0xfa,0x57,0x00,0x00,0xbb,0x6c,0x00,0x00,0xe8,0x90,0x00,0x00,0xf1,0x6d,0x82,0x84,0xfa,0x56, 0x00,0x00,0x64,0x96,0x00,0x00,0x6e,0x63,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x5c,0x00,0x00, 0x16,0x59,0x00,0x00,0x9b,0x52,0x00,0x00,0x0f,0x5f,0x00,0x00,0x97,0x67,0x00,0x00,0xcc,0x91,0x00,0x00, 0x81,0x9c,0x09,0x54,0x9a,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0xaf,0x65,0x00,0x00,0x97,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf9,0x57,0x00,0x00,0xcd,0x79,0x00,0x00,0x43,0x8d,0x00,0x00,0x0d,0x69,0x00,0x00, 0x12,0x50,0x00,0x00,0xdf,0x8d,0x34,0x59,0x00,0x00,0xd2,0x63,0x00,0x00,0xf9,0x57,0xd5,0x6c,0x00,0x00, 0x0f,0x81,0x00,0x00,0xb1,0x82,0x7b,0x51,0x49,0x83,0x00,0x00,0x08,0x00,0x00,0x00,0xdd,0x5d,0xbf,0x53, 0x00,0x00,0xdd,0x5d,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x11,0x68,0x00,0x00,0xce,0x57,0x00,0x00, 0x01,0x80,0x00,0x00,0xce,0x57,0x47,0x95,0x00,0x00,0x01,0x80,0xe8,0x5b,0x00,0x00,0x07,0x00,0x00,0x00, 0x9c,0x9a,0x0d,0x4e,0x6f,0x9a,0x00,0x00,0x9c,0x9a,0x00,0x00,0xa3,0x7e,0x00,0x00,0x9c,0x9a,0x0d,0x4e, 0x0a,0x90,0x00,0x00,0xac,0x72,0x20,0x54,0x27,0x5c,0x00,0x00,0x8b,0x73,0x00,0x00,0x2a,0x8d,0x9c,0x9a, 0xc8,0x8b,0x00,0x00,0x04,0x00,0x00,0x00,0xb6,0x67,0x00,0x00,0x81,0x68,0x00,0x00,0x68,0x67,0x00,0x00, 0x68,0x67,0x00,0x52,0x2f,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0x06,0x57,0x00,0x00, 0xb1,0x82,0x00,0x00,0xa0,0x51,0x00,0x00,0x97,0x67,0x02,0x5e,0x00,0x00,0xae,0x76,0x00,0x00,0x9d,0x67, 0x00,0x00,0xed,0x56,0x00,0x00,0x73,0x5e,0x02,0x5e,0x00,0x00,0x99,0x99,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb1,0x82,0x00,0x00,0x50,0x5b,0x00,0x00,0xed,0x56,0x00,0x00,0x90,0x6e,0x00,0x00,0xb1,0x82,0x90,0x6e, 0x00,0x00,0xb1,0x82,0xd0,0x8f,0x00,0x00,0x72,0x82,0x00,0x00,0x11,0x68,0x00,0x00,0xc1,0x4e,0x00,0x00, 0x4e,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x94,0x69,0x00,0x00,0x50,0x5b,0x00,0x00,0x05,0x00,0x00,0x00, 0x46,0x67,0x00,0x00,0x76,0x98,0x00,0x00,0x6f,0x70,0x00,0x00,0x2f,0x6a,0x00,0x00,0xff,0x7a,0x00,0x00, 0x05,0x00,0x00,0x00,0xb6,0x67,0x00,0x00,0x46,0x68,0x00,0x00,0xfe,0x56,0x00,0x00,0x50,0x5b,0x00,0x00, 0xb6,0x67,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0x8b,0x4f,0x00,0x00,0xd1,0x53, 0x00,0x00,0x50,0x5b,0x00,0x00,0xc5,0x60,0x00,0x00,0x3c,0x50,0x00,0x00,0x77,0x53,0x00,0x00,0xaf,0x72, 0x00,0x00,0xd1,0x53,0x30,0x57,0x00,0x00,0x34,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0x11,0x68,0x00,0x00, 0x11,0x68,0x97,0x67,0x00,0x00,0xf6,0x53,0xb9,0x6c,0x00,0x00,0x11,0x68,0xd7,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x4e,0x00,0x00,0x38,0x6e,0x00,0x00,0x05,0x69, 0x00,0x00,0x03,0x74,0x00,0x00,0x4d,0x52,0x00,0x00,0x03,0x5e,0x00,0x00,0xb9,0x8f,0x00,0x00,0x62,0x97, 0x48,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x8f,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x4e,0x00,0x00, 0x90,0x5e,0x00,0x00,0x61,0x4e,0x02,0x5e,0x00,0x00,0xce,0x57,0x00,0x00,0x06,0x66,0x00,0x00,0xcf,0x67, 0xbf,0x53,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0x1b,0x54,0x01,0x96,0x00,0x00,0x90,0x5e,0xbf,0x53, 0x00,0x00,0x93,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xea,0x8f,0x00,0x00,0xff,0x62,0x00,0x00,0x54,0x58, 0xb3,0x7e,0x00,0x00,0x58,0x62,0xaf,0x65,0x00,0x00,0x5a,0x84,0x00,0x00,0x66,0x57,0xb7,0x5f,0x00,0x00, 0x70,0x67,0x00,0x00,0xf6,0x53,0x00,0x00,0x39,0x69,0x00,0x00,0xb7,0x5f,0xc9,0x62,0x00,0x00,0x08,0x00, 0x00,0x00,0xf0,0x53,0x00,0x00,0xf0,0x53,0xbf,0x53,0x00,0x00,0xc1,0x4e,0x00,0x00,0x29,0x6e,0x00,0x00, 0x84,0x73,0x00,0x00,0xc1,0x4e,0xbf,0x53,0x00,0x00,0x53,0x68,0x00,0x00,0xc1,0x4e,0xe1,0x6e,0xcf,0x65, 0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x97,0x68,0x00,0x00, 0xae,0x76,0x00,0x00,0xc4,0x9e,0x72,0x82,0x00,0x00,0xa2,0x7e,0x72,0x82,0x00,0x00,0xed,0x56,0x00,0x00, 0x11,0x68,0x00,0x00,0x9c,0x51,0x00,0x00,0xc4,0x9e,0x00,0x00,0x0f,0x5c,0x9e,0x5b,0x47,0x87,0x00,0x00, 0x02,0x00,0x00,0x00,0x48,0x67,0x00,0x00,0x9d,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0xa7,0x4f,0x00,0x00, 0xa8,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0x84,0x76,0x00,0x00,0x60,0x69,0x11,0x68,0x00,0x00,0x72,0x5e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x68,0x00,0x00,0x21,0x6b,0x00,0x00,0x48,0x68,0x86,0x99,0x00,0x00, 0x1f,0x67,0x00,0x00,0xe3,0x53,0x00,0x00,0x3b,0x4e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x48,0x68,0x40,0x5c, 0x00,0x00,0x50,0x5b,0x00,0x00,0x48,0x68,0xa4,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x28,0x67,0x00,0x00, 0x11,0x68,0x00,0x00,0x11,0x68,0x97,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x68,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x62,0x97,0x00,0x00,0x0b,0x4e,0x7b,0x5f,0x00,0x00,0xa9,0x58,0x00,0x00,0xb5,0x6b,0x00,0x00, 0x34,0x59,0x21,0x58,0x00,0x00,0x34,0x59,0x00,0x00,0x3a,0x53,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x38,0x75,0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x38,0x75,0x02,0x5e,0x00,0x00,0x11,0x68, 0x00,0x00,0x28,0x67,0x00,0x00,0xdd,0x5d,0xbf,0x53,0x00,0x00,0x57,0x53,0x00,0x00,0x11,0x68,0xae,0x76, 0x00,0x00,0xdd,0x5d,0x00,0x00,0x28,0x67,0xd1,0x79,0x00,0x00,0x04,0x00,0x00,0x00,0xd3,0x4e,0xe1,0x90, 0x00,0x00,0xd3,0x4e,0x00,0x00,0xcf,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0x06,0x00,0x00,0x00,0xfa,0x57, 0x00,0x00,0x03,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x69,0x68,0x00,0x00,0x7f,0x67,0x99,0x58,0x00,0x00, 0x84,0x67,0x08,0x68,0x53,0x90,0x00,0x00,0x02,0x00,0x00,0x00,0x24,0x69,0x00,0x00,0x24,0x69,0x11,0x68, 0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x9f,0xf8,0x76,0x94,0x5e,0x00,0x00,0x06,0x00,0x00,0x00,0xc5,0x88, 0x34,0x6c,0x00,0x00,0xc5,0x88,0x00,0x00,0x50,0x5b,0x00,0x00,0xcc,0x91,0x04,0x5c,0x7c,0x9c,0x00,0x00, 0x54,0x5b,0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0x2f,0x54,0x85,0x8d, 0x00,0x00,0x71,0x5c,0x00,0x00,0xb6,0x5b,0x00,0x00,0x5d,0x79,0x00,0x00,0x31,0x6f,0x9f,0x6e,0x00,0x00, 0x50,0x5b,0x00,0x00,0x73,0x5e,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0x73,0x5e,0xbf,0x53,0x00,0x00, 0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x5f,0xe6,0x97,0x70,0x67,0x2b,0x59, 0x00,0x00,0xb1,0x82,0x00,0x00,0x86,0x96,0x00,0x00,0xd2,0x6b,0x00,0x00,0xde,0x5d,0x00,0x00,0x97,0x67, 0x00,0x00,0x70,0x51,0xb3,0x82,0x00,0x00,0xcc,0x91,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x50,0x5b, 0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x54,0x81,0x00,0x00,0x09,0x00,0x00,0x00, 0x7c,0x6f,0x00,0x00,0x7c,0x6f,0xbf,0x53,0x00,0x00,0xcc,0x91,0x00,0x00,0xb5,0x55,0x00,0x00,0x4c,0x88, 0x00,0x00,0x71,0x5c,0x00,0x00,0xe5,0x7a,0x00,0x00,0x98,0x5b,0x00,0x00,0x98,0x5b,0x61,0x4e,0x00,0x00, 0x08,0x00,0x00,0x00,0x3b,0x96,0x00,0x00,0x82,0x69,0x00,0x00,0x5e,0x58,0x00,0x00,0x7b,0x6b,0x00,0x00, 0xac,0x72,0x00,0x00,0xfb,0x7c,0x00,0x00,0xf4,0x76,0x00,0x00,0xbd,0x54,0x00,0x00,0x02,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x6c,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x11,0x68,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf3,0x60,0x00,0x00,0x7b,0x5e,0x00,0x00,0xc1,0x89,0x00,0x00,0x83,0x58,0x00,0x00,0x30,0x52,0x00,0x00, 0x38,0x6e,0x00,0x00,0x32,0x97,0x00,0x00,0xd0,0x5b,0xe5,0x4e,0x42,0x6c,0x00,0x00,0x47,0x9b,0x00,0x00, 0x3d,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x68,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e, 0x00,0x00,0x50,0x68,0x11,0x68,0x00,0x00,0x50,0x68,0x71,0x5c,0x00,0x00,0x16,0x68,0x00,0x00,0x50,0x68, 0x28,0x67,0x00,0x00,0xde,0x5d,0x30,0x57,0x3a,0x53,0x00,0x00,0x50,0x68,0xd1,0x79,0x00,0x00,0xde,0x5d, 0x2f,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xb1,0x82,0x00,0x00,0xed,0x56,0x00,0x00, 0x11,0x68,0x00,0x00,0x41,0x6c,0x00,0x00,0x62,0x5f,0x00,0x00,0x8f,0x81,0x00,0x00,0xae,0x76,0x00,0x00, 0xed,0x56,0x47,0x95,0x00,0x00,0x11,0x68,0x3a,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x5b,0xf9,0x87,0x00,0x00,0xcc,0x83,0x00,0x00,0xb6,0x72,0x00,0x00,0x57,0x7f, 0x00,0x00,0xad,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0x7c,0x9c,0x00,0x00,0xc7,0x7e,0x00,0x00,0x50,0x5b, 0x7c,0x9c,0x00,0x00,0x56,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x96,0x00,0x00,0x50,0x5b,0x00,0x00, 0xa6,0x5e,0x00,0x00,0x30,0x75,0x00,0x00,0xa7,0x7e,0x00,0x00,0x21,0x6b,0x00,0x00,0x62,0x5f,0x00,0x00, 0x69,0x60,0xaf,0x68,0x00,0x00,0xe6,0x74,0x00,0x00,0x69,0x60,0xaf,0x68,0x53,0x5f,0xcf,0x91,0x00,0x00, 0x03,0x00,0x00,0x00,0x97,0x65,0x00,0x00,0x77,0x51,0x00,0x00,0xfb,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x06,0x74,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x86,0x59,0xf0,0x53,0x00,0x00,0x86,0x59, 0x00,0x00,0x17,0x6d,0x00,0x00,0xd1,0x53,0x00,0x00,0x7f,0x9f,0x00,0x00,0x86,0x59,0x53,0x62,0x6e,0x62, 0x00,0x00,0xe6,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x87,0x65,0x00,0x00,0xed,0x8b,0x00,0x00,0xd8,0x9a, 0x00,0x00,0x4c,0x88,0x00,0x00,0x82,0x84,0x88,0x51,0x00,0x00,0xd7,0x5f,0x00,0x00,0x2c,0x67,0x00,0x00, 0xf3,0x97,0x00,0x00,0x8b,0x73,0x00,0x00,0xcf,0x85,0x00,0x00,0x02,0x00,0x00,0x00,0x4c,0x67,0x00,0x00, 0x27,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0xb7,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x67,0x00,0x00, 0x4b,0x6d,0x00,0x00,0x8c,0x9a,0x00,0x00,0xdf,0x5b,0x62,0x96,0x00,0x00,0xdf,0x5b,0x00,0x00,0xb9,0x65, 0x00,0x00,0xdf,0x5b,0x98,0x5b,0x00,0x00,0xab,0x75,0x00,0x00,0xee,0x4f,0x00,0x00,0xfa,0x51,0x00,0x00, 0x01,0x00,0x00,0x00,0x8a,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0xab,0x88,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x63,0x88,0x00,0x00,0x61,0x67,0x00,0x00,0x84,0x88,0x00,0x00,0x7e,0x7b,0x00,0x00, 0x03,0x5e,0x00,0x00,0x28,0x8d,0x00,0x00,0x9c,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xd8,0x76,0x00,0x00,0x4c,0x72,0x00,0x00,0x4b,0x62,0x00,0x00,0x40,0x5c,0x00,0x00,0x4c,0x72,0xa4,0x5b, 0x00,0x00,0xd8,0x76,0x71,0x5c,0x00,0x00,0x62,0x96,0x00,0x00,0x7b,0x7c,0x00,0x00,0x31,0x8c,0x00,0x00, 0x07,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xd2,0x68,0x00,0x00,0x3f,0x51,0x00,0x00,0xcd,0x68,0x00,0x00, 0x2f,0x67,0x00,0x00,0xd5,0x6c,0x00,0x00,0x56,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x03,0x74,0x00,0x00,0xd2,0x68,0xd6,0x7c,0x00,0x00,0xcc,0x69,0x00,0x00,0xd2,0x68,0x00,0x00,0x03,0x74, 0x3d,0x5e,0x00,0x00,0xa6,0x7e,0xf0,0x7f,0x00,0x00,0x9d,0x55,0x00,0x00,0xb6,0x72,0x00,0x00,0xb0,0x51, 0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x69,0xb9,0x6c,0x00,0x00,0x72,0x82,0x00,0x00,0x88,0x69,0x00,0x00, 0x8a,0x71,0x00,0x00,0x88,0x69,0x11,0x68,0x00,0x00,0xa2,0x7e,0x00,0x00,0x8a,0x5e,0xab,0x57,0x00,0x00, 0x10,0x89,0x72,0x82,0x00,0x00,0xb9,0x6c,0x00,0x00,0x88,0x69,0x9b,0x5c,0x00,0x00,0x07,0x00,0x00,0x00, 0x4b,0x62,0x00,0x00,0x6e,0x8f,0x00,0x00,0x3a,0x52,0x00,0x00,0xae,0x76,0xa8,0x52,0x69,0x72,0x00,0x00, 0x2a,0x72,0x00,0x00,0x3b,0x9f,0x52,0x97,0x9b,0x5c,0x99,0x9f,0x00,0x00,0x5a,0x69,0x00,0x00,0x0a,0x00, 0x00,0x00,0x37,0x62,0x3a,0x53,0x00,0x00,0x39,0x65,0x00,0x00,0x50,0x5b,0x00,0x00,0x37,0x62,0x00,0x00, 0xb6,0x67,0x00,0x00,0x85,0x51,0x00,0x00,0xcc,0x91,0x00,0x00,0x08,0x57,0x00,0x00,0x66,0x8f,0x00,0x00, 0x9c,0x81,0x00,0x00,0x03,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0xe3,0x68,0x00,0x00,0x66,0x6d,0x00,0x00, 0x01,0x00,0x00,0x00,0xe0,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0x6c,0x9a,0x00,0x00, 0x25,0x4e,0x00,0x00,0xee,0x68,0x00,0x00,0x38,0x6c,0x00,0x00,0x2c,0x67,0x00,0x00,0x9c,0x55,0x17,0x67, 0x00,0x00,0xe5,0x5d,0x00,0x00,0x77,0x6d,0x00,0x00,0x79,0x72,0x00,0x00,0x07,0x00,0x00,0x00,0x5c,0x95, 0x00,0x00,0xd2,0x89,0x00,0x00,0x49,0x51,0x00,0x00,0xf1,0x67,0x00,0x00,0x25,0x95,0x00,0x00,0xf0,0x53, 0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xf5,0x68,0x00,0x00,0x50,0x5b,0x00,0x00,0x07,0x00, 0x00,0x00,0x50,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0x01,0x69,0x00,0x00,0x50,0x67,0x7f,0x67,0x00,0x00, 0x50,0x67,0x97,0x5e,0x00,0x00,0x68,0x56,0x00,0x00,0x50,0x67,0x0f,0x5f,0x00,0x00,0x01,0x00,0x00,0x00, 0xb3,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xcc,0x80,0x00,0x00,0xf3,0x51,0x00,0x00,0xab,0x57,0x00,0x00,0xab,0x62,0x00,0x00,0x02,0x00,0x00,0x00, 0xd5,0x82,0x00,0x00,0x34,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x69,0x72,0x00,0x00,0x69,0x72,0xb9,0x6c,0x00,0x00,0xab,0x88,0x00,0x00,0x69,0x72,0xed,0x56,0x00,0x00, 0x11,0x68,0x00,0x00,0x65,0x51,0x00,0x00,0x69,0x72,0x27,0x60,0x00,0x00,0x69,0x72,0x66,0x5b,0x00,0x00, 0x69,0x72,0xba,0x4e,0x00,0x00,0x2a,0x68,0x00,0x00,0x06,0x00,0x00,0x00,0xf4,0x95,0xd8,0x76,0x00,0x00, 0x53,0x4f,0x00,0x00,0xa8,0x9a,0x00,0x00,0xa1,0x7b,0x00,0x00,0xa8,0x52,0x09,0x81,0x00,0x00,0xc3,0x5f, 0xe3,0x6c,0x40,0x88,0x00,0x00,0x06,0x00,0x00,0x00,0xd0,0x76,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c, 0x3a,0x53,0x00,0x00,0xbb,0x9e,0x21,0x9e,0x00,0x00,0x29,0x8d,0x00,0x00,0x46,0x55,0x00,0x00,0x01,0x00, 0x00,0x00,0xd1,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x06,0x57,0x62,0x5f,0x00,0x00,0x06,0x57,0x00,0x00, 0x06,0x57,0x62,0x5f,0x9e,0x52,0x6c,0x51,0xa4,0x5b,0x00,0x00,0x06,0x57,0x3a,0x67,0x00,0x00,0x06,0x57, 0x53,0x4f,0x00,0x00,0x06,0x57,0xf2,0x66,0xbf,0x7e,0x00,0x00,0x06,0x57,0xfd,0x51,0x70,0x65,0x00,0x00, 0x06,0x57,0xef,0x79,0x06,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x9b,0x5c,0x00,0x00, 0x41,0x6c,0x00,0x00,0x50,0x5b,0xb9,0x6c,0x00,0x00,0xdc,0x83,0x00,0x00,0x11,0x68,0x00,0x00,0x46,0x6d, 0x00,0x00,0x50,0x5b,0x11,0x68,0x00,0x00,0x76,0x59,0x00,0x00,0x99,0x99,0x00,0x00,0x03,0x00,0x00,0x00, 0x28,0x67,0x00,0x00,0x11,0x68,0x00,0x00,0x28,0x67,0x1b,0x4e,0x51,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0xa9,0x6a,0x00,0x00,0x05,0x00,0x00,0x00,0x11,0x68,0x00,0x00,0x31,0x84,0x02,0x83, 0x00,0x00,0xbd,0x82,0x00,0x00,0x61,0x8c,0x00,0x00,0x31,0x84,0x00,0x00,0x05,0x00,0x00,0x00,0x62,0x5f, 0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x5f,0x87,0x65,0x57,0x5b,0x00,0x00,0x62,0x5f,0x69,0x72,0x00,0x00, 0x62,0x5f,0x26,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59,0x00,0x00,0xc4,0x96,0x00,0x00,0xfd,0x56, 0x00,0x00,0xc4,0x96,0xde,0x5d,0x00,0x00,0x5a,0x69,0x00,0x00,0x46,0x55,0x00,0x00,0x9e,0x8f,0x00,0x00, 0x8b,0x73,0x00,0x00,0x73,0x5e,0x00,0x00,0x5a,0x69,0xa8,0x52,0xba,0x4e,0x00,0x00,0x04,0x00,0x00,0x00, 0x25,0x4e,0x00,0x00,0xe6,0x8f,0x00,0x00,0xe6,0x8f,0x9b,0x5c,0x00,0x00,0x50,0x5b,0x3c,0x77,0x00,0x00, 0x0a,0x00,0x00,0x00,0x60,0x69,0x00,0x00,0x28,0x67,0x00,0x00,0x3c,0x68,0xc8,0x54,0x14,0x5c,0x01,0x77, 0x00,0x00,0xaa,0x6e,0x5f,0x6c,0x00,0x00,0xf9,0x7a,0x00,0x00,0x93,0x68,0x00,0x00,0x93,0x68,0x3a,0x53, 0x00,0x00,0x46,0x67,0x47,0x95,0x00,0x00,0x7f,0x89,0x61,0x4e,0x00,0x00,0x42,0x68,0x00,0x00,0x01,0x00, 0x00,0x00,0x0a,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0x7f,0x67,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b, 0x00,0x00,0x03,0x00,0x00,0x00,0xa8,0x58,0x00,0x00,0xb8,0x7e,0x00,0x00,0x42,0x90,0x6f,0x82,0x00,0x00, 0x04,0x00,0x00,0x00,0x21,0x6a,0x00,0x00,0x66,0x4e,0x00,0x00,0x53,0x4f,0x00,0x00,0x57,0x5b,0x00,0x00, 0x01,0x00,0x00,0x00,0x11,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0x54,0x80,0x00,0x00,0x54,0x80,0x85,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x5e,0x00,0x00,0x3b,0x4e,0x00,0x00,0xd8,0x76,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x3f,0x62,0x00,0x00,0xaf,0x68,0x00,0x00,0x76,0x98,0x00,0x00,0x42,0x5c, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf5,0x5f,0x00,0x00,0x87,0x73,0x00,0x00,0xf5,0x5f, 0xa1,0x80,0x00,0x00,0xec,0x62,0x00,0x00,0xb5,0x51,0x00,0x00,0xf0,0x8f,0x00,0x00,0x81,0x89,0x00,0x00, 0x97,0x7b,0x00,0x00,0xba,0x8b,0x00,0x00,0xf5,0x5f,0x27,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0xd2,0x89, 0x00,0x00,0x03,0x74,0x5b,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0x97,0x67,0x02,0x5e, 0x00,0x00,0x11,0x68,0x00,0x00,0x2d,0x4e,0xbf,0x53,0x00,0x00,0x11,0x68,0x02,0x5e,0x00,0x00,0x28,0x67, 0x00,0x00,0x33,0x96,0x3a,0x53,0x00,0x00,0x97,0x67,0x50,0x5b,0x47,0x95,0x00,0x00,0x21,0x6b,0x00,0x00, 0x2d,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x59,0x00,0x00, 0x86,0x69,0x00,0x00,0xfa,0x69,0x00,0x00,0x06,0x00,0x00,0x00,0x11,0x68,0x00,0x00,0xce,0x57,0x3a,0x53, 0x00,0x00,0x5f,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0xf0,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x9c,0x67,0x00,0x00,0xc1,0x4e,0x00,0x00,0x21,0x9e,0x00,0x00, 0x9c,0x82,0x00,0x00,0x9b,0x69,0x00,0x00,0xbd,0x83,0x00,0x00,0x17,0x68,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x72,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x53,0x00,0x00,0x96,0x99,0x00,0x00,0x37,0x68,0x00,0x00, 0x0a,0x4e,0x09,0x67,0x0d,0x54,0x00,0x00,0x3c,0x77,0x00,0x00,0x0a,0x4e,0xe0,0x65,0x0d,0x54,0x00,0x00, 0x3e,0x5c,0x00,0x00,0x71,0x5c,0x47,0x95,0x00,0x00,0x5b,0x84,0x4c,0x52,0x00,0x00,0x37,0x68,0x27,0x60, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x41,0x6c, 0x00,0x00,0x63,0x5b,0x00,0x00,0xb9,0x6c,0x00,0x00,0x41,0x6c,0x3a,0x67,0x00,0x00,0x72,0x5e,0x00,0x00, 0xd6,0x53,0x00,0x00,0xfa,0x51,0x00,0x00,0x10,0x62,0x00,0x00,0x10,0x62,0x41,0x6c,0x00,0x00,0x07,0x00, 0x00,0x00,0x6f,0x53,0x00,0x00,0x34,0x59,0x00,0x00,0x3c,0x77,0x00,0x00,0x50,0x5b,0x00,0x00,0xa5,0x63, 0x0f,0x5f,0x00,0x00,0x00,0x95,0x00,0x00,0xff,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x83,0x00,0x00, 0x39,0x5f,0xae,0x70,0x00,0x00,0x39,0x5f,0x00,0x00,0x39,0x5f,0xd1,0x53,0x04,0x5c,0x68,0x56,0x00,0x00, 0xf3,0x77,0x00,0x00,0xb2,0x83,0x73,0x54,0x00,0x00,0xbf,0x68,0x00,0x00,0xb1,0x82,0x00,0x00,0x30,0x97, 0x39,0x5f,0x00,0x00,0xb2,0x83,0x9c,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xbb,0x69,0x73,0x7c,0x00,0x00, 0x02,0x00,0x00,0x00,0x28,0x67,0x7b,0x6b,0x70,0x70,0x00,0x00,0x28,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0xe8,0x95,0x00,0x00,0x47,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0xcd,0x54,0x00,0x00,0x03,0x74,0x00,0x00, 0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xaa,0x6e,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x68, 0x00,0x00,0xb1,0x82,0x00,0x00,0x6b,0x83,0x3a,0x53,0x00,0x00,0x6b,0x83,0x00,0x00,0xb1,0x82,0x1c,0x87, 0x00,0x00,0x73,0x7c,0x00,0x00,0x1c,0x87,0x00,0x00,0xf6,0x53,0x00,0x00,0x61,0x4e,0x00,0x00,0x6b,0x83, 0x06,0x80,0xbf,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0xb1,0x82,0x3c,0x7b,0x64,0x9e, 0x00,0x00,0x01,0x00,0x00,0x00,0x4e,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x94,0x69,0x00,0x00,0xce,0x57, 0x00,0x00,0x94,0x69,0x7f,0x5c,0x00,0x00,0xde,0x5d,0x00,0x00,0x94,0x69,0x4a,0x64,0x00,0x00,0x9b,0x5c, 0x00,0x00,0x50,0x5b,0x00,0x00,0x94,0x69,0x7f,0x89,0xbd,0x65,0x00,0x00,0x03,0x00,0x00,0x00,0x11,0x68, 0x00,0x00,0x28,0x67,0x00,0x00,0xd6,0x7c,0x46,0x6d,0x00,0x00,0x05,0x00,0x00,0x00,0xc4,0x5b,0x1f,0x75, 0x00,0x00,0xae,0x76,0x20,0x7d,0x00,0x00,0x0e,0x68,0x00,0x00,0x11,0x68,0x00,0x00,0x2b,0x9e,0x00,0x00, 0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x50,0x7f,0x66,0x8f, 0x00,0x00,0x66,0x8f,0x00,0x00,0x53,0x90,0x00,0x00,0xa2,0x94,0x00,0x00,0x50,0x7f,0x00,0x00,0x59,0x72, 0x00,0x00,0x50,0x5b,0x00,0x00,0x34,0x59,0x00,0x00,0xd5,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0xe0,0x60, 0x00,0x00,0x08,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xf1,0x7b,0x00,0x00, 0xce,0x57,0x00,0x00,0x3c,0x7b,0x00,0x00,0x7f,0x89,0x00,0x00,0xc6,0x96,0x00,0x00,0x27,0x5c,0x51,0x67, 0x00,0x00,0x01,0x00,0x00,0x00,0xb2,0x84,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x68,0x00,0x00,0x28,0x67, 0x00,0x00,0x9c,0x5b,0x00,0x00,0x11,0x81,0x00,0x00,0x28,0x67,0x34,0x59,0x00,0x00,0x28,0x67,0x34,0x59, 0x47,0x95,0x00,0x00,0x11,0x68,0x02,0x5e,0x00,0x00,0x11,0x81,0x38,0x4e,0x00,0x00,0x51,0x67,0x00,0x00, 0x11,0x81,0x03,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x5f,0x00,0x00,0x8b,0x57,0x00,0x00,0xdf,0x62, 0x00,0x00,0xca,0x7c,0x00,0x00,0xff,0x4e,0x00,0x00,0x79,0x72,0x00,0x00,0x57,0x57,0x00,0x00,0x37,0x68, 0x00,0x00,0x03,0x83,0x00,0x00,0x77,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x54,0x00,0x00,0x45,0x5e, 0x00,0x00,0xd8,0x76,0x00,0x00,0xe8,0x8d,0x00,0x00,0x4c,0x88,0x00,0x00,0x34,0x74,0x00,0x00,0x6b,0x62, 0x00,0x00,0x7a,0x7a,0xfa,0x51,0x16,0x4e,0x00,0x00,0x7f,0x7a,0x00,0x00,0x97,0x5e,0x00,0x00,0x01,0x00, 0x00,0x00,0x45,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x43,0x68,0x00,0x00,0xb1,0x82,0x00,0x00,0xb1,0x82, 0x11,0x68,0x00,0x00,0x28,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0xb1,0x82,0x82,0x82,0x00,0x00,0x43,0x68, 0x11,0x68,0x00,0x00,0x9b,0x5c,0x00,0x00,0x43,0x68,0xed,0x56,0x00,0x00,0x43,0x68,0x9f,0x6c,0x00,0x00, 0x05,0x00,0x00,0x00,0x2b,0x59,0x00,0x00,0x0d,0x82,0x47,0x95,0x00,0x00,0x05,0x80,0x00,0x00,0xc7,0x91, 0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x4f,0x00,0x00,0x4d,0x7f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x84,0x69,0xb9,0x6c,0x00,0x00,0x84,0x69,0x00,0x00,0x84,0x69,0x9d,0x67,0x00,0x00,0x84,0x69, 0x03,0x74,0x00,0x00,0x84,0x69,0x11,0x68,0x00,0x00,0x84,0x69,0x03,0x74,0x1f,0x96,0x00,0x00,0x84,0x69, 0x8b,0x57,0x00,0x00,0x84,0x69,0xf3,0x77,0x00,0x00,0x84,0x69,0x03,0x74,0x5b,0x8d,0x00,0x00,0x84,0x69, 0x62,0x5f,0x00,0x00,0x06,0x00,0x00,0x00,0x7c,0x9a,0x00,0x00,0x14,0x7b,0x00,0x00,0x50,0x6a,0x00,0x00, 0xca,0x56,0x00,0x00,0x25,0x7b,0x00,0x00,0x2d,0x4e,0xc5,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0xae,0x76,0x00,0x00,0x72,0x82,0x00,0x00,0xa2,0x7e,0x72,0x82,0x00,0x00,0xc4,0x9e,0x72,0x82, 0x00,0x00,0x50,0x5b,0x32,0x6d,0x00,0x00,0xa2,0x7e,0x00,0x00,0x50,0x5b,0x41,0x6c,0x00,0x00,0xae,0x76, 0xc4,0x7e,0xc7,0x7e,0x00,0x00,0xc4,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x82,0x00,0x00,0x50,0x5b, 0x00,0x00,0x41,0x6c,0x00,0x00,0xc4,0x9e,0x72,0x82,0x00,0x00,0xae,0x76,0x00,0x00,0xa2,0x7e,0x72,0x82, 0x00,0x00,0x42,0x52,0x00,0x00,0x73,0x54,0x00,0x00,0xb1,0x82,0x00,0x00,0xa2,0x7e,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x80,0x00,0x00,0xae,0x76,0x00,0x00,0x11,0x68, 0x00,0x00,0xae,0x76,0x4b,0x7b,0x00,0x00,0xae,0x76,0x47,0x82,0x00,0x00,0xae,0x76,0xe0,0x7a,0x00,0x00, 0x9c,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0xae,0x76,0xe5,0x6c,0x00,0x00,0xae,0x76,0xe6,0x64,0x00,0x00, 0x03,0x00,0x00,0x00,0xdc,0x67,0x00,0x00,0x97,0x7a,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x99,0x99,0x00,0x00,0x99,0x99,0x71,0x5c,0x00,0x00,0x28,0x67,0x00,0x00,0x8a,0x8d,0x00,0x00,0x99,0x99, 0x28,0x67,0x00,0x00,0x78,0x55,0x00,0x00,0x1b,0x54,0x00,0x00,0xce,0x90,0x00,0x00,0x11,0x68,0x00,0x00, 0x7f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x1d,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x65,0x00,0x00, 0x66,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x9f,0x6c,0x00,0x00, 0x34,0x6c,0x00,0x00,0x0b,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0xf3,0x77,0x00,0x00, 0x02,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0xb1,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x08,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3e,0x6b,0x00,0x00,0x3a,0x7f,0x00,0x00,0x73,0x4f,0x00,0x00,0xaa,0x85,0x00,0x00, 0x3a,0x50,0x00,0x00,0x26,0x8d,0x00,0x00,0x39,0x8d,0x00,0x00,0x61,0x67,0x00,0x00,0xa5,0x59,0x00,0x00, 0x0e,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x65,0x00,0x00,0xe5,0x65,0x00,0x00,0xa7,0x7e,0x00,0x00, 0x74,0x5e,0x00,0x00,0x2c,0x7b,0x00,0x00,0x67,0x53,0x00,0x00,0x37,0x8d,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x1f,0x75,0x00,0x00,0x81,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xce,0x8f,0x00,0x00,0x50,0x4e,0x00,0x00, 0x9c,0x55,0x00,0x00,0x7c,0x54,0x00,0x00,0x5a,0x80,0x00,0x00,0xeb,0x5f,0x00,0x00,0x86,0x5e,0x00,0x00, 0x11,0x7b,0x00,0x00,0x22,0x6b,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4f,0x8d,0x00,0x00, 0x70,0x61,0x00,0x00,0x9c,0x55,0x00,0x00,0x36,0x71,0x00,0x00,0x23,0x6b,0x11,0x54,0x63,0x83,0x00,0x00, 0x23,0x6b,0x00,0x00,0xa6,0x60,0x00,0x00,0x9c,0x55,0xe5,0x82,0xc2,0x72,0x00,0x00,0xfa,0x65,0xbe,0x8f, 0x00,0x00,0x99,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0xdf,0x76,0x00,0x00,0x43,0x51, 0x00,0x00,0x43,0x51,0x3a,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x2e,0x59,0x4c,0x88,0x00,0x00,0xa1,0x80, 0x00,0x00,0xb1,0x83,0xc5,0x96,0x00,0x00,0x3a,0x50,0x00,0x00,0x8e,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1b,0x67,0x00,0x00,0x4c,0x75,0x00,0x00,0x62,0x7f,0x0d,0x4e,0xfd,0x80,0x00,0x00,0xed,0x54,0xe0,0x65, 0xea,0x6c,0x00,0x00,0xf5,0x5f,0x00,0x00,0x6b,0x70,0x00,0x00,0xd9,0x4e,0x32,0x6b,0x7b,0x6b,0x00,0x00, 0xd2,0x64,0x45,0x65,0xb5,0x7e,0x00,0x00,0xd6,0x76,0x25,0x5f,0x70,0x5f,0x00,0x00,0x1f,0x90,0x19,0x52, 0x0d,0x4e,0xbe,0x8f,0x00,0x00,0x02,0x00,0x00,0x00,0x54,0x6b,0x00,0x00,0x01,0x54,0x00,0x00,0x01,0x00, 0x00,0x00,0xf2,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x8b,0x00,0x00,0x97,0x9a,0x00,0x00,0x1f,0x8d, 0x00,0x00,0x97,0x9a,0x27,0x60,0x00,0x00,0xcc,0x51,0x00,0x00,0x8b,0x53,0x00,0x00,0x4c,0x88,0x38,0x97, 0x02,0x5e,0x00,0x00,0xa2,0x5b,0x00,0x00,0x92,0x77,0x00,0x00,0xc8,0x8b,0x48,0x68,0x00,0x00,0x0a,0x00, 0x00,0x00,0x79,0x98,0x00,0x00,0x0f,0x5f,0x00,0x00,0x69,0x72,0x00,0x00,0x85,0x5f,0x00,0x00,0x3e,0x6b, 0x00,0x00,0x9d,0x98,0x00,0x00,0xc6,0x8b,0x00,0x00,0x8b,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0xf2,0x66, 0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x03,0x00,0x00,0x00,0x40,0x88,0x00,0x00,0x40,0x88, 0x3a,0x4e,0xdf,0x76,0x00,0x00,0x40,0x88,0xd3,0x7e,0xdf,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0xa1,0x7f, 0x00,0x00,0x55,0x61,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0xaf,0x65,0x95,0x5e,0xcc,0x91, 0x00,0x00,0x47,0x6b,0x00,0x00,0x6f,0x60,0x00,0x00,0x1a,0x81,0x00,0x00,0xdc,0x83,0x00,0x00,0x0f,0x59, 0x1f,0x67,0x00,0x00,0x0f,0x59,0x00,0x00,0x0e,0x54,0xed,0x8b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x04,0x00, 0x00,0x00,0x0f,0x61,0x00,0x00,0x36,0x65,0x00,0x00,0x9a,0x75,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf2,0x66,0x00,0x00,0x4b,0x62,0x00,0x00,0xcd,0x8b,0x00,0x00,0xf0,0x58,0x00,0x00,0x67,0x52, 0x00,0x00,0x1e,0x82,0x00,0x00,0x31,0x55,0x00,0x00,0xf7,0x8f,0x00,0x00,0x14,0x5c,0xf0,0x58,0x66,0x5b, 0x00,0x00,0x1f,0x66,0x00,0x00,0x03,0x00,0x00,0x00,0x1a,0x78,0x00,0x00,0xbf,0x53,0x00,0x00,0x1a,0x78, 0x08,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x5f,0x63,0x00,0x00,0xb3,0x54,0x00,0x00,0x40,0x88,0x00,0x00, 0xdb,0x75,0x00,0x00,0x65,0x6b,0x00,0x00,0xcc,0x8d,0x00,0x00,0xc2,0x89,0x00,0x00,0xdb,0x75,0x6f,0x83, 0x00,0x00,0xcc,0x8d,0x01,0x4f,0x33,0x7a,0x00,0x00,0x4f,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x57, 0x00,0x00,0x0f,0x5f,0x00,0x00,0x38,0x5e,0x00,0x00,0x2f,0x66,0x00,0x00,0x6e,0x78,0x00,0x00,0x62,0x97, 0x00,0x00,0xc4,0x89,0x00,0x00,0x53,0x5f,0x00,0x00,0x7d,0x59,0x00,0x00,0x49,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x16,0x59,0x00,0x00,0x4d,0x52,0x00,0x00,0x21,0x6b,0x00,0x00,0xf6,0x65,0x00,0x00,0x0e,0x54, 0x00,0x00,0x8b,0x4e,0x00,0x00,0x3e,0x4e,0x00,0x00,0x48,0x68,0x00,0x00,0x7b,0x7c,0x00,0x00,0xf4,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x4f,0x00,0x00,0xa4,0x9a,0x00,0x00,0x65,0x51,0x00,0x00,0x4c,0x88, 0x00,0x00,0xaa,0x67,0x00,0x00,0x65,0x6b,0x00,0x00,0x4c,0x88,0x57,0x88,0x00,0x00,0x75,0x51,0x00,0x00, 0x03,0x8c,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x88,0x00,0x00,0x49,0x6c,0x00,0x00, 0x68,0x56,0x00,0x00,0x66,0x8b,0x00,0x00,0x49,0x6c,0x02,0x5e,0x00,0x00,0x9b,0x52,0x00,0x00,0x2f,0x67, 0x00,0x00,0xa2,0x94,0x00,0x00,0x0c,0x66,0x00,0x00,0x1d,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x89, 0x00,0x00,0x49,0x4e,0x00,0x00,0xc6,0x89,0x27,0x60,0x00,0x00,0x14,0x90,0x00,0x00,0xef,0x8d,0x00,0x00, 0xc1,0x89,0x00,0x00,0x02,0x5f,0x00,0x00,0x16,0x53,0x76,0x91,0x00,0x00,0xa1,0x7b,0x00,0x00,0x16,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf2,0x66,0x00,0x00,0x7c,0x69,0x00,0x00,0x6a,0x6b,0x00,0x00,0xce,0x98, 0x00,0x00,0x9c,0x65,0x00,0x00,0x6a,0x6b,0x6d,0x62,0x6d,0x62,0x00,0x00,0xe8,0x95,0xaa,0x90,0x53,0x90, 0x00,0x00,0x06,0x74,0x00,0x00,0x53,0x62,0x63,0x6b,0x40,0x77,0x00,0x00,0xce,0x98,0xaa,0x90,0x14,0x6c, 0x00,0x00,0x06,0x00,0x00,0x00,0x92,0x5f,0x00,0x00,0x0f,0x61,0x00,0x00,0xd2,0x6b,0x00,0x00,0xba,0x4e, 0x00,0x00,0xbf,0x52,0x00,0x00,0x38,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x4e,0x00,0x00,0x05,0x80, 0x00,0x00,0x11,0x52,0x00,0x00,0xbb,0x53,0x00,0x00,0xa1,0x4e,0x87,0x73,0x00,0x00,0xe0,0x56,0x00,0x00, 0xba,0x4e,0x00,0x00,0x24,0x4f,0x00,0x00,0x2a,0x73,0x00,0x00,0x13,0x7f,0x00,0x00,0x08,0x00,0x00,0x00, 0xfb,0x51,0x3a,0x67,0x00,0x00,0x6d,0x70,0x00,0x00,0x4c,0x65,0x00,0x00,0xfb,0x51,0x00,0x00,0x41,0x53, 0x00,0x00,0x6d,0x70,0x18,0x62,0x00,0x00,0x1f,0x66,0x30,0x82,0x00,0x00,0x59,0x65,0x03,0x4e,0x00,0x00, 0x03,0x00,0x00,0x00,0xca,0x53,0x00,0x00,0xca,0x53,0x60,0x6c,0x7c,0x9c,0x00,0x00,0xc6,0x89,0x00,0x00, 0x01,0x00,0x00,0x00,0x3d,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x80,0x00,0x00,0x53,0x90,0x00,0x00, 0xc5,0x60,0x00,0x00,0xbe,0x96,0x00,0x00,0xfd,0x56,0x00,0x00,0x6c,0x84,0x00,0x00,0xbe,0x96,0x05,0x80, 0x00,0x00,0x6c,0x84,0xc1,0x54,0x00,0x00,0x82,0x82,0x00,0x00,0x7b,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdc,0x80,0x00,0x00,0x0d,0x4e,0xe5,0x77,0x00,0x00,0x63,0x83,0x00,0x00,0x14,0x90,0x0c,0x54,0x52,0x5f, 0x00,0x00,0x7b,0x6b,0x00,0x00,0x3a,0x4e,0x00,0x00,0x99,0x59,0x00,0x00,0x02,0x5f,0x00,0x00,0xcb,0x52, 0x00,0x00,0xf4,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x75,0x00,0x00,0xbe,0x75,0xba,0x4e,0x00,0x00, 0x77,0x91,0x00,0x00,0xbe,0x75,0x00,0x00,0xcd,0x5f,0x00,0x00,0xb8,0x9a,0x00,0x00,0x59,0x4f,0x00,0x00, 0x59,0x75,0xcf,0x91,0x00,0x00,0x23,0x6e,0x00,0x00,0x54,0x80,0x00,0x00,0x05,0x00,0x00,0x00,0x7d,0x54, 0x00,0x00,0x3d,0x84,0x00,0x00,0x6d,0x70,0x00,0x00,0xab,0x8e,0x00,0x00,0xab,0x8e,0x0d,0x4e,0x64,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0x11,0x6c,0x00,0x00,0x11,0x6c,0x30,0x57,0x00,0x00,0x11,0x6c,0x3b,0x4e, 0x49,0x4e,0x00,0x00,0x11,0x6c,0x05,0x80,0x00,0x00,0x11,0x6c,0x16,0x53,0x00,0x00,0x11,0x6c,0x3b,0x4e, 0x49,0x4e,0x05,0x80,0x00,0x00,0x29,0x52,0x87,0x73,0x00,0x00,0x11,0x6c,0x30,0x57,0x16,0x53,0x00,0x00, 0x29,0x52,0x00,0x00,0x11,0x6c,0x43,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x9c,0x6b,0x00,0x00,0x09,0x00, 0x00,0x00,0xbe,0x7c,0xed,0x7a,0x51,0x86,0x00,0x00,0xc3,0x5f,0x00,0x00,0x1d,0x60,0xed,0x7a,0x51,0x86, 0x00,0x00,0xed,0x7a,0x00,0x00,0x9b,0x52,0x00,0x00,0xbe,0x7c,0x81,0x67,0x51,0x86,0x00,0x00,0x8b,0x6b, 0x00,0x00,0xf7,0x95,0x00,0x00,0x1d,0x60,0x81,0x67,0x51,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x9c,0x6b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x84,0x00,0x00,0xea,0x4e,0x86,0x99,0x00,0x00,0xea,0x4e,0x00,0x00, 0x6c,0x84,0x1a,0x4e,0x00,0x00,0x93,0x6b,0x00,0x00,0xea,0x4e,0x58,0x54,0x00,0x00,0x6c,0x84,0xe5,0x5d, 0x00,0x00,0x66,0x8f,0x00,0x00,0xe5,0x5d,0x00,0x00,0x5b,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0x53,0x62, 0x00,0x00,0x97,0x65,0x00,0x00,0x24,0x4f,0x00,0x00,0x53,0x62,0x6a,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x3d,0x84,0x00,0x00,0x7a,0x79,0x5e,0x74,0x00,0x00,0x4d,0x4f,0x00,0x00,0x3f,0x51, 0x00,0x00,0x89,0x73,0xc1,0x88,0x00,0x00,0x01,0x5c,0xb3,0x6c,0x00,0x00,0x7f,0x95,0x00,0x00,0x4d,0x4f, 0x36,0x52,0x00,0x00,0x28,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xe4,0x52,0x00,0x00,0x07,0x52,0x00,0x00, 0x9e,0x5b,0x00,0x00,0x46,0x55,0x00,0x00,0x9f,0x58,0x00,0x00,0xd0,0x67,0x00,0x00,0xb7,0x6b,0x00,0x00, 0xa2,0x7e,0x00,0x00,0xcd,0x91,0x00,0x00,0x74,0x92,0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x58,0x00,0x00, 0x0b,0x4e,0x00,0x00,0x9b,0x51,0x00,0x00,0x85,0x51,0x00,0x00,0x87,0x5b,0x00,0x00,0x0e,0x54,0x00,0x00, 0x4d,0x52,0x00,0x00,0x02,0x58,0xa7,0x7e,0x00,0x00,0xd5,0x8b,0x00,0x00,0x02,0x58,0x0f,0x5f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6d,0x70,0x00,0x00,0x4f,0x57,0x00,0x00,0x6d,0x70,0x27,0x60,0x00,0x00,0xb9,0x5b, 0x00,0x00,0x5f,0x63,0x00,0x00,0x24,0x8c,0x00,0x00,0x89,0x63,0x00,0x00,0xa6,0x7e,0x00,0x00,0x8e,0x4e, 0x00,0x4e,0xe6,0x65,0x00,0x00,0x09,0x4e,0xc2,0x89,0x00,0x00,0x07,0x00,0x00,0x00,0x9b,0x52,0x00,0x00, 0x36,0x71,0x00,0x00,0x36,0x71,0xb3,0x51,0x36,0x71,0x00,0x00,0x4f,0x65,0x00,0x00,0x1d,0x4e,0x00,0x00, 0x4c,0x88,0x00,0x00,0x0b,0x95,0x00,0x00,0x06,0x00,0x00,0x00,0xb8,0x5e,0x6e,0x7f,0x91,0x75,0x00,0x00, 0x81,0x5b,0x00,0x00,0xb8,0x5e,0xb3,0x8b,0x00,0x8a,0x00,0x00,0xb8,0x5e,0x00,0x00,0xd8,0x5f,0x00,0x00, 0xb8,0x5e,0x6e,0x7f,0x00,0x8a,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x4e,0x00,0x00,0x6c,0x51,0xf8,0x53, 0x00,0x00,0x73,0x4e,0x00,0x00,0x74,0x5a,0x00,0x00,0x50,0x5b,0x00,0x00,0x73,0x59,0x00,0x00,0x21,0x9e, 0x00,0x00,0x21,0x68,0x00,0x00,0x53,0x4f,0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59, 0x00,0x00,0x74,0x5e,0x00,0x00,0x2a,0x4e,0x00,0x00,0xe5,0x65,0x00,0x00,0x08,0x67,0x00,0x00,0xa1,0x80, 0x00,0x00,0x21,0x6b,0x00,0x00,0x68,0x54,0x00,0x00,0xba,0x4e,0x00,0x00,0x53,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc1,0x54,0x00,0x00,0x20,0x7d,0x00,0x00,0x27,0x60,0x00,0x00,0x6f,0x83,0x00,0x00,0x14,0x6c, 0x00,0x00,0x29,0x8d,0x00,0x00,0xb3,0x5b,0x00,0x00,0x69,0x72,0x00,0x00,0x38,0x97,0x00,0x00,0x24,0x76, 0x00,0x00,0x01,0x00,0x00,0x00,0x77,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0x83,0x8f,0x00,0x00,0x82,0x59, 0x00,0x00,0x8b,0x4f,0x00,0x00,0x5b,0x8d,0x00,0x00,0xcd,0x91,0x00,0x00,0x82,0x59,0xf4,0x8b,0x00,0x00, 0x79,0x72,0x01,0x5e,0x00,0x00,0x87,0x73,0x00,0x00,0x9a,0x4e,0xea,0x8f,0x00,0x00,0x29,0x52,0xf6,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0xdf,0x7a,0x00,0x00,0x1a,0x4e,0x1f,0x75,0x00,0x00, 0xa0,0x52,0x22,0x7d,0x00,0x00,0x1f,0x75,0x00,0x00,0x82,0x82,0x00,0x00,0x1a,0x4e,0xc1,0x8b,0x00,0x00, 0x1a,0x4e,0x63,0x5b,0x00,0x00,0x82,0x82,0x02,0x5e,0x00,0x00,0x1a,0x4e,0xed,0x73,0x00,0x00,0x09,0x00, 0x00,0x00,0xbb,0x90,0x00,0x00,0xde,0x8f,0x3a,0x53,0x00,0x00,0x19,0x66,0x00,0x00,0x3c,0x5c,0x00,0x00, 0xde,0x8f,0x00,0x00,0x62,0x53,0xfa,0x5b,0x00,0x00,0x7f,0x6e,0x74,0x59,0x00,0x00,0xb3,0x6c,0x00,0x00, 0x36,0x80,0x11,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0x7d,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52, 0x87,0x73,0x00,0x00,0xfd,0x6c,0x1c,0x4e,0x00,0x00,0x29,0x52,0x00,0x00,0xc5,0x75,0x00,0x00,0x54,0x5b, 0x00,0x00,0xfe,0x5d,0x00,0x00,0x3b,0x4e,0x2d,0x5e,0x00,0x00,0xd1,0x53,0x00,0x00,0x74,0x9a,0x00,0x00, 0x63,0x88,0x00,0x00,0x07,0x00,0x00,0x00,0x3d,0x5e,0x00,0x00,0x3f,0x62,0x00,0x00,0x50,0x5b,0x00,0x00, 0x74,0x97,0x00,0x00,0xda,0x68,0x00,0x00,0x55,0x5e,0x00,0x00,0x8d,0x88,0x00,0x00,0x0a,0x00,0x00,0x00, 0x73,0x7c,0x00,0x00,0xe0,0x65,0x00,0x00,0x4b,0x51,0x00,0x00,0x47,0x53,0x00,0x00,0xe0,0x65,0x91,0x75, 0xee,0x95,0x00,0x00,0x0d,0x4e,0x00,0x00,0x0d,0x4e,0xb9,0x72,0x6b,0x8c,0x00,0x00,0x0d,0x4e,0xa8,0x52, 0x47,0x64,0x00,0x00,0x0d,0x4e,0x59,0x75,0xc5,0x60,0x00,0x00,0xd1,0x53,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x03,0x74,0x00,0x00,0x01,0x00,0x00,0x00,0x07,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0xcf,0x65,0x00,0x00, 0x0a,0x00,0x00,0x00,0x17,0x4f,0x00,0x00,0xf4,0x95,0x00,0x00,0x66,0x8b,0x00,0x00,0x1f,0x75,0x00,0x00, 0x25,0x84,0x00,0x00,0xcf,0x65,0x00,0x00,0x3b,0x4e,0x00,0x00,0x3b,0x4e,0x5a,0x51,0x00,0x00,0x8b,0x4e, 0x00,0x00,0x2a,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x19,0x50,0x00,0x00,0x29,0x6e,0x00,0x00,0x61,0x8c, 0x00,0x00,0x1b,0x6c,0x00,0x00,0x61,0x8c,0xf0,0x53,0x00,0x00,0x53,0x4f,0x00,0x00,0x73,0x54,0x00,0x00, 0x28,0x8d,0x00,0x00,0x61,0x8c,0x40,0x5c,0x00,0x00,0x6f,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x6c, 0x00,0x00,0x01,0x00,0x00,0x00,0x38,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x6f,0x70, 0x00,0x00,0x01,0x00,0x00,0x00,0xf4,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x53,0x69,0x72,0x00,0x00, 0x16,0x53,0x00,0x00,0x29,0x52,0x02,0x66,0x00,0x00,0x16,0x53,0x22,0x6c,0x00,0x00,0x16,0x53,0xa0,0x94, 0x00,0x00,0xbb,0x79,0x50,0x5b,0x00,0x00,0xcc,0x54,0x78,0x91,0x00,0x00,0xa8,0x9a,0xc5,0x75,0x00,0x00, 0xcc,0x91,0x02,0x66,0x00,0x00,0xa8,0x9a,0xc7,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x6c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x16,0x53,0x00,0x00,0x27,0x6c,0x16,0x53,0xa0,0x94,0x00,0x00, 0x9f,0x53,0x50,0x5b,0x00,0x00,0x1f,0x6c,0x78,0x91,0x00,0x00,0x39,0x5f,0x00,0x00,0x27,0x6c,0x16,0x53, 0x00,0x00,0x30,0x6c,0x78,0x91,0x00,0x00,0xc3,0x71,0x99,0x65,0x00,0x00,0xbb,0x79,0x50,0x5b,0x00,0x00, 0x01,0x00,0x00,0x00,0x32,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x16,0x53,0x00,0x00,0x14,0x6c,0x00,0x00,0x16,0x53,0x69,0x72,0x00,0x00,0x16,0x53,0xdd,0x94,0x00,0x00, 0x16,0x53,0x76,0x91,0x00,0x00,0x16,0x53,0x42,0x52,0x00,0x00,0x14,0x6c,0xf6,0x74,0x00,0x00,0x16,0x53, 0x0c,0x95,0x00,0x00,0x16,0x53,0xc1,0x94,0x00,0x00,0x16,0x53,0x5d,0x95,0x00,0x00,0x0a,0x00,0x00,0x00, 0xfa,0x57,0x78,0x91,0x00,0x00,0xb6,0x7e,0x00,0x00,0x14,0x6c,0x00,0x00,0xfa,0x57,0x00,0x00,0x78,0x91, 0x00,0x00,0x34,0x6c,0x00,0x00,0xfa,0x57,0xd4,0x6b,0x97,0x67,0x00,0x00,0xfa,0x57,0x78,0x91,0xfb,0x7c, 0x00,0x00,0xfa,0x57,0x61,0x84,0x04,0x84,0xd6,0x7c,0x00,0x00,0xfa,0x57,0x5a,0x91,0x00,0x00,0x01,0x00, 0x00,0x00,0x14,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x66,0x00,0x00,0x09,0x00,0x00,0x00,0x27,0x6c, 0x16,0x53,0x69,0x72,0x00,0x00,0x14,0x6c,0x00,0x00,0xa5,0x80,0x00,0x00,0x32,0x75,0x70,0x91,0xfa,0x80, 0x00,0x00,0x27,0x6c,0x16,0x53,0x08,0x54,0x69,0x72,0x00,0x00,0xa5,0x80,0x82,0x53,0x00,0x00,0x20,0x7d, 0x00,0x00,0x16,0x53,0x08,0x54,0x69,0x72,0x00,0x00,0xa5,0x82,0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x14,0x6c,0x00,0x00,0x16,0x53,0xa0,0x94,0x00,0x00,0x16,0x53,0x00,0x00,0xb1,0x78,0x00,0x00,0xbb,0x79, 0x50,0x5b,0x00,0x00,0xef,0x82,0x00,0x00,0x09,0x97,0x20,0x7d,0x00,0x00,0x16,0x53,0xbe,0x94,0x00,0x00, 0xff,0x4e,0x00,0x00,0xfa,0x80,0x6e,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x53,0x69,0x72,0x00,0x00, 0x16,0x53,0x00,0x00,0x16,0x53,0xbe,0x94,0x00,0x00,0x16,0x53,0xa0,0x94,0x00,0x00,0xf7,0x82,0x00,0x00, 0x78,0x91,0x00,0x00,0xfa,0x57,0x00,0x00,0xfa,0x80,0x00,0x00,0xfa,0x57,0x19,0x4e,0xef,0x70,0x78,0x91, 0x6f,0x91,0x00,0x00,0x78,0x91,0xd0,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x5e,0x00,0x00,0x9c,0x67, 0x00,0x00,0xe5,0x6c,0x00,0x00,0x93,0x5e,0x00,0x00,0x06,0x52,0x00,0x00,0x28,0x8d,0x00,0x00,0x4d,0x4f, 0x00,0x00,0x62,0x97,0x00,0x00,0x35,0x75,0x00,0x00,0x29,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x8f, 0x00,0x00,0x45,0x4e,0x00,0x00,0x52,0x60,0x00,0x00,0x89,0x5b,0x00,0x00,0x45,0x4e,0x27,0x60,0x00,0x00, 0x0d,0x4e,0x00,0x00,0x1f,0x75,0x00,0x00,0xb7,0x5e,0x00,0x00,0x50,0x4e,0x00,0x00,0x0e,0x66,0x00,0x00, 0x01,0x00,0x00,0x00,0xd4,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xeb,0x70,0x00,0x00,0x64,0x6c,0x00,0x00, 0x01,0x00,0x00,0x00,0xe5,0x6e,0x00,0x00,0x08,0x00,0x00,0x00,0x1a,0x6e,0x00,0x00,0x5f,0x6c,0x00,0x00, 0xde,0x5d,0x00,0x00,0x32,0x6d,0x00,0x00,0x5d,0x4e,0x65,0x68,0x00,0x00,0xf2,0x66,0x00,0x00,0xb3,0x6c, 0x61,0x4e,0x00,0x00,0xbf,0x7e,0x00,0x00,0x03,0x00,0x00,0x00,0xb2,0x6d,0x00,0x00,0x34,0x6c,0x00,0x00, 0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xa9,0x52,0x00,0x00,0xc1,0x8b,0x00,0x00,0x4c,0x80,0x00,0x00, 0xe3,0x89,0x00,0x00,0x51,0x65,0x00,0x00,0x4c,0x80,0x05,0x80,0x00,0x00,0x1f,0x75,0x00,0x00,0x66,0x5b, 0x00,0x00,0x59,0x65,0x00,0x00,0x5a,0x5a,0x00,0x00,0x02,0x00,0x00,0x00,0xeb,0x70,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x87,0x73,0x00,0x00,0x30,0x4e,0x00,0x00,0xa5,0x62,0x00,0x00,0xfb,0x6d, 0xcc,0x5b,0x00,0x00,0xd1,0x91,0x00,0x00,0x3e,0x6b,0x00,0x00,0x3b,0x60,0x00,0x00,0x90,0x6e,0x00,0x00, 0x5a,0x80,0x00,0x00,0xc6,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x50,0x5b,0x00,0x00, 0x57,0x5b,0x00,0x00,0xcf,0x65,0x00,0x00,0x21,0x58,0x00,0x00,0xe3,0x53,0x00,0x00,0x8b,0x73,0x00,0x00, 0xad,0x5e,0x00,0x00,0xe3,0x4e,0x00,0x00,0x5f,0x6c,0x00,0x00,0x04,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00, 0xa7,0x6d,0x47,0x95,0x00,0x00,0xb3,0x6c,0x47,0x95,0x00,0x00,0x2f,0x6e,0x00,0x00,0x02,0x00,0x00,0x00, 0x62,0x6b,0x00,0x00,0x62,0x6b,0x02,0x5e,0x00,0x00,0x07,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59, 0x02,0x5e,0x00,0x00,0x3e,0x5c,0x00,0x00,0x3e,0x5c,0x02,0x5e,0x00,0x00,0x27,0x59,0x00,0x00,0x34,0x59, 0x27,0x59,0x66,0x5b,0x00,0x00,0x34,0x59,0x30,0x57,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c, 0x00,0x00,0xb2,0x6d,0x00,0x00,0x7a,0x81,0x00,0x00,0x9c,0x98,0x00,0x00,0xdb,0x6b,0x00,0x00,0x6c,0x9a, 0x9f,0x52,0xb3,0x52,0x00,0x00,0x41,0x6d,0x43,0x6d,0xcc,0x80,0x00,0x00,0xe0,0x73,0x00,0x00,0x0d,0x6e, 0x00,0x00,0x73,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0xd3,0x67,0x00,0x00,0xb1,0x8f,0x00,0x00,0x04,0x00, 0x00,0x00,0x1f,0x67,0x00,0x00,0xc5,0x60,0x00,0x00,0x50,0x96,0x00,0x00,0x4d,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x91,0x7a,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xde,0x5d,0x00,0x00,0xce,0x57,0xbf,0x53, 0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x57,0x53,0x00,0x00,0xf7,0x74,0x00,0x00,0x33,0x96,0xbf,0x53, 0x00,0x00,0x33,0x96,0x00,0x00,0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x82,0x00,0x00,0x7f,0x89, 0x00,0x00,0x57,0x53,0x00,0x00,0xcf,0x82,0x01,0x77,0x00,0x00,0x7f,0x89,0x01,0x77,0x00,0x00,0x56,0x6e, 0x00,0x00,0xee,0x6d,0x00,0x00,0x71,0x5c,0x00,0x00,0xb3,0x6c,0x00,0x00,0xe8,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x58,0x58,0x00,0x00,0x50,0x5b,0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00,0x85,0x51, 0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x95,0x5e,0x00,0x00,0xb9,0x8f,0x00,0x00,0x8b,0x88,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xd3,0x67,0x00,0x00,0x34,0x6c,0x00,0x00,0xd3,0x67,0x69,0x72, 0x00,0x00,0xd3,0x67,0x90,0x6e,0x00,0x00,0xe5,0x6c,0x00,0x00,0xa2,0x57,0x00,0x00,0xb9,0x70,0x00,0x00, 0x11,0x85,0x00,0x00,0x0d,0x6e,0x00,0x00,0xfd,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x59,0x00,0x00, 0x6e,0x66,0xee,0x68,0x00,0x00,0x06,0x57,0x00,0x00,0x19,0x53,0x00,0x00,0x41,0x6c,0x00,0x00,0xa0,0x52, 0x00,0x00,0x99,0x65,0x00,0x00,0x95,0x5e,0x00,0x00,0x05,0x95,0x00,0x00,0x05,0x53,0x00,0x00,0x06,0x00, 0x00,0x00,0x57,0x7f,0x00,0x00,0x57,0x7f,0x02,0x5e,0x00,0x00,0x57,0x7f,0x5f,0x6c,0x00,0x00,0x34,0x6c, 0x00,0x00,0x57,0x7f,0x1f,0x96,0x00,0x00,0x57,0x7f,0x47,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x69,0x6c, 0x00,0x00,0xa1,0x6c,0x00,0x00,0x69,0x6c,0xd9,0x6d,0xd9,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x6d, 0x00,0x00,0x6a,0x6c,0x00,0x00,0x1f,0x66,0xba,0x4e,0x00,0x00,0xbe,0x7c,0x6b,0x53,0x00,0x00,0x0b,0x6d, 0x27,0x59,0x77,0x6d,0x00,0x00,0x05,0x6e,0x00,0x00,0x05,0x6e,0xbf,0x53,0x00,0x00,0x53,0x90,0xb5,0x6d, 0x00,0x00,0x1c,0x4e,0xce,0x57,0x00,0x00,0x50,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x0d,0x6e,0x00,0x00, 0x31,0x5f,0x59,0x75,0x3a,0x5f,0x00,0x00,0xe7,0x65,0x62,0x63,0xb0,0x65,0x00,0x00,0xa3,0x52,0x00,0x00, 0x06,0x00,0x00,0x00,0xd6,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x72,0x6c,0x00,0x00,0x15,0x5f,0x00,0x00, 0xa2,0x51,0x47,0x95,0x00,0x00,0xb3,0x7e,0x00,0x00,0x05,0x00,0x00,0x00,0xac,0x4e,0x00,0x00,0x81,0x68, 0x00,0x00,0xb3,0x6c,0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00,0x09,0x00,0x00,0x00,0xdd,0x5d, 0x00,0x00,0xdd,0x5d,0xbf,0x53,0x00,0x00,0xb1,0x83,0x00,0x00,0x34,0x6c,0xef,0x8d,0x00,0x00,0x0a,0x4e, 0xbf,0x53,0x00,0x00,0x0a,0x4e,0x00,0x00,0xdd,0x5d,0x27,0x59,0x30,0x57,0x07,0x97,0x00,0x00,0xdd,0x5d, 0x30,0x57,0x07,0x97,0x00,0x00,0x33,0x96,0x47,0x95,0x00,0x00,0x04,0x00,0x00,0x00,0x8c,0x6d,0x00,0x00, 0x79,0x6c,0x00,0x00,0x8c,0x6d,0x8e,0x6f,0x43,0x6e,0x00,0x00,0x67,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x66,0x8f,0x00,0x00,0xb9,0x6c,0x00,0x00,0xf4,0x67,0xb9,0x6c,0x00,0x00,0x66,0x8f,0xd9,0x7a,0x00,0x00, 0x66,0x8f,0x1a,0x4e,0x00,0x00,0x34,0x6c,0x00,0x00,0x66,0x8f,0xa1,0x80,0x00,0x00,0x4d,0x91,0x00,0x00, 0x66,0x8f,0xce,0x57,0x00,0x00,0xee,0x4f,0x82,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x91,0x00,0x00, 0xb3,0x6c,0x00,0x00,0x33,0x96,0x00,0x00,0x7f,0x89,0x00,0x00,0x7f,0x89,0xbf,0x53,0x00,0x00,0x33,0x96, 0x02,0x5e,0x00,0x00,0x34,0x6c,0x00,0x00,0x33,0x96,0xef,0x8d,0x00,0x00,0x5f,0x6c,0xb3,0x6c,0x00,0x00, 0xb3,0x6c,0x7e,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x6c,0x00,0x00,0xed,0x56,0x00,0x00,0xba,0x4e, 0xc3,0x5f,0x3e,0x81,0x00,0x00,0xed,0x56,0x25,0x66,0x00,0x00,0x34,0x6c,0x00,0x00,0x33,0x96,0x00,0x00, 0x33,0x96,0x02,0x5e,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x72,0x82,0x00,0x00,0x65,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0x99,0x84,0x00,0x00,0x34,0x6c,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x57,0x53, 0xbf,0x53,0x00,0x00,0x57,0x53,0x00,0x00,0x90,0x6e,0x00,0x00,0x1f,0x66,0x00,0x00,0x90,0x6e,0xbf,0x53, 0x00,0x00,0x99,0x84,0x71,0x5c,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x5c,0x9b,0x73, 0x00,0x00,0x14,0x5c,0x00,0x00,0x14,0x5c,0x83,0x6c,0x00,0x00,0x26,0x4f,0x00,0x00,0xbe,0x8f,0x30,0x4e, 0x00,0x00,0x14,0x5c,0x79,0x72,0x00,0x00,0x1f,0x57,0x00,0x00,0x7f,0x98,0x00,0x00,0x14,0x5c,0x2b,0x59, 0x88,0x51,0x00,0x00,0x61,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x75,0x96,0x00,0x00, 0x75,0x96,0xbf,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x5f,0x6c,0x02,0x5e,0x00,0x00,0xd4,0x53,0x00,0x00, 0x5f,0x6c,0x5d,0x4e,0x8b,0x80,0x00,0x00,0x02,0x00,0x00,0x00,0x23,0x70,0x00,0x4e,0x14,0x6c,0x00,0x00, 0x23,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xd0,0x67, 0x00,0x00,0xce,0x4e,0x87,0x65,0x00,0x00,0xde,0x98,0x00,0x00,0xce,0x57,0x00,0x00,0xb6,0x5b,0x00,0x00, 0xb3,0x6c,0x3a,0x53,0x00,0x00,0x18,0x4e,0xbf,0x53,0x00,0x00,0x17,0x53,0xb0,0x65,0x3a,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0xd8,0x9e,0x00,0x00,0xcd,0x91,0x00,0x00,0xc0,0x6d,0x00,0x00,0xa1,0x6c,0x00,0x00, 0xf7,0x8f,0x00,0x00,0x99,0x99,0x00,0x00,0xc2,0x5b,0x00,0x00,0xef,0x79,0x00,0x00,0x78,0x6d,0x00,0x00, 0x4d,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x83,0x00,0x00, 0x0a,0x00,0x00,0x00,0x74,0x6d,0x00,0x00,0x74,0x6d,0x32,0x97,0x00,0x00,0xea,0x96,0x00,0x00,0x74,0x6d, 0xb2,0x6d,0x00,0x00,0x74,0x6d,0x73,0x4e,0x00,0x00,0xb3,0x8d,0x00,0x00,0x4e,0x53,0x00,0x00,0xdd,0x5d, 0xbf,0x53,0x00,0x00,0x74,0x6d,0x28,0x75,0xc1,0x54,0x00,0x00,0x69,0x60,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x53, 0x00,0x00,0x79,0x72,0x00,0x00,0x20,0x6f,0x00,0x00,0x99,0x9f,0x00,0x00,0xe9,0x6e,0x00,0x00,0x79,0x72, 0x3f,0x96,0xc9,0x62,0x2f,0x4f,0x00,0x00,0xc9,0x62,0x00,0x00,0xa2,0x94,0x00,0x00,0x50,0x5b,0x00,0x00, 0x18,0x5c,0xb4,0x66,0x00,0x00,0x05,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x6c,0x51,0x00,0x00,0xb3,0x7e, 0x77,0x6d,0x00,0x00,0xbf,0x53,0xba,0x4e,0x00,0x00,0x9b,0x6c,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1a,0x90,0x00,0x00,0x20,0x6e,0x00,0x00,0xd1,0x58,0x00,0x00,0x1a,0x90,0x1a,0x4f,0x00,0x00,0xfd,0x69, 0x00,0x00,0x37,0x8c,0x00,0x00,0x53,0x90,0x00,0x00,0x1a,0x90,0xe8,0x90,0x00,0x00,0x1a,0x90,0x08,0x5e, 0x00,0x00,0x1a,0x90,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0xc0,0x4e,0x48,0x4e, 0x00,0x00,0xd5,0x6c,0x00,0x00,0x8b,0x4e,0x00,0x00,0x36,0x65,0x00,0x00,0x28,0x75,0x00,0x00,0x73,0x51, 0xfb,0x7c,0x00,0x00,0x0f,0x61,0x1d,0x60,0x00,0x00,0x3d,0x84,0x00,0x00,0xc6,0x51,0x00,0x00,0x03,0x00, 0x00,0x00,0x1c,0x4e,0x00,0x00,0xb3,0x6c,0x00,0x00,0x34,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0xa5,0x80, 0x00,0x00,0xfc,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x97,0x00,0x00,0x72,0x5e,0x00,0x00,0x34,0x6c, 0x00,0x00,0xd8,0x6e,0x00,0x00,0x52,0x97,0x82,0x53,0x00,0x00,0x52,0x97,0xef,0x8d,0x00,0x00,0xa5,0x6c, 0x00,0x00,0xd8,0x6e,0x51,0x67,0x00,0x00,0x52,0x97,0xc0,0x94,0xff,0x77,0x00,0x00,0x9d,0x6d,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x3d,0x84,0x00,0x00,0x77,0x96,0x00,0x00,0x27,0x4e,0x00,0x00, 0x77,0x96,0x3a,0x53,0x00,0x00,0xa1,0x4e,0x00,0x00,0xa1,0x6c,0x00,0x00,0x8c,0x80,0x43,0x6d,0xd3,0x9a, 0x00,0x00,0x43,0x6d,0x00,0x00,0xa1,0x6c,0x27,0x4e,0xa1,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d, 0x00,0x00,0x51,0x68,0x00,0x00,0x77,0x6d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x77,0x6d,0x00,0x4e, 0x9f,0x7c,0x00,0x00,0xbf,0x53,0x00,0x00,0x77,0x6d,0x51,0x68,0x30,0x75,0x00,0x00,0x6a,0x6d,0x00,0x00, 0x51,0x68,0x1f,0x61,0x00,0x00,0x90,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x07,0x63,0x00,0x00,0x02,0x5e,0x00,0x00,0xfc,0x7e,0x07,0x63,0x00,0x00,0xf6,0x80,0x00,0x00, 0x4c,0x72,0x00,0x00,0x5f,0x6c,0x00,0x00,0x81,0x5b,0x00,0x00,0xd1,0x91,0x00,0x00,0xed,0x8b,0x00,0x00, 0x49,0x6c,0xc9,0x84,0x00,0x00,0x02,0x00,0x00,0x00,0xab,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00, 0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x27,0x4e,0x00,0x00, 0x07,0x00,0x00,0x00,0x4c,0x72,0x00,0x00,0x5f,0x6c,0x00,0x00,0xb1,0x6c,0x00,0x00,0xb1,0x6c,0xb3,0x6c, 0x00,0x00,0x36,0x83,0x00,0x00,0x62,0x70,0x00,0x00,0x4c,0x72,0x6f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0x57,0x53,0x00,0x00,0x17,0x53,0x00,0x00,0x57,0x53,0x01,0x77,0x00,0x00,0x17,0x53,0x01,0x77,0x00,0x00, 0x41,0x6d,0x00,0x00,0x53,0x90,0x00,0x00,0x34,0x6c,0x00,0x00,0x37,0x8c,0x00,0x00,0xb9,0x8f,0x00,0x00, 0xb5,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0xe4,0x8f,0x00,0x00,0x09,0x00,0x00,0x00,0x7e,0x81,0x00,0x00, 0xb8,0x6c,0x6c,0x62,0x6c,0x62,0x00,0x00,0x34,0x6c,0x00,0x00,0xb9,0x70,0x00,0x00,0xf3,0x77,0x00,0x00, 0x34,0x6c,0x06,0x58,0x00,0x00,0xcd,0x53,0xc8,0x76,0x29,0x59,0x00,0x00,0x7e,0x81,0x89,0x70,0x00,0x00, 0xc9,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x4e,0x00,0x00,0x14,0x6c,0x00,0x00,0x02,0x81,0x00,0x00, 0x30,0x75,0x00,0x00,0xc1,0x54,0x00,0x00,0x3b,0x75,0x00,0x00,0x7b,0x81,0x00,0x00,0x61,0x67,0x00,0x00, 0xdc,0x83,0x00,0x00,0x17,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x75,0x00,0x00,0x06,0x74,0x00,0x00, 0x89,0x5b,0x00,0x00,0xc5,0x75,0x00,0x00,0x08,0x61,0x00,0x00,0xfd,0x56,0x00,0x00,0x2c,0x67,0x00,0x00, 0x61,0x6c,0x00,0x00,0x97,0x75,0x08,0x5e,0x00,0x00,0x34,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x6c, 0x00,0x00,0xfd,0x6c,0x00,0x00,0x14,0x6c,0x60,0x6c,0x00,0x00,0xb2,0x6d,0x00,0x00,0xfd,0x6c,0x30,0x57, 0x00,0x00,0x23,0x6e,0x00,0x00,0xfd,0x6c,0x30,0x57,0x26,0x5e,0x00,0x00,0x30,0x57,0x00,0x00,0xf8,0x72, 0x00,0x00,0xb2,0x6d,0xf6,0x53,0xb7,0x55,0x00,0x00,0x0a,0x00,0x00,0x00,0x7a,0x7a,0x00,0x00,0x2e,0x55, 0x00,0x00,0x8b,0x53,0x00,0x00,0xfa,0x51,0x00,0x00,0x27,0x8d,0x00,0x00,0x0d,0x54,0x93,0x94,0x89,0x8a, 0x00,0x00,0x7a,0x7a,0x9d,0x98,0x00,0x00,0xd8,0x76,0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0x05,0x6e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x6e,0x00,0x00,0xd3,0x67,0x00,0x00,0xb9,0x8f,0x00,0x00,0xbe,0x6c, 0xea,0x81,0x9c,0x55,0x00,0x00,0x34,0x6c,0x00,0x00,0x49,0x51,0x00,0x00,0x71,0x91,0x00,0x00,0x16,0x53, 0x00,0x00,0xd6,0x53,0x00,0x00,0xb2,0x4e,0x26,0x5e,0x45,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x6d, 0x00,0x00,0x40,0x77,0x00,0x00,0xbf,0x7e,0x00,0x00,0xb8,0x5c,0x00,0x00,0x14,0x90,0x00,0x00,0x28,0x75, 0x00,0x00,0xad,0x88,0x00,0x00,0xb3,0x6c,0x00,0x00,0x69,0x97,0x00,0x00,0x5f,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0f,0x6f,0x00,0x00,0x32,0x97,0x00,0x00,0xc6,0x5b,0x00,0x00,0x2a,0x6d,0x00,0x00,0x24,0x61, 0x00,0x00,0xc6,0x5b,0x05,0x80,0x00,0x00,0x98,0x98,0x00,0x00,0x14,0x6c,0x00,0x00,0xfb,0x6c,0x00,0x00, 0x0f,0x6f,0xb9,0x70,0x00,0x00,0x02,0x00,0x00,0x00,0x21,0x6e,0x00,0x00,0x38,0x6e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xce,0x57,0x00,0x00, 0x90,0x6e,0x00,0x00,0x3c,0x77,0x00,0x00,0xce,0x57,0xef,0x8d,0x00,0x00,0xde,0x5d,0x2f,0x6e,0x00,0x00, 0xc9,0x6c,0x00,0x00,0x2f,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0x34,0x59,0x00,0x00, 0x66,0x8f,0x00,0x00,0x34,0x59,0x02,0x5e,0x00,0x00,0x7e,0x67,0x00,0x00,0x6b,0x70,0x00,0x00,0x7e,0x67, 0x06,0x52,0x03,0x5e,0x00,0x00,0x30,0x57,0x00,0x00,0x3a,0x67,0x4d,0x4f,0x00,0x00,0x85,0x5b,0x16,0x7f, 0x00,0x00,0x09,0x00,0x00,0x00,0x3f,0x5c,0x00,0x00,0x73,0x4e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00, 0x3f,0x5c,0xfb,0x7c,0x00,0x00,0x33,0x96,0x00,0x00,0x3f,0x5c,0x66,0x5b,0x00,0x00,0x73,0x4e,0x1f,0x67, 0x00,0x00,0x3f,0x5c,0x68,0x56,0x00,0x00,0x3f,0x5c,0xfb,0x7c,0xdf,0x7e,0x00,0x00,0x03,0x00,0x00,0x00, 0xdb,0x76,0x00,0x00,0x56,0x6e,0x00,0x00,0x9d,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0x34,0x6c,0x00,0x00, 0x34,0x6c,0xb9,0x6c,0x00,0x00,0x34,0x6c,0x76,0x68,0x00,0x00,0x1a,0x81,0x00,0x00,0x34,0x6c,0x38,0x7f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x5f,0x00,0x00,0x62,0x96,0x00,0x00,0xfd,0x56,0x00,0x00,0xc4,0x89, 0x00,0x00,0xad,0x5e,0x00,0x00,0x98,0x5b,0x00,0x00,0x48,0x68,0x00,0x00,0x9a,0x5b,0x00,0x00,0xba,0x4e, 0x00,0x00,0x36,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x2a,0x6d, 0xbf,0x53,0x00,0x00,0x2a,0x6d,0x00,0x00,0xfe,0x6c,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0xbf,0x53, 0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x32,0x6d,0x00,0x00,0xde,0x5d,0x0f,0x62,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe5,0x6e,0x00,0x00,0x6b,0x94,0x00,0x00,0x77,0x6d,0x00,0x00,0x07,0x63,0x00,0x00,0x77,0x8d, 0x00,0x00,0x9a,0x4e,0x00,0x00,0xdb,0x6c,0x00,0x00,0xe5,0x6e,0x10,0x62,0x7e,0x70,0x00,0x00,0x1f,0x82, 0x00,0x00,0x4e,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x90,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0xe0,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0xab,0x6c,0x00,0x00,0xe1,0x6c,0x00,0x00,0x1a,0x81,0x00,0x00,0x62,0x97, 0x00,0x00,0xdc,0x83,0x00,0x00,0x36,0x83,0x00,0x00,0x34,0x6c,0x00,0x00,0x29,0x6e,0xc9,0x6c,0x00,0x00, 0x71,0x5f,0x00,0x00,0xab,0x6c,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0xf3,0x97, 0x00,0x00,0x70,0x51,0x00,0x00,0xeb,0x58,0x7f,0x98,0x00,0x00,0xca,0x53,0x00,0x00,0xb5,0x6b,0x00,0x00, 0x45,0x5e,0x00,0x00,0xa8,0x52,0x27,0x60,0x00,0x00,0x57,0x7f,0x1c,0x87,0x00,0x00,0x9c,0x6f,0x00,0x00, 0x05,0x00,0x00,0x00,0x0d,0x4e,0x10,0x62,0xf0,0x58,0x00,0x00,0x40,0x88,0x00,0x00,0x3c,0x9b,0x5e,0x79, 0x00,0x00,0xc9,0x8b,0x00,0x00,0x0f,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x77,0x41,0x6d,0x00,0x00, 0x1f,0x57,0x00,0x00,0x6d,0x6f,0x00,0x00,0xc5,0x9c,0x00,0x00,0x99,0x6c,0x00,0x00,0x46,0x6d,0x00,0x00, 0xf4,0x5d,0x00,0x00,0xde,0x6c,0x00,0x00,0xbc,0x6c,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0f,0x61,0x00,0x00,0x8c,0x51,0x00,0x00,0xcd,0x91,0x00,0x00,0x00,0x95,0x00,0x00,0x65,0x51,0x00,0x00, 0x0e,0x66,0x00,0x00,0x04,0x5c,0x00,0x00,0x0f,0x61,0x9b,0x52,0x00,0x00,0x9a,0x5b,0x00,0x00,0x44,0x8d, 0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x41,0x6d,0xe1,0x6e,0x62,0x97,0x00,0x00,0x54,0x59, 0x00,0x00,0xb2,0x6d,0x00,0x00,0xb1,0x82,0x00,0x00,0xd5,0x75,0x00,0x00,0x49,0x51,0x00,0x00,0x3c,0x77, 0x00,0x00,0x7a,0x81,0x00,0x00,0xe0,0x73,0x00,0x00,0x02,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0xc5,0x96, 0x00,0x00,0x03,0x00,0x00,0x00,0x58,0x58,0x00,0x00,0xaa,0x6e,0x00,0x00,0xab,0x5b,0x00,0x00,0x02,0x00, 0x00,0x00,0x6d,0x70,0x00,0x00,0xa1,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00,0xbe,0x8f, 0x00,0x00,0x71,0x5c,0x00,0x00,0xb7,0x5e,0x00,0x00,0xd2,0x52,0x00,0x00,0x64,0x66,0xeb,0x58,0xa5,0x62, 0x00,0x00,0xe1,0x4f,0x00,0x00,0xcc,0x5b,0x00,0x00,0x66,0x57,0x3c,0x5c,0x4b,0x51,0xf7,0x53,0x00,0x00, 0x89,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xf1,0x6c,0x00,0x00,0xf1,0x6c,0x27,0x59,0xfd,0x56,0x00,0x00, 0x0a,0x00,0x00,0x00,0x60,0x6c,0x00,0x00,0xc5,0x88,0x00,0x00,0x63,0x88,0x00,0x00,0xe4,0x88,0x00,0x00, 0xa2,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0xff,0x59,0x00,0x00,0x5c,0x95,0x00,0x00,0x54,0x80,0x00,0x00, 0x5b,0x57,0x00,0x00,0x08,0x00,0x00,0x00,0xd9,0x7a,0x00,0x00,0x66,0x8f,0x00,0x00,0x1a,0x4e,0x00,0x00, 0x3f,0x62,0x00,0x00,0x01,0x90,0x00,0x00,0x00,0x96,0x00,0x00,0xc4,0x67,0x00,0x00,0x6f,0x70,0x00,0x00, 0x05,0x00,0x00,0x00,0xfd,0x6c,0x00,0x00,0xfd,0x6c,0x1d,0x84,0xc9,0x62,0x00,0x00,0xdd,0x5d,0x00,0x00, 0x34,0x6c,0x00,0x00,0x39,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e, 0x00,0x00,0xbd,0x6c,0x56,0x6e,0x00,0x00,0xbf,0x53,0x00,0x00,0x7f,0x89,0xbf,0x53,0x00,0x00,0x7f,0x89, 0x00,0x00,0x29,0x59,0x16,0x53,0x00,0x00,0x9a,0x5b,0x00,0x00,0x9a,0x5b,0x65,0x68,0x00,0x00,0xaa,0x6e, 0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x90,0x6e,0x00,0x00,0x06,0x00,0x00,0x00,0x6f,0x83,0x00,0x00, 0x56,0x6e,0x00,0x00,0xd0,0x76,0x00,0x00,0x9a,0x80,0x00,0x00,0x9a,0x80,0x50,0x5b,0x00,0x00,0xe0,0x73, 0x85,0x6e,0x89,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x51,0x34,0x6c,0x00,0x00,0xa8,0x58,0x00,0x00, 0x34,0x6c,0x82,0x82,0x00,0x00,0xa3,0x8f,0x00,0x00,0x87,0x59,0x00,0x00,0x6b,0x78,0x78,0x91,0x00,0x00, 0x12,0x6d,0x00,0x00,0x69,0x5f,0x00,0x00,0xaa,0x7c,0x00,0x00,0xae,0x76,0x00,0x00,0x0a,0x00,0x00,0x00, 0x11,0x6c,0x00,0x00,0xfd,0x56,0x00,0x00,0x97,0x67,0x00,0x00,0xfc,0x66,0x00,0x00,0x7f,0x89,0x9b,0x5c, 0x00,0x00,0x54,0x58,0xaf,0x65,0x00,0x00,0x53,0x5f,0x00,0x00,0x99,0x71,0xfb,0x7c,0x00,0x00,0x3c,0x5c, 0x79,0x72,0x00,0x00,0xde,0x5d,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x6e,0x06,0x52,0x0e,0x66, 0x00,0x00,0xbf,0x53,0x00,0x00,0xb3,0x6c,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0xdd,0x5d,0xbf,0x53, 0x00,0x00,0x2d,0x6e,0x00,0x00,0x33,0x96,0x00,0x00,0x90,0x6e,0x00,0x00,0xdd,0x5d,0x00,0x00,0x90,0x6e, 0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0xc0,0x51,0x00,0x00,0x56,0x76,0x00,0x00, 0x7d,0x76,0x00,0x00,0x62,0x97,0x73,0x4e,0x00,0x00,0x77,0x51,0x00,0x00,0xa4,0x80,0x00,0x00,0xab,0x8e, 0xea,0x81,0x7d,0x59,0x00,0x00,0xab,0x8e,0x00,0x00,0xfd,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0x38,0x6e, 0x00,0x00,0x34,0x6c,0x00,0x00,0x34,0x6c,0xb5,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0x7f,0x6e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x71,0x84,0x00,0x00,0xb3,0x6c,0x00,0x00,0x52,0x91,0x00,0x00,0xa2,0x6e,0x00,0x00, 0x3f,0x62,0x00,0x00,0x62,0x97,0x00,0x00,0xeb,0x5f,0x10,0x99,0x00,0x00,0x0b,0x6d,0x00,0x00,0x14,0x6c, 0x00,0x00,0xba,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0xb6,0x5b,0x00,0x00,0xb6,0x5b, 0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x81,0x00,0x00,0x3d,0x84,0x00,0x00,0x34,0x6c,0x66,0x8f, 0x00,0x00,0xb6,0x5b,0x00,0x00,0x12,0x6d,0x00,0x00,0xed,0x70,0x40,0x88,0x00,0x00,0xea,0x6c,0x00,0x00, 0x6b,0x62,0x00,0x00,0xe1,0x6e,0x00,0x00,0xa2,0x7e,0x82,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x6f, 0x00,0x00,0x63,0x88,0x3a,0x67,0x00,0x00,0x4c,0x72,0x00,0x00,0xb1,0x94,0x00,0x00,0x4b,0x62,0x00,0x00, 0xd1,0x53,0x34,0x6c,0x00,0x00,0x8c,0x5b,0x00,0x00,0xa4,0x6d,0x00,0x00,0x62,0x97,0x76,0x59,0x00,0x00, 0x4b,0x62,0xf4,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x67,0xf6,0x77,0x00,0x00,0x33,0x96,0x00,0x00, 0x4b,0x51,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x4b,0x51,0x0c,0x5e,0xb7,0x5f,0x00,0x00,0x4b,0x51, 0xf2,0x83,0xd2,0x52,0x00,0x00,0x51,0x68,0x00,0x00,0x4b,0x51,0xc8,0x54,0x79,0x72,0x00,0x00,0x49,0x67, 0xf6,0x77,0x02,0x5e,0x00,0x00,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xad,0x5e,0x56,0x6e,0x00,0x00, 0xdf,0x5b,0x00,0x00,0x74,0x7a,0x00,0x00,0xe3,0x53,0x00,0x00,0xdf,0x5b,0x9b,0x52,0x00,0x00,0x89,0x60, 0x00,0x00,0xc1,0x89,0x00,0x00,0x9f,0x7a,0x00,0x00,0x1e,0x6d,0x00,0x00,0xad,0x5e,0x00,0x00,0x02,0x00, 0x00,0x00,0x34,0x6c,0x00,0x00,0x5f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x8d,0x00,0x00,0xf4,0x5d, 0x03,0x5e,0xe6,0x97,0x00,0x00,0x25,0x6d,0x50,0x4e,0x53,0x90,0x00,0x00,0xb2,0x6d,0x00,0x00,0x25,0x6d, 0x00,0x00,0x25,0x6d,0x09,0x67,0x73,0x54,0x00,0x00,0x66,0x57,0x00,0x00,0x09,0x54,0xf4,0x5d,0x14,0x5c, 0x02,0x5e,0x00,0x00,0x02,0x5e,0x00,0x00,0xe8,0x95,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c,0x00,0x00, 0xdd,0x5d,0x00,0x00,0x01,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0x03,0x00,0x00,0x00,0x0f,0x6f,0x00,0x00, 0x32,0x97,0x00,0x00,0xc6,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x7e,0x70,0x00,0x00, 0xfd,0x90,0xc9,0x62,0xaf,0x65,0x00,0x00,0xf0,0x5c,0x00,0x00,0x9d,0x6d,0x00,0x00,0x41,0x6d,0x00,0x00, 0xae,0x4e,0x00,0x00,0x56,0x6e,0x00,0x00,0xee,0x68,0x00,0x00,0x66,0x6b,0x00,0x00,0x04,0x00,0x00,0x00, 0x57,0x53,0x00,0x00,0x57,0x53,0x02,0x5e,0x00,0x00,0x17,0x53,0x3a,0x53,0x00,0x00,0x17,0x53,0x00,0x00, 0x04,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0x90,0x6e,0x00,0x00,0x36,0x83, 0x00,0x00,0x09,0x00,0x00,0x00,0x45,0x96,0x00,0x00,0x45,0x96,0xfc,0x5b,0x39,0x5f,0x00,0x00,0x9b,0x5c, 0x00,0x00,0x47,0x95,0x00,0x00,0x24,0x58,0x00,0x00,0x45,0x96,0x27,0x60,0x00,0x00,0x4c,0x75,0x00,0x00, 0x9c,0x5e,0x00,0x00,0x45,0x96,0x39,0x5f,0x53,0x90,0xfc,0x5b,0x39,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa8,0x52,0x00,0x00,0xc3,0x8d,0x00,0x00,0x9b,0x52,0x00,0x00,0x27,0x60,0x00,0x00,0x1f,0x67,0x00,0x00, 0xfc,0x6c,0x00,0x00,0xc3,0x8d,0xa6,0x5e,0x00,0x00,0x3f,0x51,0x00,0x00,0xbd,0x79,0x00,0x00,0x5b,0x4f, 0x00,0x00,0x04,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0xcc,0x91,0x61,0x4e,0x00,0x00,0x77,0x96,0x00,0x00, 0x30,0x75,0x00,0x00,0x08,0x00,0x00,0x00,0x08,0x8c,0x00,0x00,0x08,0x8c,0x1a,0x4f,0x00,0x00,0x3d,0x6d, 0x00,0x00,0x2d,0x8d,0x00,0x00,0x46,0x55,0x00,0x00,0x2e,0x55,0x00,0x00,0xe2,0x8b,0x00,0x00,0x9e,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x40,0x62,0x00,0x00,0xfa,0x51,0x00,0x00,0x63,0x90,0x00,0x00, 0xf9,0x5b,0x00,0x00,0x7b,0x9a,0x00,0x00,0x6f,0x60,0x00,0x00,0x2b,0x52,0x00,0x00,0x01,0x90,0x00,0x00, 0xfb,0x7c,0x00,0x00,0xb0,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52,0x27,0x60,0x00,0x00,0x1a,0x90, 0x00,0x00,0x65,0x51,0x00,0x00,0xcf,0x91,0x00,0x00,0xa8,0x52,0x00,0x00,0x0b,0x7a,0x00,0x00,0x4c,0x88, 0x00,0x00,0x1f,0x61,0x00,0x00,0xfa,0x51,0x00,0x00,0x31,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x82, 0x00,0x00,0x84,0x85,0x00,0x00,0x3e,0x66,0x00,0x00,0xe9,0x6e,0x00,0x00,0x45,0x6d,0x84,0x76,0x00,0x00, 0x45,0x6d,0x00,0x00,0x49,0x83,0x00,0x00,0x34,0x6c,0x00,0x00,0xdd,0x84,0x72,0x82,0x00,0x00,0x1d,0x5c, 0x84,0x8f,0x62,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x7c,0x00,0x00,0x9c,0x67,0x00,0x00,0xb8,0x7e, 0x00,0x00,0xd9,0x7a,0x00,0x00,0x95,0x7c,0x00,0x00,0xb2,0x6d,0x00,0x00,0xf7,0x4e,0x00,0x00,0x17,0x6d, 0x00,0x00,0x41,0x6c,0x00,0x00,0x9c,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x4c,0x70, 0x00,0x00,0x51,0x7b,0x00,0x00,0xf8,0x94,0x00,0x00,0xe8,0x6c,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x4e, 0x00,0x00,0xb7,0x51,0x34,0x6c,0x00,0x00,0x12,0x6d,0x00,0x00,0x30,0x57,0x00,0x00,0x02,0x00,0x00,0x00, 0x5f,0x6c,0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0xb3,0x6c,0x3a,0x53,0x00,0x00, 0xb3,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x33,0x6f,0xb3,0x6c,0x00,0x00,0xa6,0x5e, 0x00,0x00,0xf3,0x97,0x00,0x00,0x34,0x6c,0x00,0x00,0x16,0x4e,0x00,0x00,0x41,0x6d,0x00,0x00,0x52,0x91, 0x00,0x00,0x34,0x6c,0xaa,0x6e,0x00,0x00,0xef,0x79,0xa9,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x8b, 0x00,0x00,0x97,0x7b,0x00,0x00,0xcf,0x91,0x00,0x00,0x9a,0x5b,0x00,0x00,0xc4,0x8b,0x00,0x00,0xd8,0x7e, 0x00,0x00,0x8c,0x9a,0x00,0x00,0xfa,0x51,0x00,0x00,0xd5,0x8b,0x48,0x72,0x00,0x00,0xa7,0x63,0x00,0x00, 0x02,0x00,0x00,0x00,0x57,0x53,0x00,0x00,0xf2,0x53,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x53, 0x00,0x00,0x57,0x53,0x02,0x5e,0x00,0x00,0x81,0x5b,0x00,0x00,0xde,0x5d,0x9b,0x5c,0x00,0x00,0xde,0x5d, 0x00,0x00,0x90,0x6e,0x00,0x00,0x81,0x5b,0x02,0x5e,0x00,0x00,0x6c,0x51,0x00,0x00,0x90,0x6e,0x02,0x5e, 0x00,0x00,0xf0,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x89,0x68,0x56,0x00,0x00,0xc8,0x89,0x00,0x00, 0xc8,0x89,0xcf,0x91,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x33,0x96,0xb3,0x6c, 0x00,0x00,0xc8,0x89,0x05,0x80,0x00,0x00,0x33,0x96,0xba,0x4e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00, 0xb3,0x6c,0x47,0x95,0x00,0x00,0x02,0x00,0x00,0x00,0x5e,0x70,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0xab,0x8e,0x00,0x00,0x4a,0x6d,0x00,0x00,0x34,0x6c,0x78,0x64,0x7c,0x9c,0x00,0x00,0x9a,0x53, 0x00,0x00,0x57,0x53,0x00,0x00,0x51,0x6d,0x69,0x56,0x69,0x56,0x00,0x00,0x06,0x57,0x00,0x00,0x36,0x71, 0x0d,0x4e,0xe5,0x77,0x00,0x00,0x36,0x71,0x00,0x4e,0x53,0x4f,0x00,0x00,0x36,0x71,0x0d,0x4e,0xc9,0x89, 0x00,0x00,0x04,0x00,0x00,0x00,0xd4,0x82,0x00,0x00,0x71,0x5c,0x00,0x00,0x85,0x58,0x73,0x51,0x00,0x00, 0x7e,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x29,0x7f,0x00,0x00,0x9a,0x53,0x00,0x00, 0xdf,0x70,0x00,0x00,0xc1,0x90,0x00,0x00,0xcd,0x91,0x00,0x00,0xc8,0x70,0x00,0x00,0x36,0x83,0x00,0x00, 0xfe,0x96,0x00,0x00,0x29,0x7f,0xc0,0x94,0x00,0x00,0x06,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x33,0x96, 0x00,0x00,0x33,0x96,0x3a,0x53,0x00,0x00,0x33,0x96,0xce,0x57,0x00,0x00,0x57,0x53,0x51,0x67,0x00,0x00, 0x3e,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0x01,0x77,0x00,0x00,0x46,0x55, 0x00,0x00,0x27,0x59,0x00,0x00,0x17,0x53,0x00,0x00,0x2d,0x4e,0x00,0x00,0xfd,0x95,0x00,0x00,0x57,0x53, 0x00,0x00,0x5f,0x6c,0xe5,0x5d,0x46,0x55,0x27,0x59,0x66,0x5b,0x00,0x00,0x5f,0x6c,0x4d,0x7c,0x00,0x00, 0x04,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x41,0x6d,0x00,0x00,0xe5,0x6c,0x39,0x82,0x00,0x00,0x2b,0x6e, 0x00,0x00,0x01,0x00,0x00,0x00,0x7e,0x67,0x00,0x00,0x04,0x00,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00, 0x34,0x6c,0x00,0x00,0x34,0x6c,0xba,0x4e,0x00,0x00,0x3f,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x8a,0x71, 0x00,0x00,0xb1,0x82,0xaa,0x6e,0x00,0x00,0xb1,0x7e,0x00,0x00,0xb1,0x7e,0xb0,0x8b,0x00,0x00,0x73,0x59, 0x00,0x00,0xef,0x6f,0x00,0x00,0x17,0x6d,0x00,0x00,0xa4,0x6d,0x00,0x00,0x63,0x88,0x00,0x00,0xea,0x96, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x4e,0x00,0x00,0xd1,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0x7f,0x89, 0x00,0x00,0xe3,0x53,0x00,0x00,0x79,0x98,0x00,0x00,0x47,0x95,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00, 0xe3,0x53,0x3a,0x53,0x00,0x00,0x1c,0x4e,0x57,0x53,0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x70, 0x00,0x00,0x27,0x59,0x00,0x00,0x36,0x71,0x00,0x00,0x69,0x6d,0x61,0x83,0x61,0x83,0x00,0x00,0xab,0x52, 0x00,0x00,0xb9,0x65,0x00,0x00,0x69,0x6d,0x00,0x00,0xfd,0x6c,0x00,0x00,0x82,0x59,0xdf,0x70,0x77,0x6d, 0x00,0x00,0x61,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x8d,0x00,0x00,0x2b,0x6f,0x00,0x00,0x6e,0x6f, 0x00,0x00,0xb1,0x82,0x00,0x00,0x2b,0x6f,0x3b,0x4e,0x49,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0xd8,0x6d, 0xd1,0x91,0x00,0x00,0x16,0x5c,0x00,0x00,0x34,0x74,0x00,0x00,0x8e,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa8,0x52,0x00,0x00,0xfa,0x51,0x00,0x00,0x8f,0x4e,0x00,0x00,0xc8,0x76,0x00,0x00,0xb0,0x73,0x00,0x00, 0x81,0x8e,0x00,0x00,0x91,0x4e,0x00,0x00,0xbf,0x80,0x00,0x00,0xd5,0x96,0x00,0x00,0x18,0x5c,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00,0x38,0x7f,0x00,0x00,0x3a,0x57,0x00,0x00,0xfe,0x5d,0x00,0x00, 0x60,0x6c,0x00,0x00,0x38,0x97,0x00,0x00,0xd0,0x76,0x00,0x00,0xc6,0x76,0x00,0x00,0x40,0x88,0x4b,0x59, 0x18,0x62,0x00,0x00,0xb2,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x59,0x00,0x00,0x9b,0x51,0x00,0x00, 0xdf,0x57,0x00,0x00,0x0b,0x6d,0x00,0x00,0x0a,0x4e,0x00,0x00,0x57,0x53,0x00,0x00,0x73,0x51,0x00,0x00, 0xe1,0x5c,0x00,0x00,0xb8,0x5c,0x00,0x00,0x1a,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x6c,0x00,0x00, 0xa6,0x6d,0x00,0x00,0x65,0x51,0x00,0x00,0xeb,0x6d,0x00,0x00,0x0f,0x90,0x00,0x00,0x7f,0x6e,0x00,0x00, 0xfa,0x51,0x00,0x00,0x34,0x6c,0x00,0x00,0xd3,0x67,0x00,0x00,0x1a,0x4f,0x00,0x00,0x01,0x00,0x00,0x00, 0xa6,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x62,0x00,0x00,0x99,0x65,0x00,0x00,0x26,0x9e,0x00,0x00, 0x42,0x5c,0x00,0x00,0xc5,0x88,0x00,0x00,0x39,0x65,0x00,0x00,0x14,0x5c,0x72,0x5e,0x00,0x00,0x39,0x65, 0xb2,0x6d,0x00,0x00,0xb9,0x70,0x00,0x00,0x38,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x69,0x00,0x00, 0xd8,0x76,0x00,0x00,0x58,0x62,0x00,0x00,0xd0,0x78,0x00,0x00,0x2b,0x59,0xaf,0x65,0xfa,0x57,0x00,0x00, 0xe6,0x74,0x00,0x00,0xd8,0x76,0xcf,0x7e,0x00,0x00,0xe6,0x74,0xb3,0x6c,0x00,0x00,0x7d,0x76,0x00,0x00, 0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x6f,0x60,0x00,0x00,0x39,0x8d,0x05,0x80,0x00,0x00,0x39,0x8d, 0x00,0x00,0x32,0x96,0x00,0x00,0x16,0x53,0x00,0x00,0x64,0x96,0x00,0x00,0x31,0x59,0x00,0x00,0x17,0x80, 0x00,0x00,0x39,0x8d,0xc1,0x54,0x00,0x00,0xd2,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x53,0x00,0x00, 0xcc,0x5a,0x00,0x00,0x48,0x68,0x00,0x00,0xb3,0x8d,0x00,0x00,0x8b,0x4e,0x00,0x00,0xd1,0x9e,0x00,0x00, 0x48,0x68,0xba,0x4e,0x58,0x54,0x00,0x00,0x16,0x59,0x00,0x00,0x9c,0x51,0x00,0x00,0xd2,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xb0,0x73,0x00,0x00,0xa8,0x52,0x00,0x00,0xfa,0x51,0x00,0x00, 0xc9,0x6c,0x74,0x7a,0x00,0x00,0xd1,0x91,0xfb,0x7c,0x00,0x00,0xd1,0x91,0x00,0x00,0x2f,0x6e,0x00,0x00, 0x77,0x8d,0x00,0x00,0xdb,0x8f,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0xab,0x6c,0x00,0x00, 0x40,0x77,0x38,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x34,0x6c,0xb3,0x6c,0x00,0x00, 0x08,0x00,0x00,0x00,0x93,0x6d,0x00,0x00,0xf4,0x6e,0x00,0x00,0xf4,0x6e,0x10,0x62,0xaa,0x6e,0x00,0x00, 0xc3,0x57,0x00,0x00,0xc3,0x57,0x4b,0x4e,0x9b,0x52,0x00,0x00,0xf4,0x6e,0x52,0x5f,0x6c,0x51,0x00,0x00, 0x09,0x54,0x00,0x00,0x34,0x6c,0x4b,0x4e,0xe8,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0x94,0x6d,0x00,0x00, 0x08,0x00,0x00,0x00,0xea,0x6c,0x00,0x00,0xe3,0x6c,0x00,0x00,0xf6,0x96,0x00,0x00,0x3e,0x55,0x00,0x00, 0xea,0x6c,0xa4,0x4e,0x41,0x6d,0x00,0x00,0xd7,0x6c,0x2a,0x6a,0x41,0x6d,0x00,0x00,0xd7,0x6c,0xc2,0x6e, 0xb1,0x6c,0x00,0x00,0xd7,0x6c,0xb5,0x7e,0x2a,0x6a,0x00,0x00,0x04,0x00,0x00,0x00,0x9b,0x6d,0x00,0x00, 0xf0,0x58,0x00,0x00,0xe5,0x54,0x00,0x00,0x9c,0x6f,0x00,0x00,0x07,0x00,0x00,0x00,0x7e,0x70,0x00,0x00, 0x5d,0x57,0x00,0x00,0x60,0x6c,0x00,0x00,0xb3,0x5b,0x00,0x00,0x3c,0x6d,0x30,0x57,0x00,0x00,0xb3,0x6c, 0x65,0x68,0x00,0x00,0xb3,0x6c,0x65,0x68,0x51,0x67,0x00,0x00,0x04,0x00,0x00,0x00,0x90,0x6e,0xbf,0x53, 0x00,0x00,0x90,0x6e,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x09,0x00,0x00,0x00, 0x2a,0x6f,0x00,0x00,0x90,0x6e,0x02,0x5e,0x00,0x00,0x90,0x6e,0x00,0x00,0xa2,0x94,0x00,0x00,0x34,0x6c, 0x00,0x00,0x9f,0x6d,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x2a,0x6f,0xae,0x5f,0x3e,0x6f,0x00,0x00, 0x90,0x6e,0x30,0x57,0x3a,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x32,0x6d,0x9b,0x5c,0x00,0x00,0x7f,0x89, 0x57,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x8f,0x00,0x00,0x47,0x62,0x00,0x00,0x6e,0x8f,0x3a,0x67, 0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x41,0x6d,0x00,0x00,0x68,0x68,0x00,0x00,0xcb,0x65,0x00,0x00, 0xb7,0x55,0x00,0x00,0x33,0x96,0x00,0x00,0x6b,0x86,0x00,0x00,0x04,0x00,0x00,0x00,0xa3,0x6d,0x00,0x00, 0x63,0x65,0x00,0x00,0x36,0x71,0x00,0x00,0x36,0x71,0xb0,0x51,0xca,0x91,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb6,0x7e,0x00,0x00,0x61,0x83,0x00,0x00,0x1d,0x4e,0x00,0x00,0x64,0x96,0x00,0x00,0x51,0x86,0x00,0x00, 0x18,0x5c,0x00,0x00,0xc9,0x68,0x00,0x00,0x61,0x53,0x00,0x00,0xb6,0x7e,0x82,0x53,0x00,0x00,0xbb,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x80,0x00,0x00,0xd1,0x6e,0x00,0x00,0xd1,0x6e,0x42,0x52,0x00,0x00, 0xe5,0x71,0x00,0x00,0xfd,0x6c,0x00,0x00,0xd1,0x6e,0xb9,0x6c,0x00,0x00,0xa0,0x80,0x1a,0x90,0xbf,0x4f, 0x00,0x00,0x72,0x82,0x00,0x00,0x07,0x55,0x8f,0x81,0x00,0x00,0x89,0x55,0x00,0x00,0x08,0x00,0x00,0x00, 0x7f,0x89,0x3a,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x7f,0x89,0x00,0x00,0xaa,0x6e,0x00,0x00,0xc1,0x78, 0x51,0x67,0x00,0x00,0xd1,0x58,0x00,0x00,0x41,0x6d,0x00,0x00,0xe1,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x45,0x5e,0x00,0x00,0xf7,0x4e,0x00,0x00,0x5c,0x50,0x00,0x00,0xcc,0x8d,0x00,0x00,0xbf,0x52,0x00,0x00, 0xcc,0x8d,0x45,0x5e,0x00,0x00,0x5c,0x50,0x7f,0x67,0x00,0x00,0xaa,0x85,0x00,0x00,0xf7,0x4e,0x6e,0x6f, 0x00,0x00,0xcc,0x8d,0x5c,0x50,0x00,0x00,0x05,0x00,0x00,0x00,0x73,0x54,0x00,0x00,0x37,0x8c,0x00,0x00, 0xde,0x6e,0x00,0x00,0xdb,0x8f,0x00,0x00,0x09,0x81,0x00,0x00,0x08,0x00,0x00,0x00,0x75,0x96,0x00,0x00, 0x75,0x96,0x3a,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00, 0x75,0x96,0x30,0x57,0x3a,0x53,0x00,0x00,0x75,0x96,0x02,0x5e,0x00,0x00,0x30,0x4e,0x00,0x00,0x04,0x00, 0x00,0x00,0x8a,0x7f,0x89,0x80,0x00,0x00,0x89,0x80,0x00,0x00,0x6b,0x70,0x05,0x95,0x00,0x00,0x05,0x95, 0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x45,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00, 0x76,0x66,0x00,0x00,0x16,0x53,0x00,0x00,0x16,0x53,0x14,0x6c,0x00,0x00,0x8b,0x53,0x00,0x00,0x01,0x60, 0x00,0x00,0x01,0x60,0x76,0x59,0x00,0x00,0x2e,0x6c,0x00,0x00,0x28,0x6c,0x00,0x00,0x76,0x66,0x4f,0x5c, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x76,0x00,0x00,0x49,0x4e,0x00,0x00,0x7b,0x51,0x00,0x00,0x1e,0x6d, 0x00,0x00,0xb5,0x6d,0x00,0x00,0x53,0x90,0x00,0x00,0xd6,0x76,0x62,0x97,0x00,0x00,0xf8,0x95,0x00,0x00, 0x7b,0x51,0x3a,0x53,0x00,0x00,0xa1,0x7b,0x00,0x00,0x01,0x00,0x00,0x00,0x99,0x8f,0x4b,0x4e,0x8b,0x9c, 0x00,0x00,0x05,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x7f,0x9e,0x00,0x00, 0x7f,0x9e,0xbf,0x53,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x7c,0x00,0x00,0x89,0x7c, 0x7b,0x7c,0x00,0x00,0x89,0x7c,0x76,0x91,0x00,0x00,0x71,0x5c,0x56,0x6e,0x00,0x00,0x89,0x7c,0xd6,0x7c, 0x00,0x00,0x66,0x6d,0xb3,0x6c,0x00,0x00,0x89,0x7c,0x82,0x53,0x00,0x00,0xdd,0x5d,0x00,0x00,0x3a,0x53, 0x00,0x00,0xef,0x79,0x00,0x00,0x08,0x00,0x00,0x00,0x5a,0x53,0x00,0x00,0x5a,0x53,0x02,0x5e,0x00,0x00, 0xdd,0x5d,0x00,0x00,0xdd,0x5d,0x3a,0x53,0x00,0x00,0x5a,0x53,0xba,0x4e,0x00,0x00,0x5a,0x53,0x4c,0x80, 0x1a,0x4e,0x66,0x5b,0x62,0x96,0x00,0x00,0x5a,0x53,0x08,0x5e,0x03,0x83,0xd8,0x9a,0x49,0x7b,0x13,0x4e, 0xd1,0x79,0x66,0x5b,0x21,0x68,0x00,0x00,0x39,0x88,0x00,0x00,0x05,0x00,0x00,0x00,0xdd,0x5d,0xbf,0x53, 0x00,0x00,0xc5,0x6d,0xa5,0x6c,0xa5,0x6c,0x00,0x00,0xdd,0x5d,0x00,0x00,0xa5,0x6c,0x00,0x00,0xc5,0x6d, 0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x42,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0xbf,0x53, 0x00,0x00,0xe8,0x6e,0x3a,0x53,0x00,0x00,0xb3,0x6f,0x00,0x00,0xcb,0x6d,0x00,0x00,0xe8,0x6e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x13,0x6f,0x3d,0x5c,0xf4,0x81,0x00,0x00,0x74,0x6d,0x00,0x00,0xf4,0x5d,0x00,0x00, 0xf4,0x5d,0x24,0x76,0x00,0x00,0xf4,0x5d,0xd3,0x7e,0x00,0x00,0xf4,0x5d,0xc6,0x7e,0xde,0x80,0x00,0x00, 0x13,0x6f,0x00,0x00,0xc5,0x75,0x00,0x00,0xe8,0x96,0x00,0x00,0xf4,0x5d,0x4c,0x76,0x00,0x00,0x05,0x00, 0x00,0x00,0xcc,0x51,0x00,0x00,0x3c,0x77,0xea,0x6c,0x00,0x00,0xea,0x6c,0x00,0x00,0xe3,0x53,0x34,0x6c, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x73,0x59,0x00,0x00,0xcd,0x73,0x00,0x00,0x59,0x97, 0x00,0x00,0xba,0x4e,0x1b,0x54,0x50,0x5b,0x00,0x00,0x16,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xdb,0x6b, 0x56,0x6e,0x00,0x00,0x14,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9d,0x5b,0x00,0x00,0x70,0x6c,0x00,0x00, 0x9d,0x5b,0x51,0x7f,0x00,0x00,0xd1,0x91,0x00,0x00,0x9d,0x5b,0x97,0x5e,0x00,0x00,0x73,0x7c,0x51,0x7f, 0x00,0x00,0x14,0x6c,0x00,0x00,0x70,0x6c,0x5b,0x8d,0x00,0x00,0xd1,0x91,0x05,0x80,0x00,0x00,0xd8,0x6d, 0x00,0x00,0x01,0x00,0x00,0x00,0xd9,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x16,0x53,0x00,0x00,0x63,0x5b,0x00,0x00,0x9a,0x5b,0x00,0x00,0x34,0x6c,0x00,0x00,0xfa,0x51, 0x00,0x00,0x6c,0x9a,0x21,0x95,0x00,0x00,0x84,0x85,0x00,0x00,0xe1,0x6d,0x00,0x00,0xe1,0x6d,0x84,0x76, 0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x6c,0x00,0x00,0xef,0x79,0x00,0x00,0x40,0x88, 0x00,0x00,0x52,0x97,0x00,0x00,0x5e,0x58,0x00,0x00,0xde,0x6e,0x00,0x00,0x30,0x57,0x5d,0x57,0x00,0x00, 0x24,0x4f,0x00,0x00,0xef,0x79,0x69,0x72,0x00,0x00,0x35,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x63,0x83, 0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x79,0x00,0x00,0x32,0x6b, 0x00,0x00,0x71,0x4e,0x00,0x00,0xf5,0x5f,0x00,0x00,0x61,0x83,0x00,0x00,0xc3,0x5f,0x00,0x00,0x01,0x5a, 0x00,0x00,0xaa,0x90,0x00,0x00,0x60,0x4e,0x00,0x00,0x54,0x9b,0x00,0x00,0x03,0x00,0x00,0x00,0x6b,0x70, 0x00,0x00,0xbc,0x70,0x00,0x00,0x3a,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0x89,0x5b, 0x00,0x00,0x57,0x53,0x00,0x00,0x17,0x53,0x00,0x00,0x77,0x6d,0x2d,0x4e,0xef,0x8d,0x00,0x00,0x71,0x5c, 0x00,0x00,0x77,0x6d,0xef,0x8d,0x00,0x00,0x89,0x5b,0x02,0x5e,0x00,0x00,0x57,0x53,0x02,0x5e,0x00,0x00, 0x77,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x57,0x00,0x00, 0x65,0x51,0x00,0x00,0x16,0x53,0x00,0x00,0x33,0x57,0x02,0x5e,0x00,0x00,0xa6,0x5e,0x00,0x00,0x3b,0x52, 0x00,0x00,0x1c,0x59,0x00,0x00,0xa4,0x4e,0x40,0x62,0x00,0x00,0xf1,0x6d,0x00,0x00,0x10,0x62,0x07,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x67,0x00,0x00,0x89,0x5b,0x00,0x00,0x89,0x5b,0xbf,0x53,0x00,0x00, 0x16,0x53,0x00,0x00,0x9a,0x53,0x00,0x00,0x16,0x53,0xbf,0x53,0x00,0x00,0x8e,0x4e,0x00,0x00,0x99,0x71, 0x00,0x00,0x8e,0x7f,0x00,0x00,0x99,0x71,0x6d,0x51,0x74,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x54, 0x00,0x00,0x71,0x4e,0x00,0x00,0x08,0x54,0x8b,0x57,0x00,0x00,0xdd,0x51,0x1f,0x57,0x00,0x00,0xc6,0x6d, 0x00,0x00,0x8c,0x6c,0x00,0x00,0x65,0x51,0x00,0x00,0x42,0x67,0x00,0x00,0x18,0x62,0x00,0x00,0x08,0x54, 0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x6c,0x00,0x00,0x7b,0x6b,0x00,0x00,0x34,0x6c,0x00,0x00, 0xce,0x57,0x00,0x00,0xa1,0x6c,0x3a,0x53,0x00,0x00,0x59,0x75,0x00,0x00,0xd6,0x76,0x00,0x00,0x5a,0x53, 0x00,0x00,0x6d,0x70,0x00,0x00,0x4c,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0x52,0x00,0x00,0xa0,0x52, 0x42,0x52,0x00,0x00,0x29,0x52,0x00,0x00,0x6e,0x7f,0x00,0x00,0xa0,0x52,0x69,0x72,0x00,0x00,0xca,0x76, 0x00,0x00,0xbb,0x9e,0xe6,0x70,0x00,0x00,0x71,0x4e,0x00,0x00,0x35,0x58,0x00,0x00,0x16,0x78,0xa0,0x52, 0xe6,0x74,0x00,0x00,0x02,0x00,0x00,0x00,0xfc,0x6d,0x00,0x00,0x2b,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x5a,0x69,0x00,0x00,0x06,0x74,0x00,0x00,0x70,0x66,0x00,0x00,0x01,0x6d,0x00,0x00,0x97,0x7b,0x00,0x00, 0x17,0x6d,0x00,0x00,0x4e,0x53,0x00,0x00,0xc0,0x51,0x00,0x00,0x64,0x96,0x00,0x00,0x68,0x66,0x00,0x00, 0x0a,0x00,0x00,0x00,0x90,0x6e,0x00,0x00,0x5a,0x53,0x00,0x00,0xae,0x85,0x00,0x00,0xf1,0x6d,0x00,0x00, 0xc9,0x6c,0x00,0x00,0xb2,0x51,0x00,0x00,0x0a,0x6e,0x00,0x00,0xdc,0x8f,0x41,0x6d,0x7f,0x95,0x00,0x00, 0x37,0x8c,0x00,0x00,0xd8,0x9e,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x59,0x5f,0x6c,0x00,0x00,0x34,0x59, 0x5f,0x6c,0x51,0x67,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x9d,0x6d,0x00,0x00,0xb3,0x5b, 0x00,0x00,0x03,0x00,0x00,0x00,0x4c,0x80,0x00,0x00,0x4c,0x80,0x6a,0x7f,0x00,0x00,0x4c,0x80,0x48,0x68, 0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x6e,0x00,0x00,0xdb,0x8f,0x00,0x00,0xdb,0x8f,0x0f,0x5f,0x00,0x00, 0x21,0x6b,0x00,0x00,0x4c,0x88,0x10,0x6e,0xdc,0x8f,0x00,0x00,0xd8,0x53,0x00,0x00,0x65,0x51,0x73,0x4f, 0x83,0x58,0x00,0x00,0xdb,0x8f,0x27,0x60,0x00,0x00,0x10,0x6e,0x30,0x57,0x00,0x00,0x9f,0x60,0x00,0x00, 0x03,0x00,0x00,0x00,0x60,0x6c,0x00,0x00,0x60,0x6c,0xbf,0x53,0x00,0x00,0x34,0x6c,0xd5,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0x39,0x82,0x00,0x00,0x11,0x6c,0x00,0x00,0x1a,0x4e,0x00,0x00,0x3f,0x65,0x00,0x00, 0x3f,0x65,0x39,0x82,0x00,0x00,0x3a,0x57,0x00,0x00,0x2f,0x6e,0x00,0x00,0x51,0x67,0x00,0x00,0x2b,0x59, 0x00,0x00,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x90,0x00,0x00,0x0f,0x90,0x87,0x73,0x00,0x00, 0x65,0x51,0x00,0x00,0x0f,0x6f,0x00,0x00,0x34,0x6c,0x00,0x00,0xfa,0x51,0x00,0x00,0x0f,0x90,0x8b,0x53, 0x00,0x00,0xe4,0x6e,0xb2,0x6d,0x00,0x00,0x0f,0x90,0x27,0x60,0x00,0x00,0x51,0x57,0x00,0x00,0x01,0x00, 0x00,0x00,0xa7,0x78,0x01,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x4e,0x3a,0x53,0x00,0x00,0x17,0x53, 0x3a,0x53,0x00,0x00,0x17,0x53,0x00,0x00,0x2d,0x4e,0x00,0x00,0xcc,0x5b,0x00,0x00,0x7f,0x89,0x00,0x00, 0xde,0x5d,0x00,0x00,0x57,0x53,0x00,0x00,0xa1,0x80,0x00,0x00,0x34,0x6c,0x3a,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x53,0x90,0x00,0x00,0xbf,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0x53,0x90,0x39,0x8d,0x00,0x00, 0x53,0x90,0xe8,0x90,0x00,0x00,0xfb,0x7c,0x00,0x00,0x16,0x53,0x00,0x00,0x9f,0x6c,0x00,0x00,0x41,0x9b, 0x00,0x00,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x8f,0x00,0x00,0x6e,0x8f,0x00,0x00,0x39,0x82, 0x00,0x00,0xe3,0x53,0x00,0x00,0xb9,0x8f,0x00,0x00,0x47,0x50,0x00,0x00,0x26,0x9e,0x00,0x00,0x21,0x6e, 0x1f,0x9e,0x00,0x00,0xe8,0x90,0x00,0x00,0xfd,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x62,0x00,0x00, 0x23,0x6e,0x00,0x00,0x1f,0x57,0x00,0x00,0x1f,0x57,0x66,0x8f,0x00,0x00,0xd3,0x6e,0x00,0x00,0x50,0x5b, 0x00,0x00,0xb9,0x6c,0x00,0x00,0xd3,0x6e,0x1e,0x6d,0x00,0x00,0x3a,0x57,0x00,0x00,0xcf,0x50,0x20,0x7d, 0x00,0x00,0x05,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0x77,0x6d,0x7e,0x6e,0x00,0x00,0x77,0x6d,0x27,0x59, 0x66,0x5b,0x00,0x00,0x7f,0x89,0x00,0x00,0xa5,0x6f,0x51,0x68,0x30,0x75,0x00,0x00,0x04,0x00,0x00,0x00, 0x2a,0x59,0x4e,0x53,0x00,0x00,0x2a,0x59,0x4e,0x53,0x02,0x5e,0x00,0x00,0xac,0x4e,0x00,0x00,0x2a,0x59, 0x4e,0x53,0x27,0x59,0x66,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xa6,0x5e,0x00,0x00, 0x8c,0x54,0x00,0x00,0x96,0x66,0x00,0x00,0xb6,0x5b,0x9d,0x5b,0x00,0x00,0xd4,0x67,0x00,0x00,0xde,0x5d, 0x02,0x5e,0x00,0x00,0xa8,0x99,0x00,0x00,0xc9,0x6c,0x00,0x00,0xa4,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x57,0x53,0x00,0x00,0x57,0x53,0x02,0x5e,0x00,0x00,0xb3,0x6c,0x00,0x00,0x17,0x53,0x00,0x00,0x34,0x6c, 0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xe8,0x6e,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x90,0x6e, 0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x43,0x51,0x00,0x00,0xa1,0x80,0x00,0x00, 0xe3,0x53,0x00,0x00,0xa4,0x4e,0x40,0x62,0x00,0x00,0x01,0x5e,0x00,0x00,0x3a,0x53,0x00,0x00,0xb3,0x6f, 0xf0,0x53,0x00,0x00,0x7e,0x6e,0x00,0x00,0xba,0x4e,0x00,0x00,0xb3,0x6f,0x00,0x00,0x03,0x00,0x00,0x00, 0xd3,0x67,0x00,0x00,0xc4,0x6c,0x00,0x00,0xd3,0x67,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x1b,0x67, 0x00,0x00,0x42,0x6c,0x00,0x00,0x55,0x61,0x00,0x00,0xfc,0x76,0x00,0x00,0x31,0x72,0x00,0x00,0xf0,0x4e, 0x00,0x00,0xf3,0x60,0x00,0x00,0xf5,0x5f,0x00,0x00,0x64,0x6c,0x00,0x00,0x0d,0x4e,0xef,0x53,0x10,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x62,0x00,0x00,0xa2,0x5b,0x00,0x00,0x4c,0x88,0x00,0x00,0xf3,0x6c, 0x00,0x00,0x44,0x8d,0x00,0x00,0xa9,0x73,0x00,0x00,0xc8,0x89,0x00,0x00,0x47,0x82,0x00,0x00,0xf4,0x8b, 0x00,0x00,0x0f,0x62,0x3a,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x83,0x00,0x00,0x0f,0x5c,0x00,0x00, 0x3a,0x6e,0x00,0x00,0x36,0x71,0x00,0x00,0xe0,0x65,0xba,0x4e,0xdf,0x70,0x00,0x00,0xdc,0x8f,0x00,0x00, 0x3a,0x6e,0x2b,0x83,0x2b,0x83,0x00,0x00,0x50,0x5b,0x00,0x00,0xe0,0x65,0xba,0x4e,0xf9,0x8f,0x00,0x00, 0xe0,0x65,0xf0,0x58,0x6f,0x60,0x00,0x00,0x09,0x00,0x00,0x00,0x6c,0x51,0xb3,0x6c,0x00,0x00,0x32,0x6d, 0x7e,0x6e,0x00,0x00,0x57,0x53,0xb3,0x6c,0x00,0x00,0x32,0x6d,0x9b,0x5c,0x00,0x00,0x32,0x6d,0x00,0x00, 0x6d,0x6f,0xbf,0x53,0x00,0x00,0x6d,0x6f,0x00,0x00,0x6c,0x51,0xb3,0x6c,0x09,0x4e,0xd2,0x89,0x32,0x6d, 0x00,0x00,0x32,0x6d,0x7e,0x6e,0x4c,0x80,0x1a,0x4e,0x80,0x62,0x2f,0x67,0x66,0x5b,0x62,0x96,0x00,0x00, 0x01,0x00,0x00,0x00,0x49,0x6e,0x00,0x00,0x02,0x00,0x00,0x00,0x25,0x60,0x00,0x00,0x41,0x6d,0x00,0x00, 0x03,0x00,0x00,0x00,0x17,0x6d,0x00,0x00,0xea,0x96,0x00,0x00,0xa4,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x57,0x53,0x00,0x00,0x17,0x53,0x00,0x00,0x57,0x53,0x01,0x77,0x00,0x00,0x17,0x53,0x01,0x77,0x00,0x00, 0xca,0x6c,0x00,0x00,0x2d,0x4e,0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00,0x62,0x97,0x00,0x00, 0xb9,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x91,0xc5,0x60,0x00,0x00,0x6d,0x6f,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x7f,0x89,0x00,0x00,0x6d,0x6f,0x02,0x5e,0x00,0x00,0xc5,0x96,0x00,0x00,0x57,0x53,0x00,0x00, 0x6d,0x6f,0xbf,0x53,0x00,0x00,0xdc,0x83,0x00,0x00,0x61,0x4e,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x5f,0x6c,0x00,0x00,0x5f,0x6c,0x02,0x5e,0x00,0x00,0x36,0x71,0x00,0x00,0xdd,0x84,0x00,0x00,0x5f,0x6c, 0x2f,0x6e,0x00,0x00,0xb3,0x6c,0x3a,0x53,0x00,0x00,0x71,0x5c,0x00,0x00,0x5f,0x6c,0x08,0x5e,0x03,0x83, 0x66,0x5b,0x62,0x96,0x00,0x00,0xb3,0x6c,0x00,0x00,0x05,0x6e,0x00,0x00,0x07,0x00,0x00,0x00,0x2d,0x4e, 0xbf,0x53,0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0x7c,0x9c,0x00,0x00,0x90,0x6e,0x00,0x00,0x34,0x6c, 0x00,0x00,0x34,0x6c,0xb3,0x6c,0x00,0x00,0x2d,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x51,0x00,0x00, 0x04,0x00,0x00,0x00,0x6d,0x70,0x00,0x00,0xa1,0x6c,0x00,0x00,0xa1,0x6c,0xe0,0x65,0xfb,0x95,0x00,0x00, 0xcb,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x4e,0x00,0x00,0x3a,0x53,0x00,0x00,0x41,0x6d,0x00,0x00, 0x54,0x75,0x00,0x00,0xe3,0x53,0x00,0x00,0xcc,0x91,0x00,0x00,0x7e,0x6e,0x00,0x00,0xcc,0x91,0x3a,0x53, 0x00,0x00,0x85,0x51,0x00,0x00,0x9f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0xa6,0x5e, 0x00,0x00,0xa6,0x6d,0x00,0x00,0xb9,0x75,0x00,0x00,0x14,0x6c,0x00,0x00,0xd5,0x6c,0x00,0x00,0xfe,0x5d, 0x00,0x00,0x09,0x6f,0x09,0x6f,0x00,0x00,0x7f,0x6e,0x00,0x00,0xa3,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa1,0x75,0x00,0x00,0x5d,0x57,0x00,0x00,0xc2,0x70,0x00,0x00,0x25,0x8d,0x00,0x00,0xa1,0x75,0xc5,0x75, 0x00,0x00,0x24,0x58,0x00,0x00,0x0d,0x4e,0x10,0x62,0x9b,0x51,0x00,0x00,0xa1,0x75,0x62,0x97,0x00,0x00, 0x00,0x90,0x00,0x00,0xb3,0x51,0x00,0x00,0x05,0x00,0x00,0x00,0x04,0x5c,0x00,0x00,0x34,0x6c,0x00,0x00, 0x3d,0x84,0x00,0x00,0x12,0x6d,0x00,0x00,0x00,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0x66,0x6d,0xbf,0x53, 0x00,0x00,0x66,0x6d,0x00,0x00,0x34,0x6c,0x00,0x00,0xb3,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0x9c,0x6f, 0xaa,0x6e,0x00,0x00,0xa4,0x6d,0x00,0x00,0x02,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0xbf,0x4f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0x34,0x59,0x00,0x00,0xea,0x81,0x00,0x00,0x90,0x6e,0x0d,0x4e, 0xad,0x65,0x00,0x00,0xc9,0x6c,0x00,0x00,0xe3,0x4e,0x01,0x78,0x00,0x00,0x27,0x60,0x00,0x00,0xdc,0x8f, 0x41,0x6d,0x7f,0x95,0x00,0x00,0x41,0x6d,0x00,0x00,0x90,0x6e,0x00,0x00,0x06,0x00,0x00,0x00,0x07,0x59, 0x00,0x00,0x6e,0x78,0x00,0x00,0x3f,0x51,0x00,0x00,0xd8,0x70,0x00,0x00,0x6e,0x78,0xa6,0x5e,0x00,0x00, 0xf6,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0x36,0x71,0x7f,0x95,0x1d,0x90,0x00,0x00,0x36,0x71,0x00,0x00, 0x36,0x71,0x9e,0x8f,0x16,0x4e,0x00,0x00,0x36,0x71,0x0c,0x80,0x1d,0x90,0x00,0x00,0x48,0x51,0x1d,0x67, 0x32,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x6e,0x00,0x00,0xbe,0x8f,0x00,0x00,0x70,0x8d,0x00,0x00, 0xdb,0x8f,0x00,0x00,0xb0,0x51,0x00,0x00,0xb0,0x51,0x3a,0x57,0x00,0x00,0x4b,0x4e,0x27,0x59,0x09,0x54, 0x00,0x00,0x66,0x8f,0x00,0x00,0x22,0x7d,0x00,0x00,0x7b,0x98,0xcd,0x62,0x6c,0x9a,0x00,0x00,0x07,0x00, 0x00,0x00,0x77,0x6d,0x00,0x00,0x9f,0x6e,0x00,0x00,0x99,0x84,0x00,0x00,0xdb,0x6f,0x00,0x00,0x60,0x6c, 0x00,0x00,0x9b,0x5c,0x00,0x00,0x2d,0x6f,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x4e,0x00,0x00,0xf7,0x4e, 0x87,0x73,0x00,0x00,0xfa,0x51,0x00,0x00,0x29,0x52,0x00,0x00,0xfa,0x51,0x48,0x65,0x94,0x5e,0x00,0x00, 0x8e,0x4e,0x00,0x8a,0x68,0x88,0x00,0x00,0x34,0x7f,0x3e,0x6b,0x00,0x00,0x8e,0x7f,0x4b,0x4e,0xcd,0x8b, 0x00,0x00,0x41,0x6d,0x00,0x00,0x2a,0x6d,0x53,0x90,0x00,0x00,0x04,0x00,0x00,0x00,0xea,0x4e,0x00,0x00, 0x12,0x51,0x00,0x00,0x70,0x67,0x00,0x00,0xca,0x4f,0x00,0x00,0x07,0x00,0x00,0x00,0x33,0x96,0x00,0x00, 0x34,0x6c,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x34,0x6c,0x3a,0x53, 0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00, 0x41,0x6d,0x00,0x00,0xe3,0x53,0x00,0x00,0x1b,0x6d,0x21,0x6e,0x00,0x00,0x37,0x8c,0x00,0x00,0x34,0x59, 0x00,0x00,0xb8,0x5c,0x00,0x00,0x9f,0x6c,0x00,0x00,0xa7,0x6d,0x00,0x00,0x56,0x6e,0x00,0x00,0x05,0x00, 0x00,0x00,0x90,0x6e,0x00,0x00,0x41,0x6d,0x00,0x00,0xf3,0x81,0x00,0x00,0x39,0x68,0x42,0x6c,0x90,0x6e, 0x00,0x00,0xaa,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0x56,0x6e,0x00,0x00,0x07,0x00,0x00,0x00,0x78,0x91, 0xd0,0x76,0x00,0x00,0x4c,0x65,0x86,0x96,0x00,0x00,0x30,0x6c,0xca,0x83,0x00,0x00,0x16,0x53,0x02,0x95, 0x00,0x00,0x16,0x53,0xbe,0x94,0x00,0x00,0x16,0x53,0x30,0x6c,0x00,0x00,0x55,0x53,0x28,0x8d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe3,0x89,0x00,0x00,0xb2,0x6d,0x00,0x00,0x42,0x52,0x00,0x00,0x1e,0x6d,0x00,0x00, 0x16,0x53,0x00,0x00,0x40,0x88,0x00,0x00,0xe3,0x89,0xa6,0x5e,0x00,0x00,0x40,0x88,0x27,0x60,0x00,0x00, 0x65,0x51,0x00,0x00,0x13,0x68,0x00,0x00,0x01,0x00,0x00,0x00,0x4a,0x6d,0x00,0x00,0x06,0x00,0x00,0x00, 0x34,0x6c,0x00,0x00,0xa1,0x4e,0x00,0x00,0x31,0x72,0x00,0x00,0x7b,0x6b,0x00,0x00,0x34,0x6c,0x05,0x80, 0x00,0x00,0x74,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0x30,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x91,0x66, 0x00,0x00,0xed,0x70,0x00,0x00,0x06,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00, 0xb3,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0xde,0x5d,0x66,0x5b,0x62,0x96,0x00,0x00,0xbf,0x53,0xba,0x4e, 0x00,0x00,0x05,0x00,0x00,0x00,0xb1,0x6c,0x00,0x00,0x5f,0x6c,0x57,0x88,0x00,0x00,0xb1,0x6c,0x27,0x59, 0xe8,0x96,0x00,0x00,0x43,0x6e,0x00,0x00,0xc2,0x6e,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x60,0x6c, 0x00,0x00,0x7f,0x89,0x00,0x00,0xa2,0x7e,0x00,0x00,0x57,0x53,0x00,0x00,0xcf,0x85,0xbf,0x7e,0x00,0x00, 0x1c,0x4e,0x00,0x00,0x1c,0x4e,0x57,0x53,0x00,0x00,0x17,0x53,0x00,0x00,0xdc,0x83,0x00,0x00,0x67,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0xa6,0x6d,0x00,0x00,0x65,0x88,0x00,0x00,0x73,0x54, 0x00,0x00,0x34,0x96,0x00,0x00,0x7b,0x51,0x00,0x00,0x8b,0x4e,0x00,0x00,0x65,0x88,0xc1,0x54,0x00,0x00, 0x7f,0x95,0x00,0x00,0x70,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x4e,0x84,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x61,0x57,0x00,0x00,0xea,0x96,0x00,0x00,0xa8,0x52,0x00,0x00,0xc1,0x94,0x62,0x53,0x00,0x00, 0x4c,0x88,0x00,0x00,0x3d,0x7a,0x00,0x00,0x3d,0x84,0x00,0x00,0xaf,0x68,0x00,0x00,0xea,0x96,0x3a,0x57, 0x00,0x00,0x7f,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0xd4,0x6e,0x0d,0x4e,0xdd,0x7e,0x00,0x00,0xd4,0x6e, 0x00,0x00,0x29,0x59,0x00,0x00,0x29,0x59,0x6a,0x7f,0x4c,0x88,0x00,0x00,0x29,0x59,0x6a,0x7f,0x76,0x60, 0x00,0x00,0x09,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0x8b,0x73,0x01,0x96,0x00,0x00,0xde,0x5d,0x02,0x5e, 0x00,0x00,0x34,0x59,0x51,0x67,0x00,0x00,0xb6,0x5b,0x47,0x95,0x00,0x00,0x0f,0x6c,0x00,0x00,0xb6,0x5b, 0x00,0x00,0xaf,0x65,0x1d,0x8d,0x3c,0x68,0x00,0x00,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xe3,0x53, 0x00,0x00,0x02,0x00,0x00,0x00,0x30,0x4e,0x00,0x00,0xa7,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52, 0x00,0x00,0xda,0x6e,0x00,0x00,0x52,0x7b,0x00,0x00,0xea,0x96,0x03,0x74,0x00,0x00,0x8a,0x5e,0x55,0x53, 0x00,0x00,0xeb,0x70,0x00,0x00,0xcb,0x86,0x00,0x00,0x34,0x6c,0x00,0x00,0x58,0x5b,0x00,0x00,0x6e,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x75,0x00,0x00,0x0e,0x54,0x00,0x00,0x00,0x95,0x00,0x00,0xa8,0x6d, 0x00,0x00,0xb3,0x7e,0xd1,0x91,0x00,0x00,0x0e,0x54,0x27,0x60,0x00,0x00,0xc0,0x80,0x00,0x00,0xa8,0x6d, 0xa1,0x80,0x00,0x00,0x7a,0x7a,0x00,0x00,0x13,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x8d,0x00,0x00, 0x0f,0x61,0x00,0x00,0x0f,0x61,0xa6,0x5e,0x00,0x00,0xe1,0x6e,0x00,0x00,0x7d,0x8f,0x00,0x00,0x08,0x67, 0x00,0x00,0x06,0x52,0x00,0x00,0x00,0x60,0x00,0x00,0xcf,0x65,0x00,0x00,0xe1,0x6e,0x84,0x76,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5c,0x95,0x00,0x00,0x51,0x7f,0x00,0x00,0xaf,0x82,0x00,0x00,0xe2,0x6c,0x00,0x00, 0xe2,0x6c,0x68,0x56,0x00,0x00,0x05,0x6e,0x68,0x56,0x00,0x00,0x49,0x51,0x47,0x72,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x99,0x65,0x00,0x00,0x64,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x75,0x00,0x00,0xd1,0x53, 0x00,0x00,0x40,0x67,0x00,0x00,0xfd,0x7a,0x45,0x51,0x70,0x65,0x00,0x00,0x43,0x67,0x00,0x00,0xc5,0x60, 0x00,0x00,0xde,0x89,0x00,0x00,0xa4,0x4e,0x00,0x00,0x10,0x4f,0x00,0x00,0x28,0x75,0x05,0x80,0x00,0x00, 0x08,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x73,0x5e,0xbf,0x53,0x00,0x00,0xb3,0x6c,0x00,0x00,0x57,0x53, 0xbf,0x53,0x00,0x00,0x73,0x5e,0x00,0x00,0x57,0x53,0x00,0x00,0xde,0x5d,0x00,0x00,0xb3,0x6c,0x4c,0x72, 0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0x5f,0x6c,0x00,0x00,0xde,0x5d,0x00,0x00,0x56,0x6e, 0x00,0x00,0xb3,0x6c,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x34,0x6c,0x00,0x00,0x56,0x6e,0x3a,0x53, 0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0xb3,0x6c,0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x82,0x6d, 0x00,0x00,0x3a,0x53,0x00,0x00,0x34,0x59,0x00,0x00,0x30,0x57,0x00,0x00,0x82,0x6d,0x30,0x57,0x00,0x00, 0x34,0x59,0x21,0x58,0x00,0x00,0xb9,0x8f,0x00,0x00,0x27,0x7c,0x00,0x00,0x77,0x6d,0x00,0x00,0x8a,0x7f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x77,0xb2,0x6d,0x00,0x00,0xf6,0x80,0x00,0x00,0xf4,0x6e,0x00,0x00, 0xa1,0x7b,0x00,0x00,0x4c,0x70,0x00,0x00,0x38,0x4e,0x00,0x00,0x54,0x7b,0x00,0x00,0x34,0x6c,0x0d,0x4e, 0x0f,0x6f,0x00,0x00,0x34,0x6c,0x00,0x00,0x6b,0x86,0x00,0x00,0x03,0x00,0x00,0x00,0xb1,0x6c,0xb3,0x6c, 0x00,0x00,0xb1,0x6c,0x00,0x00,0xb1,0x6c,0xb3,0x6c,0x54,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x4e, 0x00,0x00,0x6e,0x6d,0x00,0x00,0x41,0x6d,0x00,0x00,0x7d,0x76,0x00,0x00,0xca,0x6c,0x00,0x00,0xfb,0x79, 0x00,0x00,0x6e,0x6d,0x69,0x72,0x00,0x00,0x7d,0x76,0x42,0x52,0x00,0x00,0x41,0x6d,0x28,0x67,0x00,0x00, 0x17,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x9e,0x00,0x00,0x68,0x56,0x00,0x00,0x05,0x53,0xbf,0x7e, 0x00,0x00,0x62,0x97,0x00,0x00,0x3b,0x75,0x00,0x00,0x7a,0x82,0x00,0x00,0xae,0x76,0x00,0x00,0x9c,0x81, 0x00,0x00,0x28,0x67,0x00,0x00,0xe5,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x1e,0x6d,0x00,0x00,0x34,0x6c, 0x00,0x00,0x35,0x75,0x00,0x00,0x0e,0x7a,0x00,0x00,0xb9,0x6c,0x00,0x00,0x89,0x63,0x00,0x00,0x97,0x65, 0x00,0x00,0x1e,0x6d,0x7e,0x76,0xfa,0x51,0x00,0x00,0x14,0x6c,0x00,0x00,0x51,0x7f,0x4b,0x4e,0x7c,0x9c, 0x00,0x00,0x01,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x8b,0x00,0x00,0x60,0x4e, 0x00,0x00,0xfa,0x51,0x00,0x00,0x58,0x54,0x00,0x00,0xd8,0x53,0x00,0x00,0xc3,0x7e,0x00,0x00,0xce,0x7e, 0x00,0x00,0x31,0x55,0x1a,0x4f,0x00,0x00,0x16,0x53,0x00,0x00,0xf4,0x8b,0x00,0x00,0x06,0x00,0x00,0x00, 0xb3,0x6c,0xfe,0x6c,0x00,0x00,0x9d,0x5b,0xef,0x8d,0x00,0x00,0xd0,0x8f,0x00,0x00,0xaa,0x6e,0x17,0x53, 0xef,0x8d,0x00,0x00,0xb3,0x6c,0x00,0x00,0xae,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x89,0x00,0x00, 0x0d,0x4e,0x73,0x51,0xc3,0x5f,0x00,0x00,0xb3,0x6c,0x00,0x00,0x36,0x71,0x00,0x00,0x20,0x6f,0x00,0x00, 0x17,0x53,0x00,0x00,0x57,0x53,0x00,0x00,0xb3,0x6c,0xbf,0x53,0x00,0x00,0x36,0x71,0xc6,0x89,0x4b,0x4e, 0x00,0x00,0x36,0x71,0x6e,0x7f,0x4b,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0xa1,0x6d,0x00,0x00,0xe3,0x53, 0x47,0x95,0x00,0x00,0x41,0x6d,0x00,0x00,0x77,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x9c,0x6f,0x00,0x00, 0x7e,0x6c,0xd1,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x75,0x00,0x00,0x7f,0x95,0x00,0x00,0x38,0x6e, 0x00,0x00,0x2b,0x6f,0x00,0x00,0x65,0x6b,0x00,0x00,0x29,0x59,0x00,0x00,0x3b,0x75,0xb6,0x5b,0x00,0x00, 0x29,0x59,0x81,0x89,0xf7,0x4e,0x00,0x00,0x0d,0x4e,0xcf,0x7e,0xc3,0x5f,0x00,0x00,0xe0,0x65,0xee,0x76, 0x84,0x76,0x00,0x00,0x06,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0xb3,0x6c,0x02,0x5e,0x00,0x00,0xb3,0x6c, 0xd9,0x7a,0x00,0x00,0xb3,0x6c,0x4c,0x80,0x1a,0x4e,0x80,0x62,0x2f,0x67,0x66,0x5b,0x62,0x96,0x00,0x00, 0xb3,0x6c,0x3b,0x53,0x66,0x5b,0xd8,0x9a,0x49,0x7b,0x13,0x4e,0xd1,0x79,0x66,0x5b,0x21,0x68,0x00,0x00, 0xcd,0x73,0x00,0x4e,0xf7,0x53,0x00,0x00,0x03,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x17,0x6d,0x00,0x00, 0x41,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xbf,0x53,0x00,0x00,0xde,0x5d,0x02,0x5e, 0x00,0x00,0xb3,0x6c,0x00,0x00,0xfd,0x6c,0x00,0x00,0x66,0x6d,0x00,0x00,0x66,0x6d,0xbf,0x53,0x00,0x00, 0x35,0x75,0x00,0x00,0x73,0x5e,0x00,0x00,0x73,0x5e,0x02,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0xde,0x6f, 0xbf,0x53,0x00,0x00,0xde,0x6f,0x00,0x00,0x76,0x59,0x00,0x00,0xde,0x6f,0x5d,0x5f,0xcf,0x65,0xea,0x81, 0xbb,0x6c,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x6e, 0x00,0x00,0x12,0x6d,0x00,0x00,0x47,0x6f,0x00,0x00,0x00,0x8a,0x00,0x00,0x47,0x6f,0x12,0x6d,0x12,0x6d, 0x00,0x00,0xe8,0x96,0x00,0x00,0x12,0x6d,0xe5,0x54,0x00,0x00,0x12,0x6d,0x0d,0x4e,0x81,0x7f,0x00,0x00, 0xd4,0x7f,0x00,0x00,0x47,0x6f,0xc6,0x7e,0xe8,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0xdf,0x6e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4a,0x57,0x00,0x00,0x4a,0x57,0x02,0x5e,0x00,0x00,0xf4,0x67,0x00,0x00,0xce,0x57, 0x3a,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0x4a,0x57,0x2f,0x6e,0x00,0x00,0xce,0x57,0x00,0x00,0x4a,0x57, 0x66,0x5b,0x62,0x96,0x00,0x00,0xf4,0x67,0xa7,0x63,0xa1,0x80,0xc6,0x96,0xe2,0x56,0x09,0x67,0x50,0x96, 0x6c,0x51,0xf8,0x53,0x00,0x00,0x4a,0x57,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x57,0x87,0x65, 0x00,0x00,0xd0,0x67,0x00,0x00,0x1a,0x59,0xc9,0x62,0x00,0x00,0xb6,0x5b,0xed,0x56,0x00,0x00,0xb6,0x5b, 0x00,0x00,0xd1,0x91,0xb2,0x83,0x00,0x00,0x1a,0x59,0xc9,0x62,0x54,0x9b,0xd2,0x76,0x00,0x00,0xb3,0x5c, 0x00,0x00,0xc6,0x96,0x3a,0x53,0x00,0x00,0x0f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52,0x00,0x00, 0x28,0x57,0x00,0x00,0x47,0x82,0x00,0x00,0xc4,0x89,0x19,0x52,0x00,0x00,0x34,0x6c,0x00,0x00,0x0f,0x4f, 0x00,0x00,0x0f,0x61,0xc6,0x8b,0x00,0x00,0x03,0x90,0x00,0x00,0xfd,0x80,0x00,0x00,0x65,0x51,0x00,0x00, 0x07,0x00,0x00,0x00,0x89,0x5b,0x00,0x00,0xb3,0x6c,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0xce,0x57, 0x00,0x00,0x7f,0x89,0x02,0x5e,0x00,0x00,0x7f,0x89,0x00,0x00,0x34,0x6c,0x00,0x00,0x01,0x00,0x00,0x00, 0x56,0x6e,0x00,0x00,0x02,0x00,0x00,0x00,0xdd,0x5d,0xbf,0x53,0x00,0x00,0xdd,0x5d,0x00,0x00,0x03,0x00, 0x00,0x00,0x12,0x50,0x00,0x00,0x49,0x83,0x00,0x00,0xb3,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x95, 0x00,0x00,0xe8,0x95,0x47,0x95,0x00,0x00,0xd8,0x67,0xfa,0x5b,0x00,0x00,0x7f,0x89,0x47,0x95,0x00,0x00, 0x34,0x59,0x47,0x95,0x00,0x00,0x71,0x5f,0x00,0x00,0x95,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0xb9,0x8f, 0x00,0x00,0xea,0x5c,0x9f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x41,0x6d,0x00,0x00,0x7f,0x6e,0x00,0x00, 0x55,0x6c,0x00,0x00,0xde,0x5d,0x00,0x00,0x34,0x6c,0x00,0x00,0x50,0x6c,0x00,0x00,0x46,0x55,0x00,0x00, 0x39,0x54,0x00,0x00,0xba,0x4e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c,0x00,0x00, 0x34,0x6c,0xb9,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x59,0x75,0x00,0x00,0x03,0x00,0x00,0x00,0x36,0x71, 0xea,0x6c,0x0b,0x4e,0x00,0x00,0x36,0x71,0x00,0x00,0x78,0x6f,0x00,0x00,0x03,0x00,0x00,0x00,0x7a,0x6f, 0x00,0x00,0x72,0x6e,0x00,0x00,0x7a,0x6f,0x41,0x6d,0x34,0x6c,0x00,0x00,0x04,0x00,0x00,0x00,0x73,0x51, 0x00,0x00,0x57,0x53,0x00,0x00,0x73,0x51,0xbf,0x53,0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x05,0x6e,0x00,0x00,0x77,0x6d,0x00,0x00,0xc8,0x8f,0x00,0x00,0x5f,0x6c,0x00,0x00,0xc8,0x8f, 0xbf,0x53,0x00,0x00,0x0e,0x66,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0x88,0x6f,0x00,0x00,0x77,0x6d, 0x3a,0x53,0x00,0x00,0x1f,0x66,0x00,0x00,0x04,0x00,0x00,0x00,0x95,0x5e,0x00,0x00,0x88,0x6f,0x00,0x00, 0xe5,0x67,0x00,0x00,0xe5,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x70,0x00,0x00,0x06,0x00,0x00,0x00, 0x43,0x6e,0x00,0x00,0x56,0x6e,0x00,0x00,0x56,0x6e,0x17,0x52,0x9b,0x5c,0x00,0x00,0x56,0x6e,0xa4,0x7f, 0x9b,0x5c,0x00,0x00,0x56,0x6e,0x9b,0x5c,0x00,0x00,0x56,0x6e,0xbf,0x53,0x00,0x00,0x05,0x00,0x00,0x00, 0xa7,0x6c,0x5f,0x6c,0x00,0x00,0xa7,0x6c,0x00,0x00,0xf3,0x77,0x00,0x00,0xa7,0x6c,0xbf,0x53,0x00,0x00, 0xa7,0x6c,0xc9,0x62,0x5c,0x79,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x02,0x58,0x00,0x00,0xc6,0x76,0x00,0x00,0x02,0x58,0x50,0x5b,0x00,0x00,0x74,0x6d,0x00,0x00,0xfe,0x5d, 0x00,0x00,0x17,0x6d,0x00,0x00,0x58,0x58,0x00,0x00,0x50,0x7f,0x00,0x00,0xa2,0x57,0x22,0x7d,0xb5,0x75, 0x00,0x00,0xab,0x8e,0x74,0x6d,0xb7,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x34,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x59,0x29,0x52,0x9a,0x4e,0x00,0x00,0xe8,0x95,0x00,0x00,0x32,0x6d, 0x00,0x00,0x43,0x51,0x00,0x00,0xb0,0x65,0xf6,0x94,0x4c,0x88,0x00,0x00,0x2a,0x82,0x00,0x00,0xef,0x67, 0x9b,0x73,0x00,0x00,0xb9,0x65,0x00,0x00,0xb0,0x65,0x00,0x00,0x5a,0x53,0x00,0x00,0x02,0x00,0x00,0x00, 0xca,0x6c,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x70,0x00,0x00,0xb1,0x52,0x00,0x00, 0xa8,0x52,0x00,0x00,0xc5,0x60,0x00,0x00,0xd1,0x53,0x00,0x00,0x20,0x7d,0x00,0x00,0x49,0x51,0x00,0x00, 0xdb,0x8f,0x00,0x00,0x9e,0x58,0x00,0x00,0x3b,0x6d,0x00,0x00,0x02,0x00,0x00,0x00,0xaa,0x6e,0xbf,0x53, 0x00,0x00,0xaa,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0x8a,0x8c,0x00,0x00,0x03,0x00,0x00,0x00,0x25,0x6d, 0x00,0x00,0x37,0x62,0x00,0x00,0x37,0x62,0x85,0x51,0x77,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x4e, 0x00,0x00,0x71,0x53,0x00,0x00,0x77,0x6d,0x00,0x00,0x7b,0x6b,0x00,0x00,0x8e,0x4e,0x00,0x00,0x71,0x53, 0xce,0x91,0x1f,0x75,0xa8,0x52,0x0d,0x69,0x69,0x72,0xcd,0x79,0xfd,0x56,0x45,0x96,0x38,0x8d,0x13,0x66, 0x6c,0x51,0xa6,0x7e,0x00,0x00,0x71,0x53,0xcd,0x79,0x00,0x00,0xd1,0x8f,0x00,0x00,0xb3,0x6c,0x00,0x00, 0x34,0x4e,0x34,0x78,0xa7,0x4e,0x05,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xdb,0x6f,0x00,0x00,0x06,0x00, 0x00,0x00,0x4c,0x8d,0xa1,0x80,0x00,0x00,0x4c,0x8d,0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x6f,0x66,0x7a,0x82,0x00,0x00,0x6f,0x66,0x7a,0x82,0x6f,0x67,0x00,0x00,0x07,0x00,0x00,0x00, 0x7b,0x51,0x00,0x00,0xd3,0x67,0x00,0x00,0x7f,0x6e,0x00,0x00,0xeb,0x6b,0x00,0x00,0x90,0x6c,0x00,0x00, 0xab,0x6c,0xb8,0x6d,0x99,0x8f,0x00,0x00,0xab,0x6c,0xf8,0x76,0xf9,0x5b,0x00,0x00,0x07,0x00,0x00,0x00, 0x33,0x96,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x62,0x96,0x00,0x00, 0xbf,0x53,0x00,0x00,0xb6,0x5b,0x51,0x67,0x00,0x00,0xc0,0x68,0x00,0x00,0x07,0x00,0x00,0x00,0x26,0x95, 0x00,0x00,0xef,0x6f,0x00,0x00,0xab,0x8e,0x00,0x00,0x30,0x75,0x47,0x95,0x00,0x00,0xe5,0x76,0x00,0x00, 0x26,0x95,0xe5,0x4e,0x7c,0x9c,0x00,0x00,0xb3,0x8d,0x00,0x00,0x03,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00, 0xb3,0x6c,0xde,0x56,0xcf,0x65,0x3a,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x04,0x00,0x00,0x00,0x03,0x5e, 0x00,0x00,0x03,0x5e,0x41,0x6d,0x00,0x00,0x03,0x5e,0xa4,0x7f,0x00,0x00,0x03,0x5e,0x0f,0x5f,0x00,0x00, 0x04,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0x87,0x5b,0x00,0x00,0x4e,0x53,0x00,0x00,0x1f,0x66,0x00,0x00, 0x07,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0x77,0x6d,0x00,0x00,0x77,0x6d,0x01,0x5a,0x00,0x00,0xf0,0x53, 0x00,0x00,0xf0,0x5b,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x47,0x95,0x00,0x00,0x01,0x00,0x00,0x00, 0x2b,0x6f,0x00,0x00,0x01,0x00,0x00,0x00,0xc9,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x3c,0x70,0x00,0x00, 0x0a,0x00,0x00,0x00,0x89,0x6e,0x00,0x00,0xc5,0x88,0x00,0x00,0x93,0x8f,0x00,0x00,0x28,0x67,0x00,0x00, 0x3a,0x53,0x00,0x00,0xe8,0x6c,0x00,0x00,0xa0,0x80,0x00,0x00,0x28,0x67,0x1b,0x4e,0x00,0x00,0x46,0x6d, 0x00,0x00,0x89,0x91,0x00,0x00,0x05,0x00,0x00,0x00,0x65,0x68,0x3a,0x53,0x00,0x00,0x65,0x68,0x00,0x00, 0xb3,0x6c,0x00,0x00,0x34,0x6c,0x00,0x00,0xb3,0x6c,0xe9,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x7e,0x70, 0x00,0x00,0xad,0x7b,0x00,0x00,0x66,0x8f,0x00,0x00,0x1f,0x66,0x00,0x00,0x06,0x72,0x00,0x00,0x66,0x8f, 0xd9,0x7a,0x00,0x00,0x66,0x8f,0x68,0x79,0x00,0x00,0x71,0x5c,0x00,0x00,0xed,0x70,0x00,0x00,0x05,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6b,0x70,0x00,0x00,0xdd,0x7e,0x00,0x00,0xa1,0x4e,0x00,0x00,0x6b,0x70, 0x68,0x56,0x00,0x00,0xcc,0x83,0x00,0x00,0x76,0x98,0x4b,0x4e,0x7e,0x70,0x00,0x00,0x8a,0x86,0x00,0x00, 0xe3,0x53,0x00,0x00,0x6a,0x7f,0x00,0x00,0xe8,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x51,0x00,0x00, 0xe1,0x6c,0x00,0x00,0x77,0x51,0x00,0x00,0x54,0x58,0x00,0x00,0x6b,0x70,0x00,0x00,0x3c,0x7b,0x00,0x00, 0x70,0x99,0x00,0x00,0xa1,0x7b,0x00,0x00,0xb1,0x7b,0x00,0x00,0x1a,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x72,0x82,0x00,0x00,0x18,0x5c,0x00,0x00,0x3e,0x97,0x00,0x00,0x38,0x5e,0x00,0x00,0x2a,0x59,0xfc,0x72, 0x00,0x00,0x70,0x70,0x00,0x00,0x97,0x66,0x00,0x00,0xec,0x70,0x00,0x00,0xc3,0x5f,0x00,0x00,0xde,0x98, 0xdf,0x70,0x6d,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x6d,0x00,0x00,0x42,0x9b,0x00,0x00,0x1f,0x61, 0x00,0x00,0x3b,0x6d,0x27,0x60,0x00,0x00,0x1a,0x90,0x00,0x00,0x4f,0x65,0x00,0x00,0x27,0x60,0x00,0x00, 0x9d,0x82,0x00,0x00,0xa8,0x52,0x00,0x00,0x02,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00, 0x77,0x51,0x00,0x00,0x5e,0x79,0x1f,0x66,0x00,0x00,0x5e,0x79,0x00,0x00,0x8b,0x73,0x37,0x72,0x00,0x00, 0x3f,0x62,0x00,0x00,0x1b,0x54,0x00,0x00,0xf4,0x95,0x00,0x00,0x6c,0x9a,0x00,0x00,0x9b,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0x24,0x4f,0x00,0x00,0xed,0x70,0x00,0x00,0xe7,0x70,0x00,0x00,0xed,0x70,0x1f,0x61, 0x00,0x00,0xdb,0x75,0x00,0x00,0x7c,0x70,0x00,0x00,0xc1,0x89,0x00,0x00,0xae,0x4e,0x00,0x00,0x25,0x60, 0x00,0x00,0x03,0x57,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x5b,0x00,0x00,0x3a,0x53,0x00,0x00, 0xbe,0x96,0x00,0x00,0xc5,0x60,0x00,0x00,0x0e,0x54,0x00,0x00,0x11,0x6c,0x00,0x00,0xbe,0x96,0x27,0x60, 0x00,0x00,0x78,0x79,0x00,0x00,0xb3,0x5b,0x27,0x60,0x00,0x00,0xbe,0x96,0x47,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc2,0x70,0x00,0x00,0x1f,0x66,0x00,0x00,0x64,0x57,0x00,0x00,0x7f,0x70,0x00,0x00,0x36,0x71, 0x00,0x00,0xc2,0x70,0x3a,0x59,0xee,0x76,0x00,0x00,0xe5,0x82,0x91,0x4e,0x1e,0x97,0x00,0x00,0xe5,0x82, 0x41,0x7e,0x1f,0x66,0x00,0x00,0xe5,0x82,0x1f,0x66,0xb3,0x6c,0x00,0x00,0x10,0x62,0x00,0x00,0x01,0x00, 0x00,0x00,0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x76,0x70,0x00,0x00,0xf3,0x77, 0x00,0x00,0x6b,0x70,0xaf,0x7e,0x52,0x97,0x00,0x00,0x6b,0x70,0x00,0x00,0x77,0x51,0x00,0x00,0x23,0x6e, 0x00,0x00,0x9b,0x81,0x00,0x00,0x99,0x65,0x00,0x00,0x91,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x51, 0x00,0x00,0xdf,0x70,0x00,0x00,0x8b,0x4e,0x00,0x00,0x8b,0x4e,0x58,0x54,0x00,0x00,0x8b,0x4e,0xed,0x73, 0x00,0x00,0x8b,0x4e,0x66,0x8f,0x00,0x00,0xdf,0x70,0x85,0x88,0x85,0x88,0x00,0x00,0x8b,0x4e,0xed,0x73, 0x7f,0x95,0x00,0x00,0x68,0x56,0x00,0x00,0xa1,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x75,0x00,0x00, 0xed,0x70,0x00,0x00,0xc4,0x9e,0x00,0x00,0x8e,0x70,0x00,0x00,0x27,0x60,0x00,0x00,0x1d,0x5e,0x00,0x00, 0xc4,0x9e,0x50,0x5b,0x59,0x5b,0x00,0x00,0xc7,0x75,0x27,0x60,0x00,0x00,0x0f,0x59,0x00,0x00,0x25,0x74, 0x81,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x5c,0x4f,0x00,0x00,0xa1,0x80,0x00,0x00,0x3f,0x62,0x00,0x00, 0xb0,0x65,0x00,0x00,0xdc,0x83,0x00,0x00,0xb6,0x5b,0x00,0x00,0x6d,0x99,0x00,0x00,0xd1,0x91,0x00,0x00, 0x27,0x8d,0x00,0x00,0x3f,0x62,0xe2,0x56,0x00,0x00,0x03,0x00,0x00,0x00,0xfa,0x8b,0x6e,0x91,0x00,0x00, 0xc3,0x70,0x00,0x00,0xcc,0x96,0x9a,0x91,0x00,0x00,0x05,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x2d,0x5e, 0x00,0x00,0x75,0x5b,0x00,0x00,0xa2,0x68,0x00,0x00,0x8a,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0x05,0x95, 0x00,0x00,0x4c,0x71,0x00,0x00,0x89,0x80,0x00,0x00,0x04,0x00,0x00,0x00,0x4b,0x62,0xef,0x53,0xed,0x70, 0x00,0x00,0xed,0x70,0x00,0x00,0xe4,0x70,0x00,0x00,0x77,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x80, 0x00,0x00,0xcc,0x5b,0x00,0x00,0xee,0x76,0x00,0x00,0x77,0x91,0x00,0x00,0x69,0x5f,0x00,0x00,0x3d,0x4e, 0x00,0x00,0x80,0x62,0x00,0x00,0xa8,0x52,0x00,0x00,0x00,0x80,0x27,0x60,0x00,0x00,0x00,0x80,0x16,0x5e, 0x00,0x00,0x01,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xbd,0x75,0x00,0x00,0x6b,0x70, 0x00,0x00,0x16,0x53,0x00,0x00,0xbd,0x75,0xc5,0x75,0x00,0x00,0x20,0x7d,0x00,0x00,0xbd,0x75,0x46,0x67, 0xcc,0x83,0x00,0x00,0xbd,0x75,0xed,0x70,0x00,0x00,0xc6,0x76,0x00,0x00,0x50,0x5b,0xb2,0x51,0x00,0x00, 0xbe,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x5f,0x00,0x00,0x70,0x8f,0x00,0x00,0xfb,0x51,0x00,0x00, 0x75,0x51,0x00,0x00,0x36,0x52,0x00,0x00,0x6b,0x70,0x00,0x00,0xcb,0x53,0x00,0x00,0x54,0x58,0x00,0x00, 0x70,0x70,0x00,0x00,0xf0,0x58,0x00,0x00,0x03,0x00,0x00,0x00,0xaf,0x70,0x09,0x67,0x5e,0x79,0x00,0x00, 0xaf,0x70,0x00,0x00,0x0d,0x69,0x00,0x00,0x07,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x87,0x65,0x00,0x00, 0x00,0x80,0x00,0x00,0x15,0x71,0x00,0x00,0xdb,0x70,0x00,0x00,0x1a,0x85,0x00,0x00,0x57,0x84,0x00,0x00, 0x0a,0x00,0x00,0x00,0x39,0x5f,0x00,0x00,0x6f,0x83,0x00,0x00,0xc1,0x6b,0x00,0x00,0x21,0x9e,0x00,0x00, 0x7b,0x6b,0x00,0x00,0x89,0x63,0x00,0x00,0x3a,0x67,0x00,0x00,0x24,0x4f,0x00,0x00,0x71,0x91,0x62,0x97, 0x00,0x00,0xc2,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xc4,0x8b,0x00,0x00,0xfb,0x51,0x00,0x00,0xc3,0x71, 0x00,0x00,0x3f,0x51,0x00,0x00,0x4d,0x4f,0x00,0x00,0x0d,0x54,0x00,0x00,0xb9,0x70,0x00,0x00,0x6b,0x70, 0x00,0x00,0xc3,0x5f,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00,0x82,0x53, 0x00,0x00,0xb9,0x6c,0x82,0x53,0x00,0x00,0x16,0x53,0x00,0x00,0x26,0x71,0x00,0x00,0xa2,0x94,0x00,0x00, 0xd1,0x91,0x2f,0x67,0x00,0x00,0xc1,0x94,0x00,0x00,0x36,0x52,0x00,0x00,0xf1,0x72,0x00,0x00,0x06,0x00, 0x00,0x00,0xed,0x70,0x00,0x00,0xdb,0x76,0x00,0x00,0xc8,0x70,0x00,0x00,0x36,0x71,0x00,0x00,0xc5,0x60, 0x00,0x00,0xed,0x70,0x6b,0x70,0x71,0x5c,0x91,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0xc1,0x70,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3e,0x5c,0x00,0x00,0x3e,0x5c,0x7c,0x69,0x00,0x00,0x4a,0x64,0x50,0x5b,0x00,0x00, 0xe5,0x6c,0x00,0x00,0x9f,0x71,0x00,0x00,0x47,0x72,0x00,0x00,0x2b,0x6f,0x00,0x00,0x38,0x81,0x00,0x00, 0x89,0x91,0x00,0x00,0x26,0x8d,0x00,0x00,0x05,0x00,0x00,0x00,0xfa,0x57,0x00,0x00,0x16,0x53,0x5c,0x4f, 0x28,0x75,0x00,0x00,0x21,0x87,0x00,0x00,0x7b,0x7c,0x00,0x00,0x9f,0x53,0xa9,0x5c,0x00,0x00,0x0a,0x00, 0x00,0x00,0xeb,0x58,0x00,0x00,0x6b,0x70,0x00,0x00,0xe5,0x65,0x00,0x00,0xa6,0x5e,0x00,0x00,0xeb,0x58, 0x75,0x96,0xed,0x56,0x00,0x00,0x52,0x91,0x00,0x00,0xeb,0x58,0x93,0x58,0x00,0x00,0x30,0x71,0x00,0x00, 0x27,0x60,0x52,0x91,0x00,0x00,0x27,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x0a,0x00, 0x00,0x00,0x19,0x71,0x00,0x00,0x72,0x5e,0x00,0x00,0xe4,0x70,0x00,0x00,0x58,0x62,0x00,0x00,0x72,0x5e, 0x3a,0x67,0x00,0x00,0xf9,0x57,0x00,0x00,0xb1,0x7b,0x00,0x00,0xd8,0x70,0x00,0x00,0x36,0x52,0x00,0x00, 0x89,0x70,0x00,0x00,0x09,0x00,0x00,0x00,0x70,0x53,0x00,0x00,0xc1,0x94,0x00,0x00,0x7c,0x99,0x00,0x00, 0x3b,0x75,0x00,0x00,0x3b,0x52,0x00,0x00,0xd5,0x75,0x00,0x00,0xb1,0x82,0x00,0x00,0x3b,0x75,0xb6,0x5b, 0x00,0x00,0x5b,0x8d,0x00,0x00,0x09,0x00,0x00,0x00,0x49,0x51,0x00,0x00,0xf0,0x53,0x00,0x00,0x6b,0x70, 0x00,0x00,0x67,0x71,0x00,0x00,0x71,0x5f,0x00,0x00,0xea,0x6c,0x00,0x00,0xb1,0x82,0x00,0x00,0x62,0x5f, 0x6f,0x70,0x00,0x00,0xb6,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x8d,0x00,0x4e,0xf6,0x65,0x00,0x00, 0x6b,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x11,0x6c,0x00,0x00,0xce,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x49,0x83,0x00,0x00,0xb1,0x82,0x00,0x00,0xf0,0x53,0x00,0x00,0xfe,0x96,0x00,0x00,0xf1,0x56,0x00,0x00, 0x11,0x6c,0x00,0x00,0x18,0x5c,0x00,0x00,0x14,0x6c,0x00,0x00,0x34,0x59,0x00,0x00,0x6b,0x70,0x00,0x00, 0x0a,0x00,0x00,0x00,0x89,0x80,0x00,0x00,0xb1,0x7b,0x00,0x00,0x2d,0x9e,0x00,0x00,0xf7,0x74,0x00,0x00, 0x21,0x9e,0x00,0x00,0x36,0x52,0x00,0x00,0x32,0x4e,0x00,0x00,0x9f,0x71,0x00,0x00,0xdf,0x70,0x00,0x00, 0x89,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x7c,0x60,0x00,0x00,0x81,0x8e,0x00,0x00,0xba,0x4e,0x00,0x00, 0xc3,0x5f,0x8b,0x4e,0x00,0x00,0xf7,0x95,0x00,0x00,0xc3,0x5f,0x00,0x00,0xf7,0x8b,0x00,0x00,0x70,0x62, 0x00,0x00,0x10,0x74,0x00,0x00,0xe5,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xe4,0x70,0x00,0x00,0x24,0x4f, 0x00,0x00,0xb1,0x94,0x00,0x00,0xc1,0x6b,0x00,0x00,0x99,0x99,0x00,0x00,0x7c,0x99,0x00,0x00,0x36,0x52, 0x00,0x00,0x26,0x71,0x00,0x00,0xb1,0x78,0x00,0x00,0xe4,0x70,0x4a,0x64,0x00,0x00,0x02,0x00,0x00,0x00, 0x62,0x97,0x00,0x00,0x6d,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x24,0x4f,0x00,0x00,0x4b,0x62,0x71,0x5c, 0x8b,0x82,0x00,0x00,0xd1,0x53,0x00,0x00,0xd1,0x91,0x00,0x00,0x21,0x87,0x00,0x00,0x34,0x59,0xd1,0x53, 0x00,0x00,0x34,0x59,0x00,0x00,0x62,0x97,0x00,0x00,0x63,0x88,0x00,0x00,0x97,0x65,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb9,0x70,0x00,0x00,0xc5,0x60,0x00,0x00,0xe8,0x95,0x00,0x00,0xcf,0x91,0x00,0x00,0xbf,0x7e, 0x00,0x00,0x31,0x72,0x00,0x00,0xc8,0x70,0x00,0x00,0x6e,0x6f,0x00,0x00,0x77,0x88,0x00,0x00,0xf9,0x95, 0x00,0x00,0x03,0x00,0x00,0x00,0xc3,0x70,0x00,0x00,0xb3,0x78,0x00,0x00,0xc3,0x70,0x82,0x53,0x00,0x00, 0x06,0x00,0x00,0x00,0xfa,0x57,0x00,0x00,0xc3,0x70,0x00,0x00,0xfa,0x57,0x16,0x53,0x00,0x00,0xfa,0x57, 0xef,0x82,0xfa,0x78,0x78,0x91,0xa0,0x94,0x00,0x00,0xfa,0x57,0xef,0x82,0x00,0x00,0x27,0x6c,0xfa,0x57, 0x00,0x00,0x09,0x00,0x00,0x00,0x6a,0x99,0x00,0x00,0x03,0x8c,0x00,0x00,0x36,0x52,0x00,0x00,0x36,0x83, 0x00,0x00,0x6a,0x99,0xd5,0x6c,0x00,0x00,0x03,0x8c,0x08,0x5e,0x00,0x00,0x03,0x8c,0x2f,0x67,0x00,0x00, 0x03,0x8c,0xfe,0x8b,0x00,0x00,0x6e,0x71,0x00,0x00,0x09,0x00,0x00,0x00,0x6b,0x70,0x00,0x00,0x6b,0x70, 0xf0,0x53,0x00,0x00,0xdf,0x70,0x00,0x00,0xe7,0x71,0x00,0x00,0x6b,0x70,0x71,0x5c,0x00,0x00,0x6b,0x70, 0xde,0x8f,0x29,0x59,0x00,0x00,0x6b,0x70,0xdb,0x56,0x77,0x8d,0x00,0x00,0xdf,0x70,0x4d,0x90,0x30,0x57, 0x00,0x00,0xdf,0x70,0xdb,0x56,0x77,0x8d,0x00,0x00,0x05,0x00,0x00,0x00,0x06,0x80,0x00,0x00,0x06,0x80, 0xbf,0x53,0x00,0x00,0x06,0x80,0xde,0x56,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x06,0x80, 0xc6,0x76,0x30,0x57,0x00,0x00,0xe5,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x63,0x00,0x00,0x21,0x95, 0x00,0x00,0x1d,0x7f,0x00,0x00,0xe5,0x5d,0x00,0x00,0xb9,0x70,0x00,0x00,0xa1,0x7b,0x00,0x00,0xaa,0x67, 0x00,0x00,0x99,0x65,0x00,0x00,0xd8,0x76,0x00,0x00,0xc5,0x88,0x00,0x00,0x02,0x00,0x00,0x00,0xd1,0x9e, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x06,0x00,0x00,0x00,0xd1,0x53,0x00,0x00,0x36,0x71,0x00,0x4e,0xb0,0x65, 0x00,0x00,0xa4,0x80,0x00,0x00,0x36,0x71,0x00,0x00,0x69,0x5f,0x00,0x00,0x15,0x71,0x00,0x00,0x01,0x00, 0x00,0x00,0xe7,0x70,0x05,0x95,0x00,0x00,0x05,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00,0x6d,0x99,0x00,0x00, 0xe4,0x70,0x00,0x00,0x89,0x70,0x00,0x00,0xb9,0x6c,0x3a,0x67,0x00,0x00,0x07,0x00,0x00,0x00,0xe7,0x70, 0x00,0x00,0xe4,0x70,0x00,0x00,0x72,0x5e,0x00,0x00,0x9c,0x67,0x00,0x00,0x89,0x7c,0x00,0x00,0xe7,0x70, 0x89,0x70,0x00,0x00,0x4e,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xe7,0x70,0x00,0x00,0xe7,0x70,0x82,0x53, 0x00,0x00,0xc1,0x6b,0x00,0x00,0x99,0x99,0x00,0x00,0x38,0x5c,0x00,0x00,0x16,0x53,0x00,0x00,0xe7,0x70, 0x89,0x70,0x00,0x00,0xcf,0x7e,0x00,0x00,0x16,0x53,0x89,0x70,0x00,0x00,0x66,0x4e,0x51,0x57,0x12,0x51, 0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x51,0x86, 0x00,0x00,0xad,0x70,0x00,0x00,0x64,0x71,0x00,0x00,0x25,0x60,0x00,0x00,0x5c,0x4f,0x00,0x00,0x16,0x53, 0x00,0x00,0x81,0x8e,0x00,0x00,0xb9,0x6c,0x00,0x00,0xd6,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c, 0x00,0x00,0xeb,0x70,0x00,0x00,0x03,0x00,0x00,0x00,0x6b,0x70,0x00,0x00,0xe3,0x53,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x06,0x00,0x00,0x00,0x0e,0x54,0x00,0x00,0x0c,0x80,0x00,0x00,0x19,0x52,0x00,0x00,0x36,0x71, 0x00,0x00,0xfa,0x8b,0x00,0x00,0x77,0x98,0x00,0x00,0x06,0x00,0x00,0x00,0xe7,0x70,0x82,0x53,0x00,0x00, 0xe7,0x70,0x00,0x00,0xbc,0x70,0x00,0x00,0x10,0x62,0x2b,0x67,0x00,0x00,0x89,0x70,0x00,0x00,0xf3,0x77, 0x8f,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x6b,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x4c,0x71,0x00,0x00, 0xa0,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0xac,0x71,0x00,0x00,0x7c,0x99,0x00,0x00,0xcb,0x86,0x00,0x00, 0x7a,0x99,0x00,0x00,0x34,0x6c,0x00,0x00,0xb8,0x70,0xdf,0x98,0xc1,0x54,0x00,0x00,0x05,0x95,0x00,0x00, 0x41,0x6c,0x00,0x00,0x7c,0x9c,0x00,0x00,0xb8,0x70,0xb9,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0x5c,0x71, 0x00,0x00,0xa0,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x8d,0xe6,0x82,0xc3,0x5f,0x00,0x00,0x09,0x67, 0xcb,0x4e,0x8b,0x4e,0x00,0x00,0xce,0x98,0x6f,0x66,0x00,0x00,0x14,0x7b,0x00,0x00,0x66,0x8f,0x00,0x00, 0x7d,0x76,0x00,0x00,0x14,0x6c,0x00,0x00,0x2f,0x66,0x00,0x00,0x4f,0x4f,0x00,0x00,0x5e,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0xad,0x70,0x00,0x00,0xff,0x77,0x00,0x00,0x1a,0x4e,0x00,0x00,0x14,0x6c,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x42,0x5c,0x14,0x6c,0x00,0x00,0x01,0x4f,0x00,0x00,0x16,0x53,0xe5,0x5d,0x00,0x00, 0xb9,0x6c,0x00,0x00,0xad,0x70,0xa1,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0x66,0x71,0x00,0x00,0x96,0x66, 0x00,0x00,0xc1,0x4e,0x51,0x5b,0x49,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x7e,0x98, 0x00,0x00,0x0e,0x66,0x00,0x00,0x37,0x68,0x00,0x00,0x04,0x5c,0x00,0x00,0x99,0x65,0x00,0x00,0x38,0x5e, 0x00,0x00,0xf8,0x76,0x00,0x00,0xf8,0x76,0x3a,0x67,0x00,0x00,0x2c,0x64,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb8,0x6c,0x00,0x00,0x6d,0x99,0x00,0x00,0x64,0x6c,0x00,0x00,0xc2,0x70,0x00,0x00,0x62,0x97,0x00,0x00, 0x34,0x6c,0x00,0x00,0xdf,0x98,0x00,0x00,0xda,0x6e,0x00,0x00,0xdc,0x83,0x00,0x00,0x36,0x52,0x00,0x00, 0x08,0x00,0x00,0x00,0x64,0x6c,0x00,0x00,0xa5,0x7c,0x00,0x00,0xd4,0x4e,0x6d,0x99,0x00,0x00,0x3a,0x67, 0x00,0x00,0xd4,0x4e,0x00,0x00,0xac,0x51,0xdc,0x74,0x00,0x00,0x67,0x52,0x00,0x00,0x54,0x54,0x00,0x00, 0x01,0x00,0x00,0x00,0x99,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0xc5,0x60,0x00,0x00, 0xa8,0x52,0x27,0x60,0x00,0x00,0xce,0x98,0xb9,0x70,0x6b,0x70,0x00,0x00,0xa8,0x52,0x05,0x80,0x00,0x00, 0xa8,0x52,0xa0,0x98,0x86,0x89,0xfd,0x56,0xb6,0x5b,0x3f,0x65,0x43,0x67,0x00,0x00,0xd1,0x60,0x00,0x00, 0xc5,0x60,0x0f,0x5f,0x00,0x00,0xa0,0x98,0x00,0x00,0x34,0x96,0xce,0x98,0x00,0x00,0x04,0x00,0x00,0x00, 0x6b,0x70,0x00,0x00,0x6d,0x70,0x00,0x00,0x6f,0x70,0x00,0x00,0x6f,0x70,0xf7,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x2b,0x73,0x00,0x00,0x02,0x5e,0x00,0x00,0x69,0x5b,0x50,0x5b,0x00,0x00,0xc6,0x80,0x00,0x00, 0x8a,0x71,0x00,0x00,0xc6,0x80,0x89,0x7c,0x00,0x00,0x8c,0x63,0x00,0x00,0x2b,0x73,0x01,0x5e,0x00,0x00, 0xc1,0x8b,0x00,0x00,0x2b,0x73,0x3c,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x96,0x00,0x00,0x60,0x4e, 0x00,0x00,0xb8,0x84,0x00,0x00,0x36,0x52,0x00,0x00,0x89,0x80,0x00,0x00,0x99,0x99,0x00,0x00,0xd3,0x67, 0x00,0x00,0x3c,0x77,0x00,0x00,0x63,0x88,0x49,0x83,0x00,0x00,0x72,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdb,0x76,0x00,0x00,0x16,0x53,0x00,0x00,0xb9,0x70,0x00,0x00,0xa9,0x5c,0x00,0x00,0xad,0x65,0x00,0x00, 0x8d,0x87,0x00,0x00,0x89,0x70,0x00,0x00,0xbc,0x70,0x00,0x00,0xc1,0x6b,0x00,0x00,0xf8,0x94,0x00,0x00, 0x0a,0x00,0x00,0x00,0x99,0x71,0x18,0x65,0x18,0x65,0x00,0x00,0x99,0x71,0x00,0x00,0x18,0x65,0x00,0x00, 0x81,0x5b,0x00,0x00,0xdd,0x5d,0x00,0x00,0xa6,0x60,0x71,0x5c,0x00,0x00,0x65,0x67,0x18,0x65,0x80,0x5f, 0x00,0x00,0xef,0x53,0x00,0x00,0x8c,0x54,0x00,0x00,0x99,0x71,0xe4,0x58,0xe4,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0x89,0x60,0x00,0x00,0xc3,0x7e,0x00,0x00,0xba,0x4e,0x00,0x00,0xe5,0x77,0x00,0x00,0xdf,0x98, 0x00,0x00,0x61,0x77,0x00,0x00,0xc6,0x8b,0x00,0x00,0x0f,0x90,0x00,0x00,0x99,0x65,0x00,0x00,0x73,0x59, 0x00,0x00,0x07,0x00,0x00,0x00,0xa0,0x71,0x00,0x00,0xa0,0x71,0x1f,0x75,0x89,0x8f,0x00,0x00,0x00,0x80, 0x00,0x00,0x5c,0x71,0x00,0x00,0xc1,0x70,0x00,0x00,0xa0,0x71,0x41,0x6d,0x69,0x5f,0x00,0x00,0xa0,0x71, 0xea,0x95,0xea,0x95,0x00,0x00,0x05,0x00,0x00,0x00,0x97,0x65,0x00,0x00,0x73,0x5e,0x00,0x00,0xeb,0x70, 0x00,0x00,0x63,0x88,0x7f,0x67,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x59,0x00,0x00, 0x36,0x52,0x00,0x00,0xa5,0x7c,0x00,0x00,0x8f,0x81,0x00,0x00,0x4e,0x71,0x00,0x00,0xf4,0x66,0x88,0x5b, 0x1c,0x59,0x00,0x00,0x11,0x52,0x00,0x00,0xc3,0x5f,0x00,0x00,0x03,0x7a,0x00,0x00,0x6f,0x83,0x00,0x00, 0x02,0x00,0x00,0x00,0xcf,0x51,0x00,0x00,0x3c,0x50,0x00,0x00,0x04,0x00,0x00,0x00,0xae,0x5f,0x00,0x00, 0xf2,0x54,0x00,0x00,0x73,0x5e,0xf3,0x77,0xcf,0x7e,0x00,0x00,0x49,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x99,0x65,0x00,0x00,0xe7,0x70,0x00,0x00,0x14,0x6c,0x00,0x00,0xb9,0x6c,0x00,0x00,0x64,0x71,0x00,0x00, 0x3e,0x65,0x00,0x00,0x77,0x8d,0x00,0x00,0x99,0x65,0xb9,0x6c,0x00,0x00,0x09,0x77,0x4b,0x4e,0x25,0x60, 0x00,0x00,0xb9,0x6c,0x39,0x8d,0x00,0x00,0x04,0x00,0x00,0x00,0x9f,0x53,0x00,0x00,0x9f,0x53,0x4b,0x4e, 0xbf,0x52,0x00,0x00,0xe1,0x6c,0x00,0x00,0x7c,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x9e,0x00,0x00, 0x9d,0x7a,0x00,0x00,0xac,0x4e,0x00,0x00,0xca,0x90,0x00,0x00,0x50,0x5b,0x00,0x00,0xa6,0x9e,0x47,0x72, 0x00,0x00,0x71,0x5c,0x00,0x00,0x75,0x8d,0xfd,0x90,0x02,0x5e,0xa5,0x62,0x00,0x00,0x8e,0x83,0x00,0x00, 0xed,0x56,0x00,0x00,0x04,0x00,0x00,0x00,0xed,0x70,0x00,0x00,0xaa,0x90,0x00,0x00,0x7f,0x6e,0x00,0x00, 0x14,0x6c,0x00,0x00,0x03,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0xba,0x4e,0x0f,0x6c,0x00,0x00,0xba,0x4e, 0x00,0x00,0x03,0x00,0x00,0x00,0x8c,0x54,0x00,0x00,0x06,0x74,0x00,0x00,0xcb,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb8,0x70,0x00,0x00,0xd1,0x53,0x00,0x00,0x99,0x65,0x00,0x00,0xfa,0x51,0x00,0x00,0xf9,0x7a, 0x00,0x00,0xb8,0x70,0x48,0x68,0x00,0x00,0x34,0x78,0x00,0x00,0x92,0x70,0x00,0x00,0xb8,0x70,0x69,0x72, 0x00,0x00,0xd1,0x53,0x0f,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x80,0x00,0x00,0x01,0x00,0x00,0x00, 0x6b,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3a,0x67,0x00,0x00,0xc7,0x54,0x00,0x00, 0xc7,0x54,0x9b,0x5c,0x00,0x00,0x59,0x72,0x00,0x00,0x70,0x53,0x00,0x00,0x2a,0x72,0x00,0x00,0xfe,0x87, 0x00,0x00,0xc7,0x54,0x4e,0x86,0x00,0x00,0xa9,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00, 0x4c,0x88,0x00,0x00,0x47,0x53,0x00,0x00,0x6b,0x86,0x00,0x00,0x0a,0x4e,0x00,0x00,0x11,0x68,0x00,0x00, 0xaf,0x68,0x00,0x00,0x99,0x58,0x00,0x00,0x2c,0x72,0x00,0x00,0x71,0x5c,0x4e,0x86,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc5,0x60,0x00,0x00,0xc3,0x5f,0x00,0x00,0x7d,0x59,0x05,0x80,0x00,0x00,0x7d,0x59,0x00,0x00, 0x14,0x5c,0x70,0x51,0x00,0x00,0xba,0x4e,0x00,0x00,0xfd,0x56,0x00,0x00,0x0a,0x4e,0x00,0x00,0x9a,0x62, 0x00,0x00,0xe0,0x56,0xaf,0x65,0x66,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0x00,0x00,0xeb,0x58, 0x50,0x4e,0x00,0x00,0x4d,0x4f,0x00,0x00,0x37,0x72,0x00,0x00,0xeb,0x58,0x1e,0x82,0x00,0x00,0xeb,0x58, 0x13,0x9f,0x00,0x00,0xeb,0x58,0xf3,0x97,0x50,0x4e,0x00,0x00,0x84,0x79,0x00,0x00,0xeb,0x58,0x1f,0x96, 0x00,0x00,0xaa,0x6e,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x6b,0x00,0x00,0xb2,0x4e,0x00,0x00, 0x50,0x5b,0x00,0x00,0x88,0x8f,0x00,0x00,0x73,0x59,0x00,0x00,0xcd,0x6b,0xb2,0x4e,0x00,0x00,0xb2,0x4e, 0x82,0x82,0x00,0x00,0x31,0x72,0x00,0x00,0x8b,0x73,0x00,0x00,0xfb,0x7c,0x00,0x00,0x08,0x00,0x00,0x00, 0x37,0x72,0x00,0x00,0xec,0x4e,0x00,0x00,0xec,0x4e,0x3f,0x51,0x00,0x00,0xe9,0x4f,0x00,0x00,0x3f,0x51, 0xe9,0x4f,0x00,0x00,0x3f,0x51,0xec,0x4e,0x00,0x00,0x76,0x59,0x00,0x00,0x3f,0x51,0x00,0x00,0x03,0x00, 0x00,0x00,0x38,0x72,0x00,0x00,0x88,0x59,0x00,0x00,0x38,0x72,0xe5,0x65,0x00,0x00,0x04,0x00,0x00,0x00, 0x39,0x72,0x00,0x00,0x88,0x59,0x00,0x00,0x18,0x5a,0x00,0x00,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0xeb,0x5f,0x00,0x00,0xa4,0x80,0x34,0x6c,0x00,0x00,0xa6,0x7e,0x00,0x00,0xe3,0x53,0x00,0x00,0x17,0x67, 0x00,0x00,0xab,0x8e,0x89,0x7c,0x00,0x00,0x6a,0x6b,0x6a,0x6b,0x00,0x00,0xd1,0x6e,0x00,0x00,0x30,0x52, 0x00,0x00,0x06,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0x41,0x72,0x00,0x00,0x42,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3a,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xb5,0x6b,0x00,0x00,0x62,0x97,0x00,0x00,0x3b,0x52, 0x00,0x00,0x2d,0x4e,0x00,0x00,0xd4,0x4e,0x40,0x76,0x00,0x00,0x42,0x52,0x00,0x00,0xb9,0x65,0x00,0x00, 0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x43,0x67,0x00,0x00,0x2c,0x67,0x00,0x00,0xfe,0x56,0x00,0x00, 0x57,0x57,0x00,0x00,0x62,0x97,0x00,0x00,0x3b,0x75,0x00,0x00,0x43,0x67,0x40,0x5c,0x00,0x00,0x43,0x67, 0xb9,0x65,0x00,0x00,0x3b,0x4e,0x00,0x00,0x0e,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x67,0x71,0x00,0x00, 0x50,0x5b,0x00,0x00,0x4a,0x57,0x00,0x00,0xf7,0x53,0x00,0x00,0x3e,0x53,0x00,0x00,0x4d,0x4f,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x7c,0x69,0x00,0x00,0xc1,0x8b,0x00,0x00,0x62,0x97,0x00,0x00,0x01,0x00,0x00,0x00, 0x31,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x9f,0x00,0x00,0x8f,0x81,0x00,0x00,0x37,0x52,0x00,0x00, 0x88,0x9f,0x00,0x00,0x3b,0x53,0x00,0x00,0x7e,0x7b,0x00,0x00,0xd1,0x79,0x00,0x00,0x70,0x4e,0xa0,0x52, 0x00,0x00,0x57,0x59,0x00,0x00,0xdb,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x59,0x00,0x00,0x89,0x80, 0x00,0x00,0x02,0x5e,0x00,0x00,0xa1,0x80,0x00,0x00,0x7f,0x98,0x00,0x00,0x3c,0x90,0x00,0x00,0xd4,0x4e, 0xe4,0x88,0x00,0x00,0x25,0x6d,0x00,0x00,0x1d,0x52,0x73,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0x04,0x00, 0x00,0x00,0x61,0x72,0x00,0x00,0x21,0x9e,0xf8,0x53,0x68,0x66,0x00,0x00,0x21,0x9e,0x61,0x72,0x23,0x9e, 0x00,0x00,0x61,0x72,0x8a,0x9a,0xc4,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0xd6,0x53, 0x00,0x00,0xd6,0x53,0xb4,0x66,0x29,0x52,0x00,0x00,0x3c,0x5c,0x5b,0x4f,0x00,0x00,0x73,0x5e,0x00,0x00, 0x73,0x5e,0x3a,0x53,0x00,0x00,0x9a,0x5b,0x00,0x00,0x9a,0x5b,0xbf,0x53,0x00,0x00,0x73,0x5e,0xbf,0x53, 0x00,0x00,0x57,0x7f,0x79,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x39,0x4e,0x00,0x00,0xce,0x86,0x00,0x00,0x8a,0x7f,0xa7,0x5e,0x00,0x00,0x39,0x4e,0x5f,0x6c,0x00,0x00, 0x8a,0x7f,0x00,0x00,0x39,0x4e,0xad,0x4e,0x00,0x00,0x39,0x4e,0x5f,0x6c,0x02,0x5e,0x00,0x00,0x39,0x4e, 0xb1,0x82,0x00,0x00,0x39,0x4e,0xed,0x56,0x00,0x00,0x39,0x4e,0xf0,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x62,0x72,0x00,0x00,0xfa,0x56,0x00,0x00,0xb0,0x8b,0x00,0x00,0x9a,0x9a,0x00,0x00,0xa6,0x5e,0x00,0x00, 0xf1,0x72,0x00,0x00,0x3f,0x62,0x00,0x00,0x60,0x97,0x00,0x00,0xf1,0x72,0x4b,0x4e,0x7e,0x70,0x00,0x00, 0x3c,0x7b,0x00,0x00,0x02,0x00,0x00,0x00,0x5b,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00, 0x5b,0x72,0x00,0x00,0x5b,0x72,0x89,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x57,0x00,0x00,0x08,0x5e, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x11,0x6c,0x00,0x00,0x8a,0x7f,0x00,0x00,0x3a,0x53,0x00,0x00,0x49,0x83, 0x00,0x00,0x05,0x80,0x00,0x00,0x8a,0x7f,0xac,0x72,0x00,0x00,0x8a,0x7f,0xba,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x28,0x8d,0x00,0x00,0x41,0x6d,0x00,0x00,0x1a,0x4e,0x00,0x00,0xf7,0x4e,0x00,0x00,0xc1,0x54, 0x00,0x00,0x06,0x74,0x00,0x00,0x44,0x8d,0x00,0x00,0x53,0x4f,0x00,0x00,0xcd,0x79,0x00,0x00,0x06,0x74, 0x66,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xad,0x5c,0x57,0x88,0x00,0x00,0x5b,0x72,0x00,0x00,0x04,0x00, 0x00,0x00,0x5c,0x75,0x00,0x00,0xe3,0x53,0x00,0x00,0x5c,0x75,0xaa,0x7c,0x00,0x00,0x5c,0x75,0x34,0x59, 0x70,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x7e,0x72,0x00,0x00,0xe6,0x89,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x89,0x6d,0x00,0x00,0x6f,0x62,0x00,0x00,0xa8,0x52,0x00,0x00,0xde,0x8f,0x00,0x00, 0x15,0x5f,0x00,0x00,0x36,0x52,0x00,0x00,0x02,0x63,0x00,0x00,0x3a,0x5f,0x00,0x00,0xbf,0x7e,0x2d,0x64, 0x65,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0x5b,0x72,0x00,0x00,0x6c,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2b,0x52,0x00,0x00,0x8a,0x6b,0x00,0x00,0xb9,0x70,0x00,0x00,0x72,0x82,0x00,0x00,0x81,0x5f,0x00,0x00, 0x9a,0x5b,0x00,0x00,0x27,0x59,0x00,0x00,0x3a,0x53,0x00,0x00,0x27,0x60,0x00,0x00,0xa6,0x7e,0x00,0x00, 0x06,0x00,0x00,0x00,0x72,0x72,0x00,0x00,0x72,0x72,0xc1,0x54,0x00,0x00,0x72,0x72,0x05,0x80,0x00,0x00, 0x72,0x72,0x53,0x62,0x00,0x00,0x72,0x72,0x30,0x57,0x00,0x00,0x72,0x72,0x3b,0x4e,0x49,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0x5b,0x72,0x00,0x00,0xd2,0x89,0x00,0x00,0x29,0x52,0xe5,0x54, 0x00,0x00,0x5b,0x72,0xd2,0x89,0x00,0x00,0x1f,0x9e,0x00,0x00,0xd2,0x89,0x6f,0x67,0x00,0x00,0x66,0x6d, 0x00,0x00,0x66,0x6d,0x47,0x95,0x00,0x00,0x66,0x6d,0xd9,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57, 0x00,0x00,0x34,0x59,0x00,0x00,0x30,0x75,0x00,0x00,0xe7,0x94,0x00,0x00,0x15,0x80,0x00,0x00,0x9f,0x6c, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x5b,0x72,0x00,0x00,0x02,0x5e,0x47,0x95,0x00,0x00,0x56,0x67,0x00,0x00, 0x01,0x00,0x00,0x00,0x6c,0x97,0x00,0x00,0x02,0x00,0x00,0x00,0xd2,0x89,0x00,0x00,0xd2,0x89,0xee,0x65, 0xef,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x40,0x96,0x57,0x7f, 0x00,0x00,0x3a,0x4e,0xbf,0x53,0x00,0x00,0x3a,0x4e,0x00,0x00,0x5b,0x72,0x00,0x00,0x01,0x00,0x00,0x00, 0x5b,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x5b,0x72,0x00,0x00,0x02,0x00,0x00,0x00,0xb3,0x52,0x00,0x00, 0x4f,0x8d,0x00,0x00,0x03,0x00,0x00,0x00,0x34,0x56,0x00,0x00,0xb2,0x52,0x00,0x00,0xb2,0x52,0x3f,0x51, 0x00,0x00,0x01,0x00,0x00,0x00,0x5b,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xea,0x53,0x00,0x00,0x7b,0x7c, 0x00,0x00,0xd1,0x79,0x00,0x00,0x12,0x51,0x00,0x00,0x7f,0x9f,0x00,0x00,0x12,0x51,0x3b,0x4e,0x49,0x4e, 0x00,0x00,0x20,0x54,0x00,0x00,0x1c,0x59,0xc9,0x53,0x00,0x00,0x3b,0x4e,0x00,0x00,0x59,0x72,0xa4,0x4e, 0x19,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x6a,0x7f,0x00,0x00,0x6a,0x7f,0x06,0x52,0x50,0x5b,0x00,0x00, 0xba,0x4e,0x00,0x00,0x19,0x95,0x00,0x00,0x0b,0x4e,0x00,0x00,0xd5,0x6c,0x00,0x00,0x6a,0x7f,0x87,0x73, 0x00,0x00,0x48,0x68,0x00,0x00,0xc4,0x89,0x00,0x00,0xf0,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x72, 0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x60,0x00,0x00,0xb5,0x51,0x00,0x00,0x43,0x51,0x00,0x00,0x4a,0x54, 0x00,0x00,0xed,0x8b,0x00,0x00,0xb8,0x7e,0x00,0x00,0x8c,0x8c,0x00,0x00,0x50,0x5b,0x00,0x00,0x43,0x51, 0x7c,0x69,0x00,0x00,0x43,0x51,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x8d,0x60,0x00,0x00,0x0a,0x00, 0x00,0x00,0x6b,0x8c,0x00,0x00,0x82,0x59,0x00,0x00,0x2a,0x59,0xba,0x4e,0x00,0x00,0x2a,0x59,0x00,0x00, 0x6b,0x8c,0x0d,0x4e,0xb3,0x51,0x00,0x00,0x2a,0x59,0x59,0x65,0x00,0x00,0xd6,0x4e,0xde,0x5d,0x00,0x00, 0x6b,0x8c,0x1f,0x67,0x00,0x00,0x91,0x75,0x00,0x00,0x27,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x54,0x9b, 0x00,0x00,0x22,0x6b,0x00,0x00,0xed,0x70,0x00,0x00,0xac,0x72,0xc5,0x75,0x00,0x00,0xd9,0x98,0x00,0x00, 0x22,0x6b,0x82,0x82,0x00,0x00,0x54,0x59,0x00,0x00,0xce,0x98,0x00,0x00,0x6e,0x6f,0x00,0x00,0xba,0x4e, 0x00,0x00,0x07,0x00,0x00,0x00,0xc1,0x4e,0x70,0x67,0x00,0x00,0xc9,0x62,0x4b,0x51,0x00,0x00,0xf4,0x66, 0xaf,0x65,0x00,0x00,0x65,0x59,0x1a,0x59,0x00,0x00,0xc4,0x4f,0x2a,0x50,0x22,0x7d,0xaf,0x65,0x00,0x00, 0x6c,0x51,0x48,0x68,0x00,0x00,0xe2,0x6c,0x6e,0x66,0xf4,0x7e,0xc9,0x62,0x00,0x00,0x01,0x00,0x00,0x00, 0x49,0x73,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x93,0x59,0x00,0x00, 0x35,0x66,0x00,0x00,0x93,0x59,0xb6,0x51,0x38,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf8,0x72,0x00,0x00, 0x96,0x59,0x00,0x00,0xed,0x81,0x00,0x00,0x91,0x75,0x00,0x00,0x34,0x73,0x00,0x00,0xf8,0x72,0xbe,0x7c, 0x00,0x00,0xf8,0x72,0x89,0x80,0x00,0x00,0xd9,0x4e,0x00,0x00,0x0b,0x67,0xd7,0x72,0xcb,0x53,0x00,0x00, 0x47,0x50,0x4e,0x86,0x01,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x72,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd7,0x72,0x00,0x00,0x89,0x80,0x00,0x00,0x40,0x88,0x00,0x00,0xae,0x7c,0x00,0x00,0x41,0x5c,0x00,0x00, 0x4e,0x5c,0x00,0x00,0x3c,0x77,0x00,0x00,0x0d,0x4e,0x06,0x74,0x00,0x00,0x34,0x59,0x00,0x00,0x8a,0x71, 0x00,0x00,0x06,0x00,0x00,0x00,0xfb,0x51,0x00,0x00,0xfb,0x51,0x4b,0x62,0x00,0x00,0xfb,0x51,0xaa,0x67, 0x00,0x00,0x40,0x67,0x00,0x00,0xfb,0x51,0x18,0x62,0x00,0x00,0x3a,0x52,0x00,0x00,0x02,0x00,0x00,0x00, 0x2b,0x73,0x00,0x00,0x11,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0xe0,0x72,0x00,0x00,0x93,0x62,0x00,0x00, 0xc3,0x5f,0x00,0x00,0xdb,0x62,0x00,0x00,0xd2,0x6b,0x00,0x00,0x4b,0x62,0x00,0x00,0x79,0x62,0x00,0x00, 0xb2,0x52,0x00,0x00,0xe0,0x72,0xc3,0x5f,0x00,0x00,0x7d,0x54,0x00,0x00,0x09,0x00,0x00,0x00,0x3e,0x73, 0x00,0x00,0xa9,0x8f,0x00,0x00,0xc8,0x8b,0x00,0x00,0xe0,0x9e,0x00,0x00,0x54,0x51,0x09,0x4e,0x9f,0x7a, 0x00,0x00,0xd1,0x6e,0x00,0x00,0xef,0x72,0x00,0x00,0xa1,0x8b,0x00,0x00,0x56,0x8d,0x00,0x00,0x03,0x00, 0x00,0x00,0x0e,0x73,0x00,0x00,0x0e,0x73,0x3a,0x57,0x00,0x00,0x0e,0x73,0x05,0x80,0x00,0x00,0x0a,0x00, 0x00,0x00,0xcb,0x7a,0x00,0x00,0x79,0x72,0x00,0x00,0xb6,0x5b,0x00,0x00,0xea,0x81,0x00,0x00,0x9b,0x5c, 0x00,0x00,0x09,0x67,0x00,0x00,0xcb,0x7a,0x27,0x60,0x00,0x00,0x1f,0x75,0x50,0x5b,0x73,0x59,0x00,0x00, 0x44,0x8d,0x00,0x00,0x00,0x4e,0xe0,0x65,0x8c,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x84,0x7a,0x00,0x00, 0x0f,0x5c,0x00,0x00,0x49,0x4e,0x00,0x00,0x98,0x96,0x00,0x00,0x7f,0x95,0x00,0x00,0xef,0x8d,0xf8,0x76, 0x22,0x90,0x00,0x00,0x1d,0x7f,0x00,0x00,0xd5,0x9c,0x00,0x00,0xef,0x8d,0x00,0x00,0x37,0x8c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0xa7,0x5e,0x00,0x00,0x50,0x5b,0x34,0x59,0x00,0x00, 0x50,0x5b,0x71,0x5c,0x00,0x00,0x50,0x5b,0x73,0x59,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x27,0x59, 0x00,0x5f,0xe3,0x53,0x00,0x00,0x50,0x5b,0x1a,0x4f,0x00,0x00,0x50,0x5b,0x8b,0x73,0x00,0x00,0xe8,0x95, 0x00,0x00,0x01,0x00,0x00,0x00,0xde,0x72,0x00,0x00,0x07,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00,0x66,0x8b, 0x00,0x00,0xcb,0x53,0x00,0x00,0x52,0x53,0x00,0x00,0xb9,0x65,0x00,0x00,0x3f,0x65,0x00,0x00,0x0f,0x54, 0x00,0x00,0x02,0x00,0x00,0x00,0xcb,0x4e,0x00,0x00,0x25,0x60,0x00,0x00,0x03,0x00,0x00,0x00,0x2b,0x73, 0x00,0x00,0xb1,0x82,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0xc8,0x72, 0x00,0x00,0xc9,0x85,0x00,0x00,0x27,0x60,0x00,0x00,0x1e,0x54,0x4e,0x86,0xbd,0x54,0x00,0x00,0xa4,0x7f, 0x00,0x00,0xcb,0x53,0x00,0x00,0xd7,0x72,0x00,0x00,0xdf,0x70,0x00,0x00,0xc8,0x72,0x0d,0x4e,0x2a,0x58, 0x00,0x00,0x01,0x00,0x00,0x00,0xc1,0x72,0x00,0x00,0x02,0x00,0x00,0x00,0xad,0x4e,0x00,0x00,0xad,0x4e, 0x3a,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xd6,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0x34,0x59,0x00,0x00,0x69,0x72,0x00,0x00,0x40,0x67,0x00,0x00,0x79,0x8c,0x00,0x00,0xaa,0x67,0x00,0x00, 0x47,0x59,0x00,0x00,0x70,0x9e,0x00,0x00,0x37,0x62,0xa7,0x5e,0x00,0x00,0xac,0x72,0x00,0x00,0x02,0x00, 0x00,0x00,0x34,0x73,0x43,0x68,0x00,0x00,0x34,0x73,0x00,0x00,0x06,0x00,0x00,0x00,0x57,0x73,0x00,0x00, 0xc2,0x72,0x00,0x00,0xab,0x62,0x00,0x00,0x16,0x73,0xc2,0x72,0xc2,0x72,0x00,0x00,0x89,0x53,0x00,0x00, 0x71,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xc8,0x70,0x00,0x00,0x9e,0x58,0x00,0x00,0xa8,0x6d,0x00,0x00, 0x4e,0x86,0x00,0x00,0x36,0x71,0x00,0x00,0xbd,0x79,0x00,0x00,0x7d,0x51,0x00,0x00,0x30,0x57,0x00,0x00, 0xfb,0x51,0x00,0x00,0x99,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x6d,0x00,0x00,0xf3,0x60,0x00,0x00, 0x91,0x75,0x00,0x00,0x1c,0x73,0x00,0x00,0xcc,0x5f,0x00,0x00,0x2d,0x4e,0x00,0x00,0x1c,0x8c,0x00,0x00, 0x30,0x52,0x00,0x00,0x0d,0x4e,0x0f,0x90,0x00,0x00,0xf3,0x62,0x00,0x00,0x04,0x00,0x00,0x00,0x7b,0x6b, 0x00,0x00,0x0d,0x4e,0xca,0x53,0x32,0x96,0x00,0x00,0x36,0x71,0x00,0x00,0xd1,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0x01,0x73,0x00,0x00,0x01,0x00,0x00,0x00,0xf2,0x72,0x00,0x00,0x04,0x00,0x00,0x00,0xb5,0x4e, 0x00,0x00,0x10,0x74,0x00,0x00,0x55,0x73,0x00,0x00,0xb5,0x4e,0x27,0x60,0xb4,0x66,0x32,0x97,0x00,0x00, 0x04,0x00,0x00,0x00,0x29,0x73,0x00,0x00,0xa2,0x7e,0xed,0x70,0x00,0x00,0xa2,0x7e,0x00,0x00,0xa2,0x7e, 0x72,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x80,0x00,0x00,0x41,0x6d,0x1f,0x61,0x00,0x00,0x9d,0x80, 0x00,0x00,0x40,0x88,0x00,0x00,0x44,0x8e,0x00,0x00,0xb9,0x6c,0x00,0x00,0xf7,0x4e,0x00,0x00,0x34,0x59, 0x00,0x00,0x3a,0x57,0x00,0x00,0x6b,0x51,0x12,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xaa,0x54,0x00,0x00, 0x7b,0x81,0x00,0x00,0x34,0x59,0x70,0x9e,0x00,0x00,0xae,0x7c,0x00,0x00,0x2a,0x72,0x00,0x00,0xd1,0x79, 0x00,0x00,0x3f,0x51,0x00,0x00,0x3c,0x77,0x00,0x00,0x02,0x78,0x00,0x00,0xd4,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0xc6,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x88,0x00,0x00,0xd9,0x7e,0x00,0x00,0xab,0x8e, 0x00,0x00,0x40,0x88,0x05,0x80,0x00,0x00,0xb1,0x82,0x00,0x00,0x3c,0x79,0x00,0x00,0x31,0x55,0x00,0x00, 0xa1,0x8b,0x2e,0x73,0x56,0x7b,0x00,0x00,0x6d,0x79,0x00,0x00,0x7a,0x82,0x00,0x00,0x01,0x00,0x00,0x00, 0xfd,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x68,0x79,0x00,0x00,0x8b,0x73,0x00,0x00, 0x34,0x59,0xc7,0x83,0x00,0x00,0x25,0x60,0x00,0x00,0xa4,0x7f,0x00,0x00,0x74,0x5e,0x6c,0x9a,0x08,0x67, 0x00,0x00,0x3f,0x51,0x00,0x00,0xe5,0x54,0x00,0x00,0x71,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0xd9,0x72, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x08,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x34,0x73, 0x00,0x00,0x7b,0x7c,0x00,0x00,0xaa,0x7c,0x00,0x00,0x98,0x98,0x93,0x5e,0x00,0x00,0xf0,0x58,0x00,0x00, 0x83,0x73,0x00,0x00,0xa9,0x5c,0x99,0x9f,0xab,0x5c,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x9b,0x5c, 0x00,0x00,0x50,0x5b,0x00,0x00,0x34,0x59,0x20,0x9f,0xee,0x76,0x00,0x00,0xee,0x72,0x61,0x83,0x61,0x4e, 0x00,0x00,0x01,0x00,0x00,0x00,0xac,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x59,0x73,0x00,0x00,0x01,0x00, 0x00,0x00,0x59,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x8c,0x00,0x00,0x02,0x00,0x00,0x00,0x54,0x51, 0x00,0x00,0x6d,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x3b,0x9b,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x79, 0x00,0x00,0x01,0x00,0x00,0x00,0x3f,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x59,0x00,0x00,0x3a,0x67, 0x00,0x00,0xf6,0x53,0x00,0x00,0x66,0x5b,0x00,0x00,0x66,0x6b,0x00,0x00,0x7b,0x5e,0x00,0x00,0x66,0x6b, 0xa9,0x5c,0x00,0x00,0x99,0x59,0x00,0x00,0x66,0x6b,0x56,0x6e,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x48,0x51,0x00,0x00,0x86,0x98,0x00,0x00,0x27,0x60,0x00,0x00,0x1f,0x77,0x00,0x00,0xf4,0x76, 0x00,0x00,0x17,0x4f,0x00,0x00,0x48,0x51,0x82,0x57,0x03,0x83,0x00,0x00,0x14,0x5c,0x00,0x00,0x58,0x54, 0x00,0x00,0x7d,0x51,0xdf,0x98,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x11,0x68, 0x00,0x00,0xf3,0x77,0x00,0x00,0x68,0x56,0x00,0x00,0x50,0x5b,0x00,0x00,0x99,0x9f,0x00,0x00,0x97,0x67, 0x00,0x00,0x70,0x51,0x00,0x00,0x54,0x51,0x00,0x00,0xd5,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x80, 0x09,0x54,0x00,0x00,0xd0,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0xfd,0x56,0x00,0x00,0xa4,0x5b,0x00,0x00, 0x1d,0x67,0x00,0x00,0x83,0x59,0x00,0x00,0xb6,0x5b,0x00,0x00,0x53,0x90,0x00,0x00,0x9c,0x5e,0x95,0x4e, 0x00,0x00,0x03,0x00,0x00,0x00,0xb2,0x73,0x00,0x00,0xf0,0x73,0x00,0x00,0x8e,0x73,0xb2,0x73,0xb2,0x73, 0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x74,0x00,0x00,0x02,0x00,0x00,0x00,0x99,0x9f,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3d,0x4e,0x00,0x00,0xc5,0x96,0x00,0x00,0x59,0x74,0x00,0x00,0x3c,0x68, 0x3d,0x4e,0x79,0x72,0x00,0x00,0x29,0x52,0x9a,0x4e,0x00,0x00,0x3d,0x4e,0x9a,0x4e,0x00,0x00,0xc5,0x96, 0xba,0x4e,0x00,0x00,0x8e,0x83,0x00,0x00,0x8e,0x83,0xc9,0x62,0x82,0x84,0x00,0x00,0xb3,0x7e,0xaf,0x65, 0x00,0x00,0x01,0x00,0x00,0x00,0xf7,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0x00,0x00,0x77,0x51, 0x00,0x00,0x0f,0x61,0x00,0x00,0x11,0x7b,0x00,0x00,0x0d,0x80,0x00,0x00,0x0f,0x61,0x3f,0x51,0x00,0x00, 0xa9,0x73,0x00,0x00,0x3f,0x51,0x00,0x00,0xd5,0x6c,0x00,0x00,0x04,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x70,0x74,0x00,0x00,0x70,0x74,0xb1,0x82,0x00,0x00,0x70,0x74,0xed,0x56,0x00,0x00,0x33,0x74,0xef,0x51, 0x00,0x00,0x70,0x74,0x72,0x82,0x00,0x00,0x70,0x74,0xd1,0x91,0x00,0x00,0x35,0x83,0x02,0x58,0x00,0x00, 0x70,0x74,0xa2,0x7e,0x00,0x00,0xa2,0x7e,0x72,0x82,0x00,0x00,0xa2,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x83,0x58,0x00,0x00,0xdd,0x4f,0x00,0x00,0xd4,0x6b,0x00,0x00,0x82,0x82,0x00,0x00,0x03,0x74,0x00,0x00, 0x03,0x74,0x51,0x7f,0x00,0x00,0xdd,0x4f,0x40,0x5c,0x00,0x00,0xdd,0x4f,0xe8,0x90,0x00,0x00,0xc4,0x8b, 0x00,0x00,0x6b,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x57,0x00,0x00,0x3a,0x57,0x00,0x00,0x61,0x8c, 0x00,0x00,0xd1,0x91,0x00,0x00,0xe3,0x4e,0x00,0x00,0x9e,0x5b,0x00,0x00,0x09,0x67,0x00,0x00,0xb6,0x72, 0x00,0x00,0x4c,0x88,0x00,0x00,0x27,0x8d,0x00,0x00,0x06,0x00,0x00,0x00,0xb2,0x73,0x00,0x00,0xd1,0x73, 0x00,0x00,0x50,0x5b,0x00,0x00,0xd1,0x73,0x54,0x52,0x0f,0x90,0x00,0x00,0xe2,0x77,0x00,0x00,0x4e,0x53, 0x00,0x00,0x04,0x00,0x00,0x00,0x41,0x74,0x00,0x00,0x41,0x74,0x3c,0x77,0x5c,0x95,0x00,0x00,0x41,0x74, 0xf3,0x58,0x00,0x00,0xb3,0x73,0xb1,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x61,0x6c,0x00,0x00,0xb1,0x8f, 0x00,0x00,0x05,0x00,0x00,0x00,0x50,0x4e,0x00,0x00,0x50,0x4e,0x3d,0x4e,0x3f,0x51,0x00,0x00,0xda,0x8b, 0x00,0x00,0x90,0x6e,0xf0,0x53,0x00,0x00,0x70,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x83,0x74,0x00,0x00, 0x29,0x52,0xf4,0x7e,0x9a,0x4e,0x00,0x00,0x83,0x74,0xf6,0x74,0x00,0x00,0x3f,0x5c,0x78,0x91,0x00,0x00, 0x83,0x74,0x97,0x7a,0x00,0x00,0x83,0x74,0x6f,0x67,0x00,0x00,0x29,0x52,0xe6,0x74,0x14,0x5c,0x00,0x00, 0xa4,0x7e,0x00,0x00,0x14,0x5c,0x00,0x00,0x83,0x74,0xc3,0x5f,0x00,0x00,0x03,0x00,0x00,0x00,0xaf,0x65, 0x00,0x00,0x14,0x5c,0x00,0x00,0xd1,0x91,0xaf,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0xa6,0x6d,0x00,0x00, 0x57,0x7f,0x48,0x72,0x00,0x00,0x05,0x00,0x00,0x00,0x6a,0x8c,0x00,0x00,0x89,0x73,0x00,0x00,0x1b,0x54, 0x00,0x00,0x97,0x73,0x00,0x00,0x89,0x73,0x42,0x67,0xc6,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x74, 0x00,0x00,0xca,0x73,0x00,0x00,0x5a,0x74,0x01,0x79,0x00,0x00,0x5a,0x74,0x9b,0x5c,0x00,0x00,0x5a,0x74, 0x6b,0x86,0x00,0x00,0x5a,0x74,0xf3,0x77,0x00,0x00,0x53,0x53,0x00,0x00,0x5a,0x74,0x7c,0x9c,0x00,0x00, 0xaa,0x6e,0x00,0x00,0x5a,0x74,0x01,0x79,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x35,0x8d,0x00,0x00, 0xdc,0x60,0x00,0x00,0xe0,0x73,0x00,0x00,0xcf,0x85,0x00,0x00,0xc1,0x54,0x00,0x00,0x00,0x7a,0x00,0x00, 0x9d,0x5b,0x00,0x00,0x31,0x72,0x00,0x00,0xc6,0x89,0x00,0x00,0xae,0x59,0x00,0x00,0x04,0x00,0x00,0x00, 0x05,0x74,0x69,0x5f,0x00,0x00,0x05,0x74,0x00,0x00,0x05,0x74,0x28,0x8d,0x00,0x00,0x05,0x74,0x68,0x56, 0x00,0x00,0x02,0x00,0x00,0x00,0x9f,0x53,0x00,0x00,0x81,0x74,0x00,0x00,0x03,0x00,0x00,0x00,0xbf,0x53, 0x00,0x00,0x50,0x68,0x00,0x00,0xc9,0x6c,0x47,0x95,0x00,0x00,0x08,0x00,0x00,0x00,0xc8,0x73,0x00,0x00, 0xc8,0x73,0x71,0x5c,0x00,0x00,0xf4,0x5d,0xcf,0x65,0x00,0x00,0xf4,0x5d,0x00,0x00,0xbb,0x55,0xef,0x8d, 0x00,0x00,0x9c,0x74,0x00,0x00,0xf4,0x5d,0xed,0x8b,0x00,0x00,0xc8,0x73,0x98,0x7c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9d,0x5b,0x00,0x00,0x77,0x6d,0x00,0x00,0x09,0x4e,0xd2,0x89,0x00,0x00,0x5f,0x6c,0x00,0x00, 0x77,0x6d,0x02,0x5e,0x00,0x00,0xf0,0x5c,0x00,0x00,0x9d,0x5b,0x97,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00, 0x9d,0x5b,0x46,0x55,0x00,0x00,0x46,0x7a,0x17,0x67,0x9b,0x73,0xf0,0x5c,0x00,0x00,0x01,0x00,0x00,0x00, 0x97,0x73,0x2a,0x74,0x00,0x00,0x02,0x00,0x00,0x00,0x75,0x96,0x00,0x00,0x75,0x96,0x47,0x95,0x00,0x00, 0x01,0x00,0x00,0x00,0xe8,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3b,0x4e,0xfb,0x4e, 0x00,0x00,0x66,0x8f,0x00,0x00,0xa7,0x7e,0x00,0x00,0x7f,0x95,0x00,0x00,0xa0,0x52,0x7f,0x89,0x00,0x00, 0x21,0x6b,0x00,0x00,0x3a,0x67,0x00,0x00,0x5b,0x8d,0x00,0x00,0x95,0x5e,0x00,0x00,0x02,0x00,0x00,0x00, 0x25,0x66,0x00,0x00,0x25,0x66,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54,0x00,0x00,0x1f,0x96, 0x00,0x00,0xf7,0x8f,0x00,0x00,0x3a,0x57,0x00,0x00,0x1f,0x66,0x00,0x00,0x62,0x5f,0x00,0x00,0x53,0x4f, 0x00,0x00,0x63,0x88,0x00,0x00,0xcb,0x86,0x7d,0x76,0x00,0x00,0xb6,0x72,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0a,0x74,0x00,0x00,0xc3,0x52,0xc9,0x62,0xa6,0x90,0x00,0x00,0x90,0x5c,0x00,0x00,0x05,0x74,0x0a,0x4e, 0xe3,0x53,0x00,0x00,0x05,0x74,0x00,0x00,0x0a,0x74,0x3a,0x53,0x00,0x00,0x05,0x74,0x84,0x76,0x00,0x00, 0xa1,0x73,0x00,0x00,0x95,0x73,0x00,0x00,0x1b,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x22,0x8d,0x00,0x00, 0xe3,0x89,0x00,0x00,0xba,0x8b,0x00,0x00,0x31,0x75,0x00,0x00,0xf5,0x5f,0x00,0x00,0xf3,0x60,0x00,0x00, 0x27,0x60,0x00,0x00,0x8b,0x4e,0x1a,0x4f,0x00,0x00,0x54,0x8d,0x00,0x00,0x8b,0x4e,0x7f,0x95,0x00,0x00, 0x0a,0x00,0x00,0x00,0x83,0x74,0x00,0x00,0x03,0x74,0x00,0x00,0x03,0x74,0xa4,0x7f,0x9b,0x5c,0x00,0x00, 0x83,0x74,0x82,0x53,0x00,0x00,0x83,0x74,0xe6,0x74,0x00,0x00,0x83,0x74,0xb3,0x6c,0x00,0x00,0x03,0x74, 0xfd,0x56,0x00,0x00,0x03,0x74,0x8b,0x73,0xfd,0x56,0x00,0x00,0x83,0x74,0x8b,0x73,0x00,0x00,0x83,0x74, 0x54,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x8e,0x78,0x00,0x00,0x51,0x5c,0x00,0x00, 0xb0,0x8b,0x00,0x00,0xc6,0x7e,0x00,0x00,0x57,0x7f,0x9a,0x4e,0xaf,0x65,0xb7,0x5f,0x59,0x65,0x00,0x00, 0x10,0x74,0x00,0x00,0x57,0x7f,0x9a,0x4e,0xaf,0x65,0xb7,0x5f,0x00,0x00,0xfb,0x95,0x00,0x00,0x57,0x7f, 0x9a,0x4e,0xaf,0x65,0x79,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x2a,0x82,0x9b,0x5c,0x00,0x00,0x01,0x00, 0x00,0x00,0xe8,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0x24,0x74,0x00,0x00,0x03,0x00,0x00,0x00,0xc0,0x73, 0x00,0x00,0x59,0x4e,0x00,0x00,0xc0,0x73,0x8b,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x73,0xbf,0x53, 0x00,0x00,0x01,0x00,0x00,0x00,0x2e,0x74,0x00,0x00,0x03,0x00,0x00,0x00,0x05,0x74,0xe1,0x6e,0xee,0x76, 0x00,0x00,0xbe,0x8f,0x00,0x00,0x05,0x74,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x26,0x5f, 0x00,0x00,0xf0,0x58,0x00,0x00,0xcb,0x68,0x66,0x4e,0x3b,0x75,0x00,0x00,0x2e,0x95,0x00,0x00,0x08,0x5e, 0x00,0x00,0xf0,0x53,0x00,0x00,0x3f,0x62,0x00,0x00,0x31,0x8c,0x00,0x00,0xb6,0x5b,0x00,0x00,0x07,0x00, 0x00,0x00,0x36,0x74,0x00,0x00,0x6d,0x9e,0x00,0x00,0x36,0x74,0x56,0x6e,0x00,0x00,0x36,0x74,0x7c,0x9c, 0x00,0x00,0x36,0x74,0xa8,0x9a,0x00,0x00,0x36,0x74,0xf2,0x66,0x00,0x00,0x36,0x74,0x4c,0x88,0x00,0x00, 0x03,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0x32,0x6d,0x97,0x5e,0x00,0x00,0xf3,0x97,0x00,0x00,0x0a,0x00, 0x00,0x00,0xaf,0x65,0x00,0x00,0x77,0x6d,0x00,0x00,0xde,0x5d,0x00,0x00,0x77,0x6d,0x02,0x5e,0x00,0x00, 0x76,0x74,0x00,0x00,0x02,0x81,0x00,0x00,0x2d,0x4e,0x00,0x00,0xb1,0x82,0x00,0x00,0x71,0x5c,0x3a,0x53, 0x00,0x00,0x2d,0x4e,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x32,0x6d,0x00,0x00,0x06,0x00,0x00,0x00, 0xb5,0x75,0x00,0x00,0x0d,0x4e,0xa9,0x63,0x5c,0x74,0x00,0x00,0xb5,0x75,0xc1,0x54,0x00,0x00,0xb7,0x73, 0x00,0x00,0x5c,0x74,0x92,0x4e,0xc1,0x89,0x00,0x00,0xbf,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x81,0x9c, 0x00,0x00,0xfc,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0x2a,0x59,0x00,0x00,0x07,0x00,0x00,0x00,0x3d,0x4f, 0x00,0x00,0xc8,0x73,0x00,0x00,0x3d,0x4f,0x4c,0x88,0x3e,0x6d,0x00,0x00,0x3d,0x4f,0xfe,0x8b,0x00,0x00, 0x3d,0x4f,0x97,0x5b,0x00,0x00,0xc8,0x73,0xfe,0x8b,0x00,0x00,0xe6,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xeb,0x58,0x00,0x00,0x78,0x51,0x00,0x00,0xf6,0x94,0x00,0x00,0xe1,0x4f,0x00,0x00,0x1f,0x66,0x00,0x00, 0x89,0x5b,0x00,0x00,0xd1,0x91,0x00,0x00,0x8f,0x79,0x00,0x00,0x57,0x7a,0x00,0x00,0x3d,0x4e,0x00,0x00, 0x04,0x00,0x00,0x00,0x5f,0x74,0x00,0x00,0x29,0x7f,0x00,0x00,0x5f,0x74,0xd1,0x53,0x96,0x62,0x00,0x00, 0xcd,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x3c,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0x9d,0x5b,0x00,0x00, 0x3d,0x4e,0x00,0x00,0x47,0x59,0x00,0x00,0x02,0x5f,0x00,0x00,0x1f,0x4f,0x00,0x00,0xae,0x73,0x00,0x00, 0x2a,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x65,0x00,0x00,0x77,0x6d,0x3a,0x53,0x00,0x00,0x77,0x6d, 0x00,0x00,0xf1,0x67,0x00,0x00,0x60,0x6c,0x00,0x00,0x71,0x5c,0x00,0x00,0x61,0x4e,0x00,0x00,0xb6,0x5b, 0x00,0x00,0xaa,0x6e,0x00,0x00,0xe8,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xf2,0x73,0x61,0x67,0xa6,0x7e, 0x00,0x00,0x05,0x00,0x00,0x00,0xa8,0x74,0x00,0x00,0xa8,0x74,0x3a,0x59,0xee,0x76,0x00,0x00,0x80,0x74, 0x00,0x00,0x19,0x95,0x00,0x00,0x70,0x74,0x00,0x00,0x02,0x00,0x00,0x00,0x91,0x73,0x00,0x00,0x87,0x74, 0x00,0x00,0x01,0x00,0x00,0x00,0xde,0x73,0x00,0x00,0x02,0x00,0x00,0x00,0x1f,0x57,0x47,0x95,0x00,0x00, 0x58,0x58,0x47,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x89,0x73,0x00,0x00,0x89,0x73,0x51,0x6d,0xd1,0x91, 0x00,0x00,0xb3,0x6c,0x47,0x95,0x00,0x00,0x05,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0xbf,0x53, 0x00,0x00,0x89,0x73,0x00,0x00,0xd8,0x8f,0x00,0x00,0x22,0x8c,0x00,0x00,0x04,0x00,0x00,0x00,0x06,0x57, 0x00,0x00,0xa8,0x74,0x00,0x00,0x89,0x73,0x00,0x00,0x8e,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x06,0x52,0x00,0x00,0x9c,0x67,0x00,0x00,0x9c,0x51,0x00,0x00,0x5b,0x84,0x00,0x00,0xbe,0x8f, 0x14,0x5c,0x2f,0x6e,0x00,0x00,0xdc,0x74,0x00,0x00,0xe4,0x74,0x00,0x00,0xae,0x76,0x00,0x00,0x50,0x5b, 0x38,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x07,0x00,0x00,0x00,0x6b,0x86,0x00,0x00, 0xfc,0x6c,0x27,0x59,0xe8,0x96,0x00,0x00,0xfc,0x6c,0x00,0x00,0xfc,0x6c,0x0c,0x80,0x0b,0x4e,0x00,0x00, 0xc6,0x76,0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x5f,0x00,0x00,0x04,0x00,0x00,0x00,0x9c,0x81,0x00,0x00, 0x3f,0x51,0x00,0x00,0xe3,0x74,0x00,0x00,0xc3,0x9c,0xb2,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x65,0x00,0x00,0xe3,0x89,0x00,0x00,0x6f,0x82, 0x3c,0x68,0x00,0x00,0x54,0x58,0xc9,0x62,0x00,0x00,0x3e,0x78,0x00,0x00,0x79,0x72,0x00,0x00,0x47,0x72, 0x00,0x00,0x3f,0x62,0x00,0x00,0x7f,0x89,0xcc,0x91,0x00,0x00,0x57,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x89,0x5b,0x00,0x00,0x89,0x5b,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x8f,0x79,0x00,0x00,0x2d,0x4e, 0x49,0x63,0xd6,0x9c,0x00,0x00,0x2d,0x4e,0x4b,0x4e,0xd6,0x9c,0x00,0x00,0xf0,0x58,0xee,0x74,0x14,0x6c, 0x00,0x00,0xfa,0x68,0x00,0x00,0xfa,0x68,0x6c,0x84,0x00,0x00,0xdc,0x83,0x00,0x00,0x07,0x00,0x00,0x00, 0x77,0x6d,0x3a,0x53,0x00,0x00,0x77,0x6d,0x00,0x00,0x5f,0x6c,0x00,0x00,0xde,0x98,0x00,0x00,0x17,0x53, 0x47,0x95,0x00,0x00,0xe3,0x7e,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x98,0x00,0x00, 0x50,0x5b,0x00,0x00,0xc5,0x88,0x00,0x00,0xd6,0x76,0x00,0x00,0xe3,0x53,0x00,0x00,0xab,0x8e,0x00,0x00, 0x88,0x98,0x1f,0x67,0x00,0x00,0x95,0x5e,0x00,0x00,0xf6,0x74,0x50,0x7f,0x50,0x7f,0x00,0x00,0xa2,0x7e, 0x52,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x56,0x00,0x00,0x16,0x78,0x00,0x00,0x47,0x72,0x00,0x00, 0xf6,0x74,0x00,0x00,0x97,0x78,0x00,0x00,0xd8,0x76,0x00,0x00,0x42,0x67,0x00,0x00,0x03,0x5a,0x03,0x5a, 0x00,0x00,0x7f,0x67,0x00,0x00,0xfd,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x52,0x00,0x00,0x09,0x90, 0x00,0x00,0xd5,0x8b,0x00,0x00,0xd4,0x62,0x00,0x00,0xa1,0x5b,0x00,0x00,0x76,0x96,0x00,0x00,0x2b,0x52, 0x03,0x80,0xd5,0x8b,0x00,0x00,0x55,0x5f,0x00,0x00,0xfc,0x7e,0x00,0x00,0x28,0x75,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x83,0x80,0x00,0x00,0x83,0x80,0x01,0x77,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x17,0x85,0x00,0x00,0x32,0x97,0x00,0x00,0x49,0x83,0x00,0x00,0xb9,0x6c,0x00,0x00, 0x3f,0x61,0x00,0x00,0x30,0x57,0x00,0x00,0xdd,0x84,0x00,0x00,0x01,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf3,0x81,0x00,0x00,0x48,0x4e,0x00,0x00,0xf3,0x81,0x8e,0x4e,0x00,0x00,0xa3,0x56, 0x18,0x5c,0x0a,0x4e,0x00,0x00,0xae,0x5f,0x00,0x00,0x16,0x62,0x00,0x00,0x7f,0x5e,0x00,0x00,0x73,0x4f, 0x00,0x00,0x03,0x7b,0x00,0x00,0x0c,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x87,0x00,0x00,0x34,0x59, 0x00,0x00,0xdf,0x98,0x00,0x00,0x8e,0x7f,0x00,0x00,0xb9,0x70,0x00,0x00,0x73,0x54,0x00,0x00,0xc1,0x54, 0x00,0x00,0xdc,0x83,0x00,0x00,0x1c,0x75,0x00,0x00,0x73,0x54,0x42,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3b,0x6d,0x00,0x00,0xa7,0x4e,0x00,0x00,0x7d,0x54,0x00,0x00,0x69,0x72,0x00,0x00,0x01,0x60,0x00,0x00, 0x0f,0x61,0x00,0x00,0x58,0x5b,0x00,0x00,0x7f,0x95,0x00,0x00,0xb2,0x80,0x00,0x00,0x48,0x65,0x00,0x00, 0x01,0x00,0x00,0x00,0x73,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x62,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x30,0x57,0x00,0x00,0xc1,0x54,0x00,0x00,0x14,0x90,0x00,0x00,0x65,0x67,0x00,0x00,0xba,0x4e,0x00,0x00, 0xe5,0x5d,0x00,0x00,0x35,0x75,0xcf,0x91,0x00,0x00,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x56,0x53, 0x00,0x00,0x89,0x63,0x00,0x00,0x00,0x5f,0x00,0x00,0x4b,0x62,0x00,0x00,0x27,0x8d,0x00,0x00,0xd9,0x7a, 0x00,0x00,0x4b,0x62,0x8c,0x63,0xdc,0x67,0x00,0x00,0xa2,0x5b,0x00,0x00,0x34,0x59,0x00,0x00,0xcd,0x68, 0x00,0x00,0x02,0x00,0x00,0x00,0xef,0x7a,0x00,0x00,0xcc,0x91,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x51, 0x00,0x00,0x06,0x00,0x00,0x00,0x29,0x6e,0xbf,0x7e,0x00,0x00,0x53,0x90,0x00,0x00,0x5f,0x6c,0x00,0x00, 0xce,0x57,0x00,0x00,0xef,0x8d,0x00,0x00,0x67,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0xa1,0x7b,0x00,0x00, 0xd0,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x56,0x00,0x00,0xf4,0x95,0x00,0x00,0x30,0x57,0x00,0x00, 0x30,0x75,0x00,0x00,0xce,0x91,0x00,0x00,0x1c,0x4e,0x00,0x00,0x84,0x5f,0x00,0x00,0xd0,0x67,0x00,0x00, 0xcc,0x91,0x00,0x00,0xb3,0x7e,0x7f,0x89,0xde,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x64,0x6b,0x00,0x00,0x64,0x6b,0xef,0x53,0xc1,0x89,0x00,0x00,0x65,0x67,0xf2,0x5d,0x45,0x4e,0x00,0x00, 0x65,0x67,0x00,0x00,0x77,0x88,0x00,0x00,0x64,0x6b,0x0b,0x77,0x65,0x67,0x00,0x00,0x64,0x6b,0xef,0x53, 0xe5,0x77,0x00,0x00,0x34,0x59,0x00,0x00,0x0f,0x5c,0x30,0x52,0x27,0x59,0x00,0x00,0x0a,0x00,0x00,0x00, 0x8b,0x57,0x00,0x00,0x9b,0x91,0x00,0x00,0x41,0x6d,0x00,0x00,0xa8,0x9a,0x87,0x65,0x00,0x00,0x87,0x91, 0x00,0x00,0x7f,0x67,0x00,0x00,0xb6,0x72,0x7a,0x81,0x00,0x00,0xfa,0x57,0x00,0x00,0xb9,0x65,0x00,0x00, 0xa7,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x8b,0x00,0x00,0xa5,0x62,0x00,0x00,0x2d,0x8d,0x00,0x00, 0xf7,0x8b,0xba,0x4e,0x00,0x00,0xf6,0x94,0x00,0x00,0xc9,0x8b,0x00,0x00,0x86,0x98,0x00,0x00,0x1a,0x90, 0x00,0x00,0x9e,0x52,0x00,0x00,0xf7,0x8b,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xdd,0x8b,0x00,0x00,0xc6,0x89,0x00,0x00,0x11,0x81,0x00,0x00,0x71,0x5f,0x00,0x00,0x46,0x55,0x00,0x00, 0x9b,0x52,0x00,0x00,0xe1,0x4f,0x00,0x00,0xc6,0x89,0xf0,0x53,0x00,0x00,0x60,0x6c,0x00,0x00,0x0a,0x00, 0x00,0x00,0xba,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0x27,0x60,0x00,0x00,0x0b,0x67,0xcb,0x53,0x00,0x00, 0x73,0x59,0x00,0x00,0x1f,0x75,0x00,0x00,0x69,0x5b,0x00,0x00,0xcb,0x53,0x00,0x00,0xeb,0x58,0x00,0x00, 0xb9,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x51,0x67,0x00,0x00, 0x7f,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0xb6,0x5b,0x00,0x00,0xca,0x5e,0x00,0x00, 0x5c,0x4f,0x00,0x00,0x3b,0x75,0x00,0x00,0xcf,0x50,0x00,0x00,0x8c,0x51,0x00,0x00,0x55,0x5c,0x00,0x00, 0x28,0x8d,0x00,0x00,0xa5,0x62,0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x91,0x00,0x00,0x6e,0x91,0x00,0x00, 0x02,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x62,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x90,0x00,0x00, 0x00,0x95,0x00,0x00,0x38,0x6e,0x00,0x00,0x08,0x8c,0x00,0x00,0x00,0x95,0x66,0x4e,0x00,0x00,0xeb,0x5f, 0x00,0x00,0xf3,0x60,0x00,0x00,0x1a,0x90,0xe0,0x65,0x3b,0x96,0x00,0x00,0x40,0x62,0x32,0x6b,0x00,0x8a, 0x00,0x00,0x6e,0x99,0x00,0x00,0x01,0x00,0x00,0x00,0x0e,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97, 0x00,0x00,0x9a,0x5b,0x00,0x00,0x50,0x96,0x00,0x00,0xbf,0x7e,0x00,0x00,0x2b,0x52,0x00,0x00,0xb3,0x6c, 0x00,0x00,0x91,0x78,0x00,0x00,0x96,0x99,0x02,0x5e,0x00,0x00,0x85,0x51,0x00,0x00,0x99,0x9f,0x00,0x00, 0x01,0x00,0x00,0x00,0xa9,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe7,0x60,0x00,0x00,0x6a,0x7f,0x00,0x00, 0xbe,0x96,0x00,0x00,0x96,0x99,0x4f,0x75,0x3e,0x5c,0x00,0x00,0x29,0x7f,0x00,0x00,0x4f,0x75,0x29,0x7f, 0x29,0x7f,0x00,0x00,0x14,0x90,0x00,0x00,0xe7,0x60,0x1f,0x61,0x00,0x00,0x29,0x7f,0x0d,0x4e,0x4d,0x52, 0x00,0x00,0x2f,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0xf4,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x66,0x5b,0x00,0x00,0x66,0x5b,0x1f,0x75,0x00,0x00,0x00,0x8a,0x00,0x00,0x0f,0x61,0x00,0x00, 0xd9,0x7e,0x00,0x00,0x88,0x5b,0x00,0x00,0x4f,0x4f,0x00,0x00,0x58,0x5b,0x00,0x00,0x0b,0x4e,0x65,0x67, 0x00,0x00,0x02,0x00,0x00,0x00,0x95,0x7b,0x00,0x00,0x97,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0xdf,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0x67,0x72,0x00,0x00,0xbd,0x79,0x00,0x00,0x1f,0x75,0x00,0x00,0x67,0x72, 0x1a,0x4e,0x00,0x00,0x67,0x72,0x40,0x5c,0x00,0x00,0x1f,0x75,0x53,0x90,0x00,0x00,0xa7,0x4e,0xc1,0x54, 0x00,0x00,0x72,0x72,0x00,0x00,0x89,0x80,0x00,0x00,0x7b,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x5f, 0x00,0x00,0x26,0x5e,0x00,0x00,0x09,0x67,0x00,0x00,0x3a,0x4e,0x00,0x00,0xbb,0x53,0x00,0x00,0x5c,0x4f, 0x00,0x00,0xdc,0x80,0x00,0x4e,0x79,0x7b,0x00,0x00,0x65,0x75,0x00,0x00,0x28,0x84,0x00,0x00,0xe5,0x77, 0x00,0x4e,0x8c,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x30,0x75,0x00,0x00,0x85,0x51,0x00,0x00,0xc2,0x57, 0x00,0x00,0x9f,0x6c,0x00,0x00,0x4c,0x70,0x00,0x00,0x44,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x04,0x83, 0x00,0x00,0xba,0x79,0x00,0x00,0xba,0x79,0x3a,0x53,0x00,0x00,0x04,0x83,0xa2,0x7e,0x20,0x7d,0x00,0x00, 0x04,0x83,0x71,0x91,0x00,0x00,0xaf,0x85,0x00,0x00,0xf7,0x53,0x00,0x00,0xaf,0x85,0x51,0x7f,0x00,0x00, 0x04,0x83,0x41,0x6c,0x00,0x00,0xf3,0x77,0xb4,0x69,0x00,0x00,0x03,0x00,0x00,0x00,0xcf,0x65,0x00,0x00, 0xcf,0x65,0x61,0x4e,0x00,0x00,0x61,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x66,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x5f,0x00,0x00,0xd8,0x9a,0x00,0x00,0xd8,0x53,0x00,0x00,0x62,0x5f,0x3f,0x51,0x00,0x00, 0xce,0x80,0x00,0x00,0x62,0x5f,0x87,0x73,0x00,0x00,0xce,0x80,0x24,0x76,0x00,0x00,0x8b,0x57,0x00,0x00, 0x4e,0x4f,0x00,0x00,0x7b,0x8f,0x78,0x75,0xcd,0x91,0x00,0x00,0x04,0x00,0x00,0x00,0x3a,0x75,0x00,0x00, 0x3a,0x75,0x65,0x68,0x00,0x00,0x3a,0x75,0x02,0x5e,0x00,0x00,0x3a,0x75,0xb3,0x6c,0x00,0x00,0x01,0x00, 0x00,0x00,0x85,0x8f,0x00,0x00,0x06,0x00,0x00,0x00,0xdf,0x57,0x00,0x00,0x4c,0x75,0x00,0x00,0x1f,0x57, 0x00,0x00,0x85,0x51,0x00,0x00,0x3a,0x57,0x00,0x00,0x16,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0x11,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x65,0x00,0x00,0xfc,0x5b,0x00,0x00,0xfd,0x5f,0x00,0x00,0x1a,0x90, 0x00,0x00,0x7e,0x67,0x00,0x00,0xdc,0x8f,0x00,0x00,0x0f,0x6f,0x00,0x00,0xe3,0x89,0x00,0x00,0xbb,0x79, 0x00,0x00,0x5a,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0x3c,0x4f,0x00,0x00,0xd1,0x60, 0x00,0x00,0x51,0x86,0x00,0x00,0xb9,0x70,0x00,0x00,0xaf,0x72,0x00,0x00,0xbe,0x96,0x00,0x00,0x3a,0x4e, 0x00,0x00,0x91,0x4e,0x00,0x00,0xe0,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0xd2,0x6b,0x00,0x00,0x02,0x00, 0x00,0x00,0xbf,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x65,0x00,0x00,0xd5,0x6c, 0x00,0x00,0x0b,0x7a,0x00,0x00,0x7b,0x51,0x00,0x00,0x24,0x4f,0x00,0x00,0x7b,0x51,0x62,0x96,0x00,0x00, 0x08,0x61,0x00,0x00,0xbb,0x6c,0x00,0x00,0x7b,0x51,0x30,0x57,0x00,0x00,0x24,0x4f,0xfb,0x7c,0x00,0x00, 0x04,0x00,0x00,0x00,0x29,0x76,0x00,0x00,0x99,0x75,0x29,0x76,0x29,0x76,0x00,0x00,0xb8,0x75,0x00,0x00, 0x29,0x76,0x54,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0x05,0x00,0x00,0x00,0xbe,0x75, 0x00,0x00,0x9f,0x53,0x6b,0x86,0x00,0x00,0x8a,0x86,0x00,0x00,0xbe,0x75,0xc5,0x75,0x00,0x00,0x50,0x5b, 0x00,0x00,0x01,0x00,0x00,0x00,0xab,0x75,0x00,0x00,0x04,0x00,0x00,0x00,0x3b,0x9f,0x29,0x59,0x45,0x9e, 0x00,0x00,0x2a,0x73,0x00,0x00,0xb6,0x72,0x00,0x00,0x58,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0xd5,0x75, 0x00,0x00,0x0c,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0xae,0x75,0x00,0x00,0x6b,0x86,0x00,0x00,0x06,0x00, 0x00,0x00,0xd7,0x82,0x00,0x00,0xc5,0x60,0x00,0x00,0xc5,0x75,0x00,0x00,0x3a,0x53,0x00,0x00,0x90,0x6e, 0x00,0x00,0xb9,0x70,0x00,0x00,0x08,0x00,0x00,0x00,0xa1,0x75,0x00,0x00,0xa4,0x75,0x00,0x00,0x96,0x75, 0x00,0x00,0xcd,0x75,0x00,0x00,0xe3,0x53,0x00,0x00,0xcd,0x75,0xe1,0x6e,0xee,0x76,0x00,0x00,0xc2,0x75, 0x00,0x00,0xd5,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xc2,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0xa8,0x6d, 0x00,0x00,0x20,0x4f,0x00,0x00,0xa2,0x62,0x00,0x00,0x7f,0x95,0x00,0x00,0x5b,0x72,0x00,0x00,0x5b,0x72, 0xc5,0x75,0x00,0x00,0x6b,0x76,0x00,0x00,0xd7,0x72,0x00,0x00,0x02,0x00,0x00,0x00,0xb9,0x75,0x00,0x00, 0xb9,0x75,0xc5,0x75,0xd2,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x6f,0x8f,0x00,0x00,0xb3,0x52,0x00,0x00, 0x31,0x5f,0x00,0x00,0xeb,0x60,0x00,0x00,0x26,0x50,0x00,0x00,0x01,0x60,0x00,0x00,0x4f,0x4e,0x00,0x00, 0xeb,0x60,0x0d,0x4e,0x2a,0x58,0x00,0x00,0xb3,0x52,0x1f,0x61,0x00,0x00,0x8e,0x4e,0x54,0x59,0x7d,0x54, 0x00,0x00,0x02,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x55,0x74,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x75,0x00,0x00,0x31,0x72,0x00,0x00,0xdb,0x75,0x1f,0x61,0x00,0x00, 0xdc,0x60,0x00,0x00,0xdb,0x75,0xd1,0x79,0x00,0x00,0xaf,0x8b,0x00,0x00,0xc5,0x8f,0x00,0x00,0x0a,0x90, 0x00,0x00,0xad,0x8b,0x00,0x00,0x7b,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x75,0x00,0x00,0xa7,0x63, 0x2d,0x4e,0xc3,0x5f,0x00,0x00,0xa3,0x60,0x00,0x00,0xa7,0x63,0x00,0x00,0x7c,0x54,0x00,0x00,0xe6,0x82, 0x00,0x00,0x70,0x9a,0x00,0x00,0xce,0x98,0x00,0x00,0xc5,0x75,0xa7,0x63,0x36,0x52,0x2d,0x4e,0xc3,0x5f, 0x00,0x00,0x1f,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0xae,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0xd2,0x6b, 0x00,0x00,0xba,0x4e,0x00,0x00,0x8b,0x4f,0x00,0x00,0xc5,0x60,0x00,0x00,0x3f,0x62,0x00,0x00,0xc7,0x75, 0x00,0x00,0xd8,0x53,0x00,0x00,0x8a,0x5e,0x00,0x00,0xcc,0x83,0x00,0x00,0x86,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb6,0x72,0x00,0x00,0xd3,0x7e,0x00,0x00,0x19,0x50,0xa4,0x7f,0x00,0x00,0x19,0x50,0x00,0x00, 0xb6,0x72,0x05,0x80,0x00,0x00,0x15,0x76,0x00,0x00,0xaf,0x4f,0xa4,0x7f,0x00,0x00,0x61,0x8c,0x00,0x00, 0xb6,0x72,0x27,0x60,0x00,0x00,0x50,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0xbf,0x80,0x00,0x00,0xbd,0x75, 0x00,0x00,0x02,0x00,0x00,0x00,0x1b,0x63,0x00,0x00,0x1b,0x63,0x27,0x60,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x61,0x00,0x00,0x02,0x00,0x00,0x00,0xd2,0x75,0x00,0x00,0xd2,0x75,0x20,0x63,0x00,0x00,0x02,0x00, 0x00,0x00,0xae,0x75,0x00,0x00,0x18,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0xf9,0x8f,0x00,0x00,0xcf,0x91, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x75,0x00,0x00,0x70,0x53,0x00,0x00,0x51,0x57,0x00,0x00,0xae,0x76, 0x00,0x00,0xa4,0x75,0x00,0x00,0xd8,0x75,0x8c,0x80,0x00,0x00,0x8c,0x80,0x00,0x00,0x50,0x5b,0x00,0x00, 0xd5,0x75,0x00,0x00,0xd7,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xe6,0x82,0x00,0x00,0xcf,0x7e,0x00,0x00, 0xc3,0x5f,0x00,0x00,0xed,0x54,0x00,0x00,0xeb,0x5f,0x00,0x00,0xce,0x98,0x00,0x00,0x68,0x60,0x00,0x00, 0x1f,0x61,0x00,0x00,0xa5,0x65,0x00,0x00,0x5a,0x69,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x14,0x6c,0x00,0x00,0xa2,0x5b,0x00,0x00,0x50,0x5b,0x21,0x85,0x00,0x00,0x01,0x00,0x00,0x00,0xdb,0x75, 0x00,0x00,0x02,0x00,0x00,0x00,0xbe,0x75,0x00,0x00,0xbe,0x75,0x46,0x67,0xcc,0x83,0x00,0x00,0x01,0x00, 0x00,0x00,0xb9,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0xae,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x75,0x00,0x00,0x01,0x00, 0x00,0x00,0x1f,0x90,0xb7,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x6d,0x00,0x00,0xc2,0x76,0x00,0x00, 0xed,0x70,0x05,0x6e,0x00,0x00,0xf9,0x8f,0x00,0x00,0xdd,0x51,0x00,0x00,0x14,0x6c,0x00,0x00,0x76,0x68, 0x00,0x00,0x5b,0x79,0x7f,0x6e,0x00,0x00,0xf7,0x8f,0xc3,0x5f,0x8d,0x7a,0x00,0x00,0xc2,0x76,0x0f,0x5f, 0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x89,0x7c,0x00,0x00,0x02,0x00,0x00,0x00, 0xf9,0x75,0x00,0x00,0xb9,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x8f,0x00,0x00,0x46,0x54,0x00,0x00, 0xc5,0x60,0x00,0x00,0x46,0x54,0xc7,0x75,0x00,0x00,0xc3,0x5f,0x00,0x00,0xba,0x4e,0xf4,0x8b,0xa6,0x68, 0x00,0x00,0xc2,0x72,0x00,0x00,0x49,0x6c,0x00,0x00,0xf4,0x75,0x00,0x00,0xc3,0x5f,0x84,0x59,0xf3,0x60, 0x00,0x00,0x04,0x00,0x00,0x00,0xc7,0x75,0x00,0x00,0xc1,0x8b,0x00,0x00,0xba,0x8b,0x00,0x00,0xdb,0x75, 0x73,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0xbe,0x75,0x00,0x00,0x60,0x4e,0x00,0x00,0x56,0x76,0x00,0x00, 0x06,0x00,0x00,0x00,0x40,0x88,0x00,0x00,0x24,0x4f,0x00,0x00,0xde,0x6e,0x00,0x00,0x91,0x65,0x00,0x00, 0x52,0x97,0x00,0x00,0xb9,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00, 0xe2,0x75,0x00,0x00,0x02,0x00,0x00,0x00,0x7b,0x6b,0x00,0x00,0xd9,0x6b,0x00,0x00,0x01,0x00,0x00,0x00, 0xa1,0x7b,0x00,0x00,0x03,0x00,0x00,0x00,0xd2,0x75,0x00,0x00,0xd2,0x75,0xc7,0x75,0x00,0x00,0xd2,0x75, 0xc5,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0xad,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x80,0x00,0x00, 0x04,0x00,0x00,0x00,0xab,0x75,0x00,0x00,0x5e,0x79,0x00,0x00,0xc5,0x75,0x00,0x00,0x2a,0x73,0xab,0x75, 0x00,0x00,0x02,0x00,0x00,0x00,0x84,0x85,0x00,0x00,0x30,0x75,0x00,0x00,0x02,0x00,0x00,0x00,0xd5,0x75, 0x00,0x00,0x57,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0xc3,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xab,0x8e,0x00,0x00,0x89,0x80,0xbe,0x7c,0x00,0x00,0x89,0x80,0x00,0x00,0x7f,0x81,0x00,0x00, 0x38,0x81,0x00,0x00,0x31,0x5f,0x00,0x00,0x0f,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00,0x30,0x52,0x00,0x00, 0x70,0x81,0x00,0x00,0x06,0x00,0x00,0x00,0x09,0x4e,0x00,0x00,0x2a,0x76,0x84,0x76,0x00,0x00,0x34,0x56, 0x00,0x00,0x50,0x5b,0x00,0x00,0x77,0x96,0x00,0x00,0xba,0x87,0xe7,0x75,0x00,0x00,0x04,0x00,0x00,0x00, 0xea,0x75,0x00,0x00,0x6f,0x8f,0x00,0x00,0x50,0x5b,0x00,0x00,0xea,0x75,0xc5,0x75,0x00,0x00,0x02,0x00, 0x00,0x00,0xac,0x75,0x00,0x00,0x88,0x87,0x00,0x00,0x02,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0xa0,0x75, 0x00,0x00,0x02,0x00,0x00,0x00,0x7f,0x81,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00,0x1b,0x54, 0x50,0x5b,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xc5,0x75, 0x00,0x00,0x01,0x00,0x00,0x00,0xed,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x75,0x00,0x00,0xc6,0x7e, 0xde,0x80,0x00,0x00,0xd8,0x53,0x00,0x00,0xc7,0x75,0x51,0x67,0x00,0x00,0xbf,0x80,0x00,0x00,0x24,0x76, 0x00,0x00,0xc5,0x75,0x00,0x00,0x54,0x9b,0x00,0x00,0xcb,0x53,0x00,0x00,0x1f,0x66,0x00,0x00,0x01,0x00, 0x00,0x00,0x08,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0xc7,0x75,0x00,0x00,0xc5,0x75,0x00,0x00,0x02,0x00, 0x00,0x00,0x7d,0x59,0x00,0x00,0x27,0x60,0x00,0x00,0x06,0x00,0x00,0x00,0xe4,0x86,0xc6,0x87,0x00,0x00, 0x50,0x5b,0x00,0x00,0xe2,0x75,0x00,0x00,0xae,0x76,0xd7,0x72,0x00,0x00,0xae,0x76,0xc5,0x75,0x00,0x00, 0xdc,0x74,0x00,0x00,0x04,0x00,0x00,0x00,0xeb,0x75,0x00,0x00,0xc2,0x72,0x00,0x00,0xeb,0x75,0xc5,0x75, 0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x26,0x76,0x00,0x00,0x07,0x00,0x00,0x00,0xf3,0x5d, 0x00,0x00,0xa5,0x4e,0x00,0x00,0x6f,0x53,0x00,0x00,0x2a,0x67,0x00,0x00,0x49,0x91,0x00,0x00,0x11,0x4e, 0x00,0x00,0x34,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xb0,0x8b,0x00,0x00,0x46,0x96,0x00,0x00,0x55,0x5f, 0x00,0x00,0x3a,0x57,0x00,0x00,0x71,0x5c,0x00,0x00,0x3a,0x67,0x00,0x00,0xf0,0x53,0x00,0x00,0x46,0x96, 0x30,0x82,0x00,0x00,0xe8,0x95,0x00,0x00,0x69,0x97,0xed,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x91, 0x00,0x00,0x72,0x82,0x00,0x00,0xab,0x5b,0x00,0x00,0xf6,0x94,0x00,0x00,0x29,0x59,0x00,0x00,0x86,0x98, 0x00,0x00,0xdc,0x83,0x00,0x00,0x91,0x4e,0x00,0x00,0x6f,0x83,0x00,0x00,0xae,0x76,0x66,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x06,0x52,0xb9,0x70,0x00,0x00,0xa6,0x5e,0x00,0x00,0x07,0x4e,0x00,0x00,0xd3,0x59, 0x00,0x00,0x27,0x8d,0x00,0x00,0x74,0x5e,0x00,0x00,0xbf,0x4e,0x00,0x00,0xd1,0x79,0x00,0x00,0x08,0x54, 0x00,0x00,0xdc,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x57,0x00,0x00,0x19,0x75,0x00,0x00,0xf7,0x82, 0x00,0x00,0x20,0x7d,0x00,0x00,0x16,0x53,0x00,0x00,0xd2,0x89,0x19,0x75,0x00,0x00,0x7d,0x76,0x00,0x00, 0x5a,0x83,0x00,0x00,0x5a,0x83,0x11,0x68,0x00,0x00,0xb1,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x8b, 0x00,0x00,0x6e,0x78,0x00,0x00,0xce,0x9e,0xe2,0x6c,0xcc,0x91,0x00,0x00,0xe5,0x54,0x00,0x00,0xeb,0x58, 0x00,0x00,0x6e,0x78,0x9a,0x5b,0x27,0x60,0x00,0x00,0x6e,0x78,0x6f,0x82,0x00,0x00,0xcc,0x91,0xc5,0x96, 0xaf,0x65,0x79,0x72,0x00,0x00,0xeb,0x58,0xd9,0x7a,0x00,0x00,0xc1,0x8b,0x00,0x00,0x04,0x00,0x00,0x00, 0x27,0x59,0x22,0x6b,0x9c,0x55,0x00,0x00,0xef,0x53,0x00,0x00,0x36,0x71,0x00,0x00,0xe0,0x56,0x00,0x00, 0x0a,0x00,0x00,0x00,0x1d,0x5e,0x00,0x00,0xb6,0x5b,0x00,0x00,0x0e,0x54,0x00,0x00,0x0a,0x4e,0x00,0x00, 0xa0,0x51,0x00,0x00,0xa4,0x5b,0x00,0x00,0x0e,0x66,0x00,0x00,0xab,0x5b,0x00,0x00,0x6c,0x9a,0x00,0x00, 0x97,0x5c,0x00,0x00,0x02,0x00,0x00,0x00,0x9d,0x4f,0x00,0x00,0x9d,0x4f,0x05,0x80,0x00,0x00,0x02,0x00, 0x00,0x00,0x70,0x51,0xbf,0x53,0x00,0x00,0x70,0x51,0x00,0x00,0x09,0x00,0x00,0x00,0x01,0x6d,0x00,0x00, 0x02,0x6f,0x00,0x00,0x8e,0x76,0x00,0x00,0x36,0x71,0x00,0x00,0x7d,0x76,0x00,0x00,0x8e,0x76,0x05,0x80, 0x13,0x66,0x61,0x6c,0x00,0x00,0x08,0x67,0x00,0x00,0x07,0x5a,0x00,0x00,0x89,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0x91,0x76,0x00,0x00,0x01,0x00,0x00,0x00,0x92,0x76,0x00,0x00,0x09,0x00,0x00,0x00,0x08,0x67, 0x00,0x00,0x29,0x59,0x00,0x00,0x96,0x99,0x77,0x7a,0xcf,0x7e,0x00,0x00,0x7f,0x9f,0x00,0x00,0x96,0x99, 0x00,0x00,0x7d,0x76,0x00,0x00,0x7f,0x9f,0x31,0x67,0x07,0x55,0x00,0x00,0x7f,0x9f,0x0e,0x66,0x38,0x77, 0x00,0x00,0x96,0x99,0xcd,0x82,0x9c,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x17,0x53,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x57,0x53,0x00,0x00,0x01,0x4f,0x00,0x00,0x1a,0x90,0x00,0x00,0xf4,0x7e,0x00,0x00,0xa7,0x4e, 0x00,0x00,0x1c,0x4e,0x00,0x00,0x57,0x53,0x3b,0x53,0x66,0x5b,0x62,0x96,0x00,0x00,0x73,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa4,0x80,0x00,0x00,0x69,0x97,0x00,0x00,0x8b,0x97,0x00,0x00,0xa4,0x80,0xc5,0x75, 0x00,0x00,0xa4,0x80,0xd1,0x79,0x00,0x00,0xcb,0x86,0x00,0x00,0x14,0x5c,0x00,0x00,0x61,0x53,0x00,0x00, 0x26,0x5e,0x00,0x00,0xdb,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x7e,0x00,0x00,0x09,0x77,0x00,0x00, 0x36,0x89,0x00,0x00,0xf4,0x5d,0xf4,0x5d,0x00,0x00,0x29,0x7f,0x00,0x00,0xb1,0x76,0xf4,0x5d,0xf4,0x5d, 0x00,0x00,0x5e,0x89,0x00,0x00,0x98,0x62,0x00,0x00,0xc3,0x80,0x00,0x00,0x7a,0x64,0x00,0x00,0x01,0x00, 0x00,0x00,0xc2,0x88,0x00,0x00,0x03,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0xd5,0x6c,0x00,0x00,0xd3,0x67, 0x00,0x00,0x06,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x70,0x51,0xc6,0x76,0x82,0x82,0x00,0x00,0x70,0x51, 0xc6,0x76,0xcf,0x7e,0x00,0x00,0x70,0x51,0xc6,0x76,0x1a,0x4f,0x00,0x00,0xb9,0x65,0x34,0x6c,0xb9,0x65, 0x00,0x00,0x70,0x51,0x65,0x68,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x30,0x57,0x00,0x00,0x54,0x81,0x00,0x00,0xe1,0x6e,0xb5,0x94,0xe1,0x6e,0x00,0x00,0xcb,0x53,0x00,0x00, 0x3d,0x68,0x00,0x00,0x54,0x81,0x8e,0x70,0x00,0x00,0x6f,0x66,0x00,0x00,0x50,0x5b,0x00,0x00,0x95,0x5e, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0x59,0x4f,0x00,0x00,0x8f,0x4e, 0x00,0x00,0xd1,0x79,0x00,0x00,0x66,0x8b,0x00,0x00,0x29,0x52,0x27,0x60,0x00,0x00,0x29,0x52,0xb9,0x70, 0x00,0x00,0xc8,0x76,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x04,0x59,0x00,0x00,0x11,0x6c,0x00,0x00,0x1f,0x75,0xcc,0x83,0x00,0x00,0x33,0x96,0x00,0x00,0xbe,0x80, 0x00,0x00,0xbe,0x7c,0x00,0x00,0x4e,0x53,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x1f,0x75,0x00,0x00, 0xcd,0x6b,0x49,0x83,0x00,0x00,0x07,0x00,0x00,0x00,0xf8,0x53,0x00,0x00,0x36,0x71,0x00,0x00,0x3c,0x68, 0x81,0x9c,0x00,0x00,0xaf,0x65,0x00,0x00,0x3c,0x68,0x81,0x9c,0x92,0x64,0x4b,0x51,0x0a,0x90,0x00,0x00, 0x3c,0x68,0x81,0x9c,0x92,0x64,0x4b,0x51,0x0a,0x90,0xba,0x4e,0x00,0x00,0x3c,0x68,0x81,0x9c,0x28,0x84, 0x4b,0x51,0x0a,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0xcf,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c, 0x00,0x00,0xce,0x57,0x00,0x00,0x78,0x91,0x00,0x00,0x06,0x52,0x00,0x00,0x1a,0x4e,0x00,0x00,0x56,0x6e, 0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0x30,0x75,0x00,0x00,0x30,0x75,0x3a,0x53,0x00,0x00,0x30,0x75, 0x2f,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x7b,0x00,0x00,0x63,0x77,0x00,0x00,0x4b,0x6d,0x00,0x00, 0xa7,0x63,0x00,0x00,0xa1,0x7b,0xe8,0x90,0xe8,0x95,0x00,0x00,0xf1,0x72,0x00,0x00,0xa1,0x7b,0x42,0x5c, 0x00,0x00,0xdf,0x5b,0x00,0x00,0xc6,0x89,0x00,0x00,0x81,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x6d,0x99,0x00,0x00,0xc5,0x88,0x00,0x00,0xd6,0x76,0x00,0x00,0xd2,0x76,0x00,0x00,0x0f,0x5f, 0x00,0x00,0x95,0x5e,0x00,0x00,0x26,0x5e,0x00,0x00,0x50,0x5b,0xaa,0x67,0x00,0x00,0x8b,0x88,0x00,0x00, 0x03,0x00,0x00,0x00,0x32,0x75,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x79,0x72,0xb3,0x7e,0x00,0x00,0xe0,0x7a,0x00,0x00,0x28,0x83,0x00,0x00,0x3f,0x62, 0x00,0x00,0x47,0x6d,0x6d,0x99,0x00,0x00,0x16,0x4e,0x00,0x00,0x7f,0x67,0x00,0x00,0x9a,0x4e,0x00,0x00, 0x28,0x83,0xd4,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x72,0x00,0x00,0x83,0x7a,0x00,0x00,0x37,0x52, 0x00,0x00,0xd6,0x53,0x00,0x00,0x28,0x75,0x00,0x00,0x93,0x58,0x00,0x00,0x83,0x7a,0x6a,0x7f,0x00,0x00, 0x3c,0x8d,0x00,0x00,0xc7,0x91,0x00,0x00,0xf7,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x2d,0x4e,0x00,0x00, 0x62,0x97,0x00,0x00,0xb9,0x70,0x00,0x00,0x74,0x65,0x00,0x00,0x3b,0x6d,0x00,0x00,0x50,0x5b,0x00,0x00, 0xcb,0x65,0x00,0x00,0x1e,0x8e,0x00,0x00,0x0e,0x54,0x00,0x00,0x97,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x27,0x59,0x00,0x00,0x16,0x4e,0x00,0x00,0xb4,0x5b,0x00,0x00,0x4c,0x88,0x00,0x00,0x1a,0x4f,0x00,0x00, 0x78,0x51,0x00,0x00,0x20,0x4f,0x00,0x00,0x0f,0x59,0x00,0x00,0x00,0x5f,0x00,0x00,0xb5,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcb,0x53,0x00,0x00,0xfd,0x56,0x00,0x00,0x9b,0x51,0x00,0x00,0x3b,0x4e,0x00,0x00, 0x01,0x5a,0x00,0x00,0xd4,0x59,0x00,0x00,0xa6,0x7e,0x00,0x00,0x93,0x8a,0x00,0x00,0x21,0x68,0x00,0x00, 0xa6,0x90,0x00,0x00,0x03,0x00,0x00,0x00,0x17,0x6d,0x00,0x00,0x17,0x6d,0xa4,0x5b,0x00,0x00,0x31,0x6f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x52,0x00,0x00,0x07,0x68,0x00,0x00,0x84,0x76,0x00,0x00,0x55,0x5f, 0x00,0x00,0x49,0x51,0x00,0x00,0xfb,0x51,0x05,0x80,0x00,0x00,0x84,0x76,0x30,0x57,0x00,0x00,0x07,0x68, 0xf7,0x4e,0x00,0x00,0x4b,0x6d,0x00,0x00,0x79,0x77,0x00,0x00,0x08,0x00,0x00,0x00,0x4f,0x4f,0x00,0x00, 0x0a,0x4e,0x00,0x00,0xa2,0x68,0x00,0x00,0xd8,0x76,0x00,0x00,0x32,0x96,0x00,0x00,0xba,0x4e,0x00,0x00, 0x02,0x5e,0x00,0x00,0xc6,0x89,0x00,0x00,0x03,0x00,0x00,0x00,0x19,0x77,0x00,0x00,0x19,0x77,0xbf,0x53, 0x00,0x00,0x5f,0x6c,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x76,0x00,0x00,0xba,0x4e,0x00,0x00, 0x3a,0x53,0x00,0x00,0xb9,0x70,0x00,0x00,0xce,0x4e,0x00,0x00,0xee,0x76,0x27,0x60,0x00,0x00,0x53,0x90, 0x00,0x00,0x87,0x65,0x00,0x00,0x4d,0x96,0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x63, 0x00,0x00,0x30,0x52,0x00,0x00,0x47,0x53,0x3a,0x67,0x00,0x00,0xad,0x64,0x00,0x00,0xf3,0x81,0x00,0x00, 0x00,0x95,0x00,0x00,0x84,0x5f,0x00,0x00,0x00,0x8a,0x00,0x00,0xbf,0x7e,0x00,0x00,0xc2,0x89,0x00,0x00, 0x0a,0x00,0x00,0x00,0x73,0x51,0x00,0x00,0xf9,0x5b,0x00,0x00,0xd4,0x6b,0x00,0x00,0x53,0x5f,0x00,0x00, 0xe1,0x4f,0x00,0x00,0x94,0x5e,0x00,0x00,0x0c,0x54,0x00,0x00,0x92,0x4e,0x00,0x00,0xcd,0x53,0x00,0x00, 0x3c,0x4f,0x00,0x00,0x08,0x00,0x00,0x00,0x1b,0x67,0x00,0x00,0xfc,0x76,0x00,0x00,0x34,0x59,0x00,0x00, 0x1f,0x66,0x1f,0x66,0xfc,0x76,0x08,0x67,0xae,0x4e,0x00,0x00,0x0d,0x59,0x00,0x00,0x52,0x5f,0x00,0x00, 0xfc,0x76,0x4c,0x72,0x00,0x00,0x50,0x77,0x00,0x00,0x06,0x00,0x00,0x00,0x4c,0x72,0x00,0x00,0x84,0x67, 0x00,0x00,0x89,0x5b,0x00,0x00,0x84,0x67,0x3a,0x67,0x00,0x00,0x89,0x5b,0xa7,0x63,0xa1,0x80,0xc6,0x96, 0xe2,0x56,0x09,0x67,0x50,0x96,0x6c,0x51,0xf8,0x53,0x00,0x00,0x4c,0x72,0xa7,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd4,0x59,0x00,0x00,0xfd,0x4e,0x00,0x00,0xa7,0x7e,0x00,0x00,0x7f,0x95,0x00,0x00,0x3f,0x65, 0x9c,0x5e,0x00,0x00,0x02,0x5e,0x00,0x00,0x1a,0x4f,0x00,0x00,0x85,0x51,0x00,0x00,0x3a,0x53,0x00,0x00, 0xb1,0x94,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x77,0x00,0x00,0xc6,0x89,0x00,0x00,0x68,0x77,0x00,0x00, 0x04,0x77,0x00,0x00,0x02,0x00,0x00,0x00,0x07,0x77,0x00,0x00,0x0f,0x5c,0x00,0x00,0x01,0x00,0x00,0x00, 0x08,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0x34,0x59,0x00,0x00,0x71,0x5c,0x00,0x00, 0xee,0x76,0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0xf4,0x95,0x00,0x00,0xc3,0x5f,0x00,0x00,0xbf,0x53, 0x00,0x00,0x3c,0x77,0x00,0x00,0xde,0x98,0x72,0x82,0x1e,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52, 0x00,0x00,0x65,0x67,0x00,0x00,0x0b,0x77,0x00,0x00,0x7d,0x59,0x00,0x00,0xd5,0x6c,0x00,0x00,0xc1,0x89, 0x00,0x00,0xfa,0x51,0x00,0x00,0x85,0x5f,0x00,0x00,0x0a,0x4e,0xbb,0x53,0x00,0x00,0x77,0x8d,0x65,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x6b,0x00,0x00,0x84,0x76,0x00,0x00,0x9e,0x5b,0x00,0x00,0xf8,0x76, 0x00,0x00,0x2f,0x66,0x00,0x00,0xc3,0x5f,0x00,0x00,0x9e,0x5b,0x27,0x60,0x00,0x00,0x06,0x74,0x00,0x00, 0xda,0x8b,0x00,0x00,0x7a,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x02,0x00,0x00,0x00, 0xb3,0x51,0x34,0x56,0xc2,0x88,0x00,0x00,0x5a,0x77,0x00,0x00,0x03,0x00,0x00,0x00,0x3c,0x77,0x00,0x00, 0x3c,0x77,0x5b,0x77,0x00,0x00,0xf4,0x5d,0x00,0x00,0x07,0x00,0x00,0x00,0x55,0x66,0x00,0x00,0x49,0x51, 0x00,0x00,0xee,0x76,0x00,0x00,0xd1,0x60,0x00,0x00,0x00,0x80,0x00,0x00,0x3d,0x4e,0x00,0x00,0xba,0x4e, 0x00,0x00,0x05,0x00,0x00,0x00,0x2f,0x77,0x3c,0x77,0x00,0x00,0x1d,0x7f,0x00,0x00,0xaa,0x77,0x00,0x00, 0xf9,0x76,0x3f,0x51,0x00,0x00,0xc6,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x5b,0x77,0x00,0x00,0x01,0x00, 0x00,0x00,0xee,0x76,0xca,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x5e,0x5c,0x00,0x00,0x7e,0x98,0x00,0x00, 0x4b,0x60,0x00,0x00,0x51,0x67,0x00,0x00,0xf5,0x5f,0x00,0x00,0x37,0x77,0x00,0x00,0x31,0x72,0x00,0x00, 0x00,0x60,0x00,0x00,0x37,0x77,0x4b,0x4e,0xc5,0x60,0x00,0x00,0xe8,0x6c,0x00,0x00,0x02,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x5e,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x1b,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0x5b,0x77,0x00,0x00,0x5c,0x95,0x00,0x00,0x0b,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0x2d,0x4e,0x00,0x00, 0x49,0x51,0x00,0x00,0x03,0x74,0x00,0x00,0xcc,0x91,0x00,0x00,0xea,0x6c,0x00,0x00,0x5e,0x79,0x00,0x00, 0x01,0x00,0x00,0x00,0x3d,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x4b,0x62,0x00,0x00, 0x25,0x60,0x00,0x00,0x46,0x96,0x00,0x00,0x3c,0x77,0x00,0x00,0xcd,0x91,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x6b,0x70,0x00,0x00,0xc5,0x88,0x00,0x00,0xf3,0x60,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x5f,0x00,0x00, 0x00,0x4e,0xea,0x53,0x3c,0x77,0xed,0x95,0x00,0x4e,0xea,0x53,0x3c,0x77,0x00,0x00,0x00,0x5f,0x3c,0x77, 0x00,0x00,0xea,0x53,0x3c,0x77,0xed,0x95,0xea,0x53,0x3c,0x77,0x00,0x00,0x00,0x4e,0x3c,0x77,0xed,0x95, 0x00,0x4e,0x3c,0x77,0x00,0x00,0x3c,0x77,0x8e,0x77,0x50,0x5b,0x00,0x00,0x3c,0x77,0x00,0x00,0xed,0x95, 0x00,0x00,0x01,0x00,0x00,0x00,0xe1,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0x30,0x52, 0x00,0x00,0x7c,0x69,0x00,0x00,0x47,0x77,0x00,0x00,0x0f,0x62,0x00,0x00,0x19,0x95,0x00,0x00,0x4f,0x4f, 0x00,0x00,0xf8,0x76,0x00,0x00,0x52,0x66,0x00,0x00,0x13,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x7a,0x81, 0x8e,0x70,0x00,0x00,0x02,0x00,0x00,0x00,0x26,0x77,0xc5,0x5f,0xa5,0x62,0x00,0x00,0x26,0x77,0x00,0x00, 0x0a,0x00,0x00,0x00,0x20,0x77,0x00,0x00,0xc9,0x89,0x00,0x00,0x4d,0x52,0x00,0x00,0x40,0x77,0x00,0x00, 0x63,0x88,0x00,0x00,0xa6,0x68,0x00,0x00,0xff,0x59,0x00,0x00,0x30,0x52,0x00,0x00,0x8b,0x88,0x00,0x00, 0x0f,0x61,0x00,0x00,0x06,0x00,0x00,0x00,0x81,0x5b,0x00,0x00,0x81,0x5b,0xbf,0x53,0x00,0x00,0xbf,0x53, 0x00,0x00,0x33,0x96,0x3a,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x20,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc3,0x4f,0x00,0x00,0xfc,0x5b,0x00,0x00,0xe5,0x67,0x00,0x00,0x9e,0x52,0x00,0x00,0xdf,0x5b,0x00,0x00, 0xe5,0x67,0xc4,0x7e,0x00,0x00,0xdf,0x5b,0xc4,0x7e,0x00,0x00,0xfc,0x5b,0xc4,0x7e,0x00,0x00,0xdf,0x5b, 0x7f,0x95,0x00,0x00,0x09,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x77,0x00,0x00,0x06,0x00,0x00,0x00, 0xbb,0x90,0x00,0x00,0xbb,0x90,0xcb,0x53,0x7d,0x59,0x00,0x00,0xbb,0x90,0x3f,0x65,0x56,0x7b,0x00,0x00, 0x51,0x67,0x00,0x00,0xb2,0x4e,0x00,0x00,0x0a,0x8c,0x00,0x00,0x01,0x00,0x00,0x00,0xc6,0x89,0x00,0x00, 0x01,0x00,0x00,0x00,0x38,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0xdb,0x6b,0x8f,0x81, 0x00,0x00,0xb6,0x72,0x8c,0x80,0x00,0x00,0xdb,0x6b,0x39,0x59,0x00,0x00,0xb6,0x72,0x53,0x4f,0x00,0x00, 0x02,0x00,0x00,0x00,0x69,0x72,0x1d,0x60,0xba,0x4e,0x00,0x00,0x65,0x59,0x00,0x00,0x03,0x00,0x00,0x00, 0xdd,0x8f,0x00,0x00,0x7d,0x77,0x00,0x00,0x94,0x96,0x00,0x00,0x09,0x00,0x00,0x00,0x38,0x4e,0x00,0x00, 0x6e,0x91,0x00,0x00,0x38,0x4e,0x6e,0x91,0x00,0x00,0x38,0x4e,0xc0,0x6f,0x20,0x7d,0x00,0x00,0x38,0x4e, 0x4c,0x76,0x00,0x00,0x38,0x4e,0x20,0x7d,0x00,0x00,0x38,0x4e,0x8e,0x70,0x00,0x00,0x3e,0x75,0x6e,0x91, 0x00,0x00,0x38,0x4e,0x3e,0x75,0x6e,0x91,0x00,0x00,0x06,0x00,0x00,0x00,0x7a,0x66,0x00,0x00,0xe1,0x4f, 0x00,0x00,0xcc,0x5b,0x8c,0x4e,0xf7,0x53,0x00,0x00,0xfc,0x7f,0x00,0x00,0xcc,0x5b,0x00,0x00,0x7a,0x66, 0x05,0x80,0x00,0x00,0x08,0x00,0x00,0x00,0xc6,0x51,0x00,0x00,0xc6,0x51,0x5c,0x95,0x00,0x00,0xc6,0x51, 0x77,0x51,0x00,0x00,0xc6,0x51,0x68,0x56,0x00,0x00,0x30,0x52,0x00,0x00,0x77,0x51,0x00,0x00,0x84,0x77, 0x00,0x00,0x96,0x6e,0x00,0x00,0x03,0x00,0x00,0x00,0x85,0x77,0x00,0x00,0xc1,0x89,0x00,0x00,0x6c,0x77, 0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x77,0x00,0x00,0x87,0x77,0x3c,0x77,0x00,0x00,0x01,0x00,0x00,0x00, 0x99,0x84,0x00,0x00,0x04,0x00,0x00,0x00,0x5a,0x60,0x00,0x00,0xc3,0x5f,0x00,0x00,0x12,0x60,0x00,0x00, 0xee,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0x61,0x77,0x00,0x00,0x61,0x77,0x6b,0x86,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0xf4,0x8b,0x00,0x00,0x6f,0x62,0x00,0x00,0x1c,0x73,0x00,0x00,0xdd,0x8b, 0x00,0x00,0x3c,0x77,0x00,0x00,0x9c,0x67,0x00,0x00,0x50,0x5b,0x78,0x64,0x61,0x8c,0x00,0x00,0x99,0x84, 0x00,0x00,0xf9,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0xee,0x76,0x00,0x00,0xf3,0x60,0x00,0x00,0x29,0x77, 0x00,0x00,0x08,0x00,0x00,0x00,0xa5,0x62,0x00,0x00,0x29,0x59,0xc7,0x8f,0x77,0x6d,0x00,0x00,0x97,0x9a, 0x00,0x00,0x48,0x68,0x00,0x00,0x0a,0x4e,0x3a,0x6b,0x0b,0x4e,0x00,0x00,0x57,0x84,0x00,0x00,0xc4,0x54, 0x00,0x00,0x29,0x59,0x27,0x59,0x0e,0x8c,0x00,0x00,0x03,0x00,0x00,0x00,0xc9,0x89,0x00,0x00,0x92,0x91, 0x00,0x00,0x97,0x54,0x00,0x00,0x03,0x00,0x00,0x00,0xee,0x76,0xd3,0x7e,0x0c,0x82,0x00,0x00,0xee,0x76, 0x00,0x00,0x4e,0x4e,0x76,0x51,0x0e,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x6f,0x60,0x00,0x00,0x02,0x00, 0x00,0x00,0xc1,0x89,0x00,0x00,0xc6,0x89,0x00,0x00,0x05,0x00,0x00,0x00,0x0d,0x4e,0x77,0x8d,0x00,0x00, 0xa7,0x77,0x00,0x00,0xc1,0x89,0x00,0x00,0x97,0x5f,0x77,0x8d,0x00,0x00,0x40,0x77,0x9e,0x52,0x00,0x00, 0x02,0x00,0x00,0x00,0xee,0x76,0x00,0x00,0x1b,0x67,0x00,0x00,0x03,0x00,0x00,0x00,0x3c,0x77,0x00,0x00, 0x9a,0x7f,0x00,0x00,0xee,0x76,0xdd,0x51,0xc6,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x95,0x00,0x00, 0xf6,0x65,0x00,0x00,0x6f,0x60,0x07,0x4e,0xd8,0x53,0x00,0x00,0x6f,0x60,0x00,0x00,0xfb,0x79,0x00,0x00, 0x73,0x53,0x00,0x00,0x6f,0x60,0x4b,0x4e,0xf4,0x95,0x00,0x00,0x9c,0x81,0x00,0x00,0xb7,0x5e,0x00,0x00, 0x0e,0x97,0x00,0x00,0x06,0x00,0x00,0x00,0x1b,0x67,0x00,0x00,0xe3,0x89,0x00,0x00,0x1b,0x67,0xf0,0x53, 0x00,0x00,0x1b,0x67,0x54,0x58,0x00,0x00,0x1b,0x67,0xe8,0x54,0x00,0x00,0xe8,0x54,0x00,0x00,0x02,0x00, 0x00,0x00,0x34,0x4e,0x00,0x00,0x1b,0x67,0x00,0x00,0x03,0x00,0x00,0x00,0x54,0x5b,0x00,0x00,0xc1,0x4e, 0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x4e,0x00,0x00,0x4d,0x52,0x7e,0x98,0x0e,0x54, 0x00,0x00,0x3c,0x79,0x00,0x00,0x1b,0x67,0x00,0x00,0x7e,0x98,0x00,0x00,0xdc,0x62,0x00,0x00,0xf0,0x4e, 0x85,0x53,0x00,0x00,0xf0,0x4e,0x05,0x80,0x00,0x00,0xa9,0x77,0x00,0x00,0x86,0x69,0x61,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0x07,0x96,0x00,0x00,0x07,0x00,0x00,0x00,0xcb,0x79,0x7d,0x76,0x00,0x00,0x19,0x66, 0x00,0x00,0x58,0x58,0xe1,0x5c,0x00,0x00,0xb3,0x6c,0x61,0x4e,0x00,0x00,0xb6,0x5b,0x7e,0x6e,0x47,0x95, 0x00,0x00,0xb6,0x5b,0x51,0x67,0x00,0x00,0xb6,0x5b,0x7e,0x6e,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0x2c,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0xc4,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xcb,0x7a,0x00,0x00, 0x77,0x8d,0x00,0x00,0x08,0x00,0x00,0x00,0xfe,0x76,0x00,0x00,0x34,0x59,0x00,0x00,0xfe,0x76,0x53,0x4f, 0x00,0x00,0xfe,0x76,0x8b,0x5f,0x00,0x00,0xfe,0x76,0xba,0x8b,0x00,0x00,0xbc,0x96,0x00,0x00,0xc4,0x67, 0x00,0x00,0x34,0x59,0x07,0x63,0x11,0x54,0x00,0x00,0x04,0x00,0x00,0x00,0x01,0x63,0x00,0x00,0x35,0x8d, 0x00,0x00,0x9f,0x52,0x0d,0x4e,0xcb,0x7a,0x00,0x00,0x38,0x59,0x00,0x00,0x07,0x00,0x00,0x00,0xcf,0x91, 0x00,0x00,0xe3,0x53,0x26,0x54,0xa4,0x8b,0x00,0x00,0xd7,0x5f,0x0d,0x4e,0x1d,0x6e,0x00,0x00,0xd7,0x5f, 0x00,0x00,0x00,0x8a,0x00,0x00,0xd7,0x5f,0x0d,0x4e,0xfb,0x79,0x00,0x00,0xe0,0x5f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x53,0x90,0x00,0x00,0xc6,0x8b,0x00,0x00,0x0d,0x54,0x00,0x00,0xc5,0x60,0x00,0x00,0x0d,0x54, 0xa6,0x5e,0x00,0x00,0x53,0x66,0x00,0x00,0xc6,0x8b,0x06,0x52,0x50,0x5b,0x00,0x00,0xc5,0x60,0xba,0x4e, 0x00,0x00,0xc5,0x60,0x43,0x67,0x00,0x00,0xc9,0x89,0x00,0x00,0x07,0x00,0x00,0x00,0x35,0x96,0x00,0x00, 0x62,0x5f,0x00,0x00,0x35,0x96,0x0f,0x5f,0x00,0x00,0x3a,0x5c,0xa7,0x5e,0x00,0x00,0xf1,0x77,0x00,0x00, 0x3a,0x5c,0x00,0x00,0x8b,0x57,0x6f,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x6b,0x00,0x00,0xc5,0x60, 0x00,0x00,0xbb,0x6c,0x00,0x00,0x89,0x67,0xc7,0x8f,0x63,0x6b,0x00,0x00,0x65,0x50,0x00,0x00,0x59,0x72, 0x00,0x00,0x62,0x5f,0x00,0x00,0xc9,0x63,0x20,0x90,0x5c,0x4f,0x00,0x00,0x70,0x99,0x00,0x00,0x63,0x6b, 0x68,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67,0x00,0x00, 0xe1,0x4f,0x00,0x00,0xbf,0x7e,0x00,0x00,0xed,0x77,0x00,0x00,0x82,0x66,0x00,0x00,0x3a,0x7f,0x00,0x00, 0x47,0x72,0x00,0x00,0xf6,0x65,0x00,0x00,0xed,0x77,0x84,0x76,0x00,0x00,0xdf,0x79,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0f,0x5c,0x00,0x00,0xba,0x4e,0x00,0x00,0x2a,0x4e,0x50,0x5b,0x00,0x00,0x50,0x5b,0x00,0x00, 0x16,0x53,0x00,0x00,0xe8,0x5b,0x00,0x00,0xee,0x77,0x00,0x00,0x99,0x58,0x00,0x00,0x0f,0x5c,0xc7,0x75, 0x00,0x00,0x4c,0x88,0x1f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00,0x16,0x53,0x00,0x00, 0x34,0x59,0x00,0x00,0xb6,0x5b,0x84,0x5e,0x00,0x00,0x9f,0x53,0x00,0x00,0x57,0x57,0x00,0x00,0xa8,0x58, 0xef,0x70,0x00,0x00,0xb6,0x5b,0x84,0x5e,0x02,0x5e,0x00,0x00,0x9f,0x53,0x4e,0x61,0x2a,0x59,0xce,0x90, 0x00,0x00,0xb4,0x69,0x00,0x00,0x02,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00, 0x00,0x00,0xfb,0x77,0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x80,0xc5,0x75,0x00,0x00,0xba,0x80,0x00,0x00, 0xfb,0x85,0x00,0x00,0x37,0x8c,0x00,0x00,0x47,0x72,0x00,0x00,0x76,0x66,0x47,0x72,0x00,0x00,0xdd,0x94, 0x42,0x5c,0x00,0x00,0x41,0x95,0x42,0x5c,0x00,0x00,0x2b,0x67,0xc5,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1a,0x4e,0x00,0x00,0xa7,0x4e,0x00,0x00,0xe5,0x5d,0x00,0x00,0x69,0x72,0x28,0x8d,0x00,0x00,0x71,0x5c, 0x00,0x00,0xc9,0x6c,0x34,0x6c,0x00,0x00,0x95,0x4e,0x00,0x00,0x3a,0x53,0x00,0x00,0xf3,0x77,0x00,0x00, 0x69,0x72,0x00,0x00,0x03,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0xed,0x56, 0x4c,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x9c,0x51,0x00,0x00,0x3e,0x65,0x00,0x00, 0x87,0x73,0x00,0x00,0x0b,0x6d,0x00,0x00,0x70,0x65,0x00,0x00,0x50,0x5b,0x00,0x00,0x68,0x88,0x00,0x00, 0x06,0x52,0x1a,0x59,0x40,0x57,0x00,0x00,0x34,0x59,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x77, 0x00,0x00,0x05,0x95,0x00,0x00,0xb8,0x7e,0x00,0x00,0xd6,0x7c,0x00,0x00,0x3a,0x57,0x00,0x00,0x46,0x6d, 0x00,0x00,0xa9,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00,0xc1,0x4e,0x00,0x00,0x6e,0x8f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x51,0x7b,0x00,0x00,0x53,0x4f,0x00,0x00,0x77,0x8d,0x00,0x00,0x16,0x78,0x00,0x00,0xf3,0x77, 0x00,0x00,0x16,0x78,0xe5,0x5d,0x00,0x00,0x2b,0x67,0x00,0x00,0x08,0x54,0x00,0x00,0x6e,0x7f,0x00,0x00, 0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x4f,0x00,0x00,0x00,0x52,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x24,0x4f,0x00,0x00,0x7b,0x6b,0x00,0x00,0xf7,0x4e,0x08,0x5e,0x00,0x00,0x40,0x67,0x00,0x00,0xfb,0x51, 0x00,0x00,0x34,0x59,0x00,0x00,0x10,0x4f,0x00,0x4e,0x7a,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0x1c,0x97, 0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x7a,0x00,0x00,0xd1,0x53,0x00,0x00,0x76,0x7a,0x40,0x62,0x00,0x00, 0x76,0x7a,0x58,0x54,0x00,0x00,0x76,0x7a,0x62,0x96,0x00,0x00,0x36,0x52,0x00,0x00,0x76,0x7a,0x1f,0x75, 0x00,0x00,0xa8,0x8b,0x1a,0x4f,0x00,0x00,0x76,0x7a,0xe8,0x90,0x00,0x00,0x76,0x7a,0x05,0x80,0x00,0x00, 0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x57,0x57,0x00,0x00,0xb6,0x5b,0x00,0x00,0xe6,0x74,0x00,0x00, 0x99,0x58,0x00,0x00,0xf3,0x77,0x00,0x00,0x91,0x7a,0x00,0x00,0x82,0x53,0x00,0x00,0xe6,0x74,0x3f,0x62, 0x00,0x00,0x28,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xf2,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0xf3,0x77,0x00,0x00,0xf4,0x6e,0x00,0x00,0x71,0x5c, 0xbf,0x53,0x00,0x00,0x71,0x5c,0x00,0x00,0x8b,0x65,0x00,0x00,0x60,0x6c,0x00,0x00,0x30,0x75,0x00,0x00, 0xcb,0x79,0x00,0x00,0xd5,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x78,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x9c,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x03,0x00,0x00,0x00,0x3a,0x78,0x00,0x00,0xf1,0x67,0xed,0x94,0x00,0x00,0xf1,0x67,0x2d,0x4e,0x41,0x6d, 0x00,0x00,0x04,0x00,0x00,0x00,0x7f,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0xa8,0x9a,0x00,0x00,0x50,0x5b, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x88,0x94, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x78,0x70,0x00,0x00,0x78,0x70,0x2f,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0x30,0x78,0x00,0x00,0x36,0x71,0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x70,0x00,0x00,0x70,0x8f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4f,0x57,0x00,0x00,0xa7,0x4e,0x00,0x00,0xc2,0x88,0x00,0x00,0xe3,0x89,0x00,0x00, 0xb7,0x83,0x00,0x00,0x6d,0x70,0x00,0x00,0x5f,0x63,0x00,0x00,0x64,0x96,0x00,0x00,0x4d,0x4f,0x00,0x00, 0x48,0x68,0x00,0x00,0x04,0x00,0x00,0x00,0x2d,0x4e,0xd2,0x6b,0x00,0x00,0x36,0x52,0x42,0x52,0x00,0x00, 0x16,0x53,0x22,0x6c,0x00,0x00,0xe1,0x51,0xb3,0x7e,0x0e,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x76, 0x00,0x00,0x8e,0x78,0x00,0x00,0xc2,0x70,0x00,0x00,0x05,0x95,0x56,0x53,0xc1,0x94,0x00,0x00,0xc1,0x6b, 0x00,0x00,0x9d,0x5b,0x00,0x00,0x7b,0x6b,0x00,0x00,0x34,0x78,0x00,0x00,0x66,0x8f,0x00,0x00,0xfb,0x51, 0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x02,0x00,0x00,0x00,0xe0,0x7c,0x00,0x00,0x73,0x7c, 0x3a,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x62,0x97,0x7f,0x67,0x00,0x00,0x84,0x85,0xc1,0x58,0x00,0x00, 0x02,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0xa9,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x77,0x00,0x00, 0x01,0x00,0x00,0x00,0x41,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x8c,0x00,0x00,0xf6,0x80,0x00,0x00, 0x47,0x72,0x00,0x00,0x1a,0x4e,0x00,0x00,0xfa,0x57,0x00,0x00,0x99,0x65,0x00,0x00,0xb9,0x6c,0x00,0x00, 0x78,0x91,0xd0,0x76,0x00,0x00,0xa2,0x94,0x00,0x00,0x27,0x6c,0xf7,0x70,0x00,0x00,0x02,0x00,0x00,0x00, 0x32,0x6d,0x00,0x00,0x02,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0x9d,0x7a,0x3f,0x51,0x00,0x00,0x01,0x00, 0x00,0x00,0x76,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x9f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0x00,0x00,0x27,0x59,0x00,0x00,0xeb,0x58,0x1f,0x75,0x00,0x00, 0x9c,0x67,0x00,0x00,0x20,0x9f,0x00,0x00,0x5a,0x53,0x00,0x00,0x9c,0x67,0x2f,0x7d,0x2f,0x7d,0x00,0x00, 0x1d,0x8d,0xb7,0x5f,0x00,0x00,0x9c,0x67,0xc5,0x4e,0x58,0x5b,0x00,0x00,0x27,0x59,0xe0,0x65,0xd4,0x6b, 0x00,0x00,0x01,0x00,0x00,0x00,0x59,0x78,0x00,0x00,0x03,0x00,0x00,0x00,0xe3,0x53,0x3a,0x53,0x00,0x00, 0xe3,0x53,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x70,0x00,0x00,0x78,0x91,0xd0,0x76, 0x00,0x00,0x78,0x91,0x00,0x00,0xdf,0x70,0x25,0x5f,0x2b,0x6f,0x00,0x00,0xfa,0x57,0x00,0x00,0x78,0x91, 0x18,0x75,0xb9,0x6c,0x00,0x00,0x78,0x91,0xf5,0x94,0x00,0x00,0x78,0x91,0xbe,0x94,0x00,0x00,0x78,0x91, 0x39,0x68,0x00,0x00,0x78,0x91,0xf6,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x78,0x91,0x00,0x00,0xfa,0x78, 0x00,0x00,0x78,0x91,0xdc,0x94,0x00,0x00,0x16,0x53,0x22,0x6c,0x00,0x00,0x16,0x53,0x69,0x72,0x00,0x00, 0xfa,0x78,0x8f,0x71,0x00,0x00,0x16,0x53,0x00,0x00,0x78,0x91,0xa0,0x94,0x00,0x00,0xfa,0x78,0x9b,0x5c, 0x00,0x00,0x78,0x91,0xd0,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0xd8,0x76,0x00,0x00, 0x01,0x5e,0x00,0x00,0x27,0x60,0x00,0x00,0xa6,0x5e,0x00,0x00,0x16,0x53,0x00,0x00,0x2f,0x66,0x00,0x00, 0xa7,0x5e,0x00,0x00,0xa8,0x9a,0x34,0x59,0x00,0x00,0x40,0x77,0x34,0x59,0xae,0x76,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9a,0x5b,0x00,0x00,0x9e,0x5b,0x00,0x00,0xdd,0x4f,0x00,0x00,0xa4,0x8b,0x00,0x00,0xca,0x8b, 0x00,0x00,0xcb,0x7a,0x00,0x00,0x07,0x52,0x00,0x00,0xe1,0x4f,0x00,0x00,0x9a,0x5b,0x27,0x60,0x00,0x00, 0xff,0x51,0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x78,0x00,0x00,0x78,0x91,0x00,0x00,0x41,0x95,0xf3,0x77, 0x00,0x00,0xa5,0x80,0x00,0x00,0x41,0x95,0x00,0x00,0x01,0x00,0x00,0x00,0xca,0x6c,0x00,0x00,0x03,0x00, 0x00,0x00,0x21,0x58,0x00,0x00,0x7c,0x69,0x00,0x00,0x21,0x58,0x0f,0x5f,0x00,0x00,0x06,0x00,0x00,0x00, 0x8c,0x78,0xe0,0x65,0x3a,0x4e,0x00,0x00,0x8c,0x78,0x00,0x00,0xf2,0x66,0x00,0x00,0xf2,0x66,0xbf,0x53, 0x00,0x00,0xa1,0x78,0x00,0x00,0xc1,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0x3c,0x77, 0x00,0x00,0x8e,0x4e,0xc5,0x60,0x62,0x97,0x00,0x00,0x2a,0x82,0x00,0x00,0x4b,0x62,0x8d,0x78,0x1a,0x81, 0x00,0x00,0xbe,0x96,0x00,0x00,0x62,0x97,0x50,0x5b,0x00,0x00,0xe3,0x53,0xc6,0x8b,0x9e,0x7f,0x00,0x00, 0xe3,0x53,0x00,0x00,0xbe,0x96,0xce,0x4e,0x7d,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x72,0x00,0x00, 0x47,0x72,0x16,0x53,0x00,0x00,0x8e,0x78,0x00,0x00,0xf3,0x77,0x00,0x00,0xc2,0x88,0x00,0x00,0x51,0x5c, 0x00,0x00,0x57,0x57,0x00,0x00,0x38,0x5c,0x48,0x68,0x00,0x00,0x89,0x80,0x00,0x00,0xb8,0x7e,0x3a,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0x87,0x65,0x00,0x00,0x97,0x67,0x00,0x00,0x16,0x5e,0x00,0x00,0x3b,0x52, 0x00,0x00,0x97,0x67,0x3a,0x53,0x00,0x00,0xed,0x94,0x00,0x00,0xb0,0x8b,0x00,0x00,0xf3,0x77,0x00,0x00, 0xad,0x4e,0x00,0x00,0xa7,0x5e,0x00,0x00,0x06,0x00,0x00,0x00,0x77,0x7b,0x00,0x00,0xe3,0x53,0x00,0x00, 0x9f,0x78,0x00,0x00,0xdc,0x67,0x00,0x00,0x97,0x78,0x54,0x81,0x00,0x00,0x82,0x53,0x61,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3a,0x7f,0x4f,0x4e,0xc5,0x75,0x00,0x00,0x52,0x91,0x00,0x00,0x16,0x53,0xbe,0x94, 0x00,0x00,0x0f,0x4f,0x00,0x00,0x16,0x53,0xf6,0x94,0x00,0x00,0x47,0x72,0x00,0x00,0xd0,0x76,0x00,0x00, 0x78,0x91,0x00,0x00,0x4a,0x91,0x00,0x00,0xa8,0x94,0x6f,0x70,0x00,0x00,0x05,0x00,0x00,0x00,0x47,0x72, 0x00,0x00,0x50,0x5b,0x00,0x00,0x39,0x52,0x00,0x00,0x50,0x5b,0x9f,0x6c,0x00,0x00,0x38,0x97,0x00,0x00, 0x02,0x00,0x00,0x00,0xf3,0x77,0x47,0x95,0x00,0x00,0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x68, 0xed,0x56,0x00,0x00,0xdd,0x84,0x00,0x00,0xba,0x73,0x00,0x00,0x34,0x6c,0x90,0x6e,0x00,0x00,0x1f,0x75, 0x90,0x6e,0x00,0x00,0xd4,0x67,0x00,0x00,0x77,0x6d,0x00,0x00,0xb2,0x83,0x00,0x00,0x34,0x6c,0x00,0x00, 0x89,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0x9e,0x64,0x00,0x00,0x0a,0x4e,0x00,0x00, 0xe7,0x5d,0x00,0x00,0xc1,0x58,0x00,0x00,0xc1,0x89,0x00,0x00,0x62,0x97,0x00,0x00,0x34,0x59,0x00,0x00, 0xf7,0x74,0x00,0x00,0xb0,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x60,0x00,0x00,0xfa,0x57,0x00,0x00, 0x1a,0x4e,0x00,0x00,0xfa,0x57,0xf9,0x5b,0x00,0x00,0x16,0x53,0x00,0x00,0x62,0x97,0x00,0x00,0xd1,0x91, 0x5e,0x5c,0x00,0x00,0x7b,0x7c,0x00,0x00,0xa6,0x5e,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x6c,0x16,0x53,0x08,0x54,0x69,0x72,0x00,0x00,0x78,0x91,0x00,0x00,0x0e,0x7a,0x00,0x00,0xa4,0x7e, 0xf4,0x7e,0x00,0x00,0x78,0x91,0x99,0x94,0x00,0x00,0x47,0x6c,0x00,0x00,0x78,0x91,0x02,0x95,0x00,0x00, 0xcf,0x51,0x92,0x63,0x00,0x00,0x22,0x6c,0x16,0x53,0x08,0x54,0x69,0x72,0x00,0x00,0xb3,0x7e,0x73,0x7c, 0xa1,0x7b,0x00,0x00,0x02,0x00,0x00,0x00,0x3f,0x51,0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x8b,0x53,0x00,0x00,0x67,0x8f,0x00,0x00,0x8e,0x78,0x00,0x00,0x7b,0x6b,0x00,0x00,0xe8,0x78,0x00,0x00, 0x73,0x7c,0x00,0x00,0x50,0x5b,0x00,0x00,0xd8,0x76,0x00,0x00,0x73,0x7c,0x3a,0x67,0x00,0x00,0x50,0x5b, 0x71,0x5c,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x57,0x00,0x00,0xc1,0x94,0x00,0x00,0x27,0x60, 0x00,0x00,0xac,0x60,0x6e,0x6d,0x00,0x00,0x26,0x5e,0x00,0x00,0x61,0x67,0x00,0x00,0x61,0x53,0x00,0x00, 0xd8,0x76,0x00,0x00,0x50,0x67,0x00,0x00,0x61,0x67,0x61,0x53,0x00,0x00,0x06,0x00,0x00,0x00,0x34,0x79, 0x00,0x00,0xe4,0x79,0x00,0x00,0x5b,0x6e,0x01,0x77,0x00,0x00,0x21,0x79,0x00,0x00,0x0a,0x90,0x00,0x00, 0x5b,0x6e,0x00,0x00,0x04,0x00,0x00,0x00,0xca,0x78,0x00,0x00,0x3d,0x84,0x00,0x00,0xca,0x78,0x3d,0x84, 0x3d,0x84,0x00,0x00,0x3d,0x84,0x27,0x59,0xb9,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0x46,0x55,0x00,0x00, 0x46,0x55,0x1a,0x4f,0x00,0x00,0xe8,0x78,0x00,0x00,0x46,0x55,0x43,0x67,0x00,0x00,0x07,0x00,0x00,0x00, 0xf3,0x77,0x00,0x00,0x89,0x5b,0xbf,0x53,0x00,0x00,0x89,0x5b,0x00,0x00,0xf3,0x77,0x02,0x5e,0x00,0x00, 0x30,0x75,0x00,0x00,0xf3,0x77,0xbf,0x53,0x00,0x00,0x30,0x75,0x1f,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0xb0,0x78,0x00,0x00,0xd5,0x78,0xca,0x7e,0xca,0x7e,0x00,0x00,0xd5,0x78,0xb0,0x78, 0xb0,0x78,0x00,0x00,0x9c,0x78,0x00,0x00,0xf4,0x5d,0x00,0x00,0xd5,0x78,0xf4,0x5d,0xf4,0x5d,0x00,0x00, 0x34,0x59,0x3a,0x67,0x00,0x00,0xd5,0x78,0x00,0x00,0x59,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0x5f,0x63,0x00,0x00,0xc3,0x7e,0x00,0x00,0xbe,0x96, 0x00,0x00,0x59,0x72,0x00,0x00,0x3a,0x78,0x00,0x00,0xfd,0x53,0x00,0x00,0x02,0x78,0x00,0x00,0x6d,0x70, 0x00,0x00,0xbc,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0xed,0x7a,0x00,0x00,0x02,0x00,0x00,0x00,0xe3,0x53, 0xbf,0x53,0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x78,0x91,0x00,0x00,0xff,0x77,0x00,0x00, 0x02,0x81,0x00,0x00,0xa5,0x80,0x00,0x00,0x78,0x91,0xd0,0x76,0x00,0x00,0xff,0x77,0xf3,0x77,0x00,0x00, 0x78,0x91,0xc1,0x94,0x02,0x95,0x00,0x00,0x78,0x91,0xa0,0x94,0x00,0x00,0x70,0x70,0xf3,0x77,0x00,0x00, 0x78,0x91,0x99,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xfa,0x80,0x00,0x00,0xfa,0x80,0x8c,0x4e,0x32,0x75, 0x27,0x56,0x76,0x55,0x00,0x00,0x08,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0xd8,0x76,0x00,0x00,0x9b,0x5c, 0x00,0x00,0x56,0x6e,0x00,0x00,0xaa,0x6e,0x00,0x00,0x56,0x6e,0x1f,0x66,0x91,0x4e,0x00,0x00,0x97,0x67, 0x00,0x00,0xaa,0x6e,0x61,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x01,0x00,0x00,0x00, 0xf3,0x77,0x00,0x00,0x02,0x00,0x00,0x00,0x8a,0x5e,0x00,0x00,0x8a,0x5e,0x3f,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0x03,0x83,0x00,0x00,0x01,0x5a,0x00,0x00,0x01,0x5a,0x05,0x80,0x00,0x00,0x03,0x83,0x3a,0x53, 0x00,0x00,0x0f,0x61,0x00,0x00,0x0f,0x61,0xfe,0x56,0x00,0x00,0xb0,0x73,0x00,0x00,0x31,0x5f,0x00,0x00, 0x66,0x8b,0x00,0x00,0x03,0x83,0x27,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0x43,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x69,0x72,0x00,0x00,0xc1,0x54,0x00,0x00,0xdc,0x62,0x00,0x00,0xea,0x4e,0x00,0x00,0x8c,0x8c, 0x00,0x00,0xd2,0x76,0x00,0x00,0xd1,0x91,0x00,0x00,0x0d,0x67,0x00,0x00,0x02,0x58,0x00,0x00,0xc1,0x54, 0x61,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4f,0x00,0x00,0x3a,0x53,0x00,0x00,0xa4,0x4e,0x00,0x00, 0xdd,0x4f,0x00,0x00,0x1a,0x4f,0x3b,0x4e,0x49,0x4e,0x00,0x00,0xd1,0x79,0x62,0x96,0x00,0x00,0x1a,0x4f, 0x16,0x53,0x00,0x00,0xe2,0x56,0x00,0x00,0x1a,0x4f,0x66,0x5b,0x00,0x00,0x7f,0x95,0x00,0x00,0x03,0x00, 0x00,0x00,0x5e,0x79,0x00,0x00,0xbf,0x6b,0x00,0x00,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x8f, 0x71,0x5c,0x00,0x00,0x1c,0x4e,0xbf,0x53,0x00,0x00,0xde,0x8f,0x00,0x00,0x1c,0x4e,0x00,0x00,0x33,0x96, 0xbf,0x53,0x00,0x00,0xe8,0x95,0x00,0x00,0x33,0x96,0x00,0x00,0xe8,0x95,0xbf,0x53,0x00,0x00,0xbf,0x53, 0x00,0x00,0xde,0x8f,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0x02,0x00,0x00,0x00, 0x59,0x65,0x00,0x00,0x53,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x79,0x00,0x00,0x8f,0x79,0x00,0x00, 0x42,0x6c,0x00,0x00,0x3f,0x61,0x00,0x00,0xf7,0x8b,0x00,0x00,0xe8,0x96,0x00,0x00,0x74,0x5e,0xbf,0x6b, 0x00,0x00,0x1b,0x67,0x00,0x00,0x7f,0x4f,0xe5,0x53,0x00,0x00,0x8f,0x79,0x5a,0x51,0x00,0x00,0x02,0x00, 0x00,0x00,0x84,0x79,0x00,0x00,0xa6,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0x8b,0x96,0x00,0x00,0x03,0x00, 0x00,0x00,0x8a,0x79,0x00,0x00,0xef,0x6f,0x00,0x00,0x70,0x99,0x00,0x00,0x01,0x00,0x00,0x00,0xc6,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00,0x48,0x51,0x00,0x00,0x08,0x5e,0x00,0x00,0x36,0x72, 0x00,0x00,0xcd,0x6b,0x00,0x00,0x97,0x5b,0x00,0x00,0x4d,0x7c,0x00,0x00,0x88,0x8f,0x00,0x00,0x5f,0x57, 0x00,0x00,0x36,0x72,0xcd,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0xa3,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd8,0x75,0x00,0x00,0x91,0x65,0x00,0x00,0x64,0x96,0x00,0x00,0x7f,0x6e,0x00,0x00,0xc5,0x75,0x00,0x00, 0xf0,0x75,0x00,0x00,0xd2,0x5b,0x00,0x00,0x91,0x66,0x00,0x00,0x6b,0x70,0x00,0x00,0xe5,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0x8f,0x79,0x00,0x00,0x3a,0x8d,0x00,0x00,0x3f,0x61,0x00,0x00,0xff,0x5b,0x00,0x00, 0xcd,0x8b,0x00,0x00,0xf1,0x82,0xf0,0x53,0x00,0x00,0x52,0x91,0x00,0x00,0x4e,0x53,0x00,0x00,0x41,0x51, 0x0e,0x66,0x00,0x00,0x77,0x63,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x7e,0x00,0x00,0xd8,0x79,0x00,0x00, 0x6c,0x9a,0x00,0x00,0x47,0x59,0x00,0x00,0xdd,0x8b,0x00,0x00,0xde,0x5d,0x00,0x00,0x1f,0x82,0x00,0x00, 0x23,0x57,0x00,0x00,0x1a,0x90,0x00,0x00,0x4e,0x53,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x58,0x00,0x00, 0x99,0x5e,0x00,0x00,0x93,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x5e,0x74,0x00,0x00,0x8c,0x54,0x00,0x00, 0x91,0x4e,0x00,0x00,0x97,0x67,0xc2,0x5a,0x00,0x00,0x26,0x7b,0x00,0x00,0x90,0x6e,0x00,0x00,0xb7,0x5e, 0x00,0x00,0x91,0x4e,0xbf,0x53,0x00,0x00,0xd1,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf7,0x4e,0x00,0x00,0x6e,0x63,0x00,0x00,0x3f,0x62,0x00,0x00,0x62,0x97,0x00,0x00,0xa1,0x52,0x00,0x00, 0x70,0x65,0x00,0x00,0xc1,0x8b,0x00,0x00,0x6f,0x60,0x00,0x00,0x36,0x52,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x40,0x79,0x00,0x00,0x60,0x59,0x00,0x00,0xfa,0x51,0x00,0x00,0xf8,0x53,0x00,0x00, 0xdc,0x62,0x00,0x00,0x6b,0x62,0x00,0x00,0xc1,0x54,0x00,0x00,0x56,0x79,0x00,0x00,0x29,0x59,0x00,0x00, 0x5b,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x38,0x6c,0x00,0x00,0x08,0x00,0x00,0x00,0x4a,0x54,0x00,0x00, 0x87,0x65,0x00,0x00,0xcd,0x8b,0x00,0x00,0x5d,0x79,0x00,0x00,0x4a,0x54,0xf0,0x58,0x00,0x00,0x4a,0x54, 0xe5,0x65,0x00,0x00,0x4a,0x54,0x85,0x53,0x00,0x00,0xf5,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x5b, 0x00,0x00,0x39,0x68,0x00,0x00,0x96,0x99,0x00,0x00,0x77,0x8d,0x00,0x00,0x0d,0x4e,0x55,0x53,0x4c,0x88, 0x00,0x00,0xa3,0x60,0x00,0x00,0x8f,0x79,0x00,0x00,0xfd,0x56,0x83,0x6b,0x11,0x6c,0x00,0x00,0x34,0x6c, 0x00,0x00,0xef,0x7a,0x00,0x00,0x07,0x00,0x00,0x00,0x4b,0x8d,0x00,0x00,0x27,0x60,0x00,0x00,0x4a,0x54, 0x00,0x00,0xa5,0x62,0x00,0x00,0x7f,0x62,0x00,0x00,0x16,0x5e,0x00,0x00,0x0d,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x6b,0x00,0x00,0xe4,0x4e,0x00,0x00,0xcc,0x5f,0x00,0x00,0xd2,0x6b,0x00,0x00,0xdf,0x70, 0x00,0x00,0x28,0x75,0x00,0x00,0xd0,0x8f,0x00,0x00,0x3a,0x53,0x00,0x00,0x65,0x51,0x00,0x00,0x2e,0x55, 0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x4e,0x00,0x00,0x9d,0x52,0xbf,0x53,0x00,0x00,0x30,0x4e,0xbf,0x53, 0x00,0x00,0x9d,0x52,0x00,0x00,0xe3,0x53,0x00,0x00,0x65,0x67,0x00,0x00,0x4d,0x4f,0x00,0x00,0x4d,0x7c, 0x00,0x00,0x1f,0x66,0x00,0x00,0xe9,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x5b,0x00,0x00,0x08,0x5e, 0x00,0x00,0x9a,0x5b,0x00,0x00,0xee,0x4f,0x00,0x00,0xfa,0x5b,0x00,0x00,0x66,0x5b,0x00,0x00,0xce,0x57, 0x3a,0x53,0x00,0x00,0xd5,0x6c,0x00,0x00,0x02,0x58,0x00,0x00,0xee,0x4f,0x05,0x80,0x00,0x00,0x0a,0x00, 0x00,0x00,0x29,0x52,0x00,0x00,0xfa,0x5e,0x00,0x00,0xde,0x5d,0x00,0x00,0x9b,0x5c,0x00,0x00,0xfa,0x5e, 0x01,0x77,0x00,0x00,0x79,0x72,0x00,0x00,0x03,0x5e,0xaf,0x65,0x00,0x00,0x30,0x75,0x00,0x00,0xb7,0x5f, 0x00,0x00,0xf3,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0x9b,0x73,0xfa,0x8b,0x00,0x00,0x01,0x00,0x00,0x00, 0xe3,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xce,0x57, 0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0x1a,0x4f,0x3a,0x53,0x00,0x00,0x1a,0x4f,0x00,0x00,0xe8,0x95, 0xe3,0x53,0x00,0x00,0x8b,0x73,0xf0,0x53,0x3a,0x53,0x00,0x00,0x8b,0x73,0xf0,0x53,0x00,0x00,0xe5,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0x5a,0x5a,0x00,0x00,0x4c,0x80,0x00,0x00,0xb8,0x5c, 0x00,0x00,0x0d,0x4e,0x00,0x5f,0x00,0x00,0xbb,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xfb,0x4e,0x00,0x00, 0xb6,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x41,0x6d,0x1f,0x61,0x00,0x00,0x7b,0x7c, 0x00,0x00,0xcb,0x86,0x00,0x00,0x7d,0x51,0x00,0x00,0x89,0x80,0x00,0x00,0x1a,0x4e,0x00,0x00,0x1f,0x9e, 0x00,0x00,0x5c,0x75,0x00,0x00,0xa7,0x4e,0xc1,0x54,0x00,0x00,0x7d,0x51,0x0d,0x4e,0x82,0x59,0x00,0x00, 0x0a,0x00,0x00,0x00,0x30,0x4e,0x00,0x00,0x09,0x56,0x00,0x00,0x28,0x67,0x00,0x00,0x2c,0x67,0xd1,0x79, 0x00,0x00,0xd7,0x82,0x00,0x00,0x43,0x51,0x00,0x00,0x39,0x68,0x00,0x00,0x6e,0x9a,0x61,0x4e,0x00,0x00, 0x49,0x83,0x00,0x00,0x37,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x3d,0x4e,0x00,0x00,0x8e,0x7f,0x00,0x00, 0xf1,0x82,0x00,0x00,0x4d,0x62,0x00,0x00,0xd1,0x53,0x00,0x00,0xc0,0x79,0x00,0x00,0x3a,0x57,0x00,0x00, 0x71,0x5c,0x00,0x00,0x70,0x51,0x00,0x00,0xfa,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x52,0x00,0x00, 0xba,0x4e,0x00,0x00,0x09,0x67,0x16,0x53,0x00,0x00,0x25,0x84,0x00,0x00,0x0b,0x4e,0x00,0x00,0xea,0x81, 0x00,0x00,0xb6,0x5b,0x66,0x8f,0x00,0x00,0xcb,0x7a,0x00,0x00,0xe1,0x4f,0x00,0x00,0x09,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6b,0x9e,0x00,0x00,0x76,0x98,0x00,0x00,0x34,0x59,0x00,0x00,0x70,0x9e,0x00,0x00, 0x50,0x5b,0x00,0x00,0x74,0x9a,0x00,0x00,0xd1,0x53,0x00,0x00,0x5c,0x56,0x00,0x00,0xe2,0x74,0x00,0x00, 0xad,0x5c,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7f,0x62,0x00,0x00,0x01,0x63,0x00,0x00,0x27,0x60,0x00,0x00,0x6c,0x51,0x00,0x00,0x4b,0x8d,0x00,0x00, 0x63,0x6b,0x00,0x00,0x14,0x7b,0xf4,0x76,0x66,0x4e,0x00,0x00,0x14,0x7b,0x00,0x00,0xdb,0x70,0x1c,0x59, 0xfb,0x8b,0x00,0x00,0x6c,0x51,0x67,0x62,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x5b,0x00,0x00, 0x29,0x59,0x00,0x00,0xe5,0x71,0x00,0x00,0xe8,0x96,0x00,0x00,0xe4,0x88,0x00,0x00,0x97,0x67,0x00,0x00, 0x36,0x65,0x00,0x00,0xce,0x98,0x00,0x00,0xcb,0x79,0x00,0x00,0xac,0x51,0x63,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xcd,0x79,0x00,0x00,0x0d,0x69,0x00,0x00,0x50,0x5b,0x00,0x00,0x7b,0x7c,0x00,0x00,0xcf,0x65, 0x00,0x00,0x1a,0x4e,0x00,0x00,0xa4,0x7f,0x00,0x00,0xae,0x7c,0x00,0x00,0x30,0x57,0x00,0x00,0xdc,0x83, 0x00,0x00,0x0a,0x00,0x00,0x00,0x80,0x62,0x00,0x00,0x66,0x5b,0x00,0x00,0x66,0x5b,0xb6,0x5b,0x00,0x00, 0x14,0x78,0x00,0x00,0x66,0x5b,0x62,0x96,0x00,0x00,0x6e,0x66,0x00,0x00,0x7b,0x5e,0x00,0x00,0xee,0x76, 0x00,0x00,0x7f,0x95,0x00,0x00,0x66,0x5b,0x80,0x62,0x2f,0x67,0x00,0x00,0x08,0x00,0x00,0x00,0x40,0x67, 0x00,0x00,0x9f,0x94,0x00,0x00,0x04,0x5c,0x00,0x00,0x88,0x94,0x00,0x00,0x68,0x88,0x00,0x00,0x07,0x68, 0x00,0x00,0x70,0x65,0x00,0x00,0xee,0x5d,0xdd,0x8d,0x00,0x00,0x03,0x00,0x00,0x00,0x37,0x8c,0x00,0x00, 0xe0,0x7c,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x66,0x4e,0x7f,0x95,0x00,0x00,0xc6,0x5b, 0x00,0x00,0x66,0x4e,0x00,0x00,0xc0,0x8b,0x00,0x00,0x81,0x9c,0x00,0x00,0xb9,0x65,0x00,0x00,0x66,0x4e, 0x04,0x59,0x00,0x00,0x4d,0x7c,0x00,0x00,0x08,0x7b,0x00,0x00,0x0c,0x80,0x0d,0x4e,0xa3,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x41,0x8d,0x00,0x00,0xd1,0x91,0x00,0x00,0x3f,0x62,0x00,0x00,0x28,0x75,0x00,0x00, 0xa2,0x5b,0x00,0x00,0x37,0x62,0x00,0x00,0xf7,0x4e,0x00,0x00,0x1f,0x50,0x00,0x00,0x41,0x8d,0x3f,0x62, 0x00,0x00,0x1f,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x75,0x96,0x00,0x00,0x6c,0x9a,0x89,0x53,0x75,0x51, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x23,0x78,0x00,0x00,0x46,0x67,0x00,0x00,0xd8,0x76, 0x00,0x00,0x24,0x95,0x00,0x00,0x1f,0x66,0x00,0x00,0xa9,0x94,0x00,0x00,0xd8,0x76,0x50,0x5b,0x00,0x00, 0x23,0x78,0x7d,0x86,0x0f,0x5c,0x8b,0x53,0x43,0x53,0xa4,0x65,0x00,0x00,0x68,0x57,0x00,0x00,0x0a,0x00, 0x00,0x00,0x87,0x76,0x9b,0x5c,0x00,0x00,0xad,0x5c,0x00,0x00,0xcb,0x59,0x87,0x76,0x00,0x00,0x87,0x76, 0x9b,0x5c,0x2f,0x6e,0x00,0x00,0x49,0x6c,0x00,0x00,0xfd,0x56,0x00,0x00,0x87,0x76,0x9b,0x5c,0x02,0x5e, 0x00,0x00,0xdd,0x5d,0x00,0x00,0x6b,0x70,0x6b,0x70,0x00,0x00,0xee,0x6d,0x00,0x00,0x09,0x00,0x00,0x00, 0xd7,0x82,0x00,0x00,0x4c,0x6b,0x00,0x00,0x4c,0x6b,0x1f,0x96,0x00,0x00,0x30,0x75,0x00,0x00,0x50,0x5b, 0x00,0x00,0x4c,0x6b,0x67,0x52,0x00,0x00,0xd8,0x76,0x00,0x00,0x84,0x9f,0x00,0x00,0x4c,0x6b,0x5b,0x8d, 0x00,0x00,0x06,0x00,0x00,0x00,0x8f,0x5e,0x00,0x00,0x8f,0x5e,0x95,0x4e,0x36,0x71,0x00,0x00,0x8f,0x5e, 0x27,0x60,0x00,0x00,0x84,0x79,0x00,0x00,0x36,0x71,0x0d,0x4e,0x0a,0x7d,0x00,0x00,0x8f,0x5e,0x8e,0x7f, 0x00,0x00,0x03,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0xf8,0x79,0x00,0x00,0xeb,0x79,0x00,0x00,0x04,0x00, 0x00,0x00,0x52,0x5f,0x00,0x00,0x52,0x5f,0xbf,0x53,0x00,0x00,0x52,0x5f,0xba,0x4e,0x00,0x00,0x52,0x5f, 0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x67,0x00,0x00,0x2f,0x7d,0x00,0x00,0x81,0x67,0x27,0x60, 0x00,0x00,0x06,0x52,0x00,0x00,0x34,0x6c,0x00,0x00,0xc4,0x84,0x00,0x00,0xea,0x96,0x00,0x00,0x8b,0x53, 0x00,0x00,0x5a,0x80,0x00,0x00,0x12,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x4b,0x4e, 0x3a,0x4e,0x00,0x00,0xf7,0x53,0x00,0x00,0x5c,0x4f,0x00,0x00,0x5e,0x8d,0x00,0x00,0x7c,0x54,0x00,0x00, 0x97,0x5f,0x0a,0x4e,0x00,0x00,0x13,0x8c,0x00,0x00,0x38,0x97,0x00,0x00,0x4c,0x80,0x00,0x00,0x03,0x00, 0x00,0x00,0xc6,0x79,0x00,0x00,0xc6,0x79,0xcf,0x91,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa8,0x52,0x00,0x00,0x11,0x6c,0x00,0x00,0xa4,0x4e,0x00,0x00,0x0d,0x69,0x00,0x00,0xa8,0x52,0x48,0x72, 0x00,0x00,0x01,0x90,0x00,0x00,0xa8,0x52,0xef,0x7a,0x00,0x00,0x11,0x6c,0x40,0x5c,0x00,0x00,0x45,0x5c, 0x00,0x00,0x64,0x96,0x00,0x00,0x08,0x00,0x00,0x00,0x1f,0x57,0x00,0x00,0xed,0x8b,0x00,0x00,0x69,0x72, 0x00,0x00,0x14,0x6c,0x00,0x00,0xf9,0x8f,0x00,0x00,0x71,0x4e,0x00,0x00,0x4c,0x88,0x00,0x00,0xfb,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x57,0x00,0x00,0x3a,0x7f,0x00,0x00,0xca,0x91,0x00,0x00,0x11,0x5c, 0x00,0x00,0x09,0x67,0x00,0x00,0x3a,0x7f,0x27,0x60,0x00,0x00,0x47,0x59,0x00,0x00,0x6d,0x99,0x00,0x00, 0x1f,0x57,0xff,0x77,0x00,0x00,0x8f,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0xa0,0x83,0x00,0x00,0x01,0x00, 0x00,0x00,0xae,0x76,0x00,0x00,0x08,0x00,0x00,0x00,0x36,0x65,0x00,0x00,0x36,0x52,0x00,0x00,0xd1,0x91, 0x00,0x00,0x40,0x5c,0x00,0x00,0x3e,0x6b,0x00,0x00,0x87,0x73,0x00,0x00,0xa1,0x52,0x00,0x00,0xa1,0x52, 0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x8f,0x5e,0x00,0x00,0x8f,0x5e,0x58,0x54, 0x00,0x00,0xd0,0x67,0x00,0x00,0x8f,0x5e,0x16,0x53,0x00,0x00,0x0f,0x5f,0x00,0x00,0x8f,0x5e,0x27,0x60, 0x00,0x00,0xa7,0x63,0x00,0x00,0x0b,0x7a,0x00,0x00,0x0f,0x5f,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0xae,0x5f,0x00,0x00,0x0e,0x54,0x00,0x00,0x0d,0x7a,0x00,0x00,0xe9,0x65,0x4d,0x52,0x00,0x00,0x09,0x67, 0x0d,0x4e,0x4e,0x61,0x00,0x00,0xb5,0x7e,0x73,0x53,0x1d,0x90,0x00,0x00,0x3a,0x4e,0x00,0x00,0xb8,0x8b, 0x00,0x00,0x19,0x50,0x00,0x00,0x6f,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x65,0x00,0x00,0xa1,0x52, 0x00,0x00,0x87,0x73,0x00,0x00,0x39,0x8d,0x00,0x00,0x3e,0x6b,0x00,0x00,0x36,0x52,0x00,0x00,0xcd,0x79, 0x00,0x00,0xa1,0x52,0x40,0x5c,0x00,0x00,0x1f,0x8d,0x00,0x00,0xd5,0x6c,0x00,0x00,0x04,0x00,0x00,0x00, 0x9f,0x71,0x00,0x00,0xe5,0x77,0x00,0x00,0x50,0x5b,0x00,0x00,0xe4,0x85,0x00,0x00,0x02,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x98,0x5b,0xce,0x91,0xf2,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xe9,0x5a,0x00,0x00, 0x14,0x6c,0x00,0x00,0x14,0x6c,0x2a,0x67,0x31,0x81,0x00,0x00,0xd9,0x62,0x00,0x00,0x50,0x5b,0x00,0x00, 0xe5,0x7a,0x00,0x00,0x73,0x59,0x00,0x00,0x6b,0x86,0x00,0x00,0x31,0x5f,0x00,0x00,0x14,0x6c,0xef,0x53, 0xac,0x63,0x00,0x00,0x07,0x00,0x00,0x00,0xc6,0x5b,0x00,0x00,0xde,0x5d,0x00,0x00,0x9a,0x53,0x00,0x00, 0xb9,0x6c,0x00,0x00,0xca,0x7c,0x00,0x00,0xba,0x4e,0x7f,0x5e,0x17,0x4f,0x00,0x00,0xb9,0x6c,0x30,0x75, 0x00,0x00,0x01,0x00,0x00,0x00,0x46,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x65,0x50, 0x00,0x00,0x65,0x6b,0x00,0x00,0x9a,0x5b,0x27,0x60,0x00,0x00,0xa5,0x59,0x00,0x00,0xfa,0x56,0x00,0x00, 0x65,0x50,0x8b,0x57,0x00,0x00,0x2d,0x4e,0x42,0x6c,0xdb,0x8f,0x00,0x00,0x4f,0x4f,0x00,0x00,0x2d,0x4e, 0x09,0x67,0x47,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0x71,0x5c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x49,0x83,0x00,0x00,0xce,0x57,0x00,0x00,0x99,0x99,0x51,0x67,0x00,0x00,0x49,0x83, 0xba,0x4e,0x00,0x00,0x37,0x8c,0x00,0x00,0x30,0x75,0x00,0x00,0x73,0x7c,0x00,0x00,0xf6,0x53,0x00,0x00, 0x50,0x5b,0x00,0x00,0xb1,0x82,0x99,0x99,0x00,0x00,0x03,0x00,0x00,0x00,0x51,0x7a,0x00,0x00,0x69,0x8f, 0x00,0x00,0xbe,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x67,0x00,0x00,0xe5,0x67,0x40,0x5c,0x00,0x00, 0x38,0x68,0x00,0x00,0xe5,0x67,0x1f,0x96,0x00,0x00,0xe5,0x67,0x04,0x59,0x00,0x00,0xe5,0x67,0xd1,0x79, 0x00,0x00,0xe5,0x67,0x58,0x54,0x00,0x00,0xe4,0x53,0x00,0x00,0xdf,0x5b,0x00,0x00,0xe5,0x67,0x1f,0x96, 0x58,0x54,0x00,0x00,0x09,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0x6c,0x91,0x00,0x00, 0x39,0x8d,0x00,0x00,0x41,0x6c,0x00,0x00,0xb8,0x7e,0x00,0x00,0x2c,0x67,0x00,0x00,0x50,0x83,0x00,0x00, 0xa6,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x65,0x97,0x67,0x00,0x00,0xf4,0x5d,0xc9,0x62,0x4b,0x51, 0x00,0x00,0xea,0x8f,0x00,0x00,0x44,0x51,0x1a,0x4f,0x00,0x00,0x55,0x7f,0xd8,0x9e,0xb7,0x5f,0x00,0x00, 0x99,0x6c,0xc9,0x62,0x2b,0x59,0x00,0x00,0x28,0x84,0xf4,0x7e,0x00,0x00,0xa0,0x52,0x1d,0x8d,0x00,0x00, 0xaf,0x65,0x54,0x58,0xd5,0x6c,0x00,0x00,0x14,0x5c,0x7f,0x89,0x0b,0x4e,0xf0,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0x3c,0x7a,0x00,0x00,0x07,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xb6,0x72,0x00,0x00,0xfa,0x5e, 0x00,0x00,0x3f,0x51,0x00,0x00,0x7f,0x53,0x00,0x00,0x70,0x99,0x00,0x00,0xfb,0x95,0xd9,0x7a,0x00,0x00, 0x01,0x00,0x00,0x00,0x70,0x7a,0x00,0x00,0x08,0x00,0x00,0x00,0x4d,0x4f,0x00,0x00,0x53,0x90,0x00,0x00, 0x45,0x5c,0x00,0x00,0x45,0x5c,0xba,0x4e,0x00,0x00,0xad,0x64,0x00,0x00,0x34,0x59,0x00,0x00,0x09,0x81, 0x00,0x00,0x1f,0x9e,0x00,0x00,0x06,0x00,0x00,0x00,0xdf,0x7a,0x00,0x00,0x81,0x67,0x00,0x00,0x9e,0x52, 0x00,0x00,0xd8,0x8b,0x00,0x00,0xee,0x95,0x00,0x00,0x76,0x51,0x39,0x68,0x90,0x6e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xba,0x4e,0x00,0x00,0x38,0x6e,0x00,0x00,0x3d,0x5c,0x00,0x00,0xf0,0x56,0x00,0x00,0xe6,0x82, 0x00,0x00,0xfd,0x8f,0x1b,0x73,0x53,0x62,0x00,0x00,0xfd,0x56,0x00,0x00,0xfd,0x8f,0x0d,0x4e,0x0d,0x82, 0x00,0x00,0xf6,0x51,0x81,0x67,0x76,0x60,0x00,0x00,0x14,0x90,0x2b,0x67,0xef,0x8d,0x00,0x00,0x0a,0x00, 0x00,0x00,0x76,0x98,0x00,0x00,0xbf,0x7a,0x00,0x00,0x86,0x96,0x00,0x00,0xb9,0x59,0x00,0x00,0x90,0x5e, 0x00,0x00,0xcd,0x82,0x00,0x00,0x55,0x5e,0x00,0x00,0x62,0x5f,0x00,0x00,0x18,0x4e,0x00,0x00,0x86,0x96, 0x0f,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x95,0x00,0x00,0x14,0x6c,0x00,0x00,0x03,0x8c,0x00,0x00, 0x9b,0x51,0x00,0x00,0x2d,0x4e,0x00,0x00,0x7d,0x76,0x00,0x00,0x34,0x59,0x00,0x00,0xad,0x88,0x00,0x00, 0xf4,0x95,0xd9,0x7a,0x00,0x00,0x4d,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x8a,0x8d,0x00,0x00,0xc7,0x8f, 0x00,0x00,0x34,0x62,0x00,0x00,0xad,0x68,0x00,0x00,0x40,0x77,0x00,0x00,0x63,0x88,0x00,0x00,0x0f,0x90, 0x00,0x00,0x4c,0x88,0x00,0x00,0xd2,0x63,0x00,0x00,0x54,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x7a, 0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x34,0x78,0x00,0x00,0xfa,0x51,0x00,0x00,0xd1,0x53, 0x00,0x00,0xfb,0x51,0x00,0x00,0x34,0x78,0xe3,0x53,0x00,0x00,0x3c,0x5c,0xaf,0x65,0x00,0x00,0xd8,0x53, 0x00,0x00,0xf4,0x56,0x00,0x00,0xad,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x53,0x00,0x00,0x2c,0x54, 0x00,0x00,0x3c,0x8d,0x00,0x00,0x83,0x7a,0xc1,0x79,0xed,0x8b,0x00,0x00,0x2c,0x54,0x68,0x56,0x00,0x00, 0xc6,0x5b,0x00,0x00,0x48,0x68,0x00,0x00,0xd7,0x76,0x00,0x00,0x2c,0x54,0x48,0x68,0x00,0x00,0x6e,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x5e,0x00,0x00,0x0f,0x5c,0x00,0x00,0x84,0x7a,0x00,0x00,0x26,0x5e, 0x00,0x00,0x84,0x7a,0x84,0x76,0x00,0x00,0xf7,0x5d,0x00,0x00,0xef,0x8d,0x00,0x00,0x53,0x4f,0x00,0x00, 0xed,0x72,0x00,0x00,0x1d,0x7f,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x04,0x00,0x00,0x00, 0x95,0x7a,0x00,0x00,0x88,0x7a,0x00,0x00,0xa5,0x51,0x00,0x00,0x2d,0x97,0x00,0x00,0x03,0x00,0x00,0x00, 0xe8,0x95,0x00,0x00,0xc0,0x8b,0x00,0x00,0xe8,0x95,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x1e,0x6d, 0x00,0x00,0x82,0x53,0x00,0x00,0x89,0x70,0x00,0x00,0x40,0x57,0x00,0x00,0xe3,0x53,0x00,0x00,0xd8,0x53, 0x00,0x00,0xe5,0x5d,0x00,0x00,0x3b,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0x6b,0x70,0x00,0x00,0x03,0x00, 0x00,0x00,0x6f,0x60,0x00,0x00,0x8d,0x78,0x00,0x00,0x6f,0x60,0x27,0x60,0xd2,0x6b,0x42,0x52,0x00,0x00, 0x01,0x00,0x00,0x00,0x83,0x90,0x00,0x00,0x03,0x00,0x00,0x00,0xcf,0x85,0x00,0x00,0x60,0x6c,0x00,0x00, 0xa5,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x37,0x62,0x00,0x00,0x16,0x59,0x00,0x00, 0x18,0x5e,0x00,0x00,0xe3,0x53,0x1f,0x67,0x00,0x00,0xf0,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xb9,0x8f, 0x00,0x00,0x4d,0x52,0x00,0x00,0xbb,0x73,0x83,0x74,0x00,0x00,0x08,0x00,0x00,0x00,0x83,0x58,0x00,0x00, 0xeb,0x8f,0x00,0x00,0xb5,0x51,0x00,0x00,0x01,0x60,0x00,0x00,0xf0,0x56,0x00,0x00,0xb6,0x72,0x00,0x00, 0xc3,0x4f,0x00,0x00,0x2e,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x8d,0x00,0x00,0x65,0x51,0x00,0x00, 0x39,0x65,0x00,0x00,0xa2,0x7e,0x00,0x00,0xbf,0x8b,0x00,0x00,0x27,0x8d,0x46,0x55,0x00,0x00,0x03,0x90, 0x00,0x00,0x47,0x53,0x00,0x00,0x70,0x62,0x00,0x00,0xaf,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70, 0x00,0x00,0x9d,0x7a,0xe2,0x56,0x00,0x00,0x9d,0x7a,0x00,0x00,0x6e,0x8f,0x00,0x00,0xda,0x68,0x00,0x00, 0xcf,0x85,0x00,0x00,0xcf,0x85,0x6a,0x7f,0x00,0x00,0xca,0x56,0x00,0x00,0x34,0x59,0x00,0x00,0x6b,0x70, 0x00,0x00,0x06,0x00,0x00,0x00,0xbf,0x7a,0x00,0x00,0x85,0x51,0x00,0x00,0x74,0x7a,0x00,0x00,0xe3,0x53, 0x00,0x00,0xbf,0x7a,0x3c,0x77,0x3f,0x51,0x00,0x00,0xc0,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xfc,0x81, 0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x63,0x00,0x00,0xc1,0x89,0x00,0x00,0xc6,0x89,0x00,0x00,0xfa,0x57, 0x00,0x00,0x3a,0x4f,0x00,0x00,0x4b,0x6d,0x00,0x00,0xc1,0x79,0x00,0x00,0x30,0x52,0x00,0x00,0x34,0x78, 0x00,0x00,0x79,0x8c,0x00,0x4e,0x91,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0x25,0x5a,0xa4,0x51,0x00,0x00, 0xe5,0x54,0x00,0x00,0x53,0x90,0x00,0x00,0xb5,0x6b,0x00,0x00,0x96,0x7a,0x00,0x00,0x03,0x00,0x00,0x00, 0x95,0x4e,0x00,0x00,0x95,0x4e,0xd6,0x76,0x00,0x00,0x34,0x6c,0x95,0x4e,0x00,0x00,0x02,0x00,0x00,0x00, 0x25,0x8d,0x00,0x00,0xa3,0x52,0x00,0x00,0x01,0x00,0x00,0x00,0xa3,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00, 0x73,0x53,0x00,0x00,0x3a,0x57,0x00,0x00,0xd5,0x6c,0x00,0x00,0x48,0x68,0x00,0x00,0xb9,0x65,0x73,0x7c, 0x00,0x00,0x3b,0x52,0x00,0x00,0xb3,0x8d,0x00,0x00,0x53,0x4f,0x00,0x00,0x6c,0x9a,0x00,0x00,0x79,0x98, 0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x8d,0x00,0x00,0xcb,0x7a,0x00,0x00,0x95,0x4e,0x00,0x00,0x34,0x74, 0x00,0x00,0x92,0x63,0x00,0x00,0xbf,0x7e,0x00,0x00,0x48,0x72,0x00,0x00,0x74,0x7a,0x00,0x00,0x0f,0x5f, 0x00,0x00,0x61,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x7f,0x95,0x00,0x00,0xf0,0x53, 0x00,0x00,0xcb,0x7a,0x00,0x00,0x33,0x7a,0x00,0x00,0x0d,0x4e,0x4f,0x4f,0x1a,0x81,0x00,0x00,0x85,0x51, 0xe1,0x4f,0x00,0x00,0x68,0x79,0x00,0x00,0x4d,0x52,0x00,0x00,0x97,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x89,0x4e,0x00,0x00,0x89,0x4e,0x9b,0x52,0x00,0x00,0x09,0x90,0x00,0x00,0x5b,0x8d,0x00,0x00,0xcd,0x62, 0x00,0x00,0x07,0x68,0x00,0x00,0x89,0x4e,0x27,0x60,0x00,0x00,0x2d,0x8d,0x00,0x00,0xf8,0x76,0x00,0x00, 0x89,0x4e,0x05,0x80,0x00,0x00,0x08,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x2f,0x66,0x00,0x00,0x62,0x65, 0x00,0x00,0x1a,0x4f,0x00,0x00,0x75,0x96,0x00,0x00,0xea,0x81,0x00,0x00,0xe5,0x65,0x00,0x00,0xf3,0x81, 0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x7a,0x00,0x00,0x7c,0x9c,0x00,0x00,0x82,0x82,0x00,0x00,0x50,0x5b, 0x21,0x60,0x00,0x00,0x2a,0x59,0x8e,0x70,0x00,0x00,0xd5,0x6c,0x00,0x00,0x18,0x4e,0x00,0x00,0xd0,0x67, 0x00,0x00,0x18,0x4e,0x02,0x5e,0x00,0x00,0xeb,0x58,0x8a,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xe5,0x5d, 0x00,0x00,0xe5,0x5d,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0x00,0x00,0x8b,0x97,0x00,0x00, 0xdd,0x8b,0x00,0x00,0xc5,0x88,0x00,0x00,0x50,0x5b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x8b,0x97,0xec,0x4e, 0x00,0x00,0xc3,0x5f,0x00,0x00,0x66,0x8f,0x00,0x00,0xe5,0x7a,0x00,0x00,0x09,0x00,0x00,0x00,0x9b,0x52, 0x00,0x00,0x3d,0x5c,0x68,0x51,0x9b,0x52,0x00,0x00,0x3d,0x5c,0x40,0x62,0xfd,0x80,0x00,0x00,0x3d,0x5c, 0x00,0x00,0xda,0x8b,0x00,0x00,0xfd,0x6c,0x0c,0x80,0x14,0x6e,0x00,0x00,0xc3,0x5f,0x00,0x00,0x76,0x8e, 0x00,0x00,0xfd,0x6c,0x0c,0x80,0x7c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x53,0x82,0x82,0x00,0x00, 0x48,0x53,0x00,0x00,0x2a,0x50,0x00,0x00,0x63,0x6b,0x00,0x00,0xe3,0x53,0x00,0x00,0x50,0x57,0x00,0x00, 0x84,0x5e,0x00,0x00,0x38,0x6e,0x00,0x00,0x92,0x7c,0x00,0x00,0xe6,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9b,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00,0xed,0x56,0x00,0x00,0x97,0x67,0x00,0x00,0x0b,0x7b,0x00,0x00, 0xcb,0x7a,0xb6,0x5b,0x00,0x00,0xff,0x7a,0x00,0x00,0x80,0x7b,0x00,0x00,0x52,0x97,0x00,0x00,0xad,0x70, 0x00,0x00,0x06,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0xef,0x53,0x62,0x68,0x00,0x00,0x7e,0x4e,0x00,0x00, 0x59,0x65,0x00,0x00,0x66,0x4e,0x00,0x00,0x66,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x4f,0x00,0x00,0x9a,0x5b,0x00,0x00,0x9e,0x5b,0x00,0x00, 0x66,0x5b,0x00,0x00,0x9a,0x53,0x00,0x00,0xf1,0x6d,0x00,0x00,0xda,0x8b,0x00,0x00,0x31,0x72,0x00,0x00, 0x03,0x7b,0x9a,0x5b,0x9a,0x5b,0x00,0x00,0xec,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0xed,0x86,0x00,0x00, 0x4b,0x4e,0x74,0x5e,0x00,0x00,0xa0,0x51,0x00,0x00,0x74,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x97,0x65, 0x00,0x00,0xf1,0x7b,0x00,0x00,0xf1,0x7b,0x50,0x5b,0x00,0x00,0x06,0x7b,0xc9,0x62,0x00,0x00,0x01,0x00, 0x00,0x00,0xf1,0x7b,0x00,0x00,0x08,0x00,0x00,0x00,0x97,0x5c,0x00,0x00,0x72,0x5e,0x00,0x00,0xd8,0x76, 0x00,0x00,0x50,0x5b,0x00,0x00,0x97,0x5c,0xef,0x8d,0x00,0x00,0xf3,0x58,0x00,0x00,0xf9,0x7a,0x00,0x00, 0x21,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x8b,0x00,0x00,0xb9,0x5b,0x00,0x00,0xb9,0x70,0x00,0x00, 0xf0,0x58,0x00,0x00,0x38,0x81,0x00,0x00,0x11,0x7b,0x00,0x00,0x00,0x8a,0x00,0x00,0x08,0x8c,0x00,0x00, 0x0f,0x61,0x00,0x00,0xc4,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0xb0,0x8b,0x2c,0x67, 0x00,0x00,0xb0,0x8b,0x00,0x00,0xd5,0x8b,0x00,0x00,0x55,0x5f,0x00,0x00,0x0b,0x4e,0x00,0x00,0xa8,0x58, 0x00,0x00,0xf9,0x8f,0x00,0x00,0x70,0x65,0x00,0x00,0x3b,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x68, 0x00,0x00,0x04,0x00,0x00,0x00,0x4c,0x6b,0x00,0x00,0xab,0x7b,0x00,0x00,0x27,0x7c,0x00,0x00,0xa1,0x7b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x53,0x14,0x5c,0x00,0x00,0x50,0x5b,0x00,0x00,0x61,0x53,0x3f,0x51, 0x00,0x00,0x8f,0x79,0x00,0x00,0xf0,0x58,0x00,0x00,0xf3,0x97,0x00,0x00,0x9c,0x81,0x00,0x00,0xab,0x7b, 0x00,0x00,0x99,0x6c,0x3c,0x68,0x00,0x00,0x61,0x53,0x3f,0x51,0x50,0x57,0x07,0x68,0x36,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0x11,0x52,0x00,0x00,0x56,0x67,0x00,0x00,0x23,0x8d,0x00,0x00,0x1e,0x63,0x00,0x00, 0x82,0x9a,0x00,0x00,0xcc,0x80,0x00,0x00,0xc0,0x81,0x00,0x00,0xa0,0x63,0x00,0x00,0xfb,0x51,0x00,0x00, 0xb1,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x51,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x1a,0x5e, 0x00,0x00,0x1a,0x5e,0x34,0x59,0x00,0x00,0x01,0x00,0x00,0x00,0x2e,0x53,0xca,0x56,0x7a,0x7a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0xf7,0x53,0x00,0x00,0xc9,0x62,0xea,0x8f,0x83,0x6c,0xaf,0x65, 0x58,0x62,0x4b,0x51,0x00,0x00,0xf7,0x53,0x66,0x5b,0x00,0x00,0x92,0x54,0x00,0x00,0xf7,0x53,0x16,0x53, 0x00,0x00,0x08,0x54,0x27,0x60,0x00,0x00,0x08,0x54,0x61,0x67,0xf6,0x4e,0x05,0x80,0x00,0x00,0x01,0x78, 0x00,0x00,0x7e,0x81,0x21,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x7b,0x00,0x00,0xcb,0x86,0x00,0x00, 0xd9,0x62,0x00,0x00,0xcd,0x91,0x00,0x00,0x21,0x9e,0xcb,0x86,0x00,0x00,0x4b,0x62,0x28,0x7b,0x1a,0x81, 0x00,0x00,0x3c,0x8d,0x00,0x00,0xba,0x4e,0x00,0x00,0x30,0x52,0x00,0x00,0x1f,0x9e,0x48,0x51,0xde,0x98, 0x00,0x00,0x01,0x00,0x00,0x00,0x6c,0x51,0x60,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x4e,0x00,0x00, 0x8c,0x4e,0x00,0x00,0x09,0x4e,0x00,0x00,0xdb,0x56,0x00,0x00,0x94,0x4e,0x00,0x00,0x09,0x4e,0xb9,0x65, 0x00,0x00,0x6d,0x51,0x00,0x00,0x03,0x4e,0x00,0x00,0x6b,0x51,0x00,0x00,0x5d,0x4e,0x00,0x00,0x02,0x00, 0x00,0x00,0xa9,0x7b,0x00,0x00,0xee,0x7b,0x00,0x00,0x04,0x00,0x00,0x00,0xe8,0x6c,0x00,0x00,0x31,0x8c, 0x00,0x00,0xc1,0x8b,0x3f,0x7a,0x00,0x00,0x21,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x7f,0x00,0x00, 0x50,0x5b,0x00,0x00,0xdf,0x7e,0x00,0x00,0xdc,0x7e,0x00,0x00,0x0d,0x82,0x00,0x00,0x34,0x59,0x00,0x00, 0xcc,0x91,0x00,0x00,0x49,0x5c,0x00,0x00,0x2d,0x4e,0x1f,0x9e,0x00,0x00,0x0c,0x80,0xdf,0x7e,0x4b,0x4e, 0x00,0x00,0x01,0x00,0x00,0x00,0xf9,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0x1a,0x5e,0x00,0x00,0x01,0x00, 0x00,0x00,0xf9,0x7a,0xfa,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x7b,0x00,0x00,0x85,0x5f,0x00,0x00, 0x8e,0x4e,0x00,0x00,0xa7,0x7e,0x00,0x00,0x30,0x52,0x00,0x00,0x19,0x50,0x00,0x00,0x0c,0x54,0x00,0x00, 0xbb,0x79,0x50,0x5b,0x00,0x00,0xf7,0x4e,0x69,0x72,0x00,0x00,0x3c,0x50,0x00,0x00,0x01,0x00,0x00,0x00, 0x6f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0xb2,0x75,0x9b,0x52,0x3d,0x5c,0x00,0x00, 0x9c,0x81,0x00,0x00,0x53,0x90,0x00,0x00,0x89,0x80,0x00,0x00,0x97,0x65,0x00,0x00,0x97,0x65,0x91,0x4e, 0x00,0x00,0x09,0x81,0x00,0x00,0xdc,0x7e,0x00,0x00,0xa6,0x5e,0x00,0x00,0x05,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0xfa,0x57,0x00,0x00,0x0f,0x5f,0x00,0x00,0x8b,0x57,0x00,0x00,0x7b,0x51,0x95,0x5e,0xad,0x64, 0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xa7,0x7b,0x00,0x00,0xa7,0x7b,0x2d,0x4e,0x69,0x72, 0x00,0x00,0x0a,0x00,0x00,0x00,0x95,0x5e,0x00,0x00,0xe2,0x5d,0x00,0x00,0xef,0x8d,0x00,0x00,0x76,0x98, 0x00,0x00,0x69,0x72,0x00,0x00,0xe2,0x5d,0x15,0x5f,0xe4,0x51,0x00,0x00,0x20,0x90,0x00,0x00,0x5d,0x57, 0x00,0x00,0xe2,0x6c,0x27,0x59,0x66,0x5b,0x00,0x00,0x31,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x50,0x5b,0x7c,0x69,0x00,0x00,0x50,0x5b,0xb3,0x6c,0x00,0x00,0x6f,0x70,0x00,0x00,0xe6,0x74, 0x00,0x00,0xe4,0x88,0x00,0x00,0x0f,0x5f,0x00,0x00,0x66,0x8f,0x00,0x00,0xc1,0x58,0x00,0x00,0xd9,0x88, 0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x68,0x00,0x00,0x0d,0x59,0x00,0x00,0x94,0x5e,0x00,0x00,0x91,0x75, 0x00,0x00,0xa9,0x8f,0x00,0x00,0x77,0x53,0x00,0x00,0x53,0x90,0x00,0x00,0xee,0x95,0x00,0x00,0x22,0x8c, 0x00,0x00,0xf9,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xd6,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x75, 0x00,0x00,0x12,0x52,0x00,0x00,0x65,0x75,0x08,0x5e,0x00,0x00,0x55,0x5c,0xba,0x4e,0x00,0x00,0x12,0x52, 0x05,0x80,0x00,0x00,0x65,0x75,0x27,0x60,0x00,0x00,0x12,0x52,0xba,0x4e,0x00,0x00,0x55,0x5c,0x00,0x00, 0xa8,0x52,0x00,0x00,0x12,0x52,0xe8,0x90,0x00,0x00,0x03,0x00,0x00,0x00,0xef,0x8d,0xdd,0x84,0x15,0x7f, 0x00,0x00,0xe5,0x7b,0x00,0x00,0xe8,0x95,0xfa,0x95,0xa6,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x90, 0x00,0x00,0xe5,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0xc0,0x68,0x00,0x00,0x09,0x90,0xfa,0x51,0x00,0x00, 0xd5,0x6c,0x00,0x00,0x51,0x7f,0x00,0x00,0x64,0x96,0x00,0x00,0xe0,0x7c,0x00,0x00,0xa8,0x9a,0x00,0x00, 0x03,0x00,0x00,0x00,0xde,0x8f,0xbf,0x53,0x00,0x00,0xde,0x8f,0x00,0x00,0x71,0x5c,0x00,0x00,0x03,0x00, 0x00,0x00,0x95,0x7b,0x7e,0x6e,0x00,0x00,0x95,0x7b,0x00,0x00,0x8d,0x7b,0x00,0x00,0x05,0x00,0x00,0x00, 0x2d,0x5e,0x00,0x00,0xb4,0x5b,0x00,0x00,0x2d,0x5e,0x0e,0x7a,0x00,0x00,0x0a,0x4e,0x00,0x00,0x2d,0x5e, 0x50,0x63,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0xf7,0x5d,0x00,0x00,0x50,0x5b, 0xa5,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x59,0x00,0x00,0xc6,0x96,0x00,0x00,0x12,0x52,0x00,0x00, 0x01,0x78,0x00,0x00,0x44,0x8d,0x00,0x00,0xfa,0x5e,0x00,0x00,0xaa,0x63,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x9e,0x52,0x00,0x00,0x07,0x59,0xc4,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x5c,0x7b,0x00,0x00,0x5c,0x7b, 0x56,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x7f,0x00,0x00,0xa2,0x8b,0x00,0x00,0xa6,0x7e,0x00,0x00, 0xc1,0x8b,0x00,0x00,0x0d,0x54,0x00,0x00,0x57,0x5b,0x00,0x00,0x30,0x52,0x00,0x00,0xd1,0x53,0x00,0x00, 0x36,0x65,0x00,0x00,0xa6,0x7e,0x87,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x53,0x00,0x00,0xf0,0x79, 0x00,0x00,0xf4,0x76,0x00,0x00,0x16,0x53,0x00,0x00,0x86,0x53,0x00,0x00,0xcb,0x4e,0x00,0x00,0x13,0x66, 0x00,0x00,0x01,0x6d,0x00,0x00,0xed,0x77,0x00,0x00,0x4b,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x27,0x7d,0x00,0x00,0x76,0x68,0x00,0x00,0x26,0x5e,0x00,0x00,0x76,0x68, 0x20,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0x67,0x8f,0x3a,0x67,0x00,0x00,0x82,0x82,0x3f,0x51,0x00,0x00, 0xbb,0x9e,0x00,0x00,0x76,0x68,0x97,0x5e,0x00,0x00,0x34,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x67, 0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x1e,0x8e,0x00,0x00,0x97,0x65,0x00,0x00,0x0a,0x00, 0x00,0x00,0x2f,0x66,0x00,0x00,0xd5,0x6c,0x00,0x00,0x86,0x4e,0x00,0x00,0x7d,0x54,0x00,0x00,0x5c,0x4f, 0x00,0x00,0x26,0x8d,0x00,0x00,0xd8,0x76,0x00,0x00,0x97,0x7b,0x00,0x00,0xa1,0x8b,0x00,0x00,0x2f,0x67, 0x00,0x00,0x02,0x00,0x00,0x00,0xcc,0x7b,0x00,0x00,0x27,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0x06,0x74,0x00,0x00,0x06,0x74,0x40,0x5c,0x00,0x00,0x06,0x74,0x42,0x5c, 0x00,0x00,0x53,0x90,0x00,0x00,0x36,0x52,0x00,0x00,0x06,0x74,0xba,0x4e,0x00,0x00,0xa7,0x63,0x00,0x00, 0x06,0x74,0x39,0x8d,0x00,0x00,0x96,0x8f,0x00,0x00,0xd4,0x59,0x1a,0x4f,0x00,0x00,0x02,0x00,0x00,0x00, 0xfc,0x7b,0x00,0x00,0x95,0x7b,0x00,0x00,0x04,0x00,0x00,0x00,0x25,0x7b,0x00,0x00,0x4d,0x88,0x00,0x00, 0xa7,0x7b,0x00,0x00,0xcd,0x91,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x7b,0x00,0x00,0x02,0x00,0x00,0x00, 0xdf,0x98,0xf6,0x58,0x46,0x6d,0x00,0x00,0x25,0x7b,0x00,0x00,0x02,0x00,0x00,0x00,0xf9,0x7a,0x00,0x00, 0x3d,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x28,0x57,0x26,0x5f,0x0a,0x4e,0x00,0x00, 0x65,0x6b,0x00,0x00,0x4c,0x72,0x00,0x00,0x04,0x5c,0x00,0x00,0x53,0x4f,0x00,0x00,0xe2,0x77,0x00,0x00, 0x7c,0x69,0x00,0x00,0x7c,0x9c,0x00,0x00,0xd2,0x6b,0xd9,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x05,0x53,0x00,0x00,0x53,0x4f,0x00,0x00,0x85,0x51,0x00,0x00,0x95,0x5e,0x00,0x00,0x0f,0x5f, 0x00,0x00,0xb5,0x6d,0x00,0x00,0x39,0x68,0x00,0x00,0xf7,0x53,0x00,0x00,0x3c,0x7b,0x00,0x00,0x01,0x00, 0x00,0x00,0x00,0x8a,0x00,0x00,0x02,0x00,0x00,0x00,0x2c,0x67,0x00,0x00,0xc4,0x7b,0x00,0x00,0x06,0x00, 0x00,0x00,0x3b,0x52,0x00,0x00,0x66,0x4e,0x00,0x00,0x3b,0x52,0xb6,0x5b,0x00,0x00,0x53,0x4f,0x00,0x00, 0x57,0x5b,0x00,0x00,0xe5,0x5d,0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x5e,0x00,0x00,0xe0,0x7a,0x00,0x00, 0xee,0x76,0x00,0x00,0xc7,0x7b,0x00,0x00,0x87,0x65,0x00,0x00,0xc0,0x4e,0x00,0x00,0x0d,0x54,0x00,0x00, 0x96,0x99,0x00,0x00,0x50,0x5b,0x00,0x00,0x75,0x98,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xcc,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x34,0x59,0x00,0x00,0x02,0x00,0x00,0x00, 0x6b,0x70,0x00,0x00,0x6b,0x70,0xd0,0x72,0x23,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x65,0x00,0x00, 0x4d,0x4f,0x00,0x00,0x3a,0x59,0x00,0x00,0x43,0x67,0x00,0x00,0x07,0x68,0x00,0x00,0x5a,0x51,0x00,0x00, 0x3f,0x65,0x00,0x00,0x9b,0x51,0x00,0x00,0xfd,0x56,0x00,0x00,0x11,0x5f,0x00,0x00,0x02,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x74,0x00,0x00,0x50,0x5b,0x00,0x00, 0x03,0x74,0x3a,0x57,0x00,0x00,0x7f,0x67,0x00,0x00,0x4f,0x53,0x00,0x00,0x03,0x74,0x1f,0x96,0x00,0x00, 0x03,0x74,0x5b,0x8d,0x00,0x00,0x03,0x74,0x8b,0x97,0x00,0x00,0x51,0x7f,0x00,0x00,0x50,0x7b,0x00,0x00, 0x08,0x00,0x00,0x00,0x06,0x7b,0x00,0x00,0x06,0x7b,0x51,0x7f,0x00,0x00,0x3d,0x84,0x00,0x00,0x99,0x58, 0x00,0x00,0xed,0x56,0x00,0x00,0x06,0x7b,0x99,0x58,0x00,0x00,0x05,0x68,0x00,0x00,0xa3,0x57,0x00,0x00, 0x06,0x00,0x00,0x00,0x03,0x5e,0x00,0x00,0x66,0x8f,0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x62,0x00,0x00, 0x76,0x98,0x00,0x00,0xd6,0x76,0x03,0x5e,0x00,0x00,0x05,0x00,0x00,0x00,0x61,0x67,0x00,0x00,0x20,0x53, 0x00,0x00,0x47,0x72,0x00,0x00,0x00,0x52,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x62, 0x00,0x00,0xb0,0x65,0x00,0x00,0x07,0x7c,0x00,0x00,0x1f,0x75,0x00,0x00,0x04,0x5c,0x00,0x00,0xc6,0x96, 0x00,0x00,0x5a,0x80,0x00,0x00,0x45,0x5c,0x00,0x00,0x04,0x5c,0xe2,0x6c,0x00,0x00,0x0e,0x83,0xf3,0x77, 0xf9,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x57,0x88,0x00,0x00, 0x02,0x00,0x00,0x00,0x0c,0x7c,0x00,0x00,0x0c,0x7c,0xd1,0x53,0x96,0x62,0x00,0x00,0x01,0x00,0x00,0x00, 0xf9,0x7a,0x00,0x00,0x04,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0xa1,0x7b,0x00,0x00,0xce,0x98,0x34,0x74, 0x00,0x00,0x0c,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x28,0x7f,0x00,0x00,0x06,0x00, 0x00,0x00,0x95,0x7b,0x00,0x00,0xa9,0x7b,0x00,0x00,0x04,0x5f,0x00,0x00,0x37,0x8c,0x00,0x00,0x6c,0x62, 0x00,0x00,0x61,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x30,0x52,0x00,0x00,0x72,0x7f, 0x00,0x00,0x57,0x5b,0x00,0x00,0x2e,0x55,0x00,0x00,0x36,0x65,0x00,0x00,0x0d,0x54,0x1a,0x4f,0x00,0x00, 0x66,0x4e,0x1a,0x4f,0x00,0x00,0xa2,0x8b,0x00,0x00,0xa6,0x7e,0x00,0x00,0x06,0x00,0x00,0x00,0xb0,0x8b, 0x00,0x00,0x50,0x5b,0x00,0x00,0x8c,0x51,0x00,0x00,0x4d,0x7c,0x00,0x00,0xa1,0x8b,0x00,0x00,0xb0,0x8b, 0xa1,0x7b,0x06,0x74,0x58,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x65,0x00,0x00,0x66,0x4e,0x00,0x00, 0x03,0x00,0x00,0x00,0x2f,0x8d,0x00,0x00,0x4d,0x7c,0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x6d,0x99,0x00,0x00,0x47,0x6b,0x14,0x5c,0x00,0x00,0x70,0x51,0x00,0x00,0x89,0x7c,0x00,0x00,0xfd,0x56, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x92,0x7c,0x00,0x00,0x52,0x91,0x00,0x00,0x47,0x59,0x00,0x00,0x70,0x51, 0xbe,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x4f,0x00,0x00,0x8b,0x57,0x00,0x00,0x2b,0x52,0x00,0x00, 0x2a,0x4e,0xa1,0x80,0x00,0x00,0xd4,0x6b,0x00,0x00,0xa1,0x80,0x00,0x00,0xee,0x76,0x00,0x00,0xc4,0x9e, 0x6e,0x91,0x00,0x00,0xfa,0x56,0x87,0x91,0x00,0x00,0xa8,0x63,0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x7c, 0x00,0x00,0x3b,0x7a,0x00,0x00,0x05,0x00,0x00,0x00,0x99,0x65,0x00,0x00,0xc9,0x68,0x00,0x00,0x92,0x7c, 0x00,0x00,0x9e,0x5b,0x00,0x00,0x51,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x1d,0x4e,0x00,0x00,0x8e,0x78, 0x00,0x00,0x2b,0x67,0x00,0x00,0x18,0x5c,0x00,0x00,0x72,0x82,0x00,0x00,0x8e,0x78,0x3a,0x67,0x00,0x00, 0x95,0x5e,0x00,0x00,0x3a,0x52,0x00,0x00,0xa2,0x7e,0x72,0x82,0x00,0x00,0x70,0x99,0x00,0x00,0x01,0x00, 0x00,0x00,0x91,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x84,0x5f,0x00,0x00,0x92,0x7c, 0x00,0x00,0xc6,0x7e,0xde,0x80,0x00,0x00,0x50,0x5b,0xa0,0x52,0x1f,0x90,0x68,0x56,0x00,0x00,0x50,0x5b, 0x27,0x60,0x00,0x00,0xa6,0x5e,0x00,0x00,0x50,0x5b,0x69,0x72,0x06,0x74,0x66,0x5b,0x00,0x00,0x50,0x5b, 0x41,0x6d,0x00,0x00,0x50,0x5b,0x5f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x75,0x00,0x00,0xd9,0x7c, 0x00,0x00,0xb4,0x66,0x00,0x00,0xae,0x7c,0x00,0x00,0x3e,0x65,0x00,0x00,0xc6,0x7e,0x00,0x00,0x27,0x59, 0x00,0x00,0x3e,0x65,0x0f,0x5f,0x00,0x00,0xa4,0x7e,0xf4,0x7e,0x00,0x00,0xee,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0x34,0x8d,0x00,0x00,0x9c,0x81,0x00,0x00,0x27,0x60,0x00,0x00,0x08,0x54,0x00,0x00,0x20,0x7a, 0x00,0x00,0x1f,0x57,0x00,0x00,0xb2,0x6d,0x00,0x00,0xde,0x8f,0x00,0x00,0xa6,0x5e,0x00,0x00,0x05,0x95, 0x00,0x00,0x07,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0xd5,0x88,0x00,0x00,0x73,0x7c,0x00,0x00,0x79,0x72, 0xba,0x4e,0x00,0x00,0x50,0x5b,0x00,0x00,0xce,0x57,0x61,0x4e,0x00,0x00,0x50,0x5b,0x3f,0x62,0x47,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x1c,0x4e,0x00,0x00,0x17,0x53,0x00,0x00,0x7f,0x89, 0x00,0x00,0x67,0x52,0x00,0x00,0xdc,0x83,0x00,0x00,0x22,0x8d,0x00,0x00,0x9b,0x51,0x00,0x00,0x9d,0x5b, 0x00,0x00,0x46,0x55,0x00,0x00,0x05,0x00,0x00,0x00,0x37,0x68,0x00,0x00,0xc1,0x54,0x00,0x00,0x62,0x97, 0x00,0x00,0x11,0x5c,0xe7,0x50,0x1a,0x59,0x00,0x00,0x37,0x68,0x6c,0x78,0x16,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xbf,0x4f,0x00,0x00,0x51,0x57,0x00,0x00,0xc9,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x1f,0x57, 0x00,0x00,0x60,0x6c,0x00,0x00,0x06,0x58,0x00,0x00,0x52,0x97,0x00,0x00,0x61,0x6c,0x00,0x00,0xa5,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x98,0x00,0x00,0xb9,0x6c,0x00,0x00,0xf7,0x4e,0x00,0x00,0x9c,0x51, 0x00,0x00,0x93,0x5e,0x00,0x00,0xdf,0x98,0x40,0x5c,0x00,0x00,0xd3,0x4e,0x00,0x00,0x68,0x79,0x00,0x00, 0x46,0x55,0x00,0x00,0xdf,0x98,0x5c,0x4f,0x69,0x72,0x00,0x00,0x02,0x00,0x00,0x00,0x89,0x80,0x00,0x00, 0x3c,0x6d,0x47,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x38,0x59,0x4b,0x51,0x00,0x00, 0x36,0x71,0xef,0x53,0xc2,0x89,0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x3b,0x7a,0x00,0x00, 0x01,0x00,0x00,0x00,0xbc,0x7c,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xf6,0x53,0x00,0x00, 0x99,0x99,0x00,0x00,0x91,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x5e,0x79,0x00,0x00,0x09,0x90,0x00,0x00, 0x69,0x5f,0x00,0x00,0x9b,0x52,0x00,0x00,0x50,0x5b,0x00,0x00,0xc1,0x54,0x00,0x00,0xf1,0x82,0x00,0x00, 0x6e,0x78,0x00,0x00,0x75,0x70,0x00,0x00,0xc3,0x5f,0x00,0x00,0x05,0x00,0x00,0x00,0x08,0x54,0x00,0x00, 0x42,0x67,0x00,0x00,0x65,0x51,0x00,0x00,0x8c,0x54,0x00,0x00,0xdb,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x82,0x6d,0x00,0x00,0xe3,0x53,0x00,0x00,0x04,0x5f,0x00,0x00,0x82,0x6d,0x26,0x8d,0x00,0x00,0xb6,0x72, 0x00,0x00,0xcc,0x91,0xca,0x7c,0x82,0x6d,0x00,0x00,0xca,0x7c,0x00,0x00,0xbe,0x7c,0x00,0x00,0x16,0x53, 0x00,0x00,0x38,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0x91,0x7c,0x00,0x00,0xf4,0x5d,0x00,0x00,0x01,0x00, 0x00,0x00,0x91,0x7c,0x00,0x00,0x03,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x7c,0x99,0x00,0x00,0x72,0x5e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x5c,0xc5,0x75,0x00,0x00,0x9c,0x67,0x00,0x00,0x06,0x52,0x00,0x00, 0x7b,0x7c,0x00,0x00,0xd6,0x7c,0x00,0x00,0x1a,0x4e,0x00,0x00,0x34,0x6c,0x00,0x00,0x46,0x6d,0x00,0x00, 0xbe,0x7c,0x00,0x00,0x3f,0x5c,0xc5,0x75,0xba,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x7e,0x76,0x00,0x00, 0xcb,0x53,0x00,0x00,0x8b,0x4e,0x00,0x00,0xae,0x7c,0x00,0x00,0x27,0x59,0x00,0x00,0x06,0x00,0x00,0x00, 0x73,0x7c,0x00,0x00,0xae,0x76,0xc5,0x75,0x00,0x00,0xae,0x7c,0x00,0x00,0x38,0x75,0x61,0x4e,0x00,0x00, 0x62,0x97,0x85,0x51,0x28,0x8d,0x51,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00,0x06,0x00,0x00,0x00,0xc2,0x70, 0x00,0x00,0x50,0x5b,0x00,0x00,0xc2,0x70,0x27,0x60,0xd2,0x6b,0x42,0x52,0x00,0x00,0x39,0x8d,0x00,0x00, 0xf1,0x68,0x00,0x00,0x01,0x80,0x27,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x7c,0x00,0x00,0x4b,0x8e, 0x00,0x00,0x95,0x7c,0x00,0x00,0x0f,0x90,0x00,0x00,0xc3,0x5f,0x00,0x00,0xe0,0x7c,0x00,0x00,0xf5,0x8d, 0x00,0x00,0x0f,0x8e,0x00,0x00,0x30,0x52,0x00,0x00,0xb9,0x6c,0x00,0x00,0x05,0x00,0x00,0x00,0x9b,0x91, 0x00,0x00,0xd5,0x79,0x00,0x00,0x9b,0x91,0x82,0x53,0x00,0x00,0xb9,0x75,0x00,0x00,0xdc,0x83,0x00,0x00, 0x01,0x00,0x00,0x00,0xca,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0xca,0x7c,0x00,0x00,0x50,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0xb7,0x5e,0x00,0x00,0x73,0x7c,0x51,0x7f,0x00,0x00,0x73,0x7c, 0x89,0x7c,0x00,0x00,0x73,0x7c,0xe2,0x56,0x00,0x00,0x73,0x7c,0xcd,0x7c,0x00,0x00,0x73,0x7c,0xd5,0x7c, 0x00,0x00,0x73,0x7c,0xb8,0x7e,0x00,0x00,0x3b,0x7a,0x00,0x00,0x73,0x7c,0xc0,0x81,0x00,0x00,0x01,0x00, 0x00,0x00,0xe1,0x6e,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x7e,0x00,0x00,0x17,0x52,0x00,0x00, 0xdf,0x7e,0x27,0x60,0x00,0x00,0x70,0x65,0x00,0x00,0xdf,0x7e,0xe5,0x5d,0x0b,0x7a,0x00,0x00,0x3b,0x4e, 0xfb,0x4e,0x00,0x00,0xdf,0x7e,0x16,0x53,0x00,0x00,0x17,0x52,0x48,0x68,0x00,0x00,0x17,0x52,0x16,0x53, 0x00,0x00,0x26,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x41,0x6d,0x00,0x00,0x0a,0x00, 0x00,0x00,0x28,0x8d,0x00,0x00,0xdf,0x98,0x00,0x00,0x7b,0x51,0x00,0x00,0x50,0x67,0x00,0x00,0x09,0x67, 0x00,0x00,0xdf,0x98,0x05,0x80,0x00,0x00,0xcf,0x63,0x00,0x00,0x65,0x67,0x00,0x00,0x34,0x8d,0x00,0x00, 0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x5c,0x00,0x00,0x54,0x8d,0x00,0x00,0x6c,0x9a,0xcc,0x91, 0x00,0x00,0x81,0x89,0x00,0x00,0xd6,0x53,0x00,0x00,0x57,0x7f,0xaf,0x65,0x00,0x00,0x27,0x60,0x00,0x00, 0x15,0x5f,0x00,0x00,0x53,0x90,0x00,0x00,0x51,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x5f,0x00,0x00, 0x25,0x60,0x00,0x00,0x29,0x7f,0x00,0x00,0xc6,0x5b,0x00,0x00,0x27,0x7d,0x00,0x00,0x3a,0x7f,0x00,0x00, 0xa5,0x63,0x40,0x77,0x00,0x00,0xeb,0x8f,0x00,0x00,0xbb,0x90,0x00,0x00,0x25,0x60,0xb6,0x72,0x01,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x59,0xbf,0x7e,0x00,0x00,0xd1,0x91,0x00,0x00,0x72,0x82,0x00,0x00, 0x02,0x78,0x00,0x00,0x80,0x6a,0x00,0x00,0x02,0x78,0xf6,0x58,0x00,0x00,0xdc,0x83,0x00,0x00,0x49,0x51, 0x00,0x00,0xd1,0x91,0x71,0x5c,0x00,0x00,0x46,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x8b,0x00,0x00, 0xef,0x79,0x00,0x00,0x2f,0x7d,0x00,0x00,0xa0,0x52,0x00,0x00,0x7b,0x6b,0x00,0x00,0xdb,0x8f,0x00,0x00, 0x58,0x8d,0x00,0x00,0xaf,0x72,0x00,0x00,0x47,0x53,0x00,0x00,0xab,0x52,0x00,0x00,0x01,0x00,0x00,0x00, 0x03,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x72,0x69,0x72,0x00,0x00,0xb6,0x72,0x00,0x00,0x6e,0x7d, 0xe8,0x53,0xe8,0x53,0x00,0x00,0xe8,0x53,0x00,0x00,0xed,0x8b,0x00,0x00,0x6e,0x7d,0x00,0x00,0x47,0x72, 0x00,0x00,0xc9,0x68,0x00,0x00,0xe6,0x70,0x00,0x00,0x52,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x7e, 0x00,0x00,0x03,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0x5f,0x6c,0x3a,0x53, 0x00,0x00,0x01,0x00,0x00,0x00,0x29,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x83,0x00,0x00,0x96,0x6b, 0x00,0x00,0x4e,0x53,0x00,0x00,0xd9,0x5f,0x00,0x00,0x10,0x74,0x00,0x00,0x1a,0x59,0x00,0x00,0xcd,0x91, 0x00,0x00,0x4d,0x88,0x00,0x00,0x42,0x67,0x00,0x00,0xb2,0x80,0x00,0x00,0x02,0x00,0x00,0x00,0xee,0x4f, 0x00,0x00,0x9c,0x55,0x90,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb7,0x7e,0x00,0x00,0xd3,0x7e,0x00,0x00, 0x63,0x6b,0x00,0x00,0x20,0x7f,0x00,0x00,0x5b,0x84,0x00,0x00,0x19,0x95,0x00,0x00,0xb7,0x7e,0x48,0x68, 0x00,0x00,0xc6,0x96,0x00,0x00,0x4f,0x50,0x00,0x00,0xce,0x98,0x9e,0x52,0x00,0x00,0x01,0x00,0x00,0x00, 0xde,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x82,0x00,0x00,0x29,0x52,0x00,0x00,0x41,0x53,0x57,0x5b, 0x1a,0x4f,0x00,0x00,0x05,0x53,0x00,0x00,0xa3,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0x6f,0x70,0x00,0x00, 0xd7,0x65,0x00,0x00,0x50,0x7f,0x00,0x00,0x6b,0x88,0x9b,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x8b,0x73, 0x00,0x00,0x9b,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x7e,0x00,0x00,0xf4,0x7e,0x20,0x7d,0x00,0x00, 0xc6,0x7e,0x00,0x00,0x53,0x4f,0x00,0x00,0xf4,0x7e,0x28,0x8d,0x00,0x00,0xf4,0x7e,0x16,0x53,0x00,0x00, 0xf4,0x7e,0x7f,0x67,0x00,0x00,0xdb,0x6b,0x00,0x00,0xf4,0x7e,0xcb,0x86,0x7d,0x76,0x00,0x00,0xa4,0x7e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x5f,0x67,0x00,0x00,0xf0,0x7f,0x00,0x00,0x1a,0x4f, 0x00,0x00,0xe6,0x65,0x00,0x00,0x08,0x8c,0x00,0x00,0xf0,0x7f,0x0a,0x90,0x00,0x00,0x5f,0x67,0x9b,0x52, 0x00,0x00,0x5f,0x74,0x2b,0x59,0x00,0x00,0xe6,0x65,0xb3,0x6c,0x00,0x00,0x09,0x00,0x00,0x00,0x2b,0x52, 0x00,0x00,0x70,0x65,0x00,0x00,0xee,0x5d,0x00,0x00,0xdd,0x8d,0x00,0x00,0x21,0x6b,0x00,0x00,0xfb,0x4e, 0x00,0x00,0x25,0x52,0x00,0x00,0x54,0x80,0x00,0x00,0x3a,0x5f,0x00,0x00,0x05,0x00,0x00,0x00,0xd4,0x7e, 0x50,0x5b,0x1f,0x5f,0x00,0x00,0xd4,0x7e,0x00,0x00,0x47,0x62,0x00,0x00,0xb4,0x88,0x00,0x00,0xe4,0x88, 0x50,0x5b,0x1f,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x5f,0x00,0x00,0xd4,0x59,0x00,0x00,0xf5,0x5f, 0x00,0x00,0x8b,0x5f,0x00,0x00,0xc0,0x68,0x00,0x00,0x55,0x5f,0x47,0x72,0x00,0x00,0x81,0x89,0x00,0x00, 0xf5,0x5f,0x01,0x5e,0x00,0x00,0xf5,0x5f,0xe5,0x65,0x00,0x00,0xf5,0x5f,0x86,0x99,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x1b,0x52,0x00,0x00,0xbf,0x7e,0x00,0x00,0x94,0x4e,0xef,0x8d,0x00,0x00, 0x66,0x4e,0x00,0x00,0x65,0x67,0x00,0x00,0x08,0x57,0x00,0x00,0xb1,0x7e,0x00,0x00,0x26,0x95,0x00,0x00, 0xbf,0x7e,0x08,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0xad,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x7c, 0x00,0x00,0x5e,0x5c,0x00,0x00,0x29,0x52,0x00,0x00,0x3a,0x50,0x00,0x00,0x01,0x6d,0x00,0x00,0xc0,0x51, 0x34,0x6c,0x00,0x00,0xa6,0x5e,0x00,0x00,0xc0,0x51,0x00,0x00,0x63,0x6b,0x00,0x00,0x36,0x65,0x65,0x51, 0x00,0x00,0x03,0x00,0x00,0x00,0x0f,0x6f,0x00,0x00,0xc2,0x88,0x00,0x00,0x2a,0x7f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x03,0x5e,0x00,0x00,0x97,0x7a,0x00,0x00,0xbf,0x7e,0x00,0x00,0xfe,0x5d,0x00,0x00,0x82,0x53, 0x00,0x00,0x03,0x5e,0xe3,0x53,0x69,0x7f,0x00,0x00,0x03,0x5e,0x8b,0x88,0x00,0x00,0xd9,0x88,0x00,0x00, 0x3d,0x4e,0x00,0x00,0x3d,0x5e,0x00,0x00,0x07,0x00,0x00,0x00,0x81,0x89,0x00,0x00,0x86,0x98,0x00,0x00, 0x86,0x98,0x27,0x60,0x00,0x00,0xee,0x76,0x00,0x00,0x38,0x5e,0x00,0x00,0xaa,0x7e,0x00,0x00,0x3e,0x4e, 0xee,0x76,0x20,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xaf,0x65,0xbe,0x8f,0x4b,0x51, 0x00,0x00,0x0e,0x7a,0xba,0x4e,0x00,0x00,0x0e,0x7a,0x00,0x00,0x73,0x7c,0x00,0x00,0xb9,0x7c,0x00,0x00, 0xf7,0x95,0x00,0x00,0x09,0x54,0x03,0x5e,0x00,0x00,0x79,0x72,0x00,0x00,0xe2,0x6c,0x29,0x52,0x54,0x58, 0xfa,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0xc7,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x6a,0x00,0x00, 0xc2,0x89,0x00,0x00,0x11,0x54,0x00,0x00,0xb9,0x5b,0x00,0x00,0x6b,0x70,0x00,0x00,0xf1,0x6d,0x00,0x00, 0x36,0x71,0x00,0x00,0x7f,0x4f,0x00,0x00,0x32,0x6b,0x00,0x00,0x1f,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0xb7,0x7e,0x00,0x00,0x89,0x4e,0x00,0x00,0x41,0x7e,0x00,0x00,0xf3,0x81,0x93,0x6c,0x65,0x67,0x00,0x00, 0xde,0x98,0x00,0x00,0x48,0x54,0x00,0x00,0x71,0x4e,0x00,0x00,0x70,0x62,0x00,0x00,0xad,0x7e,0x00,0x00, 0x42,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x5e,0x00,0x00,0x28,0x8d,0x00,0x00,0x1a,0x4e,0x00,0x00, 0xfe,0x5d,0x00,0x00,0x20,0x5f,0x00,0x00,0x61,0x67,0x00,0x00,0x6f,0x67,0x00,0x00,0xb1,0x7b,0x00,0x00, 0x92,0x5a,0x00,0x00,0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xab,0x8e,0x00,0x00,0x06,0x74,0x00,0x00, 0x70,0x99,0x00,0x00,0xef,0x8d,0x00,0x00,0xe0,0x7a,0x00,0x00,0x37,0x68,0x00,0x00,0x1d,0x4e,0x0d,0x4e, 0xa8,0x52,0x00,0x00,0x1d,0x4e,0x00,0x00,0xf6,0x94,0x00,0x00,0xaf,0x67,0xc5,0x75,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc7,0x7e,0x00,0x00,0xc7,0x7e,0xc1,0x54,0x00,0x00,0xc7,0x7e,0x1a,0x4e,0x00,0x00,0xc7,0x7e, 0x82,0x53,0x00,0x00,0x3a,0x67,0x00,0x00,0xb1,0x7e,0x00,0x00,0x24,0x95,0x00,0x00,0x01,0x4f,0x00,0x00, 0xc7,0x7e,0xce,0x57,0x00,0x00,0x1d,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x7e,0x00,0x00,0xa4,0x4e, 0x40,0x62,0x00,0x00,0xa6,0x7e,0xde,0x5d,0x00,0x00,0xa6,0x7e,0x02,0x5e,0x00,0x00,0x26,0x5e,0x00,0x00, 0xf6,0x94,0x00,0x00,0x70,0x51,0x00,0x00,0x63,0x62,0x00,0x00,0xfc,0x66,0x00,0x00,0xa6,0x7e,0xae,0x90, 0xa5,0x62,0x00,0x00,0x05,0x00,0x00,0x00,0xf0,0x56,0x00,0x00,0xe3,0x89,0x00,0x00,0x13,0x7f,0x00,0x00, 0x8b,0x53,0x00,0x00,0xe3,0x89,0x11,0x6c,0xf0,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8d,0x00,0x00, 0x22,0x7d,0x00,0x00,0x0b,0x4e,0x00,0x00,0x61,0x67,0x00,0x00,0x0a,0x4e,0xbf,0x7e,0x0b,0x4e,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x27,0x60,0x00,0x00,0x08,0x57,0x00,0x00,0x92,0x7c,0x53,0x4f,0x00,0x00,0x06,0x7f, 0x00,0x00,0x01,0x00,0x00,0x00,0x52,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x60,0x4e,0x00,0x00,0x31,0x5c, 0x00,0x00,0x9f,0x52,0x00,0x00,0x75,0x51,0x00,0x00,0xc3,0x7e,0x00,0x00,0x4b,0x62,0x00,0x00,0xfa,0x51, 0x00,0x00,0x4a,0x64,0x00,0x00,0x66,0x6b,0x00,0x00,0x57,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x7e, 0x00,0x00,0x10,0x62,0x00,0x00,0x08,0x54,0x00,0x00,0xfa,0x5e,0x00,0x00,0x7f,0x95,0x00,0x00,0x10,0x62, 0xe8,0x90,0x06,0x52,0x00,0x00,0xf6,0x4e,0x00,0x00,0xc7,0x7e,0xe8,0x90,0x00,0x00,0xd4,0x59,0x1a,0x4f, 0x00,0x00,0xc5,0x88,0x00,0x00,0x04,0x00,0x00,0x00,0xeb,0x58,0x00,0x00,0x9d,0x5b,0x00,0x00,0xeb,0x58, 0x0f,0x5f,0x00,0x00,0xeb,0x58,0x4f,0x53,0x9a,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x82,0x82,0x00,0x00, 0xde,0x80,0x00,0x00,0x19,0x52,0x00,0x00,0xcc,0x83,0x00,0x00,0x06,0x52,0x00,0x00,0x16,0x53,0x00,0x00, 0xf4,0x81,0x00,0x00,0xc3,0x5f,0x00,0x00,0x7b,0x81,0x00,0x00,0xae,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x69,0x72,0x00,0x00,0x20,0x90,0x00,0x00,0x03,0x5e,0x00,0x00,0x73,0x59,0x00,0x00,0x3a,0x67,0x00,0x00, 0x10,0x62,0x00,0x00,0x26,0x95,0x00,0x00,0xd1,0x91,0xbf,0x53,0x00,0x00,0x51,0x7f,0x00,0x00,0xe3,0x7e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x8e,0x4e,0x00,0x00,0xef,0x7a,0x00,0x00,0x62,0x6b,0x00,0x00,0xab,0x8e, 0x00,0x00,0xd3,0x7e,0x00,0x00,0x81,0x67,0x00,0x00,0xb9,0x70,0x00,0x00,0xa1,0x5b,0x00,0x00,0x76,0x7a, 0x00,0x00,0x3c,0x50,0x00,0x00,0x03,0x00,0x00,0x00,0xb1,0x7e,0x00,0x00,0x36,0x89,0x00,0x00,0x03,0x5e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x81,0xf3,0x77,0x00,0x00,0x12,0x50,0x00,0x00,0x4f,0x4f,0x00,0x00, 0x1a,0x81,0x00,0x00,0x50,0x5b,0x00,0x00,0x6c,0x9a,0x22,0x7d,0x00,0x00,0x3f,0x51,0x00,0x00,0xe4,0x8d, 0x00,0x00,0x4b,0x62,0xca,0x7e,0x1a,0x81,0x00,0x00,0xca,0x7e,0xd5,0x78,0xd5,0x78,0x00,0x00,0x01,0x00, 0x00,0x00,0xdf,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x51,0x00,0x00,0x74,0x51,0x02,0x5e,0x00,0x00, 0x74,0x51,0xbf,0x53,0x00,0x00,0x99,0x9f,0xc2,0x89,0x00,0x00,0x74,0x51,0x52,0x91,0x00,0x00,0x74,0x51, 0xba,0x4e,0x00,0x00,0x74,0x51,0x87,0x65,0x06,0x74,0x66,0x5b,0x62,0x96,0x00,0x00,0xcb,0x4e,0x00,0x00, 0xe0,0x68,0x00,0x00,0x67,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x6d,0x00,0x00,0x25,0x84,0x00,0x00, 0xc7,0x8f,0x00,0x00,0x8c,0x9a,0x00,0x00,0x06,0x74,0x00,0x00,0x38,0x5e,0x00,0x00,0x86,0x53,0x00,0x00, 0x00,0x95,0x46,0x55,0x00,0x00,0x4e,0x6d,0x66,0x5b,0xb6,0x5b,0x00,0x00,0x78,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb6,0x67,0x00,0x00,0x9a,0x5b,0x00,0x00,0x2a,0x53,0x00,0x00,0xb6,0x67,0x05,0x80,0x00,0x00, 0x7f,0x81,0x00,0x00,0x7d,0x59,0x00,0x00,0x26,0x5e,0x00,0x00,0x4e,0x62,0x00,0x00,0x68,0x79,0x00,0x00, 0xb6,0x67,0x48,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0x03,0x5e,0x00,0x00,0xbf,0x7e, 0x00,0x00,0xaf,0x87,0xf9,0x87,0x00,0x00,0x50,0x5b,0x00,0x00,0xd2,0x7e,0x84,0x76,0x00,0x00,0xb1,0x82, 0x00,0x00,0x3d,0x5e,0x00,0x00,0x71,0x5c,0x8a,0x7f,0x00,0x00,0xdb,0x6b,0x27,0x60,0x7a,0x81,0xc0,0x6f, 0x20,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x67,0x00,0x00,0x84,0x67,0x00,0x00,0x5f,0x67,0x00,0x00, 0x08,0x54,0x00,0x00,0x5a,0x5a,0x00,0x00,0xba,0x8b,0x00,0x00,0x97,0x7b,0x00,0x00,0x84,0x67,0x27,0x60, 0x00,0x00,0x40,0x5c,0x00,0x00,0x59,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x53,0x90, 0x00,0x00,0x00,0x5f,0x00,0x00,0x08,0x57,0x00,0x00,0xe3,0x53,0xe4,0x4e,0x00,0x00,0x65,0x67,0xd5,0x7e, 0xbb,0x53,0x00,0x00,0x54,0x58,0x00,0x00,0xc4,0x7e,0x00,0x00,0x08,0x57,0x50,0x5b,0x00,0x00,0x88,0x98, 0x00,0x00,0x01,0x00,0x00,0x00,0x1d,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x75,0x00,0x00,0x36,0x52, 0x00,0x00,0xfe,0x56,0x00,0x00,0x2c,0x67,0x00,0x00,0xf0,0x58,0xd8,0x7e,0x72,0x82,0x00,0x00,0x3b,0x75, 0xf2,0x53,0x00,0x00,0x3b,0x75,0x55,0x5c,0x00,0x00,0xfe,0x56,0x7f,0x67,0x00,0x00,0x2c,0x67,0x86,0x99, 0x00,0x00,0xfe,0x56,0xea,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x4e,0x00,0x00,0xfa,0x51,0x00,0x00, 0x9a,0x5b,0x00,0x00,0x9b,0x52,0x00,0x00,0xd8,0x4e,0x00,0x00,0x7b,0x51,0x00,0x00,0x92,0x63,0x34,0x6c, 0x00,0x00,0x34,0x6c,0x00,0x00,0x62,0x97,0x50,0x5b,0x00,0x00,0x0e,0x4e,0x00,0x00,0x05,0x00,0x00,0x00, 0x3d,0x4e,0x00,0x00,0xc2,0x70,0x00,0x00,0x3d,0x4e,0x1a,0x59,0x69,0x5f,0x00,0x00,0x3d,0x4e,0x1a,0x59, 0xff,0x59,0x00,0x00,0x3d,0x4e,0x3a,0x59,0xee,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0xbf,0x53,0x00,0x00, 0x2b,0x7d,0x00,0x00,0x07,0x00,0x00,0x00,0xce,0x7e,0x0d,0x4e,0xdd,0x7e,0x00,0x00,0x6e,0x81,0xe1,0x80, 0x50,0x5b,0x00,0x00,0x6e,0x81,0xe1,0x80,0x00,0x00,0xb0,0x65,0x87,0x59,0x00,0x00,0xce,0x7e,0x00,0x00, 0x50,0x5b,0x00,0x00,0xb1,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf9,0x5b,0x00,0x00,0x27,0x59,0x1a,0x59, 0x70,0x65,0x00,0x00,0x0d,0x4e,0x00,0x00,0x27,0x59,0xe8,0x90,0x06,0x52,0x00,0x00,0x1b,0x67,0x00,0x00, 0x5e,0x97,0x00,0x00,0x18,0x7f,0x00,0x00,0x36,0x65,0x00,0x00,0xdf,0x98,0x00,0x00,0xf9,0x8f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3d,0x5c,0x11,0x81,0x41,0x6c,0x00,0x00,0x11,0x52,0x00,0x00,0x7b,0x6b,0x00,0x00, 0x40,0x67,0x00,0x00,0xdb,0x75,0x00,0x00,0x89,0x80,0x3a,0x67,0x00,0x00,0x66,0x8f,0x00,0x00,0x89,0x80, 0x00,0x00,0x22,0x7d,0x00,0x00,0x8e,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0xa1,0x8b,0x00,0x00,0x00,0x4e, 0x00,0x00,0xa1,0x8b,0x40,0x5c,0x00,0x00,0x79,0x7b,0x00,0x00,0xbb,0x6c,0x00,0x00,0xdf,0x7e,0x00,0x00, 0xbb,0x6c,0x05,0x80,0x00,0x00,0xf0,0x79,0x00,0x00,0x00,0x4e,0xe8,0x90,0x00,0x00,0xa1,0x8b,0x66,0x5b, 0x00,0x00,0x01,0x00,0x00,0x00,0xed,0x77,0x72,0x6c,0xf1,0x6d,0x00,0x00,0x06,0x00,0x00,0x00,0x2c,0x67, 0x00,0x00,0xb1,0x82,0x00,0x00,0xba,0x7e,0x00,0x00,0xba,0x7e,0x82,0x53,0x00,0x00,0x36,0x52,0x00,0x00, 0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0x03,0x74,0x00,0x00,0xb1,0x82,0x8b,0x97, 0x00,0x00,0xb1,0x82,0x88,0x94,0x00,0x00,0xc1,0x54,0x00,0x00,0x03,0x74,0xb1,0x82,0x00,0x00,0x18,0x5a, 0x00,0x00,0xcf,0x50,0x00,0x00,0xe5,0x5d,0x00,0x00,0xb1,0x82,0x95,0x67,0x34,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0x16,0x53,0x00,0x00,0x16,0x53,0x02,0x5e,0x00,0x00,0xac,0x82,0xb3,0x6c,0x00,0x00,0x56,0x97, 0x00,0x00,0x81,0x5b,0xbf,0x53,0x00,0x00,0x2d,0x4e,0x00,0x00,0xb7,0x5f,0x00,0x00,0x33,0x96,0x00,0x00, 0x5f,0x6c,0xbf,0x53,0x00,0x00,0xac,0x82,0xb3,0x6c,0x02,0x5e,0x00,0x00,0x05,0x00,0x00,0x00,0x6b,0x86, 0x00,0x00,0x26,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x6b,0x86,0xb2,0x7e,0x00,0x00,0xb6,0x7e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xed,0x7e,0x00,0x00,0x7f,0x62,0x00,0x00,0x0c,0x80,0x00,0x00,0x7f,0x62,0xba,0x4e, 0x00,0x00,0xfb,0x4e,0x05,0x80,0x00,0x00,0xfb,0x4e,0x00,0x00,0x36,0x72,0x00,0x00,0xcd,0x6b,0x00,0x00, 0x7f,0x62,0x43,0x67,0x00,0x00,0x80,0x5f,0x00,0x5f,0x65,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x65, 0x00,0x00,0x18,0x4f,0xa1,0x80,0x00,0x00,0xee,0x5d,0xa1,0x80,0x00,0x00,0xee,0x5d,0x00,0x00,0x18,0x4f, 0xdd,0x84,0x79,0x7b,0x00,0x00,0x48,0x65,0x56,0x59,0x00,0x00,0xaa,0x6e,0x00,0x00,0xb9,0x70,0x00,0x00, 0xaa,0x6e,0xbf,0x53,0x00,0x00,0xaa,0x6e,0xba,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0xba,0x8b,0x00,0x00, 0x00,0x8a,0x00,0x00,0xb1,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0xf4,0x81,0x00,0x00,0x57,0x7f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x2a,0x82,0x00,0x00,0x7e,0x7b,0x00,0x00,0xfa,0x5e,0x00,0x00,0xc6,0x96,0x00,0x00, 0xdd,0x4f,0x00,0x00,0x1f,0x67,0x00,0x00,0x8f,0x4e,0x00,0x00,0x37,0x8d,0x00,0x00,0x5c,0x4f,0x00,0x00, 0x39,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x3d,0x4e,0x00,0x00,0x57,0x7f,0x00,0x00, 0x91,0x4e,0x00,0x00,0xa6,0x68,0x00,0x00,0x61,0x97,0x00,0x00,0x1d,0x60,0x00,0x00,0x4c,0x96,0x00,0x00, 0x97,0x7a,0x00,0x00,0x72,0x82,0x73,0x4f,0x00,0x00,0x03,0x00,0x00,0x00,0xfb,0x95,0x00,0x00,0xa2,0x7e, 0x00,0x00,0x72,0x82,0x00,0x00,0x05,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0xf0,0x7e,0x09,0x67,0x59,0x4f, 0x00,0x00,0xa6,0x7e,0x00,0x00,0x14,0x5c,0x00,0x00,0x90,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0x8b,0x97, 0x00,0x00,0x01,0x00,0x00,0x00,0xb9,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x22,0x7d, 0x00,0x00,0x4b,0x4e,0xe5,0x4e,0xd5,0x6c,0x00,0x00,0xd3,0x7e,0x00,0x00,0x7d,0x54,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x26,0x5e,0x00,0x00,0xaf,0x68,0x00,0x00,0x08,0x57,0x00,0x00,0xa8,0x58,0x00,0x00,0x0a,0x00, 0x00,0x00,0x01,0x63,0x00,0x00,0xa4,0x62,0x00,0x00,0x1f,0x75,0x20,0x7d,0x00,0x00,0xee,0x4f,0x00,0x00, 0x43,0x67,0x00,0x00,0x8c,0x54,0x00,0x00,0x33,0x7a,0x00,0x00,0xa6,0x5e,0x00,0x00,0x14,0x5c,0x00,0x00, 0xfa,0x57,0xe3,0x89,0xc6,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x8a,0x7f,0x00,0x00, 0xf6,0x5e,0x00,0x00,0xf5,0x7e,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xf9,0x7a,0x00,0x00,0x7f,0x95, 0x00,0x00,0xf9,0x7a,0x02,0x5e,0x00,0x00,0x84,0x85,0x00,0x00,0xd4,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0x26,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x26,0x5e,0x00,0x00,0x27,0x7d,0x00,0x00,0x50,0x5b,0x00,0x00, 0xf7,0x74,0x00,0x00,0xb2,0x52,0x00,0x00,0x27,0x7c,0x00,0x00,0x38,0x81,0x00,0x00,0x52,0x62,0x0a,0x54, 0xf7,0x62,0x00,0x00,0x8a,0x5e,0x00,0x00,0x40,0x77,0x38,0x81,0x00,0x00,0x07,0x00,0x00,0x00,0x0e,0x7f, 0x00,0x00,0x2a,0x7f,0x00,0x00,0x03,0x5e,0x00,0x00,0x26,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x62,0x97, 0x00,0x00,0x99,0x65,0x00,0x00,0x03,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0x83,0x7a,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0x08,0x54,0x27,0x60,0x00,0x00,0x08,0x54,0x53,0x4f, 0x00,0x00,0x08,0x54,0x81,0x5f,0x00,0x00,0x08,0x54,0xc7,0x75,0x00,0x00,0x08,0x54,0xbb,0x6c,0x06,0x74, 0x00,0x00,0x7a,0x82,0x00,0x00,0x07,0x63,0x00,0x00,0x0a,0x4e,0x40,0x62,0xf0,0x8f,0x00,0x00,0xf0,0x8f, 0x00,0x00,0x08,0x00,0x00,0x00,0x3e,0x65,0x00,0x00,0x00,0x5f,0x00,0x00,0x32,0x97,0x00,0x00,0xc2,0x88, 0x00,0x00,0xbf,0x7e,0x00,0x00,0x7d,0x76,0x00,0x00,0xfa,0x51,0x00,0x00,0x34,0x78,0x00,0x00,0x0a,0x00, 0x00,0x00,0x72,0x82,0x00,0x00,0x30,0x57,0x00,0x00,0x16,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x36,0x83, 0x00,0x00,0x46,0x8c,0x00,0x00,0x6f,0x70,0x00,0x00,0x61,0x53,0x00,0x00,0xf6,0x53,0x00,0x00,0x16,0x53, 0x26,0x5e,0x00,0x00,0x08,0x00,0x00,0x00,0x87,0x65,0x00,0x00,0x08,0x54,0x00,0x00,0x70,0x99,0x00,0x00, 0xde,0x8f,0x00,0x00,0xfa,0x51,0x00,0x00,0x57,0x5b,0x00,0x00,0xd3,0x67,0x00,0x00,0x57,0x5b,0xfe,0x8b, 0x2c,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x7d,0x00,0x00,0x01,0x00,0x00,0x00,0x1d,0x4e,0x00,0x00, 0x04,0x00,0x00,0x00,0xd8,0x9e,0x00,0x00,0xd8,0x9e,0x1f,0x67,0x00,0x00,0xe3,0x53,0x0d,0x4e,0x00,0x8a, 0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x75,0x00,0x00,0x00,0x60,0x00,0x00,0x17,0x53, 0x00,0x00,0xe0,0x56,0xde,0x5d,0x00,0x00,0xb9,0x65,0x00,0x00,0x38,0x75,0x4d,0x7c,0x00,0x00,0x9b,0x51, 0x00,0x00,0x38,0x75,0xba,0x4e,0x00,0x00,0xcf,0x65,0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x66,0x8f,0x00,0x00,0xf3,0x7e,0x00,0x00,0xbf,0x7e,0x00,0x00,0x22,0x7d,0x00,0x00,0x69,0x68,0x00,0x00, 0x53,0x90,0x00,0x00,0x66,0x8f,0xbf,0x7e,0x00,0x00,0x66,0x8f,0x53,0x90,0x00,0x00,0x9f,0x6c,0x00,0x00, 0x66,0x8f,0xa2,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xd2,0x6b,0x00,0x00,0xc1,0x79,0x00,0x00,0xff,0x62, 0x00,0x00,0x55,0x63,0x00,0x00,0xf6,0x51,0x00,0x00,0xd2,0x6b,0xac,0x72,0x00,0x00,0xc1,0x79,0x40,0x5c, 0x00,0x00,0xd2,0x6b,0x66,0x8b,0x00,0x00,0xd2,0x6b,0x72,0x7f,0x00,0x00,0xb7,0x83,0x00,0x00,0x06,0x00, 0x00,0x00,0x26,0x5e,0x00,0x00,0x62,0x97,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x5e,0x00,0x00,0xb9,0x7e, 0xc7,0x7e,0x00,0x00,0xc7,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe3,0x89,0x00,0x00,0x62,0x61,0x00,0x00,0x8c,0x54,0x00,0x00,0x11,0x52,0x00,0x00,0x13,0x7f,0x00,0x00, 0xb2,0x51,0x00,0x00,0x1f,0x67,0x00,0x00,0x58,0x5b,0x00,0x00,0xca,0x91,0x00,0x00,0x65,0x6b,0x00,0x00, 0x09,0x00,0x00,0x00,0x20,0x90,0x00,0x00,0xd3,0x7e,0x00,0x00,0xa6,0x7e,0x00,0x00,0xa6,0x7e,0xfd,0x56, 0x00,0x00,0xa6,0x7e,0xb9,0x65,0x00,0x00,0x20,0x90,0x05,0x80,0x00,0x00,0x43,0x51,0xe1,0x4f,0x00,0x00, 0xdf,0x76,0x00,0x00,0xa4,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x15,0x7f,0x00,0x00,0xf0,0x8f,0x00,0x00, 0x90,0x67,0x00,0x00,0x7a,0x7a,0x00,0x00,0x48,0x96,0x00,0x00,0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0x91,0x8f,0x00,0x00,0x36,0x52,0x00,0x00,0xd1,0x8b,0x00,0x00,0x1f,0x96,0x00,0x00,0xf7,0x53,0x00,0x00, 0x0b,0x7a,0x00,0x00,0x99,0x51,0x00,0x00,0x01,0x78,0x00,0x00,0x20,0x90,0x00,0x00,0x67,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0x45,0x65,0x00,0x00,0x77,0x8d,0x00,0x00,0x06,0x52,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x31,0x75,0x00,0x00,0x1f,0x75,0x00,0x00,0xfd,0x4e,0x00,0x00,0x55,0x4f,0x00,0x00,0x28,0x67,0x42,0x6c, 0x7c,0x9c,0x00,0x00,0x77,0x8d,0xd5,0x6c,0x00,0x00,0x04,0x00,0x00,0x00,0x91,0x4e,0x71,0x5c,0x00,0x00, 0x91,0x4e,0xbf,0x53,0x00,0x00,0x91,0x4e,0x00,0x00,0xc5,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x21,0x9e, 0x4b,0x4e,0x9b,0x52,0x00,0x00,0x04,0x00,0x00,0x00,0xc6,0x5b,0x00,0x00,0xd1,0x53,0x00,0x00,0xa6,0x6d, 0x00,0x00,0x1d,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x96,0x00,0x00,0x08,0x54,0x00,0x00,0xab,0x7e, 0x3a,0x67,0x00,0x00,0x36,0x52,0x00,0x00,0xab,0x7e,0x00,0x00,0xbf,0x7e,0x00,0x00,0x63,0x88,0x88,0x94, 0x00,0x00,0x88,0x94,0x00,0x00,0x65,0x88,0x00,0x00,0xbf,0x7e,0xa7,0x4e,0xc1,0x54,0x00,0x00,0x02,0x00, 0x00,0x00,0x9b,0x73,0x59,0x74,0x00,0x00,0x20,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0xab,0x8e,0x00,0x00, 0xd5,0x7e,0x00,0x00,0xf5,0x7e,0x00,0x00,0x97,0x65,0x00,0x00,0x4f,0x4f,0x00,0x00,0x9d,0x67,0x00,0x00, 0xb3,0x8d,0x00,0x00,0xbf,0x8b,0x00,0x00,0xf5,0x7e,0xb1,0x60,0x7b,0x60,0x00,0x00,0xd3,0x7e,0x00,0x00, 0x03,0x00,0x00,0x00,0x7b,0x6b,0x00,0x00,0x40,0x67,0x00,0x00,0x88,0x98,0x00,0x00,0x01,0x00,0x00,0x00, 0x1b,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0xb7,0x7e,0x00,0x00,0x2d,0x8d,0x00,0x00,0x2d,0x8d,0x51,0x7f, 0x00,0x00,0x04,0x00,0x00,0x00,0x08,0x7f,0x00,0x00,0x3a,0x6e,0x00,0x00,0x25,0x7f,0x08,0x7f,0x08,0x7f, 0x00,0x00,0xca,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0xdc,0x7e,0x00,0x00,0x3d,0x5e,0x00,0x00,0xc5,0x7f,0xee,0x76,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0f,0x5c,0x00,0x00,0x34,0x6c,0x00,0x00,0xcf,0x51,0x00,0x00,0xed,0x77,0x00,0x00,0xcf,0x91,0x00,0x00, 0x71,0x5f,0x00,0x00,0x99,0x51,0x00,0x00,0xa1,0x80,0x00,0x00,0x3e,0x65,0x00,0x00,0xe3,0x53,0x00,0x00, 0x02,0x00,0x00,0x00,0xb6,0x5b,0x51,0x67,0x00,0x00,0xe7,0x5d,0x00,0x00,0x01,0x00,0x00,0x00,0x1d,0x4e, 0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x6c,0x78,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0xd5,0x7e,0x00,0x00, 0x71,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x99,0x51,0x00,0x00,0x05,0x6e,0x00,0x00,0x01,0x00,0x00,0x00, 0xf3,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0xfb,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x96,0x99,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb3,0x7e,0x00,0x00,0x39,0x8d,0x00,0x00,0xb7,0x83,0x00,0x00,0x58,0x5b,0x00,0x00, 0x0e,0x7a,0x00,0x00,0xd8,0x4e,0x00,0x00,0x39,0x8d,0x87,0x73,0x00,0x00,0xb0,0x68,0x00,0x00,0x0e,0x7a, 0x9d,0x98,0x00,0x00,0x39,0x8d,0x1f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x0d,0x4e,0xef,0x53,0xfd,0x80, 0x84,0x76,0x8b,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x8c,0x63,0x00,0x00,0x09,0x00,0x00,0x00,0x53,0x4f, 0x00,0x00,0x50,0x5b,0x00,0x00,0xd6,0x76,0x00,0x00,0xe6,0x74,0x00,0x00,0xe3,0x53,0x00,0x00,0xc6,0x76, 0x00,0x00,0x3f,0x62,0x00,0x00,0x38,0x7f,0x5b,0x57,0x5b,0x57,0x00,0x00,0xa1,0x7b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x4f,0x4e,0x00,0x00,0x77,0x96,0x00,0x00,0xe3,0x53,0x00,0x00,0x11,0x5c,0x00,0x00,0x31,0x59, 0x00,0x00,0xb9,0x70,0x00,0x00,0x2d,0x5e,0x00,0x00,0x34,0x6c,0x00,0x00,0x27,0x6c,0x00,0x00,0x27,0x8d, 0x00,0x00,0x05,0x00,0x00,0x00,0x9f,0x7c,0x00,0x00,0x9f,0x7c,0xf3,0x58,0x00,0x00,0x9f,0x7c,0xb1,0x82, 0x00,0x00,0x9f,0x7c,0x7d,0x7c,0x00,0x00,0x9f,0x7c,0xcd,0x79,0x50,0x5b,0x00,0x00,0x08,0x00,0x00,0x00, 0xf9,0x7a,0xbe,0x96,0x66,0x4e,0x00,0x00,0x3d,0x5c,0x00,0x00,0xed,0x7a,0x00,0x00,0x36,0x71,0x00,0x00, 0x14,0x7b,0xbe,0x96,0x66,0x4e,0x00,0x00,0x2e,0x53,0x00,0x00,0xab,0x8e,0x00,0x00,0xab,0x8e,0x3f,0x51, 0x00,0x00,0x02,0x00,0x00,0x00,0x99,0x96,0x00,0x00,0x0f,0x6f,0x00,0x00,0x01,0x00,0x00,0x00,0x57,0x88, 0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x66,0x8f,0x00,0x00,0x53,0x4f, 0x00,0x00,0xc5,0x88,0x00,0x00,0x3a,0x53,0x00,0x00,0xcc,0x91,0x00,0x00,0x2d,0x4e,0x00,0x00,0x95,0x5e, 0x00,0x00,0x50,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x7e,0x00,0x00,0xd9,0x7a,0x00,0x00,0xcb,0x53, 0x00,0x00,0x0a,0x4e,0x00,0x00,0x11,0x6c,0x00,0x00,0x2d,0x8d,0x00,0x00,0xb9,0x70,0x00,0x00,0x75,0x98, 0x00,0x00,0x38,0x6e,0x00,0x00,0x97,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x7e,0x98,0x00,0x00,0xff,0x66, 0x00,0x00,0x06,0x00,0x00,0x00,0xc1,0x89,0x00,0x00,0x09,0x67,0x00,0x00,0x8b,0x73,0x00,0x00,0xfb,0x95, 0x00,0x00,0x09,0x67,0x40,0x62,0xfb,0x95,0x00,0x00,0x4b,0x51,0xc9,0x62,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc6,0x59,0x3c,0x5c,0x00,0x00,0x6c,0x9a,0x00,0x00,0x2f,0x4f,0x79,0x72,0x00,0x00,0x6c,0x9a,0x3c,0x5c, 0x9a,0x4e,0x00,0x00,0x70,0x67,0xaf,0x65,0x00,0x00,0x56,0x6e,0x00,0x00,0x56,0x6e,0x3a,0x53,0x00,0x00, 0x17,0x52,0x00,0x00,0x0f,0x6c,0x00,0x00,0x0a,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x7f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3e,0x6b,0x00,0x00,0xd1,0x91,0x00,0x00,0x55,0x53,0x00,0x00,0x6f,0x60,0x00,0x00, 0xa1,0x6c,0x00,0x00,0x19,0x52,0x00,0x00,0xa1,0x6c,0x3e,0x6b,0x00,0x00,0x03,0x74,0x00,0x00,0xd9,0x7a, 0x00,0x00,0x3e,0x6b,0x9d,0x98,0x00,0x00,0x01,0x00,0x00,0x00,0xce,0x98,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe5,0x5d,0x00,0x00,0x86,0x4e,0x00,0x00,0x4d,0x51,0x00,0x00,0x11,0x4f,0x00,0x00,0xdc,0x9e,0x00,0x00, 0x4b,0x62,0x00,0x00,0xfe,0x8b,0x00,0x00,0xd0,0x8f,0x00,0x00,0x98,0x5b,0x00,0x00,0x02,0x5e,0x00,0x00, 0x07,0x00,0x00,0x00,0x6f,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0x8d,0x88,0x00,0x00,0xda,0x68,0x00,0x00, 0xe8,0x95,0x00,0x00,0x6b,0x88,0x00,0x00,0x63,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x54,0x00,0x00, 0x4c,0x88,0x00,0x00,0xaf,0x72,0x00,0x00,0x76,0x60,0x00,0x00,0x41,0x9b,0x78,0x79,0x96,0x99,0x00,0x00, 0x1a,0x4e,0x00,0x00,0xc7,0x8f,0x00,0x00,0xba,0x4e,0x00,0x00,0x23,0x8d,0x00,0x00,0x48,0x68,0x00,0x00, 0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0x62,0x63,0x00,0x00,0x8e,0x4e,0x00,0x00,0x30,0x57,0x00,0x00, 0xab,0x8e,0x00,0x00,0x76,0x98,0x00,0x00,0x4b,0x4e,0x0d,0x4e,0x06,0x74,0x00,0x00,0xe1,0x4f,0x00,0x00, 0xfa,0x51,0x00,0x00,0x9e,0x52,0x00,0x00,0x05,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x7f,0x95,0x00,0x00, 0x0d,0x54,0x43,0x67,0x00,0x00,0x06,0x74,0x00,0x00,0x9c,0x88,0x00,0x00,0x01,0x00,0x00,0x00,0x4e,0x86, 0x00,0x00,0x07,0x00,0x00,0x00,0xa3,0x60,0x00,0x00,0xbe,0x96,0x00,0x00,0xbe,0x96,0x05,0x80,0x00,0x00, 0x4c,0x76,0x00,0x00,0x78,0x79,0x00,0x00,0xbe,0x96,0xe5,0x65,0x00,0x00,0x0b,0x4e,0x00,0x00,0x01,0x00, 0x00,0x00,0xbe,0x5b,0x00,0x00,0x06,0x00,0x00,0x00,0xbc,0x62,0x00,0x00,0xca,0x7e,0x00,0x00,0x59,0x75, 0x00,0x00,0xbc,0x62,0xa4,0x5b,0x00,0x00,0x3b,0x7e,0x00,0x00,0xc5,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0xce,0x57,0x00,0x00,0x89,0x80,0x00,0x00,0xdb,0x6b,0x00,0x00,0xd2,0x7e,0x00,0x00,0x7c,0x9a,0x00,0x00, 0xa4,0x7f,0x00,0x00,0x7c,0x9a,0x1b,0x54,0x00,0x00,0x89,0x80,0x32,0x4e,0x00,0x00,0x34,0x6c,0x00,0x00, 0xae,0x76,0x00,0x00,0x07,0x00,0x00,0x00,0xcf,0x65,0x00,0x00,0xe8,0x5b,0x00,0x00,0x58,0x58,0x00,0x00, 0xe3,0x7e,0x00,0x00,0x1b,0x7b,0x00,0x00,0x6b,0x9e,0x00,0x00,0xe0,0x65,0x45,0x65,0x9e,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00,0x43,0x51,0x00,0x00,0x54,0x80,0xa8,0x50,0x00,0x00,0x9b,0x51, 0x00,0x00,0x3d,0x4e,0x00,0x00,0xa1,0x80,0x00,0x00,0x7d,0x59,0x00,0x00,0xb9,0x5b,0x00,0x00,0xb9,0x65, 0x00,0x00,0x73,0x59,0x00,0x00,0x03,0x00,0x00,0x00,0x8a,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00,0xae,0x76, 0x00,0x00,0x06,0x00,0x00,0x00,0x8a,0x7f,0x00,0x00,0x10,0x95,0x00,0x00,0x5b,0x72,0x00,0x00,0x8a,0x7f, 0xae,0x76,0x00,0x00,0xd2,0x89,0x00,0x00,0x8a,0x7f,0xd2,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x8a,0x7f, 0xe6,0x89,0xe9,0x85,0x00,0x00,0x0a,0x00,0x00,0x00,0xa9,0x6d,0x00,0x00,0xb1,0x8f,0x00,0x00,0x27,0x61, 0x00,0x00,0x3b,0x80,0x00,0x00,0x2f,0x60,0x00,0x00,0x04,0x5c,0x00,0x00,0x3b,0x80,0x1f,0x61,0x00,0x00, 0x54,0x7b,0x54,0x7b,0x00,0x00,0x8e,0x4e,0x2f,0x54,0x7f,0x9f,0x00,0x00,0x9e,0x7f,0x00,0x00,0x05,0x00, 0x00,0x00,0xfa,0x57,0x00,0x00,0x72,0x82,0xfa,0x80,0x00,0x00,0xfa,0x57,0xf7,0x78,0x70,0x70,0xf3,0x77, 0x00,0x00,0xfa,0x57,0x01,0x4e,0x78,0x91,0x00,0x00,0xea,0x81,0x31,0x75,0xfa,0x57,0x00,0x00,0x02,0x00, 0x00,0x00,0x55,0x61,0x00,0x00,0x55,0x61,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x17,0x4f,0x00,0x00, 0x53,0x4f,0x00,0x00,0x9b,0x5c,0x00,0x00,0xcc,0x91,0x00,0x00,0x53,0x4f,0x27,0x60,0x00,0x00,0xd1,0x53, 0x00,0x00,0x1f,0x66,0x00,0x00,0xdf,0x79,0x00,0x00,0xc4,0x7e,0x00,0x00,0xc4,0x96,0x00,0x00,0x04,0x00, 0x00,0x00,0x78,0x91,0x00,0x00,0xfa,0x57,0x00,0x00,0x32,0x75,0xf8,0x53,0x66,0x57,0x00,0x00,0xfa,0x57, 0x78,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x55,0x61,0x00,0x00,0x55,0x5e,0x00,0x00,0x06,0x00,0x00,0x00, 0xe8,0x78,0x00,0x00,0xcf,0x65,0x00,0x00,0x13,0x9f,0x00,0x00,0xe1,0x80,0x00,0x00,0x8a,0x7f,0x00,0x00, 0x13,0x9f,0xac,0x50,0xb1,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0xfa,0x57,0x00,0x00,0x01,0x00,0x00,0x00, 0x8a,0x7f,0x00,0x00,0x02,0x00,0x00,0x00,0x87,0x76,0x00,0x00,0x87,0x76,0x0a,0x4e,0xba,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0x31,0x5f,0x00,0x00,0x05,0x00,0x00,0x00,0x64,0x6c,0x00,0x00,0x19,0x53,0x00,0x00, 0x50,0x67,0x00,0x00,0xdc,0x85,0x05,0x55,0xd7,0x7c,0x00,0x00,0xdc,0x85,0x2b,0x54,0xd7,0x7c,0x00,0x00, 0x02,0x00,0x00,0x00,0x42,0x67,0x00,0x00,0x34,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x6b,0x03,0x74, 0x00,0x00,0xd2,0x7e,0x0d,0x67,0x00,0x00,0xdb,0x6b,0x00,0x00,0xd2,0x7e,0x00,0x00,0x30,0x75,0x00,0x00, 0xfc,0x7f,0x00,0x00,0x16,0x53,0x00,0x00,0x54,0x80,0x00,0x00,0xdb,0x6b,0x03,0x74,0x1f,0x96,0x00,0x00, 0x7f,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x90,0x6e,0xbf,0x53,0x00,0x00,0x90,0x6e,0x00,0x00,0x5b,0x72, 0x79,0x72,0xd7,0x65,0x00,0x00,0x03,0x5e,0xcc,0x91,0x9a,0x4e,0x00,0x00,0xf2,0x4e,0x00,0x00,0x5b,0x72, 0x79,0x72,0x00,0x00,0x71,0x5c,0xcf,0x82,0xec,0x59,0x00,0x00,0x89,0x5b,0xbf,0x53,0x00,0x00,0x90,0x6e, 0x51,0x67,0x00,0x00,0x53,0x5f,0x51,0x67,0x00,0x00,0x09,0x00,0x00,0x00,0x80,0x81,0x00,0x00,0xee,0x76, 0x00,0x00,0x9c,0x67,0x00,0x00,0x09,0x81,0x00,0x00,0xfc,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00,0x55,0x5c, 0x00,0x00,0x2d,0x5e,0x00,0x00,0x64,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x64,0x57,0xab,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0xe5,0x65,0x00,0x00,0x74,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xbd,0x7f,0x00,0x00,0xc5,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x9e,0x5b,0x00,0x00,0x87,0x5b,0x00,0x00, 0x99,0x9f,0x00,0x00,0x89,0x5b,0x00,0x00,0x70,0x9e,0x00,0x00,0xd4,0x7f,0x00,0x00,0x50,0x5b,0x00,0x00, 0xde,0x98,0x00,0x00,0x89,0x5b,0x3a,0x53,0x00,0x00,0x6d,0x9e,0x00,0x00,0x03,0x00,0x00,0x00,0xa8,0x52, 0x00,0x00,0x36,0x71,0x00,0x00,0x20,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x5c,0x00,0x00,0x96,0x99, 0x00,0x00,0x5a,0x69,0x00,0x00,0xc0,0x81,0x00,0x00,0x96,0x99,0xe5,0x4e,0x85,0x5f,0x00,0x00,0xfe,0x8b, 0x00,0x00,0x8c,0x4e,0xce,0x90,0x7f,0x81,0x00,0x00,0xd8,0x7f,0x00,0x00,0x77,0x8d,0x00,0x00,0xd8,0x7f, 0x7f,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0xdb,0x7f,0x00,0x00,0x03,0x00,0x00,0x00, 0xd7,0x5f,0x1a,0x52,0x00,0x00,0x06,0x74,0xaf,0x65,0x00,0x00,0x61,0x57,0x51,0x67,0x00,0x00,0x0a,0x00, 0x00,0x00,0xae,0x5f,0x00,0x00,0xff,0x7e,0x00,0x00,0x4e,0x53,0x00,0x00,0xf9,0x7a,0x00,0x00,0x56,0x6e, 0x00,0x00,0xb1,0x82,0x00,0x00,0x1f,0x9e,0x00,0x00,0xed,0x56,0x00,0x00,0x4f,0x5c,0x3a,0x53,0x00,0x00, 0x89,0x73,0x00,0x00,0x06,0x00,0x00,0x00,0xe0,0x7f,0x00,0x00,0xe0,0x7f,0xce,0x57,0x00,0x00,0xe0,0x7f, 0xf0,0x53,0x00,0x00,0xb7,0x51,0xe0,0x7f,0x00,0x00,0xe0,0x7f,0x7e,0x6e,0x00,0x00,0xe0,0x7f,0x7c,0x9c, 0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x80,0x00,0x00,0x07,0x00,0x00,0x00,0xe9,0x7f,0x00,0x00,0xe9,0x7f, 0x77,0x8d,0x1e,0x82,0x00,0x00,0x36,0x71,0x00,0x00,0xf9,0x8d,0x00,0x00,0xe9,0x7f,0x11,0x5c,0x74,0x5e, 0x00,0x00,0xe9,0x7f,0xde,0x98,0x1e,0x82,0x00,0x00,0x36,0x71,0x0c,0x80,0xf3,0x81,0x00,0x00,0x08,0x00, 0x00,0x00,0x77,0x6d,0x00,0x00,0x97,0x67,0x00,0x00,0xa8,0x58,0x00,0x00,0x97,0x67,0x62,0x96,0x00,0x00, 0x97,0x67,0x66,0x5b,0xeb,0x58,0x00,0x00,0x97,0x67,0x47,0x6c,0x00,0x00,0x4e,0x53,0x00,0x00,0x87,0x65, 0x4e,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0xd4,0x7f,0x00,0x00,0x02,0x00,0x00,0x00,0x3c,0x77,0x00,0x00, 0xf3,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x8b,0x00,0x00,0x6a,0x75,0x00,0x00,0xda,0x6e,0x00,0x00, 0x0d,0x50,0x00,0x00,0xab,0x8e,0x00,0x00,0xb0,0x65,0x00,0x00,0xa2,0x7e,0x00,0x00,0x00,0x5f,0x00,0x00, 0x05,0x96,0x00,0x00,0x99,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x5c,0x00,0x00,0x4e,0x86,0x00,0x00, 0xce,0x57,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x16,0x5c,0x00,0x00,0x8b,0x57,0x00,0x00,0xc5,0x88, 0x00,0x00,0x4a,0x80,0x00,0x00,0xfc,0x7f,0x00,0x00,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x77, 0x00,0x00,0x4e,0x53,0x00,0x00,0x91,0x65,0x00,0x00,0x4d,0x62,0x00,0x00,0xbe,0x8f,0x00,0x00,0x66,0x6b, 0x6c,0x62,0x01,0x5a,0x00,0x00,0xa6,0x90,0x00,0x00,0xb1,0x83,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00, 0xee,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x5e,0x00,0x00,0xba,0x4e,0x00,0x00,0x7f,0x67,0x00,0x00, 0x7e,0x76,0xd3,0x59,0x00,0x00,0x74,0x5e,0xba,0x4e,0x00,0x00,0x46,0x5a,0x00,0x00,0x6c,0x51,0x00,0x00, 0xb6,0x5b,0x00,0x00,0x74,0x5e,0x00,0x00,0x96,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x51,0x86,0x00,0x00, 0xd5,0x8b,0x00,0x00,0x38,0x68,0x00,0x00,0xdf,0x5b,0x00,0x00,0x1f,0x75,0x00,0x00,0x8c,0x9a,0x00,0x00, 0xe4,0x53,0x00,0x00,0xcf,0x91,0x00,0x00,0x14,0x78,0x00,0x00,0x3a,0x57,0x00,0x00,0x08,0x00,0x00,0x00, 0x0b,0x80,0x4b,0x4e,0x74,0x5e,0x00,0x00,0x0b,0x80,0x00,0x00,0x0b,0x80,0x01,0x80,0xba,0x4e,0x00,0x00, 0x0b,0x80,0xd8,0x9a,0x84,0x9f,0x00,0x00,0x84,0x9f,0x00,0x00,0x2a,0x50,0x00,0x00,0x1f,0x67,0x00,0x00, 0x1d,0x60,0x00,0x00,0x03,0x00,0x00,0x00,0x46,0x5a,0x00,0x00,0xbf,0x5b,0x00,0x00,0x01,0x80,0x00,0x00, 0x0a,0x00,0x00,0x00,0x14,0x4e,0x00,0x00,0x2f,0x66,0x00,0x00,0x00,0x8a,0x00,0x00,0xf2,0x5d,0x00,0x00, 0x0e,0x54,0x00,0x00,0xca,0x4e,0x00,0x00,0x16,0x59,0x00,0x00,0xcb,0x7a,0x4b,0x4e,0x74,0x5e,0x00,0x00, 0xb5,0x51,0x00,0x00,0xcb,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x41,0x6d,0x13,0x6c,0x00,0x00,0x56,0x8d, 0x00,0x00,0x0f,0x5c,0x6a,0x80,0x0e,0x66,0x00,0x00,0x0d,0x80,0x00,0x00,0xe0,0x65,0x56,0x8d,0x00,0x00, 0x77,0x91,0x00,0x00,0x9d,0x5b,0x00,0x00,0x05,0x5e,0x00,0x00,0x34,0x56,0xae,0x76,0x50,0x5b,0x00,0x00, 0x34,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0x4b,0x51,0x00,0x00,0xd7,0x53,0x00,0x00, 0x28,0x75,0x00,0x00,0xba,0x4e,0xfb,0x5b,0x73,0x54,0x00,0x00,0x9b,0x52,0x00,0x00,0x28,0x75,0xc1,0x54, 0x00,0x00,0x27,0x60,0x00,0x00,0x6f,0x83,0x27,0x60,0x00,0x00,0xed,0x70,0x00,0x00,0x03,0x00,0x00,0x00, 0x33,0x96,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x1c,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x57, 0x00,0x00,0x18,0x80,0x00,0x00,0xcd,0x79,0x00,0x00,0x5c,0x4f,0x00,0x00,0x30,0x75,0x00,0x00,0x5b,0x72, 0x00,0x00,0xfb,0x8b,0x00,0x00,0x05,0x80,0x00,0x00,0x5c,0x4f,0x42,0x5c,0x00,0x00,0x42,0x5c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x44,0x8d,0x00,0x00,0x39,0x8d,0x00,0x00,0xf6,0x65,0x00,0x00,0x3d,0x5c,0x00,0x00, 0x50,0x67,0x00,0x00,0x35,0x75,0x00,0x00,0xfd,0x80,0x00,0x00,0x35,0x75,0xcf,0x91,0x00,0x00,0x50,0x5b, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x04,0x95,0x00,0x00,0x05,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x33,0x80,0x35,0x67,0x00,0x00,0x81,0x72,0x00,0x00,0x31,0x80,0x00,0x00,0x30,0x57,0x00,0x00, 0x07,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0xed,0x56,0x00,0x00,0x08,0x54,0xa6,0x5e,0x00,0x00,0x15,0x80, 0x61,0x4e,0x00,0x00,0x45,0x5c,0x00,0x00,0x54,0x80,0x76,0x66,0x53,0x4f,0xa1,0x7b,0x00,0x00,0xed,0x8b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x35,0x67,0x00,0x00,0x3a,0x67,0x00,0x00,0x49,0x51,0x00,0x00,0xb9,0x8f, 0x00,0x00,0x9f,0x71,0xfd,0x80,0xe6,0x8b,0x00,0x00,0x23,0x9e,0x00,0x00,0xfb,0x95,0x00,0x00,0xee,0x76, 0x00,0x4e,0xb0,0x65,0x00,0x00,0xaf,0x73,0x00,0x00,0x5e,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x4d,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x23,0x7a,0x00,0x00,0xef,0x8d,0x92,0x64,0xb7,0x51,0x00,0x00,0x81,0x9c, 0x00,0x00,0x8c,0x54,0x4e,0x53,0x00,0x00,0x8b,0x5f,0x00,0x00,0x23,0x7a,0x1a,0x4f,0x00,0x00,0x0d,0x82, 0x00,0x00,0x59,0x65,0x00,0x00,0x23,0x7a,0x59,0x65,0x00,0x00,0x02,0x5e,0x00,0x00,0x01,0x00,0x00,0x00, 0xc9,0x62,0x00,0x00,0x09,0x00,0x00,0x00,0xba,0x4e,0x2c,0x54,0xfb,0x95,0x00,0x00,0xcb,0x7a,0x00,0x00, 0xa9,0x80,0x00,0x00,0x38,0x80,0x00,0x00,0xa8,0x52,0x00,0x00,0xd9,0x5c,0x00,0x00,0x36,0x71,0x00,0x00, 0x65,0x51,0x00,0x00,0x77,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x8f,0x00,0x00,0xa8,0x9a,0x00,0x00, 0x11,0x7b,0x00,0x00,0xb1,0x8f,0xf1,0x67,0x00,0x00,0xb1,0x8f,0x1f,0x61,0x00,0x00,0xdb,0x6b,0x00,0x00, 0xa6,0x5e,0x00,0x00,0xb1,0x8f,0x9c,0x69,0x00,0x00,0x9b,0x52,0x00,0x00,0x82,0x9a,0x00,0x00,0x08,0x00, 0x00,0x00,0xef,0x8b,0x00,0x00,0x01,0x64,0x00,0x00,0x8e,0x7f,0x00,0x00,0x8e,0x4e,0x00,0x00,0x57,0x84, 0x00,0x00,0xba,0x6e,0x00,0x00,0xc3,0x5f,0x00,0x00,0xe7,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x80, 0x8e,0x4e,0x00,0x60,0x00,0x00,0xf4,0x76,0x00,0x00,0x3f,0x80,0x00,0x00,0xcb,0x4e,0x00,0x00,0x6c,0x9a, 0x00,0x00,0x6c,0x9a,0xbf,0x53,0x00,0x00,0x47,0x95,0x00,0x00,0x01,0x80,0x00,0x00,0x6c,0x9a,0xa3,0x50, 0xcf,0x65,0x64,0x4f,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x7c,0x99,0x00,0x00,0x0a,0x00, 0x00,0x00,0x63,0x83,0x00,0x00,0x33,0x80,0x00,0x00,0x6b,0x53,0x73,0x5e,0x00,0x00,0x48,0x68,0x00,0x00, 0xc9,0x62,0x28,0x67,0x00,0x00,0xca,0x78,0x48,0x68,0x00,0x00,0x63,0x83,0xbf,0x53,0x00,0x00,0xc9,0x62, 0x28,0x67,0xbf,0x53,0x00,0x00,0xc0,0x7e,0x29,0x5f,0x00,0x00,0x84,0x5e,0x51,0x67,0x00,0x00,0x03,0x00, 0x00,0x00,0x2c,0x54,0x00,0x00,0xaf,0x8b,0x00,0x00,0xce,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x59, 0x00,0x00,0x4a,0x80,0x00,0x00,0x4a,0x80,0x29,0x59,0x00,0x00,0xce,0x57,0x00,0x00,0x30,0x52,0x00,0x00, 0x29,0x59,0xa4,0x5b,0x00,0x00,0x8b,0x65,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0x8b,0x65,0xd7,0x5f, 0x02,0x5f,0x00,0x00,0xdc,0x80,0x8e,0x4e,0xe0,0x65,0x00,0x00,0x08,0x00,0x00,0x00,0xd1,0x54,0x00,0x00, 0xd1,0x54,0xba,0x4e,0x00,0x00,0xba,0x4e,0x00,0x00,0x3f,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0xd1,0x54, 0x66,0x5b,0x21,0x68,0x00,0x00,0x69,0x80,0x00,0x00,0x73,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e, 0x00,0x00,0xe5,0x5d,0x00,0x00,0xa1,0x52,0x00,0x00,0x23,0x8d,0x00,0x00,0xfd,0x80,0x00,0x00,0x4d,0x4f, 0x00,0x00,0x3a,0x57,0x00,0x00,0x43,0x67,0x00,0x00,0x58,0x54,0x00,0x00,0xf0,0x79,0x00,0x00,0x02,0x00, 0x00,0x00,0x6a,0x56,0x00,0x00,0x33,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x7c,0x00,0x00,0x08,0x54, 0x00,0x00,0x08,0x54,0xfd,0x56,0x00,0x00,0xdf,0x76,0x00,0x00,0xa6,0x90,0x00,0x00,0xf3,0x60,0x00,0x00, 0x1a,0x90,0x00,0x00,0x4b,0x62,0x00,0x00,0xa8,0x52,0x00,0x00,0x08,0x54,0x1a,0x4f,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf7,0x8b,0x00,0x00,0x28,0x75,0x00,0x00,0xfb,0x4e,0x00,0x00,0xfb,0x4e,0x36,0x52,0x00,0x00, 0x3c,0x79,0x00,0x00,0x66,0x4e,0x00,0x00,0x1f,0x67,0x00,0x00,0x28,0x75,0xcf,0x91,0x00,0x00,0x28,0x75, 0x36,0x52,0x00,0x00,0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x96,0x00,0x00,0x1a,0x4f,0x00,0x00, 0x26,0x71,0x00,0x00,0x08,0x54,0x00,0x00,0x10,0x99,0x00,0x00,0xd8,0x53,0x00,0x00,0x17,0x4f,0x00,0x00, 0xc6,0x96,0x30,0x57,0x00,0x00,0x8e,0x7f,0x00,0x00,0x45,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66, 0x00,0x00,0x0e,0x66,0xdd,0x7e,0x76,0x98,0x00,0x00,0x0e,0x66,0xba,0x4e,0x00,0x00,0x67,0x61,0x00,0x00, 0x6a,0x80,0x00,0x00,0x0e,0x66,0x4d,0x62,0x7a,0x66,0x00,0x00,0x96,0x98,0x00,0x00,0x0e,0x66,0x36,0x4f, 0xd0,0x4f,0x00,0x00,0x4f,0x65,0x00,0x00,0x0e,0x66,0xcd,0x53,0xab,0x88,0x6a,0x80,0x0e,0x66,0xef,0x8b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x7a,0x00,0x00,0x05,0x6e,0x00,0x00,0x36,0x71,0x77,0x8d,0x6c,0x65, 0x00,0x00,0xcb,0x7a,0x00,0x00,0xcd,0x53,0x00,0x00,0x40,0x67,0x00,0x00,0x2a,0x8d,0x00,0x00,0x59,0x97, 0x00,0x00,0x17,0x53,0xbf,0x53,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0x03,0x00,0x00,0x00,0x1a,0x4e, 0x00,0x00,0x1a,0x4e,0x1f,0x75,0x00,0x00,0x1a,0x4e,0xc1,0x8b,0x66,0x4e,0x00,0x00,0x07,0x00,0x00,0x00, 0x50,0x86,0x00,0x00,0x0f,0x61,0x00,0x00,0xe0,0x65,0xcc,0x5f,0xee,0x60,0x00,0x00,0x4c,0x88,0x00,0x00, 0x70,0x62,0x00,0x00,0x00,0x8a,0x00,0x00,0x50,0x86,0xe0,0x65,0xcc,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x8b,0x4e,0x00,0x00,0x8b,0x4e,0x05,0x80,0x00,0x00,0x86,0x5e,0x00,0x00,0x8b,0x4e,0x6a,0x7f,0x00,0x00, 0x8b,0x4e,0x66,0x8f,0x00,0x00,0x86,0x5e,0x02,0x5e,0x00,0x00,0xcb,0x59,0x00,0x00,0x8b,0x4e,0xb9,0x65, 0x00,0x00,0x78,0x79,0x00,0x00,0xe0,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0x53,0x4f, 0x00,0x00,0x21,0x9e,0x00,0x00,0x3c,0x77,0x00,0x00,0xd2,0x6b,0x46,0x67,0xcc,0x83,0x00,0x00,0x36,0x52, 0xc1,0x54,0x00,0x00,0xdf,0x98,0x00,0x00,0x28,0x8d,0x00,0x00,0xab,0x8e,0x00,0x00,0x89,0x80,0x00,0x00, 0x06,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x92,0x63,0x00,0x00,0xe8,0x90,0x00,0x00,0x61,0x67,0x00,0x00, 0xf4,0x95,0x8c,0x80,0x00,0x00,0x9c,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x80,0x00,0x00,0xa4,0x80, 0x00,0x00,0x24,0x76,0x00,0x00,0x71,0x81,0x00,0x00,0x53,0x4f,0x00,0x00,0x14,0x78,0x00,0x00,0xa4,0x7f, 0x00,0x00,0xa4,0x7e,0xf4,0x7e,0x00,0x00,0x89,0x80,0xa4,0x7f,0x00,0x00,0x06,0x74,0x00,0x00,0x04,0x00, 0x00,0x00,0x60,0x4f,0x88,0x59,0x00,0x00,0xcb,0x86,0x00,0x00,0x44,0x5c,0x00,0x00,0x3c,0x90,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcf,0x50,0x00,0x00,0xd0,0x67,0x00,0x00,0x69,0x60,0x00,0x00,0xcf,0x50,0x43,0x67, 0x00,0x00,0xcf,0x50,0x3b,0x75,0x00,0x00,0xa6,0x90,0x00,0x00,0x50,0x5b,0x00,0x00,0x6c,0x62,0x00,0x00, 0x2f,0x4f,0xb3,0x7e,0x00,0x00,0x62,0x5f,0x70,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0xe8,0x90,0x00,0x00, 0x50,0x5b,0x00,0x00,0x73,0x51,0x82,0x82,0x00,0x00,0xfb,0x51,0x00,0x00,0x9d,0x7a,0x00,0x00,0x4b,0x81, 0x00,0x00,0x4b,0x81,0x4b,0x4e,0xa3,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x10,0x81, 0x00,0x00,0xae,0x76,0x00,0x00,0x69,0x81,0x00,0x00,0xae,0x76,0x1e,0x82,0x00,0x00,0x10,0x81,0x3c,0x77, 0x00,0x00,0x5c,0x51,0x00,0x00,0xcf,0x91,0x00,0x00,0xdb,0x75,0x00,0x00,0x9a,0x80,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe8,0x95,0x00,0x00,0xa4,0x4e,0x00,0x00,0xa0,0x80,0x00,0x00,0xc2,0x88,0x00,0x00,0xdb,0x6b, 0x00,0x00,0x68,0x54,0x00,0x00,0xa0,0x80,0xd1,0x79,0x00,0x00,0xe8,0x95,0x04,0x59,0x00,0x00,0xa0,0x80, 0xd2,0x89,0x00,0x00,0xf0,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x81,0x00,0x00,0x4c,0x76,0x00,0x00, 0x8e,0x70,0x00,0x00,0xc5,0x75,0x00,0x00,0x6c,0x78,0x16,0x53,0x00,0x00,0x9f,0x52,0xfd,0x80,0x00,0x00, 0xc6,0x80,0x00,0x00,0x14,0x6c,0x00,0x00,0x20,0x7d,0x00,0x00,0x6b,0x70,0x00,0x00,0x0a,0x00,0x00,0x00, 0x53,0x90,0x00,0x00,0xc3,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x4c,0x76,0x00,0x00,0x8e,0x70,0x00,0x00, 0x15,0x88,0xa8,0x52,0x00,0x00,0xc3,0x80,0x8e,0x70,0x00,0x00,0xc1,0x58,0x00,0x00,0x89,0x7c,0x00,0x00, 0x46,0x67,0xcc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x4e,0x00,0x00,0x68,0x79,0x00,0x00,0x1c,0x4e, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x02,0x5e,0x00,0x00,0x43,0x67,0x00,0x00,0x07,0x63,0x00,0x00,0x11,0x6c, 0x00,0x00,0x2c,0x67,0x00,0x00,0x68,0x79,0x8b,0x57,0x00,0x00,0x06,0x00,0x00,0x00,0x53,0x4f,0x00,0x00, 0xe3,0x89,0x00,0x00,0x8b,0x6b,0x00,0x00,0x8b,0x6b,0xba,0x4e,0x00,0x00,0xa8,0x9a,0x00,0x00,0xbf,0x52, 0x00,0x00,0x05,0x00,0x00,0x00,0x72,0x82,0x00,0x00,0x28,0x8d,0x00,0x00,0x45,0x6d,0x00,0x00,0x1f,0x61, 0x00,0x00,0x34,0x96,0x01,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x80,0x00,0x00,0x82,0x76,0x00,0x00, 0x89,0x80,0x00,0x00,0x99,0x65,0x00,0x00,0x27,0x59,0x00,0x00,0xd6,0x80,0xc7,0x75,0x00,0x00,0x83,0x6c, 0x00,0x00,0xd6,0x80,0x05,0x80,0x00,0x00,0xd6,0x80,0x87,0x73,0x00,0x00,0x9a,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0x80,0x81,0x00,0x00,0x1f,0x8d,0x00,0x00,0x0a,0x4e,0x00,0x00,0xe8,0x90,0x00,0x00,0x26,0x5e, 0x00,0x00,0x76,0x5e,0xa9,0x80,0x00,0x00,0x34,0x59,0x00,0x00,0xdb,0x80,0xa8,0x9a,0x00,0x00,0x68,0x54, 0x8e,0x70,0x00,0x00,0x73,0x51,0x82,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x81,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9a,0x5b,0x00,0x00,0x3c,0x5c,0x9a,0x4e,0x00,0x00,0xb7,0x5f,0xfa,0x57,0x00,0x00,0x3c,0x5c, 0xea,0x8f,0x00,0x00,0x3c,0x5c,0x00,0x00,0x79,0x72,0x00,0x00,0x54,0x58,0xfa,0x57,0xde,0x5d,0x00,0x00, 0x3c,0x5c,0xaf,0x65,0x00,0x00,0x9a,0x5b,0x27,0x60,0x00,0x00,0x9b,0x8f,0x7f,0x98,0xab,0x5b,0x00,0x00, 0x03,0x00,0x00,0x00,0x8c,0x4e,0x34,0x59,0x8c,0x80,0x00,0x00,0xa8,0x9a,0x00,0x00,0x09,0x4e,0x34,0x59, 0x8c,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x79,0x00,0x00,0x3f,0x51,0x00,0x00,0x84,0x9f,0x00,0x00, 0x4d,0x62,0x00,0x00,0x09,0x67,0x00,0x00,0xd7,0x82,0x00,0x00,0x74,0x5a,0x00,0x00,0xf1,0x82,0x00,0x00, 0xa5,0x80,0x00,0x00,0xe7,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x94,0x99,0x00,0x00,0x0a,0x00,0x00,0x00, 0x4c,0x76,0x00,0x00,0xe8,0x90,0x00,0x00,0x8e,0x70,0x00,0x00,0xd3,0x7e,0x38,0x68,0x00,0x00,0xc5,0x75, 0x00,0x00,0x14,0x6c,0x00,0x00,0xe1,0x6c,0x00,0x00,0x3b,0x6d,0xcf,0x91,0x00,0x00,0x0f,0x81,0x00,0x00, 0xe5,0x71,0x00,0x00,0x06,0x00,0x00,0x00,0xfe,0x94,0x00,0x00,0x2e,0x95,0x00,0x00,0xfa,0x57,0x00,0x00, 0x5a,0x80,0xd6,0x7c,0x00,0x00,0x55,0x53,0x4d,0x4f,0x00,0x00,0x97,0x62,0x9f,0x53,0xb3,0x51,0x9a,0x5b, 0xfa,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x81,0x00,0x00,0xc5,0x75,0x00,0x00,0x14,0x6c,0x00,0x00, 0x0a,0x4e,0x7a,0x81,0x20,0x7d,0x00,0x00,0xd3,0x7e,0xf3,0x77,0x00,0x00,0xbe,0x7c,0x00,0x00,0x34,0x96, 0x00,0x00,0x8e,0x70,0x00,0x00,0x0a,0x4e,0x7a,0x81,0x00,0x00,0x33,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0x24,0x76,0x00,0x00,0x48,0x4e,0x00,0x00,0xc0,0x80,0x00,0x00,0x57,0x57,0x00,0x00,0x27,0x59,0x00,0x00, 0x24,0x76,0xd1,0x79,0x00,0x00,0x24,0x76,0x66,0x5b,0x00,0x00,0x69,0x72,0x00,0x00,0x77,0x8d,0x00,0x00, 0x78,0x64,0x00,0x00,0x07,0x00,0x00,0x00,0xdb,0x75,0x00,0x00,0x14,0x6c,0x00,0x00,0xe1,0x6e,0x00,0x00, 0x27,0x59,0x00,0x00,0x13,0x9f,0x13,0x9f,0x00,0x00,0x93,0x5e,0x00,0x00,0x77,0x8d,0x00,0x00,0x05,0x00, 0x00,0x00,0xeb,0x8f,0x00,0x00,0x01,0x63,0x00,0x00,0xce,0x4e,0xaf,0x72,0x00,0x00,0xce,0x4e,0x00,0x00, 0xa9,0x80,0x04,0x8c,0x11,0x7b,0x00,0x00,0x01,0x00,0x00,0x00,0xe1,0x51,0xb3,0x7e,0x0e,0x66,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa0,0x80,0x00,0x00,0xe3,0x53,0x00,0x00,0x78,0x91,0x00,0x00,0x4c,0x76,0x00,0x00, 0xa0,0x80,0x53,0x90,0x00,0x00,0xe8,0x90,0x00,0x00,0xc5,0x75,0x00,0x00,0x8e,0x70,0x00,0x00,0xb2,0x6d, 0x00,0x00,0xcf,0x9e,0x9c,0x81,0x00,0x00,0x04,0x00,0x00,0x00,0x32,0x75,0x00,0x00,0xd4,0x88,0x00,0x00, 0xd4,0x88,0x41,0x7e,0x4d,0x88,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x56,0x87,0x91, 0x00,0x00,0x50,0x5b,0x00,0x00,0x41,0x6c,0x00,0x00,0x0f,0x5c,0x00,0x00,0xca,0x56,0x00,0x00,0xd3,0x7e, 0xf3,0x77,0x00,0x00,0xcf,0x91,0x00,0x00,0xb1,0x78,0x00,0x00,0x27,0x59,0x00,0x00,0x2f,0x60,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6f,0x66,0x00,0x00,0x0e,0x54,0x00,0x00,0xbb,0x79,0x00,0x00,0xe8,0x90,0x00,0x00, 0x62,0x97,0x00,0x00,0x05,0x53,0x00,0x00,0x1f,0x8d,0x00,0x00,0xdb,0x53,0x00,0x00,0x40,0x77,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x51,0x00,0x00,0xd8,0x76,0x00,0x00,0xb0,0x8b,0x00,0x00, 0x7b,0x6b,0x79,0x81,0x2d,0x4e,0x00,0x00,0x59,0x65,0x00,0x00,0x1f,0x75,0x00,0x00,0xa8,0x52,0x00,0x00, 0x8b,0x53,0x00,0x00,0x4d,0x4f,0x00,0x00,0x6f,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xd6,0x80,0x00,0x00,0xb8,0x7e,0x00,0x00,0x9e,0x59,0x00,0x00,0x27,0x59,0x77,0x6d,0x00,0x00,0x4e,0x4e, 0x4e,0x4e,0x00,0x00,0x34,0x59,0x00,0x00,0x21,0x6b,0x00,0x00,0xe5,0x54,0x00,0x00,0xbe,0x8f,0xba,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xce,0x80,0x00,0x00,0xbd,0x82,0x00,0x00,0xce,0x80,0x66,0x5b,0x00,0x00, 0x73,0x4e,0x00,0x00,0xe0,0x73,0x00,0x00,0xbd,0x82,0x73,0x7c,0x00,0x00,0x42,0x5c,0x00,0x00,0xce,0x80, 0x66,0x5b,0xb6,0x5b,0x00,0x00,0xce,0x80,0xd1,0x53,0x1f,0x75,0x00,0x00,0xbd,0x82,0x98,0x97,0x00,0x00, 0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0xc9,0x8b,0x00,0x00,0x30,0x57,0x00,0x00,0xc7,0x8f,0x00,0x00, 0xfb,0x4e,0x00,0x00,0x1f,0x8d,0x00,0x00,0x97,0x7b,0x00,0x00,0xfa,0x51,0x00,0x00,0x49,0x4e,0x00,0x00, 0x09,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x5f,0x00,0x00,0x44,0x51,0x00,0x00,0xb9,0x59,0x00,0x00, 0x46,0x6d,0x00,0x00,0xe2,0x6c,0x00,0x00,0x27,0x56,0x76,0x55,0x00,0x00,0x63,0x88,0x00,0x00,0x44,0x51, 0x1f,0x5f,0x00,0x00,0xfb,0x85,0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xa7,0x7b,0x00,0x00, 0xa7,0x7b,0x05,0x80,0x41,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x1d,0x84,0x5c,0x53,0x00,0x00,0x1d,0x84, 0x5c,0x53,0x20,0x7d,0x00,0x00,0x0c,0x54,0x00,0x00,0x26,0x95,0x9b,0x6d,0x00,0x00,0x50,0x5b,0x00,0x00, 0xd0,0x67,0x00,0x00,0x71,0x4e,0x00,0x00,0x12,0x69,0x89,0x7c,0x00,0x00,0x12,0x69,0x00,0x00,0x7b,0x98, 0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x6d,0x00,0x00,0x03,0x00,0x00,0x00,0x17,0x52,0x00,0x00,0x97,0x5c, 0x47,0x95,0x00,0x00,0xaa,0x6e,0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x01,0x00,0x00,0x00, 0x89,0x80,0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x81,0x00,0x00,0x02,0x81,0xa2,0x7e,0x00,0x00,0x02,0x81, 0x6b,0x86,0x00,0x00,0x02,0x81,0x7c,0x9c,0x00,0x00,0xa2,0x7e,0x00,0x00,0x04,0x00,0x00,0x00,0xe8,0x90, 0x00,0x00,0x0b,0x4e,0x00,0x00,0xa8,0x9a,0x00,0x00,0x0b,0x4e,0x4b,0x4e,0xb1,0x8f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9b,0x5c,0x20,0x7d,0x00,0x00,0x7a,0x81,0x4c,0x76,0x00,0x00,0x7a,0x81,0x00,0x00,0x7a,0x81, 0x8e,0x70,0x00,0x00,0x9b,0x5c,0x00,0x00,0x0f,0x81,0x00,0x00,0xb2,0x6d,0x00,0x00,0x50,0x5b,0x00,0x00, 0x0f,0x81,0x8e,0x70,0x00,0x00,0x9b,0x5c,0x1f,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x28,0x6c,0x78,0x91, 0x00,0x00,0x0a,0x00,0x00,0x00,0x8a,0x81,0x00,0x00,0x8a,0x81,0x98,0x80,0x00,0x00,0xc2,0x81,0x00,0x00, 0xa2,0x80,0x9d,0x7a,0x00,0x00,0x8a,0x81,0xe7,0x62,0x0d,0x4e,0xc7,0x8f,0x27,0x59,0x7f,0x81,0x00,0x00, 0xa2,0x80,0x00,0x00,0x8a,0x81,0x98,0x80,0x50,0x5b,0x00,0x00,0x8a,0x81,0x98,0x80,0x1d,0x67,0x16,0x59, 0xd0,0x62,0x00,0x00,0xc2,0x81,0x98,0x80,0x3f,0x51,0x00,0x00,0xc2,0x81,0x8d,0x7b,0x3f,0x51,0x00,0x00, 0x01,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x56,0x00,0x00,0x9f,0x53,0xcb,0x86, 0x7d,0x76,0x00,0x00,0x47,0x72,0x00,0x00,0x34,0x6c,0x00,0x00,0x26,0x5e,0x00,0x00,0x77,0x53,0x00,0x00, 0x40,0x77,0x00,0x00,0x28,0x8d,0x00,0x00,0xca,0x56,0x42,0x52,0x00,0x00,0x03,0x5e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe8,0x90,0x00,0x00,0xe3,0x53,0x00,0x00,0x4d,0x52,0x00,0x00,0x69,0x7f,0x00,0x00,0x00,0x60, 0x00,0x00,0xf4,0x56,0x00,0x00,0x54,0x81,0x00,0x00,0x2f,0x81,0x00,0x00,0x8c,0x80,0x00,0x00,0x9b,0x81, 0x00,0x00,0x02,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0xfa,0x57,0x78,0x91,0x00,0x00,0x03,0x00,0x00,0x00, 0xdd,0x80,0x53,0x4f,0x00,0x00,0x4b,0x62,0xdd,0x80,0xb3,0x8d,0x00,0x00,0xdd,0x80,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9b,0x52,0x00,0x00,0x1f,0x59,0x00,0x00,0x90,0x6e,0x00,0x00,0x26,0x54,0x00,0x00,0xcf,0x91, 0x00,0x00,0xc1,0x89,0xa6,0x5e,0x00,0x00,0x17,0x80,0x00,0x00,0x48,0x65,0x00,0x00,0x90,0x6e,0xe8,0x90, 0x00,0x00,0x90,0x6e,0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xaa,0x80,0x00,0x00,0xaa,0x80,0x78,0x91, 0x00,0x00,0xaa,0x80,0x9d,0x80,0x00,0x00,0x28,0x8d,0x00,0x00,0xb6,0x6e,0x27,0x60,0x00,0x00,0xcb,0x86, 0x7d,0x76,0x00,0x00,0xaa,0x80,0x92,0x7c,0x00,0x00,0x7b,0x7c,0x00,0x00,0xa2,0x6e,0x27,0x60,0x00,0x00, 0xaa,0x80,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x5f,0x00,0x00,0x31,0x5f,0x27,0x60,0x00,0x00, 0x06,0x81,0x00,0x00,0xe9,0x5a,0x00,0x00,0xae,0x76,0x00,0x00,0x27,0x60,0x00,0x00,0xa8,0x9a,0x00,0x00, 0x7c,0x99,0x00,0x00,0x47,0x72,0x00,0x00,0xcd,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x7e,0x00,0x00, 0xb2,0x51,0x00,0x00,0x0f,0x64,0x00,0x00,0xa8,0x52,0x00,0x00,0xb2,0x51,0x0f,0x5f,0x00,0x00,0x6e,0x8f, 0x00,0x00,0xdc,0x7e,0x81,0x5b,0x00,0x00,0xb2,0x51,0x1f,0x66,0x00,0x00,0x61,0x8c,0x00,0x00,0x09,0x81, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf1,0x67,0x00,0x00,0x0e,0x69,0x00,0x00,0xd3,0x9a,0x00,0x00,0x0e,0x69, 0xa8,0x52,0x69,0x72,0x00,0x00,0x81,0x68,0x00,0x00,0xcc,0x80,0x00,0x00,0xf1,0x67,0x8e,0x70,0x00,0x00, 0x0e,0x69,0xa8,0x9a,0x00,0x00,0xa8,0x9a,0x00,0x00,0x70,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0x99,0x70, 0xba,0x4e,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x56,0x00,0x00,0xdd,0x8b,0x00,0x00,0x51,0x81, 0x00,0x00,0x71,0x4e,0xee,0x5d,0x00,0x00,0x71,0x4e,0x00,0x00,0x6e,0x51,0x6e,0x51,0x00,0x00,0x57,0x5b, 0x00,0x00,0x61,0x6c,0x00,0x00,0x69,0x72,0x00,0x00,0x0f,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x26,0x5e, 0x00,0x00,0x59,0x6a,0x00,0x00,0xe8,0x90,0x00,0x00,0x0b,0x4e,0x00,0x00,0x40,0x88,0x93,0x5e,0x00,0x00, 0x40,0x88,0x00,0x00,0x6e,0x8f,0x00,0x00,0x4e,0x5c,0x00,0x00,0x3f,0x51,0x00,0x00,0x97,0x68,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x8b,0x88,0x00,0x00,0xe8,0x90,0x00,0x00,0x77,0x6d,0x00,0x00, 0x8b,0x6b,0x00,0x00,0x65,0x88,0x00,0x00,0x4b,0x7b,0x00,0x00,0xc6,0x7e,0xde,0x80,0x00,0x00,0x2b,0x76, 0x00,0x00,0x9b,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x53,0x00,0x00,0xbf,0x80,0x00,0x00,0xb1,0x75, 0x00,0x00,0x27,0x60,0x00,0x00,0xb2,0x6d,0x00,0x00,0x34,0x59,0x00,0x00,0xae,0x75,0x00,0x00,0x34,0x6c, 0x00,0x00,0x40,0x88,0x00,0x00,0xe1,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x72,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x88,0x98,0x00,0x00,0x08,0x57,0x00,0x00,0x50,0x5b,0x04,0x59,0x00,0x00, 0xcb,0x53,0x00,0x00,0x86,0x98,0x00,0x00,0x39,0x68,0x00,0x00,0x97,0x68,0x3f,0x51,0x00,0x00,0x86,0x98, 0x3f,0x51,0x00,0x00,0x88,0x98,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x79,0x81,0xc0,0x80,0xe1,0x6e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x6b,0x00,0x00,0xbe,0x8d,0x00,0x00,0x0b,0x4e,0x00,0x00,0x2c,0x67, 0x00,0x00,0xdf,0x8d,0x00,0x00,0x70,0x53,0x00,0x00,0x0f,0x8e,0x9e,0x5b,0x30,0x57,0x00,0x00,0x1d,0x8e, 0x00,0x00,0x4b,0x62,0xb6,0x67,0x00,0x00,0x95,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x28,0x6c,0x78,0x91, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x79,0x00,0x00,0x3d,0x84,0x00,0x00,0x96,0x98, 0x0c,0x80,0xfa,0x51,0x00,0x00,0xd1,0x53,0x00,0x00,0x6b,0x78,0x00,0x00,0x34,0x6c,0x00,0x00,0xae,0x76, 0x00,0x00,0x68,0x8f,0x00,0x00,0x82,0x82,0x00,0x00,0xe3,0x53,0xc0,0x79,0x00,0x00,0x01,0x00,0x00,0x00, 0x9b,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00,0x31,0x8c,0x00,0x00,0x72,0x82,0x00,0x00, 0xe8,0x90,0x00,0x00,0x8a,0x98,0x00,0x00,0xa2,0x7e,0x00,0x00,0xae,0x76,0x00,0x00,0xcb,0x86,0x00,0x00, 0x9e,0x5e,0x00,0x00,0x8b,0x57,0x00,0x00,0x08,0x00,0x00,0x00,0x14,0x6c,0x00,0x00,0xc3,0x80,0x00,0x00, 0x5a,0x86,0x00,0x00,0x0f,0x81,0x00,0x00,0xcf,0x7e,0x00,0x00,0x27,0x60,0x00,0x00,0x33,0x96,0x00,0x00, 0xd2,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xb6,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x67,0x00,0x00, 0x89,0x80,0x00,0x00,0xa0,0x80,0x00,0x00,0x6b,0x51,0x00,0x00,0x6b,0x51,0xa5,0x7c,0x00,0x00,0x73,0x54, 0x00,0x00,0x85,0x68,0x00,0x00,0x08,0x67,0x8c,0x4e,0x41,0x53,0x6b,0x51,0x00,0x00,0x6b,0x51,0x82,0x82, 0x00,0x00,0x08,0x67,0x8c,0x4e,0x41,0x53,0x00,0x00,0x06,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0x9d,0x7a, 0x00,0x00,0xdb,0x6b,0x00,0x00,0xed,0x81,0x00,0x00,0x1f,0x75,0x00,0x00,0xbd,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0x36,0x52,0x00,0x00,0xdc,0x83,0x00,0x00,0x89,0x80,0x00,0x00,0x0d,0x6e,0x00,0x00,0x99,0x65, 0x00,0x00,0x36,0x52,0xc1,0x54,0x00,0x00,0x4a,0x81,0x00,0x00,0xc4,0x9e,0xdc,0x74,0x00,0x00,0xdc,0x81, 0x00,0x00,0x2a,0x73,0x89,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x25,0x8d,0x00,0x00,0x80,0x86,0x00,0x00, 0xc2,0x70,0x00,0x00,0x73,0x59,0x00,0x00,0x25,0x8d,0x48,0x68,0x00,0x00,0xf9,0x7a,0x00,0x00,0x16,0x53, 0x00,0x00,0x80,0x86,0x27,0x60,0x00,0x00,0x3d,0x67,0x00,0x00,0x73,0x4e,0x00,0x00,0x08,0x00,0x00,0x00, 0x3c,0x5c,0xfa,0x57,0x00,0x00,0x9b,0x52,0x00,0x00,0xa8,0x9a,0x00,0x00,0xa0,0x80,0x8c,0x80,0x00,0x00, 0xcb,0x7a,0xd4,0x6b,0x66,0x4e,0x00,0x00,0xcb,0x7a,0xd4,0x6b,0x00,0x00,0x79,0x72,0xc8,0x70,0xaf,0x65, 0x54,0x58,0x00,0x00,0x29,0x52,0xe8,0x95,0x66,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x8c,0x00,0x00, 0x53,0x4f,0x00,0x00,0x99,0x96,0x00,0x00,0x5c,0x95,0x00,0x00,0xa0,0x80,0xa8,0x52,0x69,0x72,0x00,0x00, 0xa8,0x9a,0x00,0x00,0x50,0x5b,0x00,0x00,0xd8,0x68,0x7c,0x9c,0x00,0x00,0xc1,0x58,0x00,0x00,0x21,0x6a, 0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x88,0x00,0x00,0x26,0x5e,0x00,0x00,0xe8,0x90,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x3f,0x51,0x00,0x00,0xa8,0x9a,0x00,0x00,0x9b,0x52,0x00,0x00,0xb3,0x8d,0x00,0x00,0x0f,0x5f, 0x00,0x00,0x50,0x5b,0x00,0x00,0x07,0x00,0x00,0x00,0x9d,0x7a,0x00,0x00,0xf3,0x7e,0x8c,0x80,0x00,0x00, 0xa8,0x52,0x09,0x81,0x00,0x00,0x9d,0x7a,0xca,0x56,0xbf,0x80,0x00,0x00,0x59,0x97,0x09,0x81,0x00,0x00, 0x8c,0x80,0x00,0x00,0xc1,0x65,0x71,0x81,0x8c,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x06,0x74,0x00,0x00, 0x09,0x00,0x00,0x00,0x73,0x54,0x00,0x00,0xed,0x81,0x00,0x00,0xed,0x81,0x73,0x54,0x00,0x00,0xce,0x98, 0x40,0x88,0xe8,0x96,0x00,0x00,0xbb,0x81,0x00,0x00,0x14,0x6c,0x00,0x00,0xca,0x81,0x00,0x00,0x73,0x54, 0x3f,0x51,0x00,0x00,0x6a,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0x74,0x7a,0x00,0x00,0x01,0x00,0x00,0x00, 0x99,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x7e,0x00,0x00, 0x7a,0x81,0x8e,0x70,0x00,0x00,0x2e,0x5e,0x50,0x5b,0x00,0x00,0x7a,0x81,0x00,0x00,0xe8,0x90,0x00,0x00, 0x2e,0x5e,0x00,0x00,0xe1,0x80,0x00,0x00,0x58,0x62,0x00,0x00,0x8a,0x98,0x00,0x00,0xf3,0x58,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe8,0x90,0x00,0x00,0xa9,0x65,0x00,0x00,0x05,0x53,0x00,0x00,0xf4,0x56,0x00,0x00, 0x0e,0x69,0x00,0x00,0x26,0x5e,0x00,0x00,0x9d,0x81,0x78,0x91,0x6f,0x8f,0x00,0x00,0x9c,0x67,0x00,0x00, 0x0e,0x69,0xf4,0x95,0xd8,0x76,0x00,0x00,0x78,0x91,0xcc,0x80,0xdb,0x75,0x00,0x00,0x06,0x00,0x00,0x00, 0x98,0x97,0x8e,0x70,0x00,0x00,0x98,0x97,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x89,0x80,0x00,0x00, 0x8e,0x70,0x00,0x00,0x13,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x90,0x00,0x00,0xfb,0x6c,0x00,0x00, 0xdb,0x75,0x00,0x00,0xc0,0x80,0x00,0x00,0x30,0x57,0x00,0x00,0x8c,0x80,0x00,0x00,0x54,0x81,0x00,0x00, 0xd1,0x9e,0x00,0x00,0x2d,0x4e,0x00,0x00,0xa1,0x80,0x9f,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f, 0x00,0x00,0xf7,0x82,0x00,0x00,0x4c,0x76,0x00,0x00,0x24,0x76,0x00,0x00,0x0c,0x56,0x64,0x54,0x00,0x00, 0x37,0x68,0x00,0x00,0xc5,0x75,0xd2,0x6b,0x00,0x00,0xe1,0x6c,0x00,0x00,0xc6,0x7e,0xde,0x80,0x00,0x00, 0xdb,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x81,0x00,0x00,0x6a,0x6b,0x00,0x00,0x50,0x5b,0x00,0x00, 0x73,0x54,0x00,0x00,0xe6,0x70,0x00,0x00,0x7b,0x81,0x6a,0x6b,0x6a,0x6b,0x00,0x00,0xcb,0x53,0x00,0x00, 0x6b,0x86,0x00,0x00,0x53,0x4f,0x00,0x00,0xba,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x46,0x81,0x00,0x00, 0x38,0x81,0x00,0x00,0x03,0x00,0x00,0x00,0xad,0x80,0x10,0x81,0x00,0x00,0xad,0x80,0x00,0x00,0xad,0x80, 0x7d,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x8b,0x00,0x00,0xaf,0x8b,0x51,0x7f,0x00,0x00,0xde,0x98, 0x00,0x00,0xfa,0x51,0x00,0x00,0x2a,0x63,0x00,0x00,0x00,0x90,0x00,0x00,0xb2,0x51,0x00,0x00,0x7a,0x7a, 0x00,0x00,0xa6,0x90,0x00,0x00,0xbe,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x90,0x00,0x00,0x1a,0x81, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x8b,0x57,0x00,0x00,0x3f,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x9a,0x80, 0x50,0x5b,0x00,0x00,0x26,0x5e,0x00,0x00,0x0e,0x54,0x71,0x81,0x00,0x00,0xf7,0x53,0x00,0x00,0x09,0x00, 0x00,0x00,0xf1,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0xf1,0x80,0x4c,0x76,0x00,0x00,0xf1,0x80,0x8e,0x70, 0x00,0x00,0x27,0x59,0x70,0x81,0x06,0x57,0x00,0x00,0x37,0x72,0x00,0x00,0xc2,0x81,0x00,0x00,0x97,0x7c, 0x70,0x81,0x06,0x57,0x00,0x00,0xf1,0x80,0x14,0x6c,0x16,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x9b,0x52, 0x00,0x00,0x01,0x00,0x00,0x00,0x8c,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb9,0x65,0x00,0x00,0x6f,0x83,0x00,0x00,0xb6,0x72,0x00,0x00,0x53,0x4f,0x00,0x00,0x42,0x52, 0x00,0x00,0x93,0x80,0x00,0x00,0xb1,0x7c,0x00,0x00,0x74,0x81,0x00,0x00,0x6f,0x83,0xd7,0x65,0x00,0x00, 0x8f,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0x11,0x52,0x00,0x00,0xb3,0x8d,0x00,0x00,0x05,0x00,0x00,0x00, 0xa5,0x80,0x53,0x4f,0xee,0x58,0x00,0x00,0xa5,0x80,0x00,0x00,0xc5,0x60,0x00,0x00,0xa5,0x80,0x89,0x80, 0x9a,0x53,0x00,0x00,0xa5,0x80,0x4b,0x7b,0xb2,0x52,0x00,0x00,0x03,0x00,0x00,0x00,0xbf,0x7e,0x00,0x00, 0x8b,0x53,0x00,0x00,0x84,0x5f,0x00,0x00,0x06,0x00,0x00,0x00,0xdc,0x62,0x00,0x00,0x8e,0x70,0x00,0x00, 0xd5,0x6c,0x00,0x00,0xc5,0x7f,0xee,0x76,0x00,0x00,0x47,0x72,0x00,0x00,0x54,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0xd6,0x76,0x00,0x00,0x73,0x51,0x82,0x82,0x00,0x00,0x0b,0x4e,0x00,0x00,0xe8,0x90,0x00,0x00, 0xd6,0x76,0x04,0x59,0x00,0x00,0xd6,0x76,0xa8,0x9a,0x00,0x00,0x24,0x4f,0x00,0x00,0x34,0x59,0x00,0x00, 0x0a,0x4e,0x1e,0x82,0x00,0x00,0x0a,0x4e,0x8b,0x57,0x35,0x75,0x11,0x81,0x00,0x00,0x0a,0x00,0x00,0x00, 0xc0,0x80,0x00,0x00,0x16,0x53,0x00,0x00,0x27,0x59,0x00,0x00,0x27,0x59,0x42,0x52,0x00,0x00,0x7e,0x67, 0x42,0x52,0x00,0x00,0xfa,0x51,0x00,0x00,0xa6,0x6d,0x1f,0x57,0x00,0x00,0xc0,0x80,0xfb,0x7c,0x70,0x65, 0x00,0x00,0xc0,0x80,0x27,0x60,0x00,0x00,0x53,0x4f,0xb1,0x7e,0x00,0x00,0x04,0x00,0x00,0x00,0xdf,0x98, 0x00,0x00,0x54,0x9b,0x08,0x5e,0x00,0x00,0xdf,0x98,0xd1,0x79,0x00,0x00,0x39,0x8d,0x00,0x00,0x02,0x00, 0x00,0x00,0xe9,0x60,0x00,0x00,0x09,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe8,0x90,0x00,0x00,0x16,0x5c,0x00,0x00,0xf4,0x56,0x00,0x00,0x27,0x59,0x8c,0x80,0x00,0x00, 0x8c,0x80,0x00,0x00,0xcd,0x9c,0x00,0x00,0xe3,0x74,0x00,0x00,0x4d,0x4f,0x06,0x52,0x29,0x5a,0x00,0x00, 0xa8,0x63,0x00,0x00,0x4d,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x80,0x81,0x00,0x00,0x9b,0x52,0x00,0x00, 0xe0,0x7a,0x00,0x00,0x2f,0x5f,0x00,0x00,0xb6,0x67,0x00,0x00,0xe8,0x90,0x00,0x00,0x8a,0x81,0x00,0x00, 0xa9,0x52,0x00,0x00,0x55,0x81,0x00,0x00,0xbd,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0xbf,0x80,0x00,0x00, 0x09,0x00,0x00,0x00,0xf3,0x60,0x00,0x00,0x4b,0x6d,0x00,0x00,0xad,0x65,0x00,0x00,0x20,0x90,0x00,0x00, 0xf3,0x60,0xc7,0x75,0x00,0x00,0xf4,0x8b,0x00,0x00,0xc1,0x89,0x00,0x00,0xa6,0x5e,0x00,0x00,0xf3,0x60, 0xc2,0x72,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x62,0x97,0x00,0x00,0x14,0x6c, 0x00,0x00,0x65,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xc0,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x67, 0x00,0x00,0x11,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0xbe,0x59,0x00,0x00,0x0b,0x4e,0x00,0x00,0xda,0x50, 0x00,0x00,0xc6,0x4e,0x00,0x00,0x5e,0x5c,0x00,0x00,0x4f,0x86,0x00,0x00,0x00,0x4e,0x3b,0x4e,0x8c,0x4e, 0x00,0x00,0x04,0x00,0x00,0x00,0xa4,0x5b,0x00,0x00,0x3f,0x62,0x00,0x00,0x95,0x5e,0x00,0x00,0x68,0x8f, 0x00,0x00,0x01,0x00,0x00,0x00,0x26,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xf1,0x5d,0x00,0x00,0x36,0x71, 0x00,0x00,0xab,0x8e,0x00,0x00,0x31,0x75,0x00,0x00,0x3b,0x4e,0x00,0x00,0x11,0x62,0x00,0x00,0xa8,0x52, 0x00,0x00,0xbb,0x6c,0x3a,0x53,0x00,0x00,0x4c,0x88,0x00,0x00,0x40,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0xf0,0x53,0x00,0x00,0x40,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x54,0x00,0x00,0x27,0x6c,0x00,0x00, 0x46,0x8c,0x50,0x81,0x00,0x00,0x14,0x6c,0x00,0x00,0x0d,0x54,0x2d,0x66,0x57,0x84,0x00,0x00,0x6b,0x86, 0x00,0x00,0x27,0x6c,0x42,0x5c,0x00,0x00,0x8e,0x7f,0x00,0x00,0xed,0x81,0x00,0x00,0x41,0x5c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x11,0x5c,0x00,0x00,0xca,0x4e,0x00,0x00,0x8e,0x4e,0x00,0x00,0x64,0x6b,0x00,0x00, 0x73,0x51,0xcd,0x91,0x81,0x89,0x00,0x00,0x0a,0x4e,0x00,0x00,0x0a,0x5c,0x00,0x00,0x1a,0x59,0x00,0x00, 0x81,0x67,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x7f,0x4f,0x00,0x00, 0x35,0x75,0x00,0x00,0x4c,0x76,0x00,0x00,0x7d,0x54,0x00,0x00,0x7b,0x6b,0x00,0x00,0x9e,0x8f,0x00,0x00, 0x49,0x6b,0x00,0x00,0xcc,0x5b,0x00,0x00,0x4c,0x76,0x69,0x72,0x00,0x00,0x06,0x00,0x00,0x00,0xc1,0x54, 0x00,0x00,0xed,0x56,0x00,0x00,0x8e,0x4e,0x00,0x00,0xf3,0x81,0x00,0x00,0x8e,0x4e,0xc5,0x90,0xbb,0x6c, 0x00,0x00,0x8e,0x4e,0x8c,0x5b,0x84,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0x7f,0x9f,0x00,0x00,0x01,0x00, 0x00,0x00,0x7b,0x98,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xfa,0x52,0x00,0x00,0x34,0x6c, 0x00,0x00,0x64,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x08,0x00,0x00,0x00,0x05,0x82, 0x00,0x00,0x88,0x59,0x00,0x00,0x36,0x72,0x00,0x00,0xcd,0x6b,0x00,0x00,0x37,0x72,0x00,0x00,0x6c,0x51, 0x00,0x00,0x50,0x5b,0x00,0x00,0xc2,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x8b,0x00,0x00,0xc5,0x60, 0x00,0x00,0xba,0x8b,0x3a,0x57,0x00,0x00,0xf3,0x77,0x1c,0x4e,0x00,0x00,0xba,0x8b,0x18,0x62,0x00,0x00, 0xba,0x8b,0x4c,0x75,0x00,0x00,0xba,0x8b,0xb7,0x7e,0xb7,0x7e,0x00,0x00,0xfe,0x56,0x00,0x00,0x30,0x57, 0x66,0x5b,0x3e,0x79,0x00,0x00,0xba,0x8b,0x03,0x8c,0xe5,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59, 0x00,0x00,0x16,0x5c,0x00,0x00,0xd4,0x82,0x00,0x00,0x39,0x68,0x00,0x00,0x18,0x62,0x00,0x00,0x3b,0x54, 0x00,0x00,0x4c,0x76,0x00,0x00,0xe8,0x90,0x00,0x00,0x62,0x97,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x97,0x5f,0x00,0x00,0x0d,0x4e,0x97,0x5f,0x00,0x00,0x29,0x52,0x00,0x00,0x03,0x5f,0x00,0x00, 0xcb,0x53,0x00,0x00,0x29,0x52,0x50,0x5b,0x00,0x00,0xab,0x8e,0x00,0x00,0xbb,0x79,0x00,0x00,0xd1,0x8f, 0x42,0x6c,0xdc,0x8f,0x00,0x00,0x29,0x52,0x54,0x58,0x00,0x00,0x04,0x00,0x00,0x00,0x8a,0x72,0xc5,0x60, 0xf1,0x6d,0x00,0x00,0x8a,0x72,0x4b,0x4e,0xc5,0x60,0x00,0x00,0x8a,0x72,0x4b,0x4e,0x31,0x72,0x00,0x00, 0xd4,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x67,0x00,0x00,0x02,0x90,0x00,0x00,0x13,0x7f,0x00,0x00, 0x45,0x75,0x00,0x00,0x02,0x90,0xa6,0x5e,0x00,0x00,0x55,0x5c,0x00,0x00,0xc3,0x5f,0x00,0x00,0x02,0x90, 0x27,0x60,0x00,0x00,0x66,0x57,0x00,0x00,0x20,0x5f,0x00,0x00,0x08,0x00,0x00,0x00,0x14,0x82,0x00,0x00, 0x10,0x82,0x00,0x00,0x40,0x88,0x00,0x00,0x34,0x96,0x00,0x00,0xca,0x83,0x00,0x00,0x2e,0x54,0x00,0x00, 0x16,0x78,0x00,0x00,0x41,0x5c,0x9f,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x03,0x00, 0x00,0x00,0xef,0x8b,0x00,0x00,0x19,0x95,0x00,0x00,0xb9,0x8b,0x00,0x00,0x08,0x00,0x00,0x00,0x29,0x59, 0x00,0x00,0x43,0x51,0x00,0x00,0x15,0x80,0x00,0x00,0x1d,0x5e,0x00,0x00,0x29,0x59,0x1f,0x96,0x00,0x00, 0x1d,0x5e,0x75,0x96,0x00,0x00,0xe5,0x65,0x27,0x5c,0x74,0x5e,0x00,0x00,0xe5,0x65,0x27,0x5c,0x29,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0x48,0x8e,0x00,0x00,0x0a,0x5f,0x00,0x00,0x1a,0x4f, 0x00,0x00,0x05,0x80,0x00,0x00,0xf0,0x53,0x67,0x52,0x00,0x00,0xa8,0x52,0x00,0x00,0x8e,0x7f,0x00,0x00, 0xf2,0x66,0x00,0x00,0x85,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0xf2,0x66,0x00,0x00, 0xf2,0x66,0xbf,0x53,0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x66,0x8f,0xb3,0x52, 0x7f,0x98,0x00,0x00,0x71,0x5c,0x2f,0x6e,0x00,0x00,0x65,0x68,0x00,0x00,0x71,0x5c,0x30,0x82,0x00,0x00, 0x1f,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x7f,0x67,0x00,0x00,0x28,0x82,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7a,0x7a,0x00,0x00,0xed,0x73,0x00,0x00,0xcd,0x6b,0x00,0x00,0x29,0x59,0x00,0x00,0xbf,0x7e,0x00,0x00, 0xd0,0x8f,0x00,0x00,0x29,0x59,0x58,0x54,0x00,0x00,0x4c,0x88,0x00,0x00,0x53,0x90,0x00,0x00,0x29,0x59, 0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x82,0xe2,0x6c,0x57,0x7f,0xc6,0x5b,0x00,0x00,0x4d,0x91, 0x00,0x00,0xe5,0x82,0x00,0x00,0xe5,0x82,0xe8,0x90,0x00,0x00,0xe5,0x82,0xe2,0x6c,0x57,0x7f,0xc6,0x5b, 0x1a,0x59,0xc3,0x5f,0xcf,0x7e,0x00,0x00,0x85,0x6d,0x00,0x00,0x2c,0x82,0x00,0x00,0xc0,0x96,0xd4,0x6b, 0xc9,0x62,0x1a,0x59,0x00,0x00,0x53,0x68,0x00,0x00,0x50,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x96, 0x00,0x00,0x47,0x82,0x00,0x00,0x7d,0x8f,0x3a,0x67,0x00,0x00,0x7d,0x8f,0x00,0x00,0x39,0x82,0x00,0x00, 0x7f,0x95,0x00,0x00,0x58,0x54,0x00,0x00,0x3a,0x67,0x00,0x00,0xea,0x53,0x00,0x00,0xae,0x70,0x00,0x00, 0x0a,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x4d,0x4f,0x00,0x00,0xa4,0x5b,0x00,0x00,0xb5,0x6b,0x00,0x00, 0x53,0x4f,0x00,0x00,0xd6,0x76,0x00,0x00,0x55,0x53,0x00,0x00,0xe3,0x53,0x00,0x00,0x16,0x59,0x3b,0x6d, 0xa8,0x52,0x00,0x00,0x3f,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0x4b,0x82,0x00,0x00,0x07,0x00,0x00,0x00, 0x3a,0x67,0x00,0x00,0x4b,0x62,0x00,0x00,0x62,0x97,0x00,0x00,0xd8,0x76,0x00,0x00,0x6e,0x8f,0x00,0x00, 0x8a,0x62,0x00,0x00,0xc1,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0x65,0x67,0xc1,0x54,0x00,0x00,0x65,0x67, 0x00,0x00,0x04,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0x97,0x7a,0x00,0x00,0xaf,0x68,0x00,0x00,0x16,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x82,0x00,0x00,0xea,0x53,0x00,0x00,0x58,0x54,0x00,0x00,0x0a,0x4e, 0x00,0x00,0x7f,0x95,0x00,0x00,0x1f,0x96,0x00,0x00,0xa1,0x52,0x00,0x00,0x53,0x4f,0x00,0x00,0x1c,0x4e, 0x00,0x00,0x82,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x33,0x82,0x3d,0x85,0x34,0x6c,0x00,0x00,0x01,0x00, 0x00,0x00,0xc5,0x88,0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x51,0x00,0x00,0x7f,0x67,0x00,0x00,0x01,0x00, 0x00,0x00,0x4e,0x82,0x00,0x00,0x06,0x00,0x00,0x00,0x58,0x54,0x00,0x00,0x7f,0x95,0x00,0x00,0x53,0x4f, 0x00,0x00,0x58,0x54,0x1f,0x96,0x00,0x00,0x21,0x6b,0x00,0x00,0x32,0x75,0x7f,0x67,0x00,0x00,0x01,0x00, 0x00,0x00,0x3a,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0x21,0x6b,0x00,0x00,0x02,0x00,0x00,0x00,0x5f,0x82, 0x00,0x00,0xb2,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xcb,0x79,0x6e,0x82,0xb0,0x65,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7d,0x59,0x00,0x00,0x27,0x60,0x00,0x00,0xc3,0x5f,0x00,0x00,0x3a,0x67,0x00,0x00,0xe5,0x77, 0x00,0x00,0xa0,0x83,0x0d,0x4e,0x50,0x9f,0x00,0x00,0x6f,0x83,0x00,0x00,0xb9,0x65,0x00,0x00,0xcd,0x79, 0x00,0x00,0x1a,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x96,0x00,0x00,0xe6,0x82,0x00,0x00,0xe8,0x5d, 0x00,0x00,0x9b,0x8f,0x00,0x00,0xe6,0x82,0x4b,0x59,0x97,0x65,0x00,0x00,0x69,0x96,0x00,0x00,0xe8,0x5d, 0x27,0x60,0x00,0x00,0xe6,0x82,0x53,0x53,0xdd,0x7e,0x00,0x00,0xf1,0x6d,0x00,0x00,0xbe,0x96,0xf2,0x66, 0x98,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x69,0x5f,0x00,0x00,0xc5,0x60,0x00,0x00,0x20,0x7d,0x00,0x00, 0xfd,0x6c,0x00,0x00,0x03,0x8c,0x00,0x00,0xab,0x8e,0x00,0x00,0x91,0x65,0x00,0x00,0xfc,0x72,0x00,0x00, 0xf2,0x76,0x00,0x00,0x4c,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x3d,0x4e,0x00,0x00,0xa2,0x7e,0x00,0x00, 0xa1,0x7f,0x00,0x00,0x67,0x71,0x00,0x00,0x47,0x90,0x00,0x00,0x73,0x82,0x00,0x00,0x33,0x96,0x00,0x00, 0x67,0x71,0xe8,0x95,0x00,0x00,0x1f,0x66,0x00,0x00,0x0d,0x84,0x00,0x00,0x01,0x00,0x00,0x00,0x47,0x90, 0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x67,0x00,0x00,0x2f,0x67,0xc1,0x54,0x00,0x00,0x2f,0x67,0xb6,0x5b, 0x00,0x00,0xba,0x4e,0x00,0x00,0x99,0x9f,0x00,0x00,0x2f,0x67,0x82,0x82,0x00,0x00,0x2f,0x67,0x86,0x99, 0x00,0x00,0x2f,0x67,0x55,0x5c,0x00,0x00,0x2f,0x67,0xe2,0x56,0x00,0x00,0x2f,0x67,0xf2,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcb,0x6e,0xc5,0x75,0x00,0x00,0x26,0x4f,0x00,0x00,0xc8,0x54,0xc8,0x8f,0xb7,0x5f, 0x00,0x00,0xcb,0x6e,0x00,0x00,0xcb,0x6e,0xc5,0x75,0xd2,0x6b,0x00,0x00,0x9b,0x73,0x00,0x00,0x73,0x7c, 0x00,0x00,0x33,0x74,0x00,0x00,0x28,0x84,0x4b,0x51,0x00,0x00,0x65,0x59,0xe6,0x74,0xde,0x5d,0x00,0x00, 0x0a,0x00,0x00,0x00,0xee,0x76,0x00,0x00,0xfd,0x80,0x00,0x00,0x4f,0x59,0x00,0x00,0xe5,0x65,0x00,0x00, 0xa6,0x7e,0x00,0x00,0xcd,0x64,0x00,0x00,0x01,0x77,0x00,0x00,0x47,0x50,0xe5,0x65,0x00,0x00,0xb9,0x70, 0x00,0x00,0x0e,0x54,0x00,0x00,0x04,0x00,0x00,0x00,0x8a,0x82,0x00,0x00,0xf5,0x7e,0x00,0x00,0x20,0x77, 0x00,0x00,0x30,0x84,0x00,0x00,0x05,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x7f,0x82,0x00,0x00,0x06,0x57, 0x00,0x00,0xe5,0x6c,0x00,0x00,0xba,0x87,0xd2,0x6b,0x20,0x7d,0x00,0x00,0x02,0x00,0x00,0x00,0x6f,0x83, 0x00,0x00,0x42,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0xed,0x85,0x00,0x00,0x97,0x67,0x00,0x00,0x97,0x67, 0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x67,0x00,0x00,0x3c,0x68,0x00,0x00,0x9c,0x67,0x51,0x7f, 0x00,0x00,0x5d,0x78,0x00,0x00,0x02,0x5e,0x00,0x00,0x57,0x88,0x00,0x00,0x9c,0x67,0xf0,0x53,0x00,0x00, 0xb7,0x5e,0x00,0x00,0xcd,0x79,0x00,0x00,0x9c,0x67,0x11,0x68,0x00,0x00,0x03,0x00,0x00,0x00,0xce,0x57, 0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x67,0x52,0x00,0x00,0x09,0x00,0x00,0x00,0xc9,0x84,0x00,0x00, 0xc9,0x84,0x3a,0x53,0x00,0x00,0xc9,0x84,0xef,0x8d,0x00,0x00,0xc9,0x84,0x47,0x95,0x00,0x00,0xc9,0x84, 0x57,0x53,0xef,0x8d,0x00,0x00,0x56,0x85,0x00,0x00,0xc9,0x84,0xfa,0x51,0x34,0x6c,0x00,0x00,0xc9,0x84, 0xce,0x57,0x00,0x00,0xc9,0x84,0xb1,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x56,0x6e,0x00,0x00,0x56,0x6e, 0x02,0x5e,0x00,0x00,0x56,0x6e,0x2f,0x6e,0x00,0x00,0x42,0x67,0x00,0x00,0xc1,0x83,0x00,0x00,0x56,0x6e, 0xbf,0x53,0x00,0x00,0xfd,0x79,0x00,0x00,0xc1,0x83,0x18,0x75,0xdd,0x84,0x00,0x00,0xcd,0x8b,0x00,0x00, 0x2f,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0x52,0xe5,0x54,0x00,0x00,0xbb,0x9e,0x00,0x00,0xeb,0x58, 0x00,0x00,0xbb,0x9e,0x71,0x91,0x00,0x00,0xeb,0x58,0xcb,0x86,0xd5,0x7c,0x00,0x00,0xbb,0x9e,0xb9,0x6c, 0x00,0x00,0xbb,0x9e,0xca,0x7c,0x00,0x00,0x4e,0x53,0xeb,0x58,0x00,0x00,0x58,0x7f,0x3a,0x53,0x00,0x00, 0xa0,0x52,0xe5,0x54,0x02,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x64,0x96,0x00,0x00,0x37,0x59,0x00,0x00, 0x03,0x00,0x00,0x00,0x9e,0x5b,0x00,0x00,0x41,0x6c,0x00,0x00,0x89,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2b,0x67,0x00,0x00,0xdc,0x83,0x00,0x00,0x82,0x84,0x00,0x00,0x50,0x5b,0x00,0x00,0xdd,0x84,0x00,0x00, 0x50,0x5b,0xb9,0x6c,0x00,0x00,0x50,0x5b,0x14,0x6c,0x00,0x00,0x70,0x51,0x00,0x00,0x78,0x91,0x00,0x00, 0xdd,0x84,0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x5f,0x83,0x00,0x00,0x71,0x5c, 0xbf,0x53,0x00,0x00,0x0b,0x7b,0x00,0x00,0xc7,0x82,0x00,0x00,0xaa,0x6e,0xbf,0x53,0x00,0x00,0xaa,0x6e, 0x00,0x00,0x0b,0x7b,0x47,0x72,0x00,0x00,0xb1,0x82,0x00,0x00,0x39,0x68,0x00,0x00,0x01,0x00,0x00,0x00, 0xa8,0x82,0x49,0x83,0x00,0x00,0x04,0x00,0x00,0x00,0x7d,0x83,0x00,0x00,0xb1,0x82,0x00,0x00,0x7d,0x83, 0xf6,0x53,0x00,0x00,0xb1,0x82,0x20,0x7d,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x51,0x00,0x00,0xb3,0x82, 0x00,0x00,0x4b,0x51,0x00,0x00,0xbe,0x8f,0x00,0x00,0xea,0x8f,0x00,0x00,0x70,0x51,0xba,0x4e,0x00,0x00, 0xae,0x59,0x00,0x00,0xc5,0x5f,0x97,0x5f,0x00,0x00,0x2a,0x59,0x3c,0x5c,0x00,0x00,0xb7,0x5f,0xaf,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x7e,0x85,0x00,0x00,0x7e,0x85,0x1e,0x82,0x00,0x00,0x49,0x85,0x00,0x00, 0x7e,0x85,0x1e,0x82,0xe2,0x56,0x00,0x00,0x50,0x4e,0x00,0x00,0x7e,0x85,0x1e,0x82,0x67,0x52,0x00,0x00, 0xd0,0x63,0xc5,0x96,0x00,0x00,0x24,0x58,0xc5,0x96,0x00,0x00,0x8e,0x83,0x51,0x7f,0x00,0x00,0x49,0x85, 0xf6,0x53,0x00,0x00,0x04,0x00,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x0f,0x6c, 0x00,0x00,0x0f,0x6c,0xc4,0x89,0x21,0x6a,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x47,0x72, 0x61,0x53,0x00,0x00,0x47,0x72,0xc4,0x7e,0x00,0x00,0x1d,0x4e,0xe0,0x7f,0x00,0x00,0x47,0x72,0x46,0x55, 0x00,0x00,0x47,0x72,0x82,0x53,0x00,0x00,0x47,0x72,0x1a,0x4e,0x00,0x00,0x50,0x67,0x00,0x00,0xa7,0x7e, 0x00,0x00,0xbf,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x39,0x8d,0x00,0x00,0xed,0x56,0x00,0x00,0xb1,0x94, 0x00,0x00,0xd7,0x65,0x00,0x00,0x1f,0x75,0x00,0x00,0x1f,0x75,0xb9,0x6c,0x00,0x00,0x37,0x68,0x00,0x00, 0x77,0x53,0x00,0x00,0x49,0x53,0x00,0x00,0x00,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x99,0x00,0x00, 0xb3,0x82,0x00,0x00,0xc3,0x70,0x00,0x00,0x99,0x99,0xfa,0x80,0x00,0x00,0x51,0x67,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x4e,0x53,0x00,0x00,0x49,0x83,0x00,0x00,0xf2,0x83,0x00,0x00,0x49,0x83,0x30,0x57,0x00,0x00, 0x04,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x52,0x97,0x00,0x00,0x5f,0x6c,0xbf,0x53,0x00,0x00,0x5f,0x6c, 0x97,0x4f,0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x46,0x8c,0x00,0x00, 0xb8,0x82,0x17,0x4f,0x1f,0x75,0x00,0x00,0xb8,0x82,0x00,0x00,0x99,0x99,0x00,0x00,0x99,0x99,0xd1,0x79, 0x00,0x00,0xb9,0x85,0x00,0x00,0xb9,0x85,0x5e,0x5c,0x00,0x00,0xd4,0x82,0x5e,0x5c,0x00,0x00,0xd4,0x82, 0x50,0x5b,0x00,0x00,0x01,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00, 0x62,0x5b,0x00,0x00,0x62,0x5b,0x46,0x67,0xcc,0x83,0x00,0x00,0xdc,0x83,0x00,0x00,0x84,0x5e,0x00,0x00, 0xde,0x80,0x00,0x00,0xd7,0x82,0xdc,0x83,0x00,0x00,0x3c,0x77,0x00,0x00,0xd7,0x82,0x00,0x00,0xbd,0x82, 0x00,0x00,0x3c,0x7b,0x00,0x00,0x01,0x00,0x00,0x00,0xfa,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x49,0x83,0x00,0x00,0x2d,0x5e,0x00,0x00,0xf6,0x53,0x00,0x00,0xb3,0x6c,0x00,0x00,0x1b,0x4e, 0x00,0x00,0x58,0x58,0x00,0x00,0x77,0x6d,0x00,0x00,0x61,0x83,0x00,0x00,0x56,0x6e,0x81,0x68,0x00,0x00, 0x02,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0xd1,0x79,0x00,0x00,0x02,0x00,0x00,0x00,0x5a,0x69,0x00,0x00, 0x60,0x6c,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x87,0x00,0x00,0x7d,0x76,0x00,0x00,0x79,0x7a, 0x00,0x00,0x57,0x53,0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x01,0x80,0x00,0x00,0x29,0x59,0x00,0x00, 0x71,0x5c,0x00,0x00,0x95,0x4e,0x7a,0x7a,0x00,0x00,0x2b,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xbb,0x9e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0x54,0x80,0x00,0x00,0x39,0x4e,0x00,0x00,0x81,0x5b, 0x35,0x75,0x68,0x56,0x00,0x00,0x3c,0x68,0x70,0x51,0x00,0x00,0xcc,0x5b,0xd4,0x6b,0x00,0x00,0xde,0x5d, 0x02,0x5e,0x00,0x00,0xca,0x73,0x00,0x00,0x14,0x5c,0x00,0x00,0x3c,0x68,0x70,0x51,0x87,0x76,0xb6,0x5b, 0xf6,0x94,0x4c,0x88,0x00,0x00,0x04,0x00,0x00,0x00,0xd1,0x82,0x00,0x00,0xcc,0x91,0x47,0x95,0x00,0x00, 0xb6,0x5b,0x6f,0x5c,0x00,0x00,0xcc,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0xc5,0x96,0x00,0x00,0xc5,0x96, 0x3a,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xd3,0x85,0x00,0x00,0x1d,0x4e,0x00,0x00,0xd3,0x85,0x0d,0x69, 0x69,0x72,0x00,0x00,0x73,0x7c,0x00,0x00,0x72,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x59,0x00,0x00, 0xcf,0x65,0x00,0x00,0x61,0x67,0x00,0x00,0x28,0x67,0x00,0x00,0x29,0x57,0x00,0x00,0xe8,0x5b,0x00,0x00, 0x03,0x57,0x00,0x00,0xd7,0x82,0x00,0x00,0x50,0x5b,0x00,0x00,0x34,0x59,0x27,0x60,0x00,0x00,0x02,0x00, 0x00,0x00,0xbb,0x9e,0x00,0x00,0x71,0x5c,0x47,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x3b,0x52,0x00,0x00, 0x42,0x6c,0x00,0x00,0x23,0x8d,0x00,0x00,0x50,0x63,0x42,0x67,0x0e,0x7a,0x00,0x00,0x27,0x60,0x00,0x00, 0x3f,0x65,0x00,0x00,0x85,0x5f,0x00,0x00,0x27,0x60,0xa0,0x94,0x00,0x00,0xdf,0x5b,0x00,0x00,0x3f,0x65, 0x1b,0x73,0x8e,0x4e,0x4e,0x86,0x00,0x00,0x02,0x00,0x00,0x00,0xff,0x84,0x00,0x00,0xff,0x84,0x49,0x83, 0x00,0x00,0x08,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x37,0x8c,0x00,0x00,0x47,0x72,0x00,0x00,0x7e,0x85, 0x00,0x00,0xdc,0x83,0x00,0x00,0x37,0x8c,0x6d,0x99,0x00,0x00,0x9f,0x7c,0x00,0x00,0xcf,0x85,0x78,0x79, 0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x54,0x00,0x00,0xf6,0x5e,0x8b,0x6b,0x98,0x55,0x00,0x00, 0x14,0x4e,0x00,0x00,0x3b,0x6d,0x00,0x00,0x14,0x4e,0x77,0x50,0x1f,0x75,0x00,0x00,0x08,0x54,0x00,0x00, 0x29,0x52,0xfd,0x56,0xb6,0x5b,0x1f,0x75,0x7b,0x6b,0xe5,0x4e,0x00,0x00,0x89,0x5b,0x00,0x00,0x68,0x51, 0x00,0x00,0x58,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xc1,0x4e,0x00,0x00,0x73,0x7c,0x00,0x00,0x01,0x00, 0x00,0x00,0x6c,0x83,0xdc,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xdd,0x84,0x00,0x00,0x0a,0x00,0x00,0x00, 0x72,0x5e,0x00,0x00,0x2f,0x66,0x00,0x00,0x90,0x96,0xe5,0x82,0xb0,0x73,0x00,0x00,0x5e,0x97,0x00,0x00, 0x1a,0x61,0x00,0x00,0xe0,0x65,0x76,0x51,0x8b,0x4e,0x00,0x00,0x73,0x53,0xe5,0x82,0xbb,0x79,0x00,0x00, 0x9c,0x67,0x00,0x00,0x09,0x67,0x40,0x62,0x1d,0x60,0x00,0x00,0x55,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7c,0x60,0x00,0x00,0xbe,0x96,0x00,0x00,0x3c,0x90,0x00,0x00,0xe6,0x82,0x00,0x00,0xdc,0x74,0x00,0x00, 0x8e,0x4e,0x00,0x00,0x73,0x54,0x00,0x00,0x0d,0x4e,0x2a,0x58,0x00,0x8a,0x00,0x00,0x9c,0x67,0x00,0x00, 0x11,0x7b,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x5e,0x00,0x00,0xd6,0x76,0x00,0x00,0x0a,0x00,0x00,0x00, 0xfa,0x80,0x00,0x00,0x8c,0x4e,0x32,0x75,0x78,0x91,0x00,0x00,0x32,0x75,0x78,0x91,0x00,0x00,0x5a,0x91, 0x00,0x00,0x59,0x4e,0xef,0x70,0x00,0x00,0x59,0x65,0x00,0x00,0x32,0x75,0x78,0x91,0xa0,0x94,0x00,0x00, 0xfa,0x57,0x00,0x00,0xaf,0x73,0x00,0x00,0x8c,0x4e,0xfa,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56, 0x00,0x00,0xed,0x8b,0x00,0x00,0x51,0x95,0x00,0x00,0x87,0x65,0x00,0x00,0xc4,0x96,0x00,0x00,0x79,0x72, 0x14,0x5c,0x00,0x00,0xf8,0x5b,0x00,0x00,0xcc,0x91,0x00,0x00,0x3c,0x68,0x70,0x51,0x00,0x00,0x3a,0x5c, 0x00,0x00,0x01,0x00,0x00,0x00,0x49,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xbb,0x9e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9c,0x67,0x00,0x00,0x9c,0x67,0x6c,0x51,0xf8,0x53,0x00,0x00,0x9c,0x67,0xae,0x76,0x00,0x00, 0x9c,0x67,0x41,0x6c,0x00,0x00,0x9c,0x67,0xed,0x56,0x00,0x00,0x9c,0x67,0x11,0x68,0x00,0x00,0x9c,0x67, 0x97,0x5e,0x00,0x00,0x9c,0x67,0xf7,0x8f,0x00,0x00,0x9c,0x67,0x3a,0x67,0x00,0x00,0x9c,0x67,0x78,0x91, 0x00,0x00,0x01,0x00,0x00,0x00,0x5a,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x0d,0x52,0x00,0x00,0x01,0x00, 0x00,0x00,0x1f,0x66,0x00,0x00,0x02,0x00,0x00,0x00,0xee,0x58,0x00,0x00,0x7f,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0d,0x54,0x00,0x00,0x0d,0x54,0x02,0x5e,0x00,0x00,0x1a,0x4e,0x00,0x00,0xdb,0x76,0x00,0x00, 0xc6,0x5b,0x00,0x00,0x97,0x67,0x00,0x00,0xbf,0x53,0x00,0x00,0x1a,0x4e,0xfb,0x7c,0x00,0x00,0x69,0x72, 0x00,0x00,0x2f,0x6e,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x56,0x00,0x00,0x74,0x75,0x00,0x00, 0x8b,0x4f,0x00,0x00,0x2c,0x67,0x00,0x00,0x0f,0x5f,0x00,0x00,0x87,0x65,0x00,0x00,0xf2,0x4e,0xf9,0x6d, 0x00,0x00,0x1d,0x60,0xf2,0x54,0x00,0x00,0xaf,0x65,0x66,0x57,0x00,0x00,0x21,0x88,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0xa2,0x7e,0x20,0x7d,0x00,0x00,0xd1,0x79,0x00,0x00,0x41,0x6c,0x00,0x00, 0x9c,0x67,0x7b,0x7c,0x00,0x00,0x4b,0x51,0x00,0x00,0x9e,0x9c,0x00,0x00,0x4b,0x51,0x6b,0x88,0x00,0x00, 0x8c,0x4e,0x41,0x53,0x6b,0x51,0x1f,0x66,0xe2,0x74,0x6b,0x86,0x00,0x00,0x50,0x5b,0x72,0x5e,0x00,0x00, 0x0a,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0xf0,0x53,0x52,0x91,0x00,0x00,0xf0,0x53,0x47,0x95,0x00,0x00, 0xfe,0x76,0x00,0x00,0x49,0x83,0x00,0x00,0x4b,0x5c,0x00,0x00,0x71,0x5c,0x00,0x00,0x5e,0x58,0x7f,0x98, 0x00,0x5f,0x00,0x00,0xda,0x68,0x00,0x00,0x51,0x57,0x00,0x00,0x05,0x00,0x00,0x00,0x89,0x83,0x00,0x00, 0x89,0x83,0xb1,0x82,0x00,0x00,0x89,0x83,0xb1,0x82,0x36,0x83,0x00,0x00,0xc7,0x7e,0x4e,0x53,0x00,0x00, 0x89,0x83,0xca,0x83,0x6f,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x5e,0xbf,0x53,0x00,0x00,0x73,0x5e, 0x00,0x00,0x03,0x00,0x00,0x00,0xc6,0x79,0x00,0x00,0x72,0x5e,0x00,0x00,0x49,0x83,0x00,0x00,0x01,0x00, 0x00,0x00,0x30,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x15,0x83,0x51,0x5b,0xcb,0x7a,0x00,0x00,0x15,0x83, 0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0x49,0x83,0x00,0x00,0x2b,0x7d, 0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x1d,0x4e,0xf8,0x7e,0x00,0x00,0xf7,0x4e,0x00,0x00, 0xb1,0x82,0x00,0x00,0x08,0x00,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x07,0x4e,0x09,0x54,0xc9,0x62, 0x0a,0x4f,0x00,0x00,0x01,0x5a,0x3c,0x68,0x00,0x00,0x23,0x6b,0xe6,0x74,0x29,0x52,0x00,0x00,0xf0,0x83, 0x00,0x00,0x88,0x51,0xba,0x4e,0x00,0x00,0xce,0x57,0x00,0x00,0x14,0x5c,0xfa,0x8b,0x17,0x52,0x2b,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x2b,0x83,0x00,0x00,0x36,0x71,0xe0,0x65,0xaa,0x63, 0x00,0x00,0x2b,0x83,0x36,0x71,0x00,0x00,0x36,0x71,0x31,0x59,0xaa,0x63,0x00,0x00,0x2b,0x83,0xe0,0x65, 0x45,0x96,0x00,0x00,0x16,0x5d,0x00,0x00,0xe0,0x65,0x34,0x59,0xea,0x7e,0x00,0x00,0x16,0x5d,0x4c,0x88, 0x3f,0x65,0xd4,0x59,0x58,0x54,0x1a,0x4f,0x00,0x00,0x2b,0x83,0x27,0x59,0x43,0x53,0x00,0x00,0x05,0x00, 0x00,0x00,0x3f,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0xe3,0x53,0x00,0x00,0x2c,0x83,0x00,0x00,0x30,0x57, 0x00,0x00,0x02,0x00,0x00,0x00,0x7d,0x76,0x00,0x00,0x53,0x90,0x61,0x4e,0x00,0x00,0x02,0x00,0x00,0x00, 0xd3,0x82,0x00,0x00,0xd3,0x82,0x7c,0x99,0x00,0x00,0x06,0x00,0x00,0x00,0x89,0x83,0x00,0x00,0x89,0x83, 0x9a,0x4e,0x00,0x00,0x38,0x84,0x00,0x00,0x3d,0x4e,0xf6,0x53,0x00,0x00,0x89,0x83,0x05,0x5a,0x00,0x00, 0x89,0x83,0xc5,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x8f,0x82,0x00,0x00,0x05,0x00,0x00,0x00,0x99,0x99, 0x00,0x00,0x99,0x99,0x7d,0x7c,0x00,0x00,0x99,0x99,0x46,0x8c,0x00,0x00,0xb9,0x82,0x00,0x00,0x7c,0x9c, 0x00,0x00,0x05,0x00,0x00,0x00,0x9d,0x5b,0x00,0x00,0x35,0x83,0x00,0x00,0xfc,0x66,0x00,0x00,0x48,0x96, 0x00,0x00,0x8b,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0x86,0x99, 0x00,0x00,0x6f,0x67,0x00,0x00,0xed,0x56,0x00,0x00,0x19,0x53,0x00,0x00,0xe0,0x51,0x00,0x00,0x7c,0x69, 0x00,0x00,0x6e,0x99,0x00,0x00,0x9c,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0x38,0x83, 0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x7d,0x00,0x00,0xdb,0x6b,0x6e,0x99,0x40,0x88,0x00,0x00,0x64,0x83, 0x00,0x00,0xe4,0x53,0xb5,0x6d,0xca,0x4e,0x00,0x00,0xd7,0x5f,0x43,0x9e,0x00,0x00,0xe6,0x82,0x2b,0x54, 0x9b,0x8f,0x00,0x00,0x64,0x83,0x6e,0x99,0x52,0x91,0x00,0x00,0xd8,0x85,0x00,0x00,0xdb,0x75,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x03,0x00,0x00,0x00,0xbf,0x84,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0x47,0x95, 0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x67,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x7e,0x6e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0x5a,0x69,0x51,0x7f,0x00,0x00,0xd8,0x68,0x00,0x00, 0xe8,0x95,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xe8,0x95,0x02,0x5e,0x00,0x00,0x72,0x8f,0x00,0x00, 0x5f,0x6c,0x00,0x00,0xa5,0x82,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0xdc,0x83, 0x00,0x00,0x49,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x68,0x00,0x00,0x9f,0x53,0x00,0x00,0x93,0x83, 0x00,0x00,0x39,0x68,0x00,0x00,0x6a,0x57,0x00,0x00,0x30,0x57,0x00,0x00,0x18,0x75,0xa6,0x81,0x00,0x00, 0x78,0x91,0x00,0x00,0x87,0x73,0x00,0x00,0x28,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xd8,0x68,0x00,0x00, 0x02,0x00,0x00,0x00,0xd2,0x82,0x00,0x00,0x31,0x5f,0x00,0x00,0x09,0x00,0x00,0x00,0xa1,0x80,0x00,0x00, 0x3e,0x4e,0x00,0x00,0xa8,0x9a,0x00,0x00,0x0e,0x69,0x00,0x00,0xfb,0x4e,0x00,0x00,0x15,0x5f,0x00,0x00, 0x00,0x8a,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59,0x97,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2c,0x8c, 0x00,0x00,0x10,0x55,0x00,0x00,0x20,0x6f,0x00,0x00,0x9f,0x5e,0x00,0x00,0xde,0x8b,0x00,0x00,0x30,0x57, 0x00,0x00,0x9c,0x82,0x00,0x00,0xce,0x91,0x00,0x00,0xc9,0x51,0x00,0x00,0x71,0x5c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9d,0x67,0x00,0x00,0x7e,0x6e,0x3a,0x53,0x00,0x00,0x7e,0x6e,0x00,0x00,0xe2,0x6c,0x00,0x00, 0x66,0x6d,0xbf,0x53,0x00,0x00,0x9d,0x67,0x7e,0x6e,0x00,0x00,0xe2,0x6c,0xbf,0x53,0x00,0x00,0xce,0x57, 0x00,0x00,0xed,0x56,0x00,0x00,0x66,0x6d,0x00,0x00,0x02,0x00,0x00,0x00,0x9c,0x67,0x00,0x00,0x9c,0x81, 0xc4,0x7e,0xc7,0x7e,0xde,0x80,0x46,0x6d,0xcc,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0xef,0x8d,0xdd,0x84, 0x15,0x7f,0x00,0x00,0xe8,0x95,0x2d,0x57,0xa6,0x7a,0x00,0x00,0x05,0x00,0x00,0x00,0xa6,0x9e,0x00,0x00, 0xa6,0x9e,0x62,0x97,0x00,0x00,0xa6,0x9e,0x1c,0x87,0x00,0x00,0xa6,0x9e,0x9d,0x7a,0x00,0x00,0x62,0x97, 0x2a,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x84,0x00,0x00,0x81,0x89,0x00,0x00,0x01,0x00,0x00,0x00, 0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x6f,0x00,0x00,0x36,0x71,0xe0,0x65,0x58,0x5b,0x00,0x00, 0x14,0x6c,0xde,0x56,0xa0,0x80,0x00,0x00,0xcb,0x79,0x43,0x53,0x00,0x00,0x87,0x59,0x00,0x00,0xa4,0x6d, 0x00,0x00,0x61,0x83,0x00,0x00,0x36,0x71,0x00,0x00,0x73,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x89,0x8a,0x00,0x00,0xb7,0x83,0x00,0x00,0x00,0x80,0x00,0x00,0x4e,0x53,0x00,0x00,0x78,0x5e, 0x00,0x00,0xaf,0x67,0xbf,0x7e,0x00,0x00,0x3c,0x68,0x00,0x00,0xdb,0x76,0x00,0x00,0x7b,0x76,0x00,0x00, 0xaf,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x65,0x81,0x00,0x00,0xdf,0x98,0x00,0x00, 0xb9,0x6c,0x00,0x00,0x11,0x7b,0xdd,0x8b,0x00,0x00,0x9b,0x8f,0x00,0x00,0xdd,0x8b,0x00,0x00,0xe3,0x53, 0x00,0x00,0xa5,0x7c,0x00,0x00,0x20,0x7d,0x00,0x00,0x05,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96, 0x02,0x5e,0x00,0x00,0xcf,0x7e,0xbf,0x53,0x00,0x00,0xcf,0x7e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00, 0x01,0x00,0x00,0x00,0x66,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x51,0x00,0x00,0x4f,0x5c,0x00,0x00, 0x49,0x51,0x6f,0x70,0x00,0x00,0x55,0x5e,0x00,0x00,0x49,0x51,0x89,0x7c,0x00,0x00,0x49,0x51,0x42,0x52, 0x00,0x00,0x49,0x51,0xd2,0x68,0x00,0x00,0x49,0x51,0x4f,0x5c,0x00,0x00,0x49,0x51,0x69,0x72,0x00,0x00, 0x49,0x51,0x9e,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xbb,0x9e,0xb9,0x75,0x00,0x00,0xbb,0x9e,0x00,0x00, 0x05,0x00,0x00,0x00,0xeb,0x58,0x89,0x5b,0x00,0x00,0xc9,0x51,0x00,0x00,0x87,0x5e,0x00,0x00,0x3d,0x85, 0x00,0x00,0xf3,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x54,0x00,0x00,0x69,0x72,0x00,0x00,0x1a,0x4e, 0x00,0x00,0x97,0x5e,0x00,0x00,0xd1,0x76,0x40,0x5c,0x00,0x00,0x01,0x4f,0x00,0x00,0x3f,0x62,0x00,0x00, 0x28,0x75,0x00,0x00,0x50,0x67,0x00,0x00,0x08,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x83,0x00,0x00, 0x0a,0x00,0x00,0x00,0x70,0x51,0x00,0x00,0x14,0x5c,0x99,0x84,0x00,0x00,0xb1,0x82,0x00,0x00,0xf6,0x53, 0x00,0x00,0x05,0x53,0xcb,0x86,0x00,0x00,0x05,0x53,0x00,0x00,0x7d,0x8f,0x00,0x00,0xaa,0x67,0x9e,0x5b, 0x39,0x5f,0x00,0x00,0x58,0x58,0x00,0x00,0x6c,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0x60,0x83,0x00,0x00, 0x03,0x00,0x00,0x00,0xd2,0x6b,0x00,0x00,0x3b,0x7e,0x00,0x00,0xd2,0x6b,0x1f,0x75,0x75,0x70,0x00,0x00, 0x06,0x00,0x00,0x00,0x34,0x4e,0x00,0x00,0x34,0x4e,0x07,0x63,0xfc,0x5b,0x00,0x00,0xfb,0x4e,0x00,0x00, 0x62,0x6b,0x00,0x00,0x1a,0x4f,0x00,0x00,0x8b,0x4e,0x05,0x80,0x00,0x00,0x06,0x00,0x00,0x00,0x30,0x75, 0x00,0x00,0x30,0x75,0x02,0x5e,0x00,0x00,0x30,0x75,0xbf,0x53,0x00,0x00,0x30,0x75,0x66,0x5b,0x62,0x96, 0x00,0x00,0xd9,0x4e,0x0f,0x62,0x00,0x00,0x30,0x75,0x30,0x57,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x89,0x83,0x00,0x00,0x9a,0x4e,0x00,0x00,0x89,0x83,0x1d,0x4e,0x00,0x00,0x1c,0x5a,0x00,0x00,0x28,0x84, 0x00,0x00,0xb2,0x83,0x00,0x00,0x99,0x99,0x00,0x00,0xc5,0x96,0x00,0x00,0x79,0x51,0x00,0x00,0xea,0x8f, 0x05,0x5a,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0xd4,0x6b,0x9a,0x4e,0x00,0x00,0xc9,0x62,0x00,0x00, 0xc9,0x62,0xe2,0x6c,0x03,0x5a,0x00,0x00,0xc1,0x7f,0x00,0x00,0x66,0x55,0x66,0x55,0x00,0x00,0x66,0x8f, 0xbf,0x53,0x00,0x00,0x26,0x4f,0x00,0x00,0x66,0x8f,0x00,0x00,0x49,0x83,0x00,0x00,0x8e,0x83,0x1e,0x82, 0x00,0x00,0x07,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x57,0x53,0x00,0x00, 0x49,0x51,0x00,0x00,0x49,0x51,0xf7,0x53,0x00,0x00,0xfd,0x56,0x00,0x00,0x49,0x51,0x61,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0xcb,0x53,0x00,0x00,0x04,0x00,0x00,0x00,0x84,0x5e,0x00,0x00,0x98,0x83,0x66,0x5b, 0x50,0x5b,0x00,0x00,0xbf,0x53,0x00,0x00,0x4d,0x58,0x47,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x62,0x97, 0x00,0x00,0xa6,0x9e,0x00,0x00,0xa6,0x9e,0xdc,0x83,0x00,0x00,0x04,0x00,0x00,0x00,0xce,0x57,0x00,0x00, 0x14,0x5c,0x00,0x00,0xe0,0x60,0x00,0x00,0x4d,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0xea,0x83,0x00,0x00, 0xf8,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x2f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x65,0xd1,0x79, 0x00,0x00,0x00,0x8a,0x00,0x00,0x0d,0x54,0x76,0x51,0x99,0x59,0x00,0x00,0x0d,0x54,0x00,0x00,0xc7,0x8f, 0x8e,0x4e,0x00,0x00,0x5e,0x97,0x00,0x00,0x27,0x59,0x00,0x00,0xc9,0x62,0xb1,0x83,0xaf,0x65,0x00,0x00, 0x51,0x68,0xd4,0x6b,0x4b,0x51,0x00,0x00,0xd8,0x9a,0x9f,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0x6e,0x91, 0x00,0x00,0x0a,0x00,0x00,0x00,0xaf,0x65,0x00,0x00,0x79,0x72,0x00,0x00,0x4b,0x51,0x00,0x00,0x35,0x83, 0x00,0x00,0x87,0x65,0x00,0x00,0x54,0x58,0x00,0x00,0xc6,0x59,0x00,0x00,0x02,0x66,0x00,0x00,0x9c,0x82, 0x00,0x00,0x8e,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0x50,0x5b,0x00,0x00,0xd5,0x85, 0x00,0x00,0x4e,0x53,0x00,0x00,0x4e,0x53,0xcf,0x7e,0x00,0x00,0x60,0x6c,0x00,0x00,0xb1,0x82,0x71,0x5c, 0x00,0x00,0xc9,0x84,0x00,0x00,0x2b,0x82,0x00,0x00,0x08,0x5e,0x00,0x00,0x05,0x00,0x00,0x00,0x1d,0x84, 0x00,0x00,0xe7,0x79,0x4c,0x88,0x00,0x00,0xb1,0x82,0xcd,0x79,0x49,0x83,0x00,0x00,0xa9,0x7b,0x00,0x00, 0x1d,0x84,0x7d,0x7c,0x00,0x00,0x02,0x00,0x00,0x00,0x0b,0x7b,0x00,0x00,0xe3,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0x97,0x5f,0x00,0x00,0x89,0x60,0x00,0x00,0xd6,0x53,0x00,0x00,0x29,0x52,0x00,0x00,0x79,0x62, 0x00,0x00,0x56,0x59,0x00,0x00,0x51,0x65,0x00,0x00,0xdc,0x80,0x00,0x00,0xca,0x76,0x00,0x00,0xc6,0x51, 0x00,0x00,0x07,0x00,0x00,0x00,0xb9,0x83,0x00,0x00,0xa6,0x6d,0x00,0x00,0x89,0x73,0x00,0x00,0x89,0x73, 0x7d,0x76,0x00,0x00,0x0e,0x66,0x00,0x00,0x89,0x73,0xa2,0x7e,0x00,0x00,0x89,0x73,0xc4,0x9e,0x00,0x00, 0x07,0x00,0x00,0x00,0xba,0x83,0x00,0x00,0x4c,0x6b,0x77,0x6d,0x00,0x00,0x4c,0x6b,0x00,0x00,0x4c,0x6b, 0xd5,0x71,0x1e,0x82,0x00,0x00,0x4c,0x6b,0x47,0x95,0x00,0x00,0x1f,0x9e,0x00,0x00,0x7c,0x55,0xd5,0x71, 0x31,0x55,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x07,0x00,0x00,0x00,0x9e,0x64,0x00,0x00, 0xbd,0x83,0x00,0x00,0x49,0x83,0x00,0x00,0x49,0x6c,0x00,0x00,0x9f,0x53,0x00,0x00,0xbd,0x83,0xcd,0x82, 0xcd,0x82,0x00,0x00,0xcd,0x82,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x68,0x00,0x00,0x50,0x68,0x61,0x4e, 0x00,0x00,0x03,0x00,0x00,0x00,0xc1,0x83,0x00,0x00,0xf1,0x82,0x00,0x00,0x4e,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0xf4,0x76,0xba,0x4e,0x00,0x00,0x09,0x00,0x00,0x00,0xc9,0x51,0x00,0x00,0x7b,0x7c,0x00,0x00, 0xc7,0x83,0x00,0x00,0x50,0x5b,0x00,0x00,0x9c,0x51,0x00,0x00,0x3a,0x57,0x00,0x00,0x8a,0x5e,0x00,0x00, 0xd4,0x4e,0x00,0x00,0xcd,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0xb1,0x82,0x36,0x83, 0x00,0x00,0xd1,0x79,0x00,0x00,0x6f,0x91,0x00,0x00,0xe3,0x82,0x00,0x00,0x30,0x57,0x00,0x00,0xf3,0x77, 0x00,0x00,0xb1,0x82,0x11,0x81,0x00,0x00,0x06,0x72,0x00,0x00,0x55,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3d,0x84,0x00,0x00,0x7b,0x7c,0x00,0x00,0xcd,0x79,0x00,0x00,0x2a,0x68,0x00,0x00,0xc7,0x83,0x00,0x00, 0x1d,0x4e,0x00,0x00,0xa4,0x7f,0x00,0x00,0x91,0x65,0x00,0x00,0x20,0x7d,0x00,0x00,0xd6,0x76,0x00,0x00, 0x04,0x00,0x00,0x00,0xfd,0x6c,0x00,0x00,0xfd,0x6c,0x02,0x5e,0x00,0x00,0xfd,0x6c,0xba,0x4e,0x00,0x00, 0x70,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xb2,0x84,0x00,0x00, 0x02,0x00,0x00,0x00,0xdd,0x84,0x00,0x00,0xdc,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x5e,0x3a,0x57, 0x00,0x00,0x55,0x53,0x00,0x00,0xf7,0x4e,0x00,0x00,0x00,0x52,0x00,0x00,0xb4,0x80,0x00,0x00,0xc1,0x54, 0x00,0x00,0x1f,0x9e,0x00,0x00,0x3a,0x57,0x00,0x00,0x9c,0x51,0x00,0x00,0x7d,0x7c,0xb9,0x6c,0x00,0x00, 0x01,0x00,0x00,0x00,0x1d,0x4e,0x50,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x1d,0x84, 0x00,0x00,0x1d,0x84,0x1c,0x87,0x00,0x00,0x1d,0x84,0x41,0x6c,0x00,0x00,0x1d,0x84,0x73,0x54,0x00,0x00, 0x1d,0x84,0xb9,0x6c,0x00,0x00,0x1d,0x84,0x05,0x53,0x00,0x00,0x1d,0x84,0xed,0x56,0x00,0x00,0x1d,0x84, 0x1c,0x87,0xf6,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xc2,0x84, 0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x84,0x00,0x00,0xd0,0x63,0x00,0x00,0xd0,0x63,0xc3,0x5f,0x00,0x00, 0x28,0x84,0x4c,0x88,0x00,0x00,0x28,0x84,0x12,0x62,0x00,0x00,0xd0,0x63,0x28,0x84,0xf5,0x57,0x00,0x00, 0xd0,0x63,0x11,0x68,0x00,0x00,0x28,0x84,0xec,0x4e,0x00,0x00,0x28,0x84,0xc3,0x5f,0x00,0x00,0xd0,0x63, 0xbe,0x8f,0x69,0x64,0x00,0x00,0x0a,0x00,0x00,0x00,0x56,0x6e,0x00,0x00,0x62,0x5f,0x00,0x00,0xd2,0x89, 0x00,0x00,0x41,0x95,0xff,0x77,0x00,0x00,0xa6,0x60,0x00,0x00,0x30,0x95,0xff,0x77,0x00,0x00,0xb1,0x82, 0x00,0x00,0x41,0x95,0x00,0x00,0x62,0x5f,0x57,0x57,0x00,0x00,0x35,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0x8b,0x5f,0xbe,0x5b,0x00,0x00,0x14,0x5c,0x00,0x00,0xb9,0x65,0x00,0x00,0x29,0x52,0x6e,0x66,0x00,0x00, 0xf2,0x83,0x00,0x00,0x9a,0x4e,0x79,0x72,0x00,0x00,0xb7,0x5f,0x14,0x5c,0x00,0x00,0x79,0x72,0x00,0x00, 0x14,0x5c,0x6e,0x66,0xaf,0x65,0x00,0x00,0x29,0x52,0x6e,0x66,0xaf,0x65,0x00,0x00,0x05,0x00,0x00,0x00, 0x77,0x78,0x00,0x00,0xb1,0x78,0x78,0x91,0x00,0x00,0x82,0x84,0x00,0x00,0x97,0x65,0x00,0x00,0xb1,0x78, 0x00,0x00,0x01,0x00,0x00,0x00,0xa2,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x9f,0x7c,0x00,0x00,0x17,0x68, 0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0xd6,0x53,0x00,0x00,0x5a,0x80, 0x00,0x00,0x01,0x00,0x00,0x00,0xa2,0x85,0x00,0x00,0x02,0x00,0x00,0x00,0x0b,0x84,0x00,0x00,0x0b,0x84, 0xb3,0x82,0x4e,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0xbd,0x82,0x00,0x00,0x0c,0x84, 0x00,0x00,0xd1,0x53,0x00,0x00,0xb9,0x59,0x50,0x5b,0x00,0x00,0xb9,0x70,0x00,0x00,0x69,0x72,0x00,0x00, 0xa8,0x52,0x00,0x00,0xfb,0x7f,0x00,0x00,0x30,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x4e,0x00,0x00, 0x61,0x4e,0x02,0x5e,0x00,0x00,0x0d,0x84,0x00,0x00,0x34,0x6c,0xf8,0x76,0x22,0x90,0x00,0x00,0x2a,0x8e, 0x00,0x00,0x34,0x6c,0x00,0x00,0x5a,0x80,0x00,0x00,0xec,0x84,0x49,0x83,0x00,0x00,0x61,0x53,0xf2,0x83, 0x14,0x5c,0x79,0x72,0x00,0x00,0x2a,0x8e,0x6a,0x6d,0xf9,0x8f,0x00,0x00,0x09,0x00,0x00,0x00,0x29,0x7f, 0x00,0x00,0x61,0x97,0x00,0x00,0x61,0x97,0x0d,0x4e,0x2f,0x63,0x00,0x00,0xc4,0x9e,0x00,0x00,0x2b,0x85, 0x00,0x00,0x22,0x8c,0x00,0x00,0x3d,0x84,0x00,0x00,0x64,0x85,0x00,0x00,0xf6,0x53,0x00,0x00,0x02,0x00, 0x00,0x00,0x8c,0x91,0x00,0x00,0x38,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x5c,0x53,0x00,0x00,0x89,0x83, 0x00,0x00,0x97,0x5c,0x00,0x00,0x97,0x5c,0x3a,0x53,0x00,0x00,0x89,0x83,0xa7,0x63,0x00,0x00,0x5c,0x53, 0x1d,0x4e,0x00,0x00,0x5c,0x53,0x28,0x7f,0x00,0x00,0x5c,0x53,0x41,0x6c,0x00,0x00,0x5c,0x53,0x6b,0x78, 0x20,0x7d,0x00,0x00,0x5c,0x53,0x7d,0x76,0xdc,0x83,0x04,0x54,0x09,0x67,0x40,0x62,0x31,0x72,0x00,0x00, 0x0a,0x00,0x00,0x00,0x6b,0x70,0x6b,0x86,0x00,0x00,0xf3,0x77,0x00,0x00,0x6b,0x70,0x00,0x00,0x49,0x51, 0x00,0x00,0x55,0x5e,0x00,0x00,0x49,0x51,0x55,0x5e,0x00,0x00,0x49,0x51,0xff,0x7e,0x00,0x00,0x49,0x51, 0xd2,0x68,0x00,0x00,0x55,0x5e,0xdd,0x4f,0xa4,0x62,0xc5,0x88,0x6e,0x7f,0x00,0x00,0x30,0x71,0x00,0x00, 0x0a,0x00,0x00,0x00,0x00,0x95,0x00,0x00,0x7b,0x51,0x00,0x00,0x1a,0x4e,0x00,0x00,0x36,0x65,0x00,0x00, 0x1a,0x4e,0xe8,0x90,0x00,0x00,0x20,0x90,0x00,0x00,0xd0,0x8f,0x00,0x00,0x1a,0x4e,0x0e,0x7a,0x00,0x00, 0x39,0x65,0x9e,0x58,0x00,0x00,0x1a,0x4e,0x9d,0x98,0x00,0x00,0x07,0x00,0x00,0x00,0xd5,0x7e,0x00,0x00, 0x00,0x60,0x00,0x00,0xfb,0x7c,0x00,0x00,0xa1,0x7e,0x00,0x00,0xde,0x56,0x00,0x00,0x1d,0x60,0x00,0x00, 0xc3,0x5f,0xe6,0x89,0x00,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x67,0x00,0x00,0x71,0x5c,0x00,0x00, 0x71,0x5c,0x3a,0x53,0x00,0x00,0x27,0x84,0x00,0x00,0xbf,0x53,0x00,0x00,0x5f,0x74,0x00,0x00,0x07,0x4e, 0x7f,0x95,0x00,0x00,0x2f,0x4f,0xb3,0x7e,0x00,0x00,0xa6,0x90,0x00,0x00,0x61,0x67,0x1f,0x67,0x00,0x00, 0x0a,0x00,0x00,0x00,0xd1,0x79,0x50,0x9f,0x00,0x00,0xbe,0x8f,0xc6,0x59,0x00,0x00,0xa3,0x90,0x00,0x00, 0x6c,0x9a,0xc9,0x62,0x00,0x00,0xc6,0x59,0x00,0x00,0x14,0x5c,0xe6,0x74,0x1a,0x59,0x00,0x00,0x73,0x7c, 0x00,0x00,0xcc,0x91,0x00,0x00,0xfc,0x66,0x8e,0x83,0x00,0x00,0x4b,0x51,0xaf,0x65,0x00,0x00,0x02,0x00, 0x00,0x00,0x49,0x83,0x00,0x00,0x02,0x58,0x00,0x00,0x02,0x00,0x00,0x00,0xc4,0x84,0x00,0x00,0x46,0x8c, 0x00,0x00,0x01,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x9e,0x5b,0x00,0x00,0x0e,0x54, 0x00,0x00,0x30,0x57,0x00,0x00,0x37,0x62,0x00,0x00,0x65,0x51,0x00,0x00,0x51,0x7f,0x00,0x00,0x6c,0x9a, 0x00,0x00,0x7a,0x7a,0x00,0x00,0x34,0x6c,0x00,0x00,0x55,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0xc9,0x62, 0x00,0x00,0x65,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0x5c,0x4f,0x00,0x00,0x5c,0x4f, 0x43,0x67,0x00,0x00,0xf0,0x79,0x00,0x00,0x5c,0x4f,0x43,0x67,0xd5,0x6c,0x00,0x00,0xf0,0x8f,0x00,0x00, 0x55,0x5f,0x00,0x00,0x66,0x4e,0x00,0x00,0x05,0x80,0x00,0x00,0x66,0x4e,0xcb,0x7a,0xf4,0x8b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x70,0x51,0x20,0x7d,0xf2,0x53,0x4b,0x51,0x00,0x00,0x32,0x6d,0x5d,0x57,0x00,0x00, 0x18,0x4f,0x00,0x00,0xca,0x4e,0x00,0x00,0xe4,0x85,0x00,0x00,0x17,0x67,0xf0,0x53,0x00,0x00,0x97,0x5e, 0x00,0x00,0x89,0x7c,0x00,0x00,0xfe,0x5d,0x00,0x00,0x39,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x04,0x84, 0x52,0x91,0x00,0x00,0x04,0x84,0x00,0x00,0x04,0x84,0x59,0x72,0x00,0x00,0x04,0x84,0xd6,0x7c,0x00,0x00, 0x04,0x84,0x03,0x74,0xcc,0x83,0x00,0x00,0x04,0x84,0x72,0x5e,0x00,0x00,0x04,0x84,0xda,0x67,0x00,0x00, 0x04,0x84,0xed,0x56,0x00,0x00,0x04,0x84,0x7d,0x7c,0x00,0x00,0x04,0x84,0xae,0x76,0x00,0x00,0x0a,0x00, 0x00,0x00,0x8b,0x4e,0x7f,0x95,0x00,0x00,0x8b,0x4e,0x1a,0x4f,0x00,0x00,0x8b,0x4e,0x00,0x00,0x8b,0x4e, 0x40,0x5c,0x00,0x00,0xf2,0x4e,0x12,0x82,0x00,0x00,0x52,0x91,0x00,0x00,0xfa,0x5e,0x4e,0x53,0x00,0x00, 0xc5,0x5f,0x66,0x6b,0x00,0x00,0xd1,0x76,0x8b,0x4e,0x00,0x00,0xb6,0x5b,0xe3,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x82,0x00,0x00,0xa6,0x82,0x9b,0x5c,0x00,0x00,0xa6,0x82,0x9b,0x5c,0x02,0x5e,0x00,0x00, 0xa6,0x82,0xd1,0x79,0x00,0x00,0xa6,0x82,0xf6,0x74,0x00,0x00,0xa6,0x82,0xf4,0x5d,0x00,0x00,0xa6,0x82, 0xcc,0x91,0x56,0x53,0x84,0x76,0x2f,0x66,0xc0,0x4e,0x48,0x4e,0x6f,0x83,0x00,0x00,0xa6,0x82,0x6e,0x6d, 0x77,0x8d,0xe2,0x74,0x00,0x00,0xa6,0x82,0x60,0x6c,0x00,0x00,0xa6,0x82,0x13,0x85,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3c,0x79,0x00,0x00,0xab,0x8e,0x00,0x00,0x01,0x90,0x00,0x00,0xd5,0x6c,0x00,0x00,0xea,0x4e, 0x00,0x00,0x0f,0x5f,0x00,0x00,0x65,0x51,0x00,0x00,0xcb,0x57,0x00,0x00,0x8e,0x4e,0x00,0x00,0x89,0x73, 0xcb,0x57,0x99,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0x7d,0x76,0x00,0x00,0x9c,0x84, 0x00,0x00,0x34,0x59,0x00,0x00,0xf7,0x4e,0x00,0x00,0xc1,0x90,0x00,0x00,0x71,0x84,0x00,0x00,0x0f,0x83, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x1d,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x64,0x85,0x00,0x00,0x73,0x84, 0x64,0x85,0x64,0x85,0x84,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x82,0x00,0x00,0xb1,0x82,0x50,0x5b, 0x00,0x00,0xb1,0x82,0x7d,0x7c,0x00,0x00,0xb1,0x82,0x7d,0x7c,0xb9,0x6c,0x00,0x00,0x8c,0x6d,0x00,0x00, 0xb1,0x82,0xb9,0x6c,0x00,0x00,0x52,0x97,0x00,0x00,0xb1,0x82,0xc1,0x4e,0x00,0x00,0x47,0x62,0x00,0x00, 0xb3,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x59,0x00,0x00,0xab,0x83,0x7f,0x89,0x00,0x00,0x1c,0x5a, 0x00,0x00,0x99,0x82,0x3c,0x5c,0x00,0x00,0xee,0x68,0x4b,0x51,0x4f,0x86,0x2f,0x4f,0x00,0x00,0xab,0x83, 0x00,0x00,0x4e,0x53,0xb3,0x7e,0x00,0x00,0x58,0x62,0x00,0x00,0xa0,0x52,0xb3,0x7e,0x00,0x00,0x57,0x7f, 0x14,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xcb,0x4e,0xf3,0x77,0x00,0x00,0xd0,0x67,0x00,0x00,0xcf,0x7e, 0xfd,0x56,0x00,0x00,0xef,0x96,0x3d,0x4e,0x00,0x00,0x0f,0x6c,0x00,0x00,0xac,0x7e,0xfd,0x56,0x00,0x00, 0x6c,0x51,0x00,0x00,0x51,0x67,0x00,0x00,0xb6,0x5b,0x8b,0x73,0x1d,0x67,0x00,0x00,0x42,0x68,0x18,0x62, 0x89,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xbf,0x84,0x00,0x00,0xf6,0x53,0x00,0x00,0x03,0x00,0x00,0x00, 0xc6,0x96,0x00,0x00,0xc1,0x8b,0x00,0x00,0xfb,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x5b,0x72,0x00,0x00, 0xe4,0x53,0x00,0x00,0x62,0x97,0x00,0x00,0xe4,0x53,0xfd,0x56,0x00,0x00,0x82,0x84,0x00,0x00,0xd7,0x53, 0x00,0x00,0x79,0x72,0x29,0x52,0x14,0x5c,0x00,0x00,0x3d,0x85,0x00,0x00,0xe4,0x53,0xcf,0x65,0x00,0x00, 0x1c,0x5a,0x3d,0x4e,0x8e,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x4e,0x00,0x00,0x34,0x59,0x00,0x00, 0xc9,0x84,0x00,0x00,0xd7,0x82,0x00,0x00,0xe5,0x6c,0x00,0x00,0x46,0x55,0x00,0x00,0xb9,0x85,0x00,0x00, 0x2b,0x67,0x00,0x00,0x20,0x7d,0x00,0x00,0xe3,0x74,0x00,0x00,0x01,0x00,0x00,0x00,0xbb,0x84,0x00,0x00, 0x01,0x00,0x00,0x00,0xc1,0x85,0x9e,0x58,0x8c,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x6c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x0f,0x5f,0x33,0x80,0x00,0x00,0x6c,0x51,0xf1,0x82,0x00,0x00,0xbf,0x53,0x00,0x00, 0xe2,0x56,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x7e,0x67,0x84,0x9f,0x00,0x00, 0x90,0x5c,0x47,0x95,0x00,0x00,0x47,0x62,0x00,0x00,0x5f,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x9c,0x67, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x53,0x00,0x00,0x7d,0x6c,0x00,0x00,0x9f,0x71,0x00,0x00,0x8f,0x99, 0x00,0x00,0xb8,0x84,0xe5,0x65,0x0a,0x4e,0x00,0x00,0x8f,0x99,0x34,0x6c,0x00,0x00,0x14,0x6c,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x7d,0x6c,0x3a,0x67,0x00,0x00,0xcb,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x85, 0x1b,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x8c,0x91,0x00,0x00,0xaf,0x73,0x7b,0x7c,0x00,0x00,0x02,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x49,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0x0f,0x61, 0x00,0x00,0x35,0x75,0x60,0x6c,0x00,0x00,0xbf,0x52,0x00,0x00,0x34,0x6c,0x60,0x6c,0x00,0x00,0xef,0x79, 0x00,0x00,0xbf,0x52,0x85,0x5f,0xd1,0x53,0x00,0x00,0x34,0x6c,0xcf,0x91,0x00,0x00,0xa2,0x5b,0x00,0x00, 0x9b,0x52,0x00,0x00,0x08,0x00,0x00,0x00,0xc9,0x84,0x00,0x00,0xce,0x57,0x00,0x00,0x1f,0x75,0x00,0x00, 0xed,0x56,0x00,0x00,0xce,0x57,0x47,0x95,0x00,0x00,0xb1,0x82,0x71,0x5c,0x00,0x00,0xb1,0x82,0x71,0x5c, 0x47,0x95,0x00,0x00,0x46,0x55,0x00,0x00,0x04,0x00,0x00,0x00,0xc1,0x90,0x00,0x00,0xca,0x84,0xc1,0x90, 0xc1,0x90,0x00,0x00,0xdc,0x83,0x00,0x00,0xc1,0x90,0xc1,0x90,0x00,0x00,0x03,0x00,0x00,0x00,0x63,0x88, 0x00,0x00,0x20,0x7b,0xc1,0x7f,0x00,0x00,0x49,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0x7e,0x85,0x00,0x00, 0x05,0x00,0x00,0x00,0xbb,0x9e,0xd2,0x6b,0x20,0x7d,0x00,0x00,0xbb,0x9e,0x00,0x00,0xbb,0x9e,0xb9,0x6c, 0x00,0x00,0xbb,0x9e,0x50,0x5b,0x00,0x00,0xbb,0x9e,0x7d,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x82, 0x00,0x00,0x79,0x7b,0xa1,0x80,0x00,0x00,0x79,0x7b,0x00,0x00,0x29,0x59,0x00,0x00,0xae,0x76,0x66,0x4e, 0x00,0x00,0xfe,0x56,0x00,0x00,0x9d,0x5b,0xf3,0x77,0x00,0x00,0x93,0x83,0x00,0x00,0x77,0x6d,0x00,0x00, 0x59,0x72,0x00,0x00,0x06,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0xe8,0x95,0x65,0x68,0x00,0x00,0x6c,0x9a, 0x00,0x00,0xd0,0x8f,0xb3,0x6c,0x00,0x00,0x47,0x95,0x00,0x00,0xce,0x57,0x00,0x00,0x03,0x00,0x00,0x00, 0x36,0x71,0x00,0x00,0x30,0x57,0x00,0x00,0x30,0x57,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x52, 0x00,0x00,0xb1,0x83,0x00,0x00,0x7e,0x67,0x00,0x00,0x70,0x70,0x00,0x00,0x54,0x58,0x00,0x00,0xae,0x76, 0x5c,0x67,0x00,0x00,0x34,0x59,0xa2,0x57,0x62,0x97,0x00,0x00,0xb1,0x83,0x02,0x5e,0x00,0x00,0xec,0x84, 0x00,0x00,0xc3,0x52,0x1f,0x75,0x3a,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xdd,0x84,0x00,0x00,0x02,0x00, 0x00,0x00,0xc6,0x89,0x00,0x00,0xf0,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x5e,0x00,0x00,0x8a,0x8d, 0x93,0x83,0x00,0x00,0x49,0x83,0x00,0x00,0x13,0x85,0x00,0x00,0x1f,0x75,0x00,0x00,0x8a,0x8d,0x58,0x6a, 0x00,0x00,0xc1,0x83,0x00,0x00,0x4d,0x88,0x00,0x00,0x1f,0x75,0x0d,0x69,0x69,0x72,0x00,0x00,0x1d,0x84, 0x00,0x00,0x05,0x00,0x00,0x00,0xd6,0x7c,0x00,0x00,0x9c,0x51,0x00,0x00,0x23,0x6e,0x00,0x00,0x97,0x67, 0x00,0x00,0x32,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x84,0x00,0x00,0x36,0x71,0x00,0x00,0x36,0x71, 0x10,0x62,0xce,0x98,0x00,0x00,0xbf,0x53,0x00,0x00,0x3a,0x4e,0xee,0x58,0xc2,0x89,0x00,0x00,0x65,0x67, 0xce,0x57,0x00,0x00,0x71,0x5c,0x00,0x00,0xdd,0x84,0x72,0x82,0x00,0x00,0x3a,0x4e,0x27,0x59,0xc2,0x89, 0x00,0x00,0x10,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0x43,0x51,0xf9,0x57,0x00,0x00, 0xfd,0x56,0x3a,0x5f,0x00,0x00,0x9d,0x4f,0x97,0x67,0x00,0x00,0x37,0x95,0x00,0x00,0x38,0x75,0x00,0x00, 0x4b,0x5c,0xf4,0x56,0x00,0x00,0x38,0x75,0x3a,0x53,0x00,0x00,0x0f,0x6c,0x00,0x00,0xd7,0x5f,0xe0,0x5f, 0x00,0x00,0x07,0x00,0x00,0x00,0x3f,0x51,0x00,0x00,0x34,0x59,0x37,0x80,0x11,0x81,0x00,0x00,0x3f,0x51, 0x4f,0x57,0x00,0x00,0x34,0x59,0x2b,0x85,0x11,0x81,0x00,0x00,0x7c,0x54,0x7c,0x54,0x00,0x00,0x0d,0x4e, 0x27,0x55,0x00,0x00,0x1f,0x57,0x2a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x9c,0x67, 0x00,0x00,0xdc,0x83,0x7b,0x7c,0x00,0x00,0xdc,0x83,0x41,0x6c,0x00,0x00,0xdf,0x98,0x00,0x00,0xdc,0x83, 0x3a,0x53,0x00,0x00,0xdc,0x83,0x9e,0x52,0x00,0x00,0xdc,0x83,0xd9,0x7a,0x00,0x00,0xdc,0x83,0x1a,0x4e, 0x00,0x00,0xdc,0x83,0x40,0x5c,0x00,0x00,0x04,0x00,0x00,0x00,0x87,0x85,0x00,0x00,0x87,0x85,0xd1,0x79, 0x00,0x00,0x87,0x85,0xb1,0x82,0x7e,0x85,0x00,0x00,0x87,0x85,0x41,0x53,0x57,0x5b,0xe2,0x56,0x00,0x00, 0x02,0x00,0x00,0x00,0xf8,0x76,0x82,0x59,0x00,0x00,0x49,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0x70,0x9a, 0x00,0x00,0x3b,0x85,0x00,0x00,0x39,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x3c,0x85,0x00,0x00,0x36,0x71, 0x00,0x00,0x07,0x00,0x00,0x00,0x9c,0x96,0x00,0x00,0xe5,0x65,0x00,0x00,0x5e,0x58,0x00,0x00,0xbe,0x82, 0x00,0x00,0xab,0x8e,0x04,0x59,0x00,0x00,0x53,0x4f,0x00,0x00,0xe5,0x65,0x6e,0x90,0x29,0x59,0x00,0x00, 0x05,0x00,0x00,0x00,0x04,0x83,0x00,0x00,0xaf,0x85,0x00,0x00,0x6f,0x60,0x00,0x00,0x4d,0x88,0x00,0x00, 0x91,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x53,0x00,0x00,0x9c,0x51,0x00,0x00,0xad,0x5c,0xbf,0x53, 0x00,0x00,0xad,0x5c,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x56,0x8d,0x00,0x00, 0xbb,0x9e,0x00,0x00,0xed,0x56,0x00,0x00,0x97,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0xe8,0x59,0x00,0x00, 0x01,0x00,0x00,0x00,0xb3,0x82,0x00,0x00,0x01,0x00,0x00,0x00,0xd8,0x85,0x00,0x00,0x03,0x00,0x00,0x00, 0xdc,0x83,0x00,0x00,0x7b,0x7c,0x0d,0x69,0x69,0x72,0x00,0x00,0x7b,0x7c,0x00,0x00,0x03,0x00,0x00,0x00, 0x25,0x66,0x00,0x00,0x25,0x66,0xbf,0x53,0x00,0x00,0x7e,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x54, 0x00,0x00,0xcf,0x85,0x00,0x00,0xb5,0x6d,0x00,0x00,0xcf,0x85,0xcf,0x91,0x00,0x00,0xc9,0x85,0x00,0x00, 0x0f,0x61,0x00,0x00,0xd3,0x7e,0x00,0x00,0x7f,0x91,0x00,0x00,0xc4,0x84,0x00,0x00,0xef,0x79,0x00,0x00, 0x01,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x83,0x00,0x00,0x08,0x00,0x00,0x00, 0x1d,0x4e,0x00,0x00,0x7e,0x85,0x00,0x00,0xc8,0x54,0x1c,0x5a,0x00,0x00,0x1d,0x4e,0xb9,0x8f,0x00,0x00, 0x07,0x52,0x14,0x5c,0x00,0x00,0x1d,0x4e,0xb1,0x82,0xb9,0x8f,0x00,0x00,0xc3,0x94,0x00,0x00,0xa8,0x99, 0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x5f,0x00,0x00,0x99,0x71,0x65,0x67,0x00,0x00,0x9c,0x81,0x00,0x00, 0x77,0x83,0x00,0x00,0x84,0x85,0x84,0x76,0x00,0x00,0x47,0x72,0x00,0x00,0x29,0x52,0x1a,0x59,0x00,0x95, 0x00,0x00,0x77,0x83,0xd6,0x7c,0x00,0x00,0x84,0x85,0x00,0x00,0xdc,0x74,0xdc,0x74,0x00,0x00,0x03,0x00, 0x00,0x00,0xff,0x59,0x00,0x00,0x87,0x85,0x89,0x5b,0x00,0x00,0x01,0x96,0x00,0x00,0x04,0x00,0x00,0x00, 0x73,0x7c,0x00,0x00,0xc1,0x4e,0x00,0x00,0xe1,0x82,0xc1,0x4e,0x00,0x00,0xe1,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0x9a,0x5b,0x14,0x8c,0x00,0x00,0xd0,0x67,0x00,0x00,0x9a,0x5b,0x14,0x8c,0xb9,0x65,0x0b,0x7a, 0x00,0x00,0x9d,0x5b,0x97,0x94,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0xc1,0x4e, 0x35,0x8d,0x00,0x00,0x8f,0x79,0x10,0x62,0x00,0x00,0xe0,0x57,0x47,0x95,0x00,0x00,0x45,0x5c,0x63,0x6b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x91,0x00,0x00,0x34,0x6c,0x00,0x00,0x44,0x8d,0x00,0x00,0xd1,0x91, 0x00,0x00,0x6b,0x70,0x00,0x00,0x44,0x8d,0x0e,0x7a,0x00,0x00,0xf8,0x4f,0x00,0x00,0xa7,0x7e,0x00,0x00, 0x6c,0x91,0x9c,0x69,0x00,0x00,0x6c,0x91,0x0e,0x7a,0x00,0x00,0x01,0x00,0x00,0x00,0xfd,0x6c,0x00,0x00, 0x08,0x00,0x00,0x00,0x61,0x67,0x00,0x00,0x47,0x72,0x00,0x00,0x7b,0x7c,0x00,0x00,0xe3,0x84,0x00,0x00, 0xd4,0x4e,0x00,0x00,0x7c,0x99,0x00,0x00,0xa8,0x83,0x00,0x00,0xaf,0x85,0x00,0x00,0x02,0x00,0x00,0x00, 0x63,0x88,0x49,0x83,0x00,0x00,0xb8,0x83,0x0d,0x4e,0x0c,0x54,0x68,0x56,0x00,0x00,0x02,0x00,0x00,0x00, 0x49,0x83,0x00,0x00,0x49,0x83,0x5e,0x5c,0x00,0x00,0x05,0x00,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00, 0xce,0x57,0x00,0x00,0x2c,0x67,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x49,0x83,0x00,0x00,0x07,0x00, 0x00,0x00,0x31,0x75,0x00,0x00,0xe3,0x53,0x00,0x00,0x40,0x77,0x00,0x00,0xc9,0x85,0xe0,0x65,0x0d,0x54, 0x00,0x00,0xe5,0x4e,0x00,0x00,0xe5,0x4e,0xa5,0x7a,0xe5,0x77,0x00,0x00,0x44,0x8d,0x39,0x63,0xe8,0x6c, 0x00,0x00,0x01,0x00,0x00,0x00,0x46,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x54,0x00,0x00,0xb6,0x5b, 0x00,0x00,0xcf,0x65,0x00,0x00,0x87,0x65,0x00,0x00,0xab,0x8e,0x00,0x00,0x3f,0x53,0x00,0x00,0x20,0x4f, 0x00,0x00,0xcf,0x7e,0x00,0x00,0x66,0x4e,0x00,0x00,0x52,0x73,0x00,0x00,0x07,0x00,0x00,0x00,0xc6,0x89, 0x00,0x00,0xd0,0x85,0x00,0x00,0xc6,0x89,0x00,0x4e,0x07,0x52,0x00,0x00,0x0f,0x5c,0x00,0x00,0xd5,0x6c, 0x00,0x00,0x64,0x5b,0x00,0x00,0xfd,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x01,0x00, 0x00,0x00,0xd4,0x82,0x00,0x00,0x09,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x89,0x7c,0x00,0x00,0xad,0x65, 0x1d,0x4e,0xde,0x8f,0x00,0x00,0x82,0x82,0x00,0x00,0x41,0x6c,0x00,0x00,0x58,0x58,0x00,0x00,0x77,0x83, 0x00,0x00,0x72,0x82,0x00,0x00,0x70,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0xa6,0x9e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x51,0x67,0x00,0x00,0x13,0x85,0x00,0x00,0xee,0x68,0x00,0x00,0xbf,0x53,0x00,0x00,0x9f,0x53, 0x00,0x00,0x2c,0x67,0x00,0x00,0x05,0x69,0x00,0x00,0x61,0x67,0x00,0x00,0xf6,0x58,0x00,0x00,0x50,0x5b, 0x00,0x00,0x05,0x00,0x00,0x00,0xf1,0x7b,0x00,0x00,0x47,0x95,0x00,0x00,0x5e,0x5c,0x00,0x00,0xfd,0x56, 0x00,0x00,0x93,0x5e,0x00,0x00,0x09,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0x95,0x4e,0x00,0x00,0x7b,0x7c, 0x0d,0x69,0x69,0x72,0x00,0x00,0x89,0x7c,0x00,0x00,0x1a,0x59,0xd6,0x7c,0x00,0x00,0xcd,0x79,0x00,0x00, 0x70,0x99,0x00,0x00,0x1d,0x60,0x00,0x00,0x6e,0x6f,0x00,0x00,0x01,0x00,0x00,0x00,0x99,0x99,0x00,0x00, 0x02,0x00,0x00,0x00,0x9c,0x82,0x00,0x00,0x58,0x58,0x00,0x90,0xeb,0x58,0x00,0x00,0x08,0x00,0x00,0x00, 0xc7,0x83,0x00,0x00,0xc7,0x83,0x57,0x88,0x00,0x00,0xc7,0x83,0x91,0x4e,0x00,0x00,0xc7,0x83,0x34,0x59, 0x00,0x00,0xc7,0x83,0x64,0x6c,0x00,0x00,0xc7,0x83,0xda,0x68,0x00,0x00,0xc7,0x83,0x50,0x7f,0x34,0x59, 0x00,0x00,0xc7,0x83,0x5a,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x9d,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0x77,0x83,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x04,0x00,0x00,0x00,0x71,0x91,0x00,0x00, 0x99,0x65,0x00,0x00,0x6b,0x70,0x00,0x00,0x34,0x78,0x00,0x00,0x01,0x00,0x00,0x00,0x9c,0x82,0x00,0x00, 0x01,0x00,0x00,0x00,0x49,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0xc6,0x89,0x08,0x77, 0x08,0x77,0x00,0x00,0xae,0x76,0x00,0x00,0x74,0x5e,0x00,0x00,0xe3,0x53,0x00,0x00,0x34,0x59,0xc7,0x86, 0x3e,0x5c,0x00,0x00,0xb8,0x9c,0x00,0x00,0xfc,0x72,0x00,0x00,0x4c,0x72,0x00,0x00,0xf3,0x8d,0xe1,0x5c, 0x00,0x00,0x01,0x00,0x00,0x00,0xb7,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x85,0x5f,0x00,0x00,0xe5,0x7a, 0x00,0x00,0x40,0x67,0x00,0x00,0xda,0x56,0x00,0x00,0xc3,0x5f,0x00,0x00,0x4b,0x60,0x00,0x00,0x85,0x5f, 0x6a,0x7f,0x00,0x00,0x7b,0x6b,0x00,0x00,0xe5,0x7a,0x48,0x68,0x00,0x00,0xd7,0x72,0x00,0x00,0x01,0x00, 0x00,0x00,0xca,0x53,0x00,0x00,0x08,0x00,0x00,0x00,0xda,0x8b,0x00,0x00,0x6c,0x65,0x00,0x00,0xc3,0x5f, 0x00,0x00,0xe1,0x4f,0x00,0x00,0xde,0x5d,0x00,0x00,0xe1,0x4f,0x05,0x80,0x00,0x00,0xe1,0x4f,0x3b,0x4e, 0x49,0x4e,0x00,0x00,0xe1,0x4f,0x3e,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x50,0x00,0x00,0xdf,0x62, 0x00,0x00,0x84,0x67,0x00,0x00,0x31,0x5f,0x00,0x00,0x7a,0x7a,0x00,0x00,0xa5,0x62,0x00,0x00,0x2a,0x4f, 0x00,0x00,0x84,0x59,0x00,0x00,0x7b,0x5e,0x00,0x00,0xe0,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xce,0x57, 0xbf,0x53,0x00,0x00,0x8e,0x7f,0xba,0x4e,0x00,0x00,0xec,0x59,0x00,0x00,0xce,0x57,0x00,0x00,0x1c,0x82, 0x00,0x00,0x16,0x4e,0x57,0x53,0x00,0x00,0x71,0x5c,0x47,0x95,0x00,0x00,0x05,0x80,0x00,0x00,0x9c,0x55, 0x00,0x00,0x94,0x5e,0x99,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x49,0x83,0x00,0x00, 0xb3,0x5b,0x00,0x00,0x1e,0x6d,0x00,0x00,0x75,0x53,0x00,0x00,0x6b,0x86,0x00,0x00,0x7e,0x70,0x00,0x00, 0x3c,0x77,0x00,0x00,0x53,0x4f,0x00,0x00,0xcf,0x65,0x00,0x00,0x08,0x00,0x00,0x00,0xef,0x9a,0x00,0x00, 0x9d,0x67,0x00,0x00,0xf2,0x66,0x00,0x00,0x99,0x9f,0x00,0x00,0xb2,0x52,0x00,0x00,0x7b,0x98,0x00,0x00, 0x0e,0x83,0x00,0x00,0xf2,0x66,0x3a,0x63,0xc0,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x01,0x00,0x00,0x00,0xf5,0x86,0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xee,0x76,0x7c,0x9c, 0x00,0x00,0x1a,0x59,0x0d,0x4e,0xd2,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x68,0x00,0x00,0xe3,0x53, 0x00,0x00,0xe3,0x53,0x3a,0x53,0x00,0x00,0x9c,0x81,0x00,0x00,0x7e,0x6e,0x00,0x00,0x38,0x54,0x00,0x00, 0x65,0x68,0xd9,0x7a,0x00,0x00,0x65,0x68,0x47,0x95,0x00,0x00,0x7e,0x6e,0x3a,0x53,0x00,0x00,0xdf,0x9c, 0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00,0x7a,0x86,0x00,0x00,0x25,0x87,0x00,0x00,0x01,0x00,0x00,0x00, 0x0a,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0xa4,0x86,0x00,0x00,0x08,0x00,0x00,0x00,0x36,0x71,0x00,0x00, 0xf4,0x8b,0x00,0x00,0x19,0x52,0x00,0x00,0x25,0x8d,0xb9,0x72,0x63,0x83,0x00,0x00,0x7b,0x6b,0xb9,0x72, 0x1f,0x75,0x00,0x00,0x7b,0x6b,0xb9,0x72,0x63,0x83,0x00,0x00,0x1f,0x75,0x17,0x5f,0x1f,0x75,0x00,0x00, 0x2f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0xc1,0x4e,0x00,0x00,0xae,0x76,0x00,0x00, 0xf9,0x87,0x00,0x00,0x50,0x5b,0x00,0x00,0x89,0x80,0x00,0x00,0x37,0x59,0x00,0x00,0x34,0x59,0x00,0x00, 0x7a,0x99,0x00,0x00,0x73,0x7c,0x51,0x7f,0x00,0x00,0x04,0x00,0x00,0x00,0x3b,0x52,0x00,0x00,0x2c,0x67, 0x00,0x00,0x3d,0x5c,0x00,0x00,0x91,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x65,0x00,0x00,0x0e,0x54, 0x00,0x00,0x74,0x7a,0x00,0x00,0xa4,0x7f,0x00,0x00,0x78,0x91,0x00,0x00,0x9b,0x52,0x5e,0x79,0x00,0x00, 0x11,0x6c,0x00,0x00,0x18,0x4e,0x00,0x00,0x18,0x62,0x00,0x00,0x3e,0x79,0x00,0x00,0x0a,0x00,0x00,0x00, 0x81,0x86,0x00,0x00,0xb1,0x86,0x00,0x00,0x57,0x87,0x00,0x00,0x02,0x87,0x9d,0x7a,0x00,0x00,0xe5,0x87, 0x00,0x00,0x81,0x86,0x51,0x7f,0x00,0x00,0x02,0x87,0x00,0x00,0x81,0x86,0x2c,0x64,0xf0,0x6c,0x71,0x5c, 0x00,0x00,0xe5,0x87,0x89,0x94,0x00,0x00,0x82,0x87,0x00,0x00,0x09,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x6b,0x86,0x00,0x00,0x99,0x99,0x00,0x00,0x10,0x5e,0x00,0x00,0x47,0x87,0x00,0x00,0x92,0x5a,0x00,0x00, 0x8a,0x86,0x00,0x00,0x6b,0x86,0xee,0x53,0xac,0x54,0x00,0x00,0x58,0x58,0x47,0x95,0x00,0x00,0x08,0x00, 0x00,0x00,0xe0,0x57,0x00,0x00,0xe0,0x57,0x02,0x5e,0x00,0x00,0xf3,0x58,0x00,0x00,0x71,0x5c,0x3a,0x53, 0x00,0x00,0xe0,0x57,0x3b,0x53,0x66,0x5b,0x62,0x96,0x00,0x00,0x71,0x5c,0x00,0x00,0xd5,0x96,0x00,0x00, 0xe0,0x57,0x66,0x5b,0x62,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0x09,0x87,0x00,0x00,0x09,0x87,0xbc,0x64, 0x11,0x68,0x00,0x00,0x09,0x87,0xbc,0x64,0x27,0x59,0x11,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x98, 0x00,0x00,0x1d,0x4e,0x00,0x00,0x46,0x8c,0x00,0x00,0xf9,0x86,0x00,0x00,0x27,0x83,0x00,0x00,0xfe,0x86, 0x00,0x00,0x51,0x68,0x00,0x00,0xa4,0x5b,0x00,0x00,0x9c,0x51,0x00,0x00,0xcd,0x79,0x00,0x00,0x01,0x00, 0x00,0x00,0x6b,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0xb9,0x6c, 0x00,0x00,0x03,0x00,0x00,0x00,0x24,0x5c,0x00,0x00,0x24,0x5c,0xe8,0x5b,0x00,0x00,0x24,0x5c,0x17,0x53, 0xe8,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x93,0x86,0x00,0x00, 0x02,0x00,0x00,0x00,0x12,0x87,0x00,0x00,0x12,0x87,0xef,0x8d,0x00,0x00,0x04,0x00,0x00,0x00,0x22,0x87, 0x00,0x00,0x49,0x87,0x00,0x00,0x22,0x87,0x1f,0x82,0x00,0x00,0x6b,0x86,0x00,0x00,0x02,0x00,0x00,0x00, 0xd4,0x4e,0x4e,0x71,0x00,0x00,0xd4,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x50,0x5b, 0x00,0x00,0x01,0x00,0x00,0x00,0xc7,0x86,0x00,0x00,0x04,0x00,0x00,0x00,0x59,0x72,0x00,0x00,0x6b,0x86, 0x00,0x00,0x7f,0x9f,0x00,0x00,0x80,0x86,0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0xa3,0x67, 0x3f,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0x00,0x00,0xe3,0x53,0x00,0x00,0x68,0x79,0x00,0x00, 0x34,0x59,0x00,0x00,0xae,0x76,0x00,0x00,0x7b,0x7c,0x00,0x00,0x62,0x5f,0x00,0x00,0xc6,0x80,0x00,0x00, 0x01,0x5e,0x00,0x00,0x4e,0x87,0x00,0x00,0x04,0x00,0x00,0x00,0xd1,0x60,0x00,0x00,0xd1,0x60,0xba,0x4e, 0xc3,0x5f,0x00,0x00,0xd2,0x6b,0x00,0x00,0x5d,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x76,0x28,0x8d, 0x00,0x00,0x7d,0x76,0x00,0x00,0xd5,0x7c,0x00,0x00,0xc4,0x9e,0x00,0x00,0xbc,0x75,0x00,0x00,0xcb,0x86, 0x00,0x00,0xf3,0x58,0x00,0x00,0x05,0x6e,0x00,0x00,0x7d,0x76,0x76,0x91,0x00,0x00,0x7d,0x76,0x89,0x7c, 0x00,0x00,0x03,0x00,0x00,0x00,0x6c,0x9e,0x00,0x00,0x7c,0x99,0x00,0x00,0xc4,0x9e,0x00,0x00,0x02,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x72,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0xd0,0x86,0x00,0x00,0xd0,0x86, 0x3f,0x51,0x00,0x00,0xee,0x87,0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0x6b,0x86,0xc5,0x75, 0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0xf3,0x6c,0x00,0x00,0x7b,0x7c,0x00,0x00,0xd9,0x86, 0x00,0x00,0x23,0x9e,0x00,0x00,0x0f,0x5f,0x00,0x00,0x8b,0x97,0x00,0x00,0x60,0x6c,0x00,0x00,0xd7,0x82, 0x00,0x00,0x60,0x6c,0x50,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x1d,0x4e,0x6c,0x9a,0xf9,0x8f,0x00,0x00, 0x51,0x7f,0x00,0x00,0x1d,0x4e,0x00,0x00,0xdb,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x5b,0x87,0x00,0x00, 0x02,0x00,0x00,0x00,0x53,0x87,0x00,0x00,0x7c,0x87,0x00,0x00,0x04,0x00,0x00,0x00,0x99,0x9f,0x00,0x00, 0x99,0x9f,0xf7,0x53,0x00,0x00,0xb3,0x6c,0x02,0x5e,0x00,0x00,0xb3,0x6c,0x00,0x00,0x09,0x00,0x00,0x00, 0xc6,0x87,0x00,0x00,0x0a,0x87,0x00,0x00,0xa7,0x86,0x00,0x00,0xc6,0x87,0x5c,0x95,0x00,0x00,0xce,0x86, 0x00,0x00,0xc6,0x87,0x57,0x88,0x00,0x00,0xc6,0x87,0x2f,0x59,0x00,0x00,0xc6,0x87,0xc9,0x6c,0x51,0x67, 0x00,0x00,0xf9,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x2a,0x6a,0x00,0x00,0x1a,0x59,0x00,0x00,0x52,0x83,0x00,0x00,0x72,0x5e,0x00,0x00,0xcf,0x65, 0x00,0x00,0x0d,0x4e,0xb2,0x8b,0x06,0x74,0x00,0x00,0x37,0x59,0x00,0x00,0x2a,0x6a,0xe0,0x65,0x06,0x74, 0x00,0x00,0x5b,0x72,0x00,0x00,0x05,0x00,0x00,0x00,0x0f,0x4f,0x00,0x00,0x45,0x5c,0x00,0x00,0x6b,0x86, 0x00,0x00,0xcf,0x85,0x00,0x00,0x20,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0x76,0x87,0x00,0x00,0x02,0x00, 0x00,0x00,0x6b,0x86,0x00,0x00,0x6b,0x86,0xc5,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0xac,0x87,0x00,0x00, 0x01,0x00,0x00,0x00,0x1e,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0x01,0x00,0x00,0x00, 0xd8,0x53,0x00,0x00,0x06,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x7b,0x7c,0x00,0x00,0x09,0x77,0x00,0x00, 0x69,0x64,0xc9,0x62,0x00,0x00,0x09,0x77,0x08,0x67,0x00,0x00,0x09,0x77,0x93,0x76,0x7f,0x9f,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcd,0x9e,0x00,0x00,0x2d,0x4e,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0x3a,0x53, 0x00,0x00,0xfd,0x56,0x00,0x00,0x49,0x6c,0x00,0x00,0xfd,0x90,0x00,0x00,0xe3,0x7e,0x00,0x00,0x30,0x57, 0x00,0x00,0x75,0x84,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x87,0x00,0x00,0xe5,0x62,0x00,0x00,0xe5,0x62, 0x0c,0x80,0xf3,0x81,0x00,0x00,0x1c,0x87,0x34,0x6c,0x00,0x00,0x9d,0x7a,0x00,0x00,0xf6,0x80,0x00,0x00, 0xe2,0x5d,0x00,0x00,0x1f,0x9e,0x00,0x00,0x8b,0x73,0x46,0x6d,0x00,0x00,0xe5,0x62,0x0c,0x80,0x0a,0x4e, 0x00,0x00,0x01,0x00,0x00,0x00,0x6f,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0x24,0x4f,0x00,0x00,0x03,0x00, 0x00,0x00,0xa3,0x86,0x00,0x00,0x2f,0x65,0x32,0x6d,0x9b,0x5c,0x00,0x00,0xa3,0x86,0x0f,0x5f,0x00,0x00, 0x01,0x00,0x00,0x00,0x63,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0x0e,0x87,0x00,0x00,0x01,0x00,0x00,0x00, 0xb0,0x86,0x00,0x00,0x05,0x00,0x00,0x00,0xd8,0x53,0x00,0x00,0xae,0x76,0x00,0x00,0x16,0x53,0x00,0x00, 0xf3,0x58,0x00,0x00,0x16,0x53,0xd8,0x53,0x28,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x5b,0x72,0x00,0x00, 0x45,0x5c,0x00,0x00,0x6e,0x8f,0x00,0x00,0x46,0x67,0x00,0x00,0x4c,0x88,0x00,0x00,0x4c,0x88,0x5b,0x72, 0x65,0x6b,0x00,0x00,0xcb,0x65,0x00,0x00,0x90,0x5e,0x00,0x00,0xf3,0x58,0xb6,0x72,0x00,0x00,0x97,0x7a, 0x00,0x00,0x07,0x00,0x00,0x00,0xdb,0x86,0x00,0x00,0xdb,0x86,0xa0,0x4f,0x00,0x00,0xdb,0x86,0x51,0x7f, 0x00,0x00,0xdb,0x86,0xba,0x4e,0x00,0x00,0xdb,0x86,0xe3,0x75,0x00,0x00,0xdb,0x86,0x1f,0x66,0x91,0x4e, 0x00,0x00,0xdb,0x86,0x7b,0x7c,0x00,0x00,0x09,0x00,0x00,0x00,0xf0,0x58,0x00,0x00,0x0a,0x88,0x00,0x00, 0xf0,0x58,0x2d,0x4e,0x16,0x59,0x00,0x00,0xf0,0x58,0x77,0x6d,0x16,0x59,0x00,0x00,0xed,0x77,0x41,0x6d, 0x7f,0x95,0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x88,0xd1,0x79,0x00,0x00,0xf0,0x58,0x8e,0x4e,0x16,0x4e, 0x00,0x00,0xf0,0x58,0x16,0x4e,0x4c,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x87,0x00,0x00,0x6f,0x99, 0x00,0x00,0x08,0x67,0x00,0x00,0x08,0x67,0x1f,0x67,0x00,0x00,0x21,0x87,0x00,0x00,0xd6,0x7c,0x00,0x00, 0xa3,0x67,0x00,0x00,0x43,0x68,0x00,0x00,0x41,0x6c,0x00,0x00,0x7e,0x73,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdb,0x70,0x00,0x00,0x14,0x7b,0x00,0x00,0x14,0x7b,0x0f,0x5c,0xb0,0x65,0x00,0x00,0xcf,0x50,0x00,0x00, 0xcf,0x50,0x86,0x99,0x00,0x00,0xc4,0x9e,0x00,0x00,0x28,0x8d,0x00,0x00,0xd3,0x67,0x00,0x00,0xb8,0x7e, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x82,0x87,0x00,0x00,0x05,0x00,0x00,0x00,0x34,0x87, 0x00,0x00,0x1a,0x81,0x7b,0x7c,0x00,0x00,0xc0,0x81,0xee,0x76,0x00,0x00,0x62,0x5f,0xb2,0x7e,0x00,0x00, 0x13,0x66,0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0xac,0x54,0xc5,0x75,0x00,0x00,0x06,0x00, 0x00,0x00,0x29,0x7f,0x00,0x00,0xf2,0x66,0x00,0x00,0x0f,0x4f,0x00,0x00,0x67,0x53,0x00,0x00,0x45,0x5c, 0x00,0x00,0x40,0x5c,0x00,0x00,0x06,0x00,0x00,0x00,0x13,0x87,0x00,0x00,0x13,0x87,0xb9,0x70,0x34,0x6c, 0x00,0x00,0xc9,0x86,0x00,0x00,0x13,0x87,0xee,0x76,0x00,0x00,0xc9,0x86,0xee,0x76,0x00,0x00,0x13,0x87, 0xbc,0x64,0xf3,0x77,0xf1,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x12,0x87,0x00,0x00,0x01,0x00,0x00,0x00, 0x65,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0x3d,0x87,0x00,0x00,0x08,0x00,0x00,0x00,0x34,0x59,0x0f,0x5c, 0x29,0x52,0x00,0x00,0xc6,0x86,0x00,0x00,0x34,0x59,0x00,0x00,0x25,0x84,0xd7,0x72,0xdf,0x82,0x00,0x00, 0x50,0x5b,0x00,0x00,0xcf,0x91,0xa7,0x7e,0x00,0x00,0xcd,0x62,0x00,0x00,0x4e,0x86,0x00,0x00,0x05,0x00, 0x00,0x00,0x48,0x87,0x00,0x00,0x48,0x87,0x3c,0x7b,0x00,0x00,0xbd,0x87,0x00,0x00,0x48,0x87,0x3f,0x51, 0x00,0x00,0xbd,0x87,0x5e,0x5c,0x00,0x00,0x07,0x00,0x00,0x00,0x54,0x80,0x00,0x00,0x23,0x9e,0x00,0x00, 0xfc,0x7f,0x00,0x00,0x15,0x87,0x00,0x00,0xf0,0x58,0x00,0x00,0x63,0x88,0x00,0x00,0xd1,0x79,0x00,0x00, 0x02,0x00,0x00,0x00,0xaa,0x86,0x00,0x00,0xaa,0x86,0x87,0x65,0x00,0x00,0x06,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x4e,0x87,0x00,0x00,0xa7,0x5e,0x00,0x00,0x4e,0x86,0xa7,0x5e,0x00,0x00,0xd2,0x6b,0x00,0x00, 0x4e,0x86,0x00,0x00,0x07,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0x7e,0x70,0x00,0x00,0xd1,0x79,0x00,0x00, 0x3a,0x53,0x00,0x00,0x7b,0x87,0x00,0x00,0xc5,0x60,0x00,0x00,0xba,0x83,0x00,0x00,0x05,0x00,0x00,0x00, 0x60,0x87,0x00,0x00,0x60,0x87,0xa0,0x4f,0x00,0x00,0x60,0x87,0x66,0x8f,0x00,0x00,0x60,0x87,0x4c,0x72, 0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0xbc,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0xc7,0x86, 0x00,0x00,0x01,0x00,0x00,0x00,0xc7,0x86,0x00,0x00,0x02,0x00,0x00,0x00,0xc4,0x86,0x00,0x00,0x72,0x87, 0xc4,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x87,0x00,0x00, 0x76,0x87,0x48,0x65,0x94,0x5e,0x00,0x00,0x76,0x87,0xd3,0x7e,0x00,0x00,0x76,0x87,0x70,0x51,0x00,0x00, 0x76,0x87,0xb1,0x82,0x00,0x00,0x76,0x87,0xc5,0x88,0x00,0x00,0x76,0x87,0x3a,0x67,0x00,0x00,0x76,0x87, 0x37,0x8c,0x00,0x00,0x76,0x87,0xac,0x72,0x00,0x00,0x76,0x87,0x65,0x91,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf3,0x6c,0x00,0x00,0x69,0x5f,0x00,0x00,0xd8,0x53,0x00,0x00,0x63,0x88,0x00,0x00,0x62,0x5f,0x00,0x00, 0x00,0x96,0x00,0x00,0x3f,0x51,0x00,0x00,0xa8,0x9a,0x00,0x00,0x71,0x5c,0x00,0x00,0xc5,0x7f,0x00,0x00, 0x03,0x00,0x00,0x00,0x81,0x86,0x00,0x00,0xc4,0x86,0x00,0x00,0xc4,0x86,0xd1,0x79,0x00,0x00,0x01,0x00, 0x00,0x00,0x88,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0xf9,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0x44,0x8d, 0x00,0x00,0x08,0x54,0x00,0x00,0x38,0x52,0x00,0x00,0x65,0x51,0x00,0x00,0x1a,0x90,0x00,0x00,0x16,0x53, 0x00,0x00,0x44,0x8d,0x9d,0x98,0x00,0x00,0x1b,0x52,0x00,0x00,0x44,0x8d,0x38,0x52,0x00,0x00,0x3d,0x6d, 0x00,0x00,0x02,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0xc9,0x86,0x00,0x00,0x01,0x00,0x00,0x00,0x6b,0x86, 0x00,0x00,0x01,0x00,0x00,0x00,0x88,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0x7e,0x86,0x00,0x00,0xa2,0x80, 0x00,0x00,0x05,0x00,0x00,0x00,0x82,0x87,0x00,0x00,0x82,0x87,0x55,0x63,0x49,0x87,0x00,0x00,0xc2,0x81, 0x53,0x5f,0x66,0x8f,0x00,0x00,0x82,0x87,0xdd,0x5d,0x00,0x00,0x82,0x87,0x71,0x5c,0x00,0x00,0x01,0x00, 0x00,0x00,0xf8,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x1d,0x4e,0x00,0x00,0xb9,0x7e,0xa2,0x94,0x00,0x00, 0xcb,0x65,0xfb,0x85,0x00,0x00,0xcb,0x65,0x00,0x00,0xcb,0x65,0x68,0x68,0x00,0x00,0xb9,0x7e,0x00,0x00, 0x1d,0x4e,0x00,0x52,0x00,0x00,0x13,0x68,0x00,0x00,0xf3,0x86,0x00,0x00,0x1d,0x4e,0x89,0x94,0x00,0x00, 0x03,0x00,0x00,0x00,0xaf,0x65,0x00,0x00,0xaf,0x65,0x3b,0x60,0xd1,0x79,0x00,0x00,0xaf,0x65,0xd1,0x79, 0x00,0x00,0x01,0x00,0x00,0x00,0x3c,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0xc0,0x87,0x00,0x00,0xc0,0x87, 0x49,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0xf8,0x86,0x00,0x00,0xf8,0x86,0xe1,0x6e,0xa4,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0x82,0x87,0x00,0x00,0x82,0x87,0x6f,0x83,0x00,0x00,0x03,0x00,0x00,0x00,0xc7,0x86, 0x00,0x00,0x71,0x5c,0x00,0x00,0x8d,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x9f,0x00,0x00,0x43,0x68, 0x00,0x00,0xf2,0x66,0x00,0x00,0x3e,0x5c,0x1d,0x4e,0x6b,0x86,0x00,0x00,0x39,0x68,0x19,0x95,0x82,0x82, 0x00,0x00,0x6e,0x63,0x00,0x00,0x1e,0x8e,0x00,0x00,0xf3,0x77,0x00,0x00,0x43,0x68,0xdc,0x80,0x1a,0x4f, 0x00,0x00,0x3e,0x5c,0x1d,0x4e,0x6b,0x86,0xc7,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0xc4,0x86,0x00,0x00,0xc4,0x86,0x0d,0x4e,0xe5,0x77,0x25,0x66,0xcb,0x79,0x00,0x00, 0x01,0x00,0x00,0x00,0xdf,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0xf9,0x87,0x00,0x00,0x38,0x52,0x00,0x00, 0xc4,0x9e,0x00,0x00,0x9c,0x51,0x00,0x00,0x89,0x80,0x00,0x00,0x50,0x5b,0x00,0x00,0x46,0x55,0x00,0x00, 0xd7,0x82,0x00,0x00,0x8f,0x81,0x00,0x00,0x89,0x7c,0x00,0x00,0x05,0x00,0x00,0x00,0x0d,0x87,0x00,0x00, 0x65,0x91,0x00,0x00,0xab,0x5b,0x00,0x00,0x49,0x51,0x00,0x00,0xab,0x5b,0x98,0x62,0x42,0x68,0x00,0x00, 0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x07,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x6b,0x86,0x00,0x00, 0x15,0x88,0x00,0x00,0x6b,0x86,0xb6,0x72,0x00,0x00,0xa8,0x52,0x4d,0x52,0xdb,0x8f,0x00,0x00,0xd1,0x6e, 0x9b,0x52,0x00,0x00,0x62,0x5f,0xa8,0x52,0x69,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x88,0x00,0x00, 0x03,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x4b,0x6d,0x00,0x00,0xed,0x56,0x61,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x22,0x88,0x32,0x6b,0xa8,0x52,0x00,0x00,0x8b,0x4e,0x00,0x00,0x27,0x8d,0x00,0x00,0xcb,0x86, 0x00,0x00,0x30,0x52,0x00,0x00,0xba,0x4e,0x00,0x00,0xa8,0x52,0x00,0x00,0x22,0x88,0x00,0x00,0x50,0x67, 0x00,0x00,0x28,0x7b,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0x64,0x96, 0x00,0x00,0x4d,0x51,0x00,0x00,0xdf,0x79,0x00,0x00,0x01,0x6d,0x00,0x00,0xa4,0x6d,0x00,0x00,0x4b,0x8d, 0x00,0x00,0x09,0x54,0x00,0x00,0x64,0x96,0xdb,0x82,0x3f,0x65,0x00,0x00,0xdb,0x82,0x00,0x00,0x53,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0x7c,0x9c,0x00,0x00,0xb3,0x5b,0x00,0x00,0x0a,0x5f, 0x00,0x00,0x3f,0x65,0x00,0x00,0x80,0x7b,0x00,0x00,0x0f,0x54,0x00,0x00,0x7c,0x9c,0x50,0x5b,0x00,0x00, 0xfd,0x56,0xb3,0x5b,0x11,0x6c,0x00,0x00,0x17,0x4f,0x28,0x67,0x98,0x62,0x00,0x00,0x01,0x00,0x00,0x00, 0x8b,0x87,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x6d,0x00,0x00,0xa1,0x7b,0x00,0x00,0x8b,0x53,0x00,0x00, 0xd6,0x7c,0x00,0x00,0x65,0x81,0x00,0x00,0xf9,0x8f,0x00,0x00,0x02,0x81,0x00,0x00,0x8b,0x57,0x00,0x00, 0x13,0x68,0x00,0x00,0xc5,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xef,0x7a,0x00,0x00,0x99,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0x3a,0x4e,0x00,0x00,0xa8,0x52,0x00,0x00,0x3f,0x65,0x00,0x00, 0xc5,0x60,0x00,0x00,0x7f,0x95,0x00,0x00,0x76,0x9a,0x00,0x00,0x0b,0x7a,0x00,0x00,0x1f,0x66,0x00,0x00, 0x7f,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x1f,0x75,0xc1,0x54,0x00,0x00,0x1f,0x75, 0x69,0x72,0x00,0x00,0x04,0x5c,0x00,0x00,0x38,0x4f,0x00,0x00,0x16,0x53,0x00,0x00,0xd8,0x53,0x00,0x00, 0x1f,0x75,0x27,0x60,0x00,0x00,0x87,0x65,0x00,0x00,0x23,0x57,0x6c,0x51,0x00,0x00,0x07,0x00,0x00,0x00, 0xa5,0x63,0x00,0x00,0x9a,0x67,0x00,0x00,0x7d,0x54,0x00,0x00,0xa5,0x63,0x1f,0x67,0x00,0x00,0xc1,0x94, 0x00,0x00,0xa4,0x51,0x00,0x00,0x7d,0x54,0x01,0x63,0x82,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x90, 0x00,0x00,0x34,0x59,0x00,0x00,0x0a,0x4e,0x00,0x00,0x3a,0x53,0x00,0x00,0x4a,0x57,0x00,0x00,0x6f,0x66, 0x00,0x00,0x62,0x97,0x00,0x00,0xf7,0x5d,0x00,0x00,0x34,0x59,0xf7,0x5d,0x3e,0x5c,0x00,0x00,0x47,0x95, 0x00,0x00,0x05,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x72,0x7f,0x00,0x00,0xe8,0x95,0xe3,0x53,0x00,0x00, 0x79,0x5f,0x00,0x00,0x85,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x91,0x00,0x00,0x33,0x96,0x00,0x00, 0x34,0x6c,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x71,0x5c,0x00,0x00,0x34,0x6c,0x02,0x5e,0x00,0x00, 0x57,0x53,0xbf,0x53,0x00,0x00,0x1c,0x4e,0xbf,0x53,0x00,0x00,0x71,0x5c,0xef,0x8d,0x00,0x00,0x33,0x96, 0xbf,0x53,0x00,0x00,0x08,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x5f,0x6c, 0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0xde,0x5d,0xd9,0x7a,0x00,0x00,0xde,0x5d, 0x66,0x5b,0x62,0x96,0x00,0x00,0xae,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x67,0x00,0x00,0x69,0x72, 0x00,0x00,0xdc,0x67,0x00,0x00,0x40,0x77,0x00,0x00,0xdf,0x98,0x00,0x00,0xdf,0x98,0x4f,0x4f,0x4c,0x88, 0x00,0x00,0x71,0x6a,0x00,0x00,0xe4,0x88,0x00,0x00,0xf3,0x88,0x00,0x00,0x6b,0x88,0x00,0x00,0x0a,0x00, 0x00,0x00,0x34,0x8d,0x00,0x00,0x45,0x51,0x00,0x00,0x7f,0x50,0x00,0x00,0xa9,0x52,0x00,0x00,0x40,0x88, 0x00,0x00,0xd9,0x7e,0x00,0x00,0x7f,0x50,0x3e,0x6b,0x00,0x00,0x51,0x65,0x00,0x00,0xcc,0x8d,0x00,0x00, 0x01,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x79,0x00,0x00,0xb0,0x73,0x00,0x00,0x0e,0x66,0x00,0x00, 0xbe,0x8f,0x00,0x00,0x62,0x97,0x00,0x00,0x01,0x60,0x00,0x00,0x14,0x6f,0x00,0x00,0xf0,0x8f,0x00,0x00, 0xc5,0x60,0x00,0x00,0xb3,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x6b,0x88,0x00,0x00,0x63,0x88,0x00,0x00, 0x58,0x62,0x00,0x00,0xcc,0x91,0x00,0x00,0xbf,0x7e,0x00,0x00,0xab,0x57,0x00,0x00,0x0c,0x78,0x00,0x00, 0xe4,0x88,0x00,0x00,0xd9,0x88,0x00,0x00,0x95,0x5e,0x00,0x00,0x04,0x00,0x00,0x00,0x0d,0x67,0x00,0x00, 0x6e,0x88,0xf8,0x8b,0x6c,0x51,0x00,0x00,0xde,0x5d,0x00,0x00,0x6e,0x88,0x00,0x00,0x0a,0x00,0x00,0x00, 0x00,0x90,0x00,0x00,0x01,0x80,0x00,0x00,0xed,0x7a,0x00,0x00,0x3d,0x84,0x00,0x00,0xcf,0x51,0x00,0x00, 0x31,0x5f,0x00,0x00,0x25,0x8d,0x00,0x00,0xd8,0x53,0x00,0x00,0xa1,0x4e,0x00,0x00,0xae,0x5f,0x00,0x00, 0x05,0x00,0x00,0x00,0xc3,0x5f,0x00,0x00,0xa0,0x80,0x00,0x00,0xc5,0x60,0x00,0x00,0x31,0x72,0x00,0x00, 0xf2,0x66,0x00,0x00,0x01,0x00,0x00,0x00,0x69,0x88,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x53, 0xb3,0x5b,0x00,0x00,0x16,0x4e,0xef,0x51,0x00,0x00,0x27,0x59,0x34,0x59,0x00,0x00,0xcd,0x7e,0x00,0x00, 0xb6,0x5b,0x4c,0x75,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0x8f,0x54,0xea,0x4e,0x00,0x00,0xde,0x5d, 0x00,0x00,0xb6,0x5b,0x97,0x5c,0x00,0x00,0x9a,0x67,0x00,0x00,0x02,0x00,0x00,0x00,0x59,0x65,0x00,0x00, 0x50,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x85,0x88,0x00,0x00,0x1c,0x5a,0x00,0x00,0xd5,0x7e,0x00,0x00, 0x85,0x88,0x77,0x5a,0x77,0x5a,0x00,0x00,0x01,0x00,0x00,0x00,0xdf,0x88,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0xc5,0x88,0x00,0x00,0x20,0x9f,0x00,0x00,0x2d,0x4e,0x00,0x00,0xe3,0x53,0x00,0x00, 0x8a,0x71,0x00,0x00,0x20,0x9f,0xfd,0x56,0x00,0x00,0x7e,0x73,0x00,0x00,0x8b,0x88,0x00,0x00,0xfc,0x72, 0x00,0x00,0x06,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xe5,0x54,0x00,0x00,0x5f,0x6c,0x00,0x00,0xfd,0x6c, 0x00,0x00,0x37,0x8c,0x00,0x00,0x0f,0x7b,0x7b,0x76,0x3a,0x57,0x00,0x00,0x09,0x00,0x00,0x00,0xa4,0x62, 0x00,0x00,0x32,0x97,0x00,0x00,0xf8,0x80,0x00,0x00,0xfc,0x88,0x00,0x00,0x87,0x5e,0x00,0x00,0x8a,0x81, 0x00,0x00,0x1a,0x7f,0x00,0x00,0x4d,0x51,0x00,0x00,0x63,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x73, 0x00,0x00,0x50,0x5b,0x00,0x00,0x4b,0x62,0xc1,0x65,0xc2,0x89,0x00,0x00,0xe3,0x53,0x00,0x00,0x4b,0x62, 0x00,0x00,0x07,0x68,0x00,0x00,0xe0,0x7a,0x00,0x00,0x63,0x62,0x00,0x00,0x57,0x59,0x00,0x00,0xa1,0x7b, 0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x1a,0x4e,0x00,0x00,0x57,0x59,0x00,0x00,0xe4,0x88, 0x00,0x00,0x9c,0x88,0x00,0x00,0x52,0x7b,0x00,0x00,0x26,0x5e,0x00,0x00,0x66,0x69,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x4a,0x54,0xba,0x4e,0x00,0x00,0xeb,0x8f,0x00,0x00, 0x4a,0x54,0x00,0x00,0xa8,0x52,0x00,0x00,0xb3,0x5b,0xba,0x4e,0x00,0x00,0x55,0x63,0x00,0x00,0xd7,0x76, 0x00,0x00,0x50,0x5b,0x00,0x00,0xdd,0x4f,0x69,0x96,0xba,0x4e,0x00,0x00,0x57,0x59,0x00,0x00,0x0a,0x00, 0x00,0x00,0xfb,0x51,0x00,0x00,0xfb,0x51,0x05,0x80,0x00,0x00,0x66,0x8b,0x00,0x00,0x70,0x62,0x00,0x00, 0xfb,0x51,0x48,0x68,0x00,0x00,0x66,0x8b,0x48,0x68,0x00,0x00,0xf8,0x80,0x00,0x00,0xd6,0x53,0x00,0x00, 0xf4,0x81,0x00,0x00,0x60,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xec,0x4e,0x00,0x00,0x01,0x00,0x00,0x00, 0x6b,0x89,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x84,0x88,0x00,0x00, 0x01,0x00,0x00,0x00,0x19,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54,0x00,0x00,0x9a,0x5b,0x00,0x00, 0xb3,0x51,0x00,0x00,0x24,0x52,0x00,0x00,0xcf,0x51,0x00,0x00,0xcf,0x91,0x00,0x00,0x9a,0x5b,0x66,0x4e, 0x00,0x00,0x24,0x52,0x58,0x54,0x00,0x00,0x9b,0x51,0x00,0x00,0xa4,0x64,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1d,0x7f,0x00,0x00,0xd5,0x75,0x00,0x00,0xb9,0x7e,0x00,0x00,0x00,0x5f,0x00,0x00,0xd8,0x53,0x00,0x00, 0xe3,0x53,0x00,0x00,0xe3,0x89,0x00,0x00,0x99,0x96,0x00,0x00,0x37,0x8c,0x00,0x00,0x16,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0x07,0x59,0x00,0x00,0xee,0x4f,0x00,0x00,0x6e,0x7f,0x00,0x00,0x70,0x99,0x00,0x00, 0x09,0x67,0x00,0x00,0x3a,0x67,0x00,0x00,0x7d,0x8f,0x00,0x00,0x32,0x75,0x00,0x00,0x3a,0x67,0xb9,0x5b, 0xcf,0x91,0x00,0x00,0x62,0x6f,0x00,0x00,0x02,0x00,0x00,0x00,0xe8,0x90,0x00,0x00,0xfd,0x56,0x00,0x00, 0x02,0x00,0x00,0x00,0x1a,0x59,0xca,0x76,0xe1,0x5b,0x00,0x00,0x5b,0x65,0xe0,0x65,0x8c,0x53,0x00,0x00, 0x01,0x00,0x00,0x00,0xc4,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x79,0x00,0x00,0x30,0x4e,0x00,0x00, 0x74,0x51,0x00,0x00,0x86,0x96,0x00,0x00,0x4e,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x11,0x6c,0x00,0x00, 0xca,0x5e,0x00,0x00,0x43,0x51,0x00,0x00,0xc1,0x4e,0x00,0x00,0x02,0x00,0x00,0x00,0xae,0x76,0x00,0x00, 0xa8,0x99,0x0f,0x6c,0x8c,0x80,0x89,0x80,0x0e,0x84,0x29,0x7f,0xc7,0x75,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x26,0x5e,0x00,0x00,0x26,0x5e,0x73,0x51,0xfb,0x7c,0x00,0x00,0x7c,0x69,0x00,0x00, 0x46,0x64,0x00,0x00,0xc5,0x88,0x00,0x00,0x95,0x5e,0x00,0x00,0xb9,0x8f,0x00,0x00,0xfe,0x88,0x00,0x00, 0x3f,0x62,0x00,0x00,0x01,0x00,0x00,0x00,0x7d,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0xc6,0x88,0x00,0x00,0x69,0x88,0x00,0x00,0x70,0x81,0x26,0x5e,0x00,0x00,0x7f,0x81,0x00,0x00,0x5c,0x51, 0x00,0x00,0x26,0x5e,0x00,0x00,0x8b,0x88,0x00,0x00,0x1a,0x81,0x00,0x00,0xe4,0x88,0x00,0x00,0x03,0x00, 0x00,0x00,0xca,0x76,0x00,0x00,0x06,0x5c,0x00,0x00,0x65,0x88,0x00,0x00,0x04,0x00,0x00,0x00,0xb1,0x82, 0x00,0x00,0xca,0x7c,0x00,0x00,0x19,0x89,0x00,0x00,0xcc,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0x4e,0x6d, 0x00,0x00,0xde,0x56,0x00,0x00,0x18,0x52,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x97,0x00,0x00, 0x53,0x4f,0x00,0x00,0x54,0x59,0x00,0x00,0x67,0x71,0x00,0x00,0x61,0x77,0x00,0x00,0x3a,0x67,0x00,0x00, 0x5a,0x5a,0x00,0x00,0xf3,0x6c,0x00,0x00,0x3c,0x77,0x00,0x00,0xbb,0x94,0x00,0x00,0x0a,0x00,0x00,0x00, 0x1f,0x63,0x00,0x00,0xb3,0x8d,0x0d,0x4e,0x4d,0x52,0x00,0x00,0x1a,0x81,0x03,0x5e,0x00,0x00,0x38,0x5c, 0x03,0x5e,0x00,0x00,0x1a,0x81,0x00,0x00,0xc1,0x80,0x00,0x00,0x7f,0x81,0x00,0x00,0x71,0x4e,0x00,0x00, 0x05,0x53,0x00,0x00,0x38,0x5c,0x6c,0x9a,0x69,0x97,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x6b,0x88,0x00,0x00,0x02,0x00,0x00,0x00,0xed,0x72,0x00,0x00,0x25,0x60,0x00,0x00,0x0a,0x00,0x00,0x00, 0x72,0x82,0x00,0x00,0xae,0x76,0x66,0x4e,0x00,0x00,0x64,0x71,0x00,0x00,0xd8,0x53,0x00,0x00,0xee,0x77, 0x1f,0x66,0x00,0x00,0xa2,0x7e,0x72,0x82,0x00,0x00,0x6c,0x9a,0x21,0x9e,0x00,0x00,0x32,0x75,0x15,0x88, 0x6b,0x86,0x00,0x00,0x28,0x67,0x90,0x5e,0x00,0x00,0xd5,0x68,0x72,0x82,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2c,0x8d,0x0d,0x4e,0x00,0x4e,0x00,0x00,0x56,0x59,0x00,0x00,0x6c,0x62,0x00,0x00,0x2c,0x8d,0x00,0x00, 0x49,0x4e,0x00,0x00,0x49,0x4e,0xcd,0x8b,0x00,0x00,0x64,0x60,0x00,0x00,0x85,0x79,0x71,0x5c,0x00,0x00, 0x05,0x80,0x00,0x00,0xe0,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0xc6,0x59,0x00,0x00,0x01,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0xba,0x4e,0xb7,0x83,0x00,0x00,0x10,0x89,0x72,0x82,0x00,0x00, 0x01,0x00,0x00,0x00,0xe6,0x7e,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xe2,0x88,0x00,0x00,0x04,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0xae,0x75,0x00,0x00,0x55,0x53,0x00,0x00,0x57,0x59,0x00,0x00,0x08,0x00, 0x00,0x00,0x72,0x82,0x00,0x00,0xd1,0x9e,0x20,0x7d,0x00,0x00,0xbb,0x53,0x00,0x00,0xdb,0x6b,0x00,0x00, 0x49,0x51,0x00,0x00,0x3d,0x5c,0x00,0x00,0x57,0x59,0x3f,0x51,0x00,0x00,0x0b,0x4e,0x00,0x00,0x01,0x00, 0x00,0x00,0x3a,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0x1b,0x89,0x00,0x00,0x1b,0x89,0x0d,0x4e,0x2a,0x58, 0x00,0x00,0x08,0x00,0x00,0x00,0xb1,0x76,0x00,0x00,0x50,0x5b,0x00,0x00,0xf2,0x66,0x00,0x00,0xd5,0x75, 0x00,0x00,0x1d,0x7f,0x00,0x00,0xb1,0x76,0x71,0x5c,0xfb,0x7c,0x00,0x00,0xb1,0x76,0x71,0x5c,0x09,0x81, 0x00,0x00,0x50,0x5b,0x86,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x13,0x89,0x00,0x00,0x0a,0x00,0x00,0x00, 0x33,0x96,0x00,0x00,0x0a,0x6a,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0x0a,0x6a,0x02,0x5e,0x00,0x00, 0x7e,0x6c,0xbf,0x53,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x7e,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00, 0xa3,0x57,0xbf,0x53,0x00,0x00,0xa3,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0xab,0x88,0x00,0x00,0x0a,0x00, 0x00,0x00,0xfc,0x7f,0x00,0x00,0x00,0x60,0x00,0x00,0x00,0x60,0x66,0x57,0x7d,0x76,0x00,0x00,0xb1,0x62, 0x00,0x00,0xa6,0x5e,0x00,0x00,0xe0,0x7a,0x00,0x00,0x4d,0x52,0x00,0x00,0x1f,0x5f,0x00,0x00,0x5f,0x6c, 0x26,0x5e,0x56,0x6e,0x00,0x00,0xea,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x65,0x00,0x00,0xed,0x73, 0x59,0x72,0x00,0x00,0xe8,0x90,0x00,0x00,0x89,0x5b,0x00,0x00,0xcf,0x85,0x00,0x00,0x57,0x53,0x00,0x00, 0x17,0x53,0x00,0x00,0xdc,0x74,0x00,0x00,0xa2,0x7e,0xff,0x67,0x00,0x00,0x17,0x53,0xe8,0x90,0x00,0x00, 0x0a,0x00,0x00,0x00,0x42,0x6c,0x00,0x00,0x2f,0x66,0x00,0x00,0x48,0x4e,0x00,0x00,0x20,0x7d,0x00,0x00, 0xa6,0x7e,0x00,0x00,0xb9,0x70,0x00,0x00,0x7d,0x54,0x00,0x00,0x0d,0x4e,0x00,0x00,0x0d,0x4e,0x36,0x71, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x58,0x58,0x3a,0x53,0x00,0x00,0x58,0x58,0x00,0x00, 0x2c,0x7b,0x00,0x00,0x14,0x78,0xbe,0x7c,0x1d,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xd6,0x76,0x00,0x00, 0xd6,0x76,0x87,0x73,0x00,0x00,0xd6,0x76,0x62,0x97,0x00,0x00,0x99,0x8f,0x00,0x00,0x6d,0x70,0x00,0x00, 0xb0,0x51,0x00,0x00,0xc6,0x76,0x50,0x5b,0x00,0x00,0x9c,0x81,0x00,0x00,0xd6,0x76,0xa6,0x5e,0x00,0x00, 0x34,0x6c,0xbe,0x96,0x36,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0x62,0x97,0x00,0x00, 0xc1,0x8b,0x00,0x00,0x60,0x4e,0x00,0x00,0xe3,0x89,0x00,0x00,0x49,0x4e,0xc7,0x52,0x3a,0x4e,0x00,0x00, 0xc6,0x8b,0x00,0x00,0x48,0x65,0x00,0x00,0x62,0x97,0x1a,0x4f,0x00,0x00,0xb6,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb9,0x70,0x00,0x00,0xdf,0x5b,0x00,0x00,0x17,0x4f,0x00,0x00,0xf5,0x5f,0x00,0x00,0x1b,0x67, 0x00,0x00,0x0b,0x77,0x00,0x00,0x4b,0x6d,0x00,0x00,0xf3,0x97,0x00,0x00,0x49,0x51,0x00,0x00,0xdf,0x5b, 0x58,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x21,0x6a,0x00,0x00,0x12,0x52,0x00,0x00, 0x03,0x83,0x00,0x00,0x19,0x52,0x00,0x00,0x8b,0x5f,0x00,0x00,0x7f,0x90,0x00,0x00,0x3c,0x68,0x00,0x00, 0x21,0x6a,0x16,0x53,0x00,0x00,0x03,0x83,0x16,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0xdf,0x98,0x00,0x00, 0x42,0x6c,0x00,0x00,0xc5,0x89,0x00,0x00,0xd6,0x53,0x00,0x00,0xdf,0x98,0x4c,0x88,0x3a,0x4e,0x00,0x00, 0xe5,0x53,0x00,0x00,0x50,0x5b,0x97,0x5e,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x91,0x98,0x00,0x00, 0x3a,0x4e,0x00,0x00,0xce,0x91,0x00,0x00,0xc9,0x89,0x00,0x00,0xdf,0x5b,0x00,0x00,0x9b,0x52,0x00,0x00, 0xd2,0x89,0x00,0x00,0xbf,0x7e,0x00,0x00,0x5c,0x4f,0x00,0x00,0x2c,0x54,0x00,0x00,0x01,0x00,0x00,0x00, 0x07,0x68,0x00,0x00,0x02,0x00,0x00,0x00,0xdc,0x80,0x00,0x00,0xe4,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0x97,0x5f,0x00,0x00,0x9f,0x60,0x00,0x00,0x92,0x91,0x00,0x00,0xdf,0x5b,0x00,0x00,0xe5,0x77,0x00,0x00, 0x40,0x77,0x00,0x00,0x27,0x60,0x00,0x00,0xd7,0x53,0x00,0x00,0x67,0x71,0x00,0x00,0xc3,0x5f,0x00,0x00, 0x01,0x00,0x00,0x00,0xce,0x89,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0x01,0x00,0x00,0x00, 0x9c,0x98,0x00,0x00,0x01,0x00,0x00,0x00,0xc1,0x89,0x00,0x00,0x09,0x00,0x00,0x00,0xc6,0x89,0x00,0x00, 0x3a,0x67,0x1a,0x4f,0x00,0x00,0x40,0x77,0x3c,0x77,0x00,0x00,0x65,0x6b,0x00,0x00,0x08,0x54,0x00,0x00, 0xfd,0x5f,0x00,0x00,0xca,0x7c,0x00,0x00,0xa5,0x7a,0x00,0x00,0xd1,0x89,0x3c,0x77,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa6,0x5e,0x00,0x00,0x72,0x82,0x00,0x00,0x3d,0x84,0x00,0x00,0x10,0x90,0x00,0x00,0x28,0x8d, 0x00,0x00,0x9c,0x81,0x00,0x00,0x28,0x8d,0x42,0x5c,0x00,0x00,0x9b,0x52,0x00,0x00,0xa8,0x52,0xcf,0x91, 0x00,0x00,0x72,0x82,0x6e,0x62,0x14,0x6f,0x38,0x6e,0x0f,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0xbf,0x5b, 0x00,0x00,0x35,0x88,0x00,0x00,0xfd,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xb3,0x51,0x00,0x00,0xca,0x91, 0x00,0x00,0xfb,0x8b,0x00,0x00,0x81,0x79,0x00,0x00,0x64,0x96,0x00,0x00,0x3e,0x65,0x00,0x00,0x3e,0x65, 0x9b,0x51,0x00,0x00,0x54,0x7b,0x00,0x00,0x31,0x81,0x00,0x00,0xf4,0x8b,0x00,0x00,0x01,0x00,0x00,0x00, 0x79,0x7b,0xa4,0x4e,0x19,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0xca,0x53,0x00,0x00,0xd1,0x53,0x00,0x00, 0x95,0x5e,0x00,0x00,0xaf,0x72,0x00,0x00,0xa8,0x52,0x00,0x00,0x78,0x64,0x00,0x00,0x78,0x64,0x4f,0x5c, 0x00,0x00,0xb0,0x78,0x00,0x00,0xee,0x76,0xca,0x60,0xc3,0x5f,0x00,0x00,0xd2,0x89,0x00,0x00,0x02,0x00, 0x00,0x00,0xe5,0x7b,0x00,0x00,0x17,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x8b,0x00,0x00,0xed,0x8b, 0x00,0x00,0x4c,0x88,0x00,0x00,0x9e,0x8f,0x00,0x00,0xf4,0x8b,0x00,0x00,0x08,0x8c,0x00,0x00,0x0b,0x4e, 0x4b,0x4e,0x0f,0x61,0x00,0x00,0x4b,0x4e,0xff,0x51,0xff,0x51,0x00,0x00,0xc7,0x8f,0x76,0x51,0x9e,0x5b, 0x00,0x00,0xcd,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x03,0x00,0x00,0x00,0x0e,0x66, 0x00,0x00,0x6e,0x63,0x00,0x00,0x9e,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xae,0x8b,0x00,0x00,0x02,0x00, 0x00,0x00,0x82,0x9a,0x00,0x00,0xcd,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x59,0x00,0x00,0xc6,0x59, 0xaf,0x65,0x00,0x00,0xc6,0x59,0xeb,0x58,0x00,0x00,0xee,0x68,0x00,0x00,0xae,0x59,0x17,0x5f,0x00,0x00, 0xae,0x59,0x00,0x00,0x29,0x59,0x51,0x4f,0x00,0x00,0x73,0x7c,0x00,0x00,0xc6,0x59,0xaf,0x65,0x93,0x5e, 0x4b,0x51,0x27,0x59,0x66,0x5b,0x00,0x00,0x5f,0x6c,0x03,0x5e,0x14,0x5c,0x00,0x00,0x03,0x00,0x00,0x00, 0x3a,0x4e,0x00,0x00,0xe1,0x6e,0x68,0x51,0x03,0x74,0x00,0x00,0xf0,0x79,0x00,0x00,0x05,0x00,0x00,0x00, 0x99,0x51,0x00,0x00,0x55,0x5f,0x00,0x00,0x05,0x6e,0x00,0x00,0x99,0x51,0x48,0x72,0x00,0x00,0xc4,0x9e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0x3f,0x61,0x00,0x00,0x7b,0x6b,0x00,0x00,0x08,0x5e, 0x00,0x00,0xcd,0x8b,0x00,0x00,0xa6,0x7e,0x00,0x00,0x5c,0x4f,0x00,0x00,0x7b,0x6b,0x0d,0x4e,0xce,0x4e, 0x00,0x00,0x0d,0x4e,0x24,0x4e,0xcb,0x7a,0x00,0x00,0x7b,0x6b,0x0d,0x4e,0x4d,0x96,0x00,0x00,0x01,0x00, 0x00,0x00,0x99,0x8a,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x65,0x00,0x00,0xdf,0x5b,0x00,0x00,0x4a,0x54, 0x00,0x00,0xd5,0x60,0x00,0x00,0x3a,0x79,0x00,0x00,0x12,0x62,0x00,0x00,0x66,0x8f,0x00,0x00,0x98,0x5b, 0x00,0x00,0xa5,0x62,0x00,0x00,0x9b,0x52,0x00,0x00,0x04,0x00,0x00,0x00,0x82,0x59,0x00,0x00,0xbb,0x55, 0x00,0x00,0x82,0x59,0xf4,0x8b,0x00,0x00,0xb9,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0xf9,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0x12,0x52,0x00,0x00,0x97,0x7b,0x00,0x00,0x97,0x7b,0x3a,0x67,0x00,0x00,0x12,0x52, 0x1f,0x75,0xb2,0x80,0x00,0x00,0xcf,0x91,0x00,0x00,0x1f,0x75,0x00,0x00,0x1f,0x75,0xd4,0x59,0x00,0x00, 0xd0,0x63,0x00,0x00,0xf7,0x4e,0x00,0x00,0x83,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x53,0x00,0x00, 0x2d,0x8d,0x00,0x00,0x05,0x96,0x00,0x00,0xcb,0x7a,0x00,0x00,0x27,0x8d,0x00,0x00,0x55,0x53,0xcf,0x91, 0x00,0x00,0x36,0x52,0x00,0x00,0xd1,0x91,0x00,0x00,0x5a,0x5a,0x00,0x00,0x27,0x8d,0x1a,0x4f,0x00,0x00, 0x02,0x00,0x00,0x00,0x4a,0x54,0x00,0x00,0xfb,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00, 0xc6,0x8b,0x00,0x00,0x9a,0x5b,0x00,0x00,0x1f,0x77,0x00,0x00,0xef,0x53,0x00,0x00,0xc1,0x8b,0x00,0x00, 0x2d,0x8d,0x00,0x00,0x0c,0x54,0x00,0x00,0xe5,0x77,0x00,0x00,0x6a,0x7f,0x00,0x00,0x08,0x00,0x00,0x00, 0xbd,0x8b,0x00,0x00,0x11,0x7b,0x00,0x00,0xc1,0x6b,0x00,0x00,0xee,0x8b,0x00,0x00,0x3a,0x52,0x00,0x00, 0x32,0x56,0x00,0x00,0x84,0x85,0x00,0x00,0xbd,0x8b,0x11,0x63,0x3a,0x52,0x05,0x80,0x00,0x00,0x0a,0x00, 0x00,0x00,0xba,0x8b,0x00,0x00,0x8c,0x53,0x00,0x00,0xf7,0x4e,0xd8,0x8f,0xf7,0x4e,0x00,0x00,0x7d,0x59, 0x00,0x00,0xaa,0x85,0x00,0x00,0x3a,0x50,0x00,0x00,0xba,0x8b,0x1a,0x4f,0x00,0x00,0x10,0x4f,0x00,0x00, 0xba,0x8b,0x3f,0x7a,0x00,0x00,0xba,0x4e,0x9c,0x55,0x22,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x6b, 0x00,0x00,0x29,0x52,0x00,0x00,0xa7,0x5e,0x00,0x00,0x4d,0x4f,0x00,0x00,0xd9,0x7e,0x00,0x00,0x21,0x6e, 0x00,0x00,0xef,0x8d,0x00,0x00,0x8b,0x73,0x00,0x00,0xfa,0x51,0x00,0x00,0x53,0x90,0x00,0x00,0x03,0x00, 0x00,0x00,0xaa,0x8b,0x00,0x00,0x11,0x7b,0x00,0x00,0x38,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0xd8,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0xc3,0x7e,0x00,0x00,0xc3,0x7e,0x25,0x84,0x00,0x00,0xc3,0x7e,0x3a,0x57, 0x00,0x00,0xa5,0x65,0x00,0x00,0xc3,0x7e,0x09,0x67,0x20,0x7d,0x00,0x00,0xeb,0x8b,0x00,0x00,0xdd,0x8b, 0x00,0x00,0xc3,0x7e,0x30,0x82,0x00,0x00,0xc3,0x7e,0xed,0x73,0x00,0x00,0xfc,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1a,0x4f,0x00,0x00,0x58,0x54,0x00,0x00,0x48,0x68,0x00,0x00,0x98,0x98,0x00,0x00,0x7f,0x95, 0x00,0x00,0xba,0x8b,0x00,0x00,0xf7,0x4e,0x00,0x00,0x0b,0x7a,0x00,0x00,0x2d,0x5e,0x00,0x00,0x6f,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0x6f,0x60,0x00,0x00,0xf7,0x53,0x00,0x00,0xee,0x95, 0xa4,0x5b,0x00,0x00,0x1f,0x9e,0x00,0x00,0x9e,0x5b,0x00,0x00,0x46,0x68,0x2d,0x4e,0xe7,0x7e,0x00,0x00, 0x2f,0x6e,0x00,0x00,0xd1,0x79,0x00,0x00,0x6f,0x60,0x20,0x4f,0x12,0x90,0x2d,0x4e,0xcb,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0x55,0x5f,0x00,0x00,0x97,0x5f,0x00,0x00,0xc6,0x5f,0x00,0x00, 0x7d,0x8f,0x00,0x00,0x05,0x80,0x1a,0x4f,0x00,0x00,0x4f,0x4f,0x00,0x00,0xc6,0x5f,0x9b,0x52,0x00,0x00, 0x26,0x8d,0x00,0x00,0xc6,0x5f,0xb9,0x72,0xb0,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xdd,0x8b,0x00,0x00, 0xf0,0x8f,0x00,0x00,0xa7,0x5e,0x00,0x00,0x76,0x7a,0x00,0x00,0xe3,0x89,0x00,0x00,0x08,0x5e,0x00,0x00, 0xfe,0x8b,0x00,0x00,0xf0,0x53,0x00,0x00,0xb2,0x8b,0x00,0x00,0x88,0x63,0x00,0x00,0x08,0x00,0x00,0x00, 0x00,0x8a,0x00,0x00,0xab,0x83,0x82,0x59,0xf1,0x6d,0x00,0x00,0xbe,0x75,0xcc,0x5f,0x3b,0x53,0x00,0x00, 0xcc,0x5f,0x00,0x00,0xf0,0x79,0x00,0x00,0xbe,0x75,0x00,0x00,0x0d,0x54,0x00,0x00,0xc5,0x75,0xcc,0x5f, 0x3b,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x4c,0x6b,0x00,0x00,0x1f,0x54,0x00,0x00,0x02,0x00,0x00,0x00, 0x02,0x5f,0x00,0x00,0x36,0x71,0x8e,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0xb3,0x6c,0x00,0x00,0xb3,0x6c, 0x02,0x5e,0x00,0x00,0xb7,0x8b,0x00,0x00,0xa9,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x59,0x00,0x00, 0xef,0x53,0x00,0x00,0xef,0x53,0xc1,0x8b,0x00,0x00,0xfa,0x8b,0x00,0x00,0x45,0x4e,0x00,0x00,0xd0,0x67, 0x00,0x00,0xb6,0x5b,0x00,0x00,0xb8,0x8b,0x1a,0x59,0x1a,0x59,0x00,0x00,0x0c,0x66,0x00,0x00,0x3f,0x61, 0x00,0x00,0x07,0x00,0x00,0x00,0xc8,0x8b,0x00,0x00,0x20,0x4f,0x00,0x00,0xef,0x8b,0x00,0x00,0xf0,0x79, 0x00,0x00,0x2c,0x8c,0x00,0x00,0xba,0x4e,0x00,0x00,0x57,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x5b,0x57, 0x00,0x00,0x87,0x65,0x00,0x00,0xc1,0x8b,0x00,0x00,0xf0,0x8f,0x00,0x00,0x03,0x8c,0x00,0x00,0xed,0x8b, 0x00,0x00,0xad,0x65,0x00,0x00,0xb9,0x70,0x00,0x00,0x6e,0x63,0x00,0x00,0x18,0x62,0x00,0x00,0x07,0x00, 0x00,0x00,0xd5,0x6c,0xad,0x5e,0x00,0x00,0xc9,0x8b,0x00,0x00,0x89,0x4e,0x00,0x00,0xcd,0x68,0x00,0x00, 0x48,0x68,0x00,0x00,0x08,0x5e,0x00,0x00,0x8b,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x3a,0x52,0x00,0x00, 0xf5,0x8b,0x00,0x00,0x3a,0x52,0x27,0x60,0x00,0x00,0xbb,0x55,0x00,0x00,0x0f,0x8c,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa1,0x8b,0x00,0x00,0x07,0x59,0x00,0x00,0xbd,0x65,0x00,0x00,0xcb,0x7a,0x00,0x00,0x6e,0x7f, 0x00,0x00,0x9a,0x5b,0x00,0x00,0xa1,0x8b,0x08,0x5e,0x00,0x00,0xf3,0x60,0x00,0x00,0x09,0x67,0x00,0x00, 0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0x08,0x8c,0x00,0x00,0x4e,0x53,0x00,0x00, 0xee,0x95,0xcf,0x91,0x00,0x00,0xa2,0x5b,0x00,0x00,0xee,0x95,0x05,0x80,0x00,0x00,0xee,0x95,0xe2,0x56, 0x00,0x00,0x11,0x6c,0x00,0x00,0x08,0x8c,0x55,0x5f,0x00,0x00,0xcb,0x53,0x00,0x00,0x03,0x00,0x00,0x00, 0x8d,0x7a,0x00,0x00,0x2b,0x52,0x00,0x00,0x81,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x52,0x00,0x00, 0x0e,0x66,0x00,0x00,0xd1,0x76,0x1a,0x4f,0x00,0x00,0x6e,0x63,0x00,0x00,0x9e,0x5b,0x00,0x00,0x66,0x4e, 0x00,0x00,0xf6,0x4e,0x00,0x00,0x38,0x52,0x16,0x53,0x00,0x00,0xba,0x4e,0x00,0x00,0xd1,0x76,0x40,0x5c, 0x00,0x00,0x02,0x00,0x00,0x00,0xa5,0x65,0x00,0x00,0xf1,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x4f, 0x00,0x00,0xa7,0x7e,0x00,0x00,0xba,0x8b,0x00,0x00,0xf7,0x4e,0x00,0x00,0x09,0x90,0x00,0x00,0xa1,0x5b, 0x00,0x00,0xba,0x8b,0x58,0x54,0x00,0x00,0x3a,0x4e,0x00,0x00,0xd4,0x59,0x00,0x00,0x9a,0x5b,0x00,0x00, 0x01,0x00,0x00,0x00,0x92,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x52,0x00,0x00,0x57,0x5b,0x00,0x00, 0x34,0x78,0x00,0x00,0x27,0x8d,0x00,0x00,0x2b,0x52,0x01,0x78,0x00,0x00,0xc3,0x5f,0x00,0x00,0x74,0x85, 0x00,0x00,0x05,0x80,0x00,0x00,0x2b,0x52,0x87,0x73,0x00,0x00,0x34,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0x97,0x9a,0x00,0x00,0x97,0x9a,0x6a,0x7f,0x00,0x00,0x97,0x9a,0x48,0x68,0x00,0x00,0x3a,0x6b,0x00,0x00, 0x50,0x63,0x00,0x00,0x97,0x9a,0x05,0x80,0x00,0x00,0x97,0x9a,0xaf,0x72,0x00,0x00,0x38,0x5c,0x00,0x00, 0xd6,0x53,0x00,0x00,0x86,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0xbc,0x8b,0x00,0x00,0x42,0x6c,0x00,0x00, 0xf8,0x8b,0x00,0x00,0xb6,0x72,0x00,0x00,0xf4,0x8b,0x00,0x00,0xf3,0x81,0x00,0x00,0xbc,0x8b,0x48,0x68, 0x00,0x00,0xe6,0x82,0x00,0x00,0xbc,0x8b,0xd5,0x6c,0x00,0x00,0xbc,0x8b,0x39,0x8d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xad,0x65,0x00,0x00,0x97,0x75,0x00,0x00,0x40,0x62,0x00,0x00,0xbb,0x6c,0x00,0x00,0xa4,0x5b, 0x00,0x00,0x97,0x75,0x39,0x8d,0x00,0x00,0x97,0x75,0xa4,0x5b,0x00,0x00,0xad,0x65,0x66,0x4e,0x00,0x00, 0xe5,0x67,0x39,0x8d,0x00,0x00,0xdf,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xc1,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x47,0x6c,0x00,0x00,0xed,0x8b,0x00,0x00,0x78,0x51,0x00,0x00,0x61,0x67,0x00,0x00,0x38,0x97, 0x00,0x00,0xe5,0x53,0x00,0x00,0xf2,0x66,0x00,0x00,0x39,0x68,0x00,0x00,0x3f,0x51,0x00,0x00,0xc4,0x7e, 0x00,0x00,0x06,0x00,0x00,0x00,0x66,0x4e,0x00,0x00,0xe4,0x4e,0x00,0x00,0x89,0x5b,0x00,0x00,0x89,0x5b, 0xbf,0x53,0x00,0x00,0xe8,0x65,0x00,0x00,0x3a,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00, 0x87,0x65,0x00,0x00,0x2c,0x67,0x00,0x00,0x0d,0x54,0x00,0x00,0xcf,0x7e,0x00,0x00,0x5c,0x4f,0x00,0x00, 0xe8,0x6c,0x00,0x00,0xd5,0x6c,0x00,0x00,0x57,0x84,0x00,0x00,0xf3,0x97,0x00,0x00,0x01,0x00,0x00,0x00, 0x97,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0xfe,0x56,0x00,0x00,0x8c,0x9a,0x00,0x00, 0xd5,0x8b,0x00,0x00,0x4c,0x88,0x00,0x00,0x8c,0x9a,0x3a,0x53,0x00,0x00,0x34,0x6c,0x00,0x00,0xde,0x98, 0x00,0x00,0x28,0x75,0x00,0x00,0x04,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xba,0x4e,0x00,0x00,0x4c,0x6b, 0x00,0x00,0x87,0x65,0x00,0x00,0x0f,0x61,0x00,0x00,0xcd,0x8b,0x00,0x00,0xcf,0x7e,0x00,0x00,0xe5,0x53, 0x00,0x00,0xc6,0x96,0x00,0x00,0xc7,0x7b,0x00,0x00,0x5c,0x4f,0x00,0x00,0x02,0x00,0x00,0x00,0xee,0x95, 0x00,0x00,0xbe,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x10,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x4f, 0x00,0x00,0x0f,0x61,0x00,0x00,0x9e,0x5b,0x00,0x00,0xc1,0x54,0x00,0x00,0x73,0x60,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x1a,0x63,0x00,0x00,0x36,0x71,0x00,0x00,0x58,0x80,0x00,0x00,0x80,0x90,0x00,0x00,0x0a,0x00, 0x00,0x00,0x40,0x67,0x00,0x00,0xc3,0x5f,0x00,0x00,0x6d,0x70,0x00,0x00,0xc3,0x5f,0x4b,0x4e,0xba,0x8b, 0x00,0x00,0x2e,0x62,0x00,0x00,0x42,0x6c,0x00,0x00,0x64,0x96,0x00,0x00,0x04,0x95,0x00,0x00,0x3d,0x5c, 0x40,0x67,0xdd,0x7e,0x00,0x00,0x41,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x98,0x98,0x00,0x00,0xed,0x8b, 0x43,0x67,0x00,0x00,0xed,0x8b,0x00,0x00,0x39,0x8d,0x00,0x00,0xf4,0x8b,0x00,0x00,0x67,0x52,0x00,0x00, 0x52,0x7b,0x00,0x00,0xf3,0x97,0x00,0x00,0x85,0x68,0x00,0x00,0x34,0x59,0x00,0x00,0x07,0x00,0x00,0x00, 0x1f,0x75,0x00,0x00,0xb0,0x8f,0x00,0x00,0x0b,0x4e,0x00,0x00,0x1f,0x75,0x30,0x57,0x00,0x00,0xb0,0x8f, 0xe5,0x65,0x00,0x00,0xb2,0x80,0x00,0x00,0xaa,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0xc5,0x75,0x00,0x00, 0x82,0x9a,0x00,0x00,0x06,0x00,0x00,0x00,0xca,0x91,0x00,0x00,0xca,0x91,0x05,0x80,0x00,0x00,0xe3,0x89, 0x00,0x00,0xca,0x91,0x66,0x5b,0x00,0x00,0xe8,0x6c,0x00,0x00,0x21,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x02,0x5f,0x00,0x00,0xa1,0x8b,0x00,0x00,0xa9,0x8f,0x00,0x00,0x32,0x8c,0x00,0x00,0xd8,0x79,0x00,0x00, 0xc8,0x8b,0x00,0x00,0xa1,0x8b,0x1a,0x59,0xef,0x7a,0x00,0x00,0xa9,0x8f,0xb6,0x5b,0x00,0x00,0xa9,0x8f, 0x2f,0x67,0x00,0x00,0x47,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0xf7,0x4e,0x00,0x00, 0xcf,0x91,0x00,0x00,0xd8,0x76,0x00,0x00,0xc1,0x8b,0x00,0x00,0xee,0x95,0x05,0x80,0x00,0x00,0xc1,0x8b, 0xfd,0x51,0x00,0x00,0xe5,0x67,0x00,0x00,0xee,0x95,0xa6,0x5e,0x00,0x00,0x39,0x68,0xee,0x95,0x95,0x5e, 0x00,0x00,0x03,0x00,0x00,0x00,0x19,0x96,0x00,0x00,0xe8,0x95,0x00,0x00,0x12,0x8c,0x00,0x00,0x06,0x00, 0x00,0x00,0x00,0x8a,0x00,0x00,0xcb,0x53,0x00,0x00,0xbc,0x8b,0x00,0x00,0xe3,0x81,0x00,0x00,0x0f,0x8c, 0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0xfd,0x56,0x00,0x00,0xa1,0x80, 0x00,0x00,0x48,0x68,0x00,0x00,0x02,0x5e,0x00,0x00,0x21,0x68,0x00,0x00,0x40,0x5c,0x00,0x00,0x62,0x96, 0x00,0x00,0xbf,0x53,0x00,0x00,0x66,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x7e,0x00,0x00,0xc5,0x60, 0x00,0x00,0x3d,0x5c,0x00,0x00,0xe3,0x89,0x00,0x00,0x08,0x8c,0x00,0x00,0xf0,0x8f,0x00,0x00,0x9e,0x5b, 0x00,0x00,0x55,0x53,0x00,0x00,0xe2,0x8b,0x00,0x00,0x17,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x5f, 0x00,0x00,0x36,0x71,0x00,0x00,0x02,0x00,0x00,0x00,0x0d,0x54,0x00,0x00,0xf7,0x53,0x00,0x00,0x02,0x00, 0x00,0x00,0xc9,0x52,0x00,0x00,0x7d,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x96,0x00,0x00,0x4a,0x54, 0x00,0x00,0x11,0x85,0x00,0x00,0x56,0x8d,0x00,0x00,0x3a,0x4e,0x00,0x00,0xb3,0x5b,0x00,0x00,0x77,0x96, 0x6a,0x7f,0x00,0x00,0x89,0x67,0x00,0x00,0x04,0x8c,0x00,0x00,0xf0,0x79,0x00,0x00,0x0a,0x00,0x00,0x00, 0x00,0x8a,0x00,0x00,0xf3,0x97,0x00,0x00,0x87,0x65,0x00,0x00,0x14,0x6c,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x83,0x58,0x00,0x00,0x55,0x5f,0x00,0x00,0xe5,0x53,0x00,0x00,0x00,0x8a,0x66,0x5b,0x00,0x00,0xcd,0x79, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfc,0x5b,0x00,0x00,0xe3,0x89,0x00,0x00,0x3a,0x53,0x00,0x00,0xee,0x5d, 0x00,0x00,0x1a,0x4f,0x00,0x00,0x24,0x52,0x00,0x00,0x24,0x4f,0x00,0x00,0xfc,0x5b,0x27,0x60,0x00,0x00, 0xa4,0x8b,0x3a,0x4e,0x00,0x00,0xca,0x8b,0x00,0x00,0x02,0x00,0x00,0x00,0x7d,0x54,0x00,0x00,0x01,0x5c, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x60,0x00,0x00,0xd1,0x53,0x00,0x00,0xba,0x4e,0x00,0x00,0xfc,0x5b, 0x00,0x00,0xe0,0x56,0x00,0x00,0x75,0x99,0x00,0x00,0x97,0x9a,0x00,0x00,0xd1,0x60,0x9b,0x52,0x00,0x00, 0x7f,0x4f,0x00,0x00,0x1a,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0xba,0x4e,0x0d,0x4e,0x26,0x50,0x00,0x00, 0xeb,0x6d,0x00,0x00,0xeb,0x6d,0xf2,0x8b,0xd7,0x76,0x00,0x00,0xeb,0x6d,0x27,0x60,0x00,0x00,0x01,0x00, 0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66,0x00,0x00,0xd5,0x6c,0x00,0x00,0xdd,0x8b, 0x00,0x00,0x2f,0x66,0x00,0x00,0x0e,0x66,0x66,0x4e,0x00,0x00,0x53,0x90,0x00,0x00,0x0d,0x67,0x00,0x00, 0x0d,0x4e,0x9a,0x5b,0x00,0x00,0x9e,0x5b,0xdd,0x8b,0x00,0x00,0xf4,0x8b,0x00,0x00,0x08,0x00,0x00,0x00, 0xcf,0x7e,0x00,0x00,0xfb,0x8b,0x00,0x00,0x01,0x63,0x00,0x00,0x92,0x54,0x00,0x00,0x64,0x6b,0x00,0x00, 0xf5,0x5f,0x00,0x00,0x64,0x6b,0x40,0x96,0x57,0x7f,0x3c,0x5c,0x00,0x00,0xcf,0x7e,0xf0,0x53,0x00,0x00, 0x02,0x00,0x00,0x00,0xd2,0x8b,0x00,0x00,0x11,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x6c,0x00,0x00, 0xee,0x95,0x00,0x00,0x59,0x65,0x00,0x00,0x47,0x50,0x00,0x00,0xff,0x52,0x00,0x00,0x3a,0x79,0x00,0x00, 0xa2,0x5b,0x00,0x00,0x58,0x62,0x00,0x00,0x3f,0x61,0x00,0x00,0x3f,0x61,0x66,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x1a,0x59,0x00,0x00,0x82,0x59,0x00,0x00,0x5b,0x4f,0x00,0x00,0x4d,0x4f,0x00,0x00,0xd5,0x6c, 0x00,0x00,0x82,0x59,0x64,0x6b,0x7b,0x7c,0x00,0x00,0x5b,0x84,0xae,0x4e,0x00,0x00,0xaf,0x4f,0x00,0x00, 0x76,0x60,0x00,0x00,0x29,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x57,0x9a,0x4e,0x00,0x00,0x1d,0x8d, 0x14,0x5c,0x00,0x00,0x89,0x5b,0x00,0x00,0x1d,0x8d,0x14,0x5c,0x56,0x59,0x00,0x00,0x9a,0x4e,0x00,0x00, 0x56,0x59,0x00,0x00,0xcc,0x91,0xaf,0x65,0x00,0x00,0x7f,0x89,0x00,0x00,0xb7,0x5f,0x00,0x00,0x00,0x8a, 0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x80,0x00,0x00,0x66,0x4e,0x00,0x00,0x56,0x53,0xb0,0x65,0xfb,0x95, 0x00,0x00,0xd6,0x53,0x00,0x00,0xf5,0x8b,0x00,0x00,0x69,0x72,0x00,0x00,0xf3,0x97,0x00,0x00,0x2c,0x67, 0x00,0x00,0x66,0x4e,0x1a,0x4f,0x00,0x00,0x14,0x78,0x00,0x00,0x04,0x00,0x00,0x00,0x24,0x8c,0x00,0x00, 0x24,0x8c,0x6a,0x7f,0x00,0x00,0x24,0x8c,0x48,0x68,0x00,0x00,0xfb,0x95,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0b,0x7a,0x00,0x00,0x98,0x98,0x00,0x00,0x02,0x58,0x00,0x00,0x2c,0x67,0x00,0x00,0x98,0x98,0xc4,0x7e, 0x00,0x00,0x16,0x59,0x00,0x00,0xf6,0x65,0x00,0x00,0xee,0x76,0x00,0x00,0x4c,0x68,0x00,0x00,0x87,0x65, 0x00,0x00,0x05,0x00,0x00,0x00,0x23,0x8d,0x00,0x00,0xc7,0x8f,0x8e,0x4e,0xba,0x4e,0x00,0x00,0x6a,0x7f, 0x00,0x00,0x78,0x53,0x00,0x00,0xc7,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x9e,0x8f,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe5,0x77,0x00,0x00,0xb6,0x5b,0x00,0x00,0x99,0x65,0x00,0x00,0x2f,0x66,0x01,0x8c,0x5e,0x97, 0x00,0x00,0x2a,0x4e,0x00,0x00,0x01,0x8c,0x00,0x00,0xba,0x4e,0x00,0x00,0xba,0x4e,0x50,0x4e,0x1f,0x96, 0x00,0x00,0xb9,0x8f,0x00,0x00,0xe5,0x77,0x53,0x90,0x00,0x00,0x05,0x00,0x00,0x00,0x4f,0x4f,0x00,0x00, 0x77,0x8d,0x00,0x00,0xd5,0x6c,0x00,0x00,0x02,0x8c,0x00,0x00,0xce,0x91,0x00,0x00,0x0a,0x00,0x00,0x00, 0xe5,0x67,0x00,0x00,0x74,0x65,0x00,0x00,0xa7,0x63,0x00,0x00,0x14,0x78,0x00,0x00,0x82,0x82,0x00,0x00, 0xf7,0x4e,0x00,0x00,0xe3,0x89,0x00,0x00,0xe5,0x67,0xc4,0x7e,0x00,0x00,0xa8,0x52,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x05,0x00,0x00,0x00,0x9a,0x5a,0x00,0x00,0xf2,0x66,0x00,0x00,0x00,0x8c,0x00,0x00,0x11,0x7b, 0x00,0x00,0x9a,0x5a,0x05,0x80,0x00,0x00,0x03,0x00,0x00,0x00,0xe3,0x89,0x00,0x00,0x71,0x5c,0x01,0x77, 0x00,0x00,0xdf,0x5b,0x00,0x00,0x04,0x00,0x00,0x00,0x06,0x8c,0x00,0x00,0x06,0x8c,0x59,0x65,0xf2,0x8b, 0x00,0x00,0x06,0x8c,0x59,0x65,0xfc,0x5b,0x00,0x00,0x06,0x8c,0x4a,0x54,0xeb,0x8b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x24,0x52,0x00,0x00,0xdd,0x8b,0x00,0x00,0xca,0x53,0x00,0x00,0xba,0x8b,0x00,0x00,0x30,0x52, 0x00,0x00,0x0d,0x4e,0x0a,0x4e,0x00,0x00,0x08,0x8c,0x00,0x00,0x4b,0x60,0x31,0x72,0x00,0x00,0x24,0x52, 0x4c,0x68,0x00,0x00,0xc3,0x5f,0x00,0x00,0x03,0x00,0x00,0x00,0x25,0x66,0x00,0x00,0x49,0x51,0x00,0x00, 0x87,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x6c,0x00,0x00,0x40,0x67,0x00,0x00,0xd6,0x53,0x00,0x00, 0x12,0x52,0x00,0x00,0x1f,0x75,0x00,0x00,0x29,0x52,0x00,0x00,0x40,0x67,0x48,0x68,0x00,0x00,0x65,0x75, 0x00,0x00,0x40,0x67,0x6a,0x7f,0x00,0x00,0x62,0x97,0x00,0x00,0x03,0x00,0x00,0x00,0x18,0x62,0x00,0x00, 0xa5,0x62,0x00,0x00,0x67,0x71,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0xf0,0x79,0x00,0x00, 0xa5,0x62,0x00,0x00,0xdd,0x8b,0x00,0x00,0xf4,0x8b,0x00,0x00,0xb1,0x82,0x00,0x00,0xf7,0x4e,0x00,0x00, 0xe1,0x4f,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0xe4,0x8b,0x00,0x00,0xc1,0x58,0xe3,0x53, 0x00,0x00,0x81,0x5f,0x00,0x00,0x63,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x97,0x00,0x00,0x2f,0x63, 0x00,0x00,0xe2,0x6c,0x00,0x00,0x1f,0x66,0x00,0x00,0x2f,0x63,0x54,0x81,0x00,0x00,0xa3,0x8d,0x00,0x00, 0x03,0x8c,0x00,0x00,0x2f,0x63,0x50,0x5b,0x00,0x00,0x8c,0x54,0x00,0x00,0x11,0x8c,0x00,0x00,0x05,0x00, 0x00,0x00,0xf0,0x79,0x00,0x00,0xed,0x8b,0x00,0x00,0x0c,0x80,0x0d,0x4e,0x50,0x86,0x00,0x00,0x0f,0x62, 0x00,0x00,0x67,0x52,0x00,0x00,0x05,0x00,0x00,0x00,0x75,0x96,0x00,0x00,0x56,0x79,0x00,0x00,0xbf,0x8b, 0x00,0x00,0xc1,0x89,0x00,0x00,0x75,0x96,0x4b,0x4e,0xc5,0x65,0x00,0x00,0x02,0x00,0x00,0x00,0xed,0x8b, 0x00,0x00,0xcd,0x8b,0x00,0x00,0x01,0x00,0x00,0x00,0xe8,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x8a, 0x00,0x00,0x5e,0x4f,0x00,0x00,0xaa,0x90,0x00,0x00,0x04,0x8c,0x00,0x00,0xb3,0x5b,0x00,0x00,0x04,0x00, 0x00,0x00,0x46,0x55,0x1a,0x4f,0x00,0x00,0xe2,0x8b,0x00,0x00,0x46,0x55,0x00,0x00,0xe2,0x8b,0x58,0x54, 0x00,0x00,0x04,0x00,0x00,0x00,0x9f,0x71,0x00,0x00,0xe5,0x77,0x00,0x00,0xc3,0x7e,0x00,0x00,0x53,0x66, 0x00,0x00,0x02,0x00,0x00,0x00,0xed,0x8b,0x00,0x00,0x87,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0x2c,0x54, 0x00,0x00,0xc2,0x89,0x00,0x00,0xfd,0x90,0x00,0x00,0xc6,0x89,0x00,0x00,0x08,0x00,0x00,0x00,0xe2,0x56, 0x00,0x00,0x95,0x5e,0x00,0x00,0x98,0x98,0x00,0x00,0xed,0x8b,0x00,0x00,0x62,0x97,0x00,0x00,0x37,0x68, 0x00,0x00,0x50,0x5b,0x00,0x00,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x21,0x8c,0x00,0x00,0x0a,0x00, 0x00,0x00,0x22,0x8c,0x00,0x00,0x14,0x5c,0xd6,0x76,0x00,0x00,0xdd,0x7e,0x00,0x00,0xcc,0x91,0x2b,0x59, 0x00,0x00,0x55,0x5e,0x00,0x00,0x6a,0x7f,0x00,0x00,0x0f,0x61,0x00,0x00,0x7f,0x95,0xf7,0x5e,0x00,0x00, 0x06,0x97,0x0b,0x95,0x00,0x00,0xb6,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0x20,0x4f, 0x00,0x00,0x00,0x8a,0x05,0x80,0x00,0x00,0x00,0x8a,0xd1,0x60,0x17,0x4f,0x00,0x00,0xfc,0x8b,0x00,0x00, 0x04,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0xc1,0x6b,0x00,0x00,0xae,0x8b,0x00,0x00,0x66,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x5a,0x86,0x00,0x00,0x51,0x53,0x00,0x00, 0x0a,0x90,0x00,0x00,0x8c,0x54,0x00,0x00,0xa9,0x8b,0x00,0x00,0x6d,0x60,0x00,0x00,0x5a,0x86,0x28,0x8c, 0x4e,0x61,0x00,0x00,0x26,0x8c,0x1b,0x54,0x50,0x5b,0x00,0x00,0xf0,0x79,0x00,0x00,0x26,0x8c,0x00,0x00, 0x01,0x00,0x00,0x00,0x59,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x61,0x00,0x00,0x32,0x96,0x00,0x00, 0xb0,0x8b,0x00,0x00,0x00,0x8a,0x4e,0x61,0x4c,0x88,0x00,0x00,0x0f,0x5c,0x4e,0x61,0xae,0x5f,0x00,0x00, 0x88,0x5b,0x00,0x00,0x4e,0x61,0x27,0x60,0x00,0x00,0x75,0x90,0x00,0x00,0x25,0x4e,0x00,0x00,0x4e,0x61, 0x05,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x82,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0x45,0x5c,0x00,0x00, 0x0d,0x62,0x00,0x00,0x88,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x4b,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0xef,0x8b,0x00,0x00,0xba,0x8b,0x00,0x00,0xe5,0x4e,0x43,0x53,0xcc,0x91,0x00,0x00,0xc1,0x89,0x00,0x00, 0x4b,0x4e,0x43,0x53,0xcc,0x91,0x00,0x00,0xf4,0x8b,0x00,0x00,0xcd,0x79,0x41,0x6d,0x20,0x4f,0x00,0x00, 0xcd,0x79,0x00,0x00,0x56,0x59,0x00,0x00,0xed,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00, 0x8f,0x54,0x9f,0x9e,0x00,0x00,0xe3,0x55,0x0c,0x54,0x00,0x00,0xfe,0x76,0x00,0x00,0x07,0x97,0x97,0x67, 0x00,0x00,0x6b,0x94,0xf9,0x57,0x00,0x00,0xcc,0x5b,0xf1,0x82,0x00,0x00,0x3e,0x6d,0x00,0x00,0x82,0x69, 0x00,0x00,0xb6,0x5b,0x61,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x8a,0x00,0x00,0x03,0x00,0x00,0x00, 0xce,0x57,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x7c,0x69,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x8a, 0x00,0x00,0x03,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x51,0x00,0x00,0xfb,0x7c,0x00,0x00,0xea,0x4e, 0x00,0x00,0xf2,0x66,0x00,0x00,0x50,0x5b,0x00,0x00,0xfb,0x7c,0x66,0x5b,0x00,0x00,0xf7,0x53,0x00,0x00, 0x3f,0x51,0x00,0x00,0x52,0x72,0x00,0x00,0x62,0x97,0x00,0x00,0x01,0x00,0x00,0x00,0xc8,0x8b,0x00,0x00, 0x02,0x00,0x00,0x00,0x23,0x8d,0x00,0x00,0x23,0x8d,0x0f,0x5c,0xf4,0x8b,0x00,0x00,0x02,0x00,0x00,0x00, 0x84,0x59,0x00,0x00,0xed,0x8b,0x00,0x00,0x02,0x00,0x00,0x00,0xac,0x7e,0x00,0x00,0xed,0x8b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4c,0x6b,0x00,0x00,0x69,0x72,0x00,0x00,0x95,0x5e,0x00,0x00,0x7b,0x7c,0x00,0x00, 0x50,0x5b,0x00,0x00,0x28,0x6c,0x78,0x91,0x00,0x00,0x28,0x6c,0x78,0x91,0xa0,0x94,0x00,0x00,0x30,0x57, 0x00,0x00,0xe8,0x96,0x00,0x00,0x85,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x61,0x53,0x00,0x00,0x3b,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x51,0x00,0x00,0x4d,0x51,0x43,0x67,0x00,0x00,0xbe,0x8f,0x00,0x00, 0x36,0x71,0x00,0x5f,0x17,0x67,0x00,0x00,0x36,0x71,0x00,0x00,0xfa,0x51,0xbb,0x53,0x00,0x00,0xe3,0x53, 0x00,0x00,0xbe,0x8f,0x27,0x59,0xa6,0x5e,0x00,0x00,0x50,0x5b,0x00,0x00,0xae,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe3,0x74,0x00,0x00,0xb9,0x6c,0x00,0x00,0x46,0x6d,0x00,0x00,0x50,0x81,0x00,0x00,0xae,0x90, 0x00,0x00,0x7b,0x7c,0x00,0x00,0x95,0x7c,0x00,0x00,0xbd,0x82,0x00,0x00,0x36,0x52,0xc1,0x54,0x00,0x00, 0x46,0x8c,0x00,0x00,0x01,0x00,0x00,0x00,0x46,0x8c,0x00,0x00,0x01,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00, 0x09,0x00,0x00,0x00,0x46,0x8c,0x00,0x00,0x46,0x8c,0x5a,0x83,0x00,0x00,0x46,0x8c,0x16,0x5c,0x00,0x00, 0x46,0x8c,0xd2,0x89,0x00,0x00,0x46,0x8c,0x39,0x59,0x00,0x00,0x46,0x8c,0x89,0x7c,0x00,0x00,0x46,0x8c, 0x61,0x8c,0x00,0x00,0x46,0x8c,0xa5,0x7c,0x00,0x00,0x46,0x8c,0x75,0x8d,0x00,0x00,0x02,0x00,0x00,0x00, 0x47,0x90,0x00,0x00,0x33,0x96,0x00,0x00,0x01,0x00,0x00,0x00,0x5e,0x8c,0x00,0x00,0x02,0x00,0x00,0x00, 0x20,0x9f,0x00,0x00,0x7b,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x5f,0x00,0x00,0x59,0x72,0x00,0x00, 0x81,0x5f,0x27,0x60,0x00,0x00,0xcb,0x68,0x00,0x00,0x59,0x72,0x54,0x58,0x00,0x00,0x71,0x5c,0x00,0x00, 0x62,0x5f,0x00,0x00,0x50,0x96,0x00,0x00,0x7f,0x5c,0x00,0x00,0x62,0x5f,0x87,0x65,0x57,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0x7b,0x51,0x00,0x00,0x09,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0xb6,0x83,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4e,0x53,0x00,0x00,0x85,0x5b,0x00,0x00,0x66,0x8f,0x00,0x00,0x4c,0x8d,0x00,0x00, 0xe8,0x95,0x00,0x00,0xaf,0x65,0x00,0x00,0xc8,0x8f,0x00,0x00,0x3d,0x72,0x00,0x00,0xb7,0x63,0x00,0x00, 0xa2,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x56,0x00,0x00,0x17,0x53,0x00,0x00,0x7f,0x89,0x00,0x00, 0x67,0x52,0x00,0x00,0x1c,0x4e,0x00,0x00,0xfd,0x80,0x00,0x00,0xe0,0x7a,0x00,0x00,0x57,0x53,0x00,0x00, 0x52,0x91,0x00,0x00,0x01,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0x6c,0x51,0x00,0x00,0x06,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0xb9,0x7e,0x00,0x00,0x50,0x5b,0xf7,0x53,0x00,0x00,0x2b,0x73,0x00,0x00,0x34,0x59, 0x00,0x00,0xf3,0x62,0x00,0x00,0x07,0x00,0x00,0x00,0xfc,0x72,0x00,0x00,0xfc,0x72,0x4e,0x86,0x79,0x8c, 0x00,0x00,0xfc,0x72,0x53,0x5f,0x53,0x90,0x00,0x00,0xfc,0x72,0xa7,0x5e,0x00,0x00,0xfc,0x72,0x53,0x5f, 0xef,0x8d,0x00,0x00,0xfc,0x72,0x53,0x5f,0x82,0x6d,0x00,0x00,0xfc,0x72,0x5e,0x58,0xef,0x8d,0x00,0x00, 0x04,0x00,0x00,0x00,0x49,0x87,0x00,0x00,0xae,0x76,0x00,0x00,0x8a,0x71,0x00,0x00,0xd8,0x88,0x62,0x63, 0x52,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xd2,0x7e,0x00,0x00,0x06,0x00,0x00,0x00, 0x3c,0x4f,0x00,0x00,0x08,0x54,0x5e,0x79,0xbb,0x79,0x00,0x00,0x0d,0x4e,0xca,0x60,0xba,0x4e,0x00,0x00, 0xf8,0x76,0x00,0x00,0x08,0x54,0xc3,0x5f,0xbb,0x79,0x00,0x00,0x8e,0x7f,0x00,0x00,0x02,0x00,0x00,0x00, 0x85,0x8c,0x00,0x00,0x4e,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x5c,0x00,0x00,0x62,0x53,0xaf,0x65, 0xd1,0x79,0x3c,0x5c,0x00,0x00,0xc9,0x62,0x00,0x00,0x81,0x9c,0x79,0x72,0x00,0x00,0xf3,0x58,0x00,0x00, 0x4b,0x51,0x49,0x6c,0xc6,0x59,0x00,0x00,0x7b,0x7c,0x00,0x00,0x1d,0x8d,0x00,0x00,0x54,0x58,0x00,0x00, 0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x64,0x00,0x00,0xc2,0x89,0x00,0x00,0x01,0x6d,0x00,0x00, 0x50,0x5b,0x00,0x00,0x43,0x51,0x00,0x00,0x82,0x82,0x00,0x00,0x9d,0x4f,0x00,0x00,0x30,0x4e,0xbf,0x53, 0x00,0x00,0xcd,0x64,0x26,0x5e,0x00,0x00,0x30,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x23,0x8d,0xba,0x4e, 0x00,0x00,0x23,0x8d,0x00,0x00,0x62,0x97,0x00,0x00,0xc5,0x62,0x00,0x00,0x3a,0x50,0x00,0x00,0x09,0x67, 0x00,0x00,0x77,0x83,0x00,0x00,0x3a,0x50,0x68,0x88,0x00,0x00,0x3a,0x50,0x87,0x73,0x00,0x00,0x23,0x8d, 0xfb,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2e,0x73,0x00,0x00,0x2e,0x73,0x87,0x73,0x00,0x00,0x2e,0x73, 0xa6,0x5e,0x00,0x00,0x2e,0x73,0x56,0x59,0x00,0x00,0x2e,0x73,0x05,0x80,0x00,0x00,0x71,0x5c,0x00,0x00, 0xc1,0x54,0x00,0x00,0x0e,0x56,0x00,0x00,0xd8,0x9a,0x11,0x62,0x62,0x61,0x00,0x00,0x0e,0x56,0x71,0x5c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3f,0x65,0x00,0x00,0xa1,0x52,0x00,0x00,0xcf,0x7e,0x00,0x00,0xcc,0x5b, 0x00,0x00,0xa7,0x4e,0x00,0x00,0x3f,0x65,0xe8,0x90,0x00,0x00,0xa5,0x62,0x00,0x00,0x74,0x5e,0x00,0x00, 0x63,0x5b,0x00,0x00,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x4e,0x00,0x00,0xe4,0x4e,0x00,0x00, 0xfb,0x4e,0xba,0x4e,0x00,0x00,0xfb,0x4e,0x1f,0x61,0x00,0x00,0x10,0x62,0x00,0x00,0xfb,0x4e,0xc3,0x5f, 0x00,0x00,0xfb,0x4e,0x36,0x52,0x00,0x00,0xfb,0x4e,0x69,0x96,0x00,0x00,0xfb,0x4e,0xba,0x4e,0x58,0x54, 0x00,0x00,0xfb,0x4e,0x8b,0x4e,0x45,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x62,0x00,0x00,0xe0,0x60, 0x00,0x00,0x05,0x80,0x00,0x00,0x23,0x57,0x00,0x00,0x6f,0x82,0x00,0x00,0xbb,0x59,0x6f,0x82,0xcd,0x6b, 0x00,0x00,0xab,0x52,0x00,0x00,0xba,0x4e,0x00,0x00,0x0e,0x66,0x00,0x00,0xd1,0x6d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc9,0x8b,0x00,0x00,0x4f,0x57,0x00,0x00,0x32,0x97,0x00,0x00,0x00,0x90,0x00,0x00,0x09,0x90, 0x00,0x00,0xb6,0x5b,0x00,0x00,0x14,0x7b,0x00,0x00,0x17,0x53,0x00,0x00,0x40,0x88,0xc7,0x75,0x00,0x00, 0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x37,0x62,0x00,0x00,0xf7,0x53,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x62,0x97,0x00,0x00,0x55,0x53,0x00,0x00,0xee,0x76,0x00,0x00,0x37,0x62,0x70,0x65,0x00,0x00,0x2c,0x67, 0x00,0x00,0xa1,0x52,0x00,0x00,0x3f,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x5e,0x00,0x00,0x69,0x72, 0x00,0x00,0x66,0x8f,0x00,0x00,0xd0,0x8f,0x00,0x00,0x3e,0x6b,0x00,0x00,0x90,0x6e,0x00,0x00,0xc1,0x54, 0x00,0x00,0xb6,0x67,0x00,0x00,0x39,0x82,0x00,0x00,0x6e,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x91, 0x00,0x00,0x91,0x75,0x00,0x00,0xc0,0x68,0x00,0x00,0xbc,0x62,0x00,0x00,0xd1,0x76,0x40,0x5c,0x00,0x00, 0xd1,0x76,0x00,0x00,0x30,0x57,0x00,0x00,0xee,0x95,0x00,0x00,0xe2,0x8b,0x00,0x00,0x1f,0x61,0x00,0x00, 0x0a,0x00,0x00,0x00,0x56,0x53,0x00,0x00,0xd2,0x6b,0x00,0x00,0x50,0x5b,0x00,0x00,0xd0,0x8f,0x00,0x00, 0xd2,0x6b,0x48,0x68,0x00,0x00,0x47,0x50,0x00,0x00,0x74,0x5a,0x00,0x00,0x56,0x53,0x3a,0x67,0x00,0x00, 0xaa,0x67,0x00,0x00,0x56,0x53,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x6c,0x00,0x00,0x6a,0x5a, 0x00,0x00,0x50,0x81,0x00,0x00,0x98,0x5b,0x00,0x00,0x61,0x6c,0x6a,0x7f,0x00,0x00,0xc3,0x5f,0x00,0x00, 0x32,0x6b,0x00,0x00,0xfe,0x56,0x00,0x00,0xd4,0x55,0xf4,0x75,0x00,0x00,0x31,0x72,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf0,0x56,0x00,0x00,0x40,0x88,0x00,0x00,0x77,0x7a,0x00,0x00,0xcc,0x5b,0x00,0x00,0xf0,0x56, 0xbf,0x53,0x00,0x00,0x11,0x6c,0x9f,0x7a,0x00,0x00,0x4f,0x4e,0x00,0x00,0x20,0x76,0x00,0x00,0xd2,0x5b, 0x00,0x00,0x11,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x3c,0x50,0x00,0x00,0x4e,0x4f,0x00,0x00,0x49,0x4e, 0x00,0x00,0x5f,0x63,0x00,0x00,0x91,0x62,0x00,0x00,0xa5,0x65,0x00,0x00,0x2a,0x8c,0x00,0x00,0x45,0x5e, 0x00,0x00,0x3c,0x50,0x87,0x73,0x00,0x00,0x4c,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x70,0x4e,0x00,0x00, 0x69,0x72,0x00,0x00,0x3f,0x62,0x00,0x00,0x3f,0x62,0x05,0x80,0x00,0x00,0x6e,0x7f,0x00,0x00,0x68,0x79, 0x00,0x00,0x65,0x51,0x00,0x00,0x70,0x4e,0x9b,0x52,0x00,0x00,0xdb,0x8f,0x00,0x00,0x3a,0x50,0x00,0x00, 0x0a,0x00,0x00,0x00,0x58,0x5b,0x00,0x00,0xcf,0x85,0x00,0x00,0x07,0x59,0x00,0x00,0xd0,0x8f,0x00,0x00, 0xcf,0x85,0xa4,0x5b,0x00,0x00,0xed,0x70,0x00,0x00,0xcf,0x85,0x93,0x5e,0x00,0x00,0x58,0x5b,0x68,0x56, 0x00,0x00,0x28,0x67,0x3a,0x57,0x00,0x00,0x69,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x5f,0x00,0x00, 0x7f,0x7a,0x00,0x00,0x1a,0x90,0x00,0x00,0xe8,0x6c,0x00,0x00,0x32,0x4e,0x00,0x00,0xe3,0x53,0x00,0x00, 0x07,0x68,0x00,0x00,0x7f,0x7a,0x27,0x60,0x00,0x00,0x41,0x6d,0x0f,0x5f,0x00,0x00,0xde,0x8f,0x00,0x00, 0x06,0x00,0x00,0x00,0xf7,0x53,0x00,0x00,0xd2,0x89,0x00,0x00,0xfe,0x62,0x00,0x00,0x70,0x4f,0x00,0x00, 0xe3,0x81,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x56,0x53,0x00,0x00,0xba,0x4e,0x00,0x00, 0x31,0x8d,0x00,0x00,0x09,0x4e,0x00,0x00,0x11,0x6c,0x00,0x00,0x27,0x8d,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x3c,0x90,0x00,0x00,0xa8,0x9a,0x34,0x59,0x00,0x00,0x54,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0xe8,0x95, 0x00,0x00,0x20,0x5f,0x00,0x00,0x34,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x8f,0x00,0x00,0xc3,0x5f, 0x00,0x00,0xb0,0x73,0x00,0x00,0x6f,0x60,0x00,0x00,0x4c,0x72,0x00,0x00,0xeb,0x58,0x00,0x00,0xab,0x8e, 0x00,0x00,0x34,0x6c,0x00,0x00,0x07,0x52,0x00,0x00,0xfe,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d, 0x00,0x00,0x33,0x96,0x00,0x00,0xd1,0x91,0x5e,0x5c,0x00,0x00,0xde,0x5d,0x01,0x77,0x00,0x00,0xcf,0x65, 0x00,0x00,0xcd,0x91,0x00,0x00,0xbe,0x5b,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xba,0x4e,0x00,0x00, 0xbe,0x5b,0x85,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x6b,0x00,0x00,0x58,0x5b,0xd4,0x6b,0x00,0x00, 0x3e,0x6b,0x9d,0x98,0x00,0x00,0xb0,0x8b,0x61,0x53,0x00,0x00,0x3e,0x6b,0xba,0x4e,0x00,0x00,0x3e,0x6b, 0x05,0x80,0x00,0x00,0xb9,0x65,0x00,0x00,0xf4,0x63,0x3e,0x6b,0x00,0x00,0x3e,0x6b,0x46,0x55,0x00,0x00, 0x3e,0x6b,0xb9,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x13,0x66,0x00,0x00,0x13,0x66,0x46,0x55,0x00,0x00, 0x13,0x66,0x9d,0x98,0x00,0x00,0x13,0x66,0x3a,0x53,0x00,0x00,0x36,0x71,0x00,0x00,0x13,0x66,0x18,0x62, 0x00,0x00,0x13,0x66,0xcf,0x91,0x00,0x00,0xc3,0x4f,0x1a,0x4f,0x00,0x00,0xd1,0x53,0x00,0x00,0x13,0x66, 0x3a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x75,0x00,0x00,0x87,0x73,0x00,0x00,0x28,0x75,0x87,0x73, 0x00,0x00,0xce,0x57,0x00,0x00,0x9b,0x52,0x00,0x00,0xb2,0x52,0x00,0x00,0xe3,0x89,0x00,0x00,0xf6,0x65, 0x00,0x00,0xa0,0x52,0x57,0x7f,0x00,0x00,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x5c,0x00,0x00, 0x61,0x53,0x00,0x00,0x35,0x75,0x00,0x00,0xcd,0x8b,0x00,0x00,0x81,0x5c,0x63,0x68,0x00,0x00,0xde,0x5d, 0x02,0x5e,0x00,0x00,0xe1,0x4f,0x00,0x00,0xde,0x5d,0x00,0x00,0x70,0x51,0x71,0x5c,0x00,0x00,0x81,0x5c, 0x47,0x72,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8b,0x00,0x00,0x11,0x7b,0x27,0x59,0xb9,0x65,0x00,0x00, 0x1d,0x8d,0x00,0x00,0xb3,0x5b,0xe0,0x65,0x77,0x7a,0x00,0x00,0xb3,0x5b,0x00,0x00,0x11,0x7b,0x00,0x00, 0xa3,0x60,0xe0,0x65,0x77,0x7a,0x00,0x00,0xba,0x4e,0xe3,0x53,0x9e,0x5b,0x00,0x00,0x11,0x7b,0xb9,0x65, 0xb6,0x5b,0x00,0x00,0x78,0x79,0xe0,0x65,0x77,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x8a,0x55,0x49,0x63, 0x3c,0x8d,0x00,0x00,0xba,0x4e,0x00,0x00,0xc3,0x5f,0x00,0x00,0x39,0x82,0x00,0x00,0x50,0x5b,0x00,0x00, 0xc7,0x5b,0x00,0x00,0x43,0x8d,0x00,0x00,0xce,0x98,0x00,0x00,0x09,0x77,0x20,0x9f,0x3c,0x77,0x00,0x00, 0x9d,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x86,0x5e,0x97,0x67,0x00,0x00,0xaf,0x65,0x40,0x6c,0x00,0x00, 0x73,0x5e,0xf9,0x51,0x00,0x00,0x9d,0x5b,0x89,0x73,0x00,0x00,0xcc,0x91,0x00,0x00,0x6a,0x6c,0x3a,0x53, 0x00,0x00,0x14,0x5c,0x47,0x95,0x00,0x00,0x6a,0x6c,0x00,0x00,0xc9,0x62,0xc9,0x62,0xf4,0x5d,0xb7,0x5f, 0x02,0x5e,0x00,0x00,0x0a,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x8d,0x00,0x00,0x09,0x90,0x00,0x00, 0x01,0x90,0x00,0x00,0x42,0x8d,0x48,0x68,0x00,0x00,0x3e,0x6b,0x00,0x00,0xd1,0x91,0x00,0x00,0x42,0x8d, 0x6a,0x7f,0x00,0x00,0x70,0x4e,0x00,0x00,0x42,0x8d,0x6c,0x51,0x4c,0x88,0x00,0x00,0xc5,0x60,0x00,0x00, 0x02,0x00,0x00,0x00,0x22,0x8d,0x00,0x00,0xce,0x90,0x00,0x00,0x06,0x00,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x69,0x72,0x00,0x00,0x66,0x8f,0x00,0x00,0x98,0x5b,0x00,0x00,0xc1,0x8b,0x00,0x00,0x98,0x5b,0x61,0x6c, 0x0f,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0xa7,0x4e,0x00,0x00,0x90,0x6e,0x00,0x00, 0x2c,0x67,0x00,0x00,0x99,0x65,0x00,0x00,0x3c,0x68,0x00,0x00,0xf1,0x6d,0x00,0x00,0x28,0x8d,0x00,0x00, 0xaf,0x8b,0x00,0x00,0xd1,0x91,0x62,0x97,0x00,0x00,0x02,0x00,0x00,0x00,0x5a,0x53,0x00,0x00,0xec,0x62, 0x00,0x00,0x08,0x00,0x00,0x00,0x7e,0x70,0x00,0x00,0x4e,0x6d,0x00,0x00,0x7e,0x70,0x3e,0x6b,0x00,0x00, 0x3e,0x6b,0x00,0x00,0x64,0x60,0x00,0x00,0x50,0x63,0x00,0x00,0x4e,0x6d,0xd1,0x91,0x00,0x00,0x4e,0x6d, 0x3e,0x6b,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x95,0x00,0x00,0x26,0x8d,0x00,0x00,0x20,0x6b,0x00,0x00, 0x2d,0x8d,0x00,0x00,0x10,0x5e,0x00,0x00,0x26,0x8d,0x55,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x4e, 0x00,0x00,0x0e,0x7a,0x00,0x00,0xf2,0x95,0x00,0x00,0xd7,0x8b,0x00,0x00,0x43,0x67,0x00,0x00,0x3c,0x50, 0x00,0x00,0x58,0x5b,0x00,0x00,0x3c,0x68,0x00,0x00,0x09,0x67,0x00,0x00,0x62,0x5f,0x42,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0x5a,0x53,0x00,0x00,0x3a,0x57,0x00,0x00,0xe8,0x6c,0x00,0x00,0x92,0x5f,0x00,0x00, 0x40,0x5c,0x00,0x00,0x44,0x8d,0x00,0x00,0x3a,0x50,0x00,0x00,0xa2,0x5b,0x00,0x00,0x14,0x6c,0x00,0x00, 0xf3,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0x68,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x56,0x00,0x00, 0xd1,0x91,0x00,0x00,0xde,0x56,0x39,0x8d,0x00,0x00,0xde,0x56,0x39,0x8d,0x87,0x73,0x00,0x00,0x6a,0x7f, 0x00,0x00,0xde,0x56,0x62,0x63,0xfa,0x57,0x00,0x00,0xde,0x56,0xcf,0x91,0x00,0x00,0xde,0x56,0x87,0x73, 0x00,0x00,0xde,0x56,0x6e,0x6f,0x00,0x00,0x70,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x08,0x67,0x00,0x00, 0xc6,0x8b,0x00,0x00,0xc3,0x5f,0xa6,0x60,0xee,0x76,0x00,0x00,0xd1,0x91,0x00,0x00,0x90,0x67,0x00,0x00, 0x50,0x8d,0x00,0x00,0xa9,0x73,0x00,0x00,0x5a,0x7f,0x00,0x00,0xf3,0x77,0x00,0x00,0xcb,0x79,0x00,0x00, 0x09,0x00,0x00,0x00,0x88,0x4e,0x00,0x00,0x59,0x65,0x00,0x00,0x8f,0x79,0x00,0x00,0x0b,0x4e,0x00,0x00, 0xd9,0x7e,0x00,0x00,0x0e,0x4e,0x00,0x00,0xd3,0x59,0x00,0x00,0x3f,0x7a,0x00,0x00,0x7b,0x6b,0x00,0x00, 0x01,0x00,0x00,0x00,0x43,0x5c,0x00,0x00,0x05,0x00,0x00,0x00,0x4e,0x6d,0x00,0x00,0x25,0x60,0x00,0x00, 0x25,0x60,0x76,0x62,0xf0,0x56,0x00,0x00,0xba,0x4e,0x00,0x00,0x64,0x60,0x00,0x00,0x01,0x00,0x00,0x00, 0xed,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x50,0x00,0x00,0xd8,0x4e,0x00,0x00,0x7f,0x50,0xd1,0x91, 0x00,0x00,0xb1,0x94,0x00,0x00,0x3e,0x6b,0x00,0x00,0x2c,0x67,0x00,0x00,0x3c,0x79,0x53,0x90,0x49,0x6b, 0x00,0x00,0x7f,0x50,0x3e,0x6b,0x00,0x00,0x87,0x73,0x00,0x00,0x7f,0x50,0x9d,0x98,0x00,0x00,0x0a,0x00, 0x00,0x00,0xe5,0x4e,0x1f,0x75,0x58,0x5b,0x00,0x00,0x0c,0x66,0x1f,0x66,0x00,0x00,0xaf,0x65,0x00,0x00, 0x8a,0x5e,0x00,0x00,0x28,0x6c,0x78,0x91,0x00,0x00,0x05,0x83,0x00,0x00,0x26,0x8d,0x00,0x00,0xf0,0x58, 0xdd,0x5d,0x00,0x00,0xe5,0x4e,0x00,0x00,0x0c,0x62,0xad,0x64,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x80, 0x00,0x00,0xf0,0x8f,0x00,0x00,0x00,0x8a,0x00,0x00,0xa3,0x75,0x00,0x00,0x59,0x4f,0x00,0x00,0xed,0x8b, 0x00,0x00,0x69,0x72,0x00,0x00,0x24,0x76,0x00,0x00,0x7f,0x5a,0x00,0x00,0x1f,0x75,0x00,0x00,0x02,0x00, 0x00,0x00,0x60,0x8d,0x00,0x00,0xea,0x4e,0x00,0x00,0x08,0x00,0x00,0x00,0xb1,0x94,0x00,0x00,0xd6,0x53, 0x00,0x00,0xb3,0x8d,0x00,0x00,0x34,0x59,0x00,0x00,0xb1,0x94,0x9c,0x69,0x00,0x00,0x97,0x5f,0x00,0x00, 0x27,0x59,0xb1,0x94,0x00,0x00,0xc4,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0xf4,0x7e, 0x00,0x00,0x63,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0x0e,0x54,0x00,0x00,0x66,0x8f,0x00,0x00,0xcc,0x5b, 0x00,0x00,0x3a,0x53,0x00,0x00,0xd1,0x8d,0x00,0x00,0x4d,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0xc1,0x54, 0x00,0x00,0x2c,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x62,0x00,0x00,0x0c,0x54,0x00,0x00,0xa9,0x52, 0x00,0x00,0x4f,0x8d,0x00,0x00,0xf9,0x53,0x00,0x00,0x8e,0x7f,0x00,0x00,0x6c,0x62,0x00,0x00,0xe3,0x81, 0x00,0x00,0xa9,0x52,0x46,0x55,0x00,0x00,0x89,0x8a,0x00,0x00,0x0a,0x00,0x00,0x00,0x01,0x90,0x00,0x00, 0x0e,0x4e,0x00,0x00,0xc1,0x54,0x00,0x00,0x88,0x4e,0x00,0x00,0x66,0x4e,0x00,0x00,0x3c,0x79,0x00,0x00, 0x0e,0x4e,0x0e,0x7a,0x00,0x00,0x3e,0x6b,0x00,0x00,0x38,0x52,0x00,0x00,0x05,0x96,0x00,0x00,0x04,0x00, 0x00,0x00,0x7b,0x51,0x00,0x00,0x7b,0x51,0x39,0x8d,0x00,0x00,0x7b,0x51,0xba,0x4e,0x00,0x00,0x7b,0x51, 0x87,0x73,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x5f,0x00,0x00,0xb6,0x5b,0x00,0x00,0x29,0x52,0x00,0x00, 0x29,0x52,0xb9,0x70,0x00,0x00,0x05,0x80,0x00,0x00,0x29,0x52,0x27,0x60,0x00,0x00,0x86,0x96,0x00,0x00, 0x29,0x59,0x00,0x00,0x62,0x97,0x00,0x00,0x59,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00, 0x57,0x53,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x5f,0x6c,0x00,0x00,0x17,0x53,0x00,0x00,0xa4,0x7c, 0x00,0x00,0x86,0x69,0xbf,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0x7f,0x89,0x00,0x00,0x31,0x91,0x00,0x00, 0x0a,0x00,0x00,0x00,0x57,0x5b,0x00,0x00,0x7f,0x89,0x00,0x00,0xf8,0x88,0xf8,0x88,0x00,0x00,0xf8,0x88, 0x00,0x00,0x53,0x90,0x00,0x00,0xf0,0x5c,0x00,0x00,0xf0,0x5c,0x02,0x5e,0x00,0x00,0xc1,0x58,0x00,0x00, 0x1a,0x81,0x00,0x00,0x6e,0x6f,0x00,0x00,0x02,0x00,0x00,0x00,0x4d,0x51,0x00,0x00,0x6a,0x7f,0x00,0x00, 0x02,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x9c,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x00,0x00, 0x14,0x5c,0x00,0x00,0x79,0x51,0x00,0x00,0x14,0x5c,0xfc,0x66,0xb7,0x5f,0x01,0x77,0x00,0x00,0x14,0x5c, 0x9b,0x8f,0xfa,0x57,0x00,0x00,0x81,0x9c,0x53,0x66,0x2b,0x59,0x00,0x00,0x6b,0x8d,0x09,0x67,0x0d,0x54, 0x00,0x00,0x14,0x5c,0xa8,0x58,0xaf,0x65,0x00,0x00,0x14,0x5c,0xfc,0x66,0x00,0x00,0x54,0x58,0x00,0x00, 0x04,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x72,0x82,0x00,0x00,0xa2,0x7e,0x00,0x00,0xc4,0x9e,0x72,0x82, 0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0x11,0x54,0x00,0x00,0xbf,0x8b,0x00,0x00,0xc1,0x79, 0x00,0x00,0xef,0x8d,0x00,0x00,0xc7,0x8f,0x00,0x00,0xca,0x5e,0x00,0x00,0x4e,0x4f,0x00,0x00,0x31,0x5f, 0x00,0x00,0xa2,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x8d,0x00,0x00,0x73,0x8d,0xc4,0x96,0xff,0x59, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x4e,0x00,0x00,0xb4,0x5b,0x00,0x00,0xa6,0x7e,0x00,0x00,0x64,0x6c, 0x48,0x8e,0x6b,0x70,0x00,0x00,0xbe,0x96,0x00,0x00,0x1a,0x4f,0x00,0x00,0x4c,0x65,0x00,0x00,0x34,0x96, 0xf9,0x66,0x00,0x00,0x03,0x80,0x00,0x00,0xd5,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x2c,0x67,0x71,0x5c, 0x00,0x00,0x11,0x68,0x06,0x74,0x00,0x00,0x0f,0x6c,0x00,0x00,0xde,0x5d,0x00,0x00,0xbf,0x53,0x00,0x00, 0xea,0x96,0x00,0x00,0x21,0x53,0xe4,0x80,0x00,0x00,0x54,0x66,0x00,0x00,0xb6,0x5b,0x9f,0x6c,0x00,0x00, 0x49,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0x27,0x7d,0x00,0x00,0x74,0x8d,0x00,0x00, 0x80,0x5f,0x00,0x00,0x0a,0x4e,0x00,0x00,0x65,0x67,0x00,0x00,0xeb,0x5f,0x00,0x00,0x1a,0x81,0x00,0x00, 0x85,0x8d,0x00,0x00,0xc6,0x96,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x67,0x00,0x00,0xc9,0x8b, 0x00,0x00,0xde,0x98,0x00,0x00,0x30,0x52,0x00,0x00,0x65,0x6b,0x00,0x00,0xb9,0x70,0x00,0x00,0x01,0x78, 0x00,0x00,0x6b,0x70,0x00,0x00,0x8a,0x5e,0x00,0x00,0x49,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x67, 0x00,0x00,0x40,0x77,0x00,0x00,0xe9,0x65,0x00,0x00,0xbf,0x52,0x00,0x00,0x6b,0x70,0x53,0x62,0xab,0x52, 0x00,0x00,0xed,0x70,0x53,0x62,0xc1,0x94,0x00,0x00,0x1c,0x59,0x00,0x00,0x4b,0x62,0x00,0x00,0x71,0x4e, 0x03,0x90,0x31,0x81,0x00,0x00,0x92,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x8f,0x00,0x00,0x02,0x5e, 0x00,0x00,0x07,0x68,0x00,0x00,0xa7,0x7e,0x00,0x00,0x8a,0x8d,0x00,0x00,0xfa,0x51,0x00,0x00,0x84,0x98, 0x1f,0x67,0x00,0x00,0x9d,0x98,0x00,0x00,0xba,0x4e,0x00,0x00,0x7d,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x65,0x67,0x8a,0x8d,0x00,0x00,0x57,0x53,0x00,0x00,0x2f,0x66,0x00,0x00,0xd1,0x53,0x00,0x00,0xf1,0x72, 0x00,0x00,0xc7,0x8f,0x00,0x00,0xce,0x91,0x66,0x8f,0x00,0x00,0xc0,0x79,0x00,0x00,0xc0,0x79,0x3a,0x53, 0x00,0x00,0xce,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0x8e,0x4e,0x00,0x00,0x11,0x54, 0x00,0x00,0xbf,0x52,0x27,0x60,0x00,0x00,0x4b,0x4e,0xe5,0x82,0x5c,0x9e,0x00,0x00,0x0c,0x54,0x00,0x00, 0xbf,0x52,0xbf,0x7e,0x00,0x00,0x25,0x4e,0x00,0x00,0x29,0x52,0x7f,0x90,0xb3,0x5b,0x00,0x00,0x09,0x54, 0x7f,0x90,0xf6,0x51,0x00,0x00,0x03,0x00,0x00,0x00,0x84,0x8d,0x0d,0x4e,0x4d,0x52,0x00,0x00,0x84,0x8d, 0x00,0x00,0x84,0x8d,0xeb,0x55,0x85,0x56,0x00,0x00,0x01,0x00,0x00,0x00,0x84,0x8d,0x00,0x00,0x02,0x00, 0x00,0x00,0x9f,0x8d,0x00,0x00,0x6c,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x73,0x54,0x00,0x00,0x73,0x54, 0x27,0x60,0x00,0x00,0x8b,0x4e,0x00,0x00,0xfb,0x95,0x00,0x00,0xa9,0x73,0x51,0x7f,0x00,0x00,0x65,0x51, 0x00,0x00,0x38,0x6e,0x00,0x00,0x1a,0x59,0x1a,0x59,0x00,0x00,0x67,0x52,0x00,0x00,0x47,0x59,0x51,0x7f, 0x00,0x00,0x01,0x00,0x00,0x00,0x84,0x8d,0xeb,0x55,0x85,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x59, 0x00,0x00,0xe5,0x4e,0x00,0x00,0x03,0x74,0x00,0x00,0x4f,0x53,0x00,0x00,0xf9,0x8f,0x00,0x00,0x9d,0x98, 0x00,0x00,0xb3,0x8d,0x00,0x00,0x03,0x74,0x3a,0x57,0x00,0x00,0x54,0x80,0x00,0x00,0xcf,0x91,0x00,0x00, 0x08,0x00,0x00,0x00,0x28,0x57,0x00,0x00,0x0b,0x4e,0x00,0x00,0x9d,0x7a,0x00,0x00,0x3b,0x6d,0x00,0x00, 0x61,0x77,0x00,0x00,0x53,0x4f,0x00,0x00,0x0f,0x4f,0x00,0x00,0xff,0x66,0x00,0x00,0x02,0x00,0x00,0x00, 0x81,0x7a,0xc9,0x6c,0x00,0x00,0xb5,0x8d,0x00,0x00,0x06,0x00,0x00,0x00,0xa4,0x4e,0x00,0x00,0x34,0x7f, 0x00,0x00,0x39,0x82,0x00,0x00,0x2e,0x55,0x00,0x00,0x56,0x53,0x00,0x00,0x79,0x62,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x57,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xb3,0x8d,0x00,0x00,0x08,0x00, 0x00,0x00,0x32,0x75,0x00,0x00,0xd8,0x9a,0x14,0x6c,0x6c,0x62,0x00,0x00,0xd8,0x9a,0x14,0x6c,0x02,0x66, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x1d,0x7f,0x00,0x00,0x34,0x59,0x00,0x00,0x16,0x5c,0x00,0x00,0x94,0x75, 0x00,0x00,0x02,0x00,0x00,0x00,0xc9,0x62,0x00,0x00,0xc9,0x62,0x7f,0x67,0x3f,0x51,0x00,0x00,0x05,0x00, 0x00,0x00,0x1b,0x67,0x00,0x00,0x3e,0x8a,0x00,0x00,0xc2,0x8d,0x00,0x00,0xf3,0x60,0x00,0x00,0x50,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x5c,0x00,0x00,0xdb,0x8f,0x00,0x00,0xc3,0x8d,0x32,0x6b,0xd5,0x8b, 0x00,0x00,0x47,0x53,0x00,0x00,0xc1,0x8f,0x00,0x00,0x36,0x71,0xb8,0x7e,0x0a,0x4e,0x00,0x00,0x36,0x71, 0x00,0x00,0xa8,0x52,0x00,0x00,0x0a,0x4e,0x00,0x00,0x42,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x09,0x8e, 0x00,0x00,0x02,0x00,0x00,0x00,0xf3,0x62,0x53,0x90,0x00,0x00,0xf3,0x62,0x53,0x90,0x86,0x99,0x00,0x00, 0x0a,0x00,0x00,0x00,0x89,0x6d,0x00,0x00,0x40,0x96,0x00,0x00,0x48,0x62,0x00,0x00,0x71,0x5c,0x89,0x6d, 0x34,0x6c,0x00,0x00,0x87,0x65,0x00,0x00,0xed,0x8b,0x00,0x00,0x2d,0x4e,0x00,0x00,0x89,0x6d,0x05,0x80, 0x00,0x00,0x4d,0x52,0x90,0x75,0x0e,0x54,0x00,0x00,0x4d,0x52,0x2c,0x8e,0x0e,0x54,0x00,0x00,0x0a,0x00, 0x00,0x00,0x45,0x5e,0x00,0x00,0xbf,0x52,0x00,0x00,0x3d,0x84,0x00,0x00,0x34,0x78,0x00,0x00,0x12,0x50, 0x00,0x00,0x5c,0x50,0x7f,0x67,0x00,0x00,0xcc,0x8d,0x0d,0x4e,0x11,0x4f,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x7f,0x7a,0x00,0x00,0x95,0x5b,0x77,0x8d,0x0f,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0xba,0x8d,0x00,0x00, 0x01,0x00,0x00,0x00,0x9c,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x6b,0x00,0x00,0x53,0x90,0x00,0x00, 0xef,0x8d,0x00,0x00,0x66,0x8f,0x00,0x00,0x93,0x8f,0x00,0x00,0x6c,0x9a,0x08,0x57,0x30,0x57,0x00,0x00, 0x98,0x98,0x00,0x00,0x65,0x6b,0x3a,0x67,0x00,0x00,0x4d,0x90,0x00,0x00,0xcf,0x91,0x00,0x00,0x01,0x00, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x04,0x00,0x00,0x00,0x1a,0x81, 0x00,0x00,0xb3,0x8d,0x00,0x00,0x50,0x5b,0x00,0x00,0x1a,0x81,0x2d,0x9e,0x00,0x00,0x06,0x00,0x00,0x00, 0xbb,0x79,0x00,0x00,0xbb,0x79,0x1f,0x61,0x00,0x00,0xca,0x4e,0x00,0x00,0x73,0x5e,0x00,0x00,0x0f,0x8c, 0x05,0x80,0x00,0x00,0xb6,0x72,0xae,0x76,0x42,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x8e,0x00,0x00, 0x40,0x77,0x00,0x00,0x8f,0x96,0x00,0x00,0xdb,0x8f,0x00,0x00,0x0d,0x4e,0x0a,0x4e,0x00,0x00,0x34,0x59, 0x00,0x00,0x16,0x5e,0x00,0x00,0x0a,0x4e,0x00,0x00,0x4d,0x52,0x00,0x00,0xa8,0x6d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xfd,0x56,0x00,0x00,0x83,0x58,0x00,0x00,0x8a,0x8d,0x00,0x00,0x4c,0x88,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x8a,0x8d,0x0f,0x5f,0x00,0x00,0xfd,0x56,0x6c,0x51,0xf8,0x53,0x00,0x00,0x74,0x5e,0x00,0x00, 0x73,0x5e,0xf0,0x53,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0xdc,0x62, 0x00,0x00,0x12,0x50,0x00,0x00,0xff,0x59,0x00,0x00,0x14,0x82,0x00,0x00,0x42,0x6c,0x00,0x00,0x4c,0x88, 0x00,0x00,0x30,0x57,0x42,0x6c,0x76,0x99,0x00,0x00,0xdc,0x62,0x3c,0x79,0x00,0x00,0x57,0x84,0x00,0x00, 0x02,0x00,0x00,0x00,0xf3,0x97,0x00,0x00,0x36,0x71,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x6b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00,0xbf,0x7e,0x00,0x00,0xb5,0x6b,0x00,0x00,0xb9,0x8f,0x00,0x00, 0x84,0x5f,0x00,0x00,0x0f,0x90,0x3e,0x79,0x00,0x00,0xe3,0x53,0x00,0x00,0xc7,0x8f,0x00,0x00,0x62,0x97, 0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0xfd,0x69,0x00,0x00,0x1e,0x82, 0x00,0x00,0x7a,0x7a,0x00,0x00,0xfa,0x51,0x00,0x00,0xc3,0x8d,0x00,0x00,0x1e,0x4f,0x00,0x00,0xa8,0x52, 0x00,0x00,0x7c,0x69,0x00,0x00,0x6c,0x8f,0x00,0x00,0x05,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x0f,0x8e, 0x00,0x00,0xa6,0x7e,0x00,0x00,0xfa,0x8b,0x00,0x00,0x5a,0x79,0x00,0x00,0x05,0x00,0x00,0x00,0xf7,0x8d, 0x7f,0x67,0x00,0x00,0x4a,0x8e,0x00,0x00,0xfe,0x8b,0x00,0x00,0xed,0x73,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0x1a,0x81,0x00,0x00,0xfa,0x8d,0x1a,0x81,0x00,0x00,0x02,0x00,0x00,0x00,0xab,0x8e, 0x00,0x00,0x65,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x8e,0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x64, 0x00,0x00,0x01,0x00,0x00,0x00,0x4c,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0xc4,0x8d,0x00,0x00,0x09,0x8e, 0xc4,0x8d,0xc4,0x8d,0x00,0x00,0x61,0x8e,0x00,0x00,0x01,0x00,0x00,0x00,0xc3,0x8d,0x00,0x00,0x05,0x00, 0x00,0x00,0x87,0x8e,0xe1,0x6e,0xd7,0x5f,0x00,0x00,0x87,0x8e,0x00,0x00,0x87,0x8e,0x0d,0x4e,0x4d,0x52, 0x00,0x00,0x87,0x8e,0x0d,0x4e,0xb3,0x51,0x00,0x00,0x70,0x8e,0x00,0x00,0x0a,0x00,0x00,0x00,0x9e,0x5b, 0x00,0x00,0x0f,0x8e,0x9e,0x5b,0x9e,0x5b,0x00,0x00,0x7f,0x67,0x00,0x00,0x65,0x6b,0x00,0x00,0x7a,0x7a, 0x00,0x00,0x52,0x97,0x00,0x00,0xea,0x96,0x00,0x00,0x0a,0x4e,0x00,0x00,0xb3,0x8d,0x00,0x00,0xd8,0x52, 0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x53,0x00,0x00,0x03,0x00,0x00,0x00,0x73,0x51,0x82,0x82,0x00,0x00, 0xe8,0x90,0x00,0x00,0xa8,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0x70,0x8e,0x00,0x00,0x70,0x8e,0x0d,0x4e, 0x4d,0x52,0x00,0x00,0x87,0x8e,0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x74,0x00,0x00,0xae,0x76,0x03,0x74, 0x00,0x00,0x06,0x72,0x00,0x00,0x86,0x99,0x00,0x00,0x7f,0x81,0x00,0x00,0x53,0x62,0x00,0x00,0x0f,0x8e, 0x1e,0x82,0x00,0x00,0x22,0x8e,0x00,0x00,0xd5,0x6c,0x00,0x00,0xfd,0x6b,0x00,0x00,0x02,0x00,0x00,0x00, 0x40,0x8e,0x00,0x00,0x25,0x8e,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x70,0x00,0x00,0x0f,0x8e,0x00,0x00, 0x39,0x52,0x66,0x8f,0x00,0x00,0xbf,0x7e,0x00,0x00,0x29,0x8e,0x00,0x00,0xd8,0x76,0x00,0x00,0x34,0x6c, 0x00,0x00,0xf7,0x96,0x00,0x00,0x53,0x90,0x00,0x00,0xd8,0x9a,0xf7,0x8d,0x00,0x00,0x02,0x00,0x00,0x00, 0x71,0x5f,0x00,0x00,0xf9,0x8f,0x00,0x00,0x02,0x00,0x00,0x00,0x1a,0x81,0x16,0x5c,0x00,0x00,0x1a,0x81, 0x00,0x00,0x02,0x00,0x00,0x00,0x85,0x8e,0x00,0x00,0x85,0x8e,0x0d,0x4e,0x4d,0x52,0x00,0x00,0x01,0x00, 0x00,0x00,0x65,0x6b,0x00,0x00,0x02,0x00,0x00,0x00,0x8b,0x4e,0x9e,0x58,0x4e,0x53,0x00,0x00,0xf3,0x81, 0x00,0x00,0x01,0x00,0x00,0x00,0xc2,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x5f,0x00,0x00,0xe8,0x95, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x05,0x00,0x00,0x00,0x9e,0x8e,0x00,0x00,0x40,0x8e, 0x00,0x00,0x3f,0x51,0x2d,0x9e,0x50,0x5b,0x00,0x00,0x40,0x88,0x00,0x00,0xb3,0x8d,0x00,0x00,0x01,0x00, 0x00,0x00,0xf9,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0x8f,0x8e,0x00,0x00,0x06,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x4b,0x7b,0x00,0x00,0x80,0x81,0x00,0x00,0xc8,0x9a,0x00,0x00,0x70,0x53,0x00,0x00,0x9d,0x7a, 0x00,0x00,0x05,0x00,0x00,0x00,0xa9,0x6d,0x00,0x00,0xee,0x4f,0x00,0x00,0xd0,0x8f,0x00,0x00,0xde,0x6e, 0x00,0x00,0xd9,0x62,0x00,0x00,0x04,0x00,0x00,0x00,0x77,0x6d,0x00,0x00,0xad,0x88,0x00,0x00,0x38,0x5e, 0xad,0x88,0x45,0x65,0x00,0x00,0x1e,0x82,0x00,0x00,0x04,0x00,0x00,0x00,0xce,0x8d,0x00,0x00,0xce,0x8d, 0x81,0x5c,0x08,0x67,0x00,0x00,0xcc,0x8d,0x00,0x00,0xce,0x8d,0x51,0x67,0x00,0x00,0x02,0x00,0x00,0x00, 0xf7,0x8d,0x00,0x00,0x84,0x5f,0x00,0x00,0x01,0x00,0x00,0x00,0x70,0x81,0x00,0x00,0x0a,0x00,0x00,0x00, 0x4b,0x62,0x51,0x8e,0x1a,0x81,0x00,0x00,0xb3,0x8d,0x00,0x00,0x1a,0x81,0x00,0x00,0x40,0x8e,0x00,0x00, 0x65,0x5c,0x00,0x00,0x7b,0x76,0x00,0x00,0x1a,0x81,0x39,0x68,0x00,0x00,0xdf,0x8d,0x00,0x00,0x3a,0x67, 0x00,0x00,0x84,0x60,0x84,0x60,0x00,0x00,0x02,0x00,0x00,0x00,0xda,0x8d,0x00,0x00,0x52,0x8e,0xda,0x8d, 0xda,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0xf6,0x8d,0x00,0x00,0x2f,0x5f,0x3f,0x51,0x00,0x00,0x03,0x00, 0x00,0x00,0x09,0x77,0x00,0x00,0x9d,0x98,0x00,0x00,0x77,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x6c, 0x00,0x00,0x51,0x6d,0x34,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x67,0x00,0x00,0x66,0x8e,0xf3,0x8d, 0xf3,0x8d,0x00,0x00,0xf6,0x8d,0x00,0x00,0x8a,0x5e,0x00,0x00,0x66,0x8e,0x00,0x00,0xea,0x8f,0x00,0x00, 0x50,0x5b,0x00,0x00,0xbe,0x8f,0x00,0x00,0xd8,0x9a,0x00,0x00,0x66,0x8e,0x66,0x8f,0x00,0x00,0x02,0x00, 0x00,0x00,0x4b,0x8e,0x00,0x00,0x4c,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x1a,0x81,0x00,0x00,0x06,0x00, 0x00,0x00,0x7f,0x81,0x00,0x00,0x0f,0x8e,0x00,0x00,0x3b,0x9f,0x50,0x5b,0x0a,0x4e,0x38,0x81,0x00,0x00, 0x1a,0x81,0x00,0x00,0x50,0x5b,0x00,0x00,0xcb,0x7a,0x00,0x00,0x08,0x00,0x00,0x00,0x6d,0x8e,0x00,0x00, 0x6d,0x99,0x00,0x00,0x51,0x7f,0x00,0x00,0x51,0x7f,0x61,0x53,0x00,0x00,0x03,0x54,0x6d,0x8e,0x9d,0x55, 0x00,0x00,0x6c,0x8e,0x00,0x00,0xd2,0x75,0x00,0x00,0x03,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x5b, 0x00,0x00,0xb9,0x70,0x00,0x00,0x4d,0x4f,0x00,0x00,0xff,0x59,0x00,0x00,0x0f,0x5f,0x00,0x00,0x95,0x53, 0x00,0x00,0x6c,0x9a,0x65,0x6b,0x00,0x00,0xbf,0x4f,0x68,0x56,0x00,0x00,0x1e,0x8e,0x00,0x00,0x0f,0x4f, 0x00,0x00,0x03,0x00,0x00,0x00,0xa0,0x97,0x00,0x00,0x18,0x8e,0x00,0x00,0x03,0x74,0x00,0x00,0x09,0x00, 0x00,0x00,0x47,0x53,0x00,0x00,0xa2,0x7e,0x00,0x00,0x27,0x8d,0x00,0x00,0x6b,0x70,0x00,0x00,0x3f,0x62, 0x8a,0x8d,0x0a,0x81,0x00,0x00,0x7e,0x81,0x00,0x00,0x66,0x8e,0x00,0x00,0xf3,0x8d,0x00,0x00,0x00,0x7a, 0x00,0x00,0x08,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0xc2,0x72,0x00,0x00,0xa8,0x52,0x0d,0x4e,0x89,0x5b, 0x00,0x00,0xc1,0x90,0xc7,0x75,0x00,0x00,0xc2,0x72,0xc7,0x75,0x00,0x00,0xc1,0x90,0x00,0x00,0xc2,0x72, 0x91,0x62,0xc1,0x90,0xc7,0x75,0x00,0x00,0xed,0x70,0x00,0x00,0x01,0x00,0x00,0x00,0x40,0x8e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0xfd,0x4e,0x00,0x00,0x0a,0x4e,0x00,0x00,0xb9,0x8f,0x00,0x00, 0xfd,0x4e,0xc1,0x8b,0x00,0x00,0xa1,0x4e,0x00,0x00,0xd8,0x9a,0x00,0x00,0x50,0x67,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x71,0x5f,0x00,0x00,0x09,0x00,0x00,0x00,0xab,0x8e,0x00,0x00,0x4c,0x88,0x00,0x00,0x4c,0x88, 0x9e,0x5b,0xf5,0x8d,0x00,0x00,0xb2,0x4e,0x00,0x00,0x22,0x90,0x76,0x51,0xdb,0x76,0x00,0x00,0x22,0x90, 0x00,0x00,0xe3,0x8b,0x00,0x00,0x15,0x80,0x00,0x00,0x65,0x5c,0x00,0x00,0x03,0x00,0x00,0x00,0x53,0x4f, 0x00,0x00,0x72,0x5e,0x00,0x00,0xf3,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x90,0x00,0x00,0x2b,0x73, 0x2b,0x73,0x00,0x00,0xcf,0x85,0x00,0x00,0xc7,0x8f,0x00,0x00,0x00,0x5f,0x00,0x00,0xea,0x95,0x00,0x00, 0x65,0x51,0x00,0x00,0x3a,0x50,0x00,0x00,0xb2,0x8e,0xea,0x95,0xea,0x95,0x00,0x00,0xb2,0x8e,0xcf,0x85, 0xcf,0x85,0x00,0x00,0x05,0x00,0x00,0x00,0xaa,0x67,0x00,0x00,0x05,0x69,0x00,0x00,0x12,0x50,0x00,0x00, 0xdc,0x67,0x00,0x00,0x0b,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x5e,0x79,0x00,0x00,0x01,0x00,0x00,0x00, 0x87,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0x72,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0xc2,0x88,0x00,0x00, 0x0a,0x00,0x00,0x00,0x86,0x8f,0x00,0x00,0x3b,0x4e,0x00,0x00,0x8b,0x57,0x00,0x00,0xd9,0x7a,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x68,0x79,0x00,0x00,0xf4,0x95,0x00,0x00,0xa2,0x53,0x00,0x00,0x78,0x79,0x00,0x00, 0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x94,0x00,0x00,0xee,0x5d,0x00,0x00,0x36,0x52,0x00,0x00, 0x3a,0x67,0x00,0x00,0x8a,0x8f,0x00,0x00,0xa2,0x94,0x82,0x53,0x00,0x00,0xb1,0x82,0x82,0x53,0x00,0x00, 0xb1,0x82,0x00,0x00,0x6c,0x9a,0xef,0x8d,0x00,0x00,0xc9,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x90, 0x00,0x00,0xf9,0x8f,0x00,0x00,0xa4,0x4e,0x00,0x00,0x53,0x90,0xbf,0x7e,0x00,0x00,0x53,0x90,0x68,0x56, 0x00,0x00,0x53,0x90,0xae,0x70,0x00,0x00,0x53,0x90,0x31,0x82,0x00,0x00,0xdd,0x8d,0x00,0x00,0x53,0x90, 0x66,0x8f,0x00,0x00,0x03,0x83,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71,0x27,0x59,0xe2,0x6c,0x00,0x00, 0x95,0x8f,0x00,0x00,0x3c,0x5c,0xd7,0x8b,0x00,0x00,0x95,0x8f,0x51,0x52,0x00,0x00,0x69,0x8f,0x00,0x00, 0x38,0x90,0x00,0x00,0x02,0x66,0x00,0x00,0x7e,0x8f,0x00,0x00,0x95,0x8f,0x0f,0x6c,0x00,0x00,0x95,0x8f, 0x99,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x57,0x00,0x00, 0xfb,0x79,0x00,0x00,0xd8,0x53,0x00,0x00,0xa9,0x8b,0x00,0x00,0xfa,0x57,0xe0,0x56,0x00,0x00,0x62,0x63, 0x00,0x00,0x11,0x54,0x00,0x00,0x16,0x53,0x00,0x00,0x7d,0x8f,0x00,0x00,0xd1,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xce,0x80,0x00,0x00,0xde,0x56,0x00,0x00,0xa8,0x52,0x00,0x00,0x41,0x6d,0x00,0x00,0x6a,0x75, 0x00,0x00,0x62,0x63,0x00,0x00,0x05,0x69,0x00,0x00,0xd3,0x5e,0x00,0x00,0x3c,0x50,0x00,0x00,0x50,0x5b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0xf6,0x94,0x00,0x00,0x31,0x5f,0x00,0x00,0x16,0x53, 0x00,0x00,0x40,0x77,0x46,0x96,0x00,0x00,0x6c,0x78,0xf6,0x4e,0x00,0x00,0x8b,0x80,0x00,0x00,0x81,0x79, 0x00,0x00,0xc4,0x7e,0xc7,0x7e,0x00,0x00,0xa8,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0xb8,0x70,0x00,0x00, 0xb8,0x70,0x3a,0x67,0x00,0x00,0xa8,0x52,0x00,0x00,0x70,0x8f,0xc8,0x70,0xc8,0x70,0x00,0x00,0x23,0x9e, 0x00,0x00,0xa8,0x52,0x00,0x4e,0xf6,0x65,0x00,0x00,0x36,0x71,0x00,0x00,0x23,0x9e,0xf0,0x58,0x00,0x00, 0x86,0x96,0x00,0x00,0x86,0x96,0x86,0x96,0x00,0x00,0x02,0x00,0x00,0x00,0x98,0x8f,0x00,0x00,0x73,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x62,0x00,0x00,0xc3,0x5f,0x00,0x00,0xdd,0x8d,0x00,0x00,0xbf,0x7e, 0x00,0x00,0x0a,0x4e,0x00,0x00,0x81,0x7a,0x00,0x00,0xc3,0x5f,0xfd,0x56,0x00,0x00,0xcd,0x91,0x00,0x00, 0x50,0x5b,0x00,0x00,0xcb,0x65,0x6c,0x8f,0x00,0x00,0x05,0x00,0x00,0x00,0x8b,0x4e,0x00,0x00,0xfb,0x95, 0x00,0x00,0xa4,0x7f,0x00,0x00,0x18,0x5c,0x00,0x00,0x8b,0x4e,0x57,0x90,0xfb,0x95,0x00,0x00,0x02,0x00, 0x00,0x00,0xf5,0x5f,0x00,0x00,0xb9,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7e,0x67,0x00,0x00,0x13,0x66,0x00,0x00,0xae,0x5f,0x00,0x00,0x7b,0x8f,0x00,0x00,0x24,0x4f, 0x00,0x00,0x8b,0x57,0x00,0x00,0xa6,0x5e,0x00,0x00,0xe1,0x4f,0x00,0x00,0xc6,0x89,0x00,0x00,0xe5,0x5d, 0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x4f,0x00,0x00,0xba,0x4e,0x00,0x00,0x09,0x67,0x00,0x00,0xa2,0x5b, 0x00,0x00,0xcd,0x91,0x00,0x00,0x77,0x83,0x00,0x00,0x65,0x51,0x00,0x00,0x0e,0x66,0x00,0x00,0x27,0x8d, 0x00,0x00,0xa2,0x5b,0xcf,0x91,0x00,0x00,0x06,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0xa2,0x53,0x00,0x00, 0x50,0x5b,0x00,0x00,0x2b,0x59,0x00,0x00,0x50,0x5b,0x71,0x5c,0x00,0x00,0x50,0x5b,0x71,0x5c,0x47,0x95, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x4e,0x00,0x00,0x27,0x59,0x00,0x00,0xcf,0x91,0x00,0x00,0x4b,0x4e, 0x00,0x00,0x1f,0x77,0x00,0x00,0xb2,0x52,0x00,0x00,0x3a,0x57,0x00,0x00,0x7d,0x59,0x00,0x00,0x1f,0x77, 0x3f,0x51,0x00,0x00,0xcd,0x91,0x05,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x09,0x67,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa9,0x52,0x00,0x00,0xfc,0x5b,0x00,0x00,0x99,0x65,0x00,0x00,0xfc,0x5b,0x58,0x54,0x00,0x00, 0xdf,0x98,0x00,0x00,0xef,0x8d,0x00,0x00,0xfc,0x5b,0xed,0x73,0x00,0x00,0xa9,0x52,0x27,0x60,0x00,0x00, 0x66,0x8b,0x00,0x00,0xf3,0x97,0x00,0x00,0x02,0x00,0x00,0x00,0x21,0x6b,0x00,0x00,0x70,0x65,0x00,0x00, 0x06,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xfa,0x51,0x00,0x00,0x06,0x52,0x00,0x00,0xfd,0x4e,0x00,0x00, 0x3f,0x51,0x00,0x00,0x4c,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x71,0x00,0x00,0x5e,0x74,0x00,0x00, 0x71,0x5c,0x00,0x00,0xcb,0x7a,0x00,0x00,0x20,0x66,0x00,0x00,0x7e,0x81,0x00,0x00,0x00,0x80,0x00,0x00, 0x89,0x8f,0x00,0x00,0x57,0x53,0x00,0x00,0x49,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x53,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x66,0x5b,0x00,0x00,0x66,0x5b,0x87,0x73,0x00,0x00,0x15,0x80, 0x00,0x00,0x14,0x7b,0x00,0x00,0x1d,0x67,0x00,0x00,0x14,0x6f,0x00,0x00,0x1a,0x4e,0x00,0x00,0x62,0x6b, 0x00,0x00,0xe5,0x5d,0x00,0x00,0xdf,0x98,0x10,0x54,0xfa,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0xcd,0x91, 0x00,0x00,0x66,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x04,0x5c,0x00,0x00,0x04,0x5c,0xcf,0x91,0x00,0x00, 0x67,0x71,0x00,0x00,0x04,0x5c,0x9b,0x52,0x00,0x00,0x04,0x5c,0x90,0x6e,0x00,0x00,0x04,0x5c,0x3c,0x50, 0x00,0x00,0x04,0x5c,0x62,0x97,0x00,0x00,0x04,0x5c,0xfe,0x96,0x00,0x00,0x04,0x5c,0x27,0x60,0x00,0x00, 0x04,0x5c,0xb9,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0x55,0x5f,0x00,0x00,0x5a,0x4f,0x00,0x00,0x21,0x68, 0x00,0x00,0x10,0x62,0x00,0x00,0x65,0x51,0x00,0x00,0xc8,0x89,0x00,0x00,0x66,0x77,0x00,0x00,0x09,0x90, 0x00,0x00,0xc6,0x96,0x00,0x00,0x46,0x7a,0x00,0x00,0x02,0x00,0x00,0x00,0x66,0x8f,0x00,0x00,0x8c,0x8f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0x01,0x90,0x00,0x00,0xfa,0x51,0x00,0x00,0xb2,0x6d, 0x00,0x00,0x40,0x88,0x00,0x00,0x65,0x51,0xd5,0x6c,0x00,0x00,0x35,0x75,0x00,0x00,0x65,0x51,0x27,0x60, 0x00,0x00,0x75,0x53,0xa1,0x7b,0x00,0x00,0xb9,0x6c,0xa1,0x7b,0x53,0x90,0x00,0x00,0x01,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x03,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x6c,0x9a,0x00,0x00,0x6c,0x9a,0x7e,0x9a, 0x66,0x8f,0x0d,0x4e,0x7e,0x67,0x57,0x59,0x00,0x00,0x06,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0x85,0x51, 0x00,0x00,0x36,0x52,0x00,0x00,0x5e,0x5c,0x00,0x00,0xb5,0x6b,0x00,0x00,0x0b,0x4e,0x00,0x00,0x08,0x00, 0x00,0x00,0x6c,0x8f,0x00,0x00,0x6c,0x8f,0xcd,0x53,0xa7,0x4f,0x00,0x00,0x6c,0x8f,0xbe,0x96,0x20,0x77, 0x00,0x00,0xc7,0x8f,0x00,0x00,0xd9,0x6b,0x00,0x00,0x8b,0x53,0x00,0x00,0x67,0x8f,0x00,0x00,0x7b,0x6b, 0x00,0x00,0x02,0x00,0x00,0x00,0x73,0x8f,0x00,0x00,0x98,0x8f,0x00,0x00,0x02,0x00,0x00,0x00,0xc9,0x53, 0x00,0x00,0xe3,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xe6,0x82,0x00,0x00,0xa3,0x8f,0x00,0x00,0xa5,0x4e, 0x69,0x97,0x7d,0x54,0x00,0x00,0xe4,0x52,0x00,0x00,0x9b,0x8f,0xe6,0x82,0xe6,0x82,0x00,0x00,0x78,0x91, 0x00,0x00,0xa5,0x4e,0x00,0x00,0x6e,0x66,0xee,0x68,0x00,0x00,0x54,0x58,0x00,0x00,0xb3,0x52,0x00,0x00, 0x02,0x00,0x00,0x00,0x1f,0x8d,0x00,0x00,0x2f,0x63,0x2b,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x80, 0x00,0x00,0xbb,0x53,0x00,0x00,0x00,0x90,0x00,0x00,0x48,0x54,0x00,0x00,0xfb,0x4e,0x00,0x00,0x78,0x51, 0x00,0x00,0x16,0x4e,0x00,0x00,0x4c,0x80,0xe1,0x4f,0x00,0x00,0xe7,0x65,0xce,0x8f,0xb0,0x65,0x00,0x00, 0x77,0x6d,0x00,0x00,0x06,0x00,0x00,0x00,0x23,0x8c,0x00,0x00,0x37,0x8c,0x00,0x00,0xaa,0x90,0x00,0x00, 0xcd,0x96,0x00,0x00,0x13,0x66,0x00,0x00,0xcd,0x96,0x1a,0x78,0x00,0x00,0x0a,0x00,0x00,0x00,0x12,0x69, 0x00,0x00,0x73,0x54,0x00,0x00,0x12,0x69,0x20,0x7d,0x00,0x00,0x71,0x91,0x00,0x00,0x12,0x69,0x34,0x6c, 0x00,0x00,0x12,0x69,0x71,0x91,0x00,0x00,0x88,0x59,0x00,0x00,0xb9,0x59,0x00,0x00,0x20,0x7d,0x00,0x00, 0x12,0x69,0x89,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x52,0x00,0x00,0xa4,0x8b,0x00,0x00,0xc6,0x8b, 0x00,0x00,0xc1,0x8b,0x00,0x00,0x90,0x67,0x00,0x00,0x0e,0x66,0x00,0x00,0xc6,0x8b,0xa6,0x5e,0x00,0x00, 0x2a,0x4f,0x00,0x00,0xc1,0x8b,0xba,0x8b,0xbb,0x6c,0x00,0x00,0x05,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00, 0xba,0x8b,0x00,0x00,0xa4,0x62,0x00,0x00,0xe3,0x89,0x00,0x00,0xa4,0x62,0xba,0x4e,0x00,0x00,0xf0,0x79, 0x00,0x00,0xc1,0x8b,0x00,0x00,0xa4,0x62,0x8b,0x5f,0x08,0x5e,0x00,0x00,0xb9,0x65,0x00,0x00,0xc1,0x8b, 0xd5,0x6c,0x00,0x00,0x73,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x49,0x51,0x00,0x00,0x33,0x96,0x00,0x00,0xaa,0x6e,0xbf,0x53,0x00,0x00,0xf6,0x65,0x00,0x00,0xaa,0x6e, 0x00,0x00,0x02,0x78,0x00,0x00,0x1f,0x66,0x00,0x00,0x99,0x9f,0x00,0x00,0xb3,0x6c,0x00,0x00,0x49,0x51, 0x6f,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0x82,0x9a,0x00,0x00,0x4e,0x53,0x00,0x00,0xa1,0x6c,0x00,0x00, 0x7d,0x54,0x00,0x00,0xa1,0x6c,0xe8,0x95,0xad,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x83,0x58,0x00,0x00, 0x18,0x7f,0x00,0x00,0x4c,0x75,0x00,0x00,0x32,0x96,0x00,0x00,0x45,0x96,0x00,0x00,0x0a,0x4e,0x00,0x00, 0x18,0x7f,0x16,0x53,0x00,0x00,0x86,0x75,0x00,0x00,0xdc,0x8f,0x00,0x00,0xc0,0x68,0x00,0x00,0x0a,0x00, 0x00,0x00,0x81,0x5b,0x00,0x00,0x81,0x5b,0x01,0x77,0x00,0x00,0x81,0x5b,0x30,0x82,0x00,0x00,0x14,0x96, 0x00,0x00,0x33,0x96,0x00,0x00,0xb3,0x6c,0x00,0x00,0x88,0x6c,0x00,0x00,0x1c,0x4e,0x00,0x00,0x33,0x96, 0x02,0x5e,0x00,0x00,0x1c,0x4e,0x7e,0x6e,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0x10,0x62, 0x00,0x00,0x07,0x68,0x00,0x00,0x83,0x6c,0xaf,0x65,0x00,0x00,0x14,0x5c,0x87,0x65,0x00,0x00,0xa7,0x4e, 0x00,0x00,0x56,0x8d,0x00,0x00,0xc9,0x62,0xaf,0x65,0x00,0x00,0x99,0x82,0x87,0x65,0x00,0x00,0xde,0x5d, 0x00,0x00,0x0a,0x00,0x00,0x00,0xfb,0x79,0x00,0x00,0x99,0x5f,0x00,0x00,0x65,0x51,0x00,0x00,0xfa,0x51, 0x00,0x00,0x31,0x5c,0x00,0x00,0xfd,0x90,0x00,0x00,0x45,0x5c,0x00,0x00,0x12,0x60,0x00,0x00,0xa2,0x94, 0x00,0x00,0x89,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x56,0x00,0x00,0x50,0x81,0x00,0x00,0xde,0x56, 0xf2,0x66,0x98,0x62,0x00,0x00,0xf2,0x66,0x00,0x00,0x14,0x96,0x00,0x00,0xdc,0x8f,0x00,0x00,0x13,0x7f, 0x00,0x00,0x2b,0x59,0x50,0x5b,0x00,0x00,0xde,0x6e,0x00,0x00,0x05,0x80,0x00,0x00,0x02,0x00,0x00,0x00, 0xca,0x4e,0x00,0x00,0xca,0x4e,0x3a,0x4e,0x62,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x90,0x00,0x00, 0x1b,0x73,0x00,0x00,0xf7,0x96,0x00,0x00,0x73,0x53,0x00,0x00,0x77,0x63,0x00,0x00,0x00,0x95,0x00,0x00, 0x38,0x6e,0x00,0x00,0xf7,0x96,0x0d,0x4e,0xca,0x53,0xa9,0x63,0x33,0x80,0x4b,0x4e,0xbf,0x52,0x00,0x00, 0xbe,0x75,0x00,0x00,0xf7,0x96,0x0d,0x4e,0xca,0x53,0xa9,0x63,0x33,0x80,0x00,0x00,0x0a,0x00,0x00,0x00, 0x0b,0x7a,0x00,0x00,0xbb,0x53,0x00,0x00,0x65,0x67,0x00,0x00,0xa6,0x5e,0x00,0x00,0x8e,0x4e,0x00,0x00, 0x69,0x52,0x00,0x00,0x21,0x6e,0x00,0x00,0x4f,0x65,0x00,0x00,0x0e,0x54,0x00,0x00,0x06,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0x4b,0x51,0x14,0x5c,0x00,0x00,0xfa,0x51,0x00,0x00,0xdb,0x8f,0x00,0x00,0x11,0x54, 0x00,0x00,0x4b,0x51,0x00,0x00,0x3f,0x96,0xc6,0x5b,0x00,0x00,0x00,0x5f,0x00,0x00,0x7e,0x81,0x00,0x00, 0x14,0x5c,0xaf,0x65,0x00,0x00,0x65,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x67,0x00,0x00,0xa5,0x63, 0x00,0x00,0x08,0x54,0x00,0x00,0x62,0x97,0x00,0x00,0x18,0x62,0x00,0x00,0x25,0x66,0x00,0x00,0x03,0x52, 0x0c,0x80,0xe3,0x89,0x00,0x00,0xbe,0x5b,0x00,0x00,0x36,0x5a,0x00,0x00,0xce,0x98,0x00,0x00,0x0a,0x00, 0x00,0x00,0x25,0x84,0x00,0x00,0x4c,0x88,0x00,0x00,0xa8,0x52,0x00,0x00,0x93,0x8f,0x00,0x00,0x5c,0x4f, 0x00,0x00,0x25,0x84,0x46,0x55,0x00,0x00,0x28,0x75,0x00,0x00,0xa8,0x52,0x58,0x54,0x00,0x00,0x6c,0x8f, 0x00,0x00,0x01,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0xe5,0x65,0x00,0x00,0x74,0x5e, 0x65,0x67,0x00,0x00,0x74,0x5e,0x00,0x00,0x65,0x67,0x00,0x00,0xe3,0x4e,0x00,0x00,0xc6,0x89,0x00,0x00, 0x9b,0x4e,0x74,0x5e,0x00,0x00,0x4e,0x4e,0x00,0x00,0x77,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x56, 0x00,0x00,0xd8,0x8f,0x00,0x00,0x61,0x4e,0x00,0x00,0x0b,0x7a,0x00,0x00,0x2a,0x82,0x00,0x00,0xb9,0x70, 0x00,0x00,0xb0,0x73,0x00,0x00,0x29,0x52,0x51,0x7f,0x00,0x00,0xde,0x56,0x31,0x82,0x00,0x00,0x21,0x68, 0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x66,0x00,0x00,0x09,0x67,0x00,0x00,0x81,0x89,0x00,0x00,0x3e,0x6b, 0x00,0x00,0x9f,0x53,0x00,0x00,0x37,0x8d,0x00,0x00,0x3a,0x50,0x00,0x00,0x2c,0x67,0x00,0x00,0xfb,0x51, 0x00,0x00,0x3e,0x6b,0x9d,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x2a,0x4e,0x00,0x00,0x9b,0x4e,0x00,0x00, 0x37,0x68,0x00,0x00,0xcd,0x79,0x00,0x00,0x48,0x4e,0x00,0x00,0xcc,0x91,0x00,0x00,0xb6,0x5b,0x00,0x00, 0xf6,0x65,0x00,0x00,0x3e,0x6b,0x00,0x00,0x21,0x6b,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00, 0x65,0x51,0x00,0x00,0x00,0x4e,0x65,0x6b,0x00,0x00,0xe3,0x53,0x00,0x00,0x55,0x5c,0x00,0x00,0x0b,0x7a, 0x00,0x00,0x65,0x6b,0x00,0x00,0xbb,0x53,0x00,0x00,0x0c,0x80,0x00,0x00,0xfa,0x51,0xe3,0x53,0x00,0x00, 0x0a,0x00,0x00,0x00,0xdc,0x8f,0x00,0x00,0xbb,0x79,0x00,0x00,0x0b,0x7a,0x00,0x00,0x0b,0x6d,0x00,0x00, 0x1c,0x4e,0x00,0x00,0x1f,0x67,0x00,0x00,0x04,0x59,0x00,0x00,0xb9,0x65,0x00,0x00,0x27,0x59,0x00,0x00, 0xc1,0x89,0x00,0x00,0x0a,0x00,0x00,0x00,0xd5,0x6c,0x00,0x00,0xc4,0x89,0x00,0x00,0xcd,0x53,0x00,0x00, 0xa6,0x7e,0x00,0x00,0xcc,0x80,0x00,0x00,0xaa,0x7e,0x00,0x00,0xe0,0x7a,0x00,0x00,0xfa,0x5e,0x00,0x00, 0xa6,0x7e,0xd1,0x91,0x00,0x00,0x81,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x7e,0x00,0x00,0xa5,0x63, 0x00,0x00,0x01,0x95,0x00,0x00,0xfb,0x4e,0x00,0x00,0xbf,0x7e,0x00,0x00,0xe5,0x65,0x65,0x67,0x00,0x00, 0x1c,0x59,0x00,0x00,0xaf,0x73,0x00,0x00,0x26,0x5e,0x00,0x00,0xde,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00, 0xdf,0x8f,0x00,0x00,0x30,0x52,0x00,0x00,0xe9,0x65,0x00,0x00,0x13,0x7f,0x00,0x00,0x9d,0x94,0x00,0x00, 0x91,0x75,0x00,0x00,0xde,0x6e,0x00,0x00,0xf6,0x5e,0x00,0x00,0xae,0x66,0x00,0x00,0x69,0x6d,0x30,0x75, 0x00,0x00,0x07,0x00,0x00,0x00,0xe2,0x8f,0x00,0x00,0x65,0x90,0x00,0x00,0xe2,0x8f,0x30,0x57,0x00,0x00, 0xe2,0x8f,0x07,0x4e,0xcc,0x91,0x00,0x00,0xe2,0x8f,0x7f,0x95,0xef,0x8d,0x00,0x00,0xdc,0x8f,0x00,0x00, 0xe2,0x8f,0x3a,0x6e,0x3a,0x6e,0x00,0x00,0x02,0x00,0x00,0x00,0x26,0x90,0x00,0x00,0x5a,0x53,0x51,0x67, 0x00,0x00,0x05,0x00,0x00,0x00,0x02,0x5f,0x00,0x00,0x36,0x71,0x0d,0x4e,0x0c,0x54,0x00,0x00,0x36,0x71, 0x00,0x00,0x36,0x71,0xf8,0x76,0x02,0x5f,0x00,0x00,0x36,0x71,0x09,0x67,0x02,0x5f,0x00,0x00,0x05,0x00, 0x00,0x00,0x2a,0x59,0xfa,0x57,0x00,0x00,0xf6,0x53,0x5b,0x4f,0x00,0x00,0x57,0x53,0x00,0x00,0xb3,0x7e, 0x00,0x00,0x01,0x63,0x00,0x00,0x01,0x00,0x00,0x00,0x65,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x62, 0x00,0x00,0xeb,0x58,0x3c,0x5c,0x00,0x00,0x9a,0x4e,0x00,0x00,0xaf,0x65,0x3c,0x5c,0x00,0x00,0xeb,0x58, 0x3c,0x5c,0x50,0x4e,0xed,0x56,0x00,0x00,0x65,0x59,0x00,0x00,0x89,0x5b,0x00,0x00,0x86,0x5e,0x00,0x00, 0x6c,0x9a,0x00,0x00,0xdc,0x62,0x54,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x4f,0x00,0x00,0x07,0x52, 0x00,0x00,0x28,0x57,0x09,0x77,0x6b,0x77,0x00,0x00,0x8e,0x4e,0x00,0x00,0x0d,0x4e,0xca,0x53,0x85,0x5f, 0x00,0x00,0xb3,0x5b,0x00,0x00,0x4d,0x96,0x00,0x00,0xfb,0x51,0xae,0x70,0x00,0x00,0x0d,0x4e,0x97,0x5f, 0xf2,0x5d,0x00,0x00,0xd1,0x8f,0x00,0x00,0x09,0x00,0x00,0x00,0xe3,0x4e,0x00,0x00,0x1b,0x52,0xb0,0x65, 0xd8,0x9a,0x00,0x00,0x77,0x8d,0x00,0x00,0x08,0x62,0x00,0x00,0xe8,0x90,0x00,0x00,0x1b,0x52,0x00,0x00, 0xfa,0x51,0x00,0x00,0xe8,0x90,0xbf,0x53,0x00,0x00,0x21,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0x84,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x80,0x00,0x00,0xf4,0x8b,0x00,0x00,0xc4,0x8b,0x00,0x00,0xc9,0x5e, 0x00,0x00,0x0c,0x80,0x0d,0x4e,0x5c,0x4f,0x00,0x00,0x81,0x89,0x00,0x00,0x73,0x5e,0x00,0x00,0xe4,0x53, 0x00,0x00,0xed,0x8b,0x00,0x00,0x00,0x60,0x00,0x00,0x07,0x00,0x00,0x00,0xad,0x5e,0x00,0x00,0xea,0x81, 0x00,0x00,0xf4,0x76,0x00,0x00,0x11,0x54,0x00,0x00,0xf9,0x8f,0x00,0x00,0x41,0x6d,0x00,0x00,0x5b,0x8d, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe1,0x4f,0x00,0x00,0x2b,0x83,0x00,0x00,0xd1,0x60,0x00,0x00,0x31,0x59, 0x00,0x00,0xba,0x4e,0x00,0x00,0x60,0x4f,0x00,0x00,0x4b,0x60,0x00,0x00,0xfe,0x96,0x00,0x00,0xca,0x7c, 0x00,0x00,0xef,0x8d,0x00,0x00,0x06,0x00,0x00,0x00,0xd1,0x53,0x00,0x00,0xc2,0x88,0x00,0x00,0x85,0x6e, 0x00,0x00,0x41,0x6d,0x00,0x00,0x04,0x5c,0x00,0x00,0xd1,0x53,0xfa,0x51,0x00,0x00,0x05,0x00,0x00,0x00, 0x61,0x8c,0x00,0x00,0xe8,0x95,0x00,0x00,0x30,0x57,0x00,0x00,0xc1,0x8b,0x00,0x00,0xbf,0x7e,0x00,0x00, 0x01,0x00,0x00,0x00,0xd1,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x42,0x6c,0x00,0x00,0x76,0x7a,0x00,0x00, 0x2a,0x8e,0x00,0x00,0x67,0x63,0x00,0x00,0xaf,0x6e,0x00,0x00,0xee,0x95,0x00,0x00,0x10,0x90,0x00,0x00, 0xa0,0x52,0x00,0x00,0x3e,0x5c,0x00,0x00,0x76,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00, 0x11,0x4f,0x00,0x00,0x02,0x5e,0x00,0x00,0x27,0x8d,0x00,0x00,0x3e,0x6b,0x00,0x00,0x79,0x5f,0x00,0x00, 0xd8,0x8f,0x00,0x00,0x0e,0x7a,0x00,0x00,0x68,0x79,0x00,0x00,0xde,0x56,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd9,0x7e,0x00,0x00,0x80,0x5f,0x00,0x00,0x3c,0x79,0x00,0x00,0xc0,0x68,0x00,0x00,0x30,0x52,0x00,0x00, 0xbe,0x8f,0x00,0x00,0x27,0x8d,0x00,0x00,0x65,0x51,0x00,0x00,0xa4,0x4e,0x00,0x00,0x2b,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0x08,0x54,0x00,0x00,0x53,0x5f,0x00,0x00,0x28,0x75,0x00,0x00,0x94,0x5e,0x00,0x00, 0xa6,0x5e,0x00,0x00,0xcf,0x91,0x00,0x00,0xf6,0x65,0x00,0x00,0x9c,0x5b,0x00,0x00,0x2d,0x4e,0x00,0x00, 0x94,0x5e,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x79,0x00,0x00,0x7f,0x90,0x00,0x00,0xd1,0x8d, 0x00,0x00,0x1f,0x75,0x00,0x00,0x31,0x81,0x00,0x00,0x38,0x90,0x00,0x00,0x0e,0x7a,0x00,0x00,0xa1,0x4e, 0x00,0x00,0xaf,0x72,0x00,0x00,0x70,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x8f,0x00,0x00,0xbf,0x52, 0x00,0x00,0x02,0x5e,0x00,0x00,0xee,0x5d,0x00,0x00,0x4c,0x88,0x00,0x00,0xad,0x88,0x00,0x00,0x11,0x54, 0x00,0x00,0x83,0x58,0x00,0x00,0x29,0x59,0x00,0x00,0x41,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xe9,0x62, 0x00,0x00,0x3e,0x4e,0x00,0x00,0x11,0x6c,0x00,0x00,0x4b,0x62,0x00,0x00,0xd4,0x62,0x00,0x00,0x79,0x98, 0x00,0x00,0x2d,0x8d,0x00,0x00,0x68,0x79,0x00,0x00,0x28,0x75,0x00,0x00,0xfa,0x51,0x00,0x00,0x08,0x00, 0x00,0x00,0x72,0x82,0x00,0x00,0x3c,0x5c,0x3e,0x6d,0x00,0x00,0x3c,0x5c,0x00,0x00,0x4b,0x51,0xbf,0x53, 0x00,0x00,0x4b,0x51,0x00,0x00,0x0c,0x80,0x0d,0x4e,0xd7,0x4f,0x00,0x00,0x7a,0x98,0x00,0x00,0x4d,0x4f, 0x00,0x00,0x04,0x00,0x00,0x00,0xa2,0x5b,0x00,0x00,0x20,0x6b,0x00,0x00,0x03,0x90,0x00,0x00,0x03,0x90, 0xae,0x85,0x00,0x00,0x06,0x00,0x00,0x00,0x65,0x90,0x00,0x00,0x65,0x90,0xd5,0x6c,0x16,0x59,0x00,0x00, 0x65,0x90,0xea,0x81,0x28,0x57,0x00,0x00,0xa2,0x5b,0x00,0x00,0x97,0x67,0x00,0x00,0x65,0x90,0xea,0x81, 0x97,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x32,0x97,0x00,0x00,0x0e,0x66,0x00,0x00,0xc7,0x8f,0x00,0x00, 0x0e,0x66,0xa6,0x5e,0x00,0x00,0x2f,0x65,0x00,0x00,0xc6,0x89,0x00,0x00,0x90,0x67,0x00,0x00,0x34,0x6c, 0x00,0x00,0x7b,0x5f,0x00,0x00,0x0e,0x66,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x6b,0x00,0x00, 0x10,0x6e,0x00,0x00,0x74,0x5e,0x00,0x00,0x00,0x4e,0x00,0x00,0x08,0x67,0x00,0x00,0xa7,0x7e,0x00,0x00, 0x29,0x52,0x00,0x00,0x2a,0x4e,0x00,0x00,0xe5,0x65,0x00,0x00,0xfa,0x51,0x00,0x00,0x0a,0x00,0x00,0x00, 0xa4,0x4e,0x00,0x00,0x9e,0x58,0x00,0x00,0xcf,0x51,0x00,0x00,0xd9,0x7e,0x00,0x00,0xf6,0x5e,0x00,0x00, 0x01,0x90,0x00,0x00,0x52,0x5f,0x00,0x00,0xdb,0x8f,0x00,0x00,0x28,0x8d,0x00,0x00,0x65,0x88,0x00,0x00, 0x0a,0x00,0x00,0x00,0x84,0x5f,0x00,0x00,0x2d,0x4e,0x00,0x00,0xcf,0x7e,0x00,0x00,0x5b,0x72,0x00,0x00, 0xc2,0x89,0x00,0x00,0x10,0x95,0x00,0x00,0xb6,0x5b,0x51,0x7f,0x00,0x00,0xb6,0x5b,0x00,0x00,0x89,0x5b, 0x00,0x00,0x5b,0x72,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x59,0x75,0x00,0x00,0x50,0x4e,0x00,0x00, 0xd4,0x6b,0x00,0x00,0xf7,0x53,0x00,0x00,0x17,0x90,0x00,0x00,0x11,0x7b,0x00,0x00,0xa3,0x8d,0x00,0x00, 0x04,0x5f,0x00,0x00,0xcf,0x54,0x00,0x00,0x2b,0x73,0xd2,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xc7,0x8f, 0x00,0x00,0xe5,0x77,0x00,0x00,0x38,0x5e,0x00,0x00,0xe1,0x4f,0x00,0x00,0xa5,0x62,0x00,0x00,0x53,0x90, 0x00,0x00,0xc0,0x80,0x00,0x00,0x28,0x75,0x00,0x00,0xaf,0x8b,0x00,0x00,0xaf,0x8b,0x58,0x54,0x00,0x00, 0x07,0x00,0x00,0x00,0x1b,0x90,0x00,0x00,0x57,0x88,0x00,0x00,0x55,0x5c,0x00,0x00,0x61,0x83,0x00,0x00, 0x65,0x67,0x1b,0x90,0xbb,0x53,0x00,0x00,0x38,0x6e,0x00,0x00,0x6f,0x70,0x00,0x00,0x06,0x00,0x00,0x00, 0x16,0x4e,0x00,0x00,0xbb,0x53,0x00,0x00,0x05,0x80,0x00,0x00,0x05,0x80,0x82,0x59,0xaf,0x65,0x00,0x00, 0x34,0x6c,0x00,0x00,0x16,0x4e,0x05,0x80,0x00,0x00,0x06,0x00,0x00,0x00,0x3a,0x5f,0x00,0x00,0xfd,0x80, 0x00,0x00,0xf6,0x51,0x00,0x00,0xb4,0x66,0x00,0x00,0x76,0x51,0xe3,0x53,0x0c,0x82,0x00,0x00,0x27,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x12,0x90,0x00,0x00,0x87,0x73,0x00,0x00,0x10,0x62, 0x00,0x00,0xbb,0x51,0x00,0x00,0x10,0x62,0x21,0x9e,0x00,0x00,0x1f,0x75,0x21,0x9e,0x00,0x00,0x99,0x51, 0x00,0x00,0x48,0x65,0x00,0x00,0x1f,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x10,0x62,0x00,0x00,0x47,0x50, 0x00,0x00,0x8b,0x57,0x00,0x00,0x31,0x5c,0x00,0x00,0xf7,0x4e,0x00,0x00,0x39,0x82,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x40,0x88,0x00,0x00,0x23,0x8c,0x00,0x00,0x8f,0x79,0x00,0x00,0x02,0x00,0x00,0x00,0xe1,0x5d, 0x00,0x00,0xe1,0x5d,0x0d,0x4e,0x4d,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0xc7,0x8f,0x82,0x82, 0x00,0x00,0xf6,0x51,0x16,0x53,0x09,0x54,0x00,0x00,0x3a,0x57,0x5c,0x4f,0x0f,0x62,0x00,0x00,0xce,0x8f, 0x00,0x00,0xc6,0x96,0x00,0x00,0x32,0x75,0x27,0x59,0x66,0x5b,0x00,0x00,0xba,0x4e,0xbf,0x4f,0xb2,0x8b, 0x00,0x00,0xa0,0x51,0xc5,0x5f,0x3a,0x59,0x00,0x00,0xc9,0x4f,0x00,0x00,0x48,0x51,0xc5,0x5f,0x89,0x4e, 0x00,0x00,0x03,0x00,0x00,0x00,0x55,0x63,0x00,0x00,0x55,0x63,0xe4,0x4e,0x00,0x00,0x30,0x52,0x00,0x00, 0x01,0x00,0x00,0x00,0xe4,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x2b,0x59,0x00,0x00,0xa8,0x52,0x00,0x00, 0xf4,0x81,0x00,0x00,0xdb,0x76,0x00,0x00,0xe3,0x81,0x00,0x00,0x8b,0x4e,0x00,0x00,0x4b,0x66,0x00,0x00, 0xe0,0x7f,0x7e,0x6e,0x00,0x00,0xfb,0x95,0x00,0x00,0x63,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0x91,0x8f, 0x00,0x00,0x91,0x8f,0x1d,0x60,0xf4,0x7e,0x00,0x00,0x91,0x8f,0x66,0x5b,0x00,0x00,0x91,0x8f,0x27,0x60, 0x00,0x00,0x91,0x8f,0xa8,0x63,0x06,0x74,0x00,0x00,0x91,0x8f,0x66,0x5b,0xb6,0x5b,0x00,0x00,0x91,0x8f, 0xe8,0x95,0x00,0x00,0x04,0x54,0xaf,0x65,0x00,0x00,0x91,0x8f,0xb8,0x70,0x39,0x5f,0x00,0x00,0x91,0x8f, 0x14,0x6f,0x97,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x8f,0x00,0x00,0xeb,0x8f,0x00,0x00,0x9b,0x4f, 0x00,0x00,0x1f,0x77,0x00,0x00,0x7a,0x7a,0x00,0x00,0xab,0x5b,0x00,0x00,0x5c,0x50,0x00,0x00,0x5a,0x5a, 0x00,0x00,0x7b,0x6b,0x00,0x00,0xc4,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0x8a,0x8d, 0x00,0x00,0x1f,0x67,0x87,0x73,0x00,0x00,0x8a,0x8d,0x82,0x82,0x00,0x00,0xa3,0x57,0x00,0x00,0x38,0x5e, 0x00,0x00,0x06,0x52,0x00,0x00,0x08,0x00,0x00,0x00,0x62,0x5f,0x00,0x00,0x16,0x4e,0x00,0x00,0x65,0x51, 0x7a,0x7a,0xe8,0x95,0x00,0x00,0x03,0x90,0x00,0x00,0xcd,0x8b,0x00,0x00,0xab,0x8e,0x00,0x00,0x16,0x4e, 0x05,0x80,0x00,0x00,0x65,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x5b,0x00,0x00,0x4c,0x88,0x00,0x00, 0x81,0x5b,0x02,0x5e,0x00,0x00,0x0c,0x66,0x00,0x00,0x0c,0x66,0xbf,0x53,0x00,0x00,0xdd,0x5d,0xbf,0x53, 0x00,0x00,0xaa,0x6e,0xbf,0x53,0x00,0x00,0x73,0x5e,0xbf,0x53,0x00,0x00,0x73,0x5e,0x00,0x00,0xdd,0x5d, 0x00,0x00,0x01,0x00,0x00,0x00,0x81,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x30,0x52,0x00,0x00,0xbe,0x96, 0x00,0x00,0xbe,0x96,0x05,0x80,0x00,0x00,0xc1,0x89,0x00,0x00,0xb3,0x5b,0x00,0x00,0xad,0x88,0x00,0x00, 0xb7,0x51,0x00,0x00,0x69,0x96,0x00,0x00,0x3b,0x96,0x00,0x00,0x0a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x03,0x5e,0x00,0x00,0xca,0x53,0x00,0x00,0x30,0x57,0x00,0x00,0x30,0x57,0x00,0x5f,0xb1,0x82,0x00,0x00, 0x53,0x4f,0xde,0x9c,0x24,0x4f,0x00,0x00,0x67,0x71,0x00,0x00,0xce,0x91,0x00,0x00,0x4c,0x88,0x00,0x00, 0x53,0x4f,0x00,0x00,0xab,0x8e,0x00,0x00,0x06,0x00,0x00,0x00,0x36,0x52,0x00,0x00,0x62,0x6b,0x00,0x00, 0x36,0x52,0x9b,0x52,0x00,0x00,0x91,0x62,0x00,0x00,0x3b,0x96,0x00,0x00,0x4e,0x53,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf3,0x60,0x00,0x00,0x1d,0x60,0x00,0x00,0xe9,0x8f,0x00,0x00,0x84,0x9f,0x00,0x00,0xe9,0x8f, 0xfb,0x95,0x0d,0x54,0x00,0x00,0xb9,0x65,0x00,0x00,0x3e,0x4e,0x00,0x00,0x03,0x5f,0x00,0x00,0x52,0x83, 0x00,0x00,0x03,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x51,0x90,0x00,0x00,0xba,0x8b,0x00,0x00,0x02,0x00, 0x00,0x00,0xb2,0x52,0x00,0x00,0xee,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8d,0x00,0x00,0xb7,0x5f, 0x00,0x00,0x06,0x74,0x00,0x00,0x49,0x6b,0x00,0x00,0x3c,0x74,0xaf,0x65,0x00,0x00,0x07,0x63,0x00,0x00, 0x77,0x51,0x00,0x00,0xb6,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0x59,0x65,0x00,0x00,0x0a,0x00,0x00,0x00, 0xbe,0x61,0x00,0x00,0xa7,0x4e,0x00,0x00,0x53,0x4f,0x00,0x00,0x40,0x57,0x00,0x00,0x20,0x4f,0x00,0x00, 0x59,0x75,0x00,0x00,0xd8,0x5f,0x00,0x00,0x31,0x59,0x00,0x00,0xa7,0x4e,0x0e,0x7a,0x00,0x00,0x31,0x56, 0x00,0x00,0x09,0x00,0x00,0x00,0xd7,0x72,0x00,0x00,0x2f,0x5f,0x00,0x00,0x2f,0x5f,0x3f,0x51,0x00,0x00, 0x5b,0x90,0x00,0x00,0x1f,0x9e,0x00,0x00,0x6c,0x9a,0x00,0x00,0xe9,0x65,0x3f,0x51,0x00,0x00,0x5b,0x90, 0x2f,0x5f,0x3f,0x51,0x00,0x00,0xdf,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0xd4,0x8f,0x00,0x00,0x01,0x90, 0x00,0x00,0x63,0x65,0x00,0x00,0x63,0x65,0x39,0x8d,0x00,0x00,0x64,0x96,0x00,0x00,0x7f,0x4f,0x00,0x00, 0xcd,0x8b,0x20,0x90,0xe5,0x53,0x00,0x00,0x01,0x90,0xfa,0x51,0x83,0x58,0x00,0x00,0xcd,0x8b,0x00,0x00, 0x23,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xdc,0x8f,0x00,0x00,0xa7,0x63,0x00,0x00,0x1f,0x61,0x00,0x00, 0xa7,0x63,0x68,0x56,0x00,0x00,0x65,0x90,0x86,0x98,0x48,0x51,0x00,0x00,0x65,0x90,0xe0,0x65,0x1f,0x67, 0x00,0x00,0x0d,0x4e,0xef,0x53,0xca,0x53,0x00,0x00,0x1b,0x67,0x00,0x00,0x65,0x90,0x00,0x00,0xf8,0x76, 0x7c,0x54,0x94,0x5e,0x00,0x00,0x02,0x00,0x00,0x00,0x38,0x6e,0x00,0x00,0x38,0x6e,0x51,0x7f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x47,0x90,0x00,0x00,0x30,0x52,0x00,0x00,0xd7,0x53,0x00,0x00,0xad,0x88,0x00,0x00, 0x83,0x6b,0x00,0x00,0xab,0x52,0x00,0x00,0x6a,0x7f,0x00,0x00,0x22,0x90,0x00,0x00,0x7e,0x70,0x00,0x00, 0x47,0x90,0x18,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0x21,0x63,0x00,0x00,0xd6,0x76,0x00,0x00,0x4f,0x4f, 0x00,0x00,0x3d,0x85,0x00,0x00,0xa9,0x63,0x00,0x00,0x55,0x74,0x00,0x00,0x6e,0x90,0xa9,0x63,0xa9,0x63, 0x00,0x00,0x33,0x96,0x1e,0x4f,0x00,0x00,0x33,0x96,0x00,0x00,0x49,0x51,0x00,0x00,0x01,0x00,0x00,0x00, 0x09,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x88,0x5b,0x00,0x00,0xaa,0x5f,0x00,0x00,0x67,0x71,0x00,0x00, 0x49,0x4e,0x00,0x00,0xce,0x4e,0x00,0x00,0xaa,0x7e,0x88,0x5b,0xd5,0x6c,0x00,0x00,0x49,0x4e,0x02,0x5e, 0x00,0x00,0x4c,0x88,0x00,0x00,0x16,0x53,0x02,0x5e,0x00,0x00,0x16,0x53,0x00,0x00,0x01,0x00,0x00,0x00, 0x83,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x4d,0x51,0x00,0x00, 0x69,0x96,0x00,0x00,0x55,0x5b,0x00,0x00,0x00,0x5f,0x00,0x00,0xbe,0x96,0x00,0x00,0x55,0x5b,0x6f,0x83, 0x00,0x00,0x0e,0x7a,0x00,0x00,0x55,0x5b,0x57,0x59,0x00,0x00,0xce,0x98,0x2f,0x6e,0x00,0x00,0xa9,0x8b, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x8b,0x00,0x00,0xa6,0x7e,0x00,0x00,0xf7,0x8b,0xfd,0x51,0x00,0x00, 0xf7,0x8b,0x01,0x78,0x00,0x00,0xf7,0x8b,0x5b,0x8d,0x00,0x00,0xf7,0x8b,0x55,0x5c,0x00,0x00,0xc6,0x96, 0x00,0x00,0xf7,0x8b,0x36,0x52,0x00,0x00,0xf7,0x8b,0xe1,0x4f,0x00,0x00,0x9f,0x52,0x00,0x00,0x02,0x00, 0x00,0x00,0x05,0x90,0x00,0x00,0x05,0x90,0xf8,0x76,0x22,0x90,0x00,0x00,0x05,0x00,0x00,0x00,0xc6,0x5b, 0x00,0x00,0xe4,0x53,0x00,0x00,0x87,0x5b,0x00,0x00,0x37,0x62,0x00,0x00,0xdc,0x8f,0x00,0x00,0x04,0x00, 0x00,0x00,0xdc,0x8f,0x00,0x00,0x36,0x71,0x00,0x00,0x88,0x90,0x00,0x00,0xa5,0x51,0xa5,0x51,0x00,0x00, 0x02,0x00,0x00,0x00,0x62,0x90,0x00,0x00,0xcc,0x91,0x8b,0x90,0x4b,0x8e,0x00,0x00,0x01,0x00,0x00,0x00, 0x86,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x0f,0x5c,0x73,0x5e,0x00,0x00,0x3d,0x4e,0x1b,0x54,0x00,0x00, 0x9a,0x4e,0x0d,0x84,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0x96,0x98,0x85,0x8d,0x00,0x00,0xde,0x5d, 0x00,0x00,0x0f,0x5c,0x73,0x5e,0x06,0x74,0xba,0x8b,0x00,0x00,0xd3,0x62,0x00,0x00,0x34,0x67,0xb9,0x65, 0x00,0x00,0x16,0x4e,0x0c,0x66,0x00,0x00,0x07,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x81,0x5b,0x3a,0x53, 0x00,0x00,0x81,0x5b,0x00,0x00,0xce,0x57,0x00,0x00,0x81,0x5b,0xbf,0x53,0x00,0x00,0x95,0x90,0x00,0x00, 0x67,0x52,0x00,0x00,0x03,0x00,0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c, 0xbf,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c,0x4c,0x88,0x00,0x00,0x05,0x00, 0x00,0x00,0x03,0x5d,0x00,0x00,0x03,0x5d,0x02,0x5e,0x00,0x00,0x77,0x6d,0x00,0x00,0x03,0x5d,0x71,0x5c, 0x00,0x00,0x03,0x5d,0x71,0x5c,0x09,0x81,0x00,0x00,0x07,0x00,0x00,0x00,0xf0,0x53,0x00,0x00,0xf0,0x53, 0x02,0x5e,0x00,0x00,0xf0,0x53,0xbf,0x53,0x00,0x00,0x1c,0x4e,0x00,0x00,0xb6,0x5b,0x81,0x68,0x51,0x67, 0x00,0x00,0xf0,0x53,0x30,0x57,0x3a,0x53,0x00,0x00,0xf0,0x53,0x36,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0x48,0x4e,0x00,0x00,0x9b,0x4e,0x00,0x00,0x2a,0x4e,0x00,0x00,0x37,0x68,0x00,0x00,0xcc,0x91,0x00,0x00, 0xcd,0x79,0x00,0x00,0xf6,0x65,0x00,0x00,0x29,0x59,0x00,0x00,0xb9,0x8f,0x00,0x00,0x3f,0x51,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa4,0x4e,0x00,0x00,0xbe,0x8f,0x00,0x00,0x87,0x65,0x00,0x00,0xea,0x8f,0x00,0x00, 0xae,0x59,0x00,0x00,0xb7,0x5f,0x00,0x00,0xfd,0x56,0x00,0x00,0x79,0x72,0x70,0x51,0x00,0x00,0x54,0x80, 0x00,0x00,0x2d,0x8d,0x51,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x60,0x00,0x00,0xeb,0x6d,0x00,0x00, 0xc1,0x89,0x00,0x00,0x59,0x65,0x00,0x00,0xf5,0x5f,0x00,0x00,0x14,0x6c,0x00,0x00,0x54,0x9b,0x00,0x00, 0xf4,0x8b,0x00,0x00,0x75,0x70,0x00,0x00,0x53,0x90,0x00,0x00,0x02,0x00,0x00,0x00,0x99,0x5e,0x00,0x00, 0x99,0x5e,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x4e,0x00,0x00,0xb1,0x7b,0x00,0x00,0x3f,0x65, 0x00,0x00,0x68,0x79,0x00,0x00,0xa5,0x62,0x00,0x00,0x6e,0x8f,0x00,0x00,0xc4,0x5b,0x00,0x00,0xa8,0x50, 0x00,0x00,0x3f,0x65,0x40,0x5c,0x00,0x00,0x40,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf8,0x90,0x00,0x00, 0xf8,0x90,0x02,0x5e,0x00,0x00,0xa2,0x94,0x00,0x00,0xf8,0x90,0x66,0x5b,0x65,0x6b,0x00,0x00,0xf8,0x90, 0xbf,0x53,0x00,0x00,0x71,0x5c,0x3a,0x53,0x00,0x00,0xf8,0x90,0x66,0x5b,0x62,0x96,0x00,0x00,0xf8,0x90, 0x30,0x57,0x3a,0x53,0x00,0x00,0x71,0x5c,0x00,0x00,0xf8,0x90,0x4c,0x80,0x1a,0x4e,0x80,0x62,0x2f,0x67, 0x66,0x5b,0x62,0x96,0x00,0x00,0x07,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0xbf,0x53,0x00,0x00,0x09,0x54, 0x14,0x5c,0x00,0x00,0x0f,0x6c,0x00,0x00,0xd4,0x6b,0x79,0x72,0x00,0x00,0x17,0x53,0x00,0x00,0x17,0x53, 0xbf,0x53,0x00,0x00,0x04,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xbf,0x53, 0x00,0x00,0xcd,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00, 0x1c,0x4e,0xbf,0x53,0x00,0x00,0x1c,0x4e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x66,0x6b,0x00,0x00, 0xcd,0x96,0x00,0x00,0x33,0x96,0xba,0x4e,0x00,0x00,0x66,0x6b,0x02,0x5e,0x00,0x00,0xd8,0x98,0x0d,0x84, 0x00,0x00,0x01,0x00,0x00,0x00,0x48,0x4e,0x3f,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x85,0x5b,0x00,0x00, 0xa5,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0x73,0x5e,0x00,0x00,0x73,0x5e,0xbf,0x53, 0x00,0x00,0xce,0x57,0x00,0x00,0xce,0x57,0x02,0x5e,0x00,0x00,0xb9,0x5b,0x00,0x00,0xec,0x97,0x4b,0x59, 0x00,0x00,0x4d,0x88,0x00,0x00,0xbf,0x53,0x00,0x00,0xcf,0x65,0x00,0x00,0x01,0x00,0x00,0x00,0xce,0x57, 0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x5c,0x00,0x00,0xfd,0x56,0x00,0x00,0xd1,0x8f,0x00,0x00,0xcc,0x91, 0x00,0x00,0xef,0x82,0x8c,0x4e,0x32,0x75,0x78,0x91,0x6f,0x91,0x00,0x00,0xb6,0x5b,0x00,0x00,0x51,0x67, 0x00,0x00,0xa6,0x90,0x00,0x00,0xa7,0x5e,0x00,0x00,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xf7,0x95, 0x00,0x00,0xd1,0x91,0x99,0x99,0x00,0x00,0xc1,0x90,0x71,0x84,0x71,0x84,0x00,0x00,0xd3,0x7e,0x00,0x00, 0xbe,0x8f,0x2b,0x59,0x00,0x00,0x75,0x96,0x9b,0x5c,0x00,0x00,0xc1,0x90,0x00,0x00,0xc1,0x90,0xe1,0x5b, 0x22,0x6b,0x00,0x00,0xef,0x79,0x00,0x00,0x57,0x53,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x86,0x96, 0x00,0x00,0x02,0x00,0x00,0x00,0x71,0x5c,0x90,0x96,0xee,0x4f,0x1a,0x4f,0x00,0x00,0x01,0x5c,0x51,0x67, 0x00,0x00,0x08,0x00,0x00,0x00,0x3a,0x53,0x00,0x00,0x16,0x59,0x00,0x00,0x38,0x6e,0x00,0x00,0xce,0x91, 0x00,0x00,0x3a,0x53,0xbf,0x53,0x00,0x00,0xbf,0x53,0x00,0x00,0x3a,0x53,0x16,0x53,0x00,0x00,0xfc,0x72, 0x00,0x00,0x0a,0x00,0x00,0x00,0x52,0x91,0x00,0x00,0x17,0x67,0x00,0x00,0x2d,0x4e,0x00,0x00,0x28,0x67, 0xfa,0x5b,0x00,0x00,0x73,0x5e,0x00,0x00,0x16,0x4e,0x81,0x5b,0x00,0x00,0x1b,0x54,0x00,0x00,0xaa,0x6e, 0xbf,0x53,0x00,0x00,0xaa,0x6e,0x00,0x00,0x4d,0x62,0x73,0x59,0x8c,0x8c,0x00,0x00,0x01,0x00,0x00,0x00, 0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xcd,0x91, 0x00,0x00,0xd0,0x67,0x00,0x00,0xd6,0x7c,0x00,0x00,0x8c,0x54,0x00,0x00,0x0f,0x6c,0x00,0x00,0x64,0x71, 0x00,0x00,0x0a,0x4f,0x65,0x50,0x00,0x00,0xcd,0x91,0x76,0x51,0x8b,0x4e,0x00,0x00,0x02,0x00,0x00,0x00, 0xce,0x57,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x77,0x6d,0x1c,0x4e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x9f,0x53,0x00,0x00,0x88,0x5b,0x00,0x00,0xbf,0x53,0x36,0x52,0x00,0x00,0x1b,0x67, 0x00,0x00,0xbb,0x6c,0x00,0x00,0x0f,0x54,0x00,0x00,0xbf,0x53,0x00,0x00,0xa7,0x7e,0x00,0x00,0xbb,0x6c, 0x89,0x5b,0x98,0x5b,0x00,0x00,0x1a,0x4f,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x4e,0xd5,0x71,0xf4,0x8b, 0x00,0x00,0x05,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x7f,0x89,0xbf,0x53,0x00,0x00,0x7f,0x89,0x00,0x00, 0x33,0x96,0x00,0x00,0x33,0x96,0xba,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x06,0x52, 0x00,0x00,0x7f,0x95,0x00,0x00,0x1f,0x96,0x00,0x00,0x72,0x7f,0x00,0x00,0x4d,0x4f,0x00,0x00,0xd4,0x59, 0x00,0x00,0xf6,0x4e,0x00,0x00,0x3d,0x84,0x00,0x00,0x7f,0x95,0xa7,0x7e,0x00,0x00,0x01,0x00,0x00,0x00, 0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0x76,0x66,0x76,0x66,0x00,0x00,0xab,0x6c, 0xe5,0x82,0x00,0x00,0xe3,0x89,0x00,0x00,0x84,0x5e,0x00,0x00,0xbb,0x53,0xbe,0x75,0x00,0x00,0x6c,0x51, 0x84,0x5e,0x00,0x00,0x01,0x80,0x00,0x00,0x0f,0x5c,0xdd,0x5d,0x00,0x00,0x47,0x95,0x00,0x00,0x02,0x00, 0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x03,0x00,0x00,0x00,0xde,0x5d,0x00,0x00, 0xde,0x5d,0x02,0x5e,0x00,0x00,0xbf,0x53,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00, 0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x02,0x5e,0x00,0x00,0x02,0x5e,0xa5,0x62,0x00,0x00,0x1a,0x4f, 0x00,0x00,0x5f,0x6c,0x30,0x58,0x00,0x00,0xce,0x57,0x00,0x00,0x02,0x5e,0x08,0x57,0x00,0x00,0x5f,0x6c, 0x30,0x58,0x02,0x5e,0x00,0x00,0xcf,0x67,0x97,0x67,0x00,0x00,0x02,0x5e,0xba,0x4e,0x00,0x00,0x63,0x77, 0x00,0x00,0x03,0x00,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0xce,0x57,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x5c,0x1a,0x59,0xaf,0x65,0x00,0x00,0x14,0x5c,0x1a,0x59,0xaf,0x65, 0x02,0x5e,0x00,0x00,0xde,0x5d,0x00,0x00,0x66,0x6b,0x46,0x55,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00, 0x0d,0x97,0x21,0x6b,0x4b,0x51,0x77,0x6d,0x00,0x00,0x5a,0x53,0x00,0x00,0x1c,0x4e,0x00,0x00,0x58,0x62, 0x4b,0x51,0xd7,0x65,0x00,0x00,0xa2,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00, 0xce,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x92,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0xc6,0x89,0x00,0x00, 0xba,0x4e,0x00,0x00,0x37,0x59,0x00,0x00,0x4b,0x96,0x00,0x00,0x84,0x85,0x00,0x00,0x03,0x5f,0x00,0x00, 0xd7,0x4f,0x00,0x00,0x0f,0x61,0x00,0x00,0x21,0x68,0x00,0x00,0xda,0x4f,0x00,0x00,0x01,0x00,0x00,0x00, 0xbf,0x53,0x00,0x00,0x04,0x00,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0xbf,0x53, 0x00,0x00,0xbf,0x53,0xba,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x75,0x96,0xbf,0x53,0x00,0x00,0x75,0x96, 0x00,0x00,0xb6,0x5b,0xb3,0x6c,0x00,0x00,0xb6,0x5b,0xb3,0x6c,0x51,0x67,0x00,0x00,0x03,0x00,0x00,0x00, 0x84,0x55,0x00,0x00,0x84,0x55,0xbf,0x53,0x00,0x00,0x84,0x55,0xfd,0x56,0x00,0x00,0x04,0x00,0x00,0x00, 0x33,0x96,0x56,0x6e,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0x56,0x6e, 0x54,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0xfd,0x90,0x00,0x00, 0x06,0x00,0x00,0x00,0x33,0x96,0x00,0x00,0x33,0x96,0xbf,0x53,0x00,0x00,0xf6,0x65,0x00,0x00,0x21,0x9e, 0x00,0x00,0x4c,0x72,0xf6,0x65,0x06,0x52,0x00,0x00,0x33,0x96,0x1f,0x57,0xb6,0x5b,0xcf,0x65,0xd7,0x82, 0xcf,0x65,0xea,0x81,0xbb,0x6c,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x42,0x52,0x00,0x00,0x03,0x00, 0x00,0x00,0x7f,0x95,0x00,0x00,0x7f,0x95,0xfd,0x56,0x00,0x00,0x7f,0x95,0x6f,0x67,0x00,0x00,0x0a,0x00, 0x00,0x00,0xc5,0x60,0x00,0x00,0x9a,0x5b,0x00,0x00,0xcf,0x91,0x00,0x00,0x88,0x4e,0x00,0x00,0xc5,0x60, 0x04,0x59,0x06,0x74,0x00,0x00,0xcf,0x51,0x00,0x00,0xa0,0x52,0x00,0x00,0x36,0x65,0x00,0x00,0xc5,0x60, 0x9e,0x52,0x06,0x74,0x00,0x00,0x04,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x7f,0x00,0x00,0x08,0x54, 0x00,0x00,0x57,0x59,0x00,0x00,0xb9,0x65,0x00,0x00,0x07,0x59,0x00,0x00,0x01,0x90,0x00,0x00,0x2e,0x55, 0x00,0x00,0xf6,0x4e,0x00,0x00,0x76,0x50,0x00,0x00,0x9d,0x98,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x91, 0x00,0x00,0x01,0x00,0x00,0x00,0x42,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x97,0x5e,0x00,0x00,0xbe,0x7c, 0x00,0x00,0x3c,0x9b,0x52,0x91,0x00,0x00,0x27,0x54,0x00,0x00,0x7b,0x7c,0x00,0x00,0x1a,0x4e,0x00,0x00, 0x0e,0x54,0x00,0x00,0x82,0x53,0x00,0x00,0x01,0x4f,0x00,0x00,0x84,0x5e,0x00,0x00,0x01,0x00,0x00,0x00, 0x84,0x91,0x00,0x00,0x04,0x00,0x00,0x00,0x52,0x91,0x00,0x00,0x52,0x91,0x05,0x80,0x00,0x00,0x52,0x91, 0xcb,0x6e,0x8b,0x4e,0x00,0x00,0xbc,0x8b,0x00,0x00,0x04,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0x5e,0x91, 0x00,0x00,0x9b,0x91,0x00,0x00,0x9b,0x91,0xf6,0x80,0x00,0x00,0x02,0x00,0x00,0x00,0x7f,0x91,0x00,0x00, 0x7f,0x91,0x1f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x91,0x6f,0x91,0x00,0x00,0x02,0x00,0x00,0x00, 0x46,0x6d,0x49,0x83,0x00,0x00,0x46,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0x45,0x75,0xcb,0x6d,0x13,0x6f, 0x00,0x00,0x61,0x77,0x00,0x00,0x45,0x75,0x00,0x00,0x18,0x62,0x00,0x00,0x36,0x71,0x00,0x00,0x20,0x77, 0x00,0x00,0x6e,0x99,0x00,0x00,0x89,0x91,0x00,0x00,0xa6,0x68,0x00,0x00,0x1c,0x75,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb9,0x6c,0x00,0x00,0x06,0x81,0x00,0x00,0xae,0x76,0x00,0x00,0xb9,0x6c,0x36,0x83,0x00,0x00, 0xc3,0x5f,0xd6,0x7c,0x00,0x00,0x6f,0x8f,0x00,0x00,0xbb,0x9e,0x00,0x00,0x65,0x91,0x00,0x00,0xf8,0x80, 0x00,0x00,0xb9,0x6c,0x6f,0x70,0x00,0x00,0x02,0x00,0x00,0x00,0x75,0x91,0x00,0x00,0x85,0x91,0x00,0x00, 0x03,0x00,0x00,0x00,0x4a,0x91,0x27,0x59,0x89,0x91,0x00,0x00,0x4a,0x91,0x00,0x00,0x46,0x6d,0x00,0x00, 0x09,0x00,0x00,0x00,0xcb,0x86,0x7d,0x76,0x00,0x00,0xa8,0x68,0x00,0x00,0x28,0x6c,0x78,0x91,0x00,0x00, 0x28,0x6c,0x78,0x91,0x76,0x91,0x00,0x00,0x73,0x4e,0x00,0x00,0x20,0x7d,0x00,0x00,0x28,0x6c,0x78,0x91, 0xe3,0x4e,0x22,0x8c,0xc5,0x75,0x00,0x00,0x7c,0x99,0x00,0x00,0x9c,0x51,0x1a,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0xb3,0x52,0x00,0x00,0xd1,0x91,0x00,0x00,0x22,0x8c,0x00,0x00,0xbe,0x5b,0x00,0x00,0x62,0x91, 0x00,0x00,0xa5,0x62,0x00,0x00,0x7f,0x50,0x00,0x00,0x54,0x7b,0x00,0x00,0x5e,0x79,0x00,0x00,0x7d,0x8f, 0x00,0x00,0x04,0x00,0x00,0x00,0xc7,0x75,0x00,0x00,0x53,0x4f,0x00,0x00,0xfa,0x57,0x00,0x00,0xd6,0x7c, 0x00,0x00,0x02,0x00,0x00,0x00,0x16,0x53,0x00,0x00,0x76,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0xfa,0x80, 0x00,0x00,0xfa,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xb9,0x6c,0x00,0x00,0x2b,0x7d,0x00,0x00,0x41,0x6c, 0x00,0x00,0x99,0x99,0x8b,0x57,0x00,0x00,0x99,0x65,0x00,0x00,0x99,0x99,0x00,0x00,0xdc,0x83,0x00,0x00, 0x52,0x91,0x00,0x00,0x05,0x53,0x00,0x00,0x89,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xbe,0x91,0x00,0x00, 0x08,0x00,0x00,0x00,0xcd,0x6b,0x00,0x00,0x20,0x7d,0x00,0x00,0xcd,0x6b,0xcc,0x83,0x00,0x00,0xcd,0x6b, 0x47,0x72,0x00,0x00,0xe3,0x89,0x00,0x00,0x50,0x5b,0x00,0x00,0xe3,0x89,0x5c,0x4f,0x28,0x75,0x00,0x00, 0xcd,0x6b,0x87,0x91,0x00,0x00,0x03,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0xd5,0x6c,0x00,0x00,0x9f,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x6d,0x00,0x00,0x3c,0x4f,0x00,0x00,0x91,0x66,0x00,0x00,0x31,0x72, 0x00,0x00,0xaf,0x8b,0x00,0x00,0x11,0x52,0x00,0x00,0xed,0x70,0x00,0x00,0xd7,0x72,0x00,0x00,0xab,0x70, 0x00,0x00,0x6d,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x76,0x59,0x00,0x00,0x27,0x60,0x00,0x00,0xdb,0x75, 0x00,0x00,0x73,0x54,0x00,0x00,0xdc,0x83,0x00,0x00,0xb1,0x78,0x00,0x00,0xf7,0x4e,0x00,0x00,0xa0,0x94, 0x00,0x00,0xb1,0x78,0xa6,0x5e,0x00,0x00,0x25,0x8d,0x00,0x00,0x01,0x00,0x00,0x00,0x7d,0x91,0x00,0x00, 0x0a,0x00,0x00,0x00,0x52,0x91,0x00,0x00,0x20,0x90,0x00,0x00,0x10,0x62,0x00,0x00,0x36,0x52,0x00,0x00, 0x52,0x91,0xa1,0x80,0x00,0x00,0x52,0x91,0x08,0x5e,0x00,0x00,0x52,0x91,0x1a,0x4e,0x00,0x00,0x46,0x8c, 0x50,0x81,0x00,0x00,0x78,0x79,0x00,0x00,0x20,0x90,0x1a,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x53, 0x00,0x00,0x99,0x99,0x00,0x00,0x7b,0x7c,0x00,0x00,0x8c,0x54,0x00,0x00,0x9a,0x91,0x00,0x00,0x52,0x91, 0x00,0x00,0x8e,0x7f,0x00,0x00,0x63,0x6b,0x00,0x00,0x16,0x53,0x00,0x00,0x9f,0x71,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7e,0x9a,0x00,0x00,0x49,0x6c,0x00,0x00,0xc3,0x5f,0x00,0x00,0xba,0x91,0xba,0x91,0x00,0x00, 0xc1,0x7f,0x4b,0x4e,0x0f,0x61,0x0d,0x4e,0x28,0x57,0x52,0x91,0x00,0x00,0xc1,0x7f,0x00,0x00,0x52,0x91, 0x05,0x80,0x00,0x00,0x1f,0x75,0xa6,0x68,0x7b,0x6b,0x00,0x00,0x0f,0x61,0x00,0x00,0x7e,0x9a,0x05,0x80, 0x00,0x00,0x0a,0x00,0x00,0x00,0x78,0x91,0x00,0x00,0x0f,0x61,0x00,0x00,0x9c,0x6e,0x00,0x00,0x17,0x68, 0x00,0x00,0x78,0x91,0xa4,0x7e,0xf4,0x7e,0x00,0x00,0x73,0x54,0x00,0x00,0xb2,0x52,0x00,0x00,0x78,0x91, 0x59,0x4e,0x6f,0x91,0x00,0x00,0x77,0x6d,0x1f,0x75,0xe2,0x6c,0x00,0x00,0xb2,0x52,0x3f,0x51,0x00,0x00, 0x02,0x00,0x00,0x00,0x90,0x91,0x4c,0x70,0x76,0x98,0x00,0x00,0x90,0x91,0x00,0x00,0x0a,0x00,0x00,0x00, 0x65,0x67,0x00,0x00,0xee,0x76,0x00,0x00,0x9f,0x60,0x00,0x00,0x52,0x91,0x00,0x00,0x92,0x91,0x00,0x00, 0x0e,0x54,0x00,0x00,0x5e,0x79,0x00,0x00,0xc9,0x89,0x00,0x00,0x3e,0x81,0x00,0x00,0xee,0x72,0x00,0x00, 0x03,0x00,0x00,0x00,0xfa,0x56,0x6e,0x91,0x00,0x00,0xd6,0x7c,0x00,0x00,0xfa,0x57,0x00,0x00,0x01,0x00, 0x00,0x00,0x7b,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0xdf,0x7c,0x00,0x00,0x05,0x00,0x00,0x00,0xb9,0x6c, 0x00,0x00,0x99,0x65,0x00,0x00,0x2b,0x7d,0x00,0x00,0x41,0x6c,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00, 0x00,0x00,0x75,0x96,0x00,0x00,0x75,0x96,0x02,0x5e,0x00,0x00,0xc9,0x6c,0xbf,0x53,0x00,0x00,0x01,0x00, 0x00,0x00,0xba,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x8b,0x00,0x00,0xd6,0x53,0x00,0x00,0x28,0x75, 0x00,0x00,0x2d,0x8d,0x00,0x00,0xc6,0x96,0x00,0x00,0xb3,0x7e,0x00,0x00,0x99,0x51,0x00,0x00,0xff,0x77, 0x00,0x00,0x58,0x64,0x00,0x00,0x37,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00,0x72,0x82, 0x00,0x00,0x0b,0x4e,0x00,0x00,0xcc,0x91,0x00,0x00,0x28,0x8d,0x00,0x00,0x99,0x65,0x00,0x00,0x50,0x5b, 0x00,0x00,0x76,0x96,0x00,0x00,0xcc,0x91,0xa2,0x7e,0x00,0x00,0x36,0x52,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3e,0x65,0x00,0x00,0xe6,0x8f,0x5f,0x72,0x3c,0x5c,0x5b,0x4f,0x00,0x00,0x91,0x75,0x00,0x00,0xe6,0x8f, 0x00,0x00,0xe6,0x8f,0x5f,0x72,0x3c,0x5c,0x00,0x00,0x00,0x60,0x00,0x00,0x0a,0x5c,0x00,0x00,0x49,0x4e, 0x00,0x00,0x3e,0x65,0xcf,0x91,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97,0x00,0x00, 0x0b,0x7a,0x00,0x00,0x34,0x59,0x00,0x00,0x0f,0x6c,0x00,0x00,0x0b,0x7a,0x91,0x78,0x00,0x00,0xb9,0x8f, 0x00,0x00,0x02,0x66,0x00,0x00,0x47,0x59,0x00,0x00,0xa6,0x7e,0xed,0x70,0x85,0x51,0x62,0x53,0x00,0x00, 0x39,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x89,0x00,0x00,0xb9,0x70,0x00,0x00,0x27,0x59,0x00,0x00, 0xb0,0x65,0x00,0x00,0x86,0x5e,0x00,0x00,0xc4,0x7e,0x00,0x00,0xc6,0x89,0x00,0x00,0xfa,0x5e,0x00,0x00, 0x0d,0x59,0x00,0x00,0x86,0x5e,0x02,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x75,0x00,0x00,0x30,0x75, 0x00,0x00,0x16,0x59,0x00,0x00,0x30,0x75,0x73,0x4f,0x66,0x5f,0x00,0x00,0xc3,0x5f,0x00,0x00,0xee,0x86, 0x00,0x00,0x51,0x67,0x00,0x00,0x2a,0x73,0x00,0x00,0x7d,0x51,0x00,0x00,0x18,0x62,0x00,0x00,0x0a,0x00, 0x00,0x00,0x16,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xfd,0x80,0x00,0x00,0x11,0x52,0x00,0x00,0xf7,0x4e, 0x00,0x00,0xa7,0x4e,0x00,0x00,0x50,0x5b,0x9b,0x52,0x66,0x5b,0x00,0x00,0xa7,0x7e,0x00,0x00,0xab,0x8e, 0x9a,0x5b,0x5a,0x50,0x00,0x00,0x9b,0x52,0x0c,0x80,0x4c,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x8d,0x87, 0x00,0x00,0x9d,0x98,0x00,0x00,0x5e,0x5c,0x00,0x00,0xf7,0x4e,0x00,0x00,0x71,0x5c,0x00,0x00,0x1f,0x66, 0x00,0x00,0xb1,0x94,0x00,0x00,0x63,0x6b,0x00,0x00,0xf6,0x94,0x00,0x00,0x8d,0x87,0x1a,0x4e,0x00,0x00, 0x06,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x95,0x5e,0xbd,0x62,0xaa,0x85,0x00,0x00,0x71,0x5c,0x2f,0x6e, 0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0x71,0x5c,0x7f,0x5e,0xdf,0x57,0x02,0x5e,0x00,0x00,0x95,0x5e, 0x38,0x6e,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b, 0x00,0x00,0x8e,0x4e,0x00,0x00,0x2b,0x52,0x00,0x00,0x4f,0x8d,0x00,0x00,0x9d,0x5b,0x00,0x00,0x9a,0x5b, 0xc4,0x7e,0x00,0x00,0xc1,0x8b,0x00,0x00,0x9a,0x5b,0x66,0x4e,0x00,0x00,0x9a,0x5b,0xba,0x4e,0x00,0x00, 0x9a,0x5b,0x08,0x5e,0x00,0x00,0x03,0x00,0x00,0x00,0x7e,0x9a,0x00,0x00,0xc3,0x94,0x00,0x00,0x06,0x82, 0x00,0x00,0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x00,0x52,0x00,0x00,0xe8,0x78,0x00,0x00,0x01,0x00, 0x00,0x00,0xd1,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x5f,0x6c,0x51,0x67,0x00,0x00, 0x02,0x00,0x00,0x00,0x18,0x62,0x00,0x00,0x75,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x90,0x6e,0x00,0x00, 0xd1,0x82,0x00,0x00,0xf6,0x94,0x00,0x00,0x9a,0x4e,0x00,0x00,0x77,0x6d,0x00,0x00,0xbe,0x8f,0x00,0x00, 0xc1,0x54,0x00,0x00,0x1a,0x4e,0x00,0x00,0xf0,0x6c,0x00,0x00,0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf9,0x5b,0x00,0x00,0xf9,0x5b,0x27,0x60,0x00,0x00,0x78,0x70,0x00,0x00,0x0b,0x95,0xf8,0x76,0xf9,0x5b, 0x00,0x00,0xc7,0x7e,0x00,0x00,0x34,0x59,0x00,0x00,0x42,0x52,0x00,0x00,0xa1,0x7b,0x00,0x00,0x54,0x5b, 0x00,0x00,0x3c,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0x37,0x62,0x00,0x00, 0xba,0x87,0x00,0x00,0x19,0x80,0x00,0x00,0x89,0x94,0x00,0x00,0x24,0x95,0x00,0x00,0xab,0x5b,0x00,0x00, 0x34,0x59,0x00,0x00,0x3d,0x5e,0x00,0x00,0x66,0x4e,0x88,0x94,0x00,0x00,0x01,0x00,0x00,0x00,0x2d,0x4e, 0xd2,0x6b,0x00,0x00,0x03,0x00,0x00,0x00,0x0a,0x71,0x00,0x00,0x50,0x5b,0x00,0x00,0x99,0x65,0x00,0x00, 0x01,0x00,0x00,0x00,0xbe,0x94,0xc0,0x94,0xff,0x77,0xf3,0x77,0x00,0x00,0x0a,0x00,0x00,0x00,0x7c,0x9c, 0x9b,0x5c,0x00,0x00,0x7c,0x9c,0x00,0x00,0x7c,0x9c,0xf0,0x53,0x00,0x00,0x9b,0x5c,0x00,0x00,0x7c,0x9c, 0x87,0x65,0x00,0x00,0x7c,0x9c,0x05,0x80,0x00,0x00,0x7c,0x9c,0xce,0x57,0x00,0x00,0xa9,0x94,0x00,0x00, 0xff,0x7a,0x00,0x00,0x7c,0x9c,0x16,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0xc1,0x94,0x7c,0x78,0x00,0x00, 0x01,0x00,0x00,0x00,0x34,0x59,0xe4,0x51,0x00,0x00,0x08,0x00,0x00,0x00,0x28,0x8d,0x00,0x00,0x47,0x72, 0x00,0x00,0x16,0x53,0x00,0x00,0xbb,0x79,0x50,0x5b,0x00,0x00,0x76,0x59,0x00,0x00,0x42,0x52,0x00,0x00, 0x4e,0x53,0x60,0x6c,0x00,0x00,0xf4,0x7e,0x47,0x72,0x00,0x00,0x07,0x00,0x00,0x00,0x08,0x54,0xd1,0x91, 0x00,0x00,0x1a,0x4e,0x00,0x00,0x7d,0x76,0x89,0x7c,0x00,0x00,0x7d,0x76,0x00,0x00,0xff,0x77,0x00,0x00, 0x50,0x67,0x00,0x00,0xc1,0x94,0xff,0x77,0x00,0x00,0x05,0x00,0x00,0x00,0xe0,0x60,0x00,0x00,0x3e,0x6b, 0x00,0x00,0x9d,0x98,0x00,0x00,0x50,0x5b,0x00,0x00,0x32,0x96,0x00,0x00,0x06,0x00,0x00,0x00,0x16,0x53, 0x00,0x00,0x68,0x56,0x00,0x00,0x39,0x68,0x00,0x00,0xd2,0x89,0x00,0x00,0x76,0x98,0x00,0x00,0xcd,0x54, 0x00,0x00,0x02,0x00,0x00,0x00,0x68,0x79,0x00,0x00,0x2c,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x88, 0x00,0x00,0x31,0x72,0x00,0x00,0xc5,0x60,0x00,0x00,0xf0,0x58,0x00,0x00,0x34,0x59,0x00,0x00,0x7c,0x69, 0x00,0x00,0x71,0x5c,0x00,0x00,0xb9,0x70,0xe5,0x5d,0x00,0x00,0xfd,0x56,0x00,0x00,0x65,0x79,0x00,0x00, 0x03,0x00,0x00,0x00,0xd0,0x76,0x00,0x00,0xbb,0x79,0x50,0x5b,0x00,0x00,0x6f,0x70,0x00,0x00,0x03,0x00, 0x00,0x00,0x10,0x99,0x00,0x00,0xd0,0x76,0x00,0x00,0x38,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x94, 0x00,0x00,0x50,0x67,0x00,0x00,0x34,0x74,0x00,0x00,0x4b,0x7b,0x00,0x00,0x82,0x53,0x00,0x00,0x01,0x4f, 0x00,0x00,0x38,0x8d,0x00,0x00,0xf7,0x4e,0x00,0x00,0xa1,0x7b,0x00,0x00,0xc1,0x94,0x1a,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0x70,0x53,0x00,0x00,0xb0,0x8b,0x00,0x00, 0x09,0x00,0x00,0x00,0x19,0x53,0x00,0x00,0x19,0x53,0x63,0x62,0x00,0x00,0x19,0x53,0xfe,0x94,0x00,0x00, 0x19,0x53,0x54,0x5b,0x00,0x00,0x19,0x53,0x08,0x57,0x00,0x00,0x19,0x53,0xaf,0x73,0x00,0x00,0x19,0x53, 0x4c,0x72,0x00,0x00,0x19,0x53,0x1e,0x6d,0x54,0x5b,0x00,0x00,0x19,0x53,0x01,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x69,0x4f,0x00,0x00,0xde,0x5d,0x00,0x00,0xde,0x5d,0x02,0x5e,0x00,0x00,0xb9,0x70,0x00,0x00, 0x9a,0x5b,0x00,0x00,0x47,0x59,0x29,0x52,0x9a,0x4e,0x00,0x00,0xde,0x5d,0x2f,0x6e,0x00,0x00,0x1f,0x82, 0x00,0x00,0xee,0x5d,0x27,0x59,0xe3,0x81,0x00,0x00,0xee,0x5d,0x00,0x00,0x04,0x00,0x00,0x00,0xf7,0x74, 0x00,0x00,0x91,0x7a,0x00,0x00,0x51,0x52,0x00,0x00,0xa2,0x7e,0x00,0x00,0x05,0x00,0x00,0x00,0x1a,0x4e, 0x00,0x00,0xff,0x77,0x00,0x00,0x1d,0x4e,0x00,0x00,0xbc,0x94,0x00,0x00,0xf7,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x3a,0x67,0x00,0x00,0x4f,0x4f,0x00,0x00,0x89,0x6c,0x00,0x00,0x6b,0x86, 0x00,0x00,0x88,0x94,0x00,0x00,0xc3,0x5f,0x97,0x65,0xd2,0x89,0x00,0x00,0xef,0x7a,0xba,0x87,0xcb,0x65, 0x53,0x4f,0xc5,0x75,0x00,0x00,0x02,0x63,0x00,0x00,0xb1,0x82,0x00,0x00,0x03,0x00,0x00,0x00,0x63,0x62, 0x00,0x00,0x5c,0x79,0x84,0x79,0x00,0x00,0x26,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x91,0x00,0x00, 0x02,0x00,0x00,0x00,0x97,0x67,0x00,0x00,0xf0,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x05,0x53,0x00,0x00, 0x22,0x8d,0x00,0x00,0x01,0x5e,0x00,0x00,0x5f,0x6c,0x00,0x00,0x84,0x5e,0x00,0x00,0x3e,0x6b,0x00,0x00, 0x58,0x58,0x5f,0x6c,0x00,0x00,0x66,0x5b,0xee,0x68,0x00,0x00,0x9f,0x94,0x66,0x4e,0x00,0x00,0x69,0x72, 0x00,0x00,0x09,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x36,0x52,0x00,0x00,0xe5,0x5d,0x00,0x00,0x4f,0x4f, 0x00,0x00,0xe3,0x53,0xd3,0x7e,0x0c,0x82,0x00,0x00,0xfb,0x51,0x00,0x00,0xee,0x4f,0x00,0x00,0x6c,0x9a, 0x54,0x88,0x9a,0x67,0x00,0x00,0x4e,0x87,0x00,0x00,0x01,0x00,0x00,0x00,0x67,0x92,0x00,0x00,0x05,0x00, 0x00,0x00,0xc2,0x76,0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0xd8,0x76,0x00,0x00,0x60,0x6c, 0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x95,0x4e,0x00,0x00,0x14,0x78,0x00,0x00, 0x12,0x62,0x00,0x00,0xa2,0x63,0x00,0x00,0xf3,0x77,0x95,0x5e,0x00,0x00,0x34,0x59,0x00,0x00,0x54,0x5b, 0x00,0x00,0x7a,0x7a,0x50,0x5b,0x00,0x00,0x3a,0x67,0x00,0x00,0x04,0x00,0x00,0x00,0xff,0x77,0x00,0x00, 0xdc,0x94,0x00,0x00,0xc1,0x94,0x00,0x00,0xf7,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0xa5,0x80,0x00,0x00, 0xd0,0x76,0x00,0x00,0xbb,0x79,0x50,0x5b,0x00,0x00,0x28,0x8d,0x00,0x00,0xff,0x77,0x00,0x00,0xa5,0x80, 0x82,0x53,0x00,0x00,0x86,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0xff,0x77,0x00,0x00,0xff,0x77,0x8a,0x5e, 0x00,0x00,0x53,0x6d,0x29,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8d,0x00,0x00,0x53,0x90,0xe8,0x90, 0x00,0x00,0xff,0x77,0xf3,0x77,0x00,0x00,0xef,0x8d,0x40,0x5c,0x00,0x00,0xff,0x77,0x00,0x00,0x53,0x90, 0x00,0x00,0x68,0x8f,0x00,0x00,0xad,0x5c,0x00,0x00,0x28,0x8d,0x00,0x00,0xae,0x76,0x00,0x00,0x04,0x00, 0x00,0x00,0xd1,0x91,0x00,0x00,0xff,0x77,0x00,0x00,0x33,0x96,0x00,0x00,0xc5,0x96,0xd1,0x82,0x00,0x00, 0x0a,0x00,0x00,0x00,0x28,0x67,0x00,0x00,0xf0,0x58,0x00,0x00,0xdb,0x94,0x00,0x00,0x70,0x51,0x00,0x00, 0x28,0x67,0x7d,0x6c,0x66,0x8f,0x00,0x00,0x3f,0x51,0x00,0x00,0xf3,0x97,0x00,0x00,0xd8,0x7e,0x00,0x00, 0x28,0x67,0x27,0x59,0xd9,0x62,0x00,0x00,0x13,0x9f,0x00,0x00,0x01,0x00,0x00,0x00,0xf3,0x77,0x41,0x6d, 0xd1,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x14,0x7b,0x00,0x00,0x2d,0x4e,0xd2,0x6b,0x00,0x00,0x78,0x91, 0x00,0x00,0xff,0x77,0x00,0x00,0x39,0x5f,0x00,0x00,0x03,0x74,0x00,0x00,0xf7,0x4e,0x00,0x00,0x57,0x5b, 0x00,0x00,0x4e,0x53,0x00,0x00,0x01,0x5c,0x00,0x00,0x06,0x00,0x00,0x00,0x89,0x94,0x00,0x00,0xa5,0x63, 0x00,0x00,0xe5,0x5d,0x00,0x00,0x89,0x94,0xaa,0x67,0x00,0x00,0xb2,0x52,0x3f,0x51,0x00,0x00,0xb3,0x8d, 0xb2,0x52,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x3c,0x5c,0xbe,0x8f,0x29,0x52,0x66,0x65,0x00,0x00, 0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00, 0xb9,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0xdb,0x94,0x66,0x8f,0x00,0x00,0xdb,0x94,0x00,0x00,0x0a,0x00, 0x00,0x00,0xff,0x77,0x00,0x00,0xf7,0x4e,0x00,0x00,0x1a,0x4e,0x00,0x00,0xcf,0x50,0x00,0x00,0x75,0x96, 0x00,0x00,0x4c,0x72,0x00,0x00,0x5c,0x95,0x00,0x00,0x28,0x8d,0x00,0x00,0xc1,0x4e,0x00,0x00,0xa1,0x7b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0x08,0x54,0xd1,0x91,0x00,0x00,0xf7,0x4e,0x00,0x00, 0x1f,0x57,0xff,0x77,0x00,0x00,0x8b,0x57,0x50,0x67,0x00,0x00,0x82,0x53,0x00,0x00,0x50,0x67,0x00,0x00, 0x94,0x7b,0x00,0x00,0x36,0x52,0x00,0x00,0x7f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x32,0x75,0x00,0x00, 0x01,0x00,0x00,0x00,0x00,0x52,0x00,0x00,0x02,0x00,0x00,0x00,0xef,0x79,0xf8,0x5b,0x2f,0x7d,0x00,0x00, 0x87,0x74,0x00,0x00,0x04,0x00,0x00,0x00,0x8a,0x5e,0x00,0x00,0x00,0x52,0x00,0x00,0x4a,0x52,0x00,0x00, 0xe5,0x5d,0x00,0x00,0x01,0x00,0x00,0x00,0x0c,0x80,0x70,0x8d,0x69,0x96,0x00,0x00,0x01,0x00,0x00,0x00, 0x81,0x72,0x00,0x00,0x03,0x00,0x00,0x00,0xd9,0x53,0x00,0x00,0xd9,0x53,0xe8,0x90,0x00,0x00,0x61,0x88, 0x00,0x00,0x02,0x00,0x00,0x00,0xbd,0x7f,0x0c,0x80,0x52,0x5f,0x00,0x00,0xbd,0x7f,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x06,0x00,0x00,0x00,0x23,0x6e,0x00,0x00,0x23,0x6e,0x06,0x58,0x00,0x00, 0xd0,0x76,0x00,0x00,0xc1,0x94,0x00,0x00,0xc1,0x94,0xff,0x77,0x00,0x00,0xff,0x77,0x02,0x78,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb0,0x8b,0x00,0x00,0x87,0x65,0x00,0x00,0x4c,0x72,0x00,0x00,0x3b,0x52,0x00,0x00, 0x1b,0x52,0x00,0x00,0x07,0x4e,0x00,0x00,0xdc,0x8f,0x00,0x00,0xb0,0x8b,0x28,0x57,0xc3,0x5f,0x00,0x00, 0xc3,0x5f,0x00,0x00,0x90,0x6e,0x00,0x00,0x07,0x00,0x00,0x00,0xee,0x94,0x00,0x00,0xae,0x4e,0x00,0x00, 0xee,0x94,0x93,0x8a,0x00,0x8a,0x00,0x00,0xee,0x94,0xc1,0x94,0x49,0x6c,0x00,0x00,0xd1,0x9e,0x00,0x00, 0xee,0x94,0xef,0x53,0xfb,0x95,0x00,0x00,0xee,0x94,0x82,0x59,0xc1,0x94,0x00,0x00,0x03,0x00,0x00,0x00, 0xfe,0x94,0x00,0x00,0xa5,0x63,0x00,0x00,0x00,0x52,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x66,0x00,0x00, 0x0a,0x00,0x00,0x00,0x64,0x96,0x00,0x00,0x66,0x8f,0x00,0x00,0x50,0x5b,0x00,0x00,0x73,0x5e,0x00,0x00, 0xea,0x96,0x66,0x8f,0x00,0x00,0x1f,0x57,0x3a,0x67,0x00,0x00,0xd0,0x8f,0x3a,0x67,0x00,0x00,0xe5,0x5d, 0x00,0x00,0x5a,0x8e,0x00,0x00,0x38,0x54,0xcf,0x91,0x00,0x00,0x02,0x00,0x00,0x00,0xcd,0x54,0x00,0x00, 0x24,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x4c,0x88,0x1a,0x4e,0x00,0x00,0xd1,0x76, 0x1a,0x4f,0x00,0x00,0x4c,0x88,0x61,0x53,0x00,0x00,0x4c,0x88,0xa1,0x80,0x00,0x00,0xb3,0x6c,0x00,0x00, 0x54,0x80,0x00,0x00,0x4e,0x53,0x00,0x00,0xdd,0x5d,0x00,0x00,0x4c,0x88,0xb6,0x5b,0x00,0x00,0x01,0x00, 0x00,0x00,0x9f,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x20,0x90,0x00,0x00,0x31,0x5c,0x00,0x00,0xc1,0x94, 0x00,0x00,0xa1,0x7b,0x00,0x00,0xf6,0x4e,0x00,0x00,0x10,0x62,0x00,0x00,0x2d,0x95,0x00,0x00,0x01,0x5e, 0x00,0x00,0x3b,0x95,0x00,0x00,0x01,0x5e,0x82,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x8b,0x00,0x00, 0x00,0x5f,0x00,0x00,0xab,0x57,0x00,0x00,0xef,0x8d,0x00,0x00,0x29,0x59,0xd6,0x76,0x30,0x57,0x00,0x00, 0x73,0x5e,0x00,0x00,0x20,0x5f,0x6a,0x6d,0x39,0x8d,0x00,0x00,0x27,0x8d,0x00,0x00,0x50,0x5b,0x00,0x00, 0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x63,0x00,0x00,0x61,0x67,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x50,0x5b,0x00,0x00,0x03,0x74,0xcc,0x83,0x00,0x00,0xef,0x8d,0x00,0x00,0x0f,0x5f,0xcd,0x53,0x94,0x5e, 0x00,0x00,0x0f,0x5f,0x00,0x00,0x68,0x88,0x00,0x00,0x0a,0x4e,0x00,0x00,0x03,0x00,0x00,0x00,0x35,0x95, 0x00,0x00,0x35,0x95,0x09,0x67,0x9b,0x52,0x00,0x00,0x36,0x71,0x00,0x00,0x0a,0x00,0x00,0x00,0x2e,0x55, 0x00,0x00,0xcf,0x91,0x00,0x00,0x2e,0x55,0x9d,0x98,0x00,0x00,0xc1,0x6b,0x00,0x00,0x2e,0x55,0xcf,0x91, 0x00,0x00,0x2e,0x55,0x46,0x55,0x00,0x00,0x2e,0x55,0x58,0x54,0x00,0x00,0x42,0x9b,0x00,0x00,0xef,0x8d, 0x00,0x00,0x2e,0x55,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x9a,0x5b,0x00,0x00,0x9a,0x5b,0x1f,0x67, 0x00,0x00,0xa8,0x9a,0x00,0x00,0xe8,0x95,0x00,0x00,0xfe,0x94,0x00,0x00,0x7b,0x6b,0x00,0x00,0x4f,0x5c, 0x00,0x00,0x34,0x6c,0x00,0x00,0x7f,0x95,0x3e,0x65,0xed,0x77,0x00,0x00,0x66,0x8f,0x00,0x00,0x06,0x00, 0x00,0x00,0x35,0x75,0x00,0x00,0x1a,0x4e,0x00,0x00,0xff,0x77,0x00,0x00,0x35,0x75,0x60,0x6c,0x00,0x00, 0xbb,0x79,0x50,0x5b,0x00,0x00,0xbb,0x79,0x50,0x5b,0x35,0x75,0x60,0x6c,0x00,0x00,0x02,0x00,0x00,0x00, 0xae,0x4e,0x00,0x00,0x49,0x51,0xe6,0x74,0xae,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0x34,0x59,0x00,0x00, 0x49,0x83,0x00,0x00,0x78,0x59,0x00,0x00,0x3a,0x5f,0x76,0x62,0x31,0x5f,0x00,0x00,0x49,0x83,0x3a,0x67, 0x00,0x00,0x81,0x72,0x00,0x00,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x70,0x00,0x00,0x95,0x5e, 0x00,0x00,0xd6,0x76,0x00,0x00,0x89,0x70,0x3f,0x62,0x00,0x00,0x97,0x78,0xe2,0x74,0xc6,0x76,0x00,0x00, 0x50,0x5b,0x00,0x00,0xf4,0x5d,0x00,0x00,0x34,0x8d,0x00,0x00,0x05,0x53,0x89,0x80,0x00,0x00,0x84,0x5e, 0x00,0x00,0x04,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0xf1,0x82,0x02,0x78,0x00,0x00,0x08,0x54,0xd1,0x91, 0x00,0x00,0x05,0x53,0xf3,0x58,0x00,0x00,0x08,0x00,0x00,0x00,0xf9,0x8f,0x00,0x00,0x80,0x86,0x00,0x00, 0x91,0x65,0x00,0x00,0xc5,0x75,0x00,0x00,0x72,0x82,0x00,0x00,0xc1,0x94,0x00,0x00,0x89,0x94,0x00,0x00, 0x5f,0x63,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00, 0x92,0x82,0x00,0x00,0xbf,0x7e,0x00,0x00,0x92,0x82,0xd5,0x6b,0x32,0x97,0x00,0x00,0x62,0x97,0x00,0x00, 0x03,0x83,0x00,0x00,0xe5,0x54,0x00,0x00,0x38,0x97,0x00,0x00,0x5d,0x95,0x00,0x00,0x92,0x82,0x85,0x51, 0x5b,0x65,0x00,0x00,0x05,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0xf7,0x4e,0x00,0x00,0x48,0x72,0x00,0x00, 0xfa,0x57,0x00,0x00,0xf4,0x7e,0x68,0x51,0x5e,0x79,0x9c,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xcf,0x51, 0x00,0x00,0x29,0x52,0x00,0x00,0x77,0x63,0x00,0x00,0x0f,0x61,0xdb,0x8f,0xd6,0x53,0x00,0x00,0xa6,0x90, 0x00,0x00,0x0f,0x61,0x00,0x00,0x14,0x6c,0x00,0x00,0xea,0x8f,0xd1,0x79,0x00,0x00,0x68,0x56,0x00,0x00, 0xd7,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0xff,0x77,0x00,0x00,0xff,0x77,0xf3,0x77,0x00,0x00,0x02,0x00, 0x00,0x00,0xdb,0x94,0x65,0x51,0xf1,0x72,0x00,0x00,0xdb,0x94,0x00,0x00,0x02,0x00,0x00,0x00,0x68,0x56, 0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0xfb,0x7c,0x43,0x51,0x20,0x7d,0x00,0x00,0x01,0x00, 0x00,0x00,0xf7,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xef,0x8b,0x00,0x00,0xc7,0x8f,0x00,0x00,0x31,0x59, 0x00,0x00,0xc9,0x89,0x00,0x00,0x4d,0x4f,0x00,0x00,0xfc,0x7e,0x0d,0x59,0x42,0x67,0x00,0x00,0x4d,0x91, 0x00,0x00,0xf0,0x5c,0x00,0x00,0x2b,0x52,0x57,0x5b,0x00,0x00,0x71,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x30,0x57,0x00,0x00,0xfe,0x94,0x00,0x00,0x9a,0x5b,0x00,0x00,0xca,0x6c,0x00,0x00,0xfa,0x56,0x00,0x00, 0x4d,0x4f,0x00,0x00,0x22,0x7d,0x00,0x00,0x06,0x7f,0x00,0x00,0xca,0x6c,0xb9,0x70,0x00,0x00,0xb7,0x55, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x1a,0x4e,0x00,0x00,0x38,0x6c, 0x00,0x00,0x70,0x51,0x00,0x00,0x97,0x67,0xed,0x90,0xd2,0x52,0xdf,0x76,0x00,0x00,0xb8,0x7e,0x00,0x00, 0x4b,0x51,0x59,0x65,0x00,0x00,0xff,0x77,0x00,0x00,0x89,0x5b,0x00,0x00,0x97,0x67,0xed,0x90,0xd2,0x52, 0x00,0x00,0xdf,0x76,0x00,0x00,0x02,0x00,0x00,0x00,0x0f,0x6f,0x05,0x95,0x00,0x00,0xda,0x56,0x0b,0x95, 0x00,0x00,0x06,0x00,0x00,0x00,0x13,0x9f,0x00,0x00,0x13,0x9f,0xa7,0x55,0x29,0x59,0x00,0x00,0x13,0x9f, 0xf0,0x58,0x00,0x00,0x13,0x9f,0x1f,0x96,0x00,0x00,0xf0,0x58,0x00,0x00,0x50,0x9f,0x13,0x9f,0x0d,0x4e, 0x50,0x9f,0x00,0x00,0x08,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xbc,0x70,0x00,0x00,0x34,0x59,0x00,0x00, 0x40,0x67,0x00,0x00,0x34,0x59,0xa8,0x9c,0x00,0x00,0xa8,0x9a,0x00,0x00,0xf0,0x58,0x00,0x00,0xa8,0x9a, 0xc4,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x5f,0x00,0x00,0x50,0x5b,0x00,0x00,0x53,0x4f,0x00,0x00, 0x52,0x7b,0x00,0x00,0x6b,0x86,0xc5,0x75,0x00,0x00,0x62,0x97,0x00,0x00,0x7f,0x9f,0x6e,0x8f,0x00,0x00, 0xa6,0x5e,0x00,0x00,0x57,0x59,0x00,0x00,0x16,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00, 0xe3,0x7e,0x00,0x00,0x07,0x68,0x5b,0x8d,0x00,0x00,0xde,0x5d,0x00,0x00,0x0a,0x4e,0xfb,0x6d,0xb1,0x82, 0x00,0x00,0x9b,0x6d,0x00,0x00,0xca,0x56,0x00,0x00,0xd7,0x65,0x00,0x00,0x4e,0x53,0x00,0x00,0x56,0x6e, 0x00,0x00,0x01,0x00,0x00,0x00,0x8a,0x62,0x00,0x00,0x03,0x00,0x00,0x00,0x42,0x52,0x00,0x00,0x50,0x5b, 0x00,0x00,0x89,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x76,0x00,0x00,0x65,0x51,0x00,0x00,0x20,0x9f, 0x00,0x00,0x4d,0x4f,0x00,0x00,0x3d,0x5e,0x00,0x00,0xd8,0x76,0x0f,0x5f,0x00,0x00,0xfd,0x80,0x00,0x00, 0x3c,0x50,0x00,0x00,0xd8,0x76,0x50,0x4e,0x68,0x56,0x00,0x00,0x2f,0x66,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7f,0x9f,0x00,0x00,0x61,0x67,0x00,0x00,0x50,0x5b,0x00,0x00,0x2b,0x67,0x00,0x00,0x7f,0x9f,0xb6,0x72, 0x00,0x00,0x47,0x72,0x00,0x00,0x7f,0x81,0x00,0x00,0x8a,0x5e,0x00,0x00,0x28,0x67,0x82,0x53,0x00,0x00, 0xe3,0x53,0x00,0x00,0x05,0x00,0x00,0x00,0xff,0x77,0x00,0x00,0xdc,0x94,0x00,0x00,0x1a,0x4e,0x00,0x00, 0xd3,0x7e,0x38,0x68,0x00,0x00,0xff,0x77,0x02,0x78,0x00,0x00,0x02,0x00,0x00,0x00,0xe2,0x94,0xc5,0x5f, 0x83,0x8f,0x00,0x00,0xe2,0x94,0x00,0x00,0x01,0x00,0x00,0x00,0x0c,0x80,0x0d,0x4e,0x0d,0x82,0x00,0x00, 0x01,0x00,0x00,0x00,0x35,0x95,0x00,0x00,0x03,0x00,0x00,0x00,0x32,0x75,0x00,0x00,0x62,0x5f,0x6b,0x86, 0x00,0x00,0x50,0x95,0xc4,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0x66,0x4e,0x00,0x00,0xaf,0x65,0x00,0x00, 0x0f,0x61,0x00,0x00,0x31,0x72,0x00,0x00,0x0e,0x9f,0xa6,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0xbc,0x70, 0x00,0x00,0x20,0x90,0x00,0x00,0xf6,0x4e,0x00,0x00,0x8b,0x53,0x00,0x00,0xbc,0x70,0xd5,0x6c,0x00,0x00, 0xc3,0x7e,0x00,0x00,0x53,0x62,0x00,0x00,0xbc,0x70,0x05,0x80,0x00,0x00,0x4a,0x93,0x00,0x00,0xc1,0x94, 0x00,0x00,0x01,0x00,0x00,0x00,0x3d,0x95,0x00,0x00,0x09,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x9c,0x81, 0x00,0x00,0x42,0x5c,0x00,0x00,0x0c,0x95,0x00,0x00,0x40,0x95,0x00,0x00,0x21,0x95,0x7f,0x67,0x00,0x00, 0x9c,0x81,0x9b,0x94,0x00,0x00,0x0c,0x95,0xc1,0x94,0x00,0x00,0xf6,0x94,0x00,0x00,0x0a,0x00,0x00,0x00, 0x08,0x54,0xd1,0x91,0x00,0x00,0x49,0x51,0x6f,0x70,0x00,0x00,0xdd,0x94,0x00,0x00,0x1a,0x4e,0x00,0x00, 0x49,0x51,0x00,0x00,0x73,0x4e,0x00,0x00,0xd0,0x76,0x00,0x00,0x02,0x78,0x00,0x00,0x02,0x78,0x82,0x53, 0x00,0x00,0x16,0x78,0x00,0x00,0x06,0x00,0x00,0x00,0x7a,0x7a,0x00,0x00,0xd5,0x96,0x00,0x00,0x3b,0x52, 0x00,0x00,0xb1,0x82,0x00,0x00,0xa8,0x9a,0xed,0x94,0xc3,0x5f,0x00,0x00,0x4c,0x5d,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3f,0x65,0x9c,0x5e,0x00,0x00,0x7f,0x95,0x00,0x00,0x5f,0x6c,0x00,0x00,0x8b,0x53,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x59,0x97,0x00,0x00,0x9a,0x5b,0x00,0x00,0xdb,0x75,0x00,0x00,0x77,0x6d,0x00,0x00, 0x5f,0x6c,0x02,0x5e,0x00,0x00,0x01,0x00,0x00,0x00,0x73,0x7c,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x05,0x00,0x00,0x00,0x3b,0x52,0x00,0x00,0x42,0x95,0x00,0x00,0xdc,0x9e,0x00,0x00,0xa8,0x9a, 0xed,0x94,0xc3,0x5f,0x00,0x00,0xc3,0x5f,0xed,0x94,0xa8,0x9a,0x00,0x00,0x08,0x00,0x00,0x00,0x22,0x6c, 0x00,0x00,0xff,0x77,0x00,0x00,0xf7,0x4e,0x00,0x00,0xfa,0x57,0x00,0x00,0x1a,0x4e,0x00,0x00,0x01,0x5e, 0x00,0x00,0xfd,0x90,0x00,0x00,0x94,0x7b,0x00,0x00,0x03,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x50,0x5b, 0x00,0x00,0xf6,0x94,0x68,0x56,0x00,0x00,0x02,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0xac,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0x89,0x70,0x00,0x00,0x04,0x00,0x00,0x00,0x40,0x5c,0x00,0x00,0xa2,0x5b,0x00,0x00, 0x08,0x5e,0x00,0x00,0xaa,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x8a,0x5e,0x00,0x00,0x02,0x00,0x00,0x00, 0x3f,0x51,0x00,0x00,0x50,0x5b,0x3f,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0xb0,0x8b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x34,0x59,0x00,0x00,0x50,0x5b,0x00,0x00,0x47,0x72,0x00,0x00,0xcf,0x50,0x00,0x00,0x62,0x97, 0x00,0x00,0xa5,0x62,0x00,0x00,0x46,0x68,0x00,0x00,0xb6,0x67,0x00,0x00,0xb1,0x82,0x34,0x6c,0x08,0x67, 0x00,0x00,0x74,0x92,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x02,0x00,0x00,0x00,0xd0,0x94, 0x00,0x00,0x01,0x95,0x00,0x00,0x01,0x00,0x00,0x00,0xfb,0x7c,0x43,0x51,0x20,0x7d,0x00,0x00,0x01,0x00, 0x00,0x00,0x95,0x94,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x34,0x6c, 0x00,0x00,0x02,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x50,0x5b,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b, 0x00,0x00,0x03,0x00,0x00,0x00,0x04,0x5c,0x00,0x00,0x04,0x5c,0x07,0x68,0x00,0x00,0x04,0x5c,0x70,0x53, 0x68,0x88,0x3a,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x08,0x00,0x00,0x00,0x00,0x52, 0x00,0x00,0xd3,0x4e,0x00,0x00,0xd3,0x4e,0x55,0x5e,0x9c,0x5e,0x00,0x00,0x00,0x52,0x62,0x5f,0x00,0x00, 0x00,0x52,0xc6,0x7e,0xde,0x80,0x2b,0x8d,0x40,0x88,0x00,0x00,0x00,0x52,0xa7,0x65,0x34,0x59,0x00,0x00, 0x62,0x5f,0x40,0x88,0x03,0x74,0x2b,0x8d,0x40,0x88,0xc7,0x75,0x00,0x00,0xb6,0x72,0xc6,0x7e,0xde,0x80, 0x40,0x88,0xc7,0x75,0x00,0x00,0x01,0x00,0x00,0x00,0x94,0x7b,0x00,0x00,0x05,0x00,0x00,0x00,0x4c,0x5d, 0x00,0x00,0x59,0x72,0x00,0x00,0xd1,0x91,0x00,0x00,0xc4,0x9e,0xd7,0x65,0x00,0x00,0x4c,0x5d,0x3b,0x75, 0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67,0x00,0x00,0x5f,0x6c,0x00,0x00,0x99,0x6c,0x00,0x00,0xce,0x57, 0x00,0x00,0xdc,0x8f,0x00,0x00,0x47,0x50,0x00,0x00,0x27,0x59,0x00,0x00,0x25,0x66,0x00,0x00,0x45,0x4e, 0x00,0x00,0x89,0x5b,0x00,0x00,0x09,0x00,0x00,0x00,0x6e,0x7f,0x00,0x00,0x4a,0x80,0x00,0x00,0x92,0x95, 0x00,0x00,0x57,0x84,0x00,0x00,0x87,0x66,0x00,0x00,0x1b,0x90,0x00,0x00,0xba,0x4e,0x00,0x00,0x00,0x8a, 0x92,0x95,0xed,0x8b,0x00,0x00,0x08,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0xdb,0x69,0x00,0x00,0xe3,0x53, 0x00,0x00,0x97,0x5e,0x00,0x00,0x68,0x79,0x00,0x00,0x37,0x62,0x00,0x00,0xca,0x8b,0x00,0x00,0x4d,0x52, 0x00,0x00,0x16,0x59,0x00,0x00,0x97,0x7a,0x00,0x00,0x7b,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x35,0x75, 0x00,0x00,0xc1,0x70,0x00,0x00,0xae,0x4e,0x00,0x00,0x00,0x80,0x00,0x00,0x49,0x51,0x00,0x00,0x49,0x51, 0x6f,0x70,0x00,0x00,0xea,0x95,0x00,0x00,0xb0,0x73,0x00,0x00,0x58,0x5b,0x00,0x00,0x5a,0x5a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x55,0x5e,0x00,0x00,0x08,0x54,0x00,0x00,0x55,0x5e,0x0f,0x5f,0x00,0x00,0x73,0x51, 0x00,0x00,0x5e,0x58,0x00,0x00,0x0a,0x4e,0x00,0x00,0xe8,0x95,0x00,0x00,0xcf,0x7e,0x00,0x00,0x34,0x56, 0x00,0x00,0x86,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x98,0x98,0x00,0x00,0x23,0x8d,0x00,0x00,0xca,0x53, 0x00,0x00,0x54,0x7b,0x00,0x00,0x77,0x53,0x00,0x00,0xee,0x95,0x00,0x00,0x16,0x4e,0x00,0x00,0x53,0x90, 0x00,0x00,0x19,0x50,0x00,0x00,0xe2,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xdb,0x8f, 0x00,0x00,0x61,0x83,0x00,0x00,0x78,0x79,0x00,0x00,0x73,0x51,0x00,0x00,0xb2,0x52,0x00,0x00,0x73,0x51, 0x1c,0x4e,0x00,0x00,0x5f,0x6c,0x56,0x6e,0x00,0x00,0xef,0x95,0x00,0x00,0x61,0x83,0x5f,0x6c,0x56,0x6e, 0x00,0x00,0x04,0x00,0x00,0x00,0x74,0x5e,0x00,0x00,0x08,0x67,0x00,0x00,0xd2,0x79,0x00,0x00,0xe5,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x7f,0x00,0x00,0xb1,0x94,0x00,0x00,0x87,0x66,0x00,0x00,0x4a,0x80, 0x00,0x00,0x63,0x65,0x00,0x00,0x1b,0x90,0x00,0x00,0xba,0x4e,0x00,0x00,0xdd,0x8b,0x00,0x00,0x08,0x8c, 0x00,0x00,0x02,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0xa5,0x63,0x00,0x00,0x0d,0x8c,0x00,0x00,0x94,0x96, 0x00,0x00,0xad,0x65,0x00,0x00,0x99,0x96,0x00,0x00,0xdd,0x8d,0x00,0x00,0x47,0x6b,0x27,0x60,0x00,0x00, 0x47,0x6b,0x00,0x00,0xa5,0x63,0x0e,0x7a,0x00,0x00,0x0d,0x8c,0x6a,0x7f,0x00,0x00,0x05,0x00,0x00,0x00, 0x4c,0x88,0x3a,0x53,0x00,0x00,0x4c,0x88,0x00,0x00,0xb6,0x5b,0x00,0x00,0xd1,0x79,0x2b,0x59,0xaf,0x65, 0xfa,0x57,0x00,0x00,0xf6,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x70,0x00,0x00,0x9a,0x9a,0x00,0x00, 0x7b,0x6b,0x00,0x00,0xf7,0x95,0x0d,0x4e,0x50,0x4e,0x00,0x00,0xf0,0x58,0x00,0x00,0xcd,0x54,0x00,0x00, 0x34,0x59,0x00,0x00,0xd8,0x75,0x00,0x00,0xcd,0x68,0x00,0x00,0x14,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf9,0x87,0x00,0x00,0xe8,0x95,0x00,0x00,0x17,0x53,0x00,0x00,0x17,0x53,0x3a,0x53,0x00,0x00,0x3a,0x67, 0x00,0x00,0xe3,0x53,0x00,0x00,0x00,0x52,0x00,0x00,0x04,0x5f,0xe3,0x53,0x00,0x00,0xa4,0x5b,0x00,0x00, 0xd2,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x67,0x52,0x00,0x00,0x8b,0x4e,0x00,0x00,0x9f,0x94,0x00,0x00, 0x02,0x5e,0x00,0x00,0x02,0x5e,0x3a,0x53,0x00,0x00,0xc3,0x5f,0x00,0x00,0x7e,0x81,0x00,0x00,0xf9,0x95, 0x00,0x00,0xfb,0x7f,0x00,0x00,0xc3,0x94,0x00,0x00,0x0a,0x00,0x00,0x00,0x1c,0x87,0x00,0x00,0x73,0x59, 0x00,0x00,0xc6,0x5b,0x00,0x00,0x3f,0x62,0x00,0x00,0x2d,0x4e,0x00,0x00,0x1c,0x87,0xec,0x4e,0x00,0x00, 0xc0,0x79,0x00,0x00,0x01,0x96,0x00,0x00,0xe8,0x95,0xe6,0x65,0x00,0x00,0xe8,0x95,0x00,0x00,0x0a,0x00, 0x00,0x00,0x0d,0x54,0x00,0x00,0xaf,0x8b,0x00,0x00,0x30,0x52,0x00,0x00,0xd5,0x6c,0x00,0x00,0x1d,0x60, 0x00,0x00,0x40,0x62,0x2a,0x67,0xfb,0x95,0x00,0x00,0x0d,0x54,0x8e,0x4e,0x16,0x4e,0x00,0x00,0xce,0x98, 0x0c,0x80,0xa8,0x52,0x00,0x00,0xfb,0x95,0x00,0x00,0x5b,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x70, 0x64,0x57,0x00,0x00,0x57,0x53,0x00,0x00,0x5f,0x6c,0x00,0x00,0x1c,0x4e,0x00,0x00,0x57,0x53,0xed,0x8b, 0x00,0x00,0x57,0x53,0xdd,0x8b,0x00,0x00,0xaf,0x4f,0x00,0x00,0x7f,0x89,0x00,0x00,0xaf,0x4f,0xbf,0x53, 0x00,0x00,0x46,0x55,0x00,0x00,0x05,0x00,0x00,0x00,0xcc,0x91,0x00,0x00,0x0e,0x96,0x00,0x00,0xf7,0x5d, 0x00,0x00,0xe6,0x5d,0x00,0x00,0x3e,0x5c,0x00,0x00,0x07,0x00,0x00,0x00,0xe8,0x95,0x00,0x00,0x3c,0x50, 0x00,0x00,0xaf,0x82,0x00,0x00,0x53,0x4f,0x00,0x00,0xa7,0x5e,0x00,0x00,0xe8,0x95,0x4c,0x75,0x00,0x00, 0xb6,0x72,0x00,0x00,0x09,0x00,0x00,0x00,0xda,0x50,0x00,0x00,0x7c,0x69,0x00,0x00,0x0b,0x4e,0x00,0x00, 0x58,0x54,0x00,0x00,0xc6,0x63,0x00,0x00,0x50,0x5b,0x00,0x00,0xae,0x8b,0x00,0x00,0xcf,0x85,0x00,0x00, 0x05,0x68,0x00,0x00,0x03,0x00,0x00,0x00,0x65,0x59,0x00,0x00,0xc4,0x5b,0x00,0x00,0x03,0x83,0x00,0x00, 0x0a,0x00,0x00,0x00,0xfb,0x8b,0x00,0x00,0xfb,0x8b,0x68,0x56,0x00,0x00,0x75,0x51,0x00,0x00,0x75,0x51, 0x0f,0x5f,0x00,0x00,0x86,0x53,0x00,0x00,0x77,0x53,0x00,0x00,0xc8,0x89,0xa4,0x5b,0x00,0x00,0xc8,0x89, 0x00,0x00,0xfb,0x8b,0xcf,0x91,0x00,0x00,0xfb,0x8b,0x05,0x80,0x00,0x00,0x06,0x00,0x00,0x00,0x2d,0x4e, 0x00,0x00,0x2d,0x4e,0x02,0x5e,0x00,0x00,0xd1,0x82,0x00,0x00,0xce,0x98,0x00,0x00,0xce,0x98,0xc5,0x5d, 0x00,0x00,0xe4,0x51,0x71,0x5c,0x00,0x00,0x02,0x00,0x00,0x00,0xce,0x9e,0x00,0x00,0xa8,0x68,0x00,0x00, 0x01,0x00,0x00,0x00,0x3c,0x50,0x00,0x00,0x05,0x00,0x00,0x00,0x72,0x52,0x00,0x00,0xba,0x4e,0x00,0x00, 0x36,0x71,0x00,0x00,0xfa,0x5b,0x00,0x00,0xd6,0x7a,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x73,0x00,0x00, 0x6e,0x6d,0xd0,0x63,0x00,0x00,0x21,0x95,0x71,0x5c,0x00,0x00,0x57,0x7f,0x8b,0x73,0x00,0x00,0x6f,0x82, 0x00,0x00,0x57,0x7f,0x00,0x00,0x8b,0x73,0x37,0x72,0x00,0x00,0x6f,0x82,0x3a,0x53,0x00,0x00,0x1b,0x54, 0x00,0x00,0x54,0x9b,0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x6c,0x00,0x00,0x06,0x00,0x00,0x00,0xf0,0x8f, 0x00,0x00,0xca,0x91,0x00,0x00,0x0e,0x66,0x00,0x00,0xd1,0x53,0x00,0x00,0x6c,0x62,0x00,0x00,0x3a,0x79, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3e,0x5c,0x8e,0x70,0x00,0x00,0x3e,0x5c,0x00,0x00,0xca,0x73,0x00,0x00, 0xca,0x73,0x04,0x59,0x00,0x00,0x72,0x5e,0x00,0x00,0x3e,0x5c,0x07,0x52,0x64,0x96,0x2f,0x67,0x00,0x00, 0xce,0x98,0x00,0x00,0x65,0x51,0x00,0x00,0xdb,0x69,0x00,0x00,0x9a,0x6b,0x00,0x00,0x03,0x00,0x00,0x00, 0xc2,0x5b,0x00,0x00,0x36,0x71,0x00,0x00,0xc2,0x5b,0xe0,0x65,0xf0,0x58,0x00,0x00,0x0a,0x00,0x00,0x00, 0xf0,0x7e,0x00,0x00,0x2b,0x52,0x00,0x00,0x14,0x6c,0x00,0x00,0x65,0x6b,0x00,0x00,0xf6,0x53,0x00,0x00, 0xf6,0x53,0x97,0x67,0x00,0x00,0x27,0x59,0x00,0x00,0xa6,0x5e,0x00,0x00,0xf6,0x53,0x11,0x68,0x00,0x00, 0x11,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xb6,0x5b,0xe2,0x56,0x06,0x57,0x00,0x00,0xb6,0x5b,0x78,0x5e, 0x8f,0x79,0x00,0x00,0xb6,0x5b,0x00,0x00,0x0a,0x4e,0x00,0x00,0xb6,0x5b,0x22,0x6b,0x50,0x4e,0x00,0x00, 0xb6,0x5b,0xe2,0x56,0x5a,0x80,0x00,0x00,0xfe,0x95,0x00,0x00,0x3c,0x77,0x00,0x00,0x9c,0x5e,0x00,0x00, 0xfe,0x95,0xce,0x57,0x57,0x90,0x40,0x57,0x00,0x00,0x04,0x00,0x00,0x00,0x82,0x59,0x00,0x00,0x79,0x72, 0xe4,0x52,0x00,0x00,0x91,0x75,0x00,0x00,0x87,0x65,0x05,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0x33,0x96, 0x00,0x00,0x33,0x96,0x02,0x5e,0x00,0x00,0xb0,0x65,0x00,0x00,0xce,0x57,0xbf,0x53,0x00,0x00,0x81,0x5b, 0xbf,0x53,0x00,0x00,0xb0,0x65,0x02,0x5e,0x00,0x00,0x81,0x5b,0x00,0x00,0x10,0x62,0xe8,0x95,0x00,0x00, 0x57,0x53,0xbf,0x53,0x00,0x00,0xce,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x4f,0x00,0x00,0x58,0x54, 0x00,0x00,0x7f,0x95,0x00,0x00,0xcb,0x53,0x00,0x00,0x62,0x5f,0x00,0x00,0x17,0x52,0x00,0x00,0x0d,0x67, 0x00,0x00,0x3b,0x53,0x00,0x00,0x3e,0x5c,0x00,0x00,0xf2,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x4c,0x96, 0x00,0x00,0x01,0x00,0x00,0x00,0x67,0x96,0x00,0x00,0x02,0x00,0x00,0x00,0x5e,0x79,0x00,0x00,0x25,0x60, 0x00,0x00,0x07,0x00,0x00,0x00,0x4b,0x66,0xc7,0x52,0x00,0x00,0x0f,0x6c,0x00,0x00,0xb8,0x54,0x00,0x00, 0x07,0x5d,0x66,0x6b,0x00,0x00,0x4b,0x51,0x00,0x00,0x89,0x5b,0x00,0x00,0x43,0x51,0x00,0x00,0x0a,0x00, 0x00,0x00,0x62,0x6b,0x00,0x00,0x03,0x83,0x00,0x00,0xbb,0x6c,0x00,0x00,0xa1,0x5f,0x00,0x00,0x52,0x66, 0x00,0x00,0x6b,0x53,0x00,0x00,0xa7,0x63,0x00,0x00,0x7a,0x7a,0x00,0x00,0xa4,0x62,0x00,0x00,0x5b,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x49,0x51,0x00,0x00,0xf0,0x53,0x00,0x00,0x27,0x60,0x00,0x00,0xbb,0x79, 0x50,0x5b,0x00,0x00,0x14,0x6c,0x00,0x00,0xff,0x75,0x00,0x00,0x0e,0x66,0x00,0x00,0x84,0x6f,0x56,0x6e, 0x00,0x00,0x5f,0x6c,0x00,0x00,0x49,0x51,0x16,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x90,0x00,0x00, 0x71,0x5f,0x00,0x00,0x0e,0x83,0x00,0x00,0x33,0x96,0x00,0x00,0x0b,0x8c,0x00,0x00,0x3e,0x97,0x00,0x00, 0x82,0x84,0x00,0x00,0x27,0x60,0x00,0x00,0xe8,0x96,0x00,0x00,0x29,0x59,0x00,0x00,0x0a,0x00,0x00,0x00, 0x25,0x84,0x00,0x00,0x30,0x57,0x00,0x00,0xce,0x98,0x00,0x00,0xb9,0x5b,0x00,0x00,0xe8,0x96,0x00,0x00, 0xbf,0x7e,0x00,0x00,0xdb,0x75,0x00,0x00,0x35,0x96,0x00,0x00,0xa1,0x4e,0x00,0x00,0x17,0x52,0x00,0x00, 0x0a,0x00,0x00,0x00,0xb5,0x6b,0x00,0x00,0xb5,0x6b,0x27,0x60,0x00,0x00,0x42,0x5c,0x00,0x00,0xaf,0x68, 0x00,0x00,0xa7,0x7e,0x00,0x00,0xaf,0x68,0x0f,0x5f,0x00,0x00,0xa7,0x7e,0x97,0x65,0x89,0x4e,0x00,0x00, 0x0b,0x4e,0xda,0x56,0x00,0x00,0x58,0x4e,0x00,0x00,0xa7,0x7e,0x27,0x60,0x00,0x00,0x0a,0x00,0x00,0x00, 0x62,0x6b,0x00,0x00,0x9b,0x52,0x00,0x00,0x8d,0x78,0x00,0x00,0x21,0x63,0x00,0x00,0x20,0x63,0x00,0x00, 0xad,0x65,0x00,0x00,0xe6,0x62,0x00,0x00,0x5e,0x58,0x00,0x00,0xfb,0x51,0x00,0x00,0x94,0x96,0x00,0x00, 0x0a,0x00,0x00,0x00,0xcc,0x5b,0x57,0x6c,0x00,0x00,0xcc,0x91,0xf4,0x5d,0xf4,0x5d,0x00,0x00,0xcc,0x91, 0x00,0x00,0xc9,0x62,0x2f,0x4f,0x00,0x00,0x39,0x68,0xf7,0x5e,0x00,0x00,0xe8,0x59,0x00,0x00,0x25,0x5f, 0x40,0x96,0x5b,0x4f,0x00,0x00,0xf6,0x80,0x00,0x00,0x28,0x84,0xb7,0x5f,0x00,0x00,0x14,0x5c,0x00,0x00, 0x07,0x00,0x00,0x00,0x57,0x7f,0x3c,0x5c,0x00,0x00,0xba,0x87,0x00,0x00,0xba,0x87,0xea,0x4e,0x00,0x00, 0x57,0x7f,0x00,0x00,0xde,0x98,0x6e,0x8f,0x00,0x00,0x1d,0x60,0xa5,0x59,0x36,0x80,0x2b,0x59,0xaf,0x65, 0xfa,0x57,0x00,0x00,0x1d,0x60,0xa5,0x59,0x5f,0x4e,0x2b,0x59,0xaf,0x65,0xfa,0x57,0x00,0x00,0x01,0x00, 0x00,0x00,0x58,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x8f,0x00,0x00,0x5e,0x5c,0x00,0x00,0xa0,0x52, 0x00,0x00,0xa0,0x52,0x39,0x8d,0x00,0x00,0xa0,0x52,0x3c,0x50,0x00,0x00,0x26,0x5e,0x00,0x00,0xf6,0x4e, 0x00,0x00,0x0a,0x4e,0x00,0x00,0x40,0x77,0x00,0x00,0x2d,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x47,0x90, 0x00,0x00,0x4e,0x53,0x00,0x00,0x1a,0x4f,0x00,0x00,0xaf,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x7e, 0x00,0x00,0x9b,0x51,0x00,0x00,0x18,0x62,0x1f,0x96,0x00,0x00,0x30,0x57,0x00,0x00,0xb6,0x5b,0x34,0x56, 0x00,0x00,0x0a,0x4e,0x00,0x00,0x4b,0x51,0x87,0x65,0x00,0x00,0xef,0x8d,0x00,0x00,0xfa,0x57,0x00,0x00, 0x46,0x96,0xed,0x7e,0xed,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x57,0x53,0x00,0x00,0x57,0x53,0x02,0x5e, 0x00,0x00,0x7f,0x89,0x00,0x00,0x77,0x6d,0x00,0x00,0x7f,0x89,0xbf,0x53,0x00,0x00,0x77,0x6d,0xbf,0x7e, 0x00,0x00,0x1c,0x4e,0x00,0x00,0xbf,0x53,0x00,0x00,0x77,0x6d,0xef,0x8d,0x00,0x00,0xdd,0x5d,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0xd0,0x67,0x00,0x00,0xf0,0x8f,0x00,0x00,0x74,0x5e,0x00,0x00,0x17,0x52, 0x00,0x00,0xe7,0x65,0x00,0x00,0x34,0x6c,0x41,0x62,0x00,0x00,0x55,0x59,0xc5,0x8f,0x00,0x00,0xec,0x72, 0xc0,0x79,0x00,0x00,0xae,0x76,0x00,0x00,0xcd,0x7e,0x00,0x00,0x01,0x00,0x00,0x00,0x33,0x96,0x7f,0x9a, 0x00,0x00,0x08,0x00,0x00,0x00,0x60,0x4e,0x00,0x00,0xa4,0x5b,0x00,0x00,0xf7,0x5d,0x00,0x00,0xd7,0x4f, 0x00,0x00,0xc4,0x89,0x00,0x00,0x45,0x5c,0x00,0x00,0x0d,0x82,0x00,0x00,0x4b,0x5c,0x00,0x00,0x08,0x00, 0x00,0x00,0x1f,0x75,0x00,0x00,0x1f,0x75,0xba,0x4e,0x00,0x00,0x4c,0x96,0x00,0x00,0xef,0x8d,0x00,0x00, 0x0a,0x4e,0x00,0x00,0x1f,0x75,0x1f,0x61,0x00,0x00,0x1f,0x75,0x16,0x53,0x00,0x00,0xef,0x8d,0xba,0x4e, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x4f,0x00,0x00,0xf7,0x4e,0x00,0x00,0x6f,0x60,0x00,0x00,0xe8,0x96, 0x00,0x00,0x45,0x5e,0x00,0x00,0x29,0x6e,0x00,0x00,0x34,0x6c,0x00,0x00,0x3d,0x84,0x00,0x00,0xc6,0x51, 0x00,0x00,0xea,0x96,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x52,0x00,0x00,0x2d,0x8d,0x00,0x00,0xa6,0x5e, 0x00,0x00,0x8e,0x4e,0x00,0x00,0x9d,0x98,0x00,0x00,0xcf,0x91,0x00,0x00,0xf7,0x4e,0x00,0x00,0x9a,0x5b, 0x00,0x00,0x2e,0x55,0xa1,0x80,0x00,0x00,0x4c,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x89,0x00,0x00, 0x7f,0x89,0x01,0x77,0x00,0x00,0x17,0x53,0x00,0x00,0x57,0x53,0x00,0x00,0x18,0x75,0x81,0x5b,0x00,0x00, 0xbf,0x53,0x00,0x00,0x18,0x75,0x00,0x00,0x64,0x71,0x00,0x00,0x7f,0x89,0xba,0x4e,0x00,0x00,0xac,0x4e, 0x00,0x00,0x01,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x7f,0x89,0x00,0x00,0x0a,0x00, 0x00,0x00,0x36,0x71,0x00,0x00,0x9e,0x58,0x00,0x00,0xed,0x5c,0x00,0x00,0x61,0x57,0x00,0x00,0xed,0x5c, 0x16,0x53,0x00,0x00,0xfb,0x5c,0x00,0x00,0x16,0x5d,0x00,0x00,0xd8,0x53,0x00,0x00,0xf4,0x76,0x00,0x00, 0xc1,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x95,0x00,0x00,0xeb,0x58,0x00,0x00,0x21,0x68,0x00,0x00, 0x50,0x5b,0x00,0x00,0xb9,0x65,0x00,0x00,0x85,0x51,0x00,0x00,0xbf,0x7e,0x00,0x00,0x40,0x62,0x00,0x00, 0x3d,0x84,0x00,0x00,0xcc,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0x86,0x4e,0x00,0x00,0x5e,0x97,0x00,0x00, 0x64,0x6b,0x4b,0x4e,0x16,0x59,0x00,0x00,0xbb,0x53,0x00,0x00,0x16,0x59,0x00,0x00,0x15,0x59,0x00,0x00, 0x43,0x67,0x00,0x00,0x64,0x6b,0xe5,0x4e,0x16,0x59,0x00,0x00,0x49,0x83,0x42,0x52,0x00,0x00,0x89,0x63, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf3,0x77,0x00,0x00,0x3d,0x84,0x00,0x00,0xf3,0x77,0x51,0x57,0x00,0x00, 0x1f,0x66,0x00,0x00,0xf3,0x77,0xe8,0x96,0x00,0x00,0xc1,0x94,0x00,0x00,0x51,0x57,0x00,0x00,0x6d,0x70, 0x00,0x00,0x7d,0x54,0x00,0x00,0x96,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x60,0x00,0x00,0x44,0x8d, 0x00,0x00,0x01,0x4f,0x00,0x00,0xcd,0x79,0x00,0x00,0x9b,0x4e,0x00,0x00,0x76,0x60,0x00,0x00,0x83,0x58, 0x00,0x00,0xf0,0x5c,0x00,0x00,0xfb,0x5c,0x00,0x00,0x88,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x0c,0x54, 0x00,0x00,0x34,0x4f,0x00,0x00,0xa1,0x5b,0xe2,0x56,0x00,0x00,0xa4,0x62,0x00,0x00,0xa1,0x5b,0x58,0x54, 0x00,0x00,0xfb,0x8b,0x00,0x00,0x52,0x91,0x00,0x00,0x6a,0x96,0x00,0x00,0x6c,0x84,0x00,0x00,0xc3,0x7e, 0x00,0x00,0x01,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xed,0x56,0x00,0x00,0x93,0x58, 0x00,0x00,0x34,0x6c,0x00,0x00,0xdd,0x5b,0x00,0x00,0x34,0x6c,0xbf,0x53,0x00,0x00,0x3a,0x53,0x00,0x00, 0xbf,0x53,0x00,0x00,0xdd,0x5d,0xbf,0x53,0x00,0x00,0xdd,0x5d,0x00,0x00,0x4d,0x52,0x00,0x00,0x0a,0x00, 0x00,0x00,0xf7,0x74,0x00,0x00,0x89,0x91,0x00,0x00,0x68,0x56,0x00,0x00,0x36,0x71,0x00,0x00,0x0f,0x6c, 0x00,0x00,0x7a,0x82,0x00,0x00,0xb6,0x51,0x00,0x00,0xd1,0x4f,0x00,0x00,0x50,0x7f,0x00,0x00,0x87,0x65, 0x00,0x00,0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0x31,0x96,0x00,0x00,0x8e,0x4e,0x00,0x00,0xb3,0x5b, 0x00,0x00,0x3d,0x84,0x00,0x00,0x51,0x57,0x00,0x00,0xbc,0x65,0x00,0x00,0x35,0x96,0x00,0x00,0x65,0x51, 0x62,0x72,0x3c,0x7b,0x00,0x00,0x65,0x51,0xf0,0x56,0x83,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xcd,0x91, 0x00,0x00,0xf8,0x80,0x00,0x00,0x77,0x8d,0x00,0x00,0x3b,0x9f,0x00,0x00,0x86,0x96,0x00,0x00,0xde,0x56, 0xbf,0x53,0x00,0x00,0xac,0x51,0x00,0x00,0x0c,0x66,0x00,0x00,0x89,0x5b,0x00,0x00,0x1a,0x59,0x00,0x00, 0x01,0x00,0x00,0x00,0x14,0x78,0x3e,0x54,0x00,0x00,0x09,0x00,0x00,0x00,0x10,0x55,0x00,0x00,0x80,0x70, 0x1d,0x5e,0x00,0x00,0x1d,0x67,0x00,0x00,0xe3,0x4e,0x00,0x00,0x87,0x65,0x1d,0x5e,0x00,0x00,0x66,0x4e, 0x00,0x00,0x10,0x55,0x14,0x6f,0x49,0x4e,0x00,0x00,0x2b,0x67,0x00,0x00,0x87,0x65,0x1d,0x5e,0x68,0x67, 0x5a,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x40,0x77,0x00,0x00,0x0e,0x54,0x00,0x00,0xf6,0x65,0x00,0x00, 0x73,0x53,0x00,0x00,0xbf,0x4f,0x00,0x00,0x0f,0x61,0x00,0x00,0x4b,0x4e,0x00,0x00,0x3a,0x67,0x00,0x00, 0xab,0x8e,0x00,0x00,0x4b,0x62,0x00,0x00,0x0a,0x00,0x00,0x00,0xa3,0x60,0x00,0x00,0xc1,0x79,0x00,0x00, 0xcf,0x85,0x00,0x00,0x92,0x77,0x00,0x00,0x62,0x5f,0x00,0x00,0x3d,0x85,0x00,0x00,0x27,0x60,0x00,0x00, 0xe7,0x5f,0x00,0x00,0x2b,0x54,0x00,0x00,0xd8,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x79,0x00,0x00, 0x1c,0x59,0x00,0x00,0xc1,0x58,0x00,0x00,0xdd,0x7e,0x00,0x00,0xad,0x65,0x00,0x00,0x02,0x96,0x00,0x00, 0x7a,0x7a,0x00,0x00,0x9c,0x81,0x00,0x00,0xbb,0x79,0x26,0x5e,0x00,0x00,0xed,0x70,0x00,0x00,0x03,0x00, 0x00,0x00,0xe3,0x53,0x00,0x00,0xef,0x8d,0x00,0x00,0x37,0x8c,0x00,0x00,0x02,0x00,0x00,0x00,0x1d,0x7f, 0x00,0x00,0x30,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0x8d,0x78,0x00,0x00,0x8d,0x78,0x69,0x72,0x00,0x00, 0x8d,0x78,0x27,0x60,0x00,0x00,0x3c,0x77,0xd5,0x6c,0x00,0x00,0x3d,0x85,0x00,0x00,0x8d,0x78,0xc7,0x75, 0x00,0x00,0x3c,0x77,0x00,0x00,0x50,0x5b,0x00,0x00,0xba,0x4e,0x3c,0x77,0xee,0x76,0x00,0x00,0x8d,0x78, 0xd1,0x6e,0xea,0x96,0x00,0x00,0x06,0x00,0x00,0x00,0x53,0x90,0x00,0x00,0x53,0x90,0xe3,0x53,0x00,0x00, 0x1e,0x6d,0x00,0x00,0x65,0x68,0x00,0x00,0x53,0x90,0x40,0x5c,0x00,0x00,0x53,0x90,0xe5,0x5d,0x00,0x00, 0x01,0x00,0x00,0x00,0xbf,0x53,0x00,0x00,0x07,0x00,0x00,0x00,0x5e,0x5c,0x00,0x00,0x66,0x4e,0x00,0x00, 0x52,0x53,0x00,0x00,0x53,0x4f,0x00,0x00,0x57,0x5b,0x00,0x00,0x23,0x57,0x00,0x00,0x09,0x57,0x00,0x00, 0x0a,0x00,0x00,0x00,0x38,0x6c,0x00,0x00,0xc0,0x79,0x00,0x00,0xed,0x8b,0x00,0x00,0xc1,0x54,0x00,0x00, 0x99,0x59,0x00,0x00,0xd4,0x62,0x00,0x00,0x5a,0x69,0x00,0x00,0x02,0x83,0x00,0x00,0x89,0x8a,0x00,0x00, 0x50,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x4e,0x00,0x00,0xa6,0x5e,0x00,0x00,0x53,0x90,0x00,0x00, 0x98,0x98,0x00,0x00,0x4d,0x51,0x00,0x00,0x97,0x5f,0x00,0x00,0x11,0x6c,0x00,0x00,0xd7,0x53,0x00,0x00, 0xc7,0x8f,0x00,0x00,0xb9,0x70,0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x5d,0x00,0x00,0x91,0x65,0x00,0x00, 0xc3,0x8d,0x00,0x00,0xe2,0x5d,0x96,0x54,0x61,0x55,0x00,0x00,0x1f,0x9e,0x00,0x00,0x62,0x5f,0xee,0x76, 0x00,0x00,0x3f,0x51,0x71,0x5c,0x00,0x00,0x70,0x9e,0x00,0x00,0x3f,0x51,0x00,0x00,0x50,0x5b,0x00,0x00, 0x0a,0x00,0x00,0x00,0x54,0x58,0x00,0x00,0x16,0x68,0x56,0x6e,0x00,0x00,0xf0,0x5c,0x00,0x00,0x54,0x58, 0x3a,0x53,0x00,0x00,0xc7,0x8f,0xd4,0x62,0xdb,0x6b,0x00,0x00,0x61,0x83,0x71,0x5c,0x00,0x00,0x16,0x68, 0x00,0x00,0xe9,0x6e,0x00,0x00,0xf0,0x5c,0x3a,0x53,0x00,0x00,0x35,0x96,0x00,0x00,0x0a,0x00,0x00,0x00, 0x9a,0x53,0x00,0x00,0x27,0x60,0x00,0x00,0xc3,0x5f,0x00,0x00,0xc3,0x5f,0xc3,0x52,0xc3,0x52,0x00,0x00, 0xc0,0x6f,0x20,0x7d,0x00,0x00,0x27,0x60,0xc0,0x6f,0x20,0x7d,0x00,0x00,0xce,0x98,0x00,0x00,0x1f,0x4f, 0x00,0x00,0x70,0x9e,0x00,0x00,0xee,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x86,0x00,0x00,0xf9,0x57, 0x00,0x00,0x89,0x5b,0x00,0x00,0x78,0x51,0x00,0x00,0xb3,0x82,0x00,0x00,0x08,0x62,0x14,0x5c,0x00,0x00, 0xa0,0x52,0xbe,0x8f,0x00,0x00,0xeb,0x58,0x29,0x52,0x00,0x00,0x45,0x5c,0x50,0x4e,0x00,0x00,0x1d,0x60, 0x00,0x00,0x0a,0x00,0x00,0x00,0xe2,0x56,0x00,0x00,0x2d,0x4e,0x00,0x00,0x53,0x4f,0x00,0x00,0x08,0x54, 0x00,0x00,0x44,0x8d,0x00,0x00,0x1a,0x4f,0x00,0x00,0x10,0x62,0x00,0x00,0xe2,0x56,0x6c,0x51,0xf8,0x53, 0x00,0x00,0x2d,0x4e,0xa6,0x5e,0x00,0x00,0xc5,0x88,0xb1,0x7b,0x00,0x00,0x0a,0x00,0x00,0x00,0x58,0x54, 0x00,0x00,0x63,0x4f,0x00,0x00,0x3b,0x4e,0x00,0x00,0x28,0x75,0x00,0x00,0xe5,0x5d,0x00,0x00,0xf6,0x51, 0x00,0x00,0x63,0x4f,0x75,0x51,0x00,0x00,0xf7,0x8b,0x00,0x00,0x63,0x4f,0x9b,0x51,0x00,0x00,0x2a,0x4e, 0x00,0x00,0x02,0x00,0x00,0x00,0x21,0x9e,0x00,0x00,0x1e,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0xc0,0x6f, 0x20,0x7d,0x00,0x00,0x27,0x60,0x00,0x00,0x27,0x60,0xc0,0x6f,0x20,0x7d,0x00,0x00,0x1f,0x9e,0x00,0x00, 0xc4,0x96,0x0c,0x54,0x53,0x4f,0x00,0x00,0x4a,0x85,0x00,0x00,0x20,0x9f,0x00,0x00,0x7c,0x9c,0x00,0x00, 0xc4,0x96,0x00,0x00,0xb1,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x63,0x6b,0x00,0x00,0x8c,0x54,0xab,0x5b, 0x00,0x00,0xb9,0x5b,0x00,0x00,0x84,0x6f,0x69,0x8f,0x00,0x00,0xb9,0x5b,0x4e,0x53,0x35,0x8d,0x00,0x00, 0xb9,0x5b,0x27,0x59,0xa6,0x5e,0x00,0x00,0x8c,0x54,0x00,0x00,0xcd,0x96,0x00,0x00,0x46,0x7a,0x00,0x00, 0x66,0x77,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x5f,0x00,0x00, 0x70,0x9e,0x00,0x00,0x21,0x9e,0x00,0x00,0xca,0x83,0x00,0x00,0x1f,0x9e,0x00,0x00,0x93,0x59,0x00,0x00, 0x8b,0x57,0x00,0x00,0x30,0x75,0x00,0x00,0x3f,0x51,0x00,0x00,0xd5,0x71,0x00,0x00,0x0a,0x00,0x00,0x00, 0x51,0x58,0x00,0x00,0x3b,0x52,0x00,0x00,0xcf,0x50,0x00,0x00,0x22,0x74,0x00,0x00,0x51,0x58,0xb6,0x5b, 0x00,0x00,0xb1,0x82,0x00,0x00,0xe5,0x5d,0x00,0x00,0x48,0x72,0x00,0x00,0xf6,0x4e,0x00,0x00,0x06,0x6f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x6c,0x00,0x00,0xcf,0x91,0x00,0x00,0xa6,0x6d,0x00,0x00,0x63,0x5b, 0x00,0x00,0x39,0x59,0xea,0x96,0x00,0x00,0x29,0x59,0x00,0x00,0x0e,0x54,0x25,0x66,0x0b,0x7b,0x00,0x00, 0x1e,0x4f,0x00,0x00,0xb9,0x70,0x00,0x00,0x97,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x76,0x00,0x00, 0x0a,0x4e,0xa0,0x52,0x1c,0x97,0x00,0x00,0x71,0x5c,0x00,0x00,0xb1,0x82,0x00,0x00,0xc1,0x94,0x99,0x9f, 0x00,0x00,0x85,0x68,0x00,0x00,0xd5,0x7c,0x00,0x00,0xf0,0x5c,0x00,0x00,0x29,0x5d,0x00,0x00,0x79,0x8c, 0x00,0x00,0x02,0x00,0x00,0x00,0xf0,0x96,0x00,0x00,0xf4,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0x2e,0x55, 0x00,0x00,0x2e,0x55,0x46,0x55,0x00,0x00,0xe8,0x90,0xf6,0x4e,0x00,0x00,0xdf,0x98,0x00,0x00,0x2e,0x55, 0xf7,0x4e,0x00,0x00,0x2e,0x55,0x1a,0x4e,0x00,0x00,0xf6,0x4e,0x00,0x00,0xf6,0x65,0x00,0x00,0x0b,0x4e, 0x00,0x00,0x2e,0x55,0x97,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0xbe,0x8f,0x00,0x00,0xeb,0x58,0x00,0x00, 0xe8,0x96,0x00,0x00,0x0b,0x95,0x00,0x00,0x35,0x75,0x00,0x00,0xfc,0x66,0x00,0x00,0xfa,0x8b,0x00,0x00, 0x0c,0x54,0x00,0x00,0xfb,0x51,0x00,0x00,0xba,0x4e,0x00,0x00,0x05,0x00,0x00,0x00,0x2a,0x6d,0x00,0x00, 0x7e,0x70,0x00,0x00,0x50,0x5b,0x00,0x00,0x57,0x57,0x00,0x00,0xb4,0x66,0x00,0x00,0x0a,0x00,0x00,0x00, 0x3e,0x97,0x00,0x00,0x14,0x6c,0x00,0x00,0xcc,0x91,0x0b,0x77,0xb1,0x82,0x00,0x00,0xc7,0x51,0x00,0x00, 0x16,0x53,0x00,0x00,0x6f,0x70,0x00,0x00,0x99,0x84,0x99,0x84,0x00,0x00,0x2d,0x97,0x00,0x00,0x01,0x95, 0x00,0x00,0x3a,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0x81,0x89,0x00,0x00,0x42,0x6c,0x00,0x00,0x42,0x6c, 0xcf,0x91,0x00,0x00,0x27,0x6c,0xcf,0x91,0x00,0x00,0x42,0x6c,0xb9,0x65,0x00,0x00,0x81,0x89,0xcf,0x91, 0x00,0x00,0x34,0x6c,0xcf,0x91,0x00,0x00,0xb9,0x65,0x00,0x00,0x42,0x6c,0x1f,0x61,0x00,0x00,0x42,0x6c, 0x05,0x80,0x00,0x00,0x04,0x00,0x00,0x00,0x91,0x4e,0xef,0x8d,0x00,0x00,0x49,0x6c,0x00,0x00,0xe4,0x58, 0x4b,0x4e,0x2b,0x52,0x00,0x00,0xe4,0x58,0x00,0x00,0x0a,0x00,0x00,0x00,0x61,0x83,0x00,0x00,0xca,0x60, 0x00,0x00,0xbc,0x64,0x00,0x00,0xa8,0x52,0x00,0x00,0x90,0x6e,0x00,0x00,0x2d,0x4e,0x00,0x00,0x1f,0x61, 0x00,0x00,0x51,0x61,0x00,0x00,0xa7,0x7e,0x00,0x00,0x0e,0x54,0x00,0x00,0x0a,0x00,0x00,0x00,0xcc,0x83, 0x00,0x00,0xd8,0x53,0x00,0x00,0x20,0x7d,0x00,0x00,0x73,0x54,0x00,0x00,0xcc,0x83,0xd2,0x6b,0x20,0x7d, 0x00,0x00,0xd0,0x8f,0x00,0x00,0x91,0x65,0x00,0x00,0xc2,0x70,0x00,0x00,0xc5,0x75,0x00,0x00,0x14,0x6c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x14,0x5c,0x28,0x67,0x79,0x51,0x00,0x00,0x4e,0x53, 0xb7,0x5f,0x00,0x00,0x2b,0x59,0xfc,0x66,0x00,0x00,0xf1,0x82,0x1c,0x4e,0x00,0x00,0xd1,0x91,0x00,0x00, 0xd4,0x6b,0x79,0x72,0xba,0x4e,0x00,0x00,0x4b,0x51,0x00,0x00,0x14,0x5c,0x9c,0x67,0xaf,0x65,0x00,0x00, 0xbb,0x53,0xc5,0x75,0x00,0x00,0x05,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0xf6,0x65,0xf4,0x95,0x00,0x00, 0xa3,0x90,0x00,0x00,0x3c,0x77,0x00,0x00,0x0e,0x97,0x00,0x00,0x03,0x00,0x00,0x00,0x0f,0x97,0x00,0x00, 0x1d,0x4e,0x73,0x4f,0x00,0x00,0xae,0x5f,0x00,0x00,0x07,0x00,0x00,0x00,0x79,0x86,0x00,0x00,0x79,0x86, 0x6f,0x70,0x00,0x00,0xf3,0x88,0x00,0x00,0x79,0x86,0xfd,0x56,0x00,0x00,0xa2,0x7e,0x6f,0x70,0x00,0x00, 0x6f,0x70,0x00,0x00,0xf3,0x88,0x8b,0x73,0xfd,0x56,0x00,0x00,0x0a,0x00,0x00,0x00,0xbb,0x51,0x00,0x00, 0x4d,0x96,0x00,0x00,0xb6,0x72,0x00,0x00,0xf6,0x53,0x00,0x00,0x29,0x59,0x00,0x00,0x32,0x97,0x00,0x00, 0x4e,0x53,0x00,0x00,0x1f,0x67,0x00,0x00,0x68,0x66,0x00,0x00,0xc7,0x6d,0xcb,0x6d,0x00,0x00,0x0a,0x00, 0x00,0x00,0xa2,0x5b,0x00,0x00,0x66,0x6d,0x00,0x00,0x49,0x51,0x00,0x00,0x66,0x6d,0xbf,0x53,0x00,0x00, 0x71,0x5c,0x00,0x00,0x1e,0x97,0x00,0x00,0x71,0x5c,0x3a,0x53,0x00,0x00,0x1a,0x59,0x3d,0x4e,0x00,0x00, 0x14,0x5e,0x00,0x00,0x91,0x4e,0xad,0x5c,0x61,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x97,0x00,0x00, 0x01,0x00,0x00,0x00,0xe8,0x96,0x00,0x00,0x03,0x00,0x00,0x00,0x4e,0x53,0x00,0x00,0x2d,0x97,0x00,0x00, 0xf4,0x6e,0x00,0x00,0x03,0x00,0x00,0x00,0x39,0x5f,0xaa,0x67,0x00,0x00,0x39,0x5f,0x00,0x00,0x92,0x7c, 0xbf,0x80,0x00,0x00,0x0a,0x00,0x00,0x00,0xfa,0x51,0x00,0x00,0x29,0x59,0x00,0x00,0x62,0x97,0x00,0x00, 0xe0,0x73,0x00,0x00,0x25,0x84,0x00,0x00,0xf0,0x53,0x00,0x00,0x32,0x97,0x00,0x00,0x38,0x81,0x00,0x00, 0xbf,0x5b,0x00,0x00,0xa8,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x8b,0x73,0x00,0x00,0x14,0x6c,0x00,0x00, 0x43,0x67,0x00,0x00,0x3b,0x4e,0x00,0x00,0x53,0x90,0x00,0x00,0x60,0x53,0x00,0x00,0x8b,0x73,0x99,0x9f, 0x00,0x00,0x43,0x67,0x3b,0x4e,0x49,0x4e,0x00,0x00,0xf1,0x83,0x00,0x00,0x8b,0x73,0x2b,0x52,0xec,0x59, 0x00,0x00,0x07,0x00,0x00,0x00,0xf3,0x96,0x00,0x00,0xf3,0x96,0xde,0x5d,0x00,0x00,0xf3,0x96,0x1e,0x82, 0x00,0x00,0xf7,0x96,0x00,0x00,0xf3,0x96,0x6a,0x55,0x66,0x55,0x00,0x00,0xde,0x5d,0x00,0x00,0xf3,0x96, 0x5e,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x29,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0x74,0x5e,0x00,0x00, 0x9b,0x5c,0x00,0x00,0x50,0x77,0x00,0x00,0x11,0x5c,0x74,0x5e,0x00,0x00,0x25,0x66,0x00,0x00,0x77,0x6d, 0x00,0x00,0x74,0x5e,0xa5,0x62,0x00,0x00,0x77,0x6d,0x01,0x77,0x00,0x00,0x9b,0x5c,0x02,0x5e,0x00,0x00, 0x25,0x66,0x1f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x3d,0x4e,0x00,0x00,0x64,0x6c,0x00,0x00,0xf7,0x53, 0x00,0x00,0x73,0x59,0x00,0x00,0x67,0x71,0x00,0x00,0x53,0x97,0x00,0x00,0xd4,0x4e,0x00,0x00,0x66,0x8f, 0x00,0x00,0xb9,0x59,0x00,0x00,0x86,0x59,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x5e,0x79,0x3e,0x79, 0x00,0x00,0xdc,0x8f,0x00,0x00,0x5f,0x6c,0x00,0x00,0xb9,0x8f,0xbf,0x53,0x00,0x00,0x87,0x5b,0x00,0x00, 0x5f,0x6c,0x02,0x5e,0x00,0x00,0xb9,0x8f,0x00,0x00,0x7f,0x89,0xbf,0x53,0x00,0x00,0xb7,0x5e,0x00,0x00, 0x89,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0x09,0x81,0x00,0x00,0x01,0x60,0x00,0x00,0x62,0x6b,0x00,0x00, 0x50,0x57,0x00,0x00,0x59,0x97,0x00,0x00,0x35,0x75,0x00,0x00,0x89,0x5b,0x3a,0x53,0x00,0x00,0x85,0x5f, 0x00,0x00,0x89,0x5b,0x00,0x00,0xc3,0x5f,0x00,0x00,0x08,0x00,0x00,0x00,0xdd,0x84,0x00,0x00,0x52,0x97, 0x00,0x00,0xdd,0x84,0x72,0x82,0x00,0x00,0x72,0x82,0x00,0x00,0x7d,0x76,0x00,0x00,0x34,0x6c,0x00,0x00, 0xb1,0x82,0x00,0x00,0xb9,0x6c,0x00,0x00,0x0a,0x00,0x00,0x00,0x38,0x5e,0x00,0x00,0xd5,0x6c,0x00,0x00, 0x32,0x6d,0x00,0x00,0x9c,0x51,0x00,0x00,0xe1,0x51,0x00,0x00,0x38,0x5e,0xc4,0x89,0x00,0x00,0xda,0x8b, 0xff,0x52,0x70,0x62,0x00,0x00,0x63,0x6b,0x0f,0x5f,0x00,0x00,0x06,0x74,0x27,0x60,0x00,0x00,0x46,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x31,0x8c,0x00,0x00,0xd1,0x8f,0x00,0x00,0xe2,0x62,0x00,0x00,0x0d,0x4e, 0x4f,0x4f,0x00,0x00,0xb8,0x5c,0x00,0x00,0x71,0x5c,0x00,0x00,0xb9,0x8f,0x00,0x00,0x97,0x5f,0x4f,0x4f, 0x00,0x00,0xcc,0x80,0x00,0x00,0xb9,0x8f,0xd9,0x7a,0x00,0x00,0x07,0x00,0x00,0x00,0x61,0x97,0x4b,0x4e, 0xf3,0x97,0x00,0x00,0x61,0x97,0x00,0x00,0x39,0x8d,0x00,0x00,0x3d,0x4e,0x00,0x00,0xc2,0x70,0x00,0x00, 0x36,0x71,0x00,0x00,0x09,0x67,0x51,0x5b,0x57,0x90,0x00,0x00,0x0a,0x00,0x00,0x00,0x34,0x4e,0x00,0x00, 0xef,0x79,0x00,0x00,0xf9,0x5b,0x00,0x00,0x4d,0x52,0x00,0x00,0x11,0x54,0x00,0x00,0x05,0x53,0x00,0x00, 0xd5,0x8b,0x00,0x00,0xe8,0x90,0x00,0x00,0x7f,0x67,0x00,0x00,0x3c,0x50,0x00,0x00,0x01,0x00,0x00,0x00, 0x46,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x7d,0x54,0x00,0x00,0xb0,0x65,0x00,0x00,0x7d,0x54,0x27,0x60, 0x00,0x00,0x7d,0x54,0x05,0x80,0x00,0x00,0x7d,0x54,0x5a,0x51,0x00,0x00,0x7d,0x54,0xb6,0x5b,0x00,0x00, 0x7d,0x54,0x9b,0x51,0x00,0x00,0x7d,0x54,0x5a,0x51,0xba,0x4e,0x00,0x00,0x64,0x96,0x00,0x00,0xd4,0x59, 0x1a,0x4f,0x00,0x00,0x02,0x00,0x00,0x00,0x09,0x4e,0x88,0x94,0x00,0x00,0x51,0x67,0x61,0x4e,0x00,0x00, 0x03,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xe4,0x88,0x00,0x00,0x96,0x63,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x3a,0x57,0x00,0x00,0x11,0x54,0x00,0x00,0x3a,0x67,0x00,0x00,0xc3,0x5f, 0x00,0x00,0x07,0x68,0x00,0x00,0xb9,0x70,0x00,0x00,0x39,0x5f,0x00,0x00,0x39,0x82,0x00,0x00,0xb8,0x7e, 0x00,0x00,0x01,0x00,0x00,0x00,0x8b,0x97,0x00,0x00,0x02,0x00,0x00,0x00,0x8c,0x63,0x00,0x00,0x5b,0x72, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x1a,0x4e,0x00,0x00,0x95,0x5e,0x00,0x00,0x3d,0x5e, 0x00,0x00,0xce,0x57,0x00,0x00,0x26,0x5e,0x00,0x00,0xab,0x57,0x00,0x00,0x01,0x4f,0x00,0x00,0x0d,0x67, 0x00,0x00,0xdf,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x94,0x00,0x00,0x71,0x5c,0x00,0x00,0x71,0x5c, 0x02,0x5e,0x00,0x00,0x6c,0x9a,0x00,0x00,0x4d,0x52,0x6c,0x9a,0x0e,0x54,0x00,0x00,0xa2,0x94,0xc6,0x96, 0xe2,0x56,0x6c,0x51,0xf8,0x53,0x00,0x00,0x50,0x5b,0x00,0x00,0xb9,0x70,0x00,0x00,0x71,0x5c,0x08,0x5e, 0x03,0x83,0x66,0x5b,0x62,0x96,0x00,0x00,0xaf,0x97,0x00,0x00,0x07,0x00,0x00,0x00,0x7c,0x97,0x00,0x00, 0x7c,0x97,0xaf,0x65,0x66,0x57,0x71,0x51,0x8c,0x54,0xfd,0x56,0x00,0x00,0x7c,0x97,0xaf,0x65,0x66,0x57, 0x00,0x00,0x50,0x5b,0x00,0x00,0x4f,0x86,0x00,0x00,0x7c,0x97,0xba,0x4e,0x00,0x00,0x7c,0x97,0x77,0x6d, 0xe1,0x5c,0x00,0x00,0x03,0x00,0x00,0x00,0xc5,0x7f,0xee,0x76,0x00,0x00,0xc5,0x7f,0x00,0x00,0x02,0x81, 0x00,0x00,0x01,0x00,0x00,0x00,0x8b,0x97,0x00,0x00,0x05,0x00,0x00,0x00,0xac,0x8e,0x00,0x00,0xac,0x8e, 0x3d,0x5c,0x01,0x76,0x00,0x00,0xac,0x8e,0x3c,0x79,0x00,0x00,0x7b,0x51,0x00,0x00,0xac,0x8e,0x3d,0x5c, 0x9b,0x52,0x00,0x00,0x05,0x00,0x00,0x00,0x78,0x91,0x00,0x00,0x36,0x52,0x00,0x00,0xb1,0x82,0x78,0x91, 0x00,0x00,0x28,0x8d,0x00,0x00,0x99,0x65,0x00,0x00,0x0a,0x00,0x00,0x00,0xae,0x70,0x00,0x00,0x56,0x7b, 0x00,0x00,0x50,0x5b,0x00,0x00,0x53,0x62,0x00,0x00,0xae,0x70,0xf0,0x58,0x00,0x00,0x11,0x52,0x00,0x00, 0x1e,0x63,0x00,0x00,0x7f,0x95,0xab,0x83,0xca,0x53,0x00,0x00,0x1e,0x7b,0x00,0x00,0xae,0x70,0x82,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x4f,0x00,0x00,0xd0,0x67,0x00,0x00,0xc9,0x62,0x4b,0x51,0x81,0x9c, 0xaf,0x65,0xde,0x5d,0x00,0x00,0xcc,0x91,0x59,0x5b,0x00,0x00,0xaf,0x65,0x79,0x72,0x47,0x95,0x00,0x00, 0xd1,0x79,0x02,0x5e,0x00,0x00,0xaf,0x65,0x7f,0x98,0x00,0x00,0x69,0x60,0xde,0x5d,0xcb,0x7a,0x27,0x59, 0x66,0x5b,0x00,0x00,0xc9,0x62,0x4b,0x51,0x81,0x9c,0xaf,0x65,0x00,0x00,0x6e,0x9a,0xe9,0x83,0x28,0x84, 0x00,0x00,0x08,0x00,0x00,0x00,0x26,0x5e,0x00,0x00,0x27,0x60,0x00,0x00,0xb2,0x52,0x00,0x00,0xa6,0x5e, 0x00,0x00,0xae,0x76,0xe8,0x90,0x00,0x00,0xb2,0x52,0x3f,0x51,0x00,0x00,0xae,0x76,0xa4,0x7e,0xf4,0x7e, 0x00,0x00,0x53,0x4f,0x00,0x00,0x0a,0x00,0x00,0x00,0xfd,0x56,0x00,0x00,0xb9,0x65,0x00,0x00,0x43,0x51, 0x00,0x00,0x9a,0x4e,0x2a,0x82,0x7a,0x7a,0x00,0x00,0x9b,0x51,0x00,0x00,0x67,0x52,0x00,0x00,0x0f,0x5f, 0x00,0x00,0x87,0x65,0x00,0x00,0xfb,0x7c,0x00,0x00,0x48,0x72,0x00,0x00,0x04,0x00,0x00,0x00,0x49,0x51, 0x7b,0x51,0x66,0x66,0x00,0x00,0x4b,0x59,0x00,0x00,0x65,0x75,0x00,0x00,0x66,0x66,0x00,0x00,0x04,0x00, 0x00,0x00,0xdc,0x83,0x00,0x00,0xc4,0x9e,0x00,0x00,0xdc,0x83,0xb1,0x82,0x00,0x00,0xdc,0x83,0xad,0x5c, 0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x4e,0x00,0x00,0x50,0x4e,0x1a,0x4f,0x00,0x00,0x91,0x98,0x00,0x00, 0xd1,0x8b,0x00,0x00,0xcd,0x54,0x00,0x00,0x50,0x4e,0x82,0x82,0x00,0x00,0xcf,0x50,0x00,0x00,0x50,0x4e, 0xba,0x4e,0x00,0x00,0x50,0x4e,0xb6,0x5b,0x00,0x00,0x50,0x4e,0x85,0x53,0x00,0x00,0x0a,0x00,0x00,0x00, 0xbe,0x8f,0x00,0x00,0x73,0x54,0x00,0x00,0x8b,0x5f,0x00,0x00,0xcd,0x6b,0x00,0x00,0xd7,0x8b,0x00,0x00, 0x87,0x65,0x00,0x00,0x1a,0x81,0x00,0x00,0x3e,0x5c,0x00,0x00,0x66,0x4e,0x00,0x00,0xf4,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0x73,0x51,0x00,0x00,0x73,0x51,0x02,0x5e,0x00,0x00,0x71,0x5c,0x00,0x00,0xa2,0x94, 0x00,0x00,0x4e,0x53,0x00,0x00,0x49,0x51,0x00,0x00,0xfd,0x80,0x00,0x00,0x71,0x5c,0x57,0x53,0xef,0x8d, 0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0x71,0x5c,0xef,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x62,0x97, 0x00,0x00,0xa9,0x5c,0x00,0x00,0x38,0x6e,0x00,0x00,0xa9,0x5c,0xb9,0x6c,0x00,0x00,0x70,0x65,0x00,0x00, 0x01,0x78,0x00,0x00,0xa9,0x5c,0x42,0x5c,0x00,0x00,0x1a,0x81,0x00,0x00,0xa9,0x5c,0x16,0x78,0x00,0x00, 0x46,0x68,0x00,0x00,0x0a,0x00,0x00,0x00,0xa7,0x7e,0x00,0x00,0x42,0x5c,0x00,0x00,0x16,0x5c,0x00,0x00, 0xe8,0x90,0x00,0x00,0xf0,0x5c,0x00,0x00,0x1a,0x59,0x00,0x00,0xef,0x7a,0x00,0x00,0x3c,0x79,0x00,0x00, 0xb9,0x70,0x00,0x00,0xce,0x98,0x00,0x00,0x05,0x00,0x00,0x00,0x3b,0x52,0xf4,0x95,0x00,0x00,0x3b,0x52, 0x00,0x00,0x4b,0x4e,0x00,0x00,0x05,0x80,0x00,0x00,0x45,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x76, 0x00,0x00,0xfe,0x94,0x00,0x00,0xee,0x76,0xe8,0x90,0x00,0x00,0xee,0x76,0xc4,0x7e,0x00,0x00,0xce,0x57, 0x02,0x5e,0x00,0x00,0xee,0x76,0xb9,0x65,0x00,0x00,0x08,0x57,0x00,0x00,0xce,0x57,0x00,0x00,0xee,0x76, 0x3a,0x53,0x00,0x00,0xee,0x76,0x93,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x29,0x52,0x00,0x00,0xbf,0x4f, 0x00,0x00,0xee,0x5d,0x00,0x00,0x8f,0x5e,0x00,0x00,0x45,0x75,0x00,0x00,0x94,0x5e,0x00,0x00,0x30,0x4e, 0x00,0x00,0xbf,0x52,0x00,0x00,0x40,0x77,0x00,0x00,0xb7,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xe5,0x77, 0x00,0x00,0x25,0x5f,0x71,0x5c,0x00,0x00,0xfe,0x81,0x00,0x00,0x81,0x89,0x00,0x00,0xd1,0x53,0x00,0x00, 0x25,0x5f,0x00,0x00,0xb8,0x9c,0x00,0x00,0x09,0x77,0x00,0x00,0x25,0x5f,0xa7,0x5e,0x00,0x00,0x39,0x68, 0x00,0x00,0x0a,0x00,0x00,0x00,0x3a,0x5f,0x00,0x00,0xbe,0x75,0x00,0x00,0xfa,0x56,0x00,0x00,0xae,0x76, 0x00,0x00,0xc7,0x75,0x00,0x00,0xe5,0x7a,0x00,0x00,0xf3,0x77,0x00,0x00,0xfa,0x56,0x27,0x60,0x00,0x00, 0x97,0x62,0x00,0x00,0xa3,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0xee,0x95,0x00,0x00,0xa2,0x5b,0x00,0x00, 0x51,0x86,0x00,0x00,0xca,0x53,0x00,0x00,0x0d,0x54,0x1d,0x60,0x49,0x4e,0x00,0x00,0xcc,0x5f,0x00,0x00, 0x0d,0x4e,0x0a,0x4e,0x00,0x00,0xb6,0x5b,0x00,0x00,0xee,0x95,0xe2,0x56,0x00,0x00,0x0d,0x4e,0x97,0x5f, 0x00,0x00,0x0a,0x00,0x00,0x00,0xf6,0x65,0x00,0x00,0x9f,0x60,0x00,0x00,0x7f,0x98,0x00,0x00,0x2b,0x63, 0x00,0x00,0x59,0x65,0x00,0x00,0x85,0x6d,0x28,0x83,0x4b,0x51,0x00,0x00,0x36,0x71,0x00,0x00,0xb3,0x6c, 0x00,0x00,0xf7,0x53,0x00,0x00,0xb3,0x8d,0x00,0x00,0x02,0x00,0x00,0x00,0x7f,0x95,0x00,0x00,0x1f,0x4f, 0x00,0x00,0x0a,0x00,0x00,0x00,0x03,0x5e,0x00,0x00,0xd1,0x53,0x00,0x00,0x56,0x59,0x00,0x00,0xc1,0x8b, 0x00,0x00,0xd9,0x7e,0x00,0x00,0x56,0x59,0x3c,0x79,0x00,0x00,0x4c,0x88,0x00,0x00,0x56,0x59,0xcd,0x8b, 0x00,0x00,0x88,0x63,0x00,0x00,0xfa,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x6c,0x62,0x00,0x00,0x4c,0x6b, 0x00,0x00,0xd0,0x63,0x00,0x00,0xcd,0x8b,0x00,0x00,0x1c,0x73,0x00,0x00,0x5e,0x8d,0x00,0x00,0x87,0x65, 0x00,0x00,0x28,0x84,0x00,0x00,0xb7,0x5f,0x00,0x00,0xd7,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x67, 0x00,0x00,0xa1,0x8b,0x00,0x00,0x4b,0x6d,0x00,0x00,0x97,0x7b,0x00,0x00,0x32,0x96,0x00,0x00,0x66,0x8b, 0x00,0x00,0x48,0x68,0x00,0x00,0xa2,0x8b,0x00,0x00,0xa6,0x7e,0x00,0x00,0xa5,0x62,0x00,0x00,0x07,0x00, 0x00,0x00,0xa8,0x9a,0x00,0x00,0x85,0x51,0x00,0x00,0x11,0x81,0x00,0x00,0x95,0x5e,0x00,0x00,0x54,0x81, 0x00,0x00,0x9c,0x98,0x00,0x00,0x4b,0x6d,0xcf,0x91,0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x57,0x00,0x00, 0xfc,0x5b,0x00,0x00,0xfc,0x5b,0xba,0x4e,0x00,0x00,0x48,0x51,0x00,0x00,0x1f,0x57,0x00,0x00,0x96,0x88, 0x00,0x00,0xd6,0x53,0x00,0x00,0xa8,0x6d,0x00,0x00,0xcc,0x8d,0x00,0x00,0x77,0x6d,0x00,0x00,0x06,0x00, 0x00,0x00,0x3a,0x4e,0x00,0x00,0x77,0x51,0xc4,0x89,0x21,0x6a,0x00,0x00,0x77,0x51,0x00,0x00,0x1f,0x61, 0x00,0x00,0x1a,0x59,0x00,0x00,0x77,0x51,0x20,0x53,0xc3,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xe8,0x90, 0x00,0x00,0x0e,0x69,0x00,0x00,0x0e,0x69,0xc5,0x75,0x00,0x00,0xbf,0x7e,0x00,0x00,0xa8,0x52,0x09,0x81, 0x00,0x00,0x79,0x98,0x00,0x00,0x16,0x81,0x00,0x00,0xb9,0x7e,0x00,0x00,0xcc,0x80,0x00,0x00,0x85,0x51, 0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x66,0x00,0x00,0x83,0x98,0x00,0x00,0x02,0x00,0x00,0x00,0xca,0x56, 0x00,0x00,0x9d,0x7a,0x00,0x00,0x03,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x62,0x97,0x00,0x00,0x0b,0x4e, 0x7a,0x81,0x00,0x00,0x08,0x00,0x00,0x00,0x0a,0x4e,0xbf,0x53,0x00,0x00,0xc9,0x6c,0x3a,0x53,0x00,0x00, 0x0a,0x4e,0x00,0x00,0xde,0x5d,0x3a,0x53,0x00,0x00,0xde,0x5d,0x00,0x00,0x1c,0x4e,0x3a,0x53,0x00,0x00, 0xc9,0x6c,0x00,0x00,0x1c,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x8c,0x54,0xed,0x56,0x00,0x00,0x8c,0x54, 0x00,0x00,0x7b,0x51,0x00,0x00,0x07,0x63,0x14,0x6c,0x7f,0x4f,0x00,0x00,0xd8,0x9a,0x00,0x00,0x24,0x58, 0x2f,0x6e,0x00,0x00,0x89,0x5b,0x00,0x00,0x2d,0x4e,0x00,0x00,0x74,0x5e,0x02,0x58,0x00,0x00,0xed,0x56, 0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x90,0x00,0x00,0x41,0x7e,0x00,0x00,0x87,0x73,0x00,0x00,0x91,0x98, 0x00,0x00,0xd1,0x53,0x00,0x00,0xb0,0x73,0x00,0x00,0xfa,0x51,0x00,0x00,0xb5,0x6b,0x00,0x00,0x21,0x6b, 0x00,0x00,0x31,0x8c,0x00,0x00,0x0a,0x00,0x00,0x00,0xbf,0x52,0x00,0x00,0x9f,0x5e,0x00,0x00,0x25,0x8d, 0x00,0x00,0x27,0x4e,0x00,0x00,0x36,0x71,0x00,0x00,0x61,0x97,0x00,0x00,0x10,0x55,0x00,0x00,0xce,0x98, 0x00,0x00,0x2e,0x57,0x00,0x00,0x9f,0x5e,0x3e,0x6d,0x00,0x00,0x06,0x00,0x00,0x00,0x0b,0x4e,0x00,0x00, 0x54,0x80,0x00,0x00,0x96,0x99,0xae,0x5f,0x11,0x7b,0x00,0x00,0x96,0x99,0x00,0x00,0x0b,0x4e,0x7a,0x81, 0x00,0x00,0x96,0x99,0x4b,0x4e,0xa4,0x4e,0x00,0x00,0x07,0x00,0x00,0x00,0x67,0x61,0x00,0x00,0x3f,0x51, 0x00,0x00,0x9f,0x60,0x00,0x00,0x02,0x5f,0x00,0x00,0x0a,0x4e,0xbf,0x53,0x00,0x00,0x9c,0x67,0x00,0x00, 0xb9,0x59,0x00,0x00,0x06,0x00,0x00,0x00,0x92,0x7c,0x00,0x00,0x92,0x7c,0x69,0x72,0x00,0x00,0x92,0x7c, 0xb6,0x72,0x00,0x00,0x92,0x7c,0x42,0x52,0x00,0x00,0x97,0x98,0x00,0x00,0x92,0x7c,0x1f,0x61,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x67,0x00,0x00,0xee,0x76,0x00,0x00,0x50,0x67,0xa1,0x80,0x00,0x00,0xcd,0x8b, 0x00,0x00,0x8b,0x57,0x00,0x00,0x93,0x5e,0x00,0x00,0x57,0x5b,0x00,0x00,0x99,0x51,0x00,0x00,0xcb,0x8d, 0x00,0x00,0xb0,0x8b,0x00,0x00,0x03,0x00,0x00,0x00,0xe8,0x90,0x00,0x00,0xc2,0x88,0x00,0x00,0x88,0x9f, 0xf3,0x97,0x00,0x00,0x03,0x00,0x00,0x00,0x7c,0x98,0x00,0x00,0x59,0x5b,0x00,0x00,0xfe,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0x72,0x82,0x00,0x00,0x99,0x65,0x00,0x00,0x62,0x97,0x00,0x00,0x62,0x97,0x6b,0x62, 0x30,0x57,0x00,0x00,0x04,0x5c,0x00,0x00,0x1f,0x77,0x7f,0x53,0x00,0x00,0xa7,0x63,0x00,0x00,0x0a,0x6e, 0x00,0x00,0x53,0x4f,0x00,0x00,0xb9,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xa6,0x5e,0x00,0x00,0x16,0x59, 0x00,0x00,0x34,0x59,0x00,0x00,0x9a,0x5b,0x00,0x00,0x4e,0x6d,0xb3,0x7e,0x00,0x00,0x4e,0x6d,0xb3,0x7e, 0xd7,0x65,0x00,0x00,0xe8,0x90,0x00,0x00,0x14,0x5c,0xe4,0x53,0xb3,0x7e,0x00,0x00,0x4f,0x65,0xbf,0x53, 0x00,0x00,0x4f,0x65,0x00,0x00,0x04,0x00,0x00,0x00,0xf6,0x53,0x00,0x00,0xa8,0x9a,0x00,0x00,0xa5,0x98, 0x00,0x00,0x09,0x4e,0x88,0x94,0x00,0x00,0x01,0x00,0x00,0x00,0x78,0x98,0x00,0x00,0x0a,0x00,0x00,0x00, 0x86,0x89,0x00,0x00,0x12,0x50,0x00,0x00,0x38,0x7c,0x00,0x00,0x86,0x89,0x27,0x60,0x00,0x00,0x12,0x50, 0xd1,0x9e,0x7d,0x76,0x00,0x00,0x9b,0x6c,0x41,0x6d,0xbb,0x79,0x00,0x00,0x86,0x89,0x0f,0x5f,0x00,0x00, 0x86,0x89,0x05,0x80,0x00,0x00,0xa0,0x98,0x00,0x00,0x51,0x62,0x0d,0x4e,0x34,0x78,0x00,0x00,0x0a,0x00, 0x00,0x00,0x96,0x62,0x00,0x00,0xa8,0x52,0x00,0x00,0xf3,0x97,0x00,0x00,0x17,0x68,0x00,0x00,0xa4,0x98, 0xcd,0x5d,0xcd,0x5d,0x00,0x00,0xcd,0x5d,0xcd,0x5d,0x00,0x00,0xa4,0x98,0x00,0x00,0xa0,0x60,0xa0,0x60, 0x00,0x00,0x96,0x62,0x0d,0x4e,0xf2,0x5d,0x00,0x00,0xae,0x5f,0xae,0x5f,0x00,0x00,0x02,0x00,0x00,0x00, 0x59,0x8e,0x00,0x00,0x09,0x77,0x00,0x00,0x02,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x13,0x5f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x69,0x96,0x00,0x00,0x3c,0x68,0x00,0x00,0xb4,0x66,0x00,0x00,0x35,0x75,0x00,0x00, 0xe2,0x6c,0x00,0x00,0x6f,0x66,0x00,0x00,0x49,0x51,0x00,0x00,0x9b,0x52,0x00,0x00,0x95,0x62,0x00,0x00, 0xc5,0x60,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x98,0x00,0x00,0x04,0x00,0x00,0x00,0xd2,0x98,0x00,0x00, 0x3d,0x72,0x00,0x00,0x3d,0x72,0xf1,0x82,0xff,0x59,0x00,0x00,0x36,0x71,0x00,0x00,0x01,0x00,0x00,0x00, 0xce,0x98,0x00,0x00,0x01,0x00,0x00,0x00,0xd5,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0xd8,0x98,0x00,0x00, 0x6c,0x62,0x00,0x00,0x38,0x90,0x00,0x00,0x97,0x7a,0x00,0x00,0x61,0x83,0x00,0x00,0x3d,0x84,0x00,0x00, 0x6e,0x6d,0x00,0x00,0x63,0x65,0x00,0x00,0x3a,0x6e,0x00,0x00,0xfd,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x47,0x53,0x00,0x00,0x66,0x8f,0x00,0x00,0xa8,0x6d,0x00,0x00,0xd8,0x9a,0x00,0x00,0x66,0x8f,0x48,0x68, 0x00,0x00,0xea,0x6c,0x00,0x00,0x30,0x52,0x00,0x00,0x66,0x8f,0xcf,0x65,0x00,0x00,0xd8,0x9a,0xf3,0x97, 0x00,0x00,0xce,0x98,0x00,0x00,0x02,0x00,0x00,0x00,0x47,0x53,0x00,0x00,0x66,0x8f,0x00,0x00,0x0a,0x00, 0x00,0x00,0x3a,0x67,0x00,0x00,0x4c,0x88,0x00,0x00,0x4c,0x88,0x58,0x54,0x00,0x00,0x39,0x82,0x00,0x00, 0x80,0x5f,0x00,0x00,0x29,0x59,0x00,0x00,0x4c,0x88,0x68,0x56,0x00,0x00,0x1f,0x90,0x00,0x00,0xd4,0x7f, 0x00,0x00,0x29,0x52,0x66,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x54,0x00,0x00,0x69,0x72,0x00,0x00, 0x28,0x75,0x00,0x00,0x02,0x58,0x00,0x00,0x28,0x75,0xb9,0x6c,0x00,0x00,0x97,0x75,0x00,0x00,0x32,0x6b, 0x00,0x00,0x50,0x67,0x00,0x00,0xd0,0x76,0x00,0x00,0x31,0x8c,0x00,0x00,0x04,0x00,0x00,0x00,0xb4,0x5b, 0x00,0x00,0xa2,0x5b,0x00,0x00,0xe5,0x4e,0xed,0x95,0xe8,0x95,0xb9,0x7f,0x00,0x00,0x6e,0x99,0x00,0x00, 0x01,0x00,0x00,0x00,0xb3,0x8d,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x99,0x00,0x00,0x85,0x53,0x00,0x00, 0x86,0x99,0x00,0x00,0x77,0x51,0x00,0x00,0x4c,0x68,0x00,0x00,0x6e,0x99,0x1a,0x4e,0x00,0x00,0xa8,0x53, 0x00,0x00,0xd2,0x76,0x00,0x00,0x39,0x8d,0x00,0x00,0xfe,0x5d,0xb8,0x7e,0x00,0x00,0x04,0x00,0x00,0x00, 0xdf,0x98,0x00,0x00,0x76,0x59,0x00,0x00,0x71,0x99,0x00,0x00,0x7b,0x51,0x00,0x00,0x03,0x00,0x00,0x00, 0xe7,0x98,0x00,0x00,0xe7,0x98,0x0d,0x4e,0xe7,0x7e,0x00,0x00,0x69,0x99,0x00,0x00,0x05,0x00,0x00,0x00, 0x2e,0x99,0x00,0x00,0x2e,0x99,0xb9,0x7e,0x00,0x00,0x2e,0x99,0x27,0x59,0x10,0x99,0x00,0x00,0xa2,0x5b, 0x00,0x00,0x2e,0x99,0x4b,0x4e,0x92,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x7f,0x99,0x00,0x00,0x34,0x6e, 0x00,0x00,0x52,0x83,0x00,0x00,0x7f,0x99,0x1f,0x61,0x00,0x00,0xa0,0x80,0x98,0x8f,0x98,0x8f,0x00,0x00, 0x0d,0x4e,0xe9,0x62,0xdf,0x98,0x00,0x00,0x11,0x6c,0x00,0x00,0x91,0x99,0x00,0x00,0x34,0x6e,0xc7,0x75, 0x00,0x00,0xd2,0x5b,0xa4,0x4e,0xeb,0x8f,0x00,0x00,0x01,0x00,0x00,0x00,0xd6,0x7c,0x00,0x00,0x01,0x00, 0x00,0x00,0x18,0x75,0x0d,0x99,0xa5,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xe4,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x97,0x5e,0x00,0x00,0x0e,0x54,0x00,0x00,0xdc,0x83,0x00,0x00,0x97,0x78,0x00,0x00,0x86,0x99, 0x00,0x00,0x4d,0x52,0x00,0x00,0x4c,0x68,0x00,0x00,0xd2,0x76,0x00,0x00,0x40,0x5c,0x00,0x00,0xcf,0x91, 0x00,0x00,0x0a,0x00,0x00,0x00,0xdf,0x98,0x00,0x00,0x99,0x65,0x00,0x00,0x28,0x75,0x00,0x00,0x28,0x75, 0x34,0x6c,0x00,0x00,0x52,0x91,0x00,0x00,0x34,0x6c,0x00,0x00,0xc1,0x54,0x00,0x00,0x47,0x72,0x00,0x00, 0x34,0x6c,0x3a,0x67,0x00,0x00,0x36,0x83,0x00,0x00,0x02,0x00,0x00,0x00,0x4c,0x88,0x00,0x00,0x2b,0x52, 0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x54,0x00,0x00,0x14,0x6f,0x00,0x00,0x69,0x72,0x00,0x00,0xd1,0x91, 0x00,0x00,0xf6,0x4e,0x00,0x00,0x14,0x6f,0x05,0x80,0x00,0x00,0xb9,0x8f,0x00,0x00,0xcd,0x8b,0x00,0x00, 0xc1,0x54,0x97,0x5e,0x00,0x00,0x26,0x5e,0x00,0x00,0x0a,0x00,0x00,0x00,0x8c,0x54,0x00,0x00,0xd7,0x53, 0x00,0x00,0xe1,0x6e,0x00,0x00,0x8c,0x54,0x02,0x81,0xaa,0x80,0x00,0x00,0x79,0x81,0x1f,0x61,0x00,0x00, 0x2b,0x54,0x00,0x00,0x8c,0x54,0x02,0x81,0xaa,0x80,0x78,0x91,0x00,0x00,0x8c,0x54,0xa6,0x5e,0x00,0x00, 0x10,0x99,0x00,0x00,0x79,0x81,0x00,0x00,0x0a,0x00,0x00,0x00,0x99,0x65,0x00,0x00,0x7b,0x51,0x00,0x00, 0x7b,0x51,0x58,0x54,0x00,0x00,0x99,0x65,0x82,0x53,0x00,0x00,0x82,0x55,0x00,0x00,0x7b,0x51,0x3a,0x57, 0x00,0x00,0x49,0x83,0x99,0x65,0x00,0x00,0x3b,0x4e,0x00,0x00,0x49,0x83,0x00,0x00,0x99,0x65,0xb9,0x6c, 0x00,0x00,0x01,0x00,0x00,0x00,0xd6,0x7c,0x00,0x00,0x06,0x00,0x00,0x00,0x99,0x65,0x00,0x00,0xf1,0x8b, 0x00,0x00,0xf7,0x96,0x00,0x00,0x50,0x5b,0x00,0x00,0x4c,0x65,0x00,0x00,0xbf,0x7e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x55,0x60,0x00,0x00,0xca,0x76,0x00,0x00,0x09,0x67,0x00,0x00,0x0c,0x82,0x00,0x00,0x09,0x67, 0x74,0x51,0xf4,0x81,0x00,0x00,0x09,0x67,0x74,0x51,0xa3,0x8d,0x00,0x00,0x73,0x5e,0x00,0x00,0x31,0x6f, 0xf3,0x77,0x00,0x00,0x6c,0x51,0x00,0x00,0x7d,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0xf6,0x94,0x00,0x00, 0x01,0x00,0x00,0x00,0x79,0x99,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x5b,0xae,0x76, 0x00,0x00,0x50,0x5b,0x86,0x99,0x00,0x00,0x75,0x99,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x5e,0x00,0x00, 0x50,0x5b,0x00,0x00,0x4b,0x5c,0x00,0x00,0xb6,0x5b,0x00,0x00,0xdb,0x94,0x00,0x00,0xae,0x76,0x00,0x00, 0x7c,0x99,0x00,0x00,0xb6,0x72,0xfe,0x56,0x00,0x00,0x72,0x5e,0x76,0x68,0x00,0x00,0x38,0x52,0x00,0x00, 0x01,0x00,0x00,0x00,0x7d,0x99,0x00,0x00,0x02,0x00,0x00,0x00,0x64,0x99,0x00,0x00,0x48,0x72,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3c,0x9b,0x00,0x00,0x7b,0x6b,0x00,0x00,0x8d,0x6b,0x00,0x00,0x6d,0x99,0x00,0x00, 0x8d,0x6b,0x4d,0x90,0xce,0x91,0x00,0x00,0x4e,0x86,0x51,0x62,0xdf,0x98,0x00,0x00,0xa9,0x83,0x00,0x00, 0xa9,0x83,0x4d,0x90,0xce,0x91,0x00,0x00,0x8d,0x6b,0x7d,0x8f,0x53,0x90,0x00,0x00,0xa9,0x83,0x7d,0x8f, 0x53,0x90,0x00,0x00,0x01,0x00,0x00,0x00,0x85,0x99,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x02,0x00,0x00,0x00,0x68,0x99,0x00,0x00,0x96,0x70,0x00,0x00,0x05,0x00,0x00,0x00,0x7c,0x99,0x00,0x00, 0x99,0x65,0x00,0x00,0x3f,0x51,0x00,0x00,0x3f,0x51,0x7c,0x99,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x7f,0x95,0x00,0x00,0xcf,0x85,0x00,0x00,0x85,0x51,0x00,0x00,0x50,0x5b,0x00,0x00,0x58,0x54, 0x00,0x00,0xcc,0x91,0x00,0x00,0x0d,0x82,0x00,0x00,0xb9,0x65,0x00,0x00,0x76,0x96,0xbf,0x53,0x00,0x00, 0x3b,0x4e,0x00,0x00,0x04,0x00,0x00,0x00,0x60,0x8d,0x00,0x00,0x01,0x90,0x00,0x00,0xbf,0x7e,0x00,0x00, 0x60,0x8d,0xc1,0x54,0x00,0x00,0x02,0x00,0x00,0x00,0x3b,0x4e,0x0f,0x61,0x00,0x00,0xed,0x81,0x00,0x00, 0x0a,0x00,0x00,0x00,0x34,0x56,0x00,0x00,0x6b,0x86,0x00,0x00,0x2b,0x73,0x00,0x00,0x8e,0x6d,0x32,0x6b, 0xf4,0x6e,0x00,0x00,0x34,0x56,0xd9,0x86,0x00,0x00,0x3c,0x9b,0x00,0x00,0xe8,0x75,0x00,0x00,0x00,0x8a, 0x00,0x00,0xba,0x4e,0x00,0x00,0x8e,0x6d,0x32,0x6b,0x82,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0x8d,0x99, 0x00,0x00,0x01,0x00,0x00,0x00,0x06,0x52,0x00,0x00,0x06,0x00,0x00,0x00,0x34,0x59,0x00,0x00,0x34,0x59, 0x96,0x59,0x00,0x00,0x34,0x59,0x51,0x7f,0x00,0x00,0x34,0x59,0x61,0x53,0x00,0x00,0x34,0x59,0x25,0x84, 0x61,0x4e,0x00,0x00,0x96,0x99,0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x03,0x00,0x00,0x00, 0xe0,0x7c,0x00,0x00,0xd3,0x55,0x00,0x00,0xdf,0x7c,0x00,0x00,0x0a,0x00,0x00,0x00,0x48,0x51,0x00,0x00, 0x2d,0x5e,0x00,0x00,0xfd,0x90,0x00,0x00,0xf8,0x76,0x00,0x00,0xe5,0x65,0x00,0x00,0x81,0x89,0x00,0x00, 0x09,0x90,0x00,0x00,0xd1,0x53,0x00,0x00,0x14,0x5c,0x00,0x00,0xd8,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x2f,0x6e,0x00,0x00,0x49,0x85,0x00,0x00,0xdf,0x70,0x00,0x00,0x73,0x54,0x00,0x00,0x34,0x6c,0x00,0x00, 0xbe,0x7c,0x00,0x00,0x99,0x65,0x00,0x00,0xc7,0x83,0x00,0x00,0x3c,0x68,0xcc,0x91,0xc9,0x62,0x00,0x00, 0x14,0x6c,0x00,0x00,0x02,0x00,0x00,0x00,0xc1,0x90,0x00,0x00,0xa5,0x99,0x00,0x00,0x06,0x00,0x00,0x00, 0xd1,0x82,0x00,0x00,0x99,0x99,0x00,0x00,0xed,0x56,0x00,0x00,0x2b,0x6f,0xed,0x56,0x00,0x00,0xa8,0x99, 0x00,0x00,0x57,0x84,0x00,0x00,0x0a,0x00,0x00,0x00,0x0a,0x4e,0x00,0x00,0x65,0x67,0x7f,0x89,0x9a,0x4e, 0x00,0x00,0xef,0x8d,0x00,0x00,0x4b,0x51,0x00,0x00,0xcc,0x91,0x00,0x00,0x32,0x75,0x00,0x00,0x01,0x4e, 0x00,0x00,0xf1,0x82,0x5d,0x4e,0x00,0x00,0x66,0x8f,0x00,0x00,0x3c,0x5c,0xc9,0x62,0x00,0x00,0x03,0x00, 0x00,0x00,0x4b,0x62,0x00,0x00,0x14,0x6c,0x00,0x00,0x7d,0x51,0x2f,0x67,0x00,0x00,0x0a,0x00,0x00,0x00, 0xd0,0x8f,0x00,0x00,0x6c,0x9a,0x00,0x00,0x5c,0x75,0x00,0x00,0xa1,0x9a,0x00,0x00,0x7d,0x51,0x00,0x00, 0x7f,0x8f,0x00,0x00,0x50,0x5b,0x00,0x00,0x50,0x7b,0x00,0x00,0xee,0x7b,0x71,0x5c,0x00,0x00,0xd3,0x7b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x16,0x53,0x00,0x00,0x0d,0x67,0x00,0x00,0x7b,0x51,0x00,0x00,0x7f,0x9e, 0x00,0x00,0x7b,0x51,0x41,0x7e,0x96,0x6b,0x00,0x00,0x6c,0x9a,0x00,0x00,0x7d,0x51,0x08,0x5e,0x00,0x00, 0x7d,0x51,0x00,0x00,0x6f,0x82,0x00,0x00,0x7a,0x98,0x00,0x00,0x0a,0x00,0x00,0x00,0x0d,0x54,0x00,0x00, 0x8b,0x9a,0x00,0x00,0xf4,0x63,0x00,0x00,0xf0,0x7f,0x00,0x00,0x0d,0x54,0x2d,0x4e,0x16,0x59,0x00,0x00, 0x89,0x8a,0x00,0x00,0x53,0x90,0x00,0x00,0xa4,0x9a,0x00,0x00,0x71,0x9a,0x00,0x00,0x35,0x75,0x00,0x00, 0x0a,0x00,0x00,0x00,0xa8,0x52,0x00,0x00,0x10,0x90,0x30,0x82,0x00,0x00,0x10,0x90,0x00,0x00,0x7f,0x4f, 0x00,0x00,0x66,0x8f,0x00,0x00,0xa8,0x52,0x9b,0x52,0x00,0x00,0x63,0x65,0x00,0x00,0x76,0x8d,0x00,0x00, 0x8a,0x86,0x00,0x00,0xa8,0x52,0x8b,0x57,0x00,0x00,0x0a,0x00,0x00,0x00,0xde,0x56,0x00,0x00,0xa5,0x65, 0x00,0x00,0x39,0x82,0x00,0x00,0x12,0x50,0x00,0x00,0x42,0x67,0x00,0x00,0xb8,0x5c,0x00,0x00,0xd0,0x8f, 0x00,0x00,0xf3,0x58,0xaa,0x67,0x00,0x00,0xbe,0x96,0x00,0x00,0xae,0x8b,0x00,0x00,0x0a,0x00,0x00,0x00, 0xcb,0x53,0x00,0x00,0x89,0x80,0x00,0x00,0xae,0x76,0x00,0x00,0x50,0x5b,0x00,0x00,0x61,0x8c,0x00,0x00, 0x4c,0x88,0x00,0x00,0x53,0x62,0xda,0x6e,0x00,0x00,0xc4,0x8b,0x51,0x7f,0x00,0x00,0x07,0x55,0x0d,0x4e, 0xf9,0x5b,0x6c,0x9a,0x34,0x56,0x00,0x00,0xa1,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0xa9,0x4f,0x00,0x00, 0x0a,0x00,0x00,0x00,0x65,0x51,0x00,0x00,0xc7,0x8f,0x00,0x00,0xbb,0x53,0x00,0x00,0x65,0x67,0x00,0x00, 0xbb,0x79,0x00,0x00,0xfa,0x51,0x00,0x00,0xcf,0x7e,0x00,0x00,0xdb,0x8f,0x00,0x00,0x11,0x54,0x00,0x00, 0x80,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0x6c,0x9a,0x00,0x00,0x6c,0x9a,0x65,0x68,0x00,0x00,0x03,0x00, 0x00,0x00,0x6c,0x9a,0x00,0x00,0x6c,0x9a,0x37,0x72,0x00,0x00,0x6c,0x9a,0xf7,0x5d,0x00,0x00,0x01,0x00, 0x00,0x00,0x50,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x5e,0x86,0x00,0x00,0xce,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x4e,0x53,0x00,0x00,0x4e,0x62,0x00,0x00,0x9b,0x51,0x00,0x00,0x30,0x57,0x00,0x00,0x16,0x59, 0x00,0x00,0xb3,0x8d,0x00,0x00,0x88,0x5b,0x00,0x00,0xac,0x4e,0x9e,0x52,0x00,0x00,0x6c,0x9a,0x97,0x5e, 0x00,0x00,0x59,0x75,0x00,0x00,0x0a,0x00,0x00,0x00,0xcc,0x80,0x00,0x00,0xf0,0x5c,0x00,0x00,0x7f,0x9e, 0x00,0x00,0xc3,0x94,0x00,0x00,0x72,0x82,0x00,0x00,0x1f,0x9e,0x00,0x00,0x1f,0x96,0x00,0x00,0xd2,0x7e, 0x00,0x00,0x50,0x5b,0x00,0x00,0x76,0x59,0x00,0x00,0x04,0x00,0x00,0x00,0x6c,0x9a,0x00,0x00,0x9d,0x94, 0x00,0x00,0x6c,0x9a,0x4b,0x60,0x08,0x68,0x00,0x00,0x6c,0x9a,0x4b,0x60,0x08,0x68,0x46,0x8c,0x00,0x00, 0x0a,0x00,0x00,0x00,0x76,0x9a,0x00,0x00,0x76,0x9a,0x58,0x54,0x00,0x00,0x66,0x8f,0x00,0x00,0x67,0x71, 0x00,0x00,0x76,0x9a,0xc1,0x8b,0x00,0x00,0x21,0x68,0x00,0x00,0x76,0x9a,0xba,0x4e,0x00,0x00,0x76,0x9a, 0xa4,0x5b,0x00,0x00,0x6d,0x9a,0x00,0x00,0x76,0x9a,0x31,0x82,0x00,0x00,0x07,0x00,0x00,0x00,0xd9,0x7a, 0x00,0x00,0x6c,0x9a,0x00,0x00,0xce,0x57,0x3a,0x53,0x00,0x00,0x53,0x90,0x00,0x00,0xa8,0x52,0x00,0x00, 0xce,0x57,0x00,0x00,0x20,0x4f,0x00,0x00,0x04,0x00,0x00,0x00,0xc7,0x52,0x00,0x00,0xc7,0x52,0x84,0x55, 0x18,0x62,0x00,0x00,0x91,0x9a,0x00,0x00,0x06,0x5c,0x00,0x00,0x0a,0x00,0x00,0x00,0xf0,0x58,0x00,0x00, 0x0d,0x54,0x00,0x00,0x18,0x5a,0x00,0x00,0x82,0x9a,0xa7,0x54,0xa7,0x54,0x00,0x00,0x57,0x88,0x00,0x00, 0x0d,0x4e,0xd8,0x8f,0xe3,0x53,0x00,0x00,0x82,0x9a,0x00,0x00,0xba,0x4e,0x00,0x00,0xb6,0x67,0x00,0x00, 0x27,0x59,0x57,0x88,0x00,0x00,0x0a,0x00,0x00,0x00,0xb2,0x50,0x00,0x00,0xba,0x4e,0x00,0x00,0x33,0x96, 0x00,0x00,0x62,0x61,0x00,0x00,0x50,0x5b,0x00,0x00,0x2a,0x6a,0x00,0x00,0x33,0x96,0x3c,0x4f,0x6b,0x70, 0x00,0x00,0xb2,0x50,0xea,0x81,0xe1,0x6e,0x00,0x00,0xb5,0x7e,0x00,0x00,0x62,0x59,0xeb,0x6d,0x38,0x90, 0x00,0x00,0x0a,0x00,0x00,0x00,0x7c,0x9a,0x00,0x00,0x6c,0x9a,0x56,0x6e,0x00,0x00,0x7c,0x9a,0x65,0x79, 0x50,0x5b,0x00,0x00,0x7c,0x9a,0x7e,0x6e,0x51,0x67,0x00,0x00,0x7c,0x9a,0x49,0x83,0x00,0x00,0x7c,0x9a, 0x89,0x80,0x00,0x00,0x7c,0x9a,0x4c,0x72,0x00,0x00,0xbe,0x5b,0x8b,0x73,0x00,0x00,0x7c,0x9a,0x47,0x95, 0x00,0x00,0x6c,0x9a,0x00,0x00,0x08,0x00,0x00,0x00,0xba,0x4e,0x2c,0x54,0xfb,0x95,0x00,0x00,0xba,0x4e, 0x00,0x00,0xa2,0x5b,0x00,0x00,0x36,0x71,0x00,0x00,0x6a,0x6d,0x00,0x00,0x02,0x5f,0x00,0x00,0x15,0x60, 0x00,0x00,0x2a,0x60,0x00,0x00,0x07,0x00,0x00,0x00,0x87,0x65,0x00,0x00,0x53,0x4f,0x00,0x00,0x17,0x96, 0x00,0x00,0xea,0x4f,0x00,0x00,0xc1,0x80,0x00,0x00,0xa9,0x80,0x00,0x00,0x76,0x50,0x87,0x65,0xce,0x98, 0x00,0x00,0x06,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x01,0x5a,0x00,0x00,0x6c,0x97,0x00,0x00,0x4c,0x6b, 0x00,0x00,0xc4,0x9e,0x5d,0x72,0x61,0x72,0x00,0x00,0xec,0x59,0x4b,0x4e,0x71,0x4e,0x00,0x00,0x02,0x00, 0x00,0x00,0x00,0x60,0x00,0x00,0xee,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0xc1,0x8b,0x00,0x00,0x36,0x65, 0x00,0x00,0x27,0x8d,0x00,0x00,0xc1,0x8b,0x01,0x78,0x00,0x00,0x44,0x8d,0x00,0x00,0x38,0x5c,0x00,0x00, 0xc6,0x89,0x00,0x00,0x9e,0x94,0x3a,0x67,0x00,0x00,0x38,0x5c,0x98,0x5b,0x00,0x00,0x49,0x51,0x00,0x00, 0x04,0x00,0x00,0x00,0x6c,0x9a,0x00,0x00,0x6a,0x8c,0x00,0x00,0x1a,0x4e,0x00,0x00,0xce,0x91,0x00,0x00, 0x02,0x00,0x00,0x00,0xbe,0x8f,0x00,0x00,0x9f,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0xeb,0x58,0x00,0x00, 0x66,0x8f,0x00,0x00,0x4c,0x88,0x00,0x00,0x75,0x51,0x00,0x00,0x6c,0x9a,0x00,0x00,0x66,0x8b,0x00,0x00, 0x6c,0x9a,0x1e,0x82,0x00,0x00,0x66,0x8f,0xba,0x4e,0x00,0x00,0x7c,0x69,0x00,0x00,0x4e,0x86,0xbe,0x96, 0x0b,0x4e,0x00,0x00,0x01,0x00,0x00,0x00,0x6c,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0xa6,0x9a,0x00,0x00, 0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xd6,0x53,0x00,0x00,0x40,0x5c,0x00,0x00,0xba,0x4e,0x00,0x00, 0x2f,0x67,0x00,0x00,0x65,0x88,0x00,0x00,0x37,0x8d,0x00,0x00,0x2d,0x8d,0x00,0x00,0x0e,0x7a,0x00,0x00, 0x72,0x82,0x00,0x00,0x0a,0x00,0x00,0x00,0x71,0x4e,0x00,0x00,0x70,0x62,0x00,0x00,0x74,0x5e,0x00,0x00, 0xa8,0x52,0x00,0x00,0x71,0x4e,0x05,0x80,0x00,0x00,0x05,0x53,0x00,0x00,0x73,0x54,0x00,0x00,0x70,0x62, 0x05,0x80,0x00,0x00,0x14,0x6c,0x00,0x00,0x9a,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0xdc,0x8f,0x00,0x00, 0x01,0x00,0x00,0x00,0x7c,0x9a,0x00,0x00,0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x6c,0x9a,0x00,0x00, 0x6c,0x9a,0x02,0x5e,0x00,0x00,0x6c,0x9a,0x27,0x59,0x66,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0x36,0x71, 0x00,0x00,0x4d,0x96,0x00,0x00,0x9e,0x58,0x00,0x00,0x5c,0x50,0x00,0x00,0xd8,0x53,0x00,0x00,0xe8,0x96, 0x00,0x00,0x77,0x8d,0x00,0x00,0xcf,0x51,0x00,0x00,0x7b,0x6b,0x00,0x00,0x7b,0x6b,0x0f,0x5f,0x00,0x00, 0x01,0x00,0x00,0x00,0x9c,0x9a,0x00,0x00,0x0a,0x00,0x00,0x00,0x72,0x5e,0x00,0x00,0x98,0x62,0x00,0x00, 0x34,0x59,0x00,0x00,0xbc,0x9a,0x00,0x00,0x70,0x70,0x00,0x00,0x28,0x8d,0x00,0x00,0xd3,0x9a,0x00,0x00, 0xd1,0x79,0x00,0x00,0xb6,0x67,0x00,0x00,0xc6,0x76,0x00,0x00,0x01,0x00,0x00,0x00,0xb3,0x9a,0x00,0x00, 0x04,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0xc5,0x76,0x00,0x00,0x54,0x58,0x00,0x00,0x9f,0x94,0x00,0x00, 0x01,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x03,0x00,0x00,0x00,0xc5,0x9a,0x00,0x00,0xc5,0x9a,0x34,0x59, 0x00,0x00,0xc5,0x9a,0x8b,0x73,0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x01,0x00,0x00,0x00, 0x6f,0x8f,0xa8,0x9a,0x7f,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x80,0x0d,0x59,0x1f,0x75,0x00,0x00, 0x02,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x9d,0x7a,0x00,0x00,0x03,0x00,0x00,0x00,0x73,0x51,0x82,0x82, 0x00,0x00,0xe8,0x90,0x00,0x00,0xa8,0x9a,0x00,0x00,0x01,0x00,0x00,0x00,0xa8,0x9a,0x00,0x00,0x04,0x00, 0x00,0x00,0x98,0x97,0x00,0x00,0x11,0x81,0x00,0x00,0xc7,0x8f,0x27,0x6c,0x16,0x53,0x69,0x72,0x76,0x91, 0x00,0x00,0xd3,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0x1f,0x90,0x00,0x00,0xa6,0x5e,0x00,0x00,0x8e,0x4e, 0x00,0x00,0xa7,0x7e,0x00,0x00,0xef,0x7a,0x00,0x00,0xa1,0x7b,0x00,0x00,0x42,0x5c,0x00,0x00,0xf0,0x5c, 0x00,0x00,0x21,0x68,0x00,0x00,0x03,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0xde,0x9a,0x00,0x00,0x02,0x00, 0x00,0x00,0x74,0x5e,0x00,0x00,0x84,0x9f,0x00,0x00,0x02,0x00,0x00,0x00,0xe3,0x53,0x00,0x00,0x7b,0x98, 0x00,0x00,0x01,0x00,0x00,0x00,0x0f,0x9b,0x00,0x00,0x01,0x00,0x00,0x00,0xdb,0x6b,0x00,0x00,0x05,0x00, 0x00,0x00,0xd2,0x89,0x00,0x00,0xd1,0x53,0x00,0x00,0xdb,0x6b,0x00,0x00,0xf4,0x95,0x00,0x00,0x1a,0x81, 0x00,0x00,0x03,0x00,0x00,0x00,0xd7,0x72,0x00,0x00,0x25,0x87,0x00,0x00,0xdb,0x6b,0x00,0x00,0x0a,0x00, 0x00,0x00,0x5e,0x79,0x00,0x00,0x50,0x5b,0x00,0x00,0x42,0x9b,0x00,0x00,0x2a,0x60,0x00,0x00,0x3c,0x9b, 0x00,0x00,0x53,0x90,0x00,0x00,0x5c,0x75,0x00,0x00,0x38,0x81,0x00,0x00,0x8b,0x73,0x00,0x00,0x45,0x9b, 0x00,0x00,0x0a,0x00,0x00,0x00,0x17,0x53,0x4b,0x51,0x00,0x00,0xa7,0x68,0x00,0x00,0x17,0x53,0x4b,0x51, 0x01,0x77,0x00,0x00,0x01,0x77,0x00,0x00,0x96,0x99,0x00,0x00,0x1f,0x66,0x00,0x00,0x43,0x51,0x00,0x00, 0x47,0x59,0xef,0x8d,0x00,0x00,0x1f,0x4f,0x00,0x00,0xb6,0x86,0x00,0x00,0x0a,0x00,0x00,0x00,0x44,0x9b, 0x00,0x00,0x97,0x65,0x57,0x7f,0x00,0x00,0x75,0x72,0xa6,0x68,0xd5,0x7e,0x00,0x00,0xde,0x98,0x44,0x9b, 0x63,0x65,0x00,0x00,0x75,0x70,0x00,0x00,0x75,0x72,0xa6,0x68,0x26,0x84,0x00,0x00,0x0d,0x4e,0x88,0x5b, 0x0d,0x82,0x00,0x00,0x68,0x56,0x00,0x00,0x3f,0x51,0x00,0x00,0x0d,0x4e,0x44,0x96,0x53,0x4f,0x00,0x00, 0x01,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0x09,0x00,0x00,0x00,0x9b,0x52,0x00,0x00,0xcf,0x65,0x00,0x00, 0x71,0x5f,0x00,0x00,0xd1,0x60,0x00,0x00,0x9b,0x52,0xdb,0x56,0x04,0x5c,0x00,0x00,0x71,0x5f,0xf7,0x53, 0x00,0x00,0x71,0x5f,0x01,0x5e,0x00,0x00,0x9b,0x52,0xe0,0x60,0x00,0x00,0xba,0x4e,0x00,0x00,0x01,0x00, 0x00,0x00,0x46,0x9b,0x00,0x00,0x01,0x00,0x00,0x00,0xd0,0x5b,0x00,0x00,0x02,0x00,0x00,0x00,0x49,0x9b, 0x00,0x00,0x49,0x9b,0x3c,0x9b,0x2a,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x66,0x00,0x00,0x9b,0x73, 0x00,0x00,0xfd,0x56,0x00,0x00,0x6c,0x51,0x51,0x67,0x00,0x00,0xbf,0x53,0x00,0x00,0x4b,0x51,0x00,0x00, 0x81,0x5f,0x00,0x00,0xcd,0x5d,0x00,0x00,0x66,0x6b,0x1d,0x5e,0x00,0x00,0xe0,0x5f,0x24,0x8d,0x00,0x00, 0x02,0x00,0x00,0x00,0x45,0x9b,0x4d,0x9b,0x49,0x9b,0x00,0x00,0x45,0x9b,0x00,0x00,0x0a,0x00,0x00,0x00, 0x7d,0x51,0x00,0x00,0x3c,0x9b,0x00,0x00,0xd5,0x6c,0x00,0x00,0x2f,0x67,0x00,0x00,0x2f,0x67,0x08,0x5e, 0x00,0x00,0x92,0x54,0x00,0x00,0xfd,0x90,0x00,0x00,0xb9,0x65,0x00,0x00,0xaf,0x7f,0x00,0x00,0x9b,0x52, 0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00, 0x00,0x00,0x47,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x79,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c, 0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x7f,0x00,0x00,0x7b,0x7c, 0x00,0x00,0x70,0x9e,0x00,0x00,0x89,0x80,0x00,0x00,0xf7,0x96,0x00,0x00,0x99,0x9f,0xf7,0x6d,0x42,0x67, 0x00,0x00,0x58,0x58,0x00,0x00,0x3f,0x51,0x00,0x00,0xb9,0x6c,0x00,0x00,0x38,0x7f,0x00,0x00,0x01,0x00, 0x00,0x00,0x7c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00,0xc5,0x8f,0x00,0x00,0xfd,0x80,0x00,0x00,0xbe,0x5b, 0x00,0x00,0xbd,0x83,0x00,0x00,0x17,0x53,0x00,0x00,0x7f,0x89,0x00,0x00,0x14,0x5c,0x00,0x00,0xed,0x73, 0x00,0x00,0x97,0x62,0x00,0x00,0x71,0x5c,0xbf,0x53,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0x03,0x00,0x00,0x00,0x7c,0x9c,0x08,0x57,0x00,0x00,0x7c,0x9c,0x00,0x00,0x7c,0x9c,0x08,0x57,0x3a,0x53, 0x00,0x00,0x02,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x79,0x81,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c, 0x00,0x00,0x08,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x5a,0x14,0x5c,0x00,0x00,0x2f,0x4f,0x00,0x00, 0x57,0x7f,0xf7,0x5e,0x00,0x00,0xb7,0x5f,0xcc,0x91,0x9a,0x4e,0x00,0x00,0x57,0x7f,0x01,0x4e,0x00,0x00, 0xe1,0x5c,0x47,0x95,0x00,0x00,0x36,0x80,0x00,0x00,0x01,0x00,0x00,0x00,0x6b,0x86,0x00,0x00,0x01,0x00, 0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c, 0x8c,0x6d,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x03,0x00,0x00,0x00,0xba,0x4e,0x00,0x00, 0xe1,0x7e,0x00,0x00,0x7c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00,0x0e,0x66,0x00,0x00,0xb1,0x82,0x00,0x00, 0x3b,0x6d,0x00,0x00,0x76,0x59,0x00,0x00,0x09,0x67,0x00,0x00,0x40,0x88,0x00,0x00,0x73,0x82,0x00,0x00, 0x8e,0x7f,0x00,0x00,0x89,0x80,0x00,0x00,0x3a,0x4e,0xba,0x4e,0xe5,0x77,0x00,0x00,0x01,0x00,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x99,0x9f,0x00,0x00,0x01,0x00,0x00,0x00, 0xf4,0x76,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x07,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0xce,0x57,0x3a,0x53,0x00,0x00,0x7c,0x9c,0xe8,0x95,0x00,0x00,0xce,0x57,0x00,0x00,0x7c,0x9c,0xd7,0x65, 0x00,0x00,0x7c,0x9c,0x53,0x62,0x3a,0x63,0x00,0x00,0x7c,0x9c,0xf3,0x8d,0x99,0x9f,0xe8,0x95,0x00,0x00, 0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x5f,0x6c,0x00,0x00,0x04,0x00,0x00,0x00, 0x7c,0x9c,0x00,0x00,0xa4,0x9c,0xd1,0x79,0x00,0x00,0xa4,0x9c,0x00,0x00,0xa4,0x9c,0x32,0x75,0x00,0x00, 0x01,0x00,0x00,0x00,0xc5,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00, 0x4f,0x9e,0x00,0x00,0x4f,0x9e,0x55,0x5c,0xc5,0x7f,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0xd1,0x79,0x00,0x00, 0x0a,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0xa8,0x9c,0x00,0x00,0x1e,0x54,0x00,0x00,0x89,0x80,0x00,0x00, 0x5a,0x8c,0x00,0x00,0x5a,0x8c,0x7b,0x7c,0x00,0x00,0x7c,0x9c,0xa7,0x5e,0x00,0x00,0xee,0x76,0x00,0x00, 0x7b,0x7c,0x00,0x00,0xe2,0x6c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x03,0x00,0x00,0x00, 0x63,0x9e,0x00,0x00,0x9b,0x9c,0x00,0x00,0x47,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0x02,0x00,0x00,0x00,0xc2,0x88,0x00,0x00,0x13,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0xa8,0x68,0x00,0x00,0x9f,0x9f,0x00,0x00,0x7c,0x9c,0x7f,0x5c,0x00,0x00,0x7c,0x9c,0x39,0x59,0x00,0x00, 0x7c,0x9c,0x3a,0x57,0x00,0x00,0x25,0x87,0x00,0x00,0x7c,0x9c,0x3c,0x77,0xea,0x6c,0x00,0x00,0x99,0x9f, 0x00,0x00,0x7c,0x9c,0x6b,0x88,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x5f,0x6c,0x00,0x00,0x5f,0x6c,0x47,0x95,0x00,0x00,0x71,0x5c,0x00,0x00,0xf0,0x5c, 0x00,0x00,0x34,0x59,0x47,0x95,0x00,0x00,0xdc,0x62,0x00,0x00,0xcc,0x80,0x1f,0x8d,0x71,0x5c,0x00,0x00, 0x83,0x62,0x00,0x00,0xc9,0x6c,0x51,0x67,0x00,0x00,0x01,0x00,0x00,0x00,0xb6,0x72,0xa2,0x80,0x00,0x00, 0x03,0x00,0x00,0x00,0xe1,0x5b,0x64,0x5b,0xec,0x72,0x00,0x00,0x2b,0x59,0x00,0x00,0x45,0x5c,0x00,0x00, 0x01,0x00,0x00,0x00,0x8f,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0xf6,0x80,0x00,0x00,0x01,0x00,0x00,0x00, 0x7c,0x9c,0x00,0x00,0x03,0x00,0x00,0x00,0x32,0x75,0x00,0x00,0xbe,0x7c,0x00,0x00,0xd9,0x88,0x00,0x00, 0x03,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0xa1,0x9c,0x00,0x00,0x7c,0x9c,0x6d,0x99,0x00,0x00,0x01,0x00, 0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x02,0x00,0x00,0x00,0x7c,0x9c, 0x00,0x00,0x58,0x58,0x51,0x67,0x00,0x00,0x0a,0x00,0x00,0x00,0x47,0x72,0x00,0x00,0x21,0x6b,0x09,0x68, 0xd4,0x6b,0x00,0x00,0xc5,0x7f,0xee,0x76,0x00,0x00,0x32,0x75,0x00,0x00,0x0e,0x83,0x00,0x00,0x51,0x5c, 0x00,0x00,0xb6,0x72,0xc6,0x7e,0xde,0x80,0x4c,0x76,0x00,0x00,0xc5,0x7f,0x00,0x00,0x24,0x4f,0x00,0x00, 0xb6,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00, 0x01,0x00,0x00,0x00,0xf0,0x51,0x00,0x00,0x01,0x00,0x00,0x00,0x14,0x9d,0x00,0x00,0x02,0x00,0x00,0x00, 0x02,0x9d,0x00,0x00,0x03,0x9d,0x00,0x00,0x0a,0x00,0x00,0x00,0x7b,0x7c,0x00,0x00,0xe2,0x5d,0x00,0x00, 0x3f,0x51,0x00,0x00,0xd4,0x53,0x00,0x00,0xba,0x4e,0x00,0x00,0xb0,0x77,0x00,0x00,0x3c,0x7b,0x00,0x00, 0xed,0x8b,0xb1,0x82,0x99,0x99,0x00,0x00,0x9b,0x5c,0x00,0x00,0x1f,0x9e,0x00,0x00,0x09,0x00,0x00,0x00, 0x71,0x5c,0x00,0x00,0x71,0x5c,0x31,0x75,0xaa,0x7e,0x2b,0x59,0x00,0x00,0x69,0x64,0x57,0x7f,0xc0,0x4e, 0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0x60,0x53,0x4a,0x9e,0xe2,0x5d,0x00,0x00,0x5f,0x6c,0x00,0x00, 0xc6,0x96,0x00,0x00,0x08,0x54,0x00,0x00,0x62,0x5f,0x44,0x9e,0x62,0x97,0x00,0x00,0x0a,0x00,0x00,0x00, 0xcb,0x86,0x00,0x00,0x89,0x80,0x00,0x00,0xc5,0x7f,0x00,0x00,0x64,0x6c,0x00,0x00,0x8b,0x80,0x00,0x00, 0xbe,0x7c,0x00,0x00,0x3e,0x5c,0x52,0x91,0x00,0x00,0x7f,0x81,0x00,0x00,0x40,0x88,0xf3,0x77,0x00,0x00, 0x40,0x88,0x00,0x00,0x02,0x00,0x00,0x00,0x3e,0x5c,0x00,0x00,0x3e,0x5c,0xb1,0x82,0x00,0x00,0x0a,0x00, 0x00,0x00,0xaa,0x67,0x00,0x00,0x1b,0x7b,0x00,0x00,0x22,0x8c,0x00,0x00,0xcd,0x54,0x00,0x00,0xeb,0x53, 0x00,0x00,0x0d,0x4e,0x73,0x5e,0x00,0x00,0x99,0x6c,0x71,0x5c,0x00,0x00,0x3e,0x65,0x00,0x00,0xf0,0x58, 0x00,0x00,0xa4,0x51,0x00,0x00,0x02,0x00,0x00,0x00,0x1f,0x9e,0x00,0x00,0xcd,0x79,0x00,0x00,0x05,0x00, 0x00,0x00,0x47,0x72,0x00,0x00,0xc0,0x96,0xe0,0x65,0xf0,0x58,0x00,0x00,0x47,0x72,0x18,0x62,0x89,0x4e, 0x00,0x00,0xad,0x5c,0x61,0x4e,0x00,0x00,0x09,0x67,0xcd,0x53,0xfa,0x54,0x4b,0x4e,0x49,0x4e,0x00,0x00, 0x01,0x00,0x00,0x00,0x52,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0xcd,0x6b,0x00,0x00,0x02,0x00,0x00,0x00, 0xd2,0x6b,0x00,0x00,0xbd,0x7f,0x00,0x00,0x01,0x00,0x00,0x00,0x1f,0x9e,0x00,0x00,0x03,0x00,0x00,0x00, 0x5a,0x9e,0x00,0x00,0x5a,0x9e,0x61,0x4e,0x00,0x00,0x5a,0x9e,0x1f,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00, 0x50,0x5b,0x00,0x00,0x89,0x80,0x00,0x00,0xa8,0x68,0x00,0x00,0x40,0x88,0x00,0x00,0xcb,0x86,0x00,0x00, 0xff,0x7e,0x5f,0x6c,0x00,0x00,0x16,0x81,0x00,0x00,0x40,0x88,0x46,0x8c,0x50,0x81,0x00,0x00,0x0c,0x82, 0x3d,0x5e,0x00,0x00,0xd2,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x66,0x9e,0x49,0x9e,0x00,0x00,0xeb,0x53, 0x00,0x00,0x04,0x00,0x00,0x00,0xad,0x67,0x00,0x00,0x3b,0x54,0x00,0x00,0x3e,0x5c,0x00,0x00,0x0d,0x75, 0x00,0x00,0x01,0x00,0x00,0x00,0x46,0x9e,0x00,0x00,0x0a,0x00,0x00,0x00,0x2f,0x9e,0x00,0x00,0x2f,0x9e, 0x74,0x6d,0x00,0x00,0x2f,0x9e,0x05,0x95,0x00,0x00,0x2f,0x9e,0x0f,0x62,0x34,0x6c,0x00,0x00,0x2f,0x9e, 0x11,0x68,0x00,0x00,0x2f,0x9e,0x65,0x68,0x00,0x00,0xee,0x7e,0x00,0x00,0x2f,0x9e,0x74,0x87,0x76,0x87, 0x00,0x00,0x2f,0x9e,0x74,0x87,0x76,0x87,0x3e,0x6d,0x00,0x00,0x2f,0x9e,0x7e,0x67,0x00,0x00,0x03,0x00, 0x00,0x00,0x1f,0x9e,0x00,0x00,0x1f,0x9e,0x3f,0x65,0x56,0x7b,0x00,0x00,0x1f,0x9e,0x3a,0x57,0x00,0x00, 0x01,0x00,0x00,0x00,0x1f,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0x4b,0x9e,0x00,0x00,0x01,0x00,0x00,0x00, 0x60,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x79,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00, 0x3e,0x6d,0x00,0x00,0x50,0x5b,0xcb,0x86,0x00,0x00,0x50,0x5b,0x3c,0x7b,0x00,0x00,0x3c,0x7b,0x00,0x00, 0xda,0x68,0x00,0x00,0xa4,0x7f,0x00,0x00,0x3a,0x57,0x00,0x00,0x3f,0x62,0x00,0x00,0x50,0x5b,0xb1,0x82, 0x00,0x00,0x04,0x00,0x00,0x00,0xe4,0x51,0x00,0x00,0xd8,0x98,0xe4,0x51,0xca,0x6c,0x00,0x00,0xd4,0x7f, 0xe4,0x51,0xc6,0x96,0x00,0x00,0xd4,0x7f,0xe4,0x51,0xe5,0x7f,0x00,0x00,0x0a,0x00,0x00,0x00,0x77,0x6d, 0x00,0x00,0x53,0x90,0x00,0x00,0x9f,0x6c,0x00,0x00,0x29,0x52,0x00,0x00,0xc1,0x96,0x00,0x00,0x2a,0x72, 0x00,0x00,0xdc,0x8f,0x00,0x00,0x64,0x57,0x00,0x00,0x90,0x6e,0x00,0x00,0xd0,0x8f,0x00,0x00,0x03,0x00, 0x00,0x00,0x3d,0x9e,0x00,0x00,0x2a,0x9e,0x00,0x00,0x20,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0x62,0x5f, 0xee,0x76,0x00,0x00,0x03,0x00,0x00,0x00,0x84,0x76,0x00,0x00,0xcb,0x7a,0x00,0x00,0x19,0x50,0x00,0x00, 0x0a,0x00,0x00,0x00,0x75,0x53,0xf3,0x77,0x00,0x00,0x89,0x80,0x00,0x00,0xd2,0x7e,0x00,0x00,0xdb,0x6b, 0x00,0x00,0xcb,0x86,0x00,0x00,0xae,0x92,0x3b,0x9f,0x00,0x00,0xdb,0x6b,0x27,0x59,0xea,0x96,0x00,0x00, 0x9d,0x80,0x71,0x91,0x00,0x00,0x8c,0x63,0x66,0x57,0x00,0x00,0xcb,0x86,0x38,0x81,0x00,0x00,0x02,0x00, 0x00,0x00,0x55,0x9e,0x00,0x00,0x55,0x9e,0x1f,0x96,0x00,0x00,0x04,0x00,0x00,0x00,0x65,0x68,0x00,0x00, 0x77,0x8d,0x00,0x00,0xe2,0x5d,0x20,0x9e,0x60,0x53,0x00,0x00,0x5e,0x9e,0x00,0x00,0x02,0x00,0x00,0x00, 0x51,0x9e,0x00,0x00,0x51,0x9e,0xcb,0x86,0x00,0x00,0x04,0x00,0x00,0x00,0x21,0x9e,0x00,0x00,0x21,0x9e, 0xf2,0x66,0x00,0x00,0x4f,0x9e,0x00,0x00,0x26,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0x4e,0x53,0x00,0x00, 0xde,0x98,0x00,0x00,0xce,0x57,0x00,0x00,0x0b,0x7a,0x00,0x00,0xa6,0x6d,0x00,0x00,0x4f,0x9e,0x00,0x00, 0x23,0x6b,0x00,0x00,0xf0,0x5c,0x00,0x00,0x43,0x51,0x00,0x00,0xd0,0x8f,0x00,0x00,0x01,0x00,0x00,0x00, 0x63,0x88,0x00,0x00,0x01,0x00,0x00,0x00,0x74,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0x6d,0x9e,0x00,0x00, 0x02,0x00,0x00,0x00,0x32,0x82,0x00,0x00,0x9d,0x7a,0x51,0x67,0x00,0x00,0x05,0x00,0x00,0x00,0x70,0x9e, 0x00,0x00,0x0f,0x5f,0x00,0x00,0x50,0x5b,0x00,0x00,0xbc,0x9c,0x00,0x00,0xc0,0x96,0x00,0x00,0x01,0x00, 0x00,0x00,0x30,0x9e,0x00,0x00,0x02,0x00,0x00,0x00,0xbd,0x9c,0x00,0x00,0x63,0x9e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x97,0x5c,0x00,0x00,0xc1,0x58,0x00,0x00,0xc1,0x58,0x02,0x5e,0x00,0x00,0x71,0x5c,0x00,0x00, 0x97,0x5c,0x02,0x5e,0x00,0x00,0xcb,0x7a,0x21,0x9e,0xa4,0x7f,0x00,0x00,0x86,0x5e,0xbf,0x53,0x00,0x00, 0xf0,0x5c,0x00,0x00,0x71,0x5c,0x02,0x5e,0x00,0x00,0xf0,0x5c,0xbf,0x53,0x00,0x00,0x07,0x00,0x00,0x00, 0x49,0x9e,0x00,0x00,0x49,0x9e,0xba,0x87,0x00,0x00,0x49,0x9e,0x32,0x6d,0x00,0x00,0x49,0x9e,0x66,0x5b, 0x0c,0x82,0x00,0x00,0xe5,0x54,0xad,0x5c,0x00,0x00,0x49,0x9e,0xed,0x70,0x00,0x00,0x49,0x9e,0x71,0x5c, 0x00,0x00,0x01,0x00,0x00,0x00,0x2a,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0xe5,0x54,0x00,0x00,0x01,0x00, 0x00,0x00,0x69,0x9e,0x00,0x00,0x02,0x00,0x00,0x00,0x1f,0x9e,0x00,0x00,0xd1,0x79,0x00,0x00,0x01,0x00, 0x00,0x00,0x8c,0x86,0xf8,0x76,0x89,0x4e,0x00,0x00,0x06,0x00,0x00,0x00,0x5f,0x6c,0x00,0x00,0x1f,0x9e, 0x00,0x00,0x9b,0x5c,0x00,0x00,0x36,0x9e,0x00,0x00,0x5f,0x6c,0x53,0x90,0x00,0x00,0x5a,0x9e,0x00,0x00, 0x0a,0x00,0x00,0x00,0x3e,0x6d,0x00,0x00,0x6d,0x6f,0x00,0x00,0x3c,0x77,0x00,0x00,0x6d,0x6f,0x02,0x5e, 0x00,0x00,0x1b,0x54,0x00,0x00,0x71,0x91,0x00,0x00,0x34,0x56,0x46,0x8c,0x00,0x00,0x2a,0x72,0x00,0x00, 0x0b,0x6d,0x00,0x00,0x0f,0x5f,0x00,0x00,0x02,0x00,0x00,0x00,0xf8,0x72,0x3f,0x73,0x00,0x00,0xc0,0x96, 0x7c,0x69,0x00,0x00,0x0a,0x00,0x00,0x00,0xce,0x91,0x00,0x00,0x38,0x83,0x00,0x00,0xce,0x57,0x3a,0x53, 0x00,0x00,0xce,0x57,0x00,0x00,0x79,0x72,0x39,0x4e,0x00,0x00,0x23,0x9e,0x00,0x00,0x3f,0x51,0x9b,0x5c, 0xbf,0x53,0x00,0x00,0xd2,0x89,0x00,0x00,0x3f,0x51,0x9b,0x5c,0x00,0x00,0x0e,0x9f,0xb0,0x8b,0x00,0x00, 0x01,0x00,0x00,0x00,0xae,0x76,0x00,0x00,0x01,0x00,0x00,0x00,0xc6,0x96,0x00,0x00,0x01,0x00,0x00,0x00, 0x7f,0x9e,0x00,0x00,0x08,0x00,0x00,0x00,0x9f,0x9e,0x00,0x00,0x9f,0x9e,0x51,0x7f,0x00,0x00,0x9f,0x9e, 0x3a,0x53,0x00,0x00,0x9f,0x9e,0xa7,0x5e,0x00,0x00,0x9f,0x9e,0x71,0x5c,0x00,0x00,0x9f,0x9e,0xdc,0x83, 0x00,0x00,0x9f,0x9e,0xa7,0x63,0xa1,0x80,0x2a,0x68,0x0f,0x5f,0x1a,0x4f,0x3e,0x79,0x00,0x00,0x9f,0x9e, 0xd6,0x76,0x00,0x00,0x03,0x00,0x00,0x00,0x71,0x5c,0x00,0x00,0x56,0x6e,0x00,0x00,0x6f,0x66,0xef,0x8d, 0x00,0x00,0x05,0x00,0x00,0x00,0x99,0x99,0x00,0x00,0x5b,0x72,0x00,0x00,0x99,0x99,0x49,0x83,0x00,0x00, 0xce,0x9e,0x00,0x00,0x99,0x99,0xf3,0x77,0xf9,0x7a,0x00,0x00,0x07,0x00,0x00,0x00,0x90,0x5e,0x00,0x00, 0x38,0x6e,0xbf,0x53,0x00,0x00,0x38,0x6e,0x00,0x00,0xcf,0x7e,0x00,0x00,0x1b,0x6d,0x00,0x00,0xd2,0x89, 0xe4,0x51,0xdc,0x89,0x00,0x00,0x1b,0x6d,0x61,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0x53,0x5f,0xb3,0x52, 0x00,0x00,0x4b,0x51,0x00,0x00,0x03,0x80,0x97,0x67,0x00,0x00,0x30,0x75,0x00,0x00,0xef,0x51,0x69,0x60, 0x00,0x00,0x4b,0x51,0xce,0x98,0x00,0x00,0x47,0x72,0x00,0x00,0x50,0x5b,0x00,0x00,0xaf,0x80,0x21,0x95, 0x00,0x00,0x53,0x90,0x00,0x00,0x04,0x00,0x00,0x00,0xae,0x76,0x00,0x00,0x28,0x8d,0x00,0x00,0x50,0x5b, 0x00,0x00,0xae,0x76,0x62,0x97,0x05,0x53,0x00,0x00,0x0a,0x00,0x00,0x00,0xe6,0x70,0x00,0x00,0x06,0x5c, 0x00,0x00,0x28,0x67,0x00,0x00,0x89,0x91,0x00,0x00,0xf9,0x75,0x00,0x00,0x01,0x77,0x00,0x00,0xc0,0x96, 0x00,0x00,0x1f,0x75,0x00,0x00,0xa3,0x8f,0x00,0x00,0x1f,0x75,0x2a,0x59,0xce,0x90,0x00,0x00,0x01,0x00, 0x00,0x00,0x0b,0x4e,0x00,0x00,0x0a,0x00,0x00,0x00,0xd1,0x91,0x00,0x00,0x72,0x82,0x00,0x00,0xb3,0x6c, 0x00,0x00,0xa9,0x5c,0x9b,0x5c,0x00,0x00,0xdc,0x74,0x00,0x00,0x77,0x6d,0x00,0x00,0xd0,0x67,0x00,0x00, 0x5b,0x72,0x00,0x00,0x49,0x51,0xd5,0x88,0x00,0x00,0xd4,0x57,0x00,0x00,0x01,0x00,0x00,0x00,0xe8,0x95, 0x00,0x00,0x01,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x0a,0x00,0x00,0x00,0xf4,0x5d,0xe9,0x5a,0x00,0x00, 0x0e,0x66,0x00,0x00,0xcf,0x65,0x00,0x00,0x0e,0x66,0x4d,0x52,0x84,0x76,0xd1,0x9e,0x97,0x66,0x00,0x00, 0xd9,0x53,0x00,0x00,0xf4,0x5d,0xe9,0x5a,0xba,0x4e,0x00,0x00,0xff,0x59,0x00,0x00,0xb6,0x5b,0x00,0x00, 0x73,0x5e,0x00,0x00,0x26,0x95,0x00,0x00,0x0a,0x00,0x00,0x00,0x9c,0x81,0x00,0x00,0x27,0x60,0x00,0x00, 0xb2,0x6d,0x00,0x00,0x20,0x7a,0x00,0x00,0xa6,0x5e,0x00,0x00,0x20,0x7a,0xa6,0x5e,0x00,0x00,0x1f,0x57, 0x00,0x00,0xcf,0x9e,0x00,0x00,0xca,0x7c,0xca,0x7c,0x00,0x00,0x4f,0x4f,0x00,0x00,0x01,0x00,0x00,0x00, 0xbf,0x7e,0x00,0x00,0x0a,0x00,0x00,0x00,0xa2,0x5b,0x00,0x00,0x72,0x82,0x00,0x00,0x99,0x9f,0x5f,0x6c, 0x00,0x00,0x97,0x66,0x00,0x00,0x93,0x83,0x00,0x00,0x99,0x9f,0x5f,0x6c,0x01,0x77,0x00,0x00,0x0d,0x54, 0x55,0x53,0x00,0x00,0x3e,0x79,0x1a,0x4f,0x00,0x00,0x1e,0x6d,0x00,0x00,0xba,0x4e,0x00,0x00,0x0a,0x00, 0x00,0x00,0x5f,0x6c,0x00,0x00,0x7f,0x89,0x57,0x53,0x00,0x00,0x7f,0x89,0x57,0x53,0xde,0x5d,0x00,0x00, 0x1c,0x4e,0x57,0x53,0xde,0x5d,0x00,0x00,0x57,0x53,0xde,0x5d,0x00,0x00,0x57,0x53,0x00,0x00,0x74,0x9a, 0x80,0x62,0x77,0x7a,0x00,0x00,0x5f,0x6c,0x3a,0x53,0x00,0x00,0x75,0x70,0x00,0x00,0x7f,0x89,0xbf,0x53, 0x00,0x00,0x0a,0x00,0x00,0x00,0x4b,0x51,0x14,0x5c,0x00,0x00,0xd8,0x9e,0x00,0x00,0x1a,0x59,0x4b,0x51, 0x00,0x00,0xa4,0x8b,0x00,0x00,0x51,0x59,0x00,0x00,0xd8,0x9e,0xe0,0x65,0xfb,0x95,0x00,0x00,0xb8,0x8b, 0x00,0x00,0xc0,0x54,0x00,0x00,0xf5,0x5f,0x00,0x00,0x4b,0x51,0x00,0x00,0x0a,0x00,0x00,0x00,0x89,0x5b, 0x1c,0x5a,0x00,0x00,0xd4,0x6b,0x00,0x00,0x89,0x5b,0x00,0x00,0x7f,0x89,0x00,0x00,0x89,0x73,0x00,0x00, 0xe6,0x74,0x00,0x00,0x5a,0x53,0xc9,0x62,0x00,0x00,0x73,0x7c,0x00,0x00,0x03,0x5e,0xc9,0x62,0x00,0x00, 0xff,0x7e,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x90,0x00,0x00,0x4d,0x51,0x00,0x00,0x04,0x00,0x00,0x00, 0xd1,0x9e,0x00,0x00,0x97,0x66,0x00,0x00,0xef,0x9e,0x00,0x00,0xa2,0x7e,0x00,0x00,0x02,0x00,0x00,0x00, 0xbf,0x53,0x00,0x00,0x71,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x67,0x61,0x00,0x00,0x01,0x00,0x00,0x00, 0xd1,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0xd1,0x9e,0x00,0x00,0x01,0x00,0x00,0x00,0x66,0x6b,0x00,0x00, 0x06,0x00,0x00,0x00,0xe1,0x6d,0x00,0x00,0x36,0x71,0x00,0x00,0x36,0x71,0x31,0x59,0x72,0x82,0x00,0x00, 0x36,0x71,0x5e,0x79,0x24,0x4f,0x00,0x00,0x36,0x71,0x00,0x95,0x42,0x9b,0x00,0x00,0xd1,0x9e,0x00,0x00, 0x01,0x00,0x00,0x00,0x7c,0x9c,0x00,0x00,0x01,0x00,0x00,0x00,0x99,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00, 0x56,0x66,0x00,0x00,0xdb,0x76,0x00,0x00,0x9b,0x52,0x00,0x00,0xcb,0x7a,0x00,0x00,0x29,0x52,0x00,0x00, 0x7d,0x59,0x00,0x00,0xb0,0x65,0x00,0x00,0x0b,0x95,0x00,0x00,0x0e,0x9f,0x27,0x59,0x0d,0x54,0x00,0x00, 0x89,0x8f,0x00,0x00,0x0a,0x00,0x00,0x00,0xb1,0x52,0x00,0x00,0x1e,0x82,0x00,0x00,0x6a,0x6d,0x7f,0x5c, 0x00,0x00,0x39,0x54,0x00,0x00,0x8c,0x63,0x00,0x00,0xa8,0x52,0x00,0x00,0x7c,0x69,0x00,0x00,0x7c,0x69, 0x3a,0x53,0x00,0x00,0x4b,0x62,0x00,0x00,0xb2,0x52,0x00,0x00,0x0a,0x00,0x00,0x00,0x07,0x68,0x00,0x00, 0xab,0x75,0x00,0x00,0x6f,0x83,0x00,0x00,0x07,0x68,0xab,0x57,0x00,0x00,0xb3,0x5b,0x00,0x00,0x7b,0x7c, 0x00,0x00,0x96,0x99,0x00,0x00,0x3e,0x5c,0x49,0x83,0x00,0x00,0x37,0x9f,0x7a,0x81,0x00,0x00,0x89,0x80, 0x00,0x00,0x01,0x00,0x00,0x00,0x31,0x9f,0x00,0x00,0x05,0x00,0x00,0x00,0x7e,0x73,0x00,0x00,0xd1,0x79, 0x00,0x00,0x20,0x9f,0x00,0x00,0xa8,0x9c,0x00,0x00,0x5e,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x9f, 0x00,0x00,0x01,0x00,0x00,0x00,0x20,0x9f,0x00,0x00,0x02,0x00,0x00,0x00,0x20,0x9f,0x00,0x00,0x20,0x9f, 0xae,0x76,0x00,0x00,0x0a,0x00,0x00,0x00,0x50,0x5b,0x00,0x00,0x8e,0x70,0x00,0x00,0x95,0x6d,0x00,0x00, 0x54,0x5b,0x00,0x00,0x54,0x81,0x00,0x00,0x56,0x79,0x00,0x00,0x40,0x88,0x00,0x00,0x81,0x68,0x00,0x00, 0x5e,0x58,0x00,0x00,0xdf,0x70,0xf6,0x58,0x00,0x00,0x05,0x00,0x00,0x00,0xf0,0x58,0x00,0x00,0xc7,0x75, 0x00,0x00,0xf0,0x58,0x82,0x59,0xf7,0x96,0x00,0x00,0x61,0x77,0x00,0x00,0x3e,0x9f,0x00,0x00,0x01,0x00, 0x00,0x00,0x12,0x60,0x00,0x00,0x0a,0x00,0x00,0x00,0x68,0x51,0x00,0x00,0x81,0x9c,0x00,0x00,0x7d,0x76, 0xf3,0x77,0x00,0x00,0x50,0x9f,0x00,0x00,0xc3,0x5f,0x4f,0x53,0x9b,0x52,0x00,0x00,0xcc,0x8d,0x00,0x00, 0x07,0x59,0x00,0x00,0x50,0x9f,0xc8,0x54,0x14,0x5c,0x00,0x00,0x34,0x59,0x76,0x5e,0xdb,0x8f,0x00,0x00, 0x5a,0x80,0x00,0x4e,0x02,0x58,0x00,0x00,0x01,0x00,0x00,0x00,0x89,0x7c,0x00,0x00,0x01,0x00,0x00,0x00, 0xac,0x54,0x00,0x00,0x01,0x00,0x00,0x00,0x75,0x9f,0x00,0x00,0x0a,0x00,0x00,0x00,0x6e,0x8f,0x00,0x00, 0x1e,0x82,0x00,0x00,0x88,0x9f,0x00,0x00,0xd1,0x79,0x00,0x00,0x6e,0x8f,0xb1,0x7b,0x00,0x00,0x54,0x5b, 0x00,0x00,0xb8,0x9c,0x00,0x00,0x6e,0x8f,0xc4,0x7e,0x00,0x00,0xf3,0x97,0x00,0x00,0x70,0x65,0x00,0x00, 0x01,0x00,0x00,0x00,0x89,0x9f,0x00,0x00,0x01,0x00,0x00,0x00,0xe5,0x7a,0x00,0x00,0x01,0x00,0x00,0x00, 0x59,0x72,0x00,0x00,0x01,0x00,0x00,0x00,0x59,0x72,0xa7,0x54,0x34,0x56,0x00,0x00,0x08,0x00,0x00,0x00, 0xe6,0x64,0xf3,0x97,0x00,0x00,0x8e,0x70,0x00,0x00,0xf3,0x97,0x00,0x00,0xc5,0x75,0x00,0x00,0x6d,0x81, 0xf3,0x97,0x00,0x00,0x9a,0x98,0xf3,0x97,0x00,0x00,0x85,0x8f,0xf3,0x97,0x00,0x00,0x13,0x81,0xbf,0x80, 0x00,0x00,0x04,0x00,0x00,0x00,0x7f,0x9f,0x00,0x00,0x1e,0x6d,0x00,0x00,0x7f,0x9f,0x27,0x60,0x00,0x00, 0x39,0x88,0x00,0x00,0x02,0x00,0x00,0x00,0x8a,0x9f,0x00,0x00,0x4a,0x6d,0x00,0x00,0x0a,0x00,0x00,0x00, 0x34,0x59,0x00,0x00,0x7e,0x86,0x00,0x00,0x56,0x6e,0x00,0x00,0x97,0x5c,0x00,0x00,0x77,0x53,0xce,0x98, 0x00,0x00,0x4e,0x86,0x9c,0x69,0x00,0x00,0x74,0x5e,0x00,0x00,0x97,0x5c,0x3a,0x53,0x00,0x00,0x4e,0x53, 0x00,0x00,0x71,0x5c,0x00,0x00,0x01,0x00,0x00,0x00,0xe4,0x53,0x14,0x5c,0x00,0x00,0x02,0x00,0x00,0x00, 0xfe,0x56,0x00,0x00,0x71,0x5f,0x00,0x00,0x0a,0x00,0x00,0x00,0xa8,0x68,0x00,0x00,0x34,0x59,0x00,0x00, 0xd3,0x82,0x8f,0x81,0x00,0x00,0x79,0x51,0x00,0x00,0xc2,0x88,0x00,0x00,0x1f,0x90,0x00,0x00,0xf0,0x5c, 0x00,0x00,0x32,0x75,0x00,0x00,0x71,0x5c,0x00,0x00,0xdb,0x6b,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,};/*238064*/
0
repos/awtk
repos/awtk/tests/widget_vtable_class.c
 #include "tkc/str.h" #include "tkc/log.h" #include "base/widget.h" #include "base/widget_vtable.h" #include "widget_vtable_class.h" static ret_t all_base_class_set_prop(widget_t* widget, const char* name, const value_t* v) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_set_prop"); return RET_OK; } static ret_t all_base_class_get_prop(widget_t* widget, const char* name, value_t* v) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_get_prop"); return RET_OK; } static ret_t all_base_class_get_only_active_children(widget_t* widget, darray_t* all_focusable) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_get_only_active_children"); return RET_OK; } static ret_t all_base_class_get_offset(widget_t* widget, xy_t* out_x, xy_t* out_y) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_get_offset"); return RET_OK; } static widget_t* all_base_class_find_target(widget_t* widget, xy_t x, xy_t y) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, NULL); log_debug("all_base_class_find_target"); return NULL; } static ret_t all_base_class_on_add_child(widget_t* widget, widget_t* child) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_add_child"); return RET_OK; } static ret_t all_base_class_on_paint_children(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_children"); return RET_OK; } static ret_t all_base_class_on_layout_children(widget_t* widget) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_layout_children"); return RET_OK; } static ret_t all_base_class_on_event(widget_t* widget, event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_event"); return RET_OK; } static ret_t all_base_class_init(widget_t* widget) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); all_base_class->init = TRUE; return RET_OK; } static ret_t all_base_class_on_destroy(widget_t* widget) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_destroy"); return RET_OK; } static ret_t all_base_class_invalidate(widget_t* widget, const rect_t* r) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_invalidate"); return RET_OK; } static bool_t all_base_class_is_point_in(widget_t* widget, xy_t x, xy_t y) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, FALSE); log_debug("all_base_class_is_point_in"); return TRUE; } static ret_t all_base_class_auto_adjust_size(widget_t* widget) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_auto_adjust_size"); return RET_OK; } static ret_t all_base_class_get_prop_default_value(widget_t* widget, const char* name, value_t* v) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_get_prop_default_value"); return RET_OK; } static ret_t all_base_class_on_copy(widget_t* widget, widget_t* other) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_copy"); return RET_OK; } static ret_t all_base_class_on_keyup(widget_t* widget, key_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_keyup"); return RET_OK; } static ret_t all_base_class_on_keydown(widget_t* widget, key_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_keydown"); return RET_OK; } static ret_t all_base_class_on_wheel(widget_t* widget, wheel_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_wheel"); return RET_OK; } static ret_t all_base_class_on_multi_gesture(widget_t* widget, multi_gesture_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_multi_gesture"); return RET_OK; } static ret_t all_base_class_on_re_translate(widget_t* widget) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_re_translate"); return RET_OK; } static ret_t all_base_class_on_paint_background(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_background"); return RET_OK; } static ret_t all_base_class_on_paint_self(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_self"); return RET_OK; } static ret_t all_base_class_on_paint_border(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_border"); return RET_OK; } static ret_t all_base_class_on_paint_begin(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_begin"); return RET_OK; } static ret_t all_base_class_on_paint_end(widget_t* widget, canvas_t* c) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_paint_end"); return RET_OK; } static ret_t all_base_class_on_pointer_down(widget_t* widget, pointer_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_pointer_down"); return RET_OK; } static ret_t all_base_class_on_pointer_move(widget_t* widget, pointer_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_pointer_move"); return RET_OK; } static ret_t all_base_class_on_pointer_up(widget_t* widget, pointer_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_pointer_up"); return RET_OK; } static ret_t all_base_class_on_context_menu(widget_t* widget, pointer_event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_context_menu"); return RET_OK; } static ret_t all_base_class_on_remove_child(widget_t* widget, widget_t* child) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_remove_child"); return RET_OK; } static ret_t all_base_class_on_attach_parent(widget_t* widget, widget_t* parent) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_attach_parent"); return RET_OK; } static ret_t all_base_class_on_detach_parent(widget_t* widget, widget_t* parent) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_detach_parent"); return RET_OK; } static ret_t all_base_class_on_event_before_children(widget_t* widget, event_t* e) { all_base_class_t* all_base_class = ALL_BASE_CLASS(widget); return_value_if_fail(all_base_class != NULL, RET_BAD_PARAMS); log_debug("all_base_class_on_event_before_children"); return RET_OK; } static const char* s_all_base_class_clone_properties[] = {WIDGET_PROP_VIRTUAL_W, WIDGET_PROP_VIRTUAL_H, WIDGET_PROP_XSLIDABLE, WIDGET_PROP_YSLIDABLE, WIDGET_PROP_XOFFSET, WIDGET_PROP_YOFFSET, NULL}; const char* const* all_base_class_get_clone_properties() { return s_all_base_class_clone_properties; } TK_DECL_VTABLE(all_base_class) = { .size = sizeof(all_base_class_t), .type = WIDGET_VTABLE_CLASS_TYPE_ALL_BASE_CLASS, .clone_properties = s_all_base_class_clone_properties, .persistent_properties = s_all_base_class_clone_properties, .pointer_cursor = WIDGET_VTABLE_CLASS_POINTER_CURSOR, .get_parent_vt = TK_GET_PARENT_VTABLE(widget), .create = all_base_class_create, .init = all_base_class_init, .on_keyup = all_base_class_on_keyup, .on_keydown = all_base_class_on_keydown, .on_wheel = all_base_class_on_wheel, .on_event = all_base_class_on_event, .on_event_before_children = all_base_class_on_event_before_children, .on_context_menu = all_base_class_on_context_menu, .on_pointer_up = all_base_class_on_pointer_up, .on_pointer_down = all_base_class_on_pointer_down, .on_pointer_move = all_base_class_on_pointer_move, .on_detach_parent = all_base_class_on_detach_parent, .on_attach_parent = all_base_class_on_attach_parent, .on_paint_end = all_base_class_on_paint_end, .on_paint_begin = all_base_class_on_paint_begin, .on_paint_border = all_base_class_on_paint_border, .on_paint_self = all_base_class_on_paint_self, .on_paint_background = all_base_class_on_paint_background, .on_re_translate = all_base_class_on_re_translate, .on_multi_gesture = all_base_class_on_multi_gesture, .on_layout_children = all_base_class_on_layout_children, .on_paint_children = all_base_class_on_paint_children, .on_add_child = all_base_class_on_add_child, .on_remove_child = all_base_class_on_remove_child, .find_target = all_base_class_find_target, .get_offset = all_base_class_get_offset, .get_only_active_children = all_base_class_get_only_active_children, .on_destroy = all_base_class_on_destroy, .invalidate = all_base_class_invalidate, .on_copy = all_base_class_on_copy, .auto_adjust_size = all_base_class_auto_adjust_size, .get_prop_default_value = all_base_class_get_prop_default_value, .is_point_in = all_base_class_is_point_in, .get_prop = all_base_class_get_prop, .set_prop = all_base_class_set_prop}; widget_t* all_base_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h) { widget_t* widget = widget_create(parent, TK_REF_VTABLE(all_base_class), x, y, w, h); return_value_if_fail(widget != NULL, NULL); all_base_class_init(widget); return widget; } widget_t* all_base_class_cast(widget_t* widget) { return_value_if_fail(WIDGET_IS_INSTANCE_OF(widget, all_base_class), NULL); return widget; } static ret_t empty_class_init(widget_t* widget) { empty_class_t* empty_class = EMPTY_CLASS(widget); return_value_if_fail(empty_class != NULL, RET_BAD_PARAMS); empty_class->empty = TRUE; widget_vtable_init_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(empty_class)); return RET_OK; } TK_DECL_VTABLE(empty_class) = {.size = sizeof(empty_class_t), .type = WIDGET_VTABLE_CLASS_TYPE_EMPTY_CLASS, .get_parent_vt = TK_GET_PARENT_VTABLE(all_base_class), .init = empty_class_init, .create = empty_class_create}; widget_t* empty_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h) { widget_t* widget = widget_create(parent, TK_REF_VTABLE(empty_class), x, y, w, h); return_value_if_fail(widget != NULL, NULL); empty_class_init(widget); return widget; } widget_t* empty_class_cast(widget_t* widget) { return_value_if_fail(WIDGET_IS_INSTANCE_OF(widget, empty_class), NULL); return widget; } static ret_t base_class_on_keydown(widget_t* widget, key_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_keydown_"); return widget_vtable_on_keydown_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_wheel(widget_t* widget, wheel_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_wheel_"); return widget_vtable_on_wheel_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_multi_gesture(widget_t* widget, multi_gesture_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_multi_gesture_"); return widget_vtable_on_multi_gesture_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_re_translate(widget_t* widget) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_re_translate_"); return widget_vtable_on_re_translate_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_paint_background(widget_t* widget, canvas_t* c) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_paint_background_"); return widget_vtable_on_paint_background_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_paint_self(widget_t* widget, canvas_t* c) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_paint_self_"); return widget_vtable_on_paint_self_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_paint_border(widget_t* widget, canvas_t* c) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_paint_border_"); return widget_vtable_on_paint_border_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_paint_begin(widget_t* widget, canvas_t* c) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_paint_begin_"); return widget_vtable_on_paint_begin_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_paint_end(widget_t* widget, canvas_t* c) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_paint_end_"); return widget_vtable_on_paint_end_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_pointer_down(widget_t* widget, pointer_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_pointer_down_"); return widget_vtable_on_pointer_down_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_pointer_move(widget_t* widget, pointer_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_pointer_move_"); return widget_vtable_on_pointer_move_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_pointer_up(widget_t* widget, pointer_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_pointer_up_"); return widget_vtable_on_pointer_up_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_context_menu(widget_t* widget, pointer_event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_context_menu_"); return widget_vtable_on_context_menu_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_remove_child(widget_t* widget, widget_t* child) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_remove_child_"); return widget_vtable_on_remove_child_by_parent(widget, child, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_attach_parent(widget_t* widget, widget_t* parent) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_attach_parent_"); return widget_vtable_on_attach_parent_by_parent(widget, parent, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_detach_parent(widget_t* widget, widget_t* parent) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_detach_parent_"); return widget_vtable_on_detach_parent_by_parent(widget, parent, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_on_event_before_children(widget_t* widget, event_t* e) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); log_debug("base_class_on_event_before_children_"); return widget_vtable_on_event_before_children_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(base_class)); } static ret_t base_class_init(widget_t* widget) { base_class_t* base_class = BASE_CLASS(widget); return_value_if_fail(base_class != NULL, RET_BAD_PARAMS); base_class->is_base = TRUE; widget_vtable_init_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(base_class)); return RET_OK; } static const char* s_base_class_clone_properties[] = {WIDGET_PROP_NAME, WIDGET_PROP_CLOSABLE, WIDGET_PROP_RADIO}; const char* const* base_class_get_clone_properties() { return s_base_class_clone_properties; } TK_DECL_VTABLE(base_class) = { .size = sizeof(base_class_t), .type = WIDGET_VTABLE_CLASS_TYPE_BASE_CLASS, .clone_properties = s_base_class_clone_properties, .persistent_properties = s_base_class_clone_properties, .pointer_cursor = WIDGET_VTABLE_CLASS_BASE_POINTER_CURSOR, .get_parent_vt = TK_GET_PARENT_VTABLE(all_base_class), .create = base_class_create, .init = base_class_init, .on_keydown = base_class_on_keydown, .on_wheel = base_class_on_wheel, .on_event_before_children = base_class_on_event_before_children, .on_context_menu = base_class_on_context_menu, .on_pointer_up = base_class_on_pointer_up, .on_pointer_down = base_class_on_pointer_down, .on_pointer_move = base_class_on_pointer_move, .on_detach_parent = base_class_on_detach_parent, .on_attach_parent = base_class_on_attach_parent, .on_paint_end = base_class_on_paint_end, .on_paint_begin = base_class_on_paint_begin, .on_paint_border = base_class_on_paint_border, .on_paint_self = base_class_on_paint_self, .on_paint_background = base_class_on_paint_background, .on_re_translate = base_class_on_re_translate, .on_multi_gesture = base_class_on_multi_gesture, .on_remove_child = base_class_on_remove_child, }; widget_t* base_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h) { widget_t* widget = widget_create(parent, TK_REF_VTABLE(base_class), x, y, w, h); return_value_if_fail(widget != NULL, NULL); base_class_init(widget); return widget; } widget_t* base_class_cast(widget_t* widget) { return_value_if_fail(WIDGET_IS_INSTANCE_OF(widget, base_class), NULL); return widget; } static ret_t sun_class_set_prop(widget_t* widget, const char* name, const value_t* v) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_set_prop_"); return widget_vtable_set_prop_by_parent(widget, name, v, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_get_prop(widget_t* widget, const char* name, value_t* v) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_get_prop_"); return widget_vtable_get_prop_by_parent(widget, name, v, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_get_only_active_children(widget_t* widget, darray_t* all_focusable) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_get_only_active_children_"); return widget_vtable_get_only_active_children_by_parent(widget, all_focusable, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_get_offset(widget_t* widget, xy_t* out_x, xy_t* out_y) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_get_offset_"); return widget_vtable_get_offset_by_parent(widget, out_x, out_y, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static widget_t* sun_class_find_target(widget_t* widget, xy_t x, xy_t y) { ret_t ret = RET_OK; widget_t* ret_widget = NULL; sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, NULL); log_debug("sun_class_find_target_"); ret = widget_vtable_find_target_by_parent(widget, x, y, &ret_widget, WIDGET_VTABLE_GET_VTABLE(sun_class)); return ret == RET_NOT_IMPL ? NULL : ret_widget; } static ret_t sun_class_on_add_child(widget_t* widget, widget_t* child) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_add_child_"); return widget_vtable_on_add_child_by_parent(widget, child, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_paint_children(widget_t* widget, canvas_t* c) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_paint_children_"); return widget_vtable_on_paint_children_by_parent(widget, c, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_layout_children(widget_t* widget) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_layout_children_"); return widget_vtable_on_layout_children_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_event(widget_t* widget, event_t* e) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_event_"); return widget_vtable_on_event_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_destroy(widget_t* widget) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_destroy_"); return widget_vtable_on_destroy_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_invalidate(widget_t* widget, const rect_t* r) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_invalidate_"); return widget_vtable_invalidate_by_parent(widget, r, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static bool_t sun_class_is_point_in(widget_t* widget, xy_t x, xy_t y) { ret_t ret = RET_OK; bool_t ret_is_point_in = FALSE; sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, FALSE); log_debug("sun_class_is_point_in_"); ret = widget_vtable_is_point_in_by_parent(widget, x, y, &ret_is_point_in, WIDGET_VTABLE_GET_VTABLE(sun_class)); return ret == RET_NOT_IMPL ? FALSE : ret_is_point_in; } static ret_t sun_class_auto_adjust_size(widget_t* widget) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_auto_adjust_size_"); return widget_vtable_auto_adjust_size_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_get_prop_default_value(widget_t* widget, const char* name, value_t* v) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_get_prop_default_value_"); return widget_vtable_get_prop_default_value_by_parent(widget, name, v, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_copy(widget_t* widget, widget_t* other) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_copy_"); return widget_vtable_on_copy_by_parent(widget, other, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_on_keyup(widget_t* widget, key_event_t* e) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); log_debug("sun_class_on_keyup_"); return widget_vtable_on_keyup_by_parent(widget, e, WIDGET_VTABLE_GET_VTABLE(sun_class)); } static ret_t sun_class_init(widget_t* widget) { sun_class_t* sun_class = SUN_CLASS(widget); return_value_if_fail(sun_class != NULL, RET_BAD_PARAMS); sun_class->is_sun = TRUE; widget_vtable_init_by_parent(widget, WIDGET_VTABLE_GET_VTABLE(sun_class)); return RET_OK; } TK_DECL_VTABLE(sun_class) = {.size = sizeof(sun_class_t), .type = WIDGET_VTABLE_CLASS_TYPE_SUN_CLASS, .get_parent_vt = TK_GET_PARENT_VTABLE(base_class), .create = sun_class_create, .on_keyup = sun_class_on_keyup, .on_event = sun_class_on_event, .on_layout_children = sun_class_on_layout_children, .on_paint_children = sun_class_on_paint_children, .on_add_child = sun_class_on_add_child, .find_target = sun_class_find_target, .get_offset = sun_class_get_offset, .get_only_active_children = sun_class_get_only_active_children, .on_destroy = sun_class_on_destroy, .invalidate = sun_class_invalidate, .on_copy = sun_class_on_copy, .auto_adjust_size = sun_class_auto_adjust_size, .get_prop_default_value = sun_class_get_prop_default_value, .is_point_in = sun_class_is_point_in, .get_prop = sun_class_get_prop, .set_prop = sun_class_set_prop}; widget_t* sun_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h) { widget_t* widget = widget_create(parent, TK_REF_VTABLE(sun_class), x, y, w, h); return_value_if_fail(widget != NULL, NULL); sun_class_init(widget); return widget; } widget_t* sun_class_cast(widget_t* widget) { return_value_if_fail(WIDGET_IS_INSTANCE_OF(widget, sun_class), NULL); return widget; }
0
repos/awtk
repos/awtk/tests/lcd_log.h
/** * File: lcd_log.h * Author: AWTK Develop Team * Brief: log lcd commands. * * Copyright (c) 2018 - 2024 Guangzhou ZHIYUAN Electronics Co.,Ltd. * * this program is distributed in the hope that it will be useful, * but without any warranty; without even the implied warranty of * merchantability or fitness for a particular purpose. see the * license file for more details. * */ /** * history: * ================================================================ * 2018-01-13 li xianjing <[email protected]> created * */ #ifndef LCD_LOG_H #define LCD_LOG_H #include <string> #include "base/lcd.h" using std::string; BEGIN_C_DECLS lcd_t* lcd_log_init(wh_t w, wh_t h); END_C_DECLS ret_t lcd_log_reset(lcd_t* lcd); const string& lcd_log_get_commands(lcd_t* lcd); #endif /*LCD_LOG_H*/
0
repos/awtk
repos/awtk/tests/widget_vtable_class.h
 #ifndef TEST_WIDGET_VTABLE_CLASS_H #define TEST_WIDGET_VTABLE_CLASS_H #include "base/widget.h" #include "tkc/str.h" BEGIN_C_DECLS typedef struct _all_base_class_t { widget_t widget; bool_t init; } all_base_class_t; typedef struct _empty_class_t { all_base_class_t base; bool_t empty; } empty_class_t; typedef struct _base_class_t { all_base_class_t base; bool_t is_base; } base_class_t; typedef struct _sun_class_t { base_class_t base; bool_t is_sun; } sun_class_t; widget_t* all_base_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h); widget_t* empty_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h); widget_t* base_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h); widget_t* sun_class_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h); widget_t* all_base_class_cast(widget_t* widget); widget_t* empty_class_cast(widget_t* widget); widget_t* base_class_cast(widget_t* widget); widget_t* sun_class_cast(widget_t* widget); const char* const* all_base_class_get_clone_properties(); const char* const* base_class_get_clone_properties(); #define ALL_BASE_CLASS(widget) ((all_base_class_t*)(all_base_class_cast(WIDGET(widget)))) #define EMPTY_CLASS(widget) ((empty_class_t*)(empty_class_cast(WIDGET(widget)))) #define BASE_CLASS(widget) ((base_class_t*)(base_class_cast(WIDGET(widget)))) #define SUN_CLASS(widget) ((sun_class_t*)(sun_class_cast(WIDGET(widget)))) #define WIDGET_VTABLE_CLASS_TYPE_ALL_BASE_CLASS "all_base_class" #define WIDGET_VTABLE_CLASS_TYPE_EMPTY_CLASS "empty_class" #define WIDGET_VTABLE_CLASS_TYPE_BASE_CLASS "base_class" #define WIDGET_VTABLE_CLASS_TYPE_SUN_CLASS "sun_class" #define WIDGET_VTABLE_CLASS_POINTER_CURSOR "pointer_cursor" #define WIDGET_VTABLE_CLASS_BASE_POINTER_CURSOR "base_pointer_cursor" /*public for subclass and runtime type check*/ TK_EXTERN_VTABLE(all_base_class); TK_EXTERN_VTABLE(empty_class); TK_EXTERN_VTABLE(base_class); TK_EXTERN_VTABLE(sun_class); END_C_DECLS #endif /*TEST_WIDGET_VTABLE_CLASS_H*/
0
repos/awtk
repos/awtk/tests/action_thread_pool_test.cpp
#include "tkc/utils.h" #include "tkc/thread.h" #include "tkc/platform.h" #include "tkc/action_thread_pool.h" #include <atomic> #define NR 10000 * 100 static std::atomic<int> exec_times; static ret_t qaction_dummy_on_event(qaction_t* action, event_t* e) { if (e->type == EVT_DONE) { log_debug("done\n"); qaction_destroy(action); } return RET_OK; } static ret_t qaction_dummy_exec(qaction_t* action) { exec_times++; log_debug("exec: exec_times=%d\n", exec_times.load()); return RET_OK; } void test() { uint32_t i = 0; action_thread_pool_t* pool = action_thread_pool_create(10, 2); for (i = 0; i < NR; i++) { qaction_t* a = qaction_create(qaction_dummy_exec, NULL, 0); qaction_set_on_event(a, qaction_dummy_on_event); action_thread_pool_exec(pool, a); } sleep_ms(2000); action_thread_pool_destroy(pool); log_debug("exec_times=%d\n", exec_times.load()); } #include "tkc/platform.h" int main(int argc, char* argv[]) { platform_prepare(); test(); return 0; }
0
repos/awtk
repos/awtk/tests/async_call_test.cpp
#include "tkc/utils.h" #include "tkc/thread.h" #include "tkc/async.h" #include "tkc/platform.h" #include "tkc/action_thread_pool.h" static uint32_t fibonacci(uint32_t n) { if (n == 0) { return 0; } else if (n == 1) { return 1; } else { return fibonacci(n - 1) + fibonacci(n - 2); } } static ret_t fibonacci_async_exec(void* ctx) { uint32_t n = (uint32_t)tk_pointer_to_int(ctx); fibonacci(n); log_debug("thread id=%u n=%u\n", (uint32_t)tk_thread_self(), n); return RET_OK; } static ret_t fibonacci_async(uint32_t n) { return async_call(fibonacci_async_exec, NULL, tk_pointer_from_int(n)); } #define NR 10000 void test() { uint32_t i = 0; for (i = 0; i < NR; i++) { uint32_t n = i % 30 + 10; log_debug("%u %u\n", i, n); fibonacci_async(n); } } #include "tkc/platform.h" int main(int argc, char* argv[]) { platform_prepare(); async_call_init_ex(10, 2); test(); async_call_deinit(); return 0; }
0
repos/awtk
repos/awtk/tests/window_design.c
#include "base/window_base.h" #include "base/window.h" widget_t* window_design_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h); image_manager_t* t_image_manager = (image_manager_t*)(((char*)NULL) + 2); locale_info_t* t_locale_info = (locale_info_t*)(((char*)NULL) + 3); assets_manager_t* t_assets_manager = (assets_manager_t*)(((char*)NULL) + 4); font_manager_t* t_font_manager = (font_manager_t*)(((char*)NULL) + 5); ret_t window_design_get_prop(widget_t* widget, const char* name, value_t* v) { return_value_if_fail(widget != NULL && name != NULL && v != NULL, RET_BAD_PARAMS); if (tk_str_eq(name, WIDGET_PROP_DEFAULT_THEME_OBJ)) { value_set_pointer(v, theme()); return RET_OK; } else if (tk_str_eq(name, WIDGET_PROP_IMAGE_MANAGER)) { value_set_pointer(v, t_image_manager); return RET_OK; } else if (tk_str_eq(name, WIDGET_PROP_LOCALE_INFO)) { value_set_pointer(v, t_locale_info); return RET_OK; } else if (tk_str_eq(name, WIDGET_PROP_FONT_MANAGER)) { value_set_pointer(v, t_font_manager); } else if (tk_str_eq(name, WIDGET_PROP_ASSETS_MANAGER)) { value_set_pointer(v, t_assets_manager); return RET_OK; } return RET_NOT_FOUND; } TK_DECL_VTABLE(window_design) = {.type = WIDGET_TYPE_NORMAL_WINDOW, .size = sizeof(window_t), .is_window = TRUE, .get_parent_vt = TK_GET_PARENT_VTABLE(window_base), .create = window_design_create, .on_event = window_base_on_event, .on_paint_self = window_base_on_paint_self, .on_paint_begin = window_base_on_paint_begin, .on_paint_end = window_base_on_paint_end, .get_prop = window_design_get_prop, .on_destroy = window_base_on_destroy}; widget_t* window_design_create(widget_t* parent, xy_t x, xy_t y, wh_t w, wh_t h) { widget_t* widget = window_base_create(parent, TK_REF_VTABLE(window_design), x, y, w, h); window_base_t* base = WINDOW_BASE(widget); return_value_if_fail(base != NULL, NULL); base->image_manager = t_image_manager; base->locale_info = t_locale_info; base->font_manager = t_font_manager; base->assets_manager = t_assets_manager; return widget; }
0
repos/awtk
repos/awtk/tests/recycle_test.cpp
#include "awtk.h" #include "demos/assets.h" static void create_destroy_test1(void) { value_t v1; uint32_t i = 0; widget_t* labels[100]; for (i = 0; i < ARRAY_SIZE(labels); i++) { widget_t* l = label_create(NULL, 10, 20, 30, 40); widget_set_text(l, L"OK"); widget_set_text(l, L"Cancel"); value_set_wstr(&v1, L"label"); widget_set_prop(l, WIDGET_PROP_TEXT, &v1); widget_set_tr_text(l, "name"); widget_set_prop_str(l, WIDGET_PROP_NAME, "name"); labels[i] = l; } for (i = 0; i < ARRAY_SIZE(labels); i++) { widget_t* l = labels[i]; widget_destroy(l); } } static void create_destroy_test(uint32_t nr) { uint32_t i = 0; for (i = 0; i < nr; i++) { create_destroy_test1(); } } int main(void) { system_info_init(APP_SIMULATOR, NULL, "./demos"); tk_init_internal(); assets_init(); tk_init_assets(); create_destroy_test(10000); tk_deinit_internal(); return 0; }
0
repos/awtk
repos/awtk/tests/json_to_ubjson.cpp
#include "tkc/platform.h" #include "conf_io/conf_json.h" #include "conf_io/conf_ubjson.h" #include "tkc/data_reader_file.h" #include "tkc/data_reader_factory.h" #include "tkc/data_writer_file.h" #include "tkc/data_writer_factory.h" static ret_t json_to_ubjson(const char* json_filename, const char* ubjson_filename) { tk_object_t* obj = conf_json_load(json_filename, FALSE); return_value_if_fail(obj != NULL, RET_BAD_PARAMS); conf_ubjson_save_as(obj, ubjson_filename); TK_OBJECT_UNREF(obj); return RET_OK; } static ret_t application_init(void) { data_reader_factory_t* reader_factory = data_reader_factory_create(); data_writer_factory_t* writer_factory = data_writer_factory_create(); data_reader_factory_set(reader_factory); data_reader_factory_register(reader_factory, "file", data_reader_file_create); data_writer_factory_set(writer_factory); data_writer_factory_register(writer_factory, "file", data_writer_file_create); return RET_OK; } static ret_t application_deinit(void) { data_reader_factory_destroy(data_reader_factory()); data_reader_factory_set(NULL); data_writer_factory_destroy(data_writer_factory()); data_writer_factory_set(NULL); return RET_OK; } int main(int argc, char* argv[]) { platform_prepare(); if (argc != 3) { log_info("Usage: %s ubjson_filename json_filename\n", argv[0]); return -1; } application_init(); json_to_ubjson(argv[1], argv[2]); application_deinit(); return 0; }
0
repos/awtk
repos/awtk/tests/allocator_test.c
#include "tkc/mem.h" #include "tkc/mem_allocator_pool.h" #include "tkc/mem_allocator_simple.h" #include "tkc/mem_allocator_composite.h" static void allocator_test_simple(void) { char buff[64]; void* addr1 = NULL; void* addr2 = NULL; mem_allocator_simple_t simple; mem_allocator_t* allocator = mem_allocator_simple_init(&simple, buff, sizeof(buff)); assert(simple.info.buffer == buff); assert(simple.info.size == sizeof(buff)); addr1 = mem_allocator_alloc(allocator, 10, __FUNCTION__, __LINE__); assert(addr1 != NULL); assert(simple.info.used_block_nr == 1); addr2 = mem_allocator_alloc(allocator, 10, __FUNCTION__, __LINE__); assert(addr2 != NULL); assert(simple.info.used_block_nr == 2); addr1 = mem_allocator_realloc(allocator, addr1, 12, __FUNCTION__, __LINE__); assert(simple.info.used_block_nr == 2); addr2 = mem_allocator_realloc(allocator, addr2, 12, __FUNCTION__, __LINE__); assert(simple.info.used_block_nr == 2); mem_allocator_free(allocator, addr1); assert(simple.info.used_block_nr == 1); mem_allocator_free(allocator, addr2); assert(simple.info.used_block_nr == 0); assert(simple.info.used_bytes == 0); assert(simple.info.used_max_block_nr == 2); assert(simple.info.free_list->size == sizeof(buff)); mem_allocator_destroy(allocator); } void allocator_test_basic_ex(mem_allocator_t* allocator) { uint32_t i = 0; void* addr = NULL; void* addrs[100]; for (i = 0; i < ARRAY_SIZE(addrs); i++) { addr = mem_allocator_alloc(allocator, i + 1, __FUNCTION__, __LINE__); assert(addr != NULL); addr = mem_allocator_realloc(allocator, addr, i + 1, __FUNCTION__, __LINE__); assert(addr != NULL); addr = mem_allocator_realloc(allocator, addr, i + 5, __FUNCTION__, __LINE__); assert(addr != NULL); addrs[i] = addr; } for (i = 0; i < ARRAY_SIZE(addrs); i++) { mem_allocator_free(allocator, addrs[i]); } } void allocator_test_basic() { uint32_t i = 0; char buff[102400]; mem_allocator_simple_t simple; mem_allocator_t* allocator = mem_allocator_simple_init(&simple, buff, sizeof(buff)); mem_allocator_pool_t pool; allocator = mem_allocator_pool_init(&pool, allocator, 10, 10, 10, 10, 10); allocator_test_basic_ex(allocator); for (i = 0; i < TK_MEM_POOLS_NR; i++) { assert(pool.pools[i]->used == 0); } mem_allocator_destroy(allocator); return; } void allocator_test_rand_ex(mem_allocator_t* allocator) { uint32_t k = 0; uint32_t i = 0; void* addr = NULL; void* addrs[1000]; for (k = 0; k < 1000; k++) { for (i = 0; i < ARRAY_SIZE(addrs); i++) { uint32_t size = random() % 100; addr = mem_allocator_alloc(allocator, size, __FUNCTION__, __LINE__); assert(addr != NULL); addr = mem_allocator_realloc(allocator, addr, size, __FUNCTION__, __LINE__); assert(addr != NULL); addr = mem_allocator_realloc(allocator, addr, size + 10, __FUNCTION__, __LINE__); assert(addr != NULL); addrs[i] = addr; } for (i = 0; i < ARRAY_SIZE(addrs); i++) { mem_allocator_free(allocator, addrs[i]); } } } void allocator_test_rand() { uint32_t i = 0; char buff[1000 * 1000]; mem_allocator_simple_t simple; mem_allocator_t* allocator = mem_allocator_simple_init(&simple, buff, sizeof(buff)); mem_allocator_pool_t pool; allocator = mem_allocator_pool_init(&pool, allocator, 10, 10, 10, 10, 10); allocator_test_rand_ex(allocator); for (i = 0; i < TK_MEM_POOLS_NR; i++) { assert(pool.pools[i]->used == 0); } mem_allocator_destroy(allocator); } void allocator_test_composite0() { char mem1[100 * 1000]; char mem2[1000 * 1000]; mem_allocator_composite_t composite; mem_allocator_t* allocator = mem_allocator_composite_init(&composite, mem1, sizeof(mem1), mem2, sizeof(mem2), NULL); allocator_test_basic_ex(allocator); allocator_test_rand_ex(allocator); mem_allocator_destroy(allocator); } void allocator_test_composite1() { char mem1[36]; char mem2[64]; char mem3[1280]; char* addr = NULL; mem_allocator_composite_t composite; mem_allocator_t* allocator = mem_allocator_composite_init(&composite, mem1, sizeof(mem1), mem2, sizeof(mem2), mem3, sizeof(mem3), NULL); /*mem1*/ addr = mem_allocator_alloc(allocator, 16, __FUNCTION__, __LINE__); assert(addr >= mem1); assert(addr < (mem1 + sizeof(mem1))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); mem_allocator_free(allocator, addr); addr = mem_allocator_alloc(allocator, 16, __FUNCTION__, __LINE__); assert(addr >= mem1); assert(addr < (mem1 + sizeof(mem1))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); addr = mem_allocator_realloc(allocator, addr, 16, __FUNCTION__, __LINE__); assert(addr >= mem1); assert(addr < (mem1 + sizeof(mem1))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); addr = mem_allocator_realloc(allocator, addr, 16 + 2, __FUNCTION__, __LINE__); assert(addr >= mem1); assert(addr < (mem1 + sizeof(mem1))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); /*mem2*/ addr = mem_allocator_alloc(allocator, 36, __FUNCTION__, __LINE__); assert(addr >= mem2); assert(addr < (mem2 + sizeof(mem2))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); mem_allocator_free(allocator, addr); addr = mem_allocator_alloc(allocator, 36, __FUNCTION__, __LINE__); assert(addr >= mem2); assert(addr < (mem2 + sizeof(mem2))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); addr = mem_allocator_realloc(allocator, addr, 30, __FUNCTION__, __LINE__); assert(addr >= mem2); assert(addr < (mem2 + sizeof(mem2))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); /*mem3*/ addr = mem_allocator_alloc(allocator, 66, __FUNCTION__, __LINE__); assert(addr >= mem3); assert(addr < (mem3 + sizeof(mem3))); mem_allocator_free(allocator, addr); addr = mem_allocator_alloc(allocator, 66, __FUNCTION__, __LINE__); assert(addr >= mem3); assert(addr < (mem3 + sizeof(mem3))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); addr = mem_allocator_realloc(allocator, addr, 66 + 2, __FUNCTION__, __LINE__); assert(addr >= mem3); assert(addr < (mem3 + sizeof(mem3))); assert(mem_allocator_composite_is_valid_addr(allocator, addr)); mem_allocator_destroy(allocator); return; } void allocator_test() { allocator_test_composite1(); allocator_test_basic(); allocator_test_rand(); allocator_test_simple(); }
0
repos/awtk
repos/awtk/tests/state_machine_utest.c
/** * File: state_machine.c * Author: AWTK Develop Team * Brief: state_machine * * Copyright (c) 2019 - 2024 Guangzhou ZHIYUAN Electronics Co.,Ltd. * */ /** * History: * ================================================================ * 2020-12-29 code generated * 2020-12-29 Wang LinFu <[email protected]> created * */ #include "tkc/mem.h" #include "tkc/utils.h" #include "tkc/state_machine.h" typedef enum { EVENT_IDLE, EVENT_A, EVENT_B, EVENT_C, EVENT_D, EVENT_E, EVENT_MAX_NUM, } event_type_t; static bool_t condition_check(void* condition, tk_sm_event_t* event) { str_t* str = ((str_t*)event->data); return tk_str_start_with(str->str, (const char*)condition); } static void on_base_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); ENSURE(tk_str_eq((const char*)old_state_data, "idle")); ENSURE(tk_str_eq((const char*)new_state_data, "idle")); str_append(str, "base"); } static void on_idle_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); ENSURE(tk_str_eq((const char*)old_state_data, "idle")); str_append(str, ",idle"); } static void on_common_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); if (tk_str_eq((char*)old_state_data, (char*)new_state_data)) { str_append(str, "common,"); } else { str_append(str, "]"); } } static void on_special_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); str_append(str, "special,"); } static void on_finish_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); str_append(str, "]"); } static void on_enter_action(void* stateData, tk_sm_event_t* event) { str_t* str = ((str_t*)event->data); str_append(str, ",["); } static void on_exit_action(void* stateData, tk_sm_event_t* event) { if (event) { str_t* str = ((str_t*)event->data); str_append(str, (const char*)stateData); } } static void on_special_exit(void* stateData, tk_sm_event_t* event) { if (event) { str_t* str = ((str_t*)event->data); str_pop(str); str_append(str, "]"); } else { log_debug("deinit"); } } static tk_sm_state_t idle_state, common_state, special_state; static tk_sm_state_t base_state = { .transitions = (tk_sm_transition_t[]){ {EVENT_IDLE, NULL, NULL, on_base_action, &idle_state}, }, .ntransitions = 1, .data = "base", }; static tk_sm_state_t idle_state = { .base_state = &base_state, .transitions = (tk_sm_transition_t[]){ {EVENT_A, "base", condition_check, on_idle_action, &idle_state}, {EVENT_B, "base", condition_check, on_idle_action, &common_state}, }, .ntransitions = 2, .data = "idle", }; static tk_sm_state_t common_state = { .base_state = &base_state, .transitions = (tk_sm_transition_t[]){ {EVENT_C, NULL, NULL, on_common_action, &common_state}, {EVENT_D, NULL, NULL, on_common_action, &special_state}, }, .ntransitions = 3, .data = "common", .entry_action = on_enter_action, .exit_action = on_exit_action, }; static tk_sm_state_t special_state = { .base_state = &base_state, .transitions = (tk_sm_transition_t[]){ {EVENT_E, NULL, NULL, on_special_action, NULL}, {EVENT_MAX_NUM, NULL, NULL, on_special_action, NULL}, }, .ntransitions = 3, .data = "special", .entry_action = on_enter_action, .exit_action = on_special_exit, }; void state_machine_utest_basic(void) { tk_state_machine_t sm; ret_t ret; int eventid = EVENT_IDLE; tk_sm_event_t ev; str_t s; str_t* str = str_init(&s, 32); ret = tk_state_machine_init(&sm, &idle_state); ENSURE(RET_OK == ret); ev.data = str; while (eventid <= EVENT_MAX_NUM) { ev.type = eventid; ret = tk_state_machine_handle(&sm, &ev); ENSURE(RET_OK == ret); eventid++; } ENSURE(tk_state_machine_deinit(&sm, &ev) == RET_OK); log_debug("result: %s", str->str); ENSURE(tk_str_eq(str->str, "base,idle,idle,[common,common],[special,special]")); str_reset(str); return; } #define MAX_STEP 4 static void on_step_exit_action(void* old_state_data, tk_sm_event_t* event, void* new_state_data) { str_t* str = ((str_t*)event->data); str_append(str, "-"); str_append(str, old_state_data); } static void on_step_enter(void* stateData, tk_sm_event_t* event) { str_t* str = ((str_t*)event->data); str_append(str, "+"); str_append(str, stateData); } static void on_step_exit(void* stateData, tk_sm_event_t* event) { if (event) { str_t* str = ((str_t*)event->data); str_append(str, "-"); str_append(str, (const char*)stateData); } else { log_debug("deinit"); } } static tk_sm_state_t step1_state, step2_state, step3_state; static tk_sm_state_t step_init_state = { .transitions = (tk_sm_transition_t[]){ {1, NULL, NULL, NULL, &step1_state}, {MAX_STEP, NULL, NULL, NULL, &step_init_state}, }, .ntransitions = 2, .data = "0,", }; static tk_sm_state_t step1_state = { .base_state = &step_init_state, .transitions = (tk_sm_transition_t[]){ {2, NULL, NULL, NULL, &step2_state}, }, .ntransitions = 1, .transitions_back = (tk_sm_transition_t[]){ {MAX_STEP, NULL, NULL, on_step_exit_action, &step_init_state}, }, .ntransitions_back = 1, .data = "1,", .entry_action = on_step_enter, }; static tk_sm_state_t step2_state = { .base_state = &step_init_state, .transitions = (tk_sm_transition_t[]){ {3, NULL, NULL, NULL, &step3_state}, }, .ntransitions = 1, .transitions_back = (tk_sm_transition_t[]){ {MAX_STEP, NULL, NULL, on_step_exit_action, &step1_state}, }, .ntransitions_back = 1, .data = "2,", .entry_action = on_step_enter, }; static tk_sm_state_t step3_state = { .base_state = &step_init_state, .transitions_back = (tk_sm_transition_t[]){ {MAX_STEP, NULL, NULL, NULL, &step2_state}, }, .ntransitions_back = 1, .data = "3,", .entry_action = on_step_enter, .exit_action = on_step_exit, }; void state_machine_utest_back_transition(void) { tk_state_machine_t sm; ret_t ret; int eventid = 1; tk_sm_event_t ev; str_t s; str_t* str = str_init(&s, 32); ret = tk_state_machine_init(&sm, &step_init_state); ENSURE(RET_OK == ret); ev.data = str; while (eventid < MAX_STEP) { ev.type = eventid; ret = tk_state_machine_handle(&sm, &ev); ENSURE(RET_OK == ret); eventid++; } ev.type = eventid; ret = tk_state_machine_handle(&sm, &ev); ENSURE(RET_OK == ret); ENSURE(tk_state_machine_deinit(&sm, &ev) == RET_OK); log_debug("result: %s", str->str); ENSURE(tk_str_eq(str->str, "+1,+2,+3,-3,-2,-1,")); str_reset(str); return; } void state_machine_utest(void) { state_machine_utest_basic(); state_machine_utest_back_transition(); }
0
repos/awtk
repos/awtk/tests/ubjson_to_json.cpp
#include "tkc/platform.h" #include "conf_io/conf_ubjson.h" #include "conf_io/conf_json.h" #include "tkc/data_reader_file.h" #include "tkc/data_reader_factory.h" #include "tkc/data_writer_file.h" #include "tkc/data_writer_factory.h" static ret_t ubjson_to_json(const char* ubjson_filename, const char* json_filename) { tk_object_t* obj = conf_ubjson_load(ubjson_filename, FALSE); return_value_if_fail(obj != NULL, RET_BAD_PARAMS); conf_json_save_as(obj, json_filename); TK_OBJECT_UNREF(obj); return RET_OK; } static ret_t application_init(void) { data_reader_factory_t* reader_factory = data_reader_factory_create(); data_writer_factory_t* writer_factory = data_writer_factory_create(); data_reader_factory_set(reader_factory); data_reader_factory_register(reader_factory, "file", data_reader_file_create); data_writer_factory_set(writer_factory); data_writer_factory_register(writer_factory, "file", data_writer_file_create); return RET_OK; } static ret_t application_deinit(void) { data_reader_factory_destroy(data_reader_factory()); data_reader_factory_set(NULL); data_writer_factory_destroy(data_writer_factory()); data_writer_factory_set(NULL); return RET_OK; } int main(int argc, char* argv[]) { platform_prepare(); if (argc != 3) { log_info("Usage: %s ubjson_filename json_filename\n", argv[0]); return -1; } application_init(); ubjson_to_json(argv[1], argv[2]); application_deinit(); return 0; }
0
repos/awtk
repos/awtk/tests/common.h
#include "tkc/rect.h" #include "base/bitmap.h" #include "base/events.h" #include "base/widget.h" #ifndef COMMON_H #define COMMON_H void bitmap_dump(bitmap_t* b); void bitmap_check(bitmap_t* b, rect_t* r, rgba_t e); ret_t widget_log_events(void* ctx, event_t* e); void assert_str_eq(const wchar_t* wstr, const char* utf8); ret_t widget_dispatch_click(widget_t* widget); #endif /*COMMON_H*/
0
repos/awtk
repos/awtk/tests/a.c
#if defined(_WIN32) #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT /**< API export macro */ #endif #include "tkc/utils.h" DLL_EXPORT ret_t a_register(void) { log_debug("%s\n", __FUNCTION__); return RET_OK; } DLL_EXPORT ret_t a_unregister(void) { log_debug("%s\n", __FUNCTION__); return RET_OK; }
0
repos/awtk
repos/awtk/tests/format_xml.cpp
#include "conf_io/conf_xml.h" #include "tkc/fs.h" #include "tkc/utils.h" #include "tkc/platform.h" #include "tkc/data_reader_factory.h" #include "tkc/data_writer_factory.h" #include "tkc/data_writer_file.h" #include "tkc/data_writer_wbuffer.h" #include "tkc/data_reader_file.h" #include "tkc/data_reader_mem.h" #include "base/data_reader_asset.h" int main(int argc, char* argv[]) { char in_filename[MAX_PATH + 1] = {0}; char out_filename[MAX_PATH + 1] = {0}; platform_prepare(); data_writer_factory_set(data_writer_factory_create()); data_reader_factory_set(data_reader_factory_create()); data_writer_factory_register(data_writer_factory(), "file", data_writer_file_create); data_reader_factory_register(data_reader_factory(), "file", data_reader_file_create); data_reader_factory_register(data_reader_factory(), "asset", data_reader_asset_create); data_reader_factory_register(data_reader_factory(), "mem", data_reader_mem_create); data_writer_factory_register(data_writer_factory(), "wbuffer", data_writer_wbuffer_create); if (argc >= 3) { tk_object_t* obj = NULL; tk_snprintf(in_filename, sizeof(in_filename) - 1, "file://%s", argv[1]); tk_snprintf(out_filename, sizeof(out_filename) - 1, "file://%s", argv[2]); obj = conf_xml_load(in_filename, FALSE); if (obj != NULL) { conf_xml_save_as(obj, out_filename); TK_OBJECT_UNREF(obj); } } }
0
repos/awtk
repos/awtk/tests/get_time.inc
static uint32_t s_now = 0; static uint32_t timer_get_time() { return s_now; } static void timer_set_time(uint32_t now) { s_now = now; }
0
repos/awtk
repos/awtk/tests/log_change_events.inc
#include <string> using std::string; static string s_log; static ret_t on_change_events(void* ctx, event_t* e) { if (e->type == EVT_VALUE_WILL_CHANGE) { s_log += "will_change;"; } if (e->type == EVT_VALUE_CHANGED) { s_log += "change;"; } return RET_OK; } static ret_t on_value_will_changed_accept(void* ctx, event_t* e) { return RET_OK; } static ret_t on_value_will_changed_abort(void* ctx, event_t* e) { return RET_STOP; } static ret_t on_value_changed(void* ctx, event_t* e) { value_change_event_t* evt = value_change_event_cast(e); value_change_event_t* ret = (value_change_event_t*)ctx; *ret = *evt; return RET_OK; }
0
repos/awtk
repos/awtk/tests/fscript_run.cpp
#include "tkc/fs.h" #include "tkc/mem.h" #include "tkc/async.h" #include "tkc/utils.h" #include "tkc/platform.h" #include "tkc/time_now.h" #include "tkc/fscript.h" #include "tkc/socket_helper.h" #include "tkc/object_default.h" #include "fscript_ext/fscript_ext.h" #include "conf_io/app_conf_init_json.h" #include "tkc/data_reader_factory.h" #include "tkc/data_writer_factory.h" #include "tkc/data_writer_file.h" #include "tkc/data_writer_wbuffer.h" #include "tkc/data_reader_file.h" #include "tkc/data_reader_mem.h" #include "debugger/debugger_global.h" #include "debugger/debugger_server_tcp.h" static ret_t run_fscript(const char* code, uint32_t times, bool_t debug) { value_t v; char buff[64]; uint64_t start = time_now_us(); tk_object_t* obj = object_default_create(); tk_mem_dump(); log_debug("======================\n"); if (times > 1 && !debug) { /*stress test*/ uint32_t i = 0; fscript_t* fscript = fscript_create(obj, code); for (i = 0; i < times; i++) { log_debug("%u times....\n", i); tk_mem_dump(); fscript_exec(fscript, &v); tk_mem_dump(); value_reset(&v); } fscript_destroy(fscript); } else if (debug) { str_t str; fscript_t* fscript = NULL; debugger_global_init(); debugger_server_tcp_init(DEBUGGER_TCP_PORT); debugger_server_tcp_start(); debugger_server_set_single_mode(TRUE); sleep_ms(1000); str_init(&str, 1000); str_set(&str, code); str_append_format(&str, 100, "//code_id(\"%s\")\n", DEBUGGER_DEFAULT_CODE_ID); code = str.str; fscript = fscript_create(obj, code); fscript_exec(fscript, &v); fscript_destroy(fscript); str_reset(&str); debugger_server_tcp_deinit(); debugger_global_deinit(); log_debug("result:%s\n", value_str_ex(&v, buff, sizeof(buff) - 1)); value_reset(&v); } else { fscript_eval(obj, code, &v); value_reset(&v); } TK_OBJECT_UNREF(obj); log_debug("cost: %d us\n", (int)(time_now_us() - start)); return RET_OK; } static ret_t run_fscript_file(const char* filename, uint32_t times, bool_t debug) { uint32_t size = 0; char* code = (char*)file_read(filename, &size); return_value_if_fail(code != NULL, RET_BAD_PARAMS); run_fscript(code, times, debug); TKMEM_FREE(code); return RET_OK; } int main(int argc, char* argv[]) { platform_prepare(); tk_socket_init(); tk_mem_dump(); fscript_global_init(); fscript_ext_init(); tk_mem_dump(); async_call_init(); data_writer_factory_set(data_writer_factory_create()); data_reader_factory_set(data_reader_factory_create()); data_writer_factory_register(data_writer_factory(), "file", data_writer_file_create); data_reader_factory_register(data_reader_factory(), "file", data_reader_file_create); data_reader_factory_register(data_reader_factory(), "mem", data_reader_mem_create); data_writer_factory_register(data_writer_factory(), "wbuffer", data_writer_wbuffer_create); tk_mem_dump(); app_conf_init_json("runFScript"); tk_mem_dump(); if (argc < 2) { printf("Usage: %s script [debug|times]\n", argv[0]); printf("Usage: %s @filename [debug|times\n", argv[0]); return 0; } else { const char* code = argv[1]; uint32_t times = argc > 2 ? tk_atoi(argv[2]) : 1; bool_t debug = argc > 2 ? tk_str_eq(argv[2], "debug") : FALSE; if (*code == '@') { run_fscript_file(code + 1, times, debug); } else { run_fscript(code, times, debug); } } tk_mem_dump(); app_conf_set_int("foobar", 1); app_conf_save(); data_writer_factory_destroy(data_writer_factory()); data_reader_factory_destroy(data_reader_factory()); data_writer_factory_set(NULL); data_reader_factory_set(NULL); fscript_global_deinit(); tk_socket_deinit(); async_call_deinit(); return 0; }
0
repos/awtk
repos/awtk/tests/b.c
#if defined(_WIN32) #define DLL_EXPORT __declspec(dllexport) #else #define DLL_EXPORT /**< API export macro */ #endif #include "tkc/utils.h" DLL_EXPORT ret_t b_register(void) { log_debug("%s\n", __FUNCTION__); return RET_OK; } DLL_EXPORT ret_t b_unregister(void) { log_debug("%s\n", __FUNCTION__); return RET_OK; }
0
repos/awtk
repos/awtk/tests/action_thread_test.cpp
#define WIN32_LEAN_AND_MEAN 1 #include "tkc/utils.h" #include "tkc/thread.h" #include "tkc/platform.h" #include "tkc/action_thread.h" #define NR 10000 static uint32_t exec_times = 0; static ret_t qaction_dummy_on_event(qaction_t* action, event_t* e) { if (e->type == EVT_DONE) { log_debug("done\n"); qaction_destroy(action); } return RET_OK; } static ret_t qaction_dummy_exec(qaction_t* action) { exec_times++; log_debug("exec: exec_times=%u\n", exec_times); return RET_OK; } static ret_t on_idle(void* ctx, action_thread_t* thread) { log_debug("on_idle\n"); return RET_QUIT; } static ret_t on_quit(void* ctx, action_thread_t* thread) { log_debug("on_quit\n"); return RET_OK; } void test() { uint32_t i = 0; action_thread_t* thread1 = action_thread_create(); action_thread_set_on_idle(thread1, on_idle, NULL); action_thread_set_on_quit(thread1, on_quit, NULL); for (i = 0; i < NR; i++) { qaction_t* a = qaction_create(qaction_dummy_exec, NULL, 0); qaction_set_on_event(a, qaction_dummy_on_event); action_thread_exec(thread1, a); } sleep_ms(2000); action_thread_destroy(thread1); log_debug("exec_times=%u\n", exec_times); } #include "tkc/platform.h" int main(int argc, char* argv[]) { platform_prepare(); test(); return 0; }
0
repos/awtk
repos/awtk/tests/font_dummy.c
#include "tkc/utils.h" #include "font_dummy.h" static glyph_t s_glyph_0; static glyph_t s_glyph_1; static glyph_t s_glyph_2; static uint8_t glyph_data[] = {0x1, 0x2, 0x3, 0x4, 0x5}; typedef struct _font_dummy_t { font_t base; uint16_t font_size; } font_dummy_t; ret_t font_dummy_init() { s_glyph_0.x = 0; s_glyph_0.y = -10; s_glyph_0.w = 10; s_glyph_0.h = 10; s_glyph_0.data = glyph_data; s_glyph_1.x = 0; s_glyph_1.y = -11; s_glyph_1.w = 11; s_glyph_1.h = 11; s_glyph_1.data = glyph_data; s_glyph_2.x = 0; s_glyph_2.y = -5; s_glyph_2.w = 12; s_glyph_2.h = 12; s_glyph_2.data = glyph_data; return RET_OK; } static ret_t font_dummy_get_glyph(font_t* f, wchar_t chr, uint16_t font_size, glyph_t* g) { if (chr == 0) { *g = s_glyph_0; } else if (chr == 1) { *g = s_glyph_1; } else { *g = s_glyph_2; } (void)font_size; return RET_OK; } static bool_t font_dummy_match(font_t* f, const char* name, uint16_t font_size) { font_dummy_t* font = (font_dummy_t*)f; return tk_str_cmp(f->name, name) == 0 && font->font_size == font_size; } static font_dummy_t s_font_default; font_t* font_dummy_default(const char* name, uint16_t size) { memset(&s_font_default, 0x00, sizeof(font_dummy_t)); s_font_default.font_size = size; s_font_default.base.match = font_dummy_match; s_font_default.base.get_glyph = font_dummy_get_glyph; tk_strncpy(s_font_default.base.name, name, TK_NAME_LEN); return &s_font_default.base; } static font_t* font_loader_load_default(font_loader_t* loader, const char* name, const uint8_t* buff, uint32_t size) { if (tk_str_eq(name, "default")) { return font_dummy_default(name, size); } else { return NULL; } } static font_loader_t s_default_font_loader = {.load = font_loader_load_default}; font_loader_t* default_font_loader(void) { return &s_default_font_loader; } static font_dummy_t s_font0; font_t* font_dummy_0(const char* name, uint16_t size) { memset(&s_font0, 0x00, sizeof(font_dummy_t)); s_font0.font_size = size; s_font0.base.match = font_dummy_match; s_font0.base.get_glyph = font_dummy_get_glyph; tk_strncpy(s_font0.base.name, name, TK_NAME_LEN); return &s_font0.base; } static font_dummy_t s_font1; font_t* font_dummy_1(const char* name, uint16_t size) { memset(&s_font1, 0x00, sizeof(font_dummy_t)); s_font1.font_size = size; s_font1.base.match = font_dummy_match; s_font1.base.get_glyph = font_dummy_get_glyph; tk_strncpy(s_font1.base.name, name, TK_NAME_LEN); return &s_font1.base; } static font_dummy_t s_font2; font_t* font_dummy_2(const char* name, uint16_t size) { memset(&s_font2, 0x00, sizeof(font_dummy_t)); s_font2.font_size = size; s_font2.base.match = font_dummy_match; s_font2.base.get_glyph = font_dummy_get_glyph; tk_strncpy(s_font2.base.name, name, TK_NAME_LEN); return &s_font2.base; }
0
repos/awtk
repos/awtk/tests/app_conf_multi_threads.cpp
#include "awtk.h" #include "tkc/data_reader_factory.h" #include "tkc/data_writer_factory.h" #include "tkc/data_writer_file.h" #include "tkc/data_writer_wbuffer.h" #include "tkc/data_reader_file.h" #include "tkc/data_reader_mem.h" #include "base/data_reader_asset.h" #include "conf_io/app_conf_init_json.h" #define NR 10000 static void* work_thread(void* args) { uint32_t i = 0; uint32_t id = (uint32_t)tk_pointer_to_int(args); log_debug("%u start\n", id); for (i = 0; i < NR; i++) { app_conf_set_int("test.int", i); app_conf_set_double("test.int", i); app_conf_set_str("test.str", "foo"); log_debug("%u run %u\n", id, i); } return NULL; } int main(int argc, char* argv[]) { uint32_t i = 0; tk_thread_t* threads[100]; platform_prepare(); data_writer_factory_set(data_writer_factory_create()); data_reader_factory_set(data_reader_factory_create()); data_writer_factory_register(data_writer_factory(), "file", data_writer_file_create); data_reader_factory_register(data_reader_factory(), "file", data_reader_file_create); data_reader_factory_register(data_reader_factory(), "asset", data_reader_asset_create); data_reader_factory_register(data_reader_factory(), "mem", data_reader_mem_create); data_writer_factory_register(data_writer_factory(), "wbuffer", data_writer_wbuffer_create); app_conf_init_json("app_conf_multi_thread"); app_conf_set_int("test.int", 100); app_conf_save(); for (i = 0; i < ARRAY_SIZE(threads); i++) { threads[i] = tk_thread_create(work_thread, tk_pointer_from_int(i)); tk_thread_start(threads[i]); } for (i = 0; i < ARRAY_SIZE(threads); i++) { tk_thread_join(threads[i]); tk_thread_destroy(threads[i]); log_debug("%u stop\n", i); } return 0; }
0
repos/awtk
repos/awtk/tests/test_obj.inc
#include "tkc/mem.h" #include "tkc/utils.h" #include "mvvm/base/model_delegate.h" #include "mvvm/base/view_model_normal.h" typedef struct _test_obj_t { int8_t i8; int16_t i16; int32_t i32; int64_t i64; uint8_t u8; uint16_t u16; uint32_t u32; uint64_t u64; float_t f; float f32; double_t f64; char* str; bool_t b; char data[32]; int32_t save_count; } test_obj_t; static test_obj_t* test_obj_create(void) { return TKMEM_ZALLOC(test_obj_t); } #define MAX_SAVE_COUNT 100 static ret_t test_obj_save(test_obj_t* obj, const char* args) { int delta = args != NULL ? tk_atoi(args) : 1; if (obj->save_count < MAX_SAVE_COUNT) { obj->save_count += delta; return RET_OK; } else { return RET_FAIL; } } static bool_t test_obj_can_save(test_obj_t* obj, const char* args) { int delta = args != NULL ? tk_atoi(args) : 1; return (obj->save_count + delta) <= MAX_SAVE_COUNT; } static ret_t test_obj_get_data(test_obj_t* obj, value_t* v) { value_set_str(v, obj->data); return RET_OK; } static ret_t test_obj_get_save_count(test_obj_t* obj, value_t* v) { value_set_int(v, obj->save_count); return RET_OK; } static ret_t test_obj_set_data(test_obj_t* obj, value_t* v) { tk_strncpy(obj->data, value_str(v), sizeof(obj->data) - 1); return RET_OK; } static ret_t test_obj_destroy(test_obj_t* obj) { TKMEM_FREE(obj->str); TKMEM_FREE(obj); return RET_OK; } static model_t* test_obj_create_model(void) { test_obj_t* obj = test_obj_create(); model_t* model = model_delegate_create(obj, (tk_destroy_t)test_obj_destroy); MODEL_SIMPLE_PROP(model, "i8", VALUE_TYPE_INT8, &(obj->i8)); MODEL_SIMPLE_PROP(model, "i16", VALUE_TYPE_INT16, &(obj->i16)); MODEL_SIMPLE_PROP(model, "i32", VALUE_TYPE_INT32, &(obj->i32)); MODEL_SIMPLE_PROP(model, "i64", VALUE_TYPE_INT64, &(obj->i64)); MODEL_SIMPLE_PROP(model, "u8", VALUE_TYPE_UINT8, &(obj->u8)); MODEL_SIMPLE_PROP(model, "u16", VALUE_TYPE_UINT16, &(obj->u16)); MODEL_SIMPLE_PROP(model, "u32", VALUE_TYPE_UINT32, &(obj->u32)); MODEL_SIMPLE_PROP(model, "u64", VALUE_TYPE_UINT64, &(obj->u64)); MODEL_SIMPLE_PROP(model, "f", VALUE_TYPE_FLOAT, &(obj->f)); MODEL_SIMPLE_PROP(model, "f32", VALUE_TYPE_FLOAT32, &(obj->f32)); MODEL_SIMPLE_PROP(model, "f64", VALUE_TYPE_DOUBLE, &(obj->f64)); MODEL_SIMPLE_PROP(model, "b", VALUE_TYPE_BOOL, &(obj->b)); MODEL_PROP(model, "data", test_obj_get_data, test_obj_set_data); MODEL_PROP(model, "save_count", test_obj_get_save_count, NULL); MODEL_COMMAND(model, "save", test_obj_save, test_obj_can_save); /*test repeat*/ MODEL_PROP(model, "data", test_obj_get_data, test_obj_set_data); MODEL_COMMAND(model, "save", test_obj_save, test_obj_can_save); return model; } static view_model_t* test_obj_create_view_model(void) { model_t* model = test_obj_create_model(); return view_model_normal_create(model); }
0
repos/awtk
repos/awtk/tests/font_dummy.h
#ifndef TK_FONT_DUMMY_H #define TK_FONT_DUMMY_H #include "base/font.h" #include "base/font_loader.h" BEGIN_C_DECLS ret_t font_dummy_init(); font_t* font_dummy_0(const char* name, uint16_t size); font_t* font_dummy_1(const char* name, uint16_t size); font_t* font_dummy_2(const char* name, uint16_t size); font_t* font_dummy_default(const char* name, uint16_t size); font_loader_t* default_font_loader(void); END_C_DECLS #endif /*TK_FONT_DUMMY_H*/
0
repos/awtk
repos/awtk/tests/waitable_action_queue_test.cpp
#include "tkc/utils.h" #include "tkc/thread.h" #include "tkc/waitable_action_queue.h" #define NR 100000 static uint32_t exec_times = 0; static waitable_action_queue_t* q; static ret_t qaction_exec_dummy(qaction_t* req) { exec_times++; return RET_OK; } static void* consumer(void* args) { qaction_t* action = NULL; log_debug("consumer start\n"); while (waitable_action_queue_recv(q, &action, 3000) == RET_OK) { qaction_exec(action); qaction_destroy(action); } log_debug("consumer done\n"); return NULL; } static void* producer(void* args) { uint32_t i = 0; uint32_t id = tk_pointer_to_int(args); log_debug("p=%u start\n", id); for (i = 0; i < NR; i++) { qaction_t* a = qaction_create(qaction_exec_dummy, NULL, 0); if (waitable_action_queue_send(q, a, 3000) != RET_OK) { log_debug("send timeout\n"); break; } } log_debug("p=%u done\n", id); return NULL; } void test() { tk_thread_t* c = tk_thread_create(consumer, NULL); tk_thread_t* p1 = tk_thread_create(producer, tk_pointer_from_int(1)); tk_thread_t* p2 = tk_thread_create(producer, tk_pointer_from_int(2)); tk_thread_t* p3 = tk_thread_create(producer, tk_pointer_from_int(3)); tk_thread_t* p4 = tk_thread_create(producer, tk_pointer_from_int(4)); q = waitable_action_queue_create(9); tk_thread_start(c); tk_thread_start(p1); tk_thread_start(p2); tk_thread_start(p3); tk_thread_start(p4); tk_thread_join(c); tk_thread_join(p1); tk_thread_join(p2); tk_thread_join(p3); tk_thread_join(p4); tk_thread_destroy(c); tk_thread_destroy(p1); tk_thread_destroy(p2); tk_thread_destroy(p3); tk_thread_destroy(p4); waitable_action_queue_destroy(q); log_debug("exec_times=%u \n", exec_times); } #include "tkc/platform.h" int main(int argc, char* argv[]) { platform_prepare(); test(); return 0; }
0
repos/awtk
repos/awtk/tests/waitable_ring_buffer_test.cpp
#include "tkc/utils.h" #include "tkc/thread.h" #include "tkc/action_queue.h" #include "tkc/waitable_ring_buffer.h" #define NR 100000 static uint32_t exec_times = 0; static waitable_ring_buffer_t* q; static ret_t qaction_exec_dummy(qaction_t* req) { exec_times++; log_debug("exec_times:%u\n", exec_times); return RET_OK; } static void* consumer(void* args) { qaction_t* action = NULL; log_debug("consumer start\n"); while (waitable_ring_buffer_read(q, &action, sizeof(action), 3000) == RET_OK) { qaction_exec(action); qaction_destroy(action); } log_debug("consumer done\n"); return NULL; } static void* producer(void* args) { uint32_t i = 0; uint32_t id = tk_pointer_to_int(args); log_debug("p=%u start\n", id); for (i = 0; i < NR; i++) { qaction_t* a = qaction_create(qaction_exec_dummy, NULL, 0); if (waitable_ring_buffer_write(q, &a, sizeof(a), 3000) != RET_OK) { log_debug("write timeout\n"); break; } } log_debug("p=%u done\n", id); return NULL; } void test() { tk_thread_t* c = tk_thread_create(consumer, NULL); tk_thread_t* p1 = tk_thread_create(producer, tk_pointer_from_int(1)); tk_thread_t* p2 = tk_thread_create(producer, tk_pointer_from_int(2)); tk_thread_t* p3 = tk_thread_create(producer, tk_pointer_from_int(3)); tk_thread_t* p4 = tk_thread_create(producer, tk_pointer_from_int(4)); q = waitable_ring_buffer_create(9, sizeof(void*)); tk_thread_start(c); tk_thread_start(p1); tk_thread_start(p2); tk_thread_start(p3); tk_thread_start(p4); tk_thread_join(c); tk_thread_join(p1); tk_thread_join(p2); tk_thread_join(p3); tk_thread_join(p4); tk_thread_destroy(c); tk_thread_destroy(p1); tk_thread_destroy(p2); tk_thread_destroy(p3); tk_thread_destroy(p4); waitable_ring_buffer_destroy(q); log_debug("exec_times=%u \n", exec_times); } #include "tkc/platform.h" int main(int argc, char* argv[]) { platform_prepare(); test(); return 0; }