('sys','statement_performance_analyzer','PROCEDURE','statement_performance_analyzer','SQL','CONTAINS_SQL','NO','INVOKER','\n        IN in_action ENUM(\'snapshot\', \'overall\', \'delta\', \'create_table\', \'create_tmp\', \'save\', \'cleanup\'),\n        IN in_table VARCHAR(129),\n        IN in_views SET (\'with_runtimes_in_95th_percentile\', \'analysis\', \'with_errors_or_warnings\', \'with_full_table_scans\', \'with_sorting\', \'with_temp_tables\', \'custom\')\n    ','','BEGIN\n    DECLARE v_table_exists, v_tmp_digests_table_exists, v_custom_view_exists ENUM(\'\', \'BASE TABLE\', \'VIEW\', \'TEMPORARY\') DEFAULT \'\';\n    DECLARE v_this_thread_enabled ENUM(\'YES\', \'NO\');\n    DECLARE v_force_new_snapshot BOOLEAN DEFAULT FALSE;\n    DECLARE v_digests_table VARCHAR(133);\n    DECLARE v_quoted_table, v_quoted_custom_view VARCHAR(133) DEFAULT \'\';\n    DECLARE v_table_db, v_table_name, v_custom_db, v_custom_name VARCHAR(64);\n    DECLARE v_digest_table_template, v_checksum_ref, v_checksum_table text;\n    DECLARE v_sql longtext;\n    DECLARE v_error_msg VARCHAR(128);\n    SELECT INSTRUMENTED INTO v_this_thread_enabled FROM performance_schema.threads WHERE PROCESSLIST_ID = CONNECTION_ID();\n    IF (v_this_thread_enabled = \'YES\') THEN\n        CALL sys.ps_setup_disable_thread(CONNECTION_ID());\n    END IF;\n    SET @log_bin := @@sql_log_bin;\n    IF (@log_bin = 1) THEN\n        SET sql_log_bin = 0;\n    END IF;\n    IF (@sys.statement_performance_analyzer.limit IS NULL) THEN\n        SET @sys.statement_performance_analyzer.limit = sys.sys_get_config(\'statement_performance_analyzer.limit\', \'100\');\n    END IF;\n    IF (@sys.debug IS NULL) THEN\n        SET @sys.debug                                = sys.sys_get_config(\'debug\'                               , \'OFF\');\n    END IF;\n    IF (in_table = \'NOW()\') THEN\n        SET v_force_new_snapshot = TRUE,\n            in_table             = NULL;\n    ELSEIF (in_table IS NOT NULL) THEN\n        IF (NOT INSTR(in_table, \'.\')) THEN\n            SET v_table_db   = DATABASE(),\n                v_table_name = in_table;\n        ELSE\n            SET v_table_db   = SUBSTRING_INDEX(in_table, \'.\', 1);\n            SET v_table_name = SUBSTRING(in_table, CHAR_LENGTH(v_table_db)+2);\n        END IF;\n        SET v_quoted_table = CONCAT(\'`\', v_table_db, \'`.`\', v_table_name, \'`\');\n        IF (@sys.debug = \'ON\') THEN\n            SELECT CONCAT(\'in_table is: db = \'\'\', v_table_db, \'\'\', table = \'\'\', v_table_name, \'\'\'\') AS \'Debug\';\n        END IF;\n        IF (v_table_db = DATABASE() AND (v_table_name = \'tmp_digests\' OR v_table_name = \'tmp_digests_delta\')) THEN\n            SET v_error_msg = CONCAT(\'Invalid value for in_table: \', v_quoted_table, \' is reserved table name.\');\n            SIGNAL SQLSTATE \'45000\'\n               SET MESSAGE_TEXT = v_error_msg;\n        END IF;\n        CALL sys.table_exists(v_table_db, v_table_name, v_table_exists);\n        IF (@sys.debug = \'ON\') THEN\n            SELECT CONCAT(\'v_table_exists = \', v_table_exists) AS \'Debug\';\n        END IF;\n        IF (v_table_exists = \'BASE TABLE\') THEN\n            SET v_checksum_ref = (\n                 SELECT GROUP_CONCAT(CONCAT(COLUMN_NAME, COLUMN_TYPE) ORDER BY ORDINAL_POSITION) AS Checksum\n                   FROM information_schema.COLUMNS\n                  WHERE TABLE_SCHEMA = \'performance_schema\' AND TABLE_NAME = \'events_statements_summary_by_digest\'\n                ),\n                v_checksum_table = (\n                 SELECT GROUP_CONCAT(CONCAT(COLUMN_NAME, COLUMN_TYPE) ORDER BY ORDINAL_POSITION) AS Checksum\n                   FROM information_schema.COLUMNS\n                  WHERE TABLE_SCHEMA = v_table_db AND TABLE_NAME = v_table_name\n                );\n            IF (v_checksum_ref <> v_checksum_table) THEN\n                SET v_error_msg = CONCAT(\'The table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 93, CONCAT(\'...\', SUBSTRING(v_quoted_table, -90)), v_quoted_table),\n                                         \' has the wrong definition.\');\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        END IF;\n    END IF;\n    IF (in_views IS NULL OR in_views = \'\') THEN\n        SET in_views = \'with_runtimes_in_95th_percentile,analysis,with_errors_or_warnings,with_full_table_scans,with_sorting,with_temp_tables\';\n    END IF;\n    CALL sys.table_exists(DATABASE(), \'tmp_digests\', v_tmp_digests_table_exists);\n    IF (@sys.debug = \'ON\') THEN\n        SELECT CONCAT(\'v_tmp_digests_table_exists = \', v_tmp_digests_table_exists) AS \'Debug\';\n    END IF;\n    CASE\n        WHEN in_action IN (\'snapshot\', \'overall\') THEN\n            IF (in_table IS NOT NULL) THEN\n                IF (NOT v_table_exists IN (\'TEMPORARY\', \'BASE TABLE\')) THEN\n                    SET v_error_msg = CONCAT(\'The \', in_action, \' action requires in_table to be NULL, NOW() or specify an existing table.\',\n                                             \' The table \',\n                                             IF(CHAR_LENGTH(v_quoted_table) > 16, CONCAT(\'...\', SUBSTRING(v_quoted_table, -13)), v_quoted_table),\n                                             \' does not exist.\');\n                    SIGNAL SQLSTATE \'45000\'\n                       SET MESSAGE_TEXT = v_error_msg;\n                END IF;\n            END IF;\n        WHEN in_action IN (\'delta\', \'save\') THEN\n            IF (v_table_exists NOT IN (\'TEMPORARY\', \'BASE TABLE\')) THEN\n                SET v_error_msg = CONCAT(\'The \', in_action, \' action requires in_table to be an existing table.\',\n                                         IF(in_table IS NOT NULL, CONCAT(\' The table \',\n                                             IF(CHAR_LENGTH(v_quoted_table) > 39, CONCAT(\'...\', SUBSTRING(v_quoted_table, -36)), v_quoted_table),\n                                             \' does not exist.\'), \'\'));\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n            IF (in_action = \'delta\' AND v_tmp_digests_table_exists <> \'TEMPORARY\') THEN\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = \'An existing snapshot generated with the statement_performance_analyzer() must exist.\';\n            END IF;\n        WHEN in_action = \'create_tmp\' THEN\n            IF (v_table_exists = \'TEMPORARY\') THEN\n                SET v_error_msg = CONCAT(\'Cannot create the table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 72, CONCAT(\'...\', SUBSTRING(v_quoted_table, -69)), v_quoted_table),\n                                         \' as it already exists.\');\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        WHEN in_action = \'create_table\' THEN\n            IF (v_table_exists <> \'\') THEN\n                SET v_error_msg = CONCAT(\'Cannot create the table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 52, CONCAT(\'...\', SUBSTRING(v_quoted_table, -49)), v_quoted_table),\n                                         \' as it already exists\',\n                                         IF(v_table_exists = \'TEMPORARY\', \' as a temporary table.\', \'.\'));\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        WHEN in_action = \'cleanup\' THEN\n            DO (SELECT 1);\n        ELSE\n            SIGNAL SQLSTATE \'45000\'\n               SET MESSAGE_TEXT = \'Unknown action. Supported actions are: cleanup, create_table, create_tmp, delta, overall, save, snapshot\';\n    END CASE;\n    SET v_digest_table_template = \'CREATE %{TEMPORARY}TABLE %{TABLE_NAME} (\n  `SCHEMA_NAME` varchar(64) DEFAULT NULL,\n  `DIGEST` varchar(32) DEFAULT NULL,\n  `DIGEST_TEXT` longtext,\n  `COUNT_STAR` bigint(20) unsigned NOT NULL,\n  `SUM_TIMER_WAIT` bigint(20) unsigned NOT NULL,\n  `MIN_TIMER_WAIT` bigint(20) unsigned NOT NULL,\n  `AVG_TIMER_WAIT` bigint(20) unsigned NOT NULL,\n  `MAX_TIMER_WAIT` bigint(20) unsigned NOT NULL,\n  `SUM_LOCK_TIME` bigint(20) unsigned NOT NULL,\n  `SUM_ERRORS` bigint(20) unsigned NOT NULL,\n  `SUM_WARNINGS` bigint(20) unsigned NOT NULL,\n  `SUM_ROWS_AFFECTED` bigint(20) unsigned NOT NULL,\n  `SUM_ROWS_SENT` bigint(20) unsigned NOT NULL,\n  `SUM_ROWS_EXAMINED` bigint(20) unsigned NOT NULL,\n  `SUM_CREATED_TMP_DISK_TABLES` bigint(20) unsigned NOT NULL,\n  `SUM_CREATED_TMP_TABLES` bigint(20) unsigned NOT NULL,\n  `SUM_SELECT_FULL_JOIN` bigint(20) unsigned NOT NULL,\n  `SUM_SELECT_FULL_RANGE_JOIN` bigint(20) unsigned NOT NULL,\n  `SUM_SELECT_RANGE` bigint(20) unsigned NOT NULL,\n  `SUM_SELECT_RANGE_CHECK` bigint(20) unsigned NOT NULL,\n  `SUM_SELECT_SCAN` bigint(20) unsigned NOT NULL,\n  `SUM_SORT_MERGE_PASSES` bigint(20) unsigned NOT NULL,\n  `SUM_SORT_RANGE` bigint(20) unsigned NOT NULL,\n  `SUM_SORT_ROWS` bigint(20) unsigned NOT NULL,\n  `SUM_SORT_SCAN` bigint(20) unsigned NOT NULL,\n  `SUM_NO_INDEX_USED` bigint(20) unsigned NOT NULL,\n  `SUM_NO_GOOD_INDEX_USED` bigint(20) unsigned NOT NULL,\n  `FIRST_SEEN` timestamp NULL DEFAULT NULL,\n  `LAST_SEEN` timestamp NULL DEFAULT NULL,\n  INDEX (SCHEMA_NAME, DIGEST)\n) DEFAULT CHARSET=utf8\';\n    IF (v_force_new_snapshot\n           OR in_action = \'snapshot\'\n           OR (in_action = \'overall\' AND in_table IS NULL)\n           OR (in_action = \'save\' AND v_tmp_digests_table_exists <> \'TEMPORARY\')\n       ) THEN\n        IF (v_tmp_digests_table_exists = \'TEMPORARY\') THEN\n            IF (@sys.debug = \'ON\') THEN\n                SELECT \'DROP TEMPORARY TABLE IF EXISTS tmp_digests\' AS \'Debug\';\n            END IF;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digests;\n        END IF;\n        CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'TEMPORARY \'), \'%{TABLE_NAME}\', \'tmp_digests\'));\n        SET v_sql = CONCAT(\'INSERT INTO tmp_digests SELECT * FROM \',\n                           IF(in_table IS NULL OR in_action = \'save\', \'performance_schema.events_statements_summary_by_digest\', v_quoted_table));\n        CALL sys.execute_prepared_stmt(v_sql);\n    END IF;\n    IF (in_action IN (\'create_table\', \'create_tmp\')) THEN\n        IF (in_action = \'create_table\') THEN\n            CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'\'), \'%{TABLE_NAME}\', v_quoted_table));\n        ELSE\n            CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'TEMPORARY \'), \'%{TABLE_NAME}\', v_quoted_table));\n        END IF;\n    ELSEIF (in_action = \'save\') THEN\n        CALL sys.execute_prepared_stmt(CONCAT(\'DELETE FROM \', v_quoted_table));\n        CALL sys.execute_prepared_stmt(CONCAT(\'INSERT INTO \', v_quoted_table, \' SELECT * FROM tmp_digests\'));\n    ELSEIF (in_action = \'cleanup\') THEN\n        DROP TEMPORARY TABLE IF EXISTS sys.tmp_digests;\n        DROP TEMPORARY TABLE IF EXISTS sys.tmp_digests_delta;\n    ELSEIF (in_action IN (\'overall\', \'delta\')) THEN\n        IF (in_action = \'overall\') THEN\n            IF (in_table IS NULL) THEN\n                SET v_digests_table = \'tmp_digests\';\n            ELSE\n                SET v_digests_table = v_quoted_table;\n            END IF;\n        ELSE\n            SET v_digests_table = \'tmp_digests_delta\';\n            DROP TEMPORARY TABLE IF EXISTS tmp_digests_delta;\n            CREATE TEMPORARY TABLE tmp_digests_delta LIKE tmp_digests;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digests_delta\nSELECT `d_end`.`SCHEMA_NAME`,\n       `d_end`.`DIGEST`,\n       `d_end`.`DIGEST_TEXT`,\n       `d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0) AS \'\'COUNT_STAR\'\',\n       `d_end`.`SUM_TIMER_WAIT`-IFNULL(`d_start`.`SUM_TIMER_WAIT`, 0) AS \'\'SUM_TIMER_WAIT\'\',\n       `d_end`.`MIN_TIMER_WAIT` AS \'\'MIN_TIMER_WAIT\'\',\n       IFNULL((`d_end`.`SUM_TIMER_WAIT`-IFNULL(`d_start`.`SUM_TIMER_WAIT`, 0))/NULLIF(`d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0), 0), 0) AS \'\'AVG_TIMER_WAIT\'\',\n       `d_end`.`MAX_TIMER_WAIT` AS \'\'MAX_TIMER_WAIT\'\',\n       `d_end`.`SUM_LOCK_TIME`-IFNULL(`d_start`.`SUM_LOCK_TIME`, 0) AS \'\'SUM_LOCK_TIME\'\',\n       `d_end`.`SUM_ERRORS`-IFNULL(`d_start`.`SUM_ERRORS`, 0) AS \'\'SUM_ERRORS\'\',\n       `d_end`.`SUM_WARNINGS`-IFNULL(`d_start`.`SUM_WARNINGS`, 0) AS \'\'SUM_WARNINGS\'\',\n       `d_end`.`SUM_ROWS_AFFECTED`-IFNULL(`d_start`.`SUM_ROWS_AFFECTED`, 0) AS \'\'SUM_ROWS_AFFECTED\'\',\n       `d_end`.`SUM_ROWS_SENT`-IFNULL(`d_start`.`SUM_ROWS_SENT`, 0) AS \'\'SUM_ROWS_SENT\'\',\n       `d_end`.`SUM_ROWS_EXAMINED`-IFNULL(`d_start`.`SUM_ROWS_EXAMINED`, 0) AS \'\'SUM_ROWS_EXAMINED\'\',\n       `d_end`.`SUM_CREATED_TMP_DISK_TABLES`-IFNULL(`d_start`.`SUM_CREATED_TMP_DISK_TABLES`, 0) AS \'\'SUM_CREATED_TMP_DISK_TABLES\'\',\n       `d_end`.`SUM_CREATED_TMP_TABLES`-IFNULL(`d_start`.`SUM_CREATED_TMP_TABLES`, 0) AS \'\'SUM_CREATED_TMP_TABLES\'\',\n       `d_end`.`SUM_SELECT_FULL_JOIN`-IFNULL(`d_start`.`SUM_SELECT_FULL_JOIN`, 0) AS \'\'SUM_SELECT_FULL_JOIN\'\',\n       `d_end`.`SUM_SELECT_FULL_RANGE_JOIN`-IFNULL(`d_start`.`SUM_SELECT_FULL_RANGE_JOIN`, 0) AS \'\'SUM_SELECT_FULL_RANGE_JOIN\'\',\n       `d_end`.`SUM_SELECT_RANGE`-IFNULL(`d_start`.`SUM_SELECT_RANGE`, 0) AS \'\'SUM_SELECT_RANGE\'\',\n       `d_end`.`SUM_SELECT_RANGE_CHECK`-IFNULL(`d_start`.`SUM_SELECT_RANGE_CHECK`, 0) AS \'\'SUM_SELECT_RANGE_CHECK\'\',\n       `d_end`.`SUM_SELECT_SCAN`-IFNULL(`d_start`.`SUM_SELECT_SCAN`, 0) AS \'\'SUM_SELECT_SCAN\'\',\n       `d_end`.`SUM_SORT_MERGE_PASSES`-IFNULL(`d_start`.`SUM_SORT_MERGE_PASSES`, 0) AS \'\'SUM_SORT_MERGE_PASSES\'\',\n       `d_end`.`SUM_SORT_RANGE`-IFNULL(`d_start`.`SUM_SORT_RANGE`, 0) AS \'\'SUM_SORT_RANGE\'\',\n       `d_end`.`SUM_SORT_ROWS`-IFNULL(`d_start`.`SUM_SORT_ROWS`, 0) AS \'\'SUM_SORT_ROWS\'\',\n       `d_end`.`SUM_SORT_SCAN`-IFNULL(`d_start`.`SUM_SORT_SCAN`, 0) AS \'\'SUM_SORT_SCAN\'\',\n       `d_end`.`SUM_NO_INDEX_USED`-IFNULL(`d_start`.`SUM_NO_INDEX_USED`, 0) AS \'\'SUM_NO_INDEX_USED\'\',\n       `d_end`.`SUM_NO_GOOD_INDEX_USED`-IFNULL(`d_start`.`SUM_NO_GOOD_INDEX_USED`, 0) AS \'\'SUM_NO_GOOD_INDEX_USED\'\',\n       `d_end`.`FIRST_SEEN`,\n       `d_end`.`LAST_SEEN`\n  FROM tmp_digests d_end\n       LEFT OUTER JOIN \', v_quoted_table, \' d_start ON `d_start`.`DIGEST` = `d_end`.`DIGEST`\n                                                    AND (`d_start`.`SCHEMA_NAME` = `d_end`.`SCHEMA_NAME`\n                                                          OR (`d_start`.`SCHEMA_NAME` IS NULL AND `d_end`.`SCHEMA_NAME` IS NULL)\n                                                        )\n WHERE `d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0) > 0\');\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_runtimes_in_95th_percentile\', in_views)) THEN\n            SELECT \'Queries with Runtime in 95th Percentile\' AS \'Next Output\';\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_avg_latency_distribution1;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_avg_latency_distribution2;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_95th_percentile_by_avg_us;\n            CREATE TEMPORARY TABLE tmp_digest_avg_latency_distribution1 (\n              cnt bigint unsigned NOT NULL,\n              avg_us decimal(21,0) NOT NULL,\n              PRIMARY KEY (avg_us)\n            ) ENGINE=InnoDB;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digest_avg_latency_distribution1\nSELECT COUNT(*) cnt,\n       ROUND(avg_timer_wait/1000000) AS avg_us\n  FROM \', v_digests_table, \'\n GROUP BY avg_us\');\n            CALL sys.execute_prepared_stmt(v_sql);\n            CREATE TEMPORARY TABLE tmp_digest_avg_latency_distribution2 LIKE tmp_digest_avg_latency_distribution1;\n            INSERT INTO tmp_digest_avg_latency_distribution2 SELECT * FROM tmp_digest_avg_latency_distribution1;\n            CREATE TEMPORARY TABLE tmp_digest_95th_percentile_by_avg_us (\n              avg_us decimal(21,0) NOT NULL,\n              percentile decimal(46,4) NOT NULL,\n              PRIMARY KEY (avg_us)\n            ) ENGINE=InnoDB;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digest_95th_percentile_by_avg_us\nSELECT s2.avg_us avg_us,\n       IFNULL(SUM(s1.cnt)/NULLIF((SELECT COUNT(*) FROM \', v_digests_table, \'), 0), 0) percentile\n  FROM tmp_digest_avg_latency_distribution1 AS s1\n       JOIN tmp_digest_avg_latency_distribution2 AS s2 ON s1.avg_us <= s2.avg_us\n GROUP BY s2.avg_us\nHAVING percentile > 0.95\n ORDER BY percentile\n LIMIT 1\');\n            CALL sys.execute_prepared_stmt(v_sql);\n            SET v_sql =\n                REPLACE(\n                    REPLACE(\n                        (SELECT VIEW_DEFINITION\n                           FROM information_schema.VIEWS\n                          WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_runtimes_in_95th_percentile\'\n                        ),\n                        \'`performance_schema`.`events_statements_summary_by_digest`\',\n                        v_digests_table\n                    ),\n                    \'sys.x$ps_digest_95th_percentile_by_avg_us\',\n                    \'`sys`.`x$ps_digest_95th_percentile_by_avg_us`\'\n              );\n            CALL sys.execute_prepared_stmt(v_sql);\n            DROP TEMPORARY TABLE tmp_digest_avg_latency_distribution1;\n            DROP TEMPORARY TABLE tmp_digest_avg_latency_distribution2;\n            DROP TEMPORARY TABLE tmp_digest_95th_percentile_by_avg_us;\n        END IF;\n        IF (FIND_IN_SET(\'analysis\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries Ordered by Total Latency\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statement_analysis\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_errors_or_warnings\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Errors\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_errors_or_warnings\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_full_table_scans\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Full Table Scan\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_full_table_scans\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_sorting\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Sorting\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_sorting\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_temp_tables\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Internal Temporary Tables\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_temp_tables\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'custom\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries Using Custom View\') AS \'Next Output\';\n            IF (@sys.statement_performance_analyzer.view IS NULL) THEN\n                SET @sys.statement_performance_analyzer.view = sys.sys_get_config(\'statement_performance_analyzer.view\', NULL);\n            END IF;\n            IF (@sys.statement_performance_analyzer.view IS NULL) THEN\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = \'The @sys.statement_performance_analyzer.view user variable must be set with the view or query to use.\';\n            END IF;\n            IF (NOT INSTR(@sys.statement_performance_analyzer.view, \' \')) THEN\n                IF (NOT INSTR(@sys.statement_performance_analyzer.view, \'.\')) THEN\n                    SET v_custom_db   = DATABASE(),\n                        v_custom_name = @sys.statement_performance_analyzer.view;\n                ELSE\n                    SET v_custom_db   = SUBSTRING_INDEX(@sys.statement_performance_analyzer.view, \'.\', 1);\n                    SET v_custom_name = SUBSTRING(@sys.statement_performance_analyzer.view, CHAR_LENGTH(v_custom_db)+2);\n                END IF;\n                CALL sys.table_exists(v_custom_db, v_custom_name, v_custom_view_exists);\n                IF (v_custom_view_exists <> \'VIEW\') THEN\n                    SIGNAL SQLSTATE \'45000\'\n                       SET MESSAGE_TEXT = \'The @sys.statement_performance_analyzer.view user variable is set but specified neither an existing view nor a query.\';\n                END IF;\n                SET v_sql =\n                    REPLACE(\n                        (SELECT VIEW_DEFINITION\n                           FROM information_schema.VIEWS\n                          WHERE TABLE_SCHEMA = v_custom_db AND TABLE_NAME = v_custom_name\n                        ),\n                        \'`performance_schema`.`events_statements_summary_by_digest`\',\n                        v_digests_table\n                    );\n            ELSE\n                SET v_sql = REPLACE(@sys.statement_performance_analyzer.view, \'`performance_schema`.`events_statements_summary_by_digest`\', v_digests_table);\n            END IF;\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n    END IF;\n    IF (v_this_thread_enabled = \'YES\') THEN\n        CALL sys.ps_setup_enable_thread(CONNECTION_ID());\n    END IF;\n    IF (@log_bin = 1) THEN\n        SET sql_log_bin = @log_bin;\n    END IF;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Create a report of the statements running on the server.\n             The views are calculated based on the overall and/or delta activity.\n             Requires the SUPER privilege for \"SET sql_log_bin = 0;\".\n             Parameters\n             in_action (ENUM(\'snapshot\', \'overall\', \'delta\', \'create_tmp\', \'create_table\', \'save\', \'cleanup\')):\n               The action to take. Supported actions are:\n                 * snapshot      Store a snapshot. The default is to make a snapshot of the current content of\n                                 performance_schema.events_statements_summary_by_digest, but by setting in_table\n                                 this can be overwritten to copy the content of the specified table.\n                                 The snapshot is stored in the sys.tmp_digests temporary table.\n                 * overall       Generate analyzis based on the content specified by in_table. For the overall analyzis,\n                                 in_table can be NOW() to use a fresh snapshot. This will overwrite an existing snapshot.\n                                 Use NULL for in_table to use the existing snapshot. If in_table IS NULL and no snapshot\n                                 exists, a new will be created.\n                                 See also in_views and @sys.statement_performance_analyzer.limit.\n                 * delta         Generate a delta analysis. The delta will be calculated between the reference table in\n                                 in_table and the snapshot. An existing snapshot must exist.\n                                 The action uses the sys.tmp_digests_delta temporary table.\n                                 See also in_views and @sys.statement_performance_analyzer.limit.\n                 * create_table  Create a regular table suitable for storing the snapshot for later use, e.g. for\n                                 calculating deltas.\n                 * create_tmp    Create a temporary table suitable for storing the snapshot for later use, e.g. for\n                                 calculating deltas.\n                 * save          Save the snapshot in the table specified by in_table. The table must exists and have\n                                 the correct structure.\n                                 If no snapshot exists, a new is created.\n                 * cleanup       Remove the temporary tables used for the snapshot and delta.\n             in_table (VARCHAR(129)):\n               The table argument used for some actions. Use the format \'db1.t1\' or \'t1\' without using any backticks (`)\n               for quoting. Periods (.) are not supported in the database and table names.\n               The meaning of the table for each action supporting the argument is:\n                 * snapshot      The snapshot is created based on the specified table. Set to NULL or NOW() to use\n                                 the current content of performance_schema.events_statements_summary_by_digest.\n                 * overall       The table with the content to create the overall analyzis for. The following values\n                                 can be used:\n                                   - A table name - use the content of that table.\n                                   - NOW()        - create a fresh snapshot and overwrite the existing snapshot.\n                                   - NULL         - use the last stored snapshot.\n                 * delta         The table name is mandatory and specified the reference view to compare the currently\n                                 stored snapshot against. If no snapshot exists, a new will be created.\n                 * create_table  The name of the regular table to create.\n                 * create_tmp    The name of the temporary table to create.\n                 * save          The name of the table to save the currently stored snapshot into.\n             in_views (SET (\'with_runtimes_in_95th_percentile\', \'analysis\', \'with_errors_or_warnings\',\n                            \'with_full_table_scans\', \'with_sorting\', \'with_temp_tables\', \'custom\'))\n               Which views to include:\n                 * with_runtimes_in_95th_percentile  Based on the sys.statements_with_runtimes_in_95th_percentile view\n                 * analysis                          Based on the sys.statement_analysis view\n                 * with_errors_or_warnings           Based on the sys.statements_with_errors_or_warnings view\n                 * with_full_table_scans             Based on the sys.statements_with_full_table_scans view\n                 * with_sorting                      Based on the sys.statements_with_sorting view\n                 * with_temp_tables                  Based on the sys.statements_with_temp_tables view\n                 * custom                            Use a custom view. This view must be specified in @sys.statement_performance_analyzer.view to an existing view or a query\n             Default is to include all except \'custom\'.\n             Configuration Options\n             sys.statement_performance_analyzer.limit\n               The maximum number of rows to include for the views that does not have a built-in limit (e.g. the 95th percentile view).\n               If not set the limit is 100.\n             sys.statement_performance_analyzer.view\n               Used together with the \'custom\' view. If the value contains a space, it is considered a query, otherwise it must be\n               an existing view querying the performance_schema.events_statements_summary_by_digest table. There cannot be any limit\n               clause including in the query or view definition if @sys.statement_performance_analyzer.limit > 0.\n               If specifying a view, use the same format as for in_table.\n             sys.debug\n               Whether to provide debugging output.\n               Default is \'OFF\'. Set to \'ON\' to include.\n             Example\n             To create a report with the queries in the 95th percentile since last truncate of performance_schema.events_statements_summary_by_digest\n             and the delta for a 1 minute period:\n                1. Create a temporary table to store the initial snapshot.\n                2. Create the initial snapshot.\n                3. Save the initial snapshot in the temporary table.\n                4. Wait one minute.\n                5. Create a new snapshot.\n                6. Perform analyzis based on the new snapshot.\n                7. Perform analyzis based on the delta between the initial and new snapshots.\n             mysql> CALL sys.statement_performance_analyzer(\'create_tmp\', \'mydb.tmp_digests_ini\', NULL);\n             Query OK, 0 rows affected (0.08 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'snapshot\', NULL, NULL);\n             Query OK, 0 rows affected (0.02 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'save\', \'mydb.tmp_digests_ini\', NULL);\n             Query OK, 0 rows affected (0.00 sec)\n             mysql> DO SLEEP(60);\n             Query OK, 0 rows affected (1 min 0.00 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'snapshot\', NULL, NULL);\n             Query OK, 0 rows affected (0.02 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'overall\', NULL, \'with_runtimes_in_95th_percentile\');\n             +-----------------------------------------+\n             | Next Output                             |\n             +-----------------------------------------+\n             | Queries with Runtime in 95th Percentile |\n             +-----------------------------------------+\n             1 row in set (0.05 sec)\n             ...\n             mysql> CALL sys.statement_performance_analyzer(\'delta\', \'mydb.tmp_digests_ini\', \'with_runtimes_in_95th_percentile\');\n             +-----------------------------------------+\n             | Next Output                             |\n             +-----------------------------------------+\n             | Queries with Runtime in 95th Percentile |\n             +-----------------------------------------+\n             1 row in set (0.03 sec)\n             ...\n             To create an overall report of the 95th percentile queries and the top 10 queries with full table scans:\n             mysql> CALL sys.statement_performance_analyzer(\'snapshot\', NULL, NULL);\n             Query OK, 0 rows affected (0.01 sec)\n             mysql> SET @sys.statement_performance_analyzer.limit = 10;\n             Query OK, 0 rows affected (0.00 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'overall\', NULL, \'with_runtimes_in_95th_percentile,with_full_table_scans\');\n             +-----------------------------------------+\n             | Next Output                             |\n             +-----------------------------------------+\n             | Queries with Runtime in 95th Percentile |\n             +-----------------------------------------+\n             1 row in set (0.01 sec)\n             ...\n             +-------------------------------------+\n             | Next Output                         |\n             +-------------------------------------+\n             | Top 10 Queries with Full Table Scan |\n             +-------------------------------------+\n             1 row in set (0.09 sec)\n             ...\n             Use a custom view showing the top 10 query sorted by total execution time refreshing the view every minute using\n             the watch command in Linux.\n             mysql> CREATE OR REPLACE VIEW mydb.my_statements AS\n                 -> SELECT sys.format_statement(DIGEST_TEXT) AS query,\n                 ->        SCHEMA_NAME AS db,\n                 ->        COUNT_STAR AS exec_count,\n                 ->        sys.format_time(SUM_TIMER_WAIT) AS total_latency,\n                 ->        sys.format_time(AVG_TIMER_WAIT) AS avg_latency,\n                 ->        ROUND(IFNULL(SUM_ROWS_SENT / NULLIF(COUNT_STAR, 0), 0)) AS rows_sent_avg,\n                 ->        ROUND(IFNULL(SUM_ROWS_EXAMINED / NULLIF(COUNT_STAR, 0), 0)) AS rows_examined_avg,\n                 ->        ROUND(IFNULL(SUM_ROWS_AFFECTED / NULLIF(COUNT_STAR, 0), 0)) AS rows_affected_avg,\n                 ->        DIGEST AS digest\n                 ->   FROM performance_schema.events_statements_summary_by_digest\n                 -> ORDER BY SUM_TIMER_WAIT DESC;\n             Query OK, 0 rows affected (0.01 sec)\n             mysql> CALL sys.statement_performance_analyzer(\'create_table\', \'mydb.digests_prev\', NULL);\n             Query OK, 0 rows affected (0.10 sec)\n             shell$ watch -n 60 \"mysql sys --table -e \"\n             > SET @sys.statement_performance_analyzer.view = \'mydb.my_statements\';\n             > SET @sys.statement_performance_analyzer.limit = 10;\n             > CALL statement_performance_analyzer(\'snapshot\', NULL, NULL);\n             > CALL statement_performance_analyzer(\'delta\', \'mydb.digests_prev\', \'custom\');\n             > CALL statement_performance_analyzer(\'save\', \'mydb.digests_prev\', NULL);\n             > \"\"\n             Every 60.0s: mysql sys --table -e \"                                                                                                   ...  Mon Dec 22 10:58:51 2014\n             +----------------------------------+\n             | Next Output                      |\n             +----------------------------------+\n             | Top 10 Queries Using Custom View |\n             +----------------------------------+\n             +-------------------+-------+------------+---------------+-------------+---------------+-------------------+-------------------+----------------------------------+\n             | query             | db    | exec_count | total_latency | avg_latency | rows_sent_avg | rows_examined_avg | rows_affected_avg | digest                           |\n             +-------------------+-------+------------+---------------+-------------+---------------+-------------------+-------------------+----------------------------------+\n             ...\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_table_exists, v_tmp_digests_table_exists, v_custom_view_exists ENUM(\'\', \'BASE TABLE\', \'VIEW\', \'TEMPORARY\') DEFAULT \'\';\n    DECLARE v_this_thread_enabled ENUM(\'YES\', \'NO\');\n    DECLARE v_force_new_snapshot BOOLEAN DEFAULT FALSE;\n    DECLARE v_digests_table VARCHAR(133);\n    DECLARE v_quoted_table, v_quoted_custom_view VARCHAR(133) DEFAULT \'\';\n    DECLARE v_table_db, v_table_name, v_custom_db, v_custom_name VARCHAR(64);\n    DECLARE v_digest_table_template, v_checksum_ref, v_checksum_table text;\n    DECLARE v_sql longtext;\n    DECLARE v_error_msg VARCHAR(128);\n    SELECT INSTRUMENTED INTO v_this_thread_enabled FROM performance_schema.threads WHERE PROCESSLIST_ID = CONNECTION_ID();\n    IF (v_this_thread_enabled = \'YES\') THEN\n        CALL sys.ps_setup_disable_thread(CONNECTION_ID());\n    END IF;\n    SET @log_bin := @@sql_log_bin;\n    IF (@log_bin = 1) THEN\n        SET sql_log_bin = 0;\n    END IF;\n    IF (@sys.statement_performance_analyzer.limit IS NULL) THEN\n        SET @sys.statement_performance_analyzer.limit = sys.sys_get_config(\'statement_performance_analyzer.limit\', \'100\');\n    END IF;\n    IF (@sys.debug IS NULL) THEN\n        SET @sys.debug                                = sys.sys_get_config(\'debug\'                               , \'OFF\');\n    END IF;\n    IF (in_table = \'NOW()\') THEN\n        SET v_force_new_snapshot = TRUE,\n            in_table             = NULL;\n    ELSEIF (in_table IS NOT NULL) THEN\n        IF (NOT INSTR(in_table, \'.\')) THEN\n            SET v_table_db   = DATABASE(),\n                v_table_name = in_table;\n        ELSE\n            SET v_table_db   = SUBSTRING_INDEX(in_table, \'.\', 1);\n            SET v_table_name = SUBSTRING(in_table, CHAR_LENGTH(v_table_db)+2);\n        END IF;\n        SET v_quoted_table = CONCAT(\'`\', v_table_db, \'`.`\', v_table_name, \'`\');\n        IF (@sys.debug = \'ON\') THEN\n            SELECT CONCAT(\'in_table is: db = \'\'\', v_table_db, \'\'\', table = \'\'\', v_table_name, \'\'\'\') AS \'Debug\';\n        END IF;\n        IF (v_table_db = DATABASE() AND (v_table_name = \'tmp_digests\' OR v_table_name = \'tmp_digests_delta\')) THEN\n            SET v_error_msg = CONCAT(\'Invalid value for in_table: \', v_quoted_table, \' is reserved table name.\');\n            SIGNAL SQLSTATE \'45000\'\n               SET MESSAGE_TEXT = v_error_msg;\n        END IF;\n        CALL sys.table_exists(v_table_db, v_table_name, v_table_exists);\n        IF (@sys.debug = \'ON\') THEN\n            SELECT CONCAT(\'v_table_exists = \', v_table_exists) AS \'Debug\';\n        END IF;\n        IF (v_table_exists = \'BASE TABLE\') THEN\n            SET v_checksum_ref = (\n                 SELECT GROUP_CONCAT(CONCAT(COLUMN_NAME, COLUMN_TYPE) ORDER BY ORDINAL_POSITION) AS Checksum\n                   FROM information_schema.COLUMNS\n                  WHERE TABLE_SCHEMA = \'performance_schema\' AND TABLE_NAME = \'events_statements_summary_by_digest\'\n                ),\n                v_checksum_table = (\n                 SELECT GROUP_CONCAT(CONCAT(COLUMN_NAME, COLUMN_TYPE) ORDER BY ORDINAL_POSITION) AS Checksum\n                   FROM information_schema.COLUMNS\n                  WHERE TABLE_SCHEMA = v_table_db AND TABLE_NAME = v_table_name\n                );\n            IF (v_checksum_ref <> v_checksum_table) THEN\n                SET v_error_msg = CONCAT(\'The table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 93, CONCAT(\'...\', SUBSTRING(v_quoted_table, -90)), v_quoted_table),\n                                         \' has the wrong definition.\');\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        END IF;\n    END IF;\n    IF (in_views IS NULL OR in_views = \'\') THEN\n        SET in_views = \'with_runtimes_in_95th_percentile,analysis,with_errors_or_warnings,with_full_table_scans,with_sorting,with_temp_tables\';\n    END IF;\n    CALL sys.table_exists(DATABASE(), \'tmp_digests\', v_tmp_digests_table_exists);\n    IF (@sys.debug = \'ON\') THEN\n        SELECT CONCAT(\'v_tmp_digests_table_exists = \', v_tmp_digests_table_exists) AS \'Debug\';\n    END IF;\n    CASE\n        WHEN in_action IN (\'snapshot\', \'overall\') THEN\n            IF (in_table IS NOT NULL) THEN\n                IF (NOT v_table_exists IN (\'TEMPORARY\', \'BASE TABLE\')) THEN\n                    SET v_error_msg = CONCAT(\'The \', in_action, \' action requires in_table to be NULL, NOW() or specify an existing table.\',\n                                             \' The table \',\n                                             IF(CHAR_LENGTH(v_quoted_table) > 16, CONCAT(\'...\', SUBSTRING(v_quoted_table, -13)), v_quoted_table),\n                                             \' does not exist.\');\n                    SIGNAL SQLSTATE \'45000\'\n                       SET MESSAGE_TEXT = v_error_msg;\n                END IF;\n            END IF;\n        WHEN in_action IN (\'delta\', \'save\') THEN\n            IF (v_table_exists NOT IN (\'TEMPORARY\', \'BASE TABLE\')) THEN\n                SET v_error_msg = CONCAT(\'The \', in_action, \' action requires in_table to be an existing table.\',\n                                         IF(in_table IS NOT NULL, CONCAT(\' The table \',\n                                             IF(CHAR_LENGTH(v_quoted_table) > 39, CONCAT(\'...\', SUBSTRING(v_quoted_table, -36)), v_quoted_table),\n                                             \' does not exist.\'), \'\'));\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n            IF (in_action = \'delta\' AND v_tmp_digests_table_exists <> \'TEMPORARY\') THEN\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = \'An existing snapshot generated with the statement_performance_analyzer() must exist.\';\n            END IF;\n        WHEN in_action = \'create_tmp\' THEN\n            IF (v_table_exists = \'TEMPORARY\') THEN\n                SET v_error_msg = CONCAT(\'Cannot create the table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 72, CONCAT(\'...\', SUBSTRING(v_quoted_table, -69)), v_quoted_table),\n                                         \' as it already exists.\');\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        WHEN in_action = \'create_table\' THEN\n            IF (v_table_exists <> \'\') THEN\n                SET v_error_msg = CONCAT(\'Cannot create the table \',\n                                         IF(CHAR_LENGTH(v_quoted_table) > 52, CONCAT(\'...\', SUBSTRING(v_quoted_table, -49)), v_quoted_table),\n                                         \' as it already exists\',\n                                         IF(v_table_exists = \'TEMPORARY\', \' as a temporary table.\', \'.\'));\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = v_error_msg;\n            END IF;\n        WHEN in_action = \'cleanup\' THEN\n            DO (SELECT 1);\n        ELSE\n            SIGNAL SQLSTATE \'45000\'\n               SET MESSAGE_TEXT = \'Unknown action. Supported actions are: cleanup, create_table, create_tmp, delta, overall, save, snapshot\';\n    END CASE;\n    SET v_digest_table_template = \'CREATE %{TEMPORARY}TABLE %{TABLE_NAME} (\\n  `SCHEMA_NAME` varchar(64) DEFAULT NULL,\\n  `DIGEST` varchar(32) DEFAULT NULL,\\n  `DIGEST_TEXT` longtext,\\n  `COUNT_STAR` bigint(20) unsigned NOT NULL,\\n  `SUM_TIMER_WAIT` bigint(20) unsigned NOT NULL,\\n  `MIN_TIMER_WAIT` bigint(20) unsigned NOT NULL,\\n  `AVG_TIMER_WAIT` bigint(20) unsigned NOT NULL,\\n  `MAX_TIMER_WAIT` bigint(20) unsigned NOT NULL,\\n  `SUM_LOCK_TIME` bigint(20) unsigned NOT NULL,\\n  `SUM_ERRORS` bigint(20) unsigned NOT NULL,\\n  `SUM_WARNINGS` bigint(20) unsigned NOT NULL,\\n  `SUM_ROWS_AFFECTED` bigint(20) unsigned NOT NULL,\\n  `SUM_ROWS_SENT` bigint(20) unsigned NOT NULL,\\n  `SUM_ROWS_EXAMINED` bigint(20) unsigned NOT NULL,\\n  `SUM_CREATED_TMP_DISK_TABLES` bigint(20) unsigned NOT NULL,\\n  `SUM_CREATED_TMP_TABLES` bigint(20) unsigned NOT NULL,\\n  `SUM_SELECT_FULL_JOIN` bigint(20) unsigned NOT NULL,\\n  `SUM_SELECT_FULL_RANGE_JOIN` bigint(20) unsigned NOT NULL,\\n  `SUM_SELECT_RANGE` bigint(20) unsigned NOT NULL,\\n  `SUM_SELECT_RANGE_CHECK` bigint(20) unsigned NOT NULL,\\n  `SUM_SELECT_SCAN` bigint(20) unsigned NOT NULL,\\n  `SUM_SORT_MERGE_PASSES` bigint(20) unsigned NOT NULL,\\n  `SUM_SORT_RANGE` bigint(20) unsigned NOT NULL,\\n  `SUM_SORT_ROWS` bigint(20) unsigned NOT NULL,\\n  `SUM_SORT_SCAN` bigint(20) unsigned NOT NULL,\\n  `SUM_NO_INDEX_USED` bigint(20) unsigned NOT NULL,\\n  `SUM_NO_GOOD_INDEX_USED` bigint(20) unsigned NOT NULL,\\n  `FIRST_SEEN` timestamp NULL DEFAULT NULL,\\n  `LAST_SEEN` timestamp NULL DEFAULT NULL,\\n  INDEX (SCHEMA_NAME, DIGEST)\\n) DEFAULT CHARSET=utf8\';\n    IF (v_force_new_snapshot\n           OR in_action = \'snapshot\'\n           OR (in_action = \'overall\' AND in_table IS NULL)\n           OR (in_action = \'save\' AND v_tmp_digests_table_exists <> \'TEMPORARY\')\n       ) THEN\n        IF (v_tmp_digests_table_exists = \'TEMPORARY\') THEN\n            IF (@sys.debug = \'ON\') THEN\n                SELECT \'DROP TEMPORARY TABLE IF EXISTS tmp_digests\' AS \'Debug\';\n            END IF;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digests;\n        END IF;\n        CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'TEMPORARY \'), \'%{TABLE_NAME}\', \'tmp_digests\'));\n        SET v_sql = CONCAT(\'INSERT INTO tmp_digests SELECT * FROM \',\n                           IF(in_table IS NULL OR in_action = \'save\', \'performance_schema.events_statements_summary_by_digest\', v_quoted_table));\n        CALL sys.execute_prepared_stmt(v_sql);\n    END IF;\n    IF (in_action IN (\'create_table\', \'create_tmp\')) THEN\n        IF (in_action = \'create_table\') THEN\n            CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'\'), \'%{TABLE_NAME}\', v_quoted_table));\n        ELSE\n            CALL sys.execute_prepared_stmt(REPLACE(REPLACE(v_digest_table_template, \'%{TEMPORARY}\', \'TEMPORARY \'), \'%{TABLE_NAME}\', v_quoted_table));\n        END IF;\n    ELSEIF (in_action = \'save\') THEN\n        CALL sys.execute_prepared_stmt(CONCAT(\'DELETE FROM \', v_quoted_table));\n        CALL sys.execute_prepared_stmt(CONCAT(\'INSERT INTO \', v_quoted_table, \' SELECT * FROM tmp_digests\'));\n    ELSEIF (in_action = \'cleanup\') THEN\n        DROP TEMPORARY TABLE IF EXISTS sys.tmp_digests;\n        DROP TEMPORARY TABLE IF EXISTS sys.tmp_digests_delta;\n    ELSEIF (in_action IN (\'overall\', \'delta\')) THEN\n        IF (in_action = \'overall\') THEN\n            IF (in_table IS NULL) THEN\n                SET v_digests_table = \'tmp_digests\';\n            ELSE\n                SET v_digests_table = v_quoted_table;\n            END IF;\n        ELSE\n            SET v_digests_table = \'tmp_digests_delta\';\n            DROP TEMPORARY TABLE IF EXISTS tmp_digests_delta;\n            CREATE TEMPORARY TABLE tmp_digests_delta LIKE tmp_digests;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digests_delta\\nSELECT `d_end`.`SCHEMA_NAME`,\\n       `d_end`.`DIGEST`,\\n       `d_end`.`DIGEST_TEXT`,\\n       `d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0) AS \'\'COUNT_STAR\'\',\\n       `d_end`.`SUM_TIMER_WAIT`-IFNULL(`d_start`.`SUM_TIMER_WAIT`, 0) AS \'\'SUM_TIMER_WAIT\'\',\\n       `d_end`.`MIN_TIMER_WAIT` AS \'\'MIN_TIMER_WAIT\'\',\\n       IFNULL((`d_end`.`SUM_TIMER_WAIT`-IFNULL(`d_start`.`SUM_TIMER_WAIT`, 0))/NULLIF(`d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0), 0), 0) AS \'\'AVG_TIMER_WAIT\'\',\\n       `d_end`.`MAX_TIMER_WAIT` AS \'\'MAX_TIMER_WAIT\'\',\\n       `d_end`.`SUM_LOCK_TIME`-IFNULL(`d_start`.`SUM_LOCK_TIME`, 0) AS \'\'SUM_LOCK_TIME\'\',\\n       `d_end`.`SUM_ERRORS`-IFNULL(`d_start`.`SUM_ERRORS`, 0) AS \'\'SUM_ERRORS\'\',\\n       `d_end`.`SUM_WARNINGS`-IFNULL(`d_start`.`SUM_WARNINGS`, 0) AS \'\'SUM_WARNINGS\'\',\\n       `d_end`.`SUM_ROWS_AFFECTED`-IFNULL(`d_start`.`SUM_ROWS_AFFECTED`, 0) AS \'\'SUM_ROWS_AFFECTED\'\',\\n       `d_end`.`SUM_ROWS_SENT`-IFNULL(`d_start`.`SUM_ROWS_SENT`, 0) AS \'\'SUM_ROWS_SENT\'\',\\n       `d_end`.`SUM_ROWS_EXAMINED`-IFNULL(`d_start`.`SUM_ROWS_EXAMINED`, 0) AS \'\'SUM_ROWS_EXAMINED\'\',\\n       `d_end`.`SUM_CREATED_TMP_DISK_TABLES`-IFNULL(`d_start`.`SUM_CREATED_TMP_DISK_TABLES`, 0) AS \'\'SUM_CREATED_TMP_DISK_TABLES\'\',\\n       `d_end`.`SUM_CREATED_TMP_TABLES`-IFNULL(`d_start`.`SUM_CREATED_TMP_TABLES`, 0) AS \'\'SUM_CREATED_TMP_TABLES\'\',\\n       `d_end`.`SUM_SELECT_FULL_JOIN`-IFNULL(`d_start`.`SUM_SELECT_FULL_JOIN`, 0) AS \'\'SUM_SELECT_FULL_JOIN\'\',\\n       `d_end`.`SUM_SELECT_FULL_RANGE_JOIN`-IFNULL(`d_start`.`SUM_SELECT_FULL_RANGE_JOIN`, 0) AS \'\'SUM_SELECT_FULL_RANGE_JOIN\'\',\\n       `d_end`.`SUM_SELECT_RANGE`-IFNULL(`d_start`.`SUM_SELECT_RANGE`, 0) AS \'\'SUM_SELECT_RANGE\'\',\\n       `d_end`.`SUM_SELECT_RANGE_CHECK`-IFNULL(`d_start`.`SUM_SELECT_RANGE_CHECK`, 0) AS \'\'SUM_SELECT_RANGE_CHECK\'\',\\n       `d_end`.`SUM_SELECT_SCAN`-IFNULL(`d_start`.`SUM_SELECT_SCAN`, 0) AS \'\'SUM_SELECT_SCAN\'\',\\n       `d_end`.`SUM_SORT_MERGE_PASSES`-IFNULL(`d_start`.`SUM_SORT_MERGE_PASSES`, 0) AS \'\'SUM_SORT_MERGE_PASSES\'\',\\n       `d_end`.`SUM_SORT_RANGE`-IFNULL(`d_start`.`SUM_SORT_RANGE`, 0) AS \'\'SUM_SORT_RANGE\'\',\\n       `d_end`.`SUM_SORT_ROWS`-IFNULL(`d_start`.`SUM_SORT_ROWS`, 0) AS \'\'SUM_SORT_ROWS\'\',\\n       `d_end`.`SUM_SORT_SCAN`-IFNULL(`d_start`.`SUM_SORT_SCAN`, 0) AS \'\'SUM_SORT_SCAN\'\',\\n       `d_end`.`SUM_NO_INDEX_USED`-IFNULL(`d_start`.`SUM_NO_INDEX_USED`, 0) AS \'\'SUM_NO_INDEX_USED\'\',\\n       `d_end`.`SUM_NO_GOOD_INDEX_USED`-IFNULL(`d_start`.`SUM_NO_GOOD_INDEX_USED`, 0) AS \'\'SUM_NO_GOOD_INDEX_USED\'\',\\n       `d_end`.`FIRST_SEEN`,\\n       `d_end`.`LAST_SEEN`\\n  FROM tmp_digests d_end\\n       LEFT OUTER JOIN \', v_quoted_table, \' d_start ON `d_start`.`DIGEST` = `d_end`.`DIGEST`\\n                                                    AND (`d_start`.`SCHEMA_NAME` = `d_end`.`SCHEMA_NAME`\\n                                                          OR (`d_start`.`SCHEMA_NAME` IS NULL AND `d_end`.`SCHEMA_NAME` IS NULL)\\n                                                        )\\n WHERE `d_end`.`COUNT_STAR`-IFNULL(`d_start`.`COUNT_STAR`, 0) > 0\');\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_runtimes_in_95th_percentile\', in_views)) THEN\n            SELECT \'Queries with Runtime in 95th Percentile\' AS \'Next Output\';\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_avg_latency_distribution1;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_avg_latency_distribution2;\n            DROP TEMPORARY TABLE IF EXISTS tmp_digest_95th_percentile_by_avg_us;\n            CREATE TEMPORARY TABLE tmp_digest_avg_latency_distribution1 (\n              cnt bigint unsigned NOT NULL,\n              avg_us decimal(21,0) NOT NULL,\n              PRIMARY KEY (avg_us)\n            ) ENGINE=InnoDB;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digest_avg_latency_distribution1\\nSELECT COUNT(*) cnt,\\n       ROUND(avg_timer_wait/1000000) AS avg_us\\n  FROM \', v_digests_table, \'\\n GROUP BY avg_us\');\n            CALL sys.execute_prepared_stmt(v_sql);\n            CREATE TEMPORARY TABLE tmp_digest_avg_latency_distribution2 LIKE tmp_digest_avg_latency_distribution1;\n            INSERT INTO tmp_digest_avg_latency_distribution2 SELECT * FROM tmp_digest_avg_latency_distribution1;\n            CREATE TEMPORARY TABLE tmp_digest_95th_percentile_by_avg_us (\n              avg_us decimal(21,0) NOT NULL,\n              percentile decimal(46,4) NOT NULL,\n              PRIMARY KEY (avg_us)\n            ) ENGINE=InnoDB;\n            SET v_sql = CONCAT(\'INSERT INTO tmp_digest_95th_percentile_by_avg_us\\nSELECT s2.avg_us avg_us,\\n       IFNULL(SUM(s1.cnt)/NULLIF((SELECT COUNT(*) FROM \', v_digests_table, \'), 0), 0) percentile\\n  FROM tmp_digest_avg_latency_distribution1 AS s1\\n       JOIN tmp_digest_avg_latency_distribution2 AS s2 ON s1.avg_us <= s2.avg_us\\n GROUP BY s2.avg_us\\nHAVING percentile > 0.95\\n ORDER BY percentile\\n LIMIT 1\');\n            CALL sys.execute_prepared_stmt(v_sql);\n            SET v_sql =\n                REPLACE(\n                    REPLACE(\n                        (SELECT VIEW_DEFINITION\n                           FROM information_schema.VIEWS\n                          WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_runtimes_in_95th_percentile\'\n                        ),\n                        \'`performance_schema`.`events_statements_summary_by_digest`\',\n                        v_digests_table\n                    ),\n                    \'sys.x$ps_digest_95th_percentile_by_avg_us\',\n                    \'`sys`.`x$ps_digest_95th_percentile_by_avg_us`\'\n              );\n            CALL sys.execute_prepared_stmt(v_sql);\n            DROP TEMPORARY TABLE tmp_digest_avg_latency_distribution1;\n            DROP TEMPORARY TABLE tmp_digest_avg_latency_distribution2;\n            DROP TEMPORARY TABLE tmp_digest_95th_percentile_by_avg_us;\n        END IF;\n        IF (FIND_IN_SET(\'analysis\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries Ordered by Total Latency\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statement_analysis\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_errors_or_warnings\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Errors\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_errors_or_warnings\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_full_table_scans\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Full Table Scan\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_full_table_scans\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_sorting\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Sorting\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_sorting\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'with_temp_tables\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries with Internal Temporary Tables\') AS \'Next Output\';\n            SET v_sql =\n                REPLACE(\n                    (SELECT VIEW_DEFINITION\n                       FROM information_schema.VIEWS\n                      WHERE TABLE_SCHEMA = DATABASE() AND TABLE_NAME = \'statements_with_temp_tables\'\n                    ),\n                    \'`performance_schema`.`events_statements_summary_by_digest`\',\n                    v_digests_table\n                );\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n        IF (FIND_IN_SET(\'custom\', in_views)) THEN\n            SELECT CONCAT(\'Top \', @sys.statement_performance_analyzer.limit, \' Queries Using Custom View\') AS \'Next Output\';\n            IF (@sys.statement_performance_analyzer.view IS NULL) THEN\n                SET @sys.statement_performance_analyzer.view = sys.sys_get_config(\'statement_performance_analyzer.view\', NULL);\n            END IF;\n            IF (@sys.statement_performance_analyzer.view IS NULL) THEN\n                SIGNAL SQLSTATE \'45000\'\n                   SET MESSAGE_TEXT = \'The @sys.statement_performance_analyzer.view user variable must be set with the view or query to use.\';\n            END IF;\n            IF (NOT INSTR(@sys.statement_performance_analyzer.view, \' \')) THEN\n                IF (NOT INSTR(@sys.statement_performance_analyzer.view, \'.\')) THEN\n                    SET v_custom_db   = DATABASE(),\n                        v_custom_name = @sys.statement_performance_analyzer.view;\n                ELSE\n                    SET v_custom_db   = SUBSTRING_INDEX(@sys.statement_performance_analyzer.view, \'.\', 1);\n                    SET v_custom_name = SUBSTRING(@sys.statement_performance_analyzer.view, CHAR_LENGTH(v_custom_db)+2);\n                END IF;\n                CALL sys.table_exists(v_custom_db, v_custom_name, v_custom_view_exists);\n                IF (v_custom_view_exists <> \'VIEW\') THEN\n                    SIGNAL SQLSTATE \'45000\'\n                       SET MESSAGE_TEXT = \'The @sys.statement_performance_analyzer.view user variable is set but specified neither an existing view nor a query.\';\n                END IF;\n                SET v_sql =\n                    REPLACE(\n                        (SELECT VIEW_DEFINITION\n                           FROM information_schema.VIEWS\n                          WHERE TABLE_SCHEMA = v_custom_db AND TABLE_NAME = v_custom_name\n                        ),\n                        \'`performance_schema`.`events_statements_summary_by_digest`\',\n                        v_digests_table\n                    );\n            ELSE\n                SET v_sql = REPLACE(@sys.statement_performance_analyzer.view, \'`performance_schema`.`events_statements_summary_by_digest`\', v_digests_table);\n            END IF;\n            IF (@sys.statement_performance_analyzer.limit > 0) THEN\n                SET v_sql = CONCAT(v_sql, \' LIMIT \', @sys.statement_performance_analyzer.limit);\n            END IF;\n            CALL sys.execute_prepared_stmt(v_sql);\n        END IF;\n    END IF;\n    IF (v_this_thread_enabled = \'YES\') THEN\n        CALL sys.ps_setup_enable_thread(CONNECTION_ID());\n    END IF;\n    IF (@log_bin = 1) THEN\n        SET sql_log_bin = @log_bin;\n    END IF;\nEND','NONE'),('sys','ps_is_account_enabled','FUNCTION','ps_is_account_enabled','SQL','READS_SQL_DATA','YES','INVOKER','in_host VARCHAR(60),\n        in_user VARCHAR(16)\n    ','enum(\'YES\',\'NO\') CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    RETURN IF(EXISTS(SELECT 1\n                       FROM performance_schema.setup_actors\n                      WHERE (`HOST` = \'%\' OR in_host LIKE `HOST`)\n                        AND (`USER` = \'%\' OR `USER` = in_user)\n                    ),\n              \'YES\', \'NO\'\n           );\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Determines whether instrumentation of an account is enabled\n             within Performance Schema.\n             Parameters\n             in_host VARCHAR(60):\n               The hostname of the account to check.\n             in_user (VARCHAR(16)):\n               The username of the account to check.\n             Returns\n             ENUM(\'YES\', \'NO\', \'PARTIAL\')\n             Example\n             mysql> SELECT sys.ps_is_account_enabled(\'localhost\', \'root\');\n             +------------------------------------------------+\n             | sys.ps_is_account_enabled(\'localhost\', \'root\') |\n             +------------------------------------------------+\n             | YES                                            |\n             +------------------------------------------------+\n             1 row in set (0.01 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN IF(EXISTS(SELECT 1\n                       FROM performance_schema.setup_actors\n                      WHERE (`HOST` = \'%\' OR in_host LIKE `HOST`)\n                        AND (`USER` = \'%\' OR `USER` = in_user)\n                    ),\n              \'YES\', \'NO\'\n           );\nEND','NONE'),('sys','ps_is_consumer_enabled','FUNCTION','ps_is_consumer_enabled','SQL','READS_SQL_DATA','YES','INVOKER','in_consumer varchar(64)\n   ','enum(\'YES\',\'NO\') CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    RETURN (\n        SELECT (CASE\n                   WHEN c.NAME = \'global_instrumentation\' THEN c.ENABLED\n                   WHEN c.NAME = \'thread_instrumentation\' THEN IF(cg.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   WHEN c.NAME LIKE \'%\\_digest\'           THEN IF(cg.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   WHEN c.NAME LIKE \'%\\_current\'          THEN IF(cg.ENABLED = \'YES\' AND ct.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   ELSE IF(cg.ENABLED = \'YES\' AND ct.ENABLED = \'YES\' AND c.ENABLED = \'YES\'\n                           AND ( SELECT cc.ENABLED FROM performance_schema.setup_consumers cc WHERE NAME = CONCAT(SUBSTRING_INDEX(c.NAME, \'_\', 2), \'_current\')\n                               ) = \'YES\', \'YES\', \'NO\')\n                END) AS IsEnabled\n          FROM performance_schema.setup_consumers c\n               INNER JOIN performance_schema.setup_consumers cg\n               INNER JOIN performance_schema.setup_consumers ct\n         WHERE cg.NAME       = \'global_instrumentation\'\n               AND ct.NAME   = \'thread_instrumentation\'\n               AND c.NAME    = in_consumer\n       );\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Determines whether a consumer is enabled (taking the consumer hierarchy into consideration)\n             within the Performance Schema.\n             Parameters\n             in_consumer VARCHAR(64):\n               The name of the consumer to check.\n             Returns\n             ENUM(\'YES\', \'NO\')\n             Example\n             mysql> SELECT sys.ps_is_consumer_enabled(\'events_stages_history\');\n             +-----------------------------------------------------+\n             | sys.ps_is_consumer_enabled(\'events_stages_history\') |\n             +-----------------------------------------------------+\n             | NO                                                  |\n             +-----------------------------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN (\n        SELECT (CASE\n                   WHEN c.NAME = \'global_instrumentation\' THEN c.ENABLED\n                   WHEN c.NAME = \'thread_instrumentation\' THEN IF(cg.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   WHEN c.NAME LIKE \'%\\_digest\'           THEN IF(cg.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   WHEN c.NAME LIKE \'%\\_current\'          THEN IF(cg.ENABLED = \'YES\' AND ct.ENABLED = \'YES\' AND c.ENABLED = \'YES\', \'YES\', \'NO\')\n                   ELSE IF(cg.ENABLED = \'YES\' AND ct.ENABLED = \'YES\' AND c.ENABLED = \'YES\'\n                           AND ( SELECT cc.ENABLED FROM performance_schema.setup_consumers cc WHERE NAME = CONCAT(SUBSTRING_INDEX(c.NAME, \'_\', 2), \'_current\')\n                               ) = \'YES\', \'YES\', \'NO\')\n                END) AS IsEnabled\n          FROM performance_schema.setup_consumers c\n               INNER JOIN performance_schema.setup_consumers cg\n               INNER JOIN performance_schema.setup_consumers ct\n         WHERE cg.NAME       = \'global_instrumentation\'\n               AND ct.NAME   = \'thread_instrumentation\'\n               AND c.NAME    = in_consumer\n       );\nEND','NONE'),('sys','table_exists','PROCEDURE','table_exists','SQL','CONTAINS_SQL','NO','INVOKER','\n        IN in_db VARCHAR(64), IN in_table VARCHAR(64),\n        OUT out_exists ENUM(\'\', \'BASE TABLE\', \'VIEW\', \'TEMPORARY\', \'SEQUENCE\', \'SYSTEM VIEW\')\n    ','','BEGIN\n    DECLARE v_error BOOLEAN DEFAULT FALSE;\n    DECLARE db_quoted VARCHAR(64);\n    DECLARE table_quoted VARCHAR(64);\n    DECLARE v_table_type VARCHAR(16) DEFAULT \'\';\n    DECLARE v_system_db BOOLEAN\n        DEFAULT LOWER(in_db) IN (\'information_schema\', \'performance_schema\');\n    DECLARE CONTINUE HANDLER FOR 1050 SET v_error = TRUE;\n    DECLARE CONTINUE HANDLER FOR 1146 SET v_error = TRUE;\n    SET out_exists = \'\';\n    SET db_quoted = sys.quote_identifier(in_db);\n    SET table_quoted = sys.quote_identifier(in_table);\n    IF (EXISTS(SELECT 1 FROM information_schema.TABLES WHERE TABLE_SCHEMA = in_db AND TABLE_NAME = in_table)) THEN\n        IF v_system_db = FALSE THEN\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'CREATE TEMPORARY TABLE \',\n                                                    db_quoted,\n                                                    \'.\',\n                                                    table_quoted,\n                                                    \'(id INT PRIMARY KEY)\');\n            PREPARE stmt_create_table FROM @sys.tmp.table_exists.SQL;\n            EXECUTE stmt_create_table;\n            DEALLOCATE PREPARE stmt_create_table;\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'DROP TEMPORARY TABLE \',\n                                                                db_quoted,\n                                                                \'.\',\n                                                                table_quoted);\n            PREPARE stmt_drop_table FROM @sys.tmp.table_exists.SQL;\n            EXECUTE stmt_drop_table;\n            DEALLOCATE PREPARE stmt_drop_table;\n        END IF;\n        IF (v_error) THEN\n            SET out_exists = \'TEMPORARY\';\n        ELSE\n            SET v_table_type = (SELECT TABLE_TYPE FROM information_schema.TABLES WHERE TABLE_SCHEMA = in_db AND TABLE_NAME = in_table);\n            IF v_table_type = \'SYSTEM VERSIONED\' THEN\n                SET out_exists = \'BASE TABLE\';\n            ELSE\n                SET out_exists = v_table_type;\n            END IF;\n        END IF;\n    ELSE\n        IF v_system_db = FALSE THEN\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'SELECT COUNT(*) FROM \',\n                                                            db_quoted,\n                                                            \'.\',\n                                                            table_quoted);\n            PREPARE stmt_select FROM @sys.tmp.table_exists.SQL;\n            IF (NOT v_error) THEN\n                DEALLOCATE PREPARE stmt_select;\n                SET out_exists = \'TEMPORARY\';\n            END IF;\n        END IF;\n    END IF;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Tests whether the table specified in in_db and in_table exists either as a regular\n             table, or as a temporary table. The returned value corresponds to the table that\n             will be used, so if there\'s both a temporary and a permanent table with the given\n             name, then \'TEMPORARY\' will be returned.\n             Parameters\n             in_db (VARCHAR(64)):\n               The database name to check for the existence of the table in.\n             in_table (VARCHAR(64)):\n               The name of the table to check the existence of.\n             out_exists ENUM(\'\', \'BASE TABLE\', \'VIEW\', \'TEMPORARY\'):\n               The return value: whether the table exists. The value is one of:\n                 * \'\'             - the table does not exist neither as a base table, view, sequence nor temporary table.\n                 * \'BASE TABLE\'   - the table name exists as a permanent base table table.\n                 * \'VIEW\'         - the table name exists as a view.\n                 * \'TEMPORARY\'    - the table name exists as a temporary table.\n                 * \'SEQUENCE\'     - the table name exists as a sequence.\n                 * \'SYSTEM VIEW\'  - the table name exists as a system view.\n             Example\n             mysql> CREATE DATABASE db1;\n             Query OK, 1 row affected (0.07 sec)\n             mysql> use db1;\n             Database changed\n             mysql> CREATE TABLE t1 (id INT PRIMARY KEY);\n             Query OK, 0 rows affected (0.08 sec)\n             mysql> CREATE TABLE t2 (id INT PRIMARY KEY);\n             Query OK, 0 rows affected (0.08 sec)\n             mysql> CREATE view v_t1 AS SELECT * FROM t1;\n             Query OK, 0 rows affected (0.00 sec)\n             mysql> CREATE TEMPORARY TABLE t1 (id INT PRIMARY KEY);\n             Query OK, 0 rows affected (0.00 sec)\n             mysql> CALL sys.table_exists(\'db1\', \'t1\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.00 sec)\n             +------------+\n             | @exists    |\n             +------------+\n             | TEMPORARY  |\n             +------------+\n             1 row in set (0.00 sec)\n             mysql> CALL sys.table_exists(\'db1\', \'t2\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.00 sec)\n             +------------+\n             | @exists    |\n             +------------+\n             | BASE TABLE |\n             +------------+\n             1 row in set (0.01 sec)\n             mysql> CALL sys.table_exists(\'db1\', \'v_t1\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.00 sec)\n             +---------+\n             | @exists |\n             +---------+\n             | VIEW    |\n             +---------+\n             1 row in set (0.00 sec)\n             MariaDB [sys]> CALL sys.table_exists(\'db1\', \'s\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.006 sec)\n             +----------+\n             | @exists  |\n             +----------+\n             | SEQUENCE |\n             +----------+\n             1 row in set (0.000 sec)\n             MariaDB [sys]> CALL table_exists(\'information_schema\', \'user_variables\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.003 sec)\n             +-------------+\n             | @exists     |\n             +-------------+\n             | SYSTEM VIEW |\n             +-------------+\n             1 row in set (0.001 sec)\n             mysql> CALL sys.table_exists(\'db1\', \'t3\', @exists); SELECT @exists;\n             Query OK, 0 rows affected (0.01 sec)\n             +---------+\n             | @exists |\n             +---------+\n             |         |\n             +---------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_error BOOLEAN DEFAULT FALSE;\n    DECLARE db_quoted VARCHAR(64);\n    DECLARE table_quoted VARCHAR(64);\n    DECLARE v_table_type VARCHAR(16) DEFAULT \'\';\n    DECLARE v_system_db BOOLEAN\n        DEFAULT LOWER(in_db) IN (\'information_schema\', \'performance_schema\');\n    DECLARE CONTINUE HANDLER FOR 1050 SET v_error = TRUE;\n    DECLARE CONTINUE HANDLER FOR 1146 SET v_error = TRUE;\n    SET out_exists = \'\';\n    SET db_quoted = sys.quote_identifier(in_db);\n    SET table_quoted = sys.quote_identifier(in_table);\n    IF (EXISTS(SELECT 1 FROM information_schema.TABLES WHERE TABLE_SCHEMA = in_db AND TABLE_NAME = in_table)) THEN\n        IF v_system_db = FALSE THEN\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'CREATE TEMPORARY TABLE \',\n                                                    db_quoted,\n                                                    \'.\',\n                                                    table_quoted,\n                                                    \'(id INT PRIMARY KEY)\');\n            PREPARE stmt_create_table FROM @sys.tmp.table_exists.SQL;\n            EXECUTE stmt_create_table;\n            DEALLOCATE PREPARE stmt_create_table;\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'DROP TEMPORARY TABLE \',\n                                                                db_quoted,\n                                                                \'.\',\n                                                                table_quoted);\n            PREPARE stmt_drop_table FROM @sys.tmp.table_exists.SQL;\n            EXECUTE stmt_drop_table;\n            DEALLOCATE PREPARE stmt_drop_table;\n        END IF;\n        IF (v_error) THEN\n            SET out_exists = \'TEMPORARY\';\n        ELSE\n            SET v_table_type = (SELECT TABLE_TYPE FROM information_schema.TABLES WHERE TABLE_SCHEMA = in_db AND TABLE_NAME = in_table);\n            IF v_table_type = \'SYSTEM VERSIONED\' THEN\n                SET out_exists = \'BASE TABLE\';\n            ELSE\n                SET out_exists = v_table_type;\n            END IF;\n        END IF;\n    ELSE\n        IF v_system_db = FALSE THEN\n            SET @sys.tmp.table_exists.SQL = CONCAT(\'SELECT COUNT(*) FROM \',\n                                                            db_quoted,\n                                                            \'.\',\n                                                            table_quoted);\n            PREPARE stmt_select FROM @sys.tmp.table_exists.SQL;\n            IF (NOT v_error) THEN\n                DEALLOCATE PREPARE stmt_select;\n                SET out_exists = \'TEMPORARY\';\n            END IF;\n        END IF;\n    END IF;\nEND','NONE'),('sys','ps_is_instrument_default_enabled','FUNCTION','ps_is_instrument_default_enabled','SQL','READS_SQL_DATA','YES','INVOKER','in_instrument VARCHAR(128)\n    ','enum(\'YES\',\'NO\') CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    DECLARE v_enabled ENUM(\'YES\', \'NO\');\n    SET v_enabled = IF(in_instrument LIKE \'wait/io/file/%\'\n                        OR in_instrument LIKE \'wait/io/table/%\'\n                        OR in_instrument LIKE \'statement/%\'\n                        OR in_instrument LIKE \'memory/performance_schema/%\'\n                        OR in_instrument IN (\'wait/lock/table/sql/handler\', \'idle\')\n               \n                      ,\n                       \'YES\',\n                       \'NO\'\n                    );\n    RETURN v_enabled;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns whether an instrument is enabled by default in this version of MySQL.\n             Parameters\n             in_instrument VARCHAR(128):\n               The instrument to check.\n             Returns\n             ENUM(\'YES\', \'NO\')\n             Example\n             mysql> SELECT sys.ps_is_instrument_default_enabled(\'statement/sql/select\');\n             +--------------------------------------------------------------+\n             | sys.ps_is_instrument_default_enabled(\'statement/sql/select\') |\n             +--------------------------------------------------------------+\n             | YES                                                          |\n             +--------------------------------------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_enabled ENUM(\'YES\', \'NO\');\n    SET v_enabled = IF(in_instrument LIKE \'wait/io/file/%\'\n                        OR in_instrument LIKE \'wait/io/table/%\'\n                        OR in_instrument LIKE \'statement/%\'\n                        OR in_instrument LIKE \'memory/performance_schema/%\'\n                        OR in_instrument IN (\'wait/lock/table/sql/handler\', \'idle\')\n               \n                      ,\n                       \'YES\',\n                       \'NO\'\n                    );\n    RETURN v_enabled;\nEND','NONE'),('sys','ps_is_instrument_default_timed','FUNCTION','ps_is_instrument_default_timed','SQL','READS_SQL_DATA','YES','INVOKER','in_instrument VARCHAR(128)\n    ','enum(\'YES\',\'NO\') CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    DECLARE v_timed ENUM(\'YES\', \'NO\');\n    SET v_timed = IF(in_instrument LIKE \'wait/io/file/%\'\n                        OR in_instrument LIKE \'wait/io/table/%\'\n                        OR in_instrument LIKE \'statement/%\'\n                        OR in_instrument IN (\'wait/lock/table/sql/handler\', \'idle\')\n               \n                      ,\n                       \'YES\',\n                       \'NO\'\n                    );\n    RETURN v_timed;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns whether an instrument is timed by default in this version of MySQL.\n             Parameters\n             in_instrument VARCHAR(128):\n               The instrument to check.\n             Returns\n             ENUM(\'YES\', \'NO\')\n             Example\n             mysql> SELECT sys.ps_is_instrument_default_timed(\'statement/sql/select\');\n             +------------------------------------------------------------+\n             | sys.ps_is_instrument_default_timed(\'statement/sql/select\') |\n             +------------------------------------------------------------+\n             | YES                                                        |\n             +------------------------------------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_timed ENUM(\'YES\', \'NO\');\n    SET v_timed = IF(in_instrument LIKE \'wait/io/file/%\'\n                        OR in_instrument LIKE \'wait/io/table/%\'\n                        OR in_instrument LIKE \'statement/%\'\n                        OR in_instrument IN (\'wait/lock/table/sql/handler\', \'idle\')\n               \n                      ,\n                       \'YES\',\n                       \'NO\'\n                    );\n    RETURN v_timed;\nEND','NONE'),('sys','ps_is_thread_instrumented','FUNCTION','ps_is_thread_instrumented','SQL','READS_SQL_DATA','NO','INVOKER','in_connection_id BIGINT UNSIGNED\n    ','enum(\'YES\',\'NO\',\'UNKNOWN\') CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    DECLARE v_enabled ENUM(\'YES\', \'NO\', \'UNKNOWN\');\n    IF (in_connection_id IS NULL) THEN\n        RETURN NULL;\n    END IF;\n    SELECT INSTRUMENTED INTO v_enabled\n      FROM performance_schema.threads\n     WHERE PROCESSLIST_ID = in_connection_id;\n    IF (v_enabled IS NULL) THEN\n        RETURN \'UNKNOWN\';\n    ELSE\n        RETURN v_enabled;\n    END IF;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Checks whether the provided connection id is instrumented within Performance Schema.\n             Parameters\n             in_connection_id (BIGINT UNSIGNED):\n               The id of the connection to check.\n             Returns\n             ENUM(\'YES\', \'NO\', \'UNKNOWN\')\n             Example\n             mysql> SELECT sys.ps_is_thread_instrumented(CONNECTION_ID());\n             +------------------------------------------------+\n             | sys.ps_is_thread_instrumented(CONNECTION_ID()) |\n             +------------------------------------------------+\n             | YES                                            |\n             +------------------------------------------------+\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_enabled ENUM(\'YES\', \'NO\', \'UNKNOWN\');\n    IF (in_connection_id IS NULL) THEN\n        RETURN NULL;\n    END IF;\n    SELECT INSTRUMENTED INTO v_enabled\n      FROM performance_schema.threads\n     WHERE PROCESSLIST_ID = in_connection_id;\n    IF (v_enabled IS NULL) THEN\n        RETURN \'UNKNOWN\';\n    ELSE\n        RETURN v_enabled;\n    END IF;\nEND','NONE'),('sys','ps_thread_id','FUNCTION','ps_thread_id','SQL','READS_SQL_DATA','NO','INVOKER','in_connection_id BIGINT UNSIGNED\n    ','bigint(20) unsigned','BEGIN\n    RETURN (SELECT THREAD_ID\n              FROM `performance_schema`.`threads`\n             WHERE PROCESSLIST_ID = IFNULL(in_connection_id, CONNECTION_ID())\n           );\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Return the Performance Schema THREAD_ID for the specified connection ID.\n             Parameters\n             in_connection_id (BIGINT UNSIGNED):\n               The id of the connection to return the thread id for. If NULL, the current\n               connection thread id is returned.\n             Example\n             mysql> SELECT sys.ps_thread_id(79);\n             +----------------------+\n             | sys.ps_thread_id(79) |\n             +----------------------+\n             |                   98 |\n             +----------------------+\n             1 row in set (0.00 sec)\n             mysql> SELECT sys.ps_thread_id(CONNECTION_ID());\n             +-----------------------------------+\n             | sys.ps_thread_id(CONNECTION_ID()) |\n             +-----------------------------------+\n             |                                98 |\n             +-----------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN (SELECT THREAD_ID\n              FROM `performance_schema`.`threads`\n             WHERE PROCESSLIST_ID = IFNULL(in_connection_id, CONNECTION_ID())\n           );\nEND','NONE'),('sys','ps_thread_account','FUNCTION','ps_thread_account','SQL','READS_SQL_DATA','NO','INVOKER','in_thread_id BIGINT UNSIGNED\n    ','text CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    RETURN (SELECT IF(\n                      type = \'FOREGROUND\',\n                      CONCAT(processlist_user, \'@\', processlist_host),\n                      type\n                     ) AS account\n              FROM `performance_schema`.`threads`\n             WHERE thread_id = in_thread_id);\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Return the user@host account for the given Performance Schema thread id.\n             Parameters\n             in_thread_id (BIGINT UNSIGNED):\n               The id of the thread to return the account for.\n             Example\n             mysql> select thread_id, processlist_user, processlist_host from performance_schema.threads where type = \'foreground\';\n              +-----------+------------------+------------------+\n              | thread_id | processlist_user | processlist_host |\n              +-----------+------------------+------------------+\n              |        23 | NULL             | NULL             |\n              |        30 | root             | localhost        |\n              |        31 | msandbox         | localhost        |\n              |        32 | msandbox         | localhost        |\n              +-----------+------------------+------------------+\n              4 rows in set (0.00 sec)\n              mysql> select sys.ps_thread_account(31);\n              +---------------------------+\n              | sys.ps_thread_account(31) |\n              +---------------------------+\n              | msandbox@localhost        |\n              +---------------------------+\n              1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN (SELECT IF(\n                      type = \'FOREGROUND\',\n                      CONCAT(processlist_user, \'@\', processlist_host),\n                      type\n                     ) AS account\n              FROM `performance_schema`.`threads`\n             WHERE thread_id = in_thread_id);\nEND','NONE'),('sys','quote_identifier','FUNCTION','quote_identifier','SQL','NO_SQL','YES','INVOKER','in_identifier TEXT','text CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    RETURN CONCAT(\'`\', REPLACE(in_identifier, \'`\', \'``\'), \'`\');\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Takes an unquoted identifier (schema name, table name, etc.) and\n             returns the identifier quoted with backticks.\n             Parameters\n             in_identifier (TEXT):\n               The identifier to quote.\n             Returns\n             TEXT\n             Example\n             mysql> SELECT sys.quote_identifier(\'my_identifier\') AS Identifier;\n             +-----------------+\n             | Identifier      |\n             +-----------------+\n             | `my_identifier` |\n             +-----------------+\n             1 row in set (0.00 sec)\n             mysql> SELECT sys.quote_identifier(\'my`idenfier\') AS Identifier;\n             +----------------+\n             | Identifier     |\n             +----------------+\n             | `my``idenfier` |\n             +----------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN CONCAT(\'`\', REPLACE(in_identifier, \'`\', \'``\'), \'`\');\nEND','NONE'),('sys','sys_get_config','FUNCTION','sys_get_config','SQL','READS_SQL_DATA','YES','INVOKER','in_variable_name VARCHAR(128),\n        in_default_value VARCHAR(128)\n    ','varchar(128) CHARSET utf8mb3 COLLATE utf8mb3_general_ci','BEGIN\n    DECLARE v_value VARCHAR(128) DEFAULT NULL;\n    DECLARE old_val INTEGER DEFAULT NULL;\n    SET v_value = (SELECT value FROM sys.sys_config WHERE variable = in_variable_name);\n    IF (v_value IS NULL) THEN\n        SET v_value = in_default_value;\n    END IF;\n    RETURN v_value;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns the value for the requested variable using the following logic:\n                1. If the option exists in sys.sys_config return the value from there.\n                2. Else fall back on the provided default value.\n             Notes for using sys_get_config():\n                * If the default value argument to sys_get_config() is NULL and case 2. is reached, NULL is returned.\n                  It is then expected that the caller is able to handle NULL for the given configuration option.\n                * The convention is to name the user variables @sys.<name of variable>. It is <name of variable> that\n                  is stored in the sys_config table and is what is expected as the argument to sys_get_config().\n                * If you want to check whether the configuration option has already been set and if not assign with\n                  the return value of sys_get_config() you can use IFNULL(...) (see example below). However this should\n                  not be done inside a loop (e.g. for each row in a result set) as for repeated calls where assignment\n                  is only needed in the first iteration using IFNULL(...) is expected to be significantly slower than\n                  using an IF (...) THEN ... END IF; block (see example below).\n             Parameters\n             in_variable_name (VARCHAR(128)):\n               The name of the config option to return the value for.\n             in_default_value (VARCHAR(128)):\n               The default value to return if the variable does not exist in sys.sys_config.\n             Returns\n             VARCHAR(128)\n             Example\n             mysql> SELECT sys.sys_get_config(\'statement_truncate_len\', 128) AS Value;\n             +-------+\n             | Value |\n             +-------+\n             | 64    |\n             +-------+\n             1 row in set (0.00 sec)\n             mysql> SET @sys.statement_truncate_len = IFNULL(@sys.statement_truncate_len, sys.sys_get_config(\'statement_truncate_len\', 64));\n             Query OK, 0 rows affected (0.00 sec)\n             IF (@sys.statement_truncate_len IS NULL) THEN\n                 SET @sys.statement_truncate_len = sys.sys_get_config(\'statement_truncate_len\', 64);\n             END IF;\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_value VARCHAR(128) DEFAULT NULL;\n    DECLARE old_val INTEGER DEFAULT NULL;\n    SET v_value = (SELECT value FROM sys.sys_config WHERE variable = in_variable_name);\n    IF (v_value IS NULL) THEN\n        SET v_value = in_default_value;\n    END IF;\n    RETURN v_value;\nEND','NONE'),('sys','version_major','FUNCTION','version_major','SQL','NO_SQL','NO','INVOKER','','tinyint(3) unsigned','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', 1);\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns the major version of MySQL Server.\n             Returns\n             TINYINT UNSIGNED\n             Example\n             mysql> SELECT VERSION(), sys.version_major();\n             +--------------------------------------+---------------------+\n             | VERSION()                            | sys.version_major() |\n             +--------------------------------------+---------------------+\n             | 5.7.9-enterprise-commercial-advanced | 5                   |\n             +--------------------------------------+---------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', 1);\nEND','NONE'),('sys','version_minor','FUNCTION','version_minor','SQL','NO_SQL','NO','INVOKER','','tinyint(3) unsigned','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', 2), \'.\', -1);\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns the minor (release series) version of MySQL Server.\n             Returns\n             TINYINT UNSIGNED\n             Example\n             mysql> SELECT VERSION(), sys.server_minor();\n             +--------------------------------------+---------------------+\n             | VERSION()                            | sys.version_minor() |\n             +--------------------------------------+---------------------+\n             | 5.7.9-enterprise-commercial-advanced | 7                   |\n             +--------------------------------------+---------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', 2), \'.\', -1);\nEND','NONE'),('sys','version_patch','FUNCTION','version_patch','SQL','NO_SQL','NO','INVOKER','','tinyint(3) unsigned','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', -1);\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Returns the patch release version of MySQL Server.\n             Returns\n             TINYINT UNSIGNED\n             Example\n             mysql> SELECT VERSION(), sys.version_patch();\n             +--------------------------------------+---------------------+\n             | VERSION()                            | sys.version_patch() |\n             +--------------------------------------+---------------------+\n             | 5.7.9-enterprise-commercial-advanced | 9                   |\n             +--------------------------------------+---------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    RETURN SUBSTRING_INDEX(SUBSTRING_INDEX(VERSION(), \'-\', 1), \'.\', -1);\nEND','NONE'),('sys','execute_prepared_stmt','PROCEDURE','execute_prepared_stmt','SQL','READS_SQL_DATA','NO','INVOKER','\n        IN in_query longtext CHARACTER SET UTF8\n    ','','BEGIN\n    IF (@sys.debug IS NULL) THEN\n        SET @sys.debug = sys.sys_get_config(\'debug\', \'OFF\');\n    END IF;\n    IF (in_query IS NULL OR LENGTH(in_query) < 4) THEN\n       SIGNAL SQLSTATE \'45000\'\n          SET MESSAGE_TEXT = \"The @sys.execute_prepared_stmt.sql must contain a query\";\n    END IF;\n    SET @sys.execute_prepared_stmt.sql = in_query;\n    IF (@sys.debug = \'ON\') THEN\n        SELECT @sys.execute_prepared_stmt.sql AS \'Debug\';\n    END IF;\n    PREPARE sys_execute_prepared_stmt FROM @sys.execute_prepared_stmt.sql;\n    EXECUTE sys_execute_prepared_stmt;\n    DEALLOCATE PREPARE sys_execute_prepared_stmt;\n    SET @sys.execute_prepared_stmt.sql = NULL;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Takes the query in the argument and executes it using a prepared statement. The prepared statement is deallocated,\n             so the procedure is mainly useful for executing one off dynamically created queries.\n             The sys_execute_prepared_stmt prepared statement name is used for the query and is required not to exist.\n             Parameters\n             in_query (longtext CHARACTER SET UTF8):\n               The query to execute.\n             Configuration Options\n             sys.debug\n               Whether to provide debugging output.\n               Default is \'OFF\'. Set to \'ON\' to include.\n             Example\n             mysql> CALL sys.execute_prepared_stmt(\'SELECT * FROM sys.sys_config\');\n             +------------------------+-------+---------------------+--------+\n             | variable               | value | set_time            | set_by |\n             +------------------------+-------+---------------------+--------+\n             | statement_truncate_len | 64    | 2015-06-30 13:06:00 | NULL   |\n             +------------------------+-------+---------------------+--------+\n             1 row in set (0.00 sec)\n             Query OK, 0 rows affected (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    IF (@sys.debug IS NULL) THEN\n        SET @sys.debug = sys.sys_get_config(\'debug\', \'OFF\');\n    END IF;\n    IF (in_query IS NULL OR LENGTH(in_query) < 4) THEN\n       SIGNAL SQLSTATE \'45000\'\n          SET MESSAGE_TEXT = \"The @sys.execute_prepared_stmt.sql must contain a query\";\n    END IF;\n    SET @sys.execute_prepared_stmt.sql = in_query;\n    IF (@sys.debug = \'ON\') THEN\n        SELECT @sys.execute_prepared_stmt.sql AS \'Debug\';\n    END IF;\n    PREPARE sys_execute_prepared_stmt FROM @sys.execute_prepared_stmt.sql;\n    EXECUTE sys_execute_prepared_stmt;\n    DEALLOCATE PREPARE sys_execute_prepared_stmt;\n    SET @sys.execute_prepared_stmt.sql = NULL;\nEND','NONE'),('sys','ps_setup_disable_background_threads','PROCEDURE','ps_setup_disable_background_threads','SQL','MODIFIES_SQL_DATA','NO','INVOKER','','','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'NO\'\n     WHERE type = \'BACKGROUND\';\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' background thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Disable all background thread instrumentation within Performance Schema.\n             Parameters\n             None.\n             Example\n             mysql> CALL sys.ps_setup_disable_background_threads();\n             +--------------------------------+\n             | summary                        |\n             +--------------------------------+\n             | Disabled 18 background threads |\n             +--------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'NO\'\n     WHERE type = \'BACKGROUND\';\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' background thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_disable_consumer','PROCEDURE','ps_setup_disable_consumer','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN consumer VARCHAR(128)\n    ','','BEGIN\n    UPDATE performance_schema.setup_consumers\n       SET enabled = \'NO\'\n     WHERE name LIKE CONCAT(\'%\', consumer, \'%\');\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' consumer\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Disables consumers within Performance Schema\n             matching the input pattern.\n             Parameters\n             consumer (VARCHAR(128)):\n               A LIKE pattern match (using \"%consumer%\") of consumers to disable\n             Example\n             To disable all consumers:\n             mysql> CALL sys.ps_setup_disable_consumer(\'\');\n             +--------------------------+\n             | summary                  |\n             +--------------------------+\n             | Disabled 15 consumers    |\n             +--------------------------+\n             1 row in set (0.02 sec)\n             To disable just the event_stage consumers:\n             mysql> CALL sys.ps_setup_disable_comsumers(\'stage\');\n             +------------------------+\n             | summary                |\n             +------------------------+\n             | Disabled 3 consumers   |\n             +------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.setup_consumers\n       SET enabled = \'NO\'\n     WHERE name LIKE CONCAT(\'%\', consumer, \'%\');\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' consumer\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_disable_instrument','PROCEDURE','ps_setup_disable_instrument','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN in_pattern VARCHAR(128)\n    ','','BEGIN\n    UPDATE performance_schema.setup_instruments\n       SET enabled = \'NO\', timed = \'NO\'\n     WHERE name LIKE CONCAT(\'%\', in_pattern, \'%\');\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' instrument\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Disables instruments within Performance Schema\n             matching the input pattern.\n             Parameters\n             in_pattern (VARCHAR(128)):\n               A LIKE pattern match (using \"%in_pattern%\") of events to disable\n             Example\n             To disable all mutex instruments:\n             mysql> CALL sys.ps_setup_disable_instrument(\'wait/synch/mutex\');\n             +--------------------------+\n             | summary                  |\n             +--------------------------+\n             | Disabled 155 instruments |\n             +--------------------------+\n             1 row in set (0.02 sec)\n             To disable just a specific TCP/IP based network IO instrument:\n             mysql> CALL sys.ps_setup_disable_instrument(\'wait/io/socket/sql/server_tcpip_socket\');\n             +------------------------+\n             | summary                |\n             +------------------------+\n             | Disabled 1 instruments |\n             +------------------------+\n             1 row in set (0.00 sec)\n             To disable all instruments:\n             mysql> CALL sys.ps_setup_disable_instrument(\'\');\n             +--------------------------+\n             | summary                  |\n             +--------------------------+\n             | Disabled 547 instruments |\n             +--------------------------+\n             1 row in set (0.01 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.setup_instruments\n       SET enabled = \'NO\', timed = \'NO\'\n     WHERE name LIKE CONCAT(\'%\', in_pattern, \'%\');\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' instrument\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_disable_thread','PROCEDURE','ps_setup_disable_thread','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN in_connection_id BIGINT\n    ','','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'NO\'\n     WHERE processlist_id = in_connection_id;\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Disable the given connection/thread in Performance Schema.\n             Parameters\n             in_connection_id (BIGINT):\n               The connection ID (PROCESSLIST_ID from performance_schema.threads\n               or the ID shown within SHOW PROCESSLIST)\n             Example\n             mysql> CALL sys.ps_setup_disable_thread(3);\n             +-------------------+\n             | summary           |\n             +-------------------+\n             | Disabled 1 thread |\n             +-------------------+\n             1 row in set (0.01 sec)\n             To disable the current connection:\n             mysql> CALL sys.ps_setup_disable_thread(CONNECTION_ID());\n             +-------------------+\n             | summary           |\n             +-------------------+\n             | Disabled 1 thread |\n             +-------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'NO\'\n     WHERE processlist_id = in_connection_id;\n    SELECT CONCAT(\'Disabled \', @rows := ROW_COUNT(), \' thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_enable_background_threads','PROCEDURE','ps_setup_enable_background_threads','SQL','MODIFIES_SQL_DATA','NO','INVOKER','','','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'YES\'\n     WHERE type = \'BACKGROUND\';\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' background thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Enable all background thread instrumentation within Performance Schema.\n             Parameters\n             None.\n             Example\n             mysql> CALL sys.ps_setup_enable_background_threads();\n             +-------------------------------+\n             | summary                       |\n             +-------------------------------+\n             | Enabled 18 background threads |\n             +-------------------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'YES\'\n     WHERE type = \'BACKGROUND\';\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' background thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_enable_consumer','PROCEDURE','ps_setup_enable_consumer','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN consumer VARCHAR(128)\n    ','','BEGIN\n    UPDATE performance_schema.setup_consumers\n       SET enabled = \'YES\'\n     WHERE name LIKE CONCAT(\'%\', consumer, \'%\');\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' consumer\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Enables consumers within Performance Schema\n             matching the input pattern.\n             Parameters\n             consumer (VARCHAR(128)):\n               A LIKE pattern match (using \"%consumer%\") of consumers to enable\n             Example\n             To enable all consumers:\n             mysql> CALL sys.ps_setup_enable_consumer(\'\');\n             +-------------------------+\n             | summary                 |\n             +-------------------------+\n             | Enabled 10 consumers    |\n             +-------------------------+\n             1 row in set (0.02 sec)\n             Query OK, 0 rows affected (0.02 sec)\n             To enable just \"waits\" consumers:\n             mysql> CALL sys.ps_setup_enable_consumer(\'waits\');\n             +-----------------------+\n             | summary               |\n             +-----------------------+\n             | Enabled 3 consumers   |\n             +-----------------------+\n             1 row in set (0.00 sec)\n             Query OK, 0 rows affected (0.00 sec)\n             ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.setup_consumers\n       SET enabled = \'YES\'\n     WHERE name LIKE CONCAT(\'%\', consumer, \'%\');\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' consumer\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_enable_instrument','PROCEDURE','ps_setup_enable_instrument','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN in_pattern VARCHAR(128)\n    ','','BEGIN\n    UPDATE performance_schema.setup_instruments\n       SET enabled = \'YES\', timed = \'YES\'\n     WHERE name LIKE CONCAT(\'%\', in_pattern, \'%\');\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' instrument\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Enables instruments within Performance Schema\n             matching the input pattern.\n             Parameters\n             in_pattern (VARCHAR(128)):\n               A LIKE pattern match (using \"%in_pattern%\") of events to enable\n             Example\n             To enable all mutex instruments:\n             mysql> CALL sys.ps_setup_enable_instrument(\'wait/synch/mutex\');\n             +-------------------------+\n             | summary                 |\n             +-------------------------+\n             | Enabled 155 instruments |\n             +-------------------------+\n             1 row in set (0.02 sec)\n             Query OK, 0 rows affected (0.02 sec)\n             To enable just a specific TCP/IP based network IO instrument:\n             mysql> CALL sys.ps_setup_enable_instrument(\'wait/io/socket/sql/server_tcpip_socket\');\n             +-----------------------+\n             | summary               |\n             +-----------------------+\n             | Enabled 1 instruments |\n             +-----------------------+\n             1 row in set (0.00 sec)\n             Query OK, 0 rows affected (0.00 sec)\n             To enable all instruments:\n             mysql> CALL sys.ps_setup_enable_instrument(\'\');\n             +-------------------------+\n             | summary                 |\n             +-------------------------+\n             | Enabled 547 instruments |\n             +-------------------------+\n             1 row in set (0.01 sec)\n             Query OK, 0 rows affected (0.01 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.setup_instruments\n       SET enabled = \'YES\', timed = \'YES\'\n     WHERE name LIKE CONCAT(\'%\', in_pattern, \'%\');\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' instrument\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_enable_thread','PROCEDURE','ps_setup_enable_thread','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN in_connection_id BIGINT\n    ','','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'YES\'\n     WHERE processlist_id = in_connection_id;\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Enable the given connection/thread in Performance Schema.\n             Parameters\n             in_connection_id (BIGINT):\n               The connection ID (PROCESSLIST_ID from performance_schema.threads\n               or the ID shown within SHOW PROCESSLIST)\n             Example\n             mysql> CALL sys.ps_setup_enable_thread(3);\n             +------------------+\n             | summary          |\n             +------------------+\n             | Enabled 1 thread |\n             +------------------+\n             1 row in set (0.01 sec)\n             To enable the current connection:\n             mysql> CALL sys.ps_setup_enable_thread(CONNECTION_ID());\n             +------------------+\n             | summary          |\n             +------------------+\n             | Enabled 1 thread |\n             +------------------+\n             1 row in set (0.00 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    UPDATE performance_schema.threads\n       SET instrumented = \'YES\'\n     WHERE processlist_id = in_connection_id;\n    SELECT CONCAT(\'Enabled \', @rows := ROW_COUNT(), \' thread\', IF(@rows != 1, \'s\', \'\')) AS summary;\nEND','NONE'),('sys','ps_setup_save','PROCEDURE','ps_setup_save','SQL','MODIFIES_SQL_DATA','NO','INVOKER','\n        IN in_timeout INT\n    ','','BEGIN\n    DECLARE v_lock_result INT;\n    SET @log_bin := @@sql_log_bin;\n    SET sql_log_bin = 0;\n    SELECT GET_LOCK(\'sys.ps_setup_save\', in_timeout) INTO v_lock_result;\n    IF v_lock_result THEN\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_actors;\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_consumers;\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_instruments;\n        DROP TEMPORARY TABLE IF EXISTS tmp_threads;\n        CREATE TEMPORARY TABLE tmp_setup_actors LIKE performance_schema.setup_actors;\n        CREATE TEMPORARY TABLE tmp_setup_consumers LIKE performance_schema.setup_consumers;\n        CREATE TEMPORARY TABLE tmp_setup_instruments LIKE performance_schema.setup_instruments;\n        CREATE TEMPORARY TABLE tmp_threads (THREAD_ID bigint unsigned NOT NULL PRIMARY KEY, INSTRUMENTED enum(\'YES\',\'NO\') NOT NULL);\n        INSERT INTO tmp_setup_actors SELECT * FROM performance_schema.setup_actors;\n        INSERT INTO tmp_setup_consumers SELECT * FROM performance_schema.setup_consumers;\n        INSERT INTO tmp_setup_instruments SELECT * FROM performance_schema.setup_instruments;\n        INSERT INTO tmp_threads SELECT THREAD_ID, INSTRUMENTED FROM performance_schema.threads;\n    ELSE\n        SIGNAL SQLSTATE VALUE \'90000\'\n           SET MESSAGE_TEXT = \'Could not lock the sys.ps_setup_save user lock, another thread has a saved configuration\';\n    END IF;\n    SET sql_log_bin = @log_bin;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Saves the current configuration of Performance Schema,\n             so that you can alter the setup for debugging purposes,\n             but restore it to a previous state.\n             Use the companion procedure - ps_setup_reload_saved(), to\n             restore the saved config.\n             The named lock \"sys.ps_setup_save\" is taken before the\n             current configuration is saved. If the attempt to get the named\n             lock times out, an error occurs.\n             The lock is released after the settings have been restored by\n             calling ps_setup_reload_saved().\n             Requires the SUPER privilege for \"SET sql_log_bin = 0;\".\n             Parameters\n             in_timeout INT\n               The timeout in seconds used when trying to obtain the lock.\n               A negative timeout means infinite timeout.\n             Example\n             mysql> CALL sys.ps_setup_save(-1);\n             Query OK, 0 rows affected (0.08 sec)\n             mysql> UPDATE performance_schema.setup_instruments\n                 ->    SET enabled = \'YES\', timed = \'YES\';\n             Query OK, 547 rows affected (0.40 sec)\n             Rows matched: 784  Changed: 547  Warnings: 0\n             /* Run some tests that need more detailed instrumentation here */\n             mysql> CALL sys.ps_setup_reload_saved();\n             Query OK, 0 rows affected (0.32 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_lock_result INT;\n    SET @log_bin := @@sql_log_bin;\n    SET sql_log_bin = 0;\n    SELECT GET_LOCK(\'sys.ps_setup_save\', in_timeout) INTO v_lock_result;\n    IF v_lock_result THEN\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_actors;\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_consumers;\n        DROP TEMPORARY TABLE IF EXISTS tmp_setup_instruments;\n        DROP TEMPORARY TABLE IF EXISTS tmp_threads;\n        CREATE TEMPORARY TABLE tmp_setup_actors LIKE performance_schema.setup_actors;\n        CREATE TEMPORARY TABLE tmp_setup_consumers LIKE performance_schema.setup_consumers;\n        CREATE TEMPORARY TABLE tmp_setup_instruments LIKE performance_schema.setup_instruments;\n        CREATE TEMPORARY TABLE tmp_threads (THREAD_ID bigint unsigned NOT NULL PRIMARY KEY, INSTRUMENTED enum(\'YES\',\'NO\') NOT NULL);\n        INSERT INTO tmp_setup_actors SELECT * FROM performance_schema.setup_actors;\n        INSERT INTO tmp_setup_consumers SELECT * FROM performance_schema.setup_consumers;\n        INSERT INTO tmp_setup_instruments SELECT * FROM performance_schema.setup_instruments;\n        INSERT INTO tmp_threads SELECT THREAD_ID, INSTRUMENTED FROM performance_schema.threads;\n    ELSE\n        SIGNAL SQLSTATE VALUE \'90000\'\n           SET MESSAGE_TEXT = \'Could not lock the sys.ps_setup_save user lock, another thread has a saved configuration\';\n    END IF;\n    SET sql_log_bin = @log_bin;\nEND','NONE'),('sys','ps_setup_reload_saved','PROCEDURE','ps_setup_reload_saved','SQL','MODIFIES_SQL_DATA','NO','INVOKER','','','BEGIN\n    DECLARE v_done bool DEFAULT FALSE;\n    DECLARE v_lock_result INT;\n    DECLARE v_lock_used_by BIGINT;\n    DECLARE v_signal_message TEXT;\n    DECLARE EXIT HANDLER FOR SQLEXCEPTION\n    BEGIN\n        SIGNAL SQLSTATE VALUE \'90001\'\n           SET MESSAGE_TEXT = \'An error occurred, was sys.ps_setup_save() run before this procedure?\';\n    END;\n    SET @log_bin := @@sql_log_bin;\n    SET sql_log_bin = 0;\n    SELECT IS_USED_LOCK(\'sys.ps_setup_save\') INTO v_lock_used_by;\n    IF (v_lock_used_by != CONNECTION_ID()) THEN\n        SET v_signal_message = CONCAT(\'The sys.ps_setup_save lock is currently owned by \', v_lock_used_by);\n        SIGNAL SQLSTATE VALUE \'90002\'\n           SET MESSAGE_TEXT = v_signal_message;\n    END IF;\n    DELETE FROM performance_schema.setup_actors;\n    INSERT INTO performance_schema.setup_actors SELECT * FROM tmp_setup_actors;\n    BEGIN\n        DECLARE v_name varchar(64);\n        DECLARE v_enabled enum(\'YES\', \'NO\');\n        DECLARE c_consumers CURSOR FOR SELECT NAME, ENABLED FROM tmp_setup_consumers;\n        DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n        SET v_done = FALSE;\n        OPEN c_consumers;\n        c_consumers_loop: LOOP\n            FETCH c_consumers INTO v_name, v_enabled;\n            IF v_done THEN\n               LEAVE c_consumers_loop;\n            END IF;\n            UPDATE performance_schema.setup_consumers\n               SET ENABLED = v_enabled\n             WHERE NAME = v_name;\n         END LOOP;\n         CLOSE c_consumers;\n    END;\n    UPDATE performance_schema.setup_instruments\n     INNER JOIN tmp_setup_instruments USING (NAME)\n       SET performance_schema.setup_instruments.ENABLED = tmp_setup_instruments.ENABLED,\n           performance_schema.setup_instruments.TIMED   = tmp_setup_instruments.TIMED;\n    BEGIN\n        DECLARE v_thread_id bigint unsigned;\n        DECLARE v_instrumented enum(\'YES\', \'NO\');\n        DECLARE c_threads CURSOR FOR SELECT THREAD_ID, INSTRUMENTED FROM tmp_threads;\n        DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n        SET v_done = FALSE;\n        OPEN c_threads;\n        c_threads_loop: LOOP\n            FETCH c_threads INTO v_thread_id, v_instrumented;\n            IF v_done THEN\n               LEAVE c_threads_loop;\n            END IF;\n            UPDATE performance_schema.threads\n               SET INSTRUMENTED = v_instrumented\n             WHERE THREAD_ID = v_thread_id;\n        END LOOP;\n        CLOSE c_threads;\n    END;\n    UPDATE performance_schema.threads\n       SET INSTRUMENTED = IF(PROCESSLIST_USER IS NOT NULL,\n                             sys.ps_is_account_enabled(PROCESSLIST_HOST, PROCESSLIST_USER),\n                             \'YES\')\n     WHERE THREAD_ID NOT IN (SELECT THREAD_ID FROM tmp_threads);\n    DROP TEMPORARY TABLE tmp_setup_actors;\n    DROP TEMPORARY TABLE tmp_setup_consumers;\n    DROP TEMPORARY TABLE tmp_setup_instruments;\n    DROP TEMPORARY TABLE tmp_threads;\n    SELECT RELEASE_LOCK(\'sys.ps_setup_save\') INTO v_lock_result;\n    SET sql_log_bin = @log_bin;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Reloads a saved Performance Schema configuration,\n             so that you can alter the setup for debugging purposes,\n             but restore it to a previous state.\n             Use the companion procedure - ps_setup_save(), to\n             save a configuration.\n             Requires the SUPER privilege for \"SET sql_log_bin = 0;\".\n             Parameters\n             None.\n             Example\n             mysql> CALL sys.ps_setup_save();\n             Query OK, 0 rows affected (0.08 sec)\n             mysql> UPDATE performance_schema.setup_instruments SET enabled = \'YES\', timed = \'YES\';\n             Query OK, 547 rows affected (0.40 sec)\n             Rows matched: 784  Changed: 547  Warnings: 0\n             /* Run some tests that need more detailed instrumentation here */\n             mysql> CALL sys.ps_setup_reload_saved();\n             Query OK, 0 rows affected (0.32 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_done bool DEFAULT FALSE;\n    DECLARE v_lock_result INT;\n    DECLARE v_lock_used_by BIGINT;\n    DECLARE v_signal_message TEXT;\n    DECLARE EXIT HANDLER FOR SQLEXCEPTION\n    BEGIN\n        SIGNAL SQLSTATE VALUE \'90001\'\n           SET MESSAGE_TEXT = \'An error occurred, was sys.ps_setup_save() run before this procedure?\';\n    END;\n    SET @log_bin := @@sql_log_bin;\n    SET sql_log_bin = 0;\n    SELECT IS_USED_LOCK(\'sys.ps_setup_save\') INTO v_lock_used_by;\n    IF (v_lock_used_by != CONNECTION_ID()) THEN\n        SET v_signal_message = CONCAT(\'The sys.ps_setup_save lock is currently owned by \', v_lock_used_by);\n        SIGNAL SQLSTATE VALUE \'90002\'\n           SET MESSAGE_TEXT = v_signal_message;\n    END IF;\n    DELETE FROM performance_schema.setup_actors;\n    INSERT INTO performance_schema.setup_actors SELECT * FROM tmp_setup_actors;\n    BEGIN\n        DECLARE v_name varchar(64);\n        DECLARE v_enabled enum(\'YES\', \'NO\');\n        DECLARE c_consumers CURSOR FOR SELECT NAME, ENABLED FROM tmp_setup_consumers;\n        DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n        SET v_done = FALSE;\n        OPEN c_consumers;\n        c_consumers_loop: LOOP\n            FETCH c_consumers INTO v_name, v_enabled;\n            IF v_done THEN\n               LEAVE c_consumers_loop;\n            END IF;\n            UPDATE performance_schema.setup_consumers\n               SET ENABLED = v_enabled\n             WHERE NAME = v_name;\n         END LOOP;\n         CLOSE c_consumers;\n    END;\n    UPDATE performance_schema.setup_instruments\n     INNER JOIN tmp_setup_instruments USING (NAME)\n       SET performance_schema.setup_instruments.ENABLED = tmp_setup_instruments.ENABLED,\n           performance_schema.setup_instruments.TIMED   = tmp_setup_instruments.TIMED;\n    BEGIN\n        DECLARE v_thread_id bigint unsigned;\n        DECLARE v_instrumented enum(\'YES\', \'NO\');\n        DECLARE c_threads CURSOR FOR SELECT THREAD_ID, INSTRUMENTED FROM tmp_threads;\n        DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n        SET v_done = FALSE;\n        OPEN c_threads;\n        c_threads_loop: LOOP\n            FETCH c_threads INTO v_thread_id, v_instrumented;\n            IF v_done THEN\n               LEAVE c_threads_loop;\n            END IF;\n            UPDATE performance_schema.threads\n               SET INSTRUMENTED = v_instrumented\n             WHERE THREAD_ID = v_thread_id;\n        END LOOP;\n        CLOSE c_threads;\n    END;\n    UPDATE performance_schema.threads\n       SET INSTRUMENTED = IF(PROCESSLIST_USER IS NOT NULL,\n                             sys.ps_is_account_enabled(PROCESSLIST_HOST, PROCESSLIST_USER),\n                             \'YES\')\n     WHERE THREAD_ID NOT IN (SELECT THREAD_ID FROM tmp_threads);\n    DROP TEMPORARY TABLE tmp_setup_actors;\n    DROP TEMPORARY TABLE tmp_setup_consumers;\n    DROP TEMPORARY TABLE tmp_setup_instruments;\n    DROP TEMPORARY TABLE tmp_threads;\n    SELECT RELEASE_LOCK(\'sys.ps_setup_save\') INTO v_lock_result;\n    SET sql_log_bin = @log_bin;\nEND','NONE'),('sys','ps_setup_show_disabled','PROCEDURE','ps_setup_show_disabled','SQL','READS_SQL_DATA','NO','INVOKER','\n        IN in_show_instruments BOOLEAN,\n        IN in_show_threads BOOLEAN\n    ','','BEGIN\n    SELECT @@performance_schema AS performance_schema_enabled;\n    \n    SELECT object_type,\n           CONCAT(object_schema, \'.\', object_name) AS objects,\n           enabled,\n           timed\n      FROM performance_schema.setup_objects\n     WHERE enabled = \'NO\'\n     ORDER BY object_type, objects;\n    SELECT name AS disabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'NO\'\n     ORDER BY disabled_consumers;\n    IF (in_show_threads) THEN\n        SELECT IF(name = \'thread/sql/one_connection\',\n                  CONCAT(processlist_user, \'@\', processlist_host),\n                  REPLACE(name, \'thread/\', \'\')) AS disabled_threads,\n        TYPE AS thread_type\n          FROM performance_schema.threads\n         WHERE INSTRUMENTED = \'NO\'\n         ORDER BY disabled_threads;\n    END IF;\n    IF (in_show_instruments) THEN\n        SELECT name AS disabled_instruments,\n               timed\n          FROM performance_schema.setup_instruments\n         WHERE enabled = \'NO\'\n         ORDER BY disabled_instruments;\n    END IF;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Shows all currently disable Performance Schema configuration.\n             Disabled users is only available for MySQL 5.7.6 and later.\n             In earlier versions it was only possible to enable users.\n             Parameters\n             in_show_instruments (BOOLEAN):\n               Whether to print disabled instruments (can print many items)\n             in_show_threads (BOOLEAN):\n               Whether to print disabled threads\n             Example\n             mysql> CALL sys.ps_setup_show_disabled(TRUE, TRUE);\n             +----------------------------+\n             | performance_schema_enabled |\n             +----------------------------+\n             |                          1 |\n             +----------------------------+\n             1 row in set (0.00 sec)\n             +--------------------+\n             | disabled_users     |\n             +--------------------+\n             | \'mark\'@\'localhost\' |\n             +--------------------+\n             1 row in set (0.00 sec)\n             +-------------+----------------------+---------+-------+\n             | object_type | objects              | enabled | timed |\n             +-------------+----------------------+---------+-------+\n             | EVENT       | mysql.%              | NO      | NO    |\n             | EVENT       | performance_schema.% | NO      | NO    |\n             | EVENT       | information_schema.% | NO      | NO    |\n             | FUNCTION    | mysql.%              | NO      | NO    |\n             | FUNCTION    | performance_schema.% | NO      | NO    |\n             | FUNCTION    | information_schema.% | NO      | NO    |\n             | PROCEDURE   | mysql.%              | NO      | NO    |\n             | PROCEDURE   | performance_schema.% | NO      | NO    |\n             | PROCEDURE   | information_schema.% | NO      | NO    |\n             | TABLE       | mysql.%              | NO      | NO    |\n             | TABLE       | performance_schema.% | NO      | NO    |\n             | TABLE       | information_schema.% | NO      | NO    |\n             | TRIGGER     | mysql.%              | NO      | NO    |\n             | TRIGGER     | performance_schema.% | NO      | NO    |\n             | TRIGGER     | information_schema.% | NO      | NO    |\n             +-------------+----------------------+---------+-------+\n             15 rows in set (0.00 sec)\n             +----------------------------------+\n             | disabled_consumers               |\n             +----------------------------------+\n             | events_stages_current            |\n             | events_stages_history            |\n             | events_stages_history_long       |\n             | events_statements_history        |\n             | events_statements_history_long   |\n             | events_transactions_history      |\n             | events_transactions_history_long |\n             | events_waits_current             |\n             | events_waits_history             |\n             | events_waits_history_long        |\n             +----------------------------------+\n             10 rows in set (0.00 sec)\n             Empty set (0.00 sec)\n             +---------------------------------------------------------------------------------------+-------+\n             | disabled_instruments                                                                  | timed |\n             +---------------------------------------------------------------------------------------+-------+\n             | wait/synch/mutex/sql/TC_LOG_MMAP::LOCK_tc                                             | NO    |\n             | wait/synch/mutex/sql/LOCK_des_key_file                                                | NO    |\n             | wait/synch/mutex/sql/MYSQL_BIN_LOG::LOCK_commit                                       | NO    |\n             ...\n             | memory/sql/servers_cache                                                              | NO    |\n             | memory/sql/udf_mem                                                                    | NO    |\n             | wait/lock/metadata/sql/mdl                                                            | NO    |\n             +---------------------------------------------------------------------------------------+-------+\n             547 rows in set (0.00 sec)\n             Query OK, 0 rows affected (0.01 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    SELECT @@performance_schema AS performance_schema_enabled;\n    \n    SELECT object_type,\n           CONCAT(object_schema, \'.\', object_name) AS objects,\n           enabled,\n           timed\n      FROM performance_schema.setup_objects\n     WHERE enabled = \'NO\'\n     ORDER BY object_type, objects;\n    SELECT name AS disabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'NO\'\n     ORDER BY disabled_consumers;\n    IF (in_show_threads) THEN\n        SELECT IF(name = \'thread/sql/one_connection\',\n                  CONCAT(processlist_user, \'@\', processlist_host),\n                  REPLACE(name, \'thread/\', \'\')) AS disabled_threads,\n        TYPE AS thread_type\n          FROM performance_schema.threads\n         WHERE INSTRUMENTED = \'NO\'\n         ORDER BY disabled_threads;\n    END IF;\n    IF (in_show_instruments) THEN\n        SELECT name AS disabled_instruments,\n               timed\n          FROM performance_schema.setup_instruments\n         WHERE enabled = \'NO\'\n         ORDER BY disabled_instruments;\n    END IF;\nEND','NONE'),('sys','ps_setup_show_disabled_consumers','PROCEDURE','ps_setup_show_disabled_consumers','SQL','READS_SQL_DATA','YES','INVOKER','','','BEGIN\n    SELECT name AS disabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'NO\'\n     ORDER BY disabled_consumers;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Shows all currently disabled consumers.\n             Parameters\n             None\n             Example\n             mysql> CALL sys.ps_setup_show_disabled_consumers();\n             +---------------------------+\n             | disabled_consumers        |\n             +---------------------------+\n             | events_statements_current |\n             | global_instrumentation    |\n             | thread_instrumentation    |\n             | statements_digest         |\n             +---------------------------+\n             4 rows in set (0.05 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    SELECT name AS disabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'NO\'\n     ORDER BY disabled_consumers;\nEND','NONE'),('sys','ps_setup_show_enabled_consumers','PROCEDURE','ps_setup_show_enabled_consumers','SQL','READS_SQL_DATA','YES','INVOKER','','','BEGIN\n    SELECT name AS enabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'YES\'\n     ORDER BY enabled_consumers;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Shows all currently enabled consumers.\n             Parameters\n             None\n             Example\n             mysql> CALL sys.ps_setup_show_enabled_consumers();\n             +---------------------------+\n             | enabled_consumers         |\n             +---------------------------+\n             | events_statements_current |\n             | global_instrumentation    |\n             | thread_instrumentation    |\n             | statements_digest         |\n             +---------------------------+\n             4 rows in set (0.05 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    SELECT name AS enabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'YES\'\n     ORDER BY enabled_consumers;\nEND','NONE'),('sys','ps_truncate_all_tables','PROCEDURE','ps_truncate_all_tables','SQL','MODIFIES_SQL_DATA','YES','INVOKER','\n        IN in_verbose BOOLEAN\n    ','','BEGIN\n    DECLARE v_done INT DEFAULT FALSE;\n    DECLARE v_total_tables INT DEFAULT 0;\n    DECLARE v_ps_table VARCHAR(64);\n    DECLARE ps_tables CURSOR FOR\n        SELECT table_name\n          FROM INFORMATION_SCHEMA.TABLES\n         WHERE table_schema = \'performance_schema\'\n           AND (table_name LIKE \'%summary%\'\n            OR table_name LIKE \'%history%\');\n    DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n    OPEN ps_tables;\n    ps_tables_loop: LOOP\n        FETCH ps_tables INTO v_ps_table;\n        IF v_done THEN\n          LEAVE ps_tables_loop;\n        END IF;\n        SET @truncate_stmt := CONCAT(\'TRUNCATE TABLE performance_schema.\', v_ps_table);\n        IF in_verbose THEN\n            SELECT CONCAT(\'Running: \', @truncate_stmt) AS status;\n        END IF;\n        PREPARE truncate_stmt FROM @truncate_stmt;\n        EXECUTE truncate_stmt;\n        DEALLOCATE PREPARE truncate_stmt;\n        SET v_total_tables = v_total_tables + 1;\n    END LOOP;\n    CLOSE ps_tables;\n    SELECT CONCAT(\'Truncated \', v_total_tables, \' tables\') AS summary;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Truncates all summary tables within Performance Schema,\n             resetting all aggregated instrumentation as a snapshot.\n             Parameters\n             in_verbose (BOOLEAN):\n               Whether to print each TRUNCATE statement before running\n             Example\n             mysql> CALL sys.ps_truncate_all_tables(false);\n             +---------------------+\n             | summary             |\n             +---------------------+\n             | Truncated 44 tables |\n             +---------------------+\n             1 row in set (0.10 sec)\n             Query OK, 0 rows affected (0.10 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    DECLARE v_done INT DEFAULT FALSE;\n    DECLARE v_total_tables INT DEFAULT 0;\n    DECLARE v_ps_table VARCHAR(64);\n    DECLARE ps_tables CURSOR FOR\n        SELECT table_name\n          FROM INFORMATION_SCHEMA.TABLES\n         WHERE table_schema = \'performance_schema\'\n           AND (table_name LIKE \'%summary%\'\n            OR table_name LIKE \'%history%\');\n    DECLARE CONTINUE HANDLER FOR NOT FOUND SET v_done = TRUE;\n    OPEN ps_tables;\n    ps_tables_loop: LOOP\n        FETCH ps_tables INTO v_ps_table;\n        IF v_done THEN\n          LEAVE ps_tables_loop;\n        END IF;\n        SET @truncate_stmt := CONCAT(\'TRUNCATE TABLE performance_schema.\', v_ps_table);\n        IF in_verbose THEN\n            SELECT CONCAT(\'Running: \', @truncate_stmt) AS status;\n        END IF;\n        PREPARE truncate_stmt FROM @truncate_stmt;\n        EXECUTE truncate_stmt;\n        DEALLOCATE PREPARE truncate_stmt;\n        SET v_total_tables = v_total_tables + 1;\n    END LOOP;\n    CLOSE ps_tables;\n    SELECT CONCAT(\'Truncated \', v_total_tables, \' tables\') AS summary;\nEND','NONE'),('sys','ps_setup_show_enabled','PROCEDURE','ps_setup_show_enabled','SQL','READS_SQL_DATA','YES','INVOKER','\n        IN in_show_instruments BOOLEAN,\n        IN in_show_threads BOOLEAN\n    ','','BEGIN\n    SELECT @@performance_schema AS performance_schema_enabled;\n    SELECT CONCAT(\'\\\'\', user, \'\\\'@\\\'\', host, \'\\\'\') AS enabled_users\n      FROM performance_schema.setup_actors\n      WHERE enabled = \'YES\'\n     ORDER BY enabled_users;\n    SELECT object_type,\n           CONCAT(object_schema, \'.\', object_name) AS objects,\n           enabled,\n           timed\n      FROM performance_schema.setup_objects\n     WHERE enabled = \'YES\'\n     ORDER BY object_type, objects;\n    SELECT name AS enabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'YES\'\n     ORDER BY enabled_consumers;\n    IF (in_show_threads) THEN\n        SELECT IF(name = \'thread/sql/one_connection\',\n                  CONCAT(processlist_user, \'@\', processlist_host),\n                  REPLACE(name, \'thread/\', \'\')) AS enabled_threads,\n        TYPE AS thread_type\n          FROM performance_schema.threads\n         WHERE INSTRUMENTED = \'YES\' AND name <> \'thread/innodb/thread_pool_thread\'\n         ORDER BY enabled_threads;\n    END IF;\n    IF (in_show_instruments) THEN\n        SELECT name AS enabled_instruments,\n               timed\n          FROM performance_schema.setup_instruments\n         WHERE enabled = \'YES\'\n         ORDER BY enabled_instruments;\n    END IF;\nEND','mariadb.sys@localhost','2024-08-16 15:42:05','2024-08-16 15:42:05','','\n             Description\n             Shows all currently enabled Performance Schema configuration.\n             Parameters\n             in_show_instruments (BOOLEAN):\n               Whether to print enabled instruments (can print many items)\n             in_show_threads (BOOLEAN):\n               Whether to print enabled threads\n             Example\n             mysql> CALL sys.ps_setup_show_enabled(TRUE, TRUE);\n             +----------------------------+\n             | performance_schema_enabled |\n             +----------------------------+\n             |                          1 |\n             +----------------------------+\n             1 row in set (0.00 sec)\n             +---------------+\n             | enabled_users |\n             +---------------+\n             | \'%\'@\'%\'       |\n             +---------------+\n             1 row in set (0.01 sec)\n             +-------------+---------+---------+-------+\n             | object_type | objects | enabled | timed |\n             +-------------+---------+---------+-------+\n             | EVENT       | %.%     | YES     | YES   |\n             | FUNCTION    | %.%     | YES     | YES   |\n             | PROCEDURE   | %.%     | YES     | YES   |\n             | TABLE       | %.%     | YES     | YES   |\n             | TRIGGER     | %.%     | YES     | YES   |\n             +-------------+---------+---------+-------+\n             5 rows in set (0.01 sec)\n             +---------------------------+\n             | enabled_consumers         |\n             +---------------------------+\n             | events_statements_current |\n             | global_instrumentation    |\n             | thread_instrumentation    |\n             | statements_digest         |\n             +---------------------------+\n             4 rows in set (0.05 sec)\n             +---------------------------------+-------------+\n             | enabled_threads                 | thread_type |\n             +---------------------------------+-------------+\n             | sql/main                        | BACKGROUND  |\n             | sql/thread_timer_notifier       | BACKGROUND  |\n             | innodb/io_ibuf_thread           | BACKGROUND  |\n             | innodb/io_log_thread            | BACKGROUND  |\n             | innodb/io_read_thread           | BACKGROUND  |\n             | innodb/io_read_thread           | BACKGROUND  |\n             | innodb/io_write_thread          | BACKGROUND  |\n             | innodb/io_write_thread          | BACKGROUND  |\n             | innodb/page_cleaner_thread      | BACKGROUND  |\n             | innodb/srv_lock_timeout_thread  | BACKGROUND  |\n             | innodb/srv_error_monitor_thread | BACKGROUND  |\n             | innodb/srv_monitor_thread       | BACKGROUND  |\n             | innodb/srv_master_thread        | BACKGROUND  |\n             | innodb/srv_purge_thread         | BACKGROUND  |\n             | innodb/srv_worker_thread        | BACKGROUND  |\n             | innodb/srv_worker_thread        | BACKGROUND  |\n             | innodb/srv_worker_thread        | BACKGROUND  |\n             | innodb/buf_dump_thread          | BACKGROUND  |\n             | innodb/dict_stats_thread        | BACKGROUND  |\n             | sql/signal_handler              | BACKGROUND  |\n             | sql/compress_gtid_table         | FOREGROUND  |\n             | root@localhost                  | FOREGROUND  |\n             +---------------------------------+-------------+\n             22 rows in set (0.01 sec)\n             +-------------------------------------+-------+\n             | enabled_instruments                 | timed |\n             +-------------------------------------+-------+\n             | wait/io/file/sql/map                | YES   |\n             | wait/io/file/sql/binlog             | YES   |\n             ...\n             | statement/com/Error                 | YES   |\n             | statement/com/                      | YES   |\n             | idle                                | YES   |\n             +-------------------------------------+-------+\n             210 rows in set (0.08 sec)\n             Query OK, 0 rows affected (0.89 sec)\n            ','utf8mb3','utf8mb3_general_ci','utf8mb3_general_ci','BEGIN\n    SELECT @@performance_schema AS performance_schema_enabled;\n    SELECT CONCAT(\'\'\'\', user, \'\'\'@\'\'\', host, \'\'\'\') AS enabled_users\n      FROM performance_schema.setup_actors\n      WHERE enabled = \'YES\'\n     ORDER BY enabled_users;\n    SELECT object_type,\n           CONCAT(object_schema, \'.\', object_name) AS objects,\n           enabled,\n           timed\n      FROM performance_schema.setup_objects\n     WHERE enabled = \'YES\'\n     ORDER BY object_type, objects;\n    SELECT name AS enabled_consumers\n      FROM performance_schema.setup_consumers\n     WHERE enabled = \'YES\'\n     ORDER BY enabled_consumers;\n    IF (in_show_threads) THEN\n        SELECT IF(name = \'thread/sql/one_connection\',\n                  CONCAT(processlist_user, \'@\', processlist_host),\n                  REPLACE(name, \'thread/\', \'\')) AS enabled_threads,\n        TYPE AS thread_type\n          FROM performance_schema.threads\n         WHERE INSTRUMENTED = \'YES\' AND name <> \'thread/innodb/thread_pool_thread\'\n         ORDER BY enabled_threads;\n    END IF;\n    IF (in_show_instruments) THEN\n        SELECT name AS enabled_instruments,\n               timed\n          FROM performance_schema.setup_instruments\n         WHERE enabled = \'YES\'\n         ORDER BY enabled_instruments;\n    END IF;\nEND','NONE');

--
-- Table structure for table `procs_priv`
--

CREATE TABLE `procs_priv` (
  `Host` char(255) NOT NULL DEFAULT '',
  `Db` char(64) NOT NULL DEFAULT '',
  `User` char(128) NOT NULL DEFAULT '',
  `Routine_name` char(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '',
  `Routine_type` enum('FUNCTION','PROCEDURE','PACKAGE','PACKAGE BODY') NOT NULL,
  `Grantor` varchar(384) NOT NULL DEFAULT '',
  `Proc_priv` set('Execute','Alter Routine','Grant') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`Host`,`Db`,`User`,`Routine_name`,`Routine_type`),
  KEY `Grantor` (`Grantor`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Procedure privileges';

--
-- Dumping data for table `procs_priv`
--


--
-- Table structure for table `proxies_priv`
--

CREATE TABLE `proxies_priv` (
  `Host` char(255) NOT NULL DEFAULT '',
  `User` char(128) NOT NULL DEFAULT '',
  `Proxied_host` char(255) NOT NULL DEFAULT '',
  `Proxied_user` char(128) NOT NULL DEFAULT '',
  `With_grant` tinyint(1) NOT NULL DEFAULT 0,
  `Grantor` varchar(384) NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`Host`,`User`,`Proxied_host`,`Proxied_user`),
  KEY `Grantor` (`Grantor`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='User proxy privileges';

--
-- Dumping data for table `proxies_priv`
--

INSERT INTO `proxies_priv` VALUES ('localhost','root','','',1,'','2024-08-16 15:42:05'),('localhost','mysql','','',1,'','2024-08-16 15:42:05');

--
-- Table structure for table `roles_mapping`
--

CREATE TABLE `roles_mapping` (
  `Host` char(255) NOT NULL DEFAULT '',
  `User` char(128) NOT NULL DEFAULT '',
  `Role` char(128) NOT NULL DEFAULT '',
  `Admin_option` enum('N','Y') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT 'N',
  UNIQUE KEY `Host` (`Host`,`User`,`Role`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Granted roles';

--
-- Dumping data for table `roles_mapping`
--


--
-- Table structure for table `servers`
--

CREATE TABLE `servers` (
  `Server_name` char(64) NOT NULL DEFAULT '',
  `Host` varchar(2048) NOT NULL DEFAULT '',
  `Db` char(64) NOT NULL DEFAULT '',
  `Username` char(128) NOT NULL DEFAULT '',
  `Password` char(64) NOT NULL DEFAULT '',
  `Port` int(4) NOT NULL DEFAULT 0,
  `Socket` char(64) NOT NULL DEFAULT '',
  `Wrapper` char(64) NOT NULL DEFAULT '',
  `Owner` varchar(512) NOT NULL DEFAULT '',
  PRIMARY KEY (`Server_name`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='MySQL Foreign Servers table';

--
-- Dumping data for table `servers`
--


--
-- Table structure for table `table_stats`
--

CREATE TABLE `table_stats` (
  `db_name` varchar(64) NOT NULL,
  `table_name` varchar(64) NOT NULL,
  `cardinality` bigint(21) unsigned DEFAULT NULL,
  PRIMARY KEY (`db_name`,`table_name`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin PAGE_CHECKSUM=1 TRANSACTIONAL=0 COMMENT='Statistics on Tables';

--
-- Dumping data for table `table_stats`
--


--
-- Table structure for table `tables_priv`
--

CREATE TABLE `tables_priv` (
  `Host` char(255) NOT NULL DEFAULT '',
  `Db` char(64) NOT NULL DEFAULT '',
  `User` char(128) NOT NULL DEFAULT '',
  `Table_name` char(64) NOT NULL DEFAULT '',
  `Grantor` varchar(384) NOT NULL DEFAULT '',
  `Timestamp` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `Table_priv` set('Select','Insert','Update','Delete','Create','Drop','Grant','References','Index','Alter','Create View','Show view','Trigger','Delete versioning rows') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '',
  `Column_priv` set('Select','Insert','Update','References') CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL DEFAULT '',
  PRIMARY KEY (`Host`,`Db`,`User`,`Table_name`),
  KEY `Grantor` (`Grantor`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Table privileges';

--
-- Dumping data for table `tables_priv`
--

INSERT INTO `tables_priv` VALUES ('localhost','mysql','mariadb.sys','global_priv','root@localhost','0000-00-00 00:00:00','Select,Delete','');

--
-- Table structure for table `time_zone`
--

CREATE TABLE `time_zone` (
  `Time_zone_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `Use_leap_seconds` enum('Y','N') NOT NULL DEFAULT 'N',
  PRIMARY KEY (`Time_zone_id`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zones';

--
-- Dumping data for table `time_zone`
--


--
-- Table structure for table `time_zone_leap_second`
--

CREATE TABLE `time_zone_leap_second` (
  `Transition_time` bigint(20) NOT NULL,
  `Correction` int(11) NOT NULL,
  PRIMARY KEY (`Transition_time`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Leap seconds information for time zones';

--
-- Dumping data for table `time_zone_leap_second`
--


--
-- Table structure for table `time_zone_name`
--

CREATE TABLE `time_zone_name` (
  `Name` char(64) NOT NULL,
  `Time_zone_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`Name`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zone names';

--
-- Dumping data for table `time_zone_name`
--


--
-- Table structure for table `time_zone_transition`
--

CREATE TABLE `time_zone_transition` (
  `Time_zone_id` int(10) unsigned NOT NULL,
  `Transition_time` bigint(20) NOT NULL,
  `Transition_type_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`Time_zone_id`,`Transition_time`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zone transitions';

--
-- Dumping data for table `time_zone_transition`
--


--
-- Table structure for table `time_zone_transition_type`
--

CREATE TABLE `time_zone_transition_type` (
  `Time_zone_id` int(10) unsigned NOT NULL,
  `Transition_type_id` int(10) unsigned NOT NULL,
  `Offset` int(11) NOT NULL DEFAULT 0,
  `Is_DST` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `Abbreviation` char(8) NOT NULL DEFAULT '',
  PRIMARY KEY (`Time_zone_id`,`Transition_type_id`)
) ENGINE=Aria DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci PAGE_CHECKSUM=1 TRANSACTIONAL=1 COMMENT='Time zone transition types';

--
-- Dumping data for table `time_zone_transition_type`
--


--
-- Temporary table structure for view `user`
--

/*!50001 DROP VIEW IF EXISTS `user`*/;
/*!50001 CREATE VIEW `user` AS SELECT
 1 AS `Host`,
  1 AS `User`,
  1 AS `Password`,
  1 AS `Select_priv`,
  1 AS `Insert_priv`,
  1 AS `Update_priv`,
  1 AS `Delete_priv`,
  1 AS `Create_priv`,
  1 AS `Drop_priv`,
  1 AS `Reload_priv`,
  1 AS `Shutdown_priv`,
  1 AS `Process_priv`,
  1 AS `File_priv`,
  1 AS `Grant_priv`,
  1 AS `References_priv`,
  1 AS `Index_priv`,
  1 AS `Alter_priv`,
  1 AS `Show_db_priv`,
  1 AS `Super_priv`,
  1 AS `Create_tmp_table_priv`,
  1 AS `Lock_tables_priv`,
  1 AS `Execute_priv`,
  1 AS `Repl_slave_priv`,
  1 AS `Repl_client_priv`,
  1 AS `Create_view_priv`,
  1 AS `Show_view_priv`,
  1 AS `Create_routine_priv`,
  1 AS `Alter_routine_priv`,
  1 AS `Create_user_priv`,
  1 AS `Event_priv`,
  1 AS `Trigger_priv`,
  1 AS `Create_tablespace_priv`,
  1 AS `Delete_history_priv`,
  1 AS `ssl_type`,
  1 AS `ssl_cipher`,
  1 AS `x509_issuer`,
  1 AS `x509_subject`,
  1 AS `max_questions`,
  1 AS `max_updates`,
  1 AS `max_connections`,
  1 AS `max_user_connections`,
  1 AS `plugin`,
  1 AS `authentication_string`,
  1 AS `password_expired`,
  1 AS `is_role`,
  1 AS `default_role`,
  1 AS `max_statement_time` */;

--
-- Table structure for table `transaction_registry`
--

CREATE TABLE IF NOT EXISTS `transaction_registry` (
  `transaction_id` bigint(20) unsigned NOT NULL,
  `commit_id` bigint(20) unsigned NOT NULL,
  `begin_timestamp` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000',
  `commit_timestamp` timestamp(6) NOT NULL DEFAULT '0000-00-00 00:00:00.000000',
  `isolation_level` enum('READ-UNCOMMITTED','READ-COMMITTED','REPEATABLE-READ','SERIALIZABLE') NOT NULL,
  PRIMARY KEY (`transaction_id`),
  UNIQUE KEY `commit_id` (`commit_id`),
  KEY `begin_timestamp` (`begin_timestamp`),
  KEY `commit_timestamp` (`commit_timestamp`,`transaction_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin STATS_PERSISTENT=0;

--
-- Current Database: `thaiexperts`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `thaiexperts` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */;

USE `thaiexperts`;

--
-- Table structure for table `backend_access_log`
--

CREATE TABLE `backend_access_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `ip_address` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=224 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_access_log`
--

INSERT INTO `backend_access_log` VALUES (1,1,'127.0.0.1','2023-01-06 12:06:07','2023-01-06 12:06:07'),(2,1,'127.0.0.1','2023-01-07 19:14:30','2023-01-07 19:14:30'),(3,1,'127.0.0.1','2023-01-07 22:19:10','2023-01-07 22:19:10'),(4,1,'127.0.0.1','2023-01-09 11:24:25','2023-01-09 11:24:25'),(5,1,'127.0.0.1','2023-01-09 14:25:12','2023-01-09 14:25:12'),(6,1,'127.0.0.1','2023-01-09 16:54:36','2023-01-09 16:54:36'),(7,1,'127.0.0.1','2023-01-10 12:02:56','2023-01-10 12:02:56'),(8,1,'127.0.0.1','2023-01-11 16:06:48','2023-01-11 16:06:48'),(9,1,'127.0.0.1','2023-01-12 11:35:36','2023-01-12 11:35:36'),(10,1,'127.0.0.1','2023-01-13 11:00:54','2023-01-13 11:00:54'),(11,1,'127.0.0.1','2023-01-13 11:03:20','2023-01-13 11:03:20'),(12,1,'127.0.0.1','2023-01-13 11:13:14','2023-01-13 11:13:14'),(13,1,'127.0.0.1','2023-01-13 11:16:40','2023-01-13 11:16:40'),(14,1,'127.0.0.1','2023-01-13 12:31:06','2023-01-13 12:31:06'),(15,1,'127.0.0.1','2023-01-13 12:31:39','2023-01-13 12:31:39'),(16,1,'127.0.0.1','2023-01-13 15:25:13','2023-01-13 15:25:13'),(17,1,'127.0.0.1','2023-01-18 13:27:57','2023-01-18 13:27:57'),(18,1,'127.0.0.1','2023-01-19 12:12:14','2023-01-19 12:12:14'),(19,1,'127.0.0.1','2023-01-19 14:56:40','2023-01-19 14:56:40'),(20,1,'127.0.0.1','2023-01-19 22:18:21','2023-01-19 22:18:21'),(21,1,'127.0.0.1','2023-01-20 10:09:19','2023-01-20 10:09:19'),(22,1,'127.0.0.1','2023-01-20 15:47:42','2023-01-20 15:47:42'),(23,1,'127.0.0.1','2023-01-22 20:50:14','2023-01-22 20:50:14'),(24,1,'127.0.0.1','2023-01-23 09:56:35','2023-01-23 09:56:35'),(25,1,'127.0.0.1','2023-01-23 20:13:29','2023-01-23 20:13:29'),(26,1,'127.0.0.1','2023-01-23 21:46:21','2023-01-23 21:46:21'),(27,1,'127.0.0.1','2023-01-24 11:12:37','2023-01-24 11:12:37'),(28,1,'127.0.0.1','2023-01-26 22:25:58','2023-01-26 22:25:58'),(29,1,'127.0.0.1','2023-01-27 11:13:08','2023-01-27 11:13:08'),(30,1,'127.0.0.1','2023-02-01 09:49:21','2023-02-01 09:49:21'),(31,1,'127.0.0.1','2023-02-03 14:34:42','2023-02-03 14:34:42'),(32,1,'127.0.0.1','2023-02-07 17:20:52','2023-02-07 17:20:52'),(33,1,'127.0.0.1','2023-02-07 22:04:06','2023-02-07 22:04:06'),(34,1,'127.0.0.1','2023-02-08 13:19:06','2023-02-08 13:19:06'),(35,1,'127.0.0.1','2023-02-09 19:13:37','2023-02-09 19:13:37'),(36,1,'127.0.0.1','2023-02-09 22:07:24','2023-02-09 22:07:24'),(37,1,'127.0.0.1','2023-02-10 11:03:20','2023-02-10 11:03:20'),(38,1,'127.0.0.1','2023-02-10 17:49:49','2023-02-10 17:49:49'),(39,1,'127.0.0.1','2023-02-14 17:33:06','2023-02-14 17:33:06'),(40,1,'127.0.0.1','2023-02-15 10:39:00','2023-02-15 10:39:00'),(41,1,'127.0.0.1','2023-02-15 16:42:32','2023-02-15 16:42:32'),(42,1,'127.0.0.1','2023-02-16 16:18:00','2023-02-16 16:18:00'),(43,1,'127.0.0.1','2023-02-16 23:30:18','2023-02-16 23:30:18'),(44,1,'127.0.0.1','2023-03-02 11:47:43','2023-03-02 11:47:43'),(45,1,'127.0.0.1','2023-05-15 10:51:14','2023-05-15 10:51:14'),(46,1,'127.0.0.1','2023-05-15 14:25:30','2023-05-15 14:25:30'),(47,1,'127.0.0.1','2023-05-15 21:34:52','2023-05-15 21:34:52'),(48,1,'127.0.0.1','2023-05-16 11:12:05','2023-05-16 11:12:05'),(49,1,'127.0.0.1','2023-05-17 10:34:46','2023-05-17 10:34:46'),(50,1,'127.0.0.1','2023-05-17 17:08:26','2023-05-17 17:08:26'),(51,1,'127.0.0.1','2023-05-17 18:00:13','2023-05-17 18:00:13'),(52,1,'127.0.0.1','2023-05-18 10:49:30','2023-05-18 10:49:30'),(53,1,'127.0.0.1','2023-10-02 16:12:48','2023-10-02 16:12:48'),(54,1,'127.0.0.1','2023-10-02 16:14:20','2023-10-02 16:14:20'),(55,1,'127.0.0.1','2023-10-02 16:33:25','2023-10-02 16:33:25'),(56,1,'127.0.0.1','2023-10-04 15:29:45','2023-10-04 15:29:45'),(57,1,'127.0.0.1','2023-10-05 21:47:38','2023-10-05 21:47:38'),(58,1,'127.0.0.1','2023-10-06 15:19:09','2023-10-06 15:19:09'),(59,1,'127.0.0.1','2023-10-06 23:39:37','2023-10-06 23:39:37'),(60,1,'127.0.0.1','2023-10-09 09:42:49','2023-10-09 09:42:49'),(61,1,'127.0.0.1','2023-10-09 13:57:08','2023-10-09 13:57:08'),(62,1,'127.0.0.1','2023-10-09 16:21:07','2023-10-09 16:21:07'),(63,1,'127.0.0.1','2023-10-09 21:01:59','2023-10-09 21:01:59'),(64,1,'127.0.0.1','2023-10-10 12:59:50','2023-10-10 12:59:50'),(65,1,'127.0.0.1','2023-10-10 15:11:40','2023-10-10 15:11:40'),(66,1,'127.0.0.1','2023-10-13 16:52:43','2023-10-13 16:52:43'),(67,1,'127.0.0.1','2023-10-16 16:24:34','2023-10-16 16:24:34'),(68,1,'127.0.0.1','2023-10-16 21:20:05','2023-10-16 21:20:05'),(69,1,'127.0.0.1','2023-10-18 10:59:50','2023-10-18 10:59:50'),(70,1,'127.0.0.1','2023-10-19 09:44:34','2023-10-19 09:44:34'),(71,2,'127.0.0.1','2023-10-19 16:07:19','2023-10-19 16:07:19'),(72,2,'127.0.0.1','2023-10-19 16:07:45','2023-10-19 16:07:45'),(73,1,'127.0.0.1','2023-10-19 20:29:33','2023-10-19 20:29:33'),(74,2,'127.0.0.1','2023-10-19 20:40:36','2023-10-19 20:40:36'),(75,1,'127.0.0.1','2023-10-20 10:19:36','2023-10-20 10:19:36'),(76,2,'127.0.0.1','2023-10-20 10:20:09','2023-10-20 10:20:09'),(77,2,'127.0.0.1','2023-10-20 15:11:10','2023-10-20 15:11:10'),(78,1,'127.0.0.1','2023-10-20 16:06:51','2023-10-20 16:06:51'),(79,1,'127.0.0.1','2023-10-20 16:07:29','2023-10-20 16:07:29'),(80,1,'127.0.0.1','2023-10-20 16:08:09','2023-10-20 16:08:09'),(81,1,'127.0.0.1','2023-10-21 19:21:30','2023-10-21 19:21:30'),(82,1,'127.0.0.1','2023-10-21 20:01:16','2023-10-21 20:01:16'),(83,2,'127.0.0.1','2023-10-21 20:06:16','2023-10-21 20:06:16'),(84,1,'127.0.0.1','2023-10-21 20:38:37','2023-10-21 20:38:37'),(85,1,'127.0.0.1','2023-10-23 14:39:37','2023-10-23 14:39:37'),(86,2,'127.0.0.1','2023-10-23 14:39:47','2023-10-23 14:39:47'),(87,1,'127.0.0.1','2023-12-18 10:27:58','2023-12-18 10:27:58'),(88,1,'127.0.0.1','2023-12-18 15:26:55','2023-12-18 15:26:55'),(89,1,'127.0.0.1','2023-12-19 10:20:29','2023-12-19 10:20:29'),(90,1,'127.0.0.1','2023-12-21 11:13:42','2023-12-21 11:13:42'),(91,1,'127.0.0.1','2023-12-26 17:52:00','2023-12-26 17:52:00'),(92,1,'127.0.0.1','2023-12-27 16:42:04','2023-12-27 16:42:04'),(93,1,'127.0.0.1','2023-12-27 18:39:29','2023-12-27 18:39:29'),(94,1,'127.0.0.1','2023-12-28 11:25:27','2023-12-28 11:25:27'),(95,1,'127.0.0.1','2023-12-28 16:21:04','2023-12-28 16:21:04'),(96,1,'127.0.0.1','2023-12-28 18:05:02','2023-12-28 18:05:02'),(97,1,'127.0.0.1','2023-12-28 18:09:41','2023-12-28 18:09:41'),(98,1,'127.0.0.1','2023-12-29 12:19:12','2023-12-29 12:19:12'),(99,1,'127.0.0.1','2023-12-29 12:25:11','2023-12-29 12:25:11'),(100,1,'127.0.0.1','2023-12-29 15:10:17','2023-12-29 15:10:17'),(101,1,'127.0.0.1','2023-12-29 15:27:26','2023-12-29 15:27:26'),(102,1,'127.0.0.1','2023-12-29 17:02:56','2023-12-29 17:02:56'),(103,1,'127.0.0.1','2023-12-29 17:36:42','2023-12-29 17:36:42'),(104,1,'127.0.0.1','2023-12-29 17:38:13','2023-12-29 17:38:13'),(105,1,'127.0.0.1','2023-12-29 17:38:41','2023-12-29 17:38:41'),(106,1,'127.0.0.1','2023-12-29 17:43:58','2023-12-29 17:43:58'),(107,1,'127.0.0.1','2023-12-29 17:52:16','2023-12-29 17:52:16'),(108,1,'127.0.0.1','2024-01-02 19:13:45','2024-01-02 19:13:45'),(109,1,'127.0.0.1','2024-01-03 16:06:28','2024-01-03 16:06:28'),(110,1,'127.0.0.1','2024-01-03 17:51:25','2024-01-03 17:51:25'),(111,1,'127.0.0.1','2024-01-03 18:40:30','2024-01-03 18:40:30'),(112,1,'127.0.0.1','2024-01-04 12:38:04','2024-01-04 12:38:04'),(113,1,'127.0.0.1','2024-01-04 14:36:33','2024-01-04 14:36:33'),(114,1,'127.0.0.1','2024-01-15 17:09:58','2024-01-15 17:09:58'),(115,1,'127.0.0.1','2024-01-17 11:23:23','2024-01-17 11:23:23'),(116,1,'127.0.0.1','2024-01-17 14:14:03','2024-01-17 14:14:03'),(117,1,'127.0.0.1','2024-01-18 10:23:11','2024-01-18 10:23:11'),(118,1,'127.0.0.1','2024-01-18 15:06:37','2024-01-18 15:06:37'),(119,1,'127.0.0.1','2024-01-19 11:03:47','2024-01-19 11:03:47'),(120,1,'127.0.0.1','2024-01-22 15:20:50','2024-01-22 15:20:50'),(121,1,'127.0.0.1','2024-01-22 15:47:14','2024-01-22 15:47:14'),(122,1,'127.0.0.1','2024-01-22 17:52:39','2024-01-22 17:52:39'),(123,1,'127.0.0.1','2024-01-23 09:59:23','2024-01-23 09:59:23'),(124,1,'127.0.0.1','2024-01-24 12:25:54','2024-01-24 12:25:54'),(125,1,'127.0.0.1','2024-01-25 10:43:05','2024-01-25 10:43:05'),(126,1,'127.0.0.1','2024-01-26 10:40:57','2024-01-26 10:40:57'),(127,1,'127.0.0.1','2024-01-27 16:08:35','2024-01-27 16:08:35'),(128,1,'127.0.0.1','2024-01-27 21:09:29','2024-01-27 21:09:29'),(129,1,'127.0.0.1','2024-01-28 10:43:57','2024-01-28 10:43:57'),(130,1,'127.0.0.1','2024-01-28 20:51:11','2024-01-28 20:51:11'),(131,1,'127.0.0.1','2024-01-29 09:42:17','2024-01-29 09:42:17'),(132,1,'127.0.0.1','2024-01-29 14:46:39','2024-01-29 14:46:39'),(133,1,'127.0.0.1','2024-02-02 08:25:51','2024-02-02 08:25:51'),(134,1,'127.0.0.1','2024-03-21 14:21:37','2024-03-21 14:21:37'),(135,1,'127.0.0.1','2024-05-02 16:52:47','2024-05-02 16:52:47'),(136,1,'127.0.0.1','2024-05-28 17:37:47','2024-05-28 17:37:47'),(137,1,'127.0.0.1','2024-05-31 17:22:05','2024-05-31 17:22:05'),(138,1,'127.0.0.1','2024-05-31 17:40:40','2024-05-31 17:40:40'),(139,1,'127.0.0.1','2024-06-03 15:53:00','2024-06-03 15:53:00'),(140,1,'127.0.0.1','2024-06-06 16:09:19','2024-06-06 16:09:19'),(141,1,'127.0.0.1','2024-06-07 17:19:12','2024-06-07 17:19:12'),(142,1,'127.0.0.1','2024-06-08 09:34:35','2024-06-08 09:34:35'),(143,1,'127.0.0.1','2024-06-08 23:03:44','2024-06-08 23:03:44'),(144,1,'127.0.0.1','2024-06-11 09:42:19','2024-06-11 09:42:19'),(145,1,'127.0.0.1','2024-06-11 14:35:19','2024-06-11 14:35:19'),(146,1,'127.0.0.1','2024-06-13 15:00:41','2024-06-13 15:00:41'),(147,1,'127.0.0.1','2024-06-13 21:02:14','2024-06-13 21:02:14'),(148,1,'127.0.0.1','2024-06-13 21:21:00','2024-06-13 21:21:00'),(149,1,'127.0.0.1','2024-06-17 09:34:16','2024-06-17 09:34:16'),(150,1,'127.0.0.1','2024-06-17 17:35:31','2024-06-17 17:35:31'),(151,1,'127.0.0.1','2024-06-19 15:17:49','2024-06-19 15:17:49'),(152,1,'127.0.0.1','2024-07-10 21:05:05','2024-07-10 21:05:05'),(153,1,'127.0.0.1','2024-07-11 09:19:22','2024-07-11 09:19:22'),(154,1,'127.0.0.1','2024-07-11 17:04:04','2024-07-11 17:04:04'),(155,1,'127.0.0.1','2024-07-12 14:13:25','2024-07-12 14:13:25'),(156,1,'127.0.0.1','2024-07-24 09:22:48','2024-07-24 09:22:48'),(157,2,'127.0.0.1','2024-07-24 09:23:53','2024-07-24 09:23:53'),(158,1,'127.0.0.1','2024-07-25 11:29:40','2024-07-25 11:29:40'),(159,1,'94.62.35.173','2024-07-25 18:58:31','2024-07-25 18:58:31'),(160,2,'94.62.35.173','2024-07-25 19:53:51','2024-07-25 19:53:51'),(161,2,'93.108.148.125','2024-07-26 10:25:38','2024-07-26 10:25:38'),(162,1,'93.108.148.125','2024-07-26 10:25:51','2024-07-26 10:25:51'),(163,2,'89.115.171.178','2024-07-26 15:08:02','2024-07-26 15:08:02'),(164,1,'93.108.148.125','2024-07-26 16:19:41','2024-07-26 16:19:41'),(165,1,'93.108.148.125','2024-07-31 15:33:18','2024-07-31 15:33:18'),(166,2,'79.192.1.209','2024-08-01 08:31:58','2024-08-01 08:31:58'),(167,1,'94.62.35.173','2024-08-01 09:15:55','2024-08-01 09:15:55'),(168,1,'93.108.148.125','2024-08-02 14:33:14','2024-08-02 14:33:14'),(169,1,'93.108.148.125','2024-08-12 17:12:44','2024-08-12 17:12:44'),(170,1,'94.62.35.173','2024-08-13 18:19:53','2024-08-13 18:19:53'),(171,1,'93.108.148.125','2024-08-14 13:31:10','2024-08-14 13:31:10'),(172,1,'93.108.148.125','2024-08-14 16:04:36','2024-08-14 16:04:36'),(173,1,'93.108.148.125','2024-08-16 14:12:58','2024-08-16 14:12:58'),(174,1,'93.108.148.125','2024-08-16 14:45:35','2024-08-16 14:45:35'),(175,1,'94.62.35.173','2024-08-16 19:08:53','2024-08-16 19:08:53'),(176,1,'94.62.35.173','2024-08-17 16:12:23','2024-08-17 16:12:23'),(177,1,'94.62.35.173','2024-08-17 16:46:46','2024-08-17 16:46:46'),(178,1,'93.108.148.125','2024-08-19 07:48:49','2024-08-19 07:48:49'),(179,2,'93.108.148.125','2024-08-19 07:58:10','2024-08-19 07:58:10'),(180,1,'93.108.148.125','2024-08-19 13:27:42','2024-08-19 13:27:42'),(181,1,'94.62.35.173','2024-08-20 06:48:19','2024-08-20 06:48:19'),(182,2,'94.62.35.173','2024-08-20 06:49:02','2024-08-20 06:49:02'),(183,1,'94.62.35.173','2024-08-20 08:14:59','2024-08-20 08:14:59'),(184,1,'94.62.35.173','2024-08-20 12:59:15','2024-08-20 12:59:15'),(185,1,'94.62.35.173','2024-08-20 19:36:04','2024-08-20 19:36:04'),(186,2,'79.251.149.105','2024-08-21 05:37:23','2024-08-21 05:37:23'),(187,1,'93.108.148.125','2024-08-21 08:02:40','2024-08-21 08:02:40'),(188,1,'93.108.148.125','2024-08-21 14:22:43','2024-08-21 14:22:43'),(189,1,'94.62.35.173','2024-08-22 06:54:03','2024-08-22 06:54:03'),(190,1,'94.62.35.173','2024-08-22 12:27:23','2024-08-22 12:27:23'),(191,1,'94.62.35.173','2024-08-22 15:11:03','2024-08-22 15:11:03'),(192,1,'94.62.35.173','2024-08-23 07:31:23','2024-08-23 07:31:23'),(193,1,'94.62.35.173','2024-08-23 09:36:33','2024-08-23 09:36:33'),(194,1,'93.108.148.125','2024-08-28 07:23:32','2024-08-28 07:23:32'),(195,1,'94.62.35.173','2024-08-29 13:45:14','2024-08-29 13:45:14'),(196,1,'94.62.35.173','2024-08-29 20:48:20','2024-08-29 20:48:20'),(197,1,'93.108.148.125','2024-08-30 07:08:30','2024-08-30 07:08:30'),(198,1,'93.108.148.125','2024-08-30 12:53:40','2024-08-30 12:53:40'),(199,1,'94.62.35.173','2024-09-11 09:19:42','2024-09-11 09:19:42'),(200,1,'94.62.35.173','2024-09-11 12:58:27','2024-09-11 12:58:27'),(201,2,'79.227.190.175','2024-09-12 06:58:14','2024-09-12 06:58:14'),(202,1,'94.62.35.173','2024-09-12 07:49:56','2024-09-12 07:49:56'),(203,1,'93.108.148.125','2024-09-20 13:42:19','2024-09-20 13:42:19'),(204,1,'93.108.148.125','2024-09-23 14:29:17','2024-09-23 14:29:17'),(205,1,'93.108.148.125','2024-10-09 11:56:51','2024-10-09 11:56:51'),(206,2,'79.227.190.175','2024-10-14 09:52:52','2024-10-14 09:52:52'),(207,1,'93.108.148.125','2024-10-14 14:36:52','2024-10-14 14:36:52'),(208,2,'79.227.190.175','2024-10-21 06:32:37','2024-10-21 06:32:37'),(209,2,'176.78.108.224','2024-10-22 08:25:08','2024-10-22 08:25:08'),(210,2,'176.78.108.224','2024-10-22 08:25:08','2024-10-22 08:25:08'),(211,2,'176.78.108.224','2024-10-23 07:05:16','2024-10-23 07:05:16'),(212,2,'79.227.190.175','2024-10-23 07:27:35','2024-10-23 07:27:35'),(213,2,'176.78.108.224','2024-10-23 09:08:11','2024-10-23 09:08:11'),(214,2,'176.78.108.224','2024-10-24 08:36:05','2024-10-24 08:36:05'),(215,2,'79.227.190.175','2024-10-24 10:26:00','2024-10-24 10:26:00'),(216,2,'79.227.188.89','2024-10-25 03:49:10','2024-10-25 03:49:10'),(217,2,'79.168.254.109','2024-10-25 07:05:25','2024-10-25 07:05:25'),(218,2,'79.251.157.151','2024-10-30 15:17:36','2024-10-30 15:17:36'),(219,1,'93.108.148.125','2024-10-30 15:19:13','2024-10-30 15:19:13'),(220,1,'93.108.148.125','2024-10-31 09:43:02','2024-10-31 09:43:02'),(221,1,'94.62.35.173','2024-11-04 16:25:18','2024-11-04 16:25:18'),(222,1,'94.62.35.173','2024-11-05 08:34:49','2024-11-05 08:34:49'),(223,2,'79.227.187.104','2024-11-28 08:44:49','2024-11-28 08:44:49');

--
-- Table structure for table `backend_dashboards`
--

CREATE TABLE `backend_dashboards` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `definition` mediumtext DEFAULT NULL,
  `icon` varchar(255) DEFAULT NULL,
  `global_access` tinyint(1) NOT NULL DEFAULT 0,
  `updated_user_id` bigint(20) unsigned DEFAULT NULL,
  `created_user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `dashboard_slug_unique` (`slug`),
  KEY `dashboard_name_index` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_dashboards`
--


--
-- Table structure for table `backend_report_data_cache`
--

CREATE TABLE `backend_report_data_cache` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `value_date` date NOT NULL,
  PRIMARY KEY (`id`),
  KEY `backend_report_data_cache_created_at_index` (`created_at`),
  KEY `backend_report_data_cache_key_value_date_index` (`key`,`value_date`),
  KEY `backend_report_data_cache_key_index` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_report_data_cache`
--


--
-- Table structure for table `backend_user_groups`
--

CREATE TABLE `backend_user_groups` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_new_user_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `name_unique` (`name`),
  KEY `code_index` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_user_groups`
--

INSERT INTO `backend_user_groups` VALUES (1,'Owners','owners','Default group for website owners.',0,'2023-01-03 15:57:46','2023-01-03 15:57:46'),(2,'Jervis','','',0,'2023-10-19 16:05:20','2023-10-19 16:05:20');

--
-- Table structure for table `backend_user_preferences`
--

CREATE TABLE `backend_user_preferences` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `namespace` varchar(100) NOT NULL,
  `group` varchar(50) NOT NULL,
  `item` varchar(150) NOT NULL,
  `value` text DEFAULT NULL,
  `site_id` int(10) unsigned DEFAULT NULL,
  `site_root_id` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_item_index` (`user_id`,`namespace`,`group`,`item`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_user_preferences`
--

INSERT INTO `backend_user_preferences` VALUES (1,1,'system','site','edit','\"2\"',NULL,NULL),(2,1,'cms','theme','edit','\"webtank-tailwind-css-starter-child\"',NULL,NULL),(3,1,'backend','reportwidgets','dashboard','{\"welcome\":{\"class\":\"Backend\\\\ReportWidgets\\\\Welcome\",\"sortOrder\":50,\"configuration\":{\"ocWidgetWidth\":7}},\"systemStatus\":{\"class\":\"System\\\\ReportWidgets\\\\Status\",\"sortOrder\":60,\"configuration\":{\"ocWidgetWidth\":7}},\"activeTheme\":{\"class\":\"Cms\\\\ReportWidgets\\\\ActiveTheme\",\"sortOrder\":70,\"configuration\":{\"title\":\"Sitio\",\"ocWidgetWidth\":5,\"ocWidgetNewRow\":null}}}',NULL,NULL),(4,2,'system','site','edit','\"1\"',NULL,NULL);

--
-- Table structure for table `backend_user_roles`
--

CREATE TABLE `backend_user_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `color_background` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `permissions` mediumtext DEFAULT NULL,
  `is_system` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `role_unique` (`name`),
  KEY `role_code_index` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_user_roles`
--

INSERT INTO `backend_user_roles` VALUES (1,'Developer','developer','#3498db','Site administrator with access to developer tools.','',1,1,'2023-01-03 15:57:46','2023-01-03 15:57:46'),(2,'Publisher','publisher','#1abc9c','Site editor with access to publishing tools.','',1,2,'2023-01-03 15:57:46','2023-01-03 15:57:46'),(3,'editor','editor',NULL,'editor','{\"general.view_offline\":\"1\",\"general.backend\":\"1\",\"general.backend.view_offline\":\"1\",\"editor\":\"1\",\"editor.cms_content\":\"1\",\"editor.cms_assets\":\"1\",\"editor.cms_pages\":\"1\",\"editor.cms_partials\":\"1\",\"editor.cms_layouts\":\"1\",\"dashboard\":\"1\",\"dashboard.create\":\"1\",\"dashboard.manage\":\"1\",\"dashboard.defaults\":\"1\",\"rainlab.pages.manage_menus\":\"1\",\"mail.templates\":\"1\",\"mail.settings\":\"1\",\"cms.themes\":\"1\",\"cms.themes.activate\":\"1\",\"cms.theme_customize\":\"1\",\"cms.maintenance_mode\":\"1\",\"media.library\":\"1\",\"media.library.create\":\"1\",\"media.library.delete\":\"1\",\"tailor.entry.819b5af26b234d3db298069c415a0df0\":\"1\",\"tailor.entry.819b5af26b234d3db298069c415a0df0.create\":\"1\",\"tailor.entry.819b5af26b234d3db298069c415a0df0.publish\":\"1\",\"tailor.entry.819b5af26b234d3db298069c415a0df0.delete\":\"1\"}',0,3,'2024-01-04 14:39:00','2024-01-04 14:39:00');

--
-- Table structure for table `backend_user_throttle`
--

CREATE TABLE `backend_user_throttle` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `ip_address` varchar(255) DEFAULT NULL,
  `attempts` int(11) NOT NULL DEFAULT 0,
  `last_attempt_at` timestamp NULL DEFAULT NULL,
  `is_suspended` tinyint(1) NOT NULL DEFAULT 0,
  `suspended_at` timestamp NULL DEFAULT NULL,
  `is_banned` tinyint(1) NOT NULL DEFAULT 0,
  `banned_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `backend_user_throttle_user_id_index` (`user_id`),
  KEY `backend_user_throttle_ip_address_index` (`ip_address`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_user_throttle`
--

INSERT INTO `backend_user_throttle` VALUES (1,1,'127.0.0.1',0,NULL,0,NULL,0,NULL),(2,2,'127.0.0.1',0,NULL,0,NULL,0,NULL),(3,1,'94.62.35.173',0,NULL,0,NULL,0,NULL),(4,2,'94.62.35.173',0,NULL,0,NULL,0,NULL),(5,2,'93.108.148.125',0,NULL,0,NULL,0,NULL),(6,1,'93.108.148.125',0,NULL,0,NULL,0,NULL),(7,2,'89.115.171.178',0,NULL,0,NULL,0,NULL),(8,2,'79.192.1.209',0,NULL,0,NULL,0,NULL),(9,2,'79.251.149.105',0,NULL,0,NULL,0,NULL),(10,2,'79.227.182.26',0,NULL,0,NULL,0,NULL),(11,2,'79.227.184.133',0,NULL,0,NULL,0,NULL),(12,2,'79.227.190.175',0,NULL,0,NULL,0,NULL),(13,2,'109.52.142.236',0,NULL,0,NULL,0,NULL),(14,2,'109.52.144.72',0,NULL,0,NULL,0,NULL),(15,2,'109.52.149.171',0,NULL,0,NULL,0,NULL),(16,2,'109.55.229.72',0,NULL,0,NULL,0,NULL),(17,2,'185.113.140.26',0,NULL,0,NULL,0,NULL),(18,2,'109.52.116.2',0,NULL,0,NULL,0,NULL),(19,2,'176.78.108.224',0,NULL,0,NULL,0,NULL),(20,2,'79.227.188.89',0,NULL,0,NULL,0,NULL),(21,2,'79.168.254.109',0,NULL,0,NULL,0,NULL),(22,2,'79.251.157.151',0,NULL,0,NULL,0,NULL),(23,2,'79.227.187.104',0,NULL,0,NULL,0,NULL);

--
-- Table structure for table `backend_users`
--

CREATE TABLE `backend_users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `first_name` varchar(255) DEFAULT NULL,
  `last_name` varchar(255) DEFAULT NULL,
  `login` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `activation_code` varchar(255) DEFAULT NULL,
  `persist_code` varchar(255) DEFAULT NULL,
  `reset_password_code` varchar(255) DEFAULT NULL,
  `permissions` mediumtext DEFAULT NULL,
  `is_activated` tinyint(1) NOT NULL DEFAULT 0,
  `is_superuser` tinyint(1) NOT NULL DEFAULT 0,
  `activated_at` timestamp NULL DEFAULT NULL,
  `last_login` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `role_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `is_password_expired` tinyint(1) NOT NULL DEFAULT 0,
  `password_changed_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `login_unique` (`login`),
  UNIQUE KEY `email_unique` (`email`),
  KEY `act_code_index` (`activation_code`),
  KEY `reset_code_index` (`reset_password_code`),
  KEY `admin_role_index` (`role_id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_users`
--

INSERT INTO `backend_users` VALUES (1,'Helio','Felix','hfelix','hfelix@viamodul.pt','$2y$10$/skeqQOvRWxm0vi7T7sqcuAbzUkugQUe1EIsRXv60EjMjO2lFBTu6',NULL,'$2y$10$cRliWD17aFf2APBLvjsc9ejEx8AhNRnYIseGJELRx7IzPgmGCgAvm',NULL,'',1,1,NULL,'2024-11-05 08:34:49',NULL,1,'2023-01-03 15:59:04','2024-11-05 08:34:49',0,NULL),(2,'Equipa','Jervis','jervis','geral@jervispereira.pt','$2y$10$Vgm21ENc4Ezag8P2lVURv.tmST79T2rJI19eKXzRqr2UOpL4Dqu5S',NULL,'$2y$10$aEtMi6Pe2Zjq7aeTGHyO.eR0v5XcQqwYbuzA99kGsIRypobMcRdwW',NULL,'{\"general.backend.perform_updates\":-1,\"editor\":-1,\"editor.tailor_blueprints\":-1,\"editor.cms_content\":-1,\"editor.cms_assets\":-1,\"editor.cms_pages\":-1,\"editor.cms_partials\":-1,\"editor.cms_layouts\":-1,\"dashboard\":-1,\"dashboard.create\":-1,\"dashboard.manage\":-1,\"dashboard.defaults\":-1,\"admins.manage\":-1,\"admins.manage.create\":-1,\"admins.manage.other_admins\":-1,\"admins.manage.delete\":-1,\"admins.roles\":-1,\"admins.groups\":-1,\"rainlab.pages.manage_pages\":-1,\"rainlab.pages.manage_content\":-1,\"cms.themes.create\":-1,\"cms.themes.activate\":-1,\"cms.themes.delete\":-1,\"settings.manage_sites\":-1,\"settings.customize_backend\":-1,\"tailor.entry.a63fabaf7c0b4c74b36f7abf1a3ad1c1\":-1,\"tailor.entry.a63fabaf7c0b4c74b36f7abf1a3ad1c1.publish\":-1,\"tailor.entry.339b11b769ad43c49be16953e7738827\":-1,\"tailor.entry.339b11b769ad43c49be16953e7738827.create\":-1,\"tailor.entry.339b11b769ad43c49be16953e7738827.publish\":-1,\"tailor.entry.339b11b769ad43c49be16953e7738827.delete\":-1,\"tailor.entry.b022a74b15e64c6b9eb917efc5103543\":-1,\"tailor.entry.b022a74b15e64c6b9eb917efc5103543.create\":-1,\"tailor.entry.b022a74b15e64c6b9eb917efc5103543.publish\":-1,\"tailor.entry.b022a74b15e64c6b9eb917efc5103543.delete\":-1,\"tailor.entry.6947ff28b66047d7924024ca6d58aeae\":-1,\"tailor.entry.6947ff28b66047d7924024ca6d58aeae.create\":-1,\"tailor.entry.6947ff28b66047d7924024ca6d58aeae.publish\":-1,\"tailor.entry.6947ff28b66047d7924024ca6d58aeae.delete\":-1,\"tailor.entry.edcd102e05254e4db07e633ae6c18db6\":-1,\"tailor.entry.edcd102e05254e4db07e633ae6c18db6.create\":-1,\"tailor.entry.edcd102e05254e4db07e633ae6c18db6.publish\":-1,\"tailor.entry.edcd102e05254e4db07e633ae6c18db6.delete\":-1,\"tailor.global.3328c3037989462eb86627e7037ba275\":-1,\"rainlab.builder.manage_plugins\":-1,\"rainlab.users.access_groups\":-1,\"rainlab.users.access_settings\":-1,\"rainlab.users.impersonate_user\":-1,\"mohsin.social.access_settings\":-1,\"ebussola.userfacebook.settings.facebook\":-1}',0,0,NULL,'2024-11-28 08:44:49',NULL,2,'2023-10-19 16:06:33','2024-11-28 08:44:49',0,'2024-07-26 11:19:26'),(3,'Editor','Editor','editor','palves@viamodul.pt','$2y$10$7CjE5YqIWYGxmVMe39NOJeXxF95sMGFdaTbV3Gr5ommCATtnsXNf2',NULL,NULL,NULL,'',0,0,NULL,NULL,NULL,3,'2024-01-04 14:39:38','2024-01-04 14:39:38',0,'2024-01-04 14:39:38');

--
-- Table structure for table `backend_users_groups`
--

CREATE TABLE `backend_users_groups` (
  `user_id` int(10) unsigned NOT NULL,
  `user_group_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`user_id`,`user_group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `backend_users_groups`
--

INSERT INTO `backend_users_groups` VALUES (1,1),(2,2);

--
-- Table structure for table `blakejones_magicforms_records`
--

CREATE TABLE `blakejones_magicforms_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `group` varchar(255) NOT NULL DEFAULT '(Empty)',
  `form_data` text DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `unread` tinyint(1) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `blakejones_magicforms_records`
--

INSERT INTO `blakejones_magicforms_records` VALUES (1,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"heliofelix@hotmail.com\",\"subject\":\"hello\",\"comments\":\"hello msg\"}','93.108.148.125',0,NULL,'2024-08-21 16:15:17','2024-09-12 07:44:49'),(2,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"Pedido de suporte .. conta, etc\"}','94.62.35.173',1,NULL,'2024-08-22 12:18:04','2024-08-22 12:18:04'),(3,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"Pedido de suporte .. conta, etc\"}','94.62.35.173',0,NULL,'2024-08-22 12:18:09','2024-08-22 12:27:29'),(4,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"heliofelix@hotmail.com\",\"comments\":\"A Mensagem\"}','94.62.35.173',0,NULL,'2024-08-22 15:10:50','2024-08-22 15:11:06'),(5,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"teste teste\"}','94.62.35.173',1,NULL,'2024-08-22 15:14:06','2024-08-22 15:14:06'),(6,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"teste 21\"}','94.62.35.173',1,NULL,'2024-08-22 15:18:10','2024-08-22 15:18:10'),(7,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"teste 21\"}','94.62.35.173',1,NULL,'2024-08-22 15:18:29','2024-08-22 15:18:29'),(8,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"teste 22\"}','94.62.35.173',1,NULL,'2024-08-22 15:18:35','2024-08-22 15:18:35'),(9,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"lkkjj90\"}','94.62.35.173',1,NULL,'2024-08-22 15:19:25','2024-08-22 15:19:25'),(10,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"A01\"}','94.62.35.173',0,NULL,'2024-08-22 16:40:45','2024-08-22 16:40:51'),(11,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"A02\"}','94.62.35.173',1,NULL,'2024-08-22 16:42:32','2024-08-22 16:42:32'),(12,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"B01\"}','94.62.35.173',1,NULL,'2024-08-22 17:02:20','2024-08-22 17:02:20'),(13,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"B02\"}','94.62.35.173',0,NULL,'2024-08-22 17:19:16','2024-08-22 17:54:32'),(14,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"hfelix@viamodul.pt\",\"comments\":\"B03\"}','94.62.35.173',1,NULL,'2024-08-22 17:25:51','2024-08-22 17:25:51'),(15,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B03\"}','94.62.35.173',1,NULL,'2024-08-22 17:27:14','2024-08-22 17:27:14'),(16,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B04\"}','94.62.35.173',1,NULL,'2024-08-22 17:29:02','2024-08-22 17:29:02'),(17,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B05\"}','94.62.35.173',1,NULL,'2024-08-22 17:33:36','2024-08-22 17:33:36'),(18,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B06\"}','94.62.35.173',1,NULL,'2024-08-22 17:39:41','2024-08-22 17:39:41'),(19,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B07\"}','94.62.35.173',1,NULL,'2024-08-22 17:54:22','2024-08-22 17:54:22'),(20,'(Empty)','{\"name\":\"Hélio Félix\",\"email\":\"gestao@viamodul.pt\",\"comments\":\"B08\"}','94.62.35.173',0,NULL,'2024-08-22 17:57:53','2024-10-24 10:28:13'),(21,'(Empty)','{\"name\":\"Diana Conceição Silva Pereira\",\"email\":\"diana.silva.pereira.98@gmail.com\",\"comments\":\"Consigo de alguma forma alterar a resposta, de modo a que consiga o Diploma? Tentei voltar atrás mas não consegui.\"}','188.80.71.207',1,NULL,'2024-11-15 16:45:02','2024-11-15 16:45:02');

--
-- Table structure for table `cache`
--

CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` longtext NOT NULL,
  `expiration` int(11) NOT NULL,
  UNIQUE KEY `cache_key_unique` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cache`
--


--
-- Table structure for table `cms_theme_data`
--

CREATE TABLE `cms_theme_data` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `theme` varchar(255) DEFAULT NULL,
  `data` mediumtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cms_theme_data_theme_index` (`theme`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cms_theme_data`
--

INSERT INTO `cms_theme_data` VALUES (2,'webtank-tailwind-css-starter-child','[]','2023-10-20 15:11:31','2023-10-20 15:11:31');

--
-- Table structure for table `cms_theme_logs`
--

CREATE TABLE `cms_theme_logs` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(20) NOT NULL,
  `theme` varchar(255) DEFAULT NULL,
  `template` varchar(255) DEFAULT NULL,
  `old_template` varchar(255) DEFAULT NULL,
  `content` longtext DEFAULT NULL,
  `old_content` longtext DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `cms_theme_logs_type_index` (`type`),
  KEY `cms_theme_logs_theme_index` (`theme`),
  KEY `cms_theme_logs_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cms_theme_logs`
--

INSERT INTO `cms_theme_logs` VALUES (1,'update','webtank-tailwind-css-starter-child','meta/menus/headermenu.yaml','meta/menus/headermenu.yaml','items:\n    -\n        title: \'SOBRE A TAILÂNDIA\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'9\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Como pode ganhar\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'7\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'O que pode ganhar\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'5\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'O que ganha sempre\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'8\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Contactos & Regulamento\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'11\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: \'Header Menu\'','items:\n    -\n        title: \'Como pode ganhar\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'7\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'O que pode ganhar\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'5\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'O que ganha sempre\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'8\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Contactos & Regulamento\'\n        nesting: null\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        url: null\n        code: \'\'\n        reference: \'11\'\n        cmsPage: pagina\n        replace: null\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'SOBRE A TAILÂNDIA\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'9\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: \'Header Menu\'',2,'2024-07-24 10:21:02','2024-07-24 10:21:02'),(2,'update','webtank-tailwind-css-starter-child','pages/stepchilds.htm','pages/stepchilds.htm','url = \"/stepcontentdetails/:id\"\nlayout = \"default\"\ntitle = \"stepcontentdetails\"\n\n[builderDetails content]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Content\"\nidentifierValue = \"{{ :id }}\"\nmodelKeyColumn = \"id\"\ndisplayColumn = \"contents_title\"\nnotFoundMessage = \"Record not found\"\n==\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n\n    <!-- Two columns -->\n    <div class=\"flex flex-wrap mb-4\">\n        <a href=\"/cursos\">{{ record.step.quiz.title }}</a> <span class=\"mx-2\">>></span> <a href=\"/stepcontent/{{ record.step.id }}\">{{ record.step.step_title }}</a> <span class=\"mx-2\">>></span> {{ record.contents_title }}\n    </div>\n    <div class=\"w-full flex flex-wrap mb-4\">\n        <div class=\"w-full md:w-4/12 lg:w-4/12 xl:w-4/12\">\n            <section id=\"list-step-contents\">\n                {% partial \'list-step-contents\' %}\n            </section>\n        </div>\n        <div class=\"w-full md:w-8/12 lg:w-8/12 xl:w-8/12 vm-stepcontentdetails\">\n            <h1>{{ attribute(record, displayColumn) }}</h1>\n            <div class=\"pt-2 pb-2 pr-2\"> AAA{{ attribute(record, \'contents_description\')|raw }}</div>\n            <div class=\"w-full  text-center pt-4\">\n                <a href=\"/stepofquestionstest/{{ record.step_id }}\">\n                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6 text-yellow-600 w-16 m-auto\">\n                    <path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z\" clip-rule=\"evenodd\" />\n                </svg>\n                <div class=\"\">RESPONDER</div>\n                </a>\n            </div>\n            <div>\n            {% for content in record.contents %}\n                <h2>\n                <a  class=\"text-pink-700 uppercase\"\n                    href=\"/stepcontentdetails/{{ content.id }}\">\n                    {{ content.contents_title }}\n                </a>\n                </h2>\n                <div class=\"pl-2\">{{ content.contents_summary|raw }}</div>\n            {% else %}\n                <div class=\"no-data\">{{ noRecordsMessage }}</div>\n            {% endfor %}\n            <div>\n        </div>\n    </div>\n</div>','url = \"/stepcontentdetails/:id\"\nlayout = \"default\"\ntitle = \"stepcontentdetails\"\n\n[builderDetails content]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Content\"\nidentifierValue = \"{{ :id }}\"\nmodelKeyColumn = \"id\"\ndisplayColumn = \"contents_title\"\nnotFoundMessage = \"Record not found\"\n==\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n\n    <!-- Two columns -->\n    <div class=\"flex flex-wrap mb-4\">\n        <a href=\"/cursos\">{{ record.step.quiz.title }}</a> <span class=\"mx-2\">>></span> <a href=\"/stepcontent/{{ record.step.id }}\">{{ record.step.step_title }}</a> <span class=\"mx-2\">>></span> {{ record.contents_title }}\n    </div>\n    <div class=\"w-full flex flex-wrap mb-4\">\n        <div class=\"w-full md:w-4/12 lg:w-4/12 xl:w-4/12\">\n            <section id=\"list-step-contents\">\n                {% partial \'list-step-contents\' %}\n            </section>\n        </div>\n        <div class=\"w-full md:w-8/12 lg:w-8/12 xl:w-8/12 vm-stepcontentdetails\">\n            <h1>{{ attribute(record, displayColumn) }}</h1>\n            <div class=\"pt-2 pb-2 pr-2\">{{ attribute(record, \'contents_description\')|raw }}</div>\n            <div class=\"w-full  text-center pt-4\">\n                <a href=\"/stepofquestionstest/{{ record.step_id }}\">\n                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6 text-yellow-600 w-16 m-auto\">\n                    <path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z\" clip-rule=\"evenodd\" />\n                </svg>\n                <div class=\"\">RESPONDER</div>\n                </a>\n            </div>\n            <div>\n            {% for content in record.contents %}\n                <h2>\n                <a  class=\"text-pink-700 uppercase\"\n                    href=\"/stepcontentdetails/{{ content.id }}\">\n                    {{ content.contents_title }}\n                </a>\n                </h2>\n                <div class=\"pl-2\">{{ content.contents_summary|raw }}</div>\n            {% else %}\n                <div class=\"no-data\">{{ noRecordsMessage }}</div>\n            {% endfor %}\n            <div>\n        </div>\n    </div>\n</div>',1,'2024-08-20 08:15:21','2024-08-20 08:15:21'),(3,'update','webtank-tailwind-css-starter-child','pages/stepchilds.htm','pages/stepchilds.htm','url = \"/stepcontentdetails/:id\"\nlayout = \"default\"\ntitle = \"stepcontentdetails\"\n\n[builderDetails content]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Content\"\nidentifierValue = \"{{ :id }}\"\nmodelKeyColumn = \"id\"\ndisplayColumn = \"contents_title\"\nnotFoundMessage = \"Record not found\"\n==\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n\n    <!-- Two columns -->\n    <div class=\"flex flex-wrap mb-4\">\n        <a href=\"/cursos\">{{ record.step.quiz.title }}</a> <span class=\"mx-2\">>></span> <a href=\"/stepcontent/{{ record.step.id }}\">{{ record.step.step_title }}</a> <span class=\"mx-2\">>></span> {{ record.contents_title }}\n    </div>\n    <div class=\"w-full flex flex-wrap mb-4\">\n        <div class=\"w-full md:w-4/12 lg:w-4/12 xl:w-4/12\">\n            <section id=\"list-step-contents\">\n                {% partial \'list-step-contents\' %}\n            </section>\n        </div>\n        <div class=\"w-full md:w-8/12 lg:w-8/12 xl:w-8/12 vm-stepcontentdetails\">\n            <h1>{{ attribute(record, displayColumn) }}</h1>\n            <div class=\"pt-2 pb-2 pr-2\">{{ attribute(record, \'contents_description\')|raw }}</div>\n            <div class=\"w-full  text-center pt-4\">\n                <a href=\"/stepofquestionstest/{{ record.step_id }}\">\n                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6 text-yellow-600 w-16 m-auto\">\n                    <path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z\" clip-rule=\"evenodd\" />\n                </svg>\n                <div class=\"\">RESPONDER</div>\n                </a>\n            </div>\n            <div>\n            {% for content in record.contents %}\n                <h2>\n                <a  class=\"text-pink-700 uppercase\"\n                    href=\"/stepcontentdetails/{{ content.id }}\">\n                    {{ content.contents_title }}\n                </a>\n                </h2>\n                <div class=\"pl-2\">{{ content.contents_summary|raw }}</div>\n            {% else %}\n                <div class=\"no-data\">{{ noRecordsMessage }}</div>\n            {% endfor %}\n            <div>\n        </div>\n    </div>\n</div>','url = \"/stepcontentdetails/:id\"\nlayout = \"default\"\ntitle = \"stepcontentdetails\"\n\n[builderDetails content]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Content\"\nidentifierValue = \"{{ :id }}\"\nmodelKeyColumn = \"id\"\ndisplayColumn = \"contents_title\"\nnotFoundMessage = \"Record not found\"\n==\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n\n    <!-- Two columns -->\n    <div class=\"flex flex-wrap mb-4\">\n        <a href=\"/cursos\">{{ record.step.quiz.title }}</a> <span class=\"mx-2\">>></span> <a href=\"/stepcontent/{{ record.step.id }}\">{{ record.step.step_title }}</a> <span class=\"mx-2\">>></span> {{ record.contents_title }}\n    </div>\n    <div class=\"w-full flex flex-wrap mb-4\">\n        <div class=\"w-full md:w-4/12 lg:w-4/12 xl:w-4/12\">\n            <section id=\"list-step-contents\">\n                {% partial \'list-step-contents\' %}\n            </section>\n        </div>\n        <div class=\"w-full md:w-8/12 lg:w-8/12 xl:w-8/12 vm-stepcontentdetails\">\n            <h1>{{ attribute(record, displayColumn) }}</h1>\n            <div class=\"pt-2 pb-2 pr-2\"> AAA{{ attribute(record, \'contents_description\')|raw }}</div>\n            <div class=\"w-full  text-center pt-4\">\n                <a href=\"/stepofquestionstest/{{ record.step_id }}\">\n                <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6 text-yellow-600 w-16 m-auto\">\n                    <path fill-rule=\"evenodd\" d=\"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25Zm4.28 10.28a.75.75 0 0 0 0-1.06l-3-3a.75.75 0 1 0-1.06 1.06l1.72 1.72H8.25a.75.75 0 0 0 0 1.5h5.69l-1.72 1.72a.75.75 0 1 0 1.06 1.06l3-3Z\" clip-rule=\"evenodd\" />\n                </svg>\n                <div class=\"\">RESPONDER</div>\n                </a>\n            </div>\n            <div>\n            {% for content in record.contents %}\n                <h2>\n                <a  class=\"text-pink-700 uppercase\"\n                    href=\"/stepcontentdetails/{{ content.id }}\">\n                    {{ content.contents_title }}\n                </a>\n                </h2>\n                <div class=\"pl-2\">{{ content.contents_summary|raw }}</div>\n            {% else %}\n                <div class=\"no-data\">{{ noRecordsMessage }}</div>\n            {% endfor %}\n            <div>\n        </div>\n    </div>\n</div>',1,'2024-08-20 08:15:31','2024-08-20 08:15:31'),(4,'update','webtank-tailwind-css-starter-child','partials/list-step-contents.htm','partials/list-step-contents.htm','[builderList quizzes]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Quiz\"\nscope = \"-\"\nscopeValue = \"{{ :scope }}\"\ndisplayColumn = \"title\"\nnoRecordsMessage = \"No records found\"\ndetailsPage = \"stepcontent\"\ndetailsKeyColumn = \"step_id\"\ndetailsUrlParameter = \"id\"\npageNumber = \"{{ :page }}\"\n==\n{% set records = quizzes.records %}\n{% set displayColumn = quizzes.displayColumn %}\n{% set noRecordsMessage = quizzes.noRecordsMessage %}\n{% set detailsPage = quizzes.detailsPage %}\n{% set detailsKeyColumn = quizzes.detailsKeyColumn %}\n{% set detailsUrlParameter = quizzes.detailsUrlParameter %}\n\n\n<div class=\"record-list\">\n    {% for record in records %}\n        {% set quiz = record %}\n        {% if record.isactive %}\n        <!-- CURSO -->\n            <div class=\"pb-4 md:pr-8\">\n                <div class=\"px-2 bg-pink-700 text-white uppercase\">{{ attribute(record, displayColumn) }}</div>\n                {% if detailsPage %}</a>{% endif %}\n                <div class=\"record-list\">\n                    {% for step in quiz.steps %}\n                        <!-- STEPS -->\n                        <div x-data=\"{ open: false }\">\n                            <!-- STEP TITLE -->\n                            <button @click=\"open = !open\" class=\"w-full flex py-3 px-6 text-pink-600 cursor-pointer hover:bg-pink-100 hover:text-pink-700 focus:outline-none\">\n                                <span class=\"flex w-full\">\n                                    <span class=\"mx-4 font-medium text-pink-700 uppercase text-left sm:block md:hidden\">\n                                    {{ step.step_title }}\n                                    </span>\n                                    <a  class=\"mx-4 font-medium text-pink-700 uppercase hidden lg:block\" href=\"/stepcontent/{{ step.id }}\">{{ step.step_title }} </a>\n                                </span>\n\n                                <span>\n                                    <svg class=\"h-4 w-4\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                                        <path x-show=\"! open\" d=\"M9 5L16 12L9 19\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"display: none;\"></path>\n                                        <path x-show=\"open\" d=\"M19 9L12 16L5 9\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n                                    </svg>\n                                </span>\n                            </button>\n\n                            <div x-show=\"open\" >\n                                {% for content in step.contents %}\n                                    <!-- STEP TITLE -->\n                                    <div>\n                                        <a class=\"py-2 px-16 block hover:bg-pink-200 \" href=\"/stepcontentdetails/{{ content.id }}\"><h4>{{ content.contents_title }}</h4></a>\n                                    </div>\n                                {% endfor %}\n                            </div>\n                        </div>\n                    {% endfor %}\n                </div>\n\n            </div>\n        {% endif %}\n    {% else %}\n        <div class=\"no-data\">{{ noRecordsMessage }}</div>\n    {% endfor %}\n    \n    {% if records.lastPage > 1 %}\n        <ul class=\"pagination\">\n            {% if records.currentPage > 1 %}\n                <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage-1) }) }}\">&larr; Prev</a></li>\n            {% endif %}\n\n            {% for page in 1..records.lastPage %}\n                <li class=\"{{ records.currentPage == page ? \'active\' : null }}\">\n                    <a href=\"{{ this.page.baseFileName|page({ (pageParam): page }) }}\">{{ page }}</a>\n                </li>\n            {% endfor %}\n\n            {% if records.lastPage > records.currentPage %}\n                <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage+1) }) }}\">Next &rarr;</a></li>\n            {% endif %}\n        </ul>\n    {% endif %}\n</div>\n\n{#\n<ul class=\"record-list\">\n    {% for record in records %}\n        {% set quiz = record %}\n        {% if record.isactive %}\n            <li class=\"pb-4 md:pr-8\">\n                <div class=\"px-2 bg-pink-700 text-white uppercase\">{{ attribute(record, displayColumn) }}</div>\n                {% if detailsPage %}</a>{% endif %}\n                <ul class=\"record-list\">\n                    {% for step in quiz.steps %}\n                        <li>\n                            <a  class=\"text-pink-700 uppercase\" href=\"/stepcontent/{{ step.id }}\">{{ step.step_title }} </a>\n                            <ul class=\"record-list pl-2\">\n                                {% for content in step.contents %}\n                                    <li>\n                                        <a href=\"/stepcontentdetails/{{ content.id }}\"><h4>{{ content.contents_title }}</h4></a>\n                                    </li>\n                                {% endfor %}\n                            </ul>    \n                        </li>\n                    {% endfor %}\n                </ul>\n\n            </li>\n        {% endif %}\n    {% else %}\n        <li class=\"no-data\">{{ noRecordsMessage }}</li>\n    {% endfor %}\n</ul>\n\n{% if records.lastPage > 1 %}\n    <ul class=\"pagination\">\n        {% if records.currentPage > 1 %}\n            <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage-1) }) }}\">&larr; Prev</a></li>\n        {% endif %}\n\n        {% for page in 1..records.lastPage %}\n            <li class=\"{{ records.currentPage == page ? \'active\' : null }}\">\n                <a href=\"{{ this.page.baseFileName|page({ (pageParam): page }) }}\">{{ page }}</a>\n            </li>\n        {% endfor %}\n\n        {% if records.lastPage > records.currentPage %}\n            <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage+1) }) }}\">Next &rarr;</a></li>\n        {% endif %}\n    </ul>\n{% endif %}\n#}','[builderList quizzes]\nmodelClass = \"heliofelix\\Quizmanager\\Models\\Quiz\"\nscope = \"-\"\nscopeValue = \"{{ :scope }}\"\ndisplayColumn = \"title\"\nnoRecordsMessage = \"No records found\"\ndetailsPage = \"stepcontent\"\ndetailsKeyColumn = \"step_id\"\ndetailsUrlParameter = \"id\"\npageNumber = \"{{ :page }}\"\n==\n{% set records = quizzes.records %}\n{% set displayColumn = quizzes.displayColumn %}\n{% set noRecordsMessage = quizzes.noRecordsMessage %}\n{% set detailsPage = quizzes.detailsPage %}\n{% set detailsKeyColumn = quizzes.detailsKeyColumn %}\n{% set detailsUrlParameter = quizzes.detailsUrlParameter %}\n\n\n<div class=\"record-list\">\n    {% for record in records %}\n        {% set quiz = record %}\n        {% if record.isactive %}\n        <!-- CURSO -->\n            <div class=\"pb-4 md:pr-8\">\n                <div class=\"px-2 bg-pink-700 text-white uppercase\">{{ attribute(record, displayColumn) }}</div>\n                {% if detailsPage %}</a>{% endif %}\n                <div class=\"record-list\">\n                    {% for step in quiz.steps %}\n                        <!-- STEPS -->\n                        <div x-data=\"{ open: false }\">\n                            <!-- STEP TITLE -->\n                            <button @click=\"open = !open\" class=\"w-full flex py-3 px-6 text-pink-600 cursor-pointer hover:bg-pink-100 hover:text-pink-700 focus:outline-none\">\n                                <span class=\"flex w-full\">\n                                    <span class=\"mx-4 font-medium text-pink-700 uppercase text-left  sm:block md:hidden\">\n                                    {{ step.step_title }}\n                                    </span>\n                                    <a  class=\"mx-4 font-medium text-pink-700 uppercase hidden lg:block\" href=\"/stepcontent/{{ step.id }}\">{{ step.step_title }} </a>\n                                </span>\n\n                                <span>\n                                    <svg class=\"h-4 w-4\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n                                        <path x-show=\"! open\" d=\"M9 5L16 12L9 19\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"display: none;\"></path>\n                                        <path x-show=\"open\" d=\"M19 9L12 16L5 9\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n                                    </svg>\n                                </span>\n                            </button>\n\n                            <div x-show=\"open\" >\n                                {% for content in step.contents %}\n                                    <!-- STEP TITLE -->\n                                    <div>\n                                        <a class=\"py-2 px-16 block hover:bg-pink-200 \" href=\"/stepcontentdetails/{{ content.id }}\"><h4>{{ content.contents_title }}</h4></a>\n                                    </div>\n                                {% endfor %}\n                            </div>\n                        </div>\n                    {% endfor %}\n                </div>\n\n            </div>\n        {% endif %}\n    {% else %}\n        <div class=\"no-data\">{{ noRecordsMessage }}</div>\n    {% endfor %}\n    \n    {% if records.lastPage > 1 %}\n        <ul class=\"pagination\">\n            {% if records.currentPage > 1 %}\n                <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage-1) }) }}\">&larr; Prev</a></li>\n            {% endif %}\n\n            {% for page in 1..records.lastPage %}\n                <li class=\"{{ records.currentPage == page ? \'active\' : null }}\">\n                    <a href=\"{{ this.page.baseFileName|page({ (pageParam): page }) }}\">{{ page }}</a>\n                </li>\n            {% endfor %}\n\n            {% if records.lastPage > records.currentPage %}\n                <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage+1) }) }}\">Next &rarr;</a></li>\n            {% endif %}\n        </ul>\n    {% endif %}\n</div>\n\n{#\n<ul class=\"record-list\">\n    {% for record in records %}\n        {% set quiz = record %}\n        {% if record.isactive %}\n            <li class=\"pb-4 md:pr-8\">\n                <div class=\"px-2 bg-pink-700 text-white uppercase\">{{ attribute(record, displayColumn) }}</div>\n                {% if detailsPage %}</a>{% endif %}\n                <ul class=\"record-list\">\n                    {% for step in quiz.steps %}\n                        <li>\n                            <a  class=\"text-pink-700 uppercase\" href=\"/stepcontent/{{ step.id }}\">{{ step.step_title }} </a>\n                            <ul class=\"record-list pl-2\">\n                                {% for content in step.contents %}\n                                    <li>\n                                        <a href=\"/stepcontentdetails/{{ content.id }}\"><h4>{{ content.contents_title }}</h4></a>\n                                    </li>\n                                {% endfor %}\n                            </ul>    \n                        </li>\n                    {% endfor %}\n                </ul>\n\n            </li>\n        {% endif %}\n    {% else %}\n        <li class=\"no-data\">{{ noRecordsMessage }}</li>\n    {% endfor %}\n</ul>\n\n{% if records.lastPage > 1 %}\n    <ul class=\"pagination\">\n        {% if records.currentPage > 1 %}\n            <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage-1) }) }}\">&larr; Prev</a></li>\n        {% endif %}\n\n        {% for page in 1..records.lastPage %}\n            <li class=\"{{ records.currentPage == page ? \'active\' : null }}\">\n                <a href=\"{{ this.page.baseFileName|page({ (pageParam): page }) }}\">{{ page }}</a>\n            </li>\n        {% endfor %}\n\n        {% if records.lastPage > records.currentPage %}\n            <li><a href=\"{{ this.page.baseFileName|page({ (pageParam): (records.currentPage+1) }) }}\">Next &rarr;</a></li>\n        {% endif %}\n    </ul>\n{% endif %}\n#}',1,'2024-08-20 13:11:17','2024-08-20 13:11:17'),(5,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 0\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-08-22 16:42:18','2024-08-22 16:42:18'),(6,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 0\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 0\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-08-22 17:19:07','2024-08-22 17:19:07'),(7,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"email\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 0\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-08-22 17:39:30','2024-08-22 17:39:30'),(8,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"email\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contact\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n    <h1 class=\"mb-4\">Envie-nos uma mensagem</h1>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-08-22 17:57:48','2024-08-22 17:57:48'),(9,'create','webtank-tailwind-css-starter-child','meta/menus/bottomfootermenu.yaml','','items:\n    -\n        title: \'Termos e Condições\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'14\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Política de Privacidade\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'13\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Contactos & Regulamento\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'11\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: bottomFooterMenu',NULL,1,'2024-09-23 14:59:04','2024-09-23 14:59:04'),(10,'update','webtank-tailwind-css-starter-child','meta/menus/bottomfootermenu.yaml','meta/menus/bottomfootermenu.yaml','items:\n    -\n        title: \'Termos e Condições\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'14\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: bottomFooterMenu','items:\n    -\n        title: \'Contact (contact)\'\n        type: cms-page\n        code: \'\'\n        reference: contact\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: About\n        type: cms-page\n        code: \'\'\n        reference: about\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: bottomFooterMenu',1,'2024-09-23 15:00:30','2024-09-23 15:00:30'),(11,'update','webtank-tailwind-css-starter-child','meta/menus/bottomfootermenu.yaml','meta/menus/bottomfootermenu.yaml','items:\n    -\n        title: \'Termos e Condições\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'14\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Política de Privacidade\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'13\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\n    -\n        title: \'Contactos & Regulamento\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'11\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: bottomFooterMenu','items:\n    -\n        title: \'Termos e Condições\'\n        type: entry-819b5af2-6b23-4d3d-b298-069c415a0df0\n        code: \'\'\n        reference: \'14\'\n        cmsPage: pagina\n        viewBag:\n            isHidden: \'0\'\n            cssClass: \'\'\n            isExternal: \'0\'\nname: bottomFooterMenu',1,'2024-09-23 15:01:01','2024-09-23 15:01:01'),(12,'update','webtank-tailwind-css-starter-child','partials/site/footer.htm','partials/site/footer.htm','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm border-t\">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm border-t\">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>',1,'2024-09-23 15:20:57','2024-09-23 15:20:57'),(13,'update','webtank-tailwind-css-starter-child','partials/site/footer.htm','partials/site/footer.htm','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm \">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm border-t\">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>',1,'2024-09-23 15:21:17','2024-09-23 15:21:17'),(14,'update','webtank-tailwind-css-starter-child','partials/site/footer.htm','partials/site/footer.htm','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm\">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto mt-4\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>','[staticMenu bottomFooterMenu]\ncode = \"bottomfootermenu\"\n==\n<footer id=\"site-footer\" class=\" w-full mb-24 pt-4 md:flex-row items-center justify-center bg-white  text-center text-sm\">\n<!-- flex flex-col -->\n\n<div class=\"w-full  bg-pink-700 text-white uppercase\">\n    <div class=\"flex flex-wrap VM_MaxContentSize mx-auto\">\n        <div class=\"lg:flex lg:gap-x-12\">\n        {% if bottomFooterMenu.menuItems %}\n                {% partial bottomFooterMenu ~ \"::items\" items=bottomFooterMenu.menuItems %}\n        {% endif %}\n        </div>\n    </div>\n</div>\n\n<div class=\"flex flex-wrap VM_MaxContentSize mx-auto mt-4\">\n  <div class=\"w-full sm:w-3/4\">\n    <div class=\"flex flex-wrap\">\n        <div class=\"w-full sm:w-1/2 md:w-1/2 lg:w-1/3 mb-4 flex items-center\">\n            <img class=\" w-auto my-auto mx-auto sm:mx-4\" src=\"/storage/app/media/Footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n    </div>\n  </div>\n  <div class=\"w-full sm:w-1/4 mb-4 flex items-center justify-center\">\n    <div class=\"text-grey-darkest text-lg container mx-auto my-auto\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </div>\n  </div>\n</div>\n\n\n\n\n<!--\n  <div class=\"w-3/4 h-12 text-grey-darkest items-left\">\n    <div class=\"flex mb-4\">\n        <div class=\"flex-1 container border-2 \">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-rodape.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1 container\">\n            <img class=\" w-auto my-auto\" src=\"/storage/app/media/footer/logo-icarion.png\" alt=\"Amazing Thailand\">\n        </div>\n        <div class=\"flex-1\"></div>\n        <div class=\"flex-1\"></div>\n    </div>\n  </div>\n  <div class=\"flex mb-4\">\n    <p class=\"md:pr-2 text-grey-darkest text-lg container\">\n        Developed by <a href=\"https://viamodul.eu\" target=\"_blank\" class=\"text-grey-darkest\">Viamodul</a>\n    </p></div>\n</div>\n-->\n</footer>',1,'2024-09-23 15:22:36','2024-09-23 15:22:36'),(15,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contactos\"\nlayout = \"default\"\ntitle = \"Contactos\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n<h1 class=\"mb-4\">Contactos</h1>\n\n<p>\nEstamos ao dispor para qualquer questão, através dos contactos ou do formulário abaixo.\n<br><br>\nAUTORIDADE DE TURISMO DA TAILÂNDIA EM PORTUGAL\n<br>\nRua José Galhardo 1, Loja 1 - Cave\n<br>\n1750-131 Lumiar, Lisboa | Portugal\n<br><br>\nTelefone: (+351) 213 916 600 | (+351) 213 916 601<br>\nE-mail: \n<a href=\"&#109;&#65;&#73;&#76;&#84;&#79;&#58;&#105;&#110;&#102;&#111;&#64;&#116;&#117;&#114;&#105;&#115;&#109;&#111;&#116;&#97;&#105;&#108;&#97;&#110;&#100;&#101;&#115;&#46;&#111;&#114;&#103;&#46;&#112;&#116;\">info@turismotailandes.org.pt</a>\n<br>\nWebsite: <a href=\"https://www.turismotailandes.org.pt\" target=\"_blank\">www.turismotailandes.org.pt</a><br>\n</p>\n    <h2 class=\"mb-4 text-lg font-medium pt-8 text-pink-600\">Envie-nos uma mensagem</h2>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n\n        <div class=\"flex items-center items-start mb-4\">\n            <input id=\"checkbox-1\" aria-describedby=\"checkbox-1\" type=\"checkbox\" class=\"bg-pink-500 border-gray-300 focus:ring-3 focus:ring-pink-300 h-4 w-4 rounded\"  onchange=\"document.getElementById(\'simpleContactSubmitButton\').disabled = !this.checked;\">\n            <label for=\"checkbox-1\" class=\"text-sm ml-3 font-medium text-gray-900\">Eu aceito os <a href=\"/pagina/termos-e-condicoes\" class=\"text-pink-600 hover:underline\">Termos e condições</a> e a <a href=\"/pagina/politica-de-privacidade\" class=\"text-pink-600 hover:underline\">Política de privacidade</a>.</label>\n        </div>\n\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contactos\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n<h1 class=\"mb-4\">Contactos</h1>\n\n<p>\nEstamos ao dispor para qualquer questão, através dos contactos ou do formulário abaixo.\n<br><br>\nAUTORIDADE DE TURISMO DA TAILÂNDIA EM PORTUGAL\n<br>\nRua José Galhardo 1, Loja 1 - Cave\n<br>\n1750-131 Lumiar, Lisboa | Portugal\n<br><br>\nTelefone: (+351) 213 916 600 | (+351) 213 916 601<br>\nE-mail: \n<a href=\"&#109;&#65;&#73;&#76;&#84;&#79;&#58;&#105;&#110;&#102;&#111;&#64;&#116;&#117;&#114;&#105;&#115;&#109;&#111;&#116;&#97;&#105;&#108;&#97;&#110;&#100;&#101;&#115;&#46;&#111;&#114;&#103;&#46;&#112;&#116;\">info@turismotailandes.org.pt</a>\n<br>\nWebsite: <a href=\"https://www.turismotailandes.org.pt\" target=\"_blank\">www.turismotailandes.org.pt</a><br>\n</p>\n    <h2 class=\"mb-4 text-lg font-medium pt-8 text-pink-600\">Envie-nos uma mensagem</h2>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n\n        <div class=\"flex items-center items-start mb-4\">\n            <input id=\"checkbox-1\" aria-describedby=\"checkbox-1\" type=\"checkbox\" class=\"bg-pink-500 border-gray-300 focus:ring-3 focus:ring-pink-300 h-4 w-4 rounded\"  onchange=\"document.getElementById(\'simpleContactSubmitButton\').disabled = !this.checked;\">\n            <label for=\"checkbox-1\" class=\"text-sm ml-3 font-medium text-gray-900\">Eu aceito os <a href=\"/pagina/termos-e-condicoes\" class=\"text-pink-600 hover:underline\">Termos e condições</a> e a <a href=\"/pagina/politica-de-privacidade\" class=\"text-pink-600 hover:underline\">Política de privacidade</a>.</label>\n        </div>\n\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-09-23 16:01:12','2024-09-23 16:01:12'),(16,'update','webtank-tailwind-css-starter-child','pages/contact.htm','pages/contact.htm','url = \"/contactos\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n<h1 class=\"mb-4\">Contactos</h1>\n\n<p>\nEstamos ao dispor para qualquer questão, através dos contactos ou do formulário abaixo.\n<br><br>\nAUTORIDADE DE TURISMO DA TAILÂNDIA EM PORTUGAL\n<br>\nRua José Galhardo 1, Loja 1 - Cave\n<br>\n1750-131 Lumiar, Lisboa | Portugal\n<br><br>\nTelefone: (+351) 213 916 600 | (+351) 213 916 601<br>\nE-mail: \n<a href=\"&#109;&#65;&#73;&#76;&#84;&#79;&#58;&#105;&#110;&#102;&#111;&#64;&#116;&#117;&#114;&#105;&#115;&#109;&#111;&#116;&#97;&#105;&#108;&#97;&#110;&#100;&#101;&#115;&#46;&#111;&#114;&#103;&#46;&#112;&#116;\">info@turismotailandes.org.pt</a>\n<br>\nWebsite: <a href=\"https://www.turismotailandes.org.pt\" target=\"_blank\">www.turismotailandes.org.pt</a><br>\n</p>\n    <h2 class=\"mb-4 text-lg font-medium pt-8 text-pink-600\">Envie-nos uma mensagem</h2>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n\n        <div class=\"flex items-center items-start mb-4\">\n            <input id=\"checkbox-1\" aria-describedby=\"checkbox-1\" type=\"checkbox\" class=\"bg-pink-500 border-gray-300 focus:ring-3 focus:ring-pink-300 h-4 w-4 rounded\"  onchange=\"document.getElementById(\'simpleContactSubmitButton\').disabled = !this.checked;\">\n            <label for=\"checkbox-1\" class=\"text-sm ml-3 font-medium text-gray-900\">Eu aceito os <a href=\"/pagina/termos-e-condicoes\" class=\"text-pink-600 hover:underline\">Termos e condições</a> e a <a href=\"/pagina/politica-de-privacidade\" class=\"text-pink-600 hover:underline\">Política de privacidade</a>.</label>\n        </div>\n\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #} \n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" disabled id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>','url = \"/contactos\"\nlayout = \"default\"\ntitle = \"Contact\"\nis_hidden = 0\nmeta_title = \"Contato\"\n\n[genericForm]\nrules[name] = \"required\"\nrules[email] = \"required|email\"\nrules_messages[email.required] = \"O email é obrigatório.\"\nrules_messages[name.required] = \"O nome é obrigatório.\"\nmessages_success = \"O seu pedido foi registado. Tentamos ser breves.\"\nmessages_errors = \"Opps, não foi possível enviar a sua mensagem. Tente de outra forma ou verifique se introduziu tudo correcto..\"\nmessages_partial = \"sucessoform\"\nmail_enabled = 1\nmail_subject = \"Enviou uma mensagem\"\nmail_bcc[] = \"hfelix@viamodul.pt\"\nmail_resp_enabled = 1\nmail_resp_field = \"hfelix@viamodul.pt\"\nmail_resp_from = \"hfelix@viamodul.pt\"\nmail_resp_subject = \"Obrigado pela sua mensagem\"\ninline_errors = \"display\"\nsanitize_data = \"disabled\"\nanonymize_ip = \"disabled\"\nrecaptcha_enabled = 1\nrecaptcha_theme = \"light\"\nrecaptcha_type = \"image\"\nrecaptcha_size = \"invisible\"\nemails_date_format = \"Y-m-d\"\n==\n<div class=\"container my-16\">\n\n<h1 class=\"mb-4\">Contactos</h1>\n\n<p>\nEstamos ao dispor para qualquer questão, através dos contactos ou do formulário abaixo.\n<br><br>\nAUTORIDADE DE TURISMO DA TAILÂNDIA EM PORTUGAL\n<br>\nRua José Galhardo 1, Loja 1 - Cave\n<br>\n1750-131 Lumiar, Lisboa | Portugal\n<br><br>\nTelefone: (+351) 213 916 600 | (+351) 213 916 601<br>\nE-mail: \n<a href=\"&#109;&#65;&#73;&#76;&#84;&#79;&#58;&#105;&#110;&#102;&#111;&#64;&#116;&#117;&#114;&#105;&#115;&#109;&#111;&#116;&#97;&#105;&#108;&#97;&#110;&#100;&#101;&#115;&#46;&#111;&#114;&#103;&#46;&#112;&#116;\">info@turismotailandes.org.pt</a>\n<br>\nWebsite: <a href=\"https://www.turismotailandes.org.pt\" target=\"_blank\">www.turismotailandes.org.pt</a><br>\n</p>\n    <h2 class=\"mb-4 text-lg font-medium pt-8 text-pink-600\">Envie-nos uma mensagem</h2>\n\n    <form data-request=\"{{ genericForm }}::onFormSubmit\">\n    \n        {{ form_token() }}\n    \n        <div id=\"{{ genericForm }}_forms_flash\"></div>\n         \n        {#\n        <div class=\"form-group\">\n            <label for=\"name\">Name:</label>\n            <input type=\"text\" id=\"name\" name=\"name\" class=\"form-control\">\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"name\" >Nome:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" class=\"size-6\">\n                  <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z\" />\n              </svg>\n            </div>\n            <input\n                name=\"name\"\n                type=\"text\"\n                id=\"name\"\n                placeholder=\"Introduza o seu nome\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n\n        {#\n        <div class=\"form-group\">\n            <label for=\"email\">Email:</label>\n            <input type=\"text\" id=\"email\" name=\"email\" class=\"form-control\">\n        </div>\n        #}\n\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"email\" >E-mail:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-center justify-center absolute left-0 top-0 h-full w-10 text-gray-400\">\n              <svg class=\"h-6 w-6\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" viewBox=\"0 0 24 24\" stroke=\"currentColor\">\n                <path d=\"M16 12a4 4 0 10-8 0 4 4 0 008 0zm0 0v1.5a2.5 2.5 0 005 0V12a9 9 0 10-9 9m4.5-1.206a8.959 8.959 0 01-4.5 1.207\" />\n              </svg>\n            </div>\n            <input\n                name=\"email\"\n                type=\"text\"\n                id=\"email\"\n                placeholder=\"Introduza o seu e-mail\"\n                class=\"form-control text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 />\n          </div>\n        </div>\n    \n        {#\n        <div class=\"form-group\">\n            <label for=\"subject\">Subject:</label>\n            <input type=\"text\" id=\"subject\" name=\"subject\" class=\"form-control\">\n        </div>\n        #}\n        {#\n        <div class=\"form-group\">\n            <textarea id=\"comments\" name=\"comments\" rows=\"8\" cols=\"80\"></textarea>\n        </div>\n        #}\n        <div class=\"flex flex-col mb-6\">\n          <label for=\"comments\" >Mensagem:</label>\n          <div class=\"relative\">\n            <div class=\"inline-flex items-start justify-center absolute left-0 top-0 pt-2 pl-2 h-full w-10 text-gray-400\">\n              <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\" class=\"size-6\">\n                  <path fill-rule=\"evenodd\" d=\"M4.848 2.771A49.144 49.144 0 0 1 12 2.25c2.43 0 4.817.178 7.152.52 1.978.292 3.348 2.024 3.348 3.97v6.02c0 1.946-1.37 3.678-3.348 3.97a48.901 48.901 0 0 1-3.476.383.39.39 0 0 0-.297.17l-2.755 4.133a.75.75 0 0 1-1.248 0l-2.755-4.133a.39.39 0 0 0-.297-.17 48.9 48.9 0 0 1-3.476-.384c-1.978-.29-3.348-2.024-3.348-3.97V6.741c0-1.946 1.37-3.68 3.348-3.97ZM6.75 8.25a.75.75 0 0 1 .75-.75h9a.75.75 0 0 1 0 1.5h-9a.75.75 0 0 1-.75-.75Zm.75 2.25a.75.75 0 0 0 0 1.5H12a.75.75 0 0 0 0-1.5H7.5Z\" clip-rule=\"evenodd\" />\n              </svg>\n            </div>\n            <textarea\n                name=\"comments\"\n                type=\"text\"\n                id=\"comments\"\n                placeholder=\"Introduza a sua mensagem\"\n                class=\"form-control h-32 text-sm sm:text-base placeholder-gray-500 pl-10 pr-4 rounded-lg border border-gray-400 w-full py-2 focus:outline-none focus:border-blue-400\" \n                 ></textarea>\n          </div>\n        </div>\n\n        <div class=\"flex items-center items-start mb-4\">\n            <input id=\"checkbox-1\" aria-describedby=\"checkbox-1\" type=\"checkbox\" class=\"bg-pink-500 border-gray-300 focus:ring-3 focus:ring-pink-300 h-4 w-4 rounded\"  onchange=\"document.getElementById(\'simpleContactSubmitButton\').disabled = !this.checked;\">\n            <label for=\"checkbox-1\" class=\"text-sm ml-3 font-medium text-gray-900\">Eu aceito os <a href=\"/pagina/termos-e-condicoes\" class=\"text-pink-600 hover:underline\">Termos e condições</a> e a <a href=\"/pagina/politica-de-privacidade\" class=\"text-pink-600 hover:underline\">Política de privacidade</a>.</label>\n        </div>\n\n    \n        <div class=\"form-group\">\n            {% partial \'@recaptcha\' %}\n        </div>\n        {#\n        <button id=\"simpleContactSubmitButton\" type=\"submit\" class=\"btn btn-default\">Submit</button>\n        #}\n        <div class=\"flex w-full pt-4\">\n          <button type=\"submit\" disabled id=\"simpleContactSubmitButton\" class=\"relative w-full flex items-center justify-center focus:outline-none  text-sm sm:text-base rounded py-4 w-full transition duration-150 ease-in\n          rounded-3xl text-white bg-pink-thai hover:bg-pink-600 hover:text-gray-100 focus:outline-none transition duration-150 ease-in-out mb-3 my-1 h-5\">\n            <span class=\" uppercase absolute text-base\">Enviar</span>\n            <span class=\"absolute right-2px\">\n              <svg class=\"btn_iccon_w-1-8 btn_iccon_h-1-8\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\" fill=\"#FFFFFF\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"0\" stroke=\"currentColor\">\n                <!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->\n                <path d=\"M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z\"/>\n              </svg>\n            </span>\n          </button>\n        </div>\n    \n    </form>\n\n    \n    {#    \n    <form class=\"w-full max-w-xs mt-8\">\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-full-name\">\n                Full Name\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-full-name\" type=\"text\" value=\"Jane Doe\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-email\">\n                Email\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <input class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-email\" type=\"text\" value=\"jane@doe.com\">\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center mb-6\">\n            <div class=\"md:w-1/3\">\n            <label class=\"block text-grey font-bold md:text-right mb-1 md:mb-0 pr-4\" for=\"inline-message\">\n                Message\n            </label>\n            </div>\n            <div class=\"md:w-2/3\">\n                <textarea class=\"bg-grey-lighter appearance-none border-2 border-grey-lighter rounded w-full py-2 px-4 text-grey-darker leading-tight focus:outline-none focus:bg-white focus:border-purple\" id=\"inline-message\" value=\"\"></textarea>\n            </div>\n        </div>\n        <div class=\"md:flex md:items-center\">\n            <div class=\"md:w-1/3\"></div>\n            <div class=\"md:w-2/3\">\n            <button class=\"shadow bg-purple hover:bg-purple-light focus:shadow-outline focus:outline-none text-white font-bold py-2 px-4 rounded\" type=\"button\">\n                Contact\n            </button>\n            </div>\n        </div>\n    </form>\n    #}\n</div>',1,'2024-09-23 16:03:07','2024-09-23 16:03:07');

--
