text: prompt --application/set_environment
  set define off verify off feedback off
  whenever sqlerror exit sql.sqlcode rollback
  --------------------------------------------------------------------------------
  --
  -- ORACLE Application Express (APEX) export file
  --
  -- You should run the script connected to SQL*Plus as the Oracle user
  -- APEX_210100 or as the owner (parsing schema) of the application.
  --
  -- NOTE: Calls to apex_application_install override the defaults below.
  --
  --------------------------------------------------------------------------------
  begin
  wwv_flow_api.import_begin (
   p_version_yyyy_mm_dd=>'2021.04.15'
  ,p_release=>'21.1.2'
  ,p_default_workspace_id=>38961916781733473840
  ,p_default_application_id=>48056
  ,p_default_id_offset=>0
  ,p_default_owner=>'WKSP_DANIEL'
  );
  end;
  /
   
  prompt APPLICATION 48056 - Basico
  --
  -- Application Export:
  --   Application:     48056
  --   Name:            Basico
  --   Date and Time:   13:24 Domingo Outubro 3, 2021
  --   Exported By:     DANIEL@MAIL.COM
  --   Flashback:       0
  --   Export Type:     Component Export
  --   Manifest
  --     AUTHENTICATION: 38135325013910198824
  --     AUTHORIZATION: 38137761775886382934
  --     AUTHORIZATION: 38135775165484198942
  --     BREADCRUMB: 38135325395318198825
  --     BREADCRUMB_ENTRY: 38135325561543198826
  --     BREADCRUMB_TEMPLATE: 38135749492317198904
  --     BUTTON_TEMPLATE: 38135747384460198902
  --     BUTTON_TEMPLATE: 38135748027198198903
  --     BUTTON_TEMPLATE: 38135748162853198903
  --     CALENDAR_TEMPLATE: 38135749568707198904
  --     LABEL_TEMPLATE: 38135745235213198900
  --     LABEL_TEMPLATE: 38135745372981198901
  --     LABEL_TEMPLATE: 38135745464253198901
  --     LABEL_TEMPLATE: 38135745552562198901
  --     LABEL_TEMPLATE: 38135745652235198901
  --     LABEL_TEMPLATE: 38135746372077198902
  --     LABEL_TEMPLATE: 38135746853186198902
  --     LIST: 38137781013446404507
  --     LIST: 38135772241237198926
  --     LIST: 38135325883104198826
  --     LIST_TEMPLATE: 38135723892028198889
  --     LIST_TEMPLATE: 38135729422035198891
  --     LIST_TEMPLATE: 38135731003971198892
  --     LIST_TEMPLATE: 38135733876110198893
  --     LIST_TEMPLATE: 38135734825673198894
  --     LIST_TEMPLATE: 38135735462302198894
  --     LIST_TEMPLATE: 38135735804690198895
  --     LIST_TEMPLATE: 38135737660262198896
  --     LIST_TEMPLATE: 38135739229240198897
  --     LIST_TEMPLATE: 38135741266832198898
  --     LIST_TEMPLATE: 38135742244672198898
  --     LIST_TEMPLATE: 38135743823378198899
  --     LIST_TEMPLATE: 38135719846126198885
  --     LOV: 38224511929333007771
  --     LOV: 38229050152254508509
  --     LOV: 38224509334160997943
  --     LOV: 38135777736480198964
  --     PAGE: 13
  --     PAGE: 12
  --     PAGE: 11
  --     PAGE: 10
  --     PAGE: 133
  --     PAGE: 132
  --     PAGE: 131
  --     PAGE: 123
  --     PAGE: 122
  --     PAGE: 121
  --     PAGE: 113
  --     PAGE: 112
  --     PAGE: 111
  --     PAGE: 103
  --     PAGE: 102
  --     PAGE: 101
  --     PAGE: 1
  --     PAGE: 0
  --     PAGE: 9999
  --     PAGE_GROUP: 38135775775662198945
  --     PAGE_TEMPLATE: 38135328961167198835
  --     PAGE_TEMPLATE: 38135326169674198828
  --     PAGE_TEMPLATE: 38135332092851198837
  --     PAGE_TEMPLATE: 38135334340521198839
  --     PAGE_TEMPLATE: 38135337446151198841
  --     PAGE_TEMPLATE: 38135339941365198842
  --     PAGE_TEMPLATE: 38135341400204198843
  --     PAGE_TEMPLATE: 38135344224316198844
  --     PAGE_TEMPLATE: 38135346774096198845
  --     POPUP_LOV_TEMPLATE: 38135749670712198905
  --     REGION_TEMPLATE: 38135348277566198846
  --     REGION_TEMPLATE: 38135351981225198851
  --     REGION_TEMPLATE: 38135352124310198851
  --     REGION_TEMPLATE: 38135352992793198851
  --     REGION_TEMPLATE: 38135355139033198852
  --     REGION_TEMPLATE: 38135356138447198853
  --     REGION_TEMPLATE: 38135363304600198857
  --     REGION_TEMPLATE: 38135370700486198860
  --     REGION_TEMPLATE: 38135373176466198861
  --     REGION_TEMPLATE: 38135375435588198862
  --     REGION_TEMPLATE: 38135377776332198863
  --     REGION_TEMPLATE: 38135381006473198864
  --     REGION_TEMPLATE: 38135381685078198864
  --     REGION_TEMPLATE: 38135382911602198865
  --     REGION_TEMPLATE: 38135389777972198868
  --     REGION_TEMPLATE: 38135392347895198869
  --     REGION_TEMPLATE: 38135393579314198869
  --     REPORT_TEMPLATE: 38135394825175198870
  --     REPORT_TEMPLATE: 38135395064499198872
  --     REPORT_TEMPLATE: 38135399060512198874
  --     REPORT_TEMPLATE: 38135704497674198877
  --     REPORT_TEMPLATE: 38135705628655198877
  --     REPORT_TEMPLATE: 38135708849021198879
  --     REPORT_TEMPLATE: 38135709867211198879
  --     REPORT_TEMPLATE: 38135712833243198881
  --     REPORT_TEMPLATE: 38135713045843198881
  --     REPORT_TEMPLATE: 38135715699426198882
  --     REPORT_TEMPLATE: 38135716006926198883
  --     REPORT_TEMPLATE: 38135718000045198884
  --     SHORTCUT: 38135775549164198944
  --   Manifest End
  --   Version:         21.1.2
  --   Instance ID:     63113759365424
  --
  
  begin
    -- replace components
    wwv_flow_api.g_mode := 'REPLACE';
  end;
  /
  prompt --application/shared_components/navigation/lists/menu_de_navegação_da_área_de_trabalho
  begin
  wwv_flow_api.create_list(
   p_id=>wwv_flow_api.id(38135325883104198826)
  ,p_name=>unistr('Menu de Navega\00E7\00E3o da \00C1rea de Trabalho')
  ,p_list_status=>'PUBLIC'
  );
  wwv_flow_api.create_list_item(
   p_id=>wwv_flow_api.id(38135782586863198978)
  ,p_list_item_display_sequence=>10
  ,p_list_item_link_text=>unistr('In\00EDcio')
  ,p_list_item_link_target=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.:'
  ,p_list_item_icon=>'fa-home'
  ,p_list_item_current_type=>'TARGET_PAGE'
  );
  end;
  /
  prompt --application/shared_components/navigation/lists/barra_de_navegação_da_área_de_trabalho
  begin
  wwv_flow_api.create_list(
   p_id=>wwv_flow_api.id(38135772241237198926)
  ,p_name=>unistr('Barra de Navega\00E7\00E3o da \00C1rea de Trabalho')
  ,p_list_status=>'PUBLIC'
  );
  wwv_flow_api.create_list_item(
   p_id=>wwv_flow_api.id(38135784051541198993)
  ,p_list_item_display_sequence=>10
  ,p_list_item_link_text=>'&APP_USER.'
  ,p_list_item_link_target=>'#'
  ,p_list_item_icon=>'fa-user'
  ,p_list_text_02=>'has-username'
  ,p_list_item_current_type=>'TARGET_PAGE'
  );
  wwv_flow_api.create_list_item(
   p_id=>wwv_flow_api.id(38135784473845198994)
  ,p_list_item_display_sequence=>20
  ,p_list_item_link_text=>'---'
  ,p_list_item_link_target=>'separator'
  ,p_parent_list_item_id=>wwv_flow_api.id(38135784051541198993)
  ,p_list_item_current_type=>'TARGET_PAGE'
  );
  wwv_flow_api.create_list_item(
   p_id=>wwv_flow_api.id(38135784806843198994)
  ,p_list_item_display_sequence=>30
  ,p_list_item_link_text=>'Sair'
  ,p_list_item_link_target=>'&LOGOUT_URL.'
  ,p_list_item_icon=>'fa-sign-out'
  ,p_parent_list_item_id=>wwv_flow_api.id(38135784051541198993)
  ,p_list_item_current_type=>'TARGET_PAGE'
  );
  end;
  /
  prompt --application/shared_components/navigation/lists/menu_dinamico
  begin
  wwv_flow_api.create_list(
   p_id=>wwv_flow_api.id(38137781013446404507)
  ,p_name=>'Menu Dinamico'
  ,p_list_type=>'SQL_QUERY'
  ,p_list_query=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT LEVEL',
  '     , label',
  '     , CASE',
  '         WHEN (pagina_id IS NULL) THEN',
  '           NULL',
  '         ELSE',
  '           ''f?p=&APP_ID.:'' || pagina_id || '':'' || :APP_SESSION || ''::NO::'' || param_name || '':''|| param_value',
  '       END AS target',
  '     , decode(:APP_PAGE_ID, pagina_id, ''YES'', ''NO'') AS is_current',
  '     , image_ref AS image',
  '     , image_attrib',
  '     , image_alt',
  '  FROM (',
  '        SELECT DISTINCT m.menu_id',
  '                      , m.parent_id',
  '                      , m.pagina_id',
  '                      , m.label',
  '                      , m.ordem',
  '                      , m.image_ref',
  '                      , m.image_attrib',
  '                      , m.image_alt',
  '                      , m.param_name',
  '                      , m.param_value',
  '                   FROM menu m',
  '                      , grupo_pagina gp',
  '                      , usuario_grupo ug',
  '                      , usuario u',
  '                  WHERE (m.pagina_id IS NULL',
  '                     OR (gp.pagina_id   = m.pagina_id',
  '                    AND  ug.grupo_id    = gp.grupo_id',
  '                    AND  ug.usuario_id  = u.usuario_id',
  '                    AND  upper (u.nome) = upper (:APP_USER)))',
  '       ) A',
  'START WITH (parent_id = 0)',
  'CONNECT BY PRIOR menu_id = parent_id',
  'ORDER SIBLINGS BY ordem;'))
  ,p_list_status=>'PUBLIC'
  );
  end;
  /
  prompt --application/shared_components/security/authorizations/direitos_de_administração
  begin
  wwv_flow_api.create_security_scheme(
   p_id=>wwv_flow_api.id(38135775165484198942)
  ,p_name=>unistr('Direitos de Administra\00E7\00E3o')
  ,p_scheme_type=>'NATIVE_FUNCTION_BODY'
  ,p_attribute_01=>'return true;'
  ,p_error_message=>unistr('Privil\00E9gios insuficientes; o usu\00E1rio n\00E3o \00E9 um Administrador')
  ,p_caching=>'BY_USER_BY_PAGE_VIEW'
  );
  end;
  /
  prompt --application/shared_components/security/authorizations/permitir_acesso
  begin
  wwv_flow_api.create_security_scheme(
   p_id=>wwv_flow_api.id(38137761775886382934)
  ,p_name=>'Permitir Acesso'
  ,p_scheme_type=>'NATIVE_FUNCTION_BODY'
  ,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  RETURN pkg_auth_schemes.permitir_acesso(:APP_USER,:APP_PAGE_ID);',
  'END;'))
  ,p_error_message=>unistr('Desculpe, voc\00EA n\00E3o tem permiss\00E3o para acessar esta p\00E1gina.')
  ,p_caching=>'NOCACHE'
  );
  end;
  /
  prompt --application/shared_components/user_interface/lovs/login_remember_username
  begin
  wwv_flow_api.create_list_of_values(
   p_id=>wwv_flow_api.id(38135777736480198964)
  ,p_lov_name=>'LOGIN_REMEMBER_USERNAME'
  ,p_lov_query=>'.'||wwv_flow_api.id(38135777736480198964)||'.'
  ,p_location=>'STATIC'
  );
  wwv_flow_api.create_static_lov_data(
   p_id=>wwv_flow_api.id(38135778101681198966)
  ,p_lov_disp_sequence=>10
  ,p_lov_disp_value=>unistr('Lembrar nome do usu\00E1rio')
  ,p_lov_return_value=>'Y'
  );
  end;
  /
  prompt --application/shared_components/user_interface/lovs/lov_grupos
  begin
  wwv_flow_api.create_list_of_values(
   p_id=>wwv_flow_api.id(38224509334160997943)
  ,p_lov_name=>'LOV_GRUPOS'
  ,p_lov_query=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT grupo_id AS return_value',
  '       , nome AS display_value',
  '    FROM grupo',
  'ORDER BY nome;'))
  ,p_source_type=>'SQL'
  ,p_location=>'LOCAL'
  ,p_return_column_name=>'RETURN_VALUE'
  ,p_display_column_name=>'DISPLAY_VALUE'
  );
  end;
  /
  prompt --application/shared_components/user_interface/lovs/lov_menu_itens
  begin
  wwv_flow_api.create_list_of_values(
   p_id=>wwv_flow_api.id(38229050152254508509)
  ,p_lov_name=>'LOV_MENU_ITENS'
  ,p_lov_query=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT menu_id AS return_value',
  '       , label AS display_value',
  '    FROM menu',
  'ORDER BY label;'))
  ,p_source_type=>'SQL'
  ,p_location=>'LOCAL'
  ,p_return_column_name=>'RETURN_VALUE'
  ,p_display_column_name=>'DISPLAY_VALUE'
  );
  end;
  /
  prompt --application/shared_components/user_interface/lovs/lov_paginas
  begin
  wwv_flow_api.create_list_of_values(
   p_id=>wwv_flow_api.id(38224511929333007771)
  ,p_lov_name=>'LOV_PAGINAS'
  ,p_lov_query=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_source_type=>'SQL'
  ,p_location=>'LOCAL'
  ,p_use_local_sync_table=>false
  ,p_return_column_name=>'RETURN_VALUE'
  ,p_display_column_name=>'DISPLAY_VALUE'
  ,p_group_sort_direction=>'ASC'
  ,p_default_sort_direction=>'ASC'
  );
  end;
  /
  prompt --application/pages/page_groups
  begin
  wwv_flow_api.create_page_group(
   p_id=>wwv_flow_api.id(38135775775662198945)
  ,p_group_name=>unistr('Administra\00E7\00E3o')
  );
  end;
  /
  prompt --application/shared_components/navigation/breadcrumbs/breadcrumb
  begin
  wwv_flow_api.create_menu(
   p_id=>wwv_flow_api.id(38135325395318198825)
  ,p_name=>'Breadcrumb'
  );
  wwv_flow_api.create_menu_option(
   p_id=>wwv_flow_api.id(38135325561543198826)
  ,p_short_name=>unistr('In\00EDcio')
  ,p_link=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.'
  ,p_page_id=>1
  );
  end;
  /
  prompt --application/shared_components/navigation/breadcrumbentry
  begin
  wwv_flow_api.create_menu_option(
   p_id=>wwv_flow_api.id(38135325561543198826)
  ,p_menu_id=>wwv_flow_api.id(38135325395318198825)
  ,p_option_sequence=>10
  ,p_short_name=>unistr('In\00EDcio')
  ,p_link=>'f?p=&APP_ID.:1:&APP_SESSION.::&DEBUG.'
  ,p_page_id=>1
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/left_side_column
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135326169674198828)
  ,p_theme_id=>42
  ,p_name=>'Left Side Column'
  ,p_internal_name=>'LEFT_SIDE_COLUMN'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.leftSideCol();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody t-PageBody--showLeft t-PageBody--hideActions no-anim t-PageTemplate--leftCol #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Header-controlsIcon" aria-hidden="t'
  ||'rue"></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '  <div class="t-Header-nav">#TOP_GLOBAL_NAVIGATION_LIST##REGION_POSITION_06#</div>',
  '</header>',
  ''))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  #SIDE_GLOBAL_NAVIGATION_LIST#',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-side" id="t_Body_side">#REGION_POSITION_02#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main class="t-Body-mainContent" id="main">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-contentInner">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>17
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2525196570560608698
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135326437344198832)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135326701909198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135327096759198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Left Column'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>4
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135327351044198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135327622707198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135327952505198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135328225014198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135328579750198833)
  ,p_page_template_id=>wwv_flow_api.id(38135326169674198828)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>false
  ,p_max_fixed_grid_columns=>8
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/left_and_right_side_columns
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135328961167198835)
  ,p_theme_id=>42
  ,p_name=>'Left and Right Side Columns'
  ,p_internal_name=>'LEFT_AND_RIGHT_SIDE_COLUMNS'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.bothSideCols();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">  ',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>',
  '</head>',
  '<body class="t-PageBody t-PageBody--showLeft no-anim t-PageTemplate--leftRightCol #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Header-controlsIcon" aria-hidden="t'
  ||'rue"></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '  <div class="t-Header-nav">#TOP_GLOBAL_NAVIGATION_LIST##REGION_POSITION_06#</div>',
  '</header>',
  ''))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  #SIDE_GLOBAL_NAVIGATION_LIST#',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-side" id="t_Body_side">#REGION_POSITION_02#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main id="main" class="t-Body-mainContent">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-contentInner">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '  <div class="t-Body-actions" id="t_Body_actions">',
  '    <button class="t-Body-actionsToggle" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Body-actionsControlsIcon" aria-hidden="true"></span></button>',
  '    <div class="t-Body-actionsContent" role="complementary">#REGION_POSITION_03#</div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>17
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2525203692562657055
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135329233337198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>6
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135329519906198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135329836565198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Left Column'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>3
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135330192108198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Right Column'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>false
  ,p_max_fixed_grid_columns=>3
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135330408366198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135330725567198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>6
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135331044919198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135331307199198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135331603778198836)
  ,p_page_template_id=>wwv_flow_api.id(38135328961167198835)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>false
  ,p_max_fixed_grid_columns=>6
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/login
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135332092851198837)
  ,p_theme_id=>42
  ,p_name=>'Login'
  ,p_internal_name=>'LOGIN'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.appLogin();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody--login t-PageTemplate--login no-anim #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Login-container">',
  '  <header class="t-Login-containerHeader">#REGION_POSITION_01#</header>',
  '  <main class="t-Login-containerBody" id="main">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION##BODY#</main>',
  '  <footer class="t-Login-containerFooter">#REGION_POSITION_02#</footer>',
  '</div>',
  ''))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>6
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2099711150063350616
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135332340758198837)
  ,p_page_template_id=>wwv_flow_api.id(38135332092851198837)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135332604562198837)
  ,p_page_template_id=>wwv_flow_api.id(38135332092851198837)
  ,p_name=>'Body Header'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135332908535198837)
  ,p_page_template_id=>wwv_flow_api.id(38135332092851198837)
  ,p_name=>'Body Footer'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/master_detail
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135334340521198839)
  ,p_theme_id=>42
  ,p_name=>'Marquee'
  ,p_internal_name=>'MASTER_DETAIL'
  ,p_is_popup=>false
  ,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.stickyTableHeader#MIN#.js?v=#APEX_VERSION#',
  '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#'))
  ,p_javascript_code_onload=>'apex.theme42.initializePage.masterDetail();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody t-PageBody--masterDetail t-PageBody--hideLeft no-anim t-PageTemplate--marquee #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Header-controlsIcon" aria-hidden="t'
  ||'rue"></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '  <div class="t-Header-nav">#TOP_GLOBAL_NAVIGATION_LIST##REGION_POSITION_06#</div>',
  '</header>'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  #SIDE_GLOBAL_NAVIGATION_LIST#',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main id="main" class="t-Body-mainContent">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-info" id="t_Body_info">#REGION_POSITION_02#</div>',
  '        <div class="t-Body-contentInner" role="main">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '  <div class="t-Body-actions" id="t_Body_actions">',
  '    <button class="t-Body-actionsToggle" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Body-actionsControlsIcon" aria-hidden="true"></span></button>',
  '    <div class="t-Body-actionsContent" role="complementary">#REGION_POSITION_03#</div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>17
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>1996914646461572319
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135334662338198839)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135334979961198839)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135335205558198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Master Detail'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135335549187198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Right Side Column'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>false
  ,p_max_fixed_grid_columns=>4
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135335805681198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135336187952198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135336458797198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135336767941198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135337043042198840)
  ,p_page_template_id=>wwv_flow_api.id(38135334340521198839)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/minimal_no_navigation
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135337446151198841)
  ,p_theme_id=>42
  ,p_name=>'Minimal (No Navigation)'
  ,p_internal_name=>'MINIMAL_NO_NAVIGATION'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#  ',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim #PAGE_CSS_CLASSES# t-PageBody--noNav t-PageTemplate--minimal" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Icon fa fa-bars" aria-hidden="true"'
  ||'></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '</header>',
  '    '))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main id="main" class="t-Body-mainContent">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-contentInner">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>',
  ''))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>4
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2977628563533209425
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135337779202198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135338091785198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135338329160198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135338680220198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135338980081198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135339279443198841)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135339500083198842)
  ,p_page_template_id=>wwv_flow_api.id(38135337446151198841)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/modal_dialog
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135339941365198842)
  ,p_theme_id=>42
  ,p_name=>'Modal Dialog'
  ,p_internal_name=>'MODAL_DIALOG'
  ,p_is_popup=>true
  ,p_javascript_code_onload=>'apex.theme42.initializePage.modalDialog();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-Dialog-page t-Dialog-page--standard t-PageTemplate--dialog #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Dialog" role="dialog" aria-label="#TITLE#">',
  '  <div class="t-Dialog-header">#REGION_POSITION_01#</div>',
  '  <div class="t-Dialog-bodyWrapperOut">',
  '    <div class="t-Dialog-bodyWrapperIn">',
  '      <div class="t-Dialog-body" role="main">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION##BODY#</div>',
  '    </div>',
  '  </div>',
  '  <div class="t-Dialog-footer">#REGION_POSITION_03#</div>',
  '</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>3
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--standard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_height=>'auto'
  ,p_dialog_width=>'720'
  ,p_dialog_max_width=>'960'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2098960803539086924
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135340226063198842)
  ,p_page_template_id=>wwv_flow_api.id(38135339941365198842)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135340507107198842)
  ,p_page_template_id=>wwv_flow_api.id(38135339941365198842)
  ,p_name=>'Dialog Header'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135340841119198842)
  ,p_page_template_id=>wwv_flow_api.id(38135339941365198842)
  ,p_name=>'Dialog Footer'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/right_side_column
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135341400204198843)
  ,p_theme_id=>42
  ,p_name=>'Right Side Column'
  ,p_internal_name=>'RIGHT_SIDE_COLUMN'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.rightSideCol();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8"> ',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody t-PageBody--hideLeft no-anim t-PageTemplate--rightSideCol #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Header-controlsIcon" aria-hidden="t'
  ||'rue"></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '  <div class="t-Header-nav">#TOP_GLOBAL_NAVIGATION_LIST##REGION_POSITION_06#</div>',
  '</header>'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  #SIDE_GLOBAL_NAVIGATION_LIST#',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main id="main" class="t-Body-mainContent">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-contentInner">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '  <div class="t-Body-actions" id="t_Body_actions">',
  '    <button class="t-Body-actionsToggle" aria-label="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" title="#EXPAND_COLLAPSE_SIDE_COL_LABEL#" id="t_Button_rightControlButton" type="button"><span class="t-Body-actionsControlsIcon" aria-hidden="true"></span></button'
  ||'>',
  '    <div class="t-Body-actionsContent" role="complementary">#REGION_POSITION_03#</div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>17
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2525200116240651575
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135341722053198843)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135342056412198843)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135342358913198843)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Right Column'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>false
  ,p_max_fixed_grid_columns=>4
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135342603577198843)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135342902958198844)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135343279820198844)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135343565019198844)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135343814037198844)
  ,p_page_template_id=>wwv_flow_api.id(38135341400204198843)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>8
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/standard
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135344224316198844)
  ,p_theme_id=>42
  ,p_name=>'Standard'
  ,p_internal_name=>'STANDARD'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.theme42.initializePage.noSideCol();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-PageBody t-PageBody--hideLeft t-PageBody--hideActions no-anim t-PageTemplate--standard #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD# id="t_PageBody">',
  '<a href="#main" id="t_Body_skipToContent">&APP_TEXT$UI_PAGE_SKIP_TO_CONTENT.</a>',
  '#FORM_OPEN#',
  '<header class="t-Header" id="t_Header" role="banner">',
  '  #REGION_POSITION_07#',
  '  <div class="t-Header-branding">',
  '    <div class="t-Header-controls">',
  '      <button class="t-Button t-Button--icon t-Button--header t-Button--headerTree" aria-label="#EXPAND_COLLAPSE_NAV_LABEL#" title="#EXPAND_COLLAPSE_NAV_LABEL#" id="t_Button_navControl" type="button"><span class="t-Header-controlsIcon" aria-hidden="t'
  ||'rue"></span></button>',
  '    </div>',
  '    <div class="t-Header-logo">',
  '      <a href="#HOME_LINK#" class="t-Header-logo-link">#LOGO#</a>',
  '    </div>',
  '    <div class="t-Header-navBar">#NAVIGATION_BAR#</div>',
  '  </div>',
  '  <div class="t-Header-nav">#TOP_GLOBAL_NAVIGATION_LIST##REGION_POSITION_06#</div>',
  '</header>',
  ''))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body">',
  '  #SIDE_GLOBAL_NAVIGATION_LIST#',
  '  <div class="t-Body-main">',
  '    <div class="t-Body-title" id="t_Body_title">#REGION_POSITION_01#</div>',
  '    <div class="t-Body-content" id="t_Body_content">',
  '      <main id="main" class="t-Body-mainContent">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        <div class="t-Body-fullContent">#REGION_POSITION_08#</div>',
  '        <div class="t-Body-contentInner">#BODY#</div>',
  '      </main>',
  '      <footer class="t-Footer" id="t_Footer" role="contentinfo">',
  '        <div class="t-Footer-body">',
  '          <div class="t-Footer-content">#REGION_POSITION_05#</div>',
  '          <div class="t-Footer-apex">',
  '            <div class="t-Footer-version">#APP_VERSION#</div>',
  '            <div class="t-Footer-customize">#CUSTOMIZE#</div>',
  '            #BUILT_WITH_LOVE_USING_APEX#',
  '          </div>',
  '        </div>',
  '        <div class="t-Footer-top">',
  '          <a href="#top" class="t-Footer-topButton" id="t_Footer_topButton"><span class="a-Icon icon-up-chevron"></span></a>',
  '        </div>',
  '      </footer>',
  '    </div>',
  '  </div>',
  '</div>',
  '<div class="t-Body-inlineDialogs" id="t_Body_inlineDialogs">#REGION_POSITION_04#</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>',
  ''))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-NavigationBar t-NavigationBar--classic" data-mode="classic">',
  '  <li class="t-NavigationBar-item">',
  '    <span class="t-Button t-Button--icon t-Button--noUI t-Button--header t-Button--navBar t-Button--headerUser">',
  '      <span class="t-Icon a-Icon icon-user"></span>',
  '      <span class="t-Button-label">&APP_USER.</span>',
  '    </span>',
  '  </li>#BAR_BODY#',
  '</ul>'))
  ,p_navbar_entry=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item">',
  '  <a class="t-Button t-Button--icon t-Button--header" href="#LINK#">',
  '    <span class="t-Icon #IMAGE#"></span>',
  '    <span class="t-Button-label">#TEXT#</span>',
  '  </a>',
  '</li>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_01'
  ,p_theme_class_id=>1
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>4070909157481059304
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135344512639198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135344837496198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Breadcrumb Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135345186516198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Inline Dialogs'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135345462337198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Footer'
  ,p_placeholder=>'REGION_POSITION_05'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135345742023198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Page Navigation'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135346003058198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Page Header'
  ,p_placeholder=>'REGION_POSITION_07'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135346322540198845)
  ,p_page_template_id=>wwv_flow_api.id(38135344224316198844)
  ,p_name=>'Before Content Body'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/page/wizard_modal_dialog
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(38135346774096198845)
  ,p_theme_id=>42
  ,p_name=>'Wizard Modal Dialog'
  ,p_internal_name=>'WIZARD_MODAL_DIALOG'
  ,p_is_popup=>true
  ,p_javascript_code_onload=>'apex.theme42.initializePage.wizardModal();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html class="no-js #RTL_CLASS# page-&APP_PAGE_ID. app-&APP_ALIAS." lang="&BROWSER_LANGUAGE." #TEXT_DIRECTION#>',
  '<head>',
  '  <meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '  <meta charset="utf-8">',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '  #TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '  #PAGE_CSS#',
  '  #FAVICONS#',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width, initial-scale=1.0" />',
  '</head>',
  '<body class="t-Dialog-page t-Dialog-page--wizard t-PageTemplate--wizard #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #TEXT_DIRECTION# #ONLOAD#>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Dialog" role="dialog" aria-label="#TITLE#">',
  '  <div class="t-Dialog-header">#REGION_POSITION_01#</div>',
  '  <div class="t-Dialog-bodyWrapperOut">',
  '    <div class="t-Dialog-bodyWrapperIn">',
  '      <div class="t-Dialog-body" role="main">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION##BODY#</div>',
  '    </div>',
  '  </div>',
  '  <div class="t-Dialog-footer">#REGION_POSITION_03#</div>',
  '</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#APEX_JAVASCRIPT#',
  '#GENERATED_CSS#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#  ',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--success t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Success" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-header">',
  '          <h2 class="t-Alert-title">#SUCCESS_MESSAGE#</h2>',
  '        </div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Success'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-alert">',
  '  <div class="t-Alert t-Alert--defaultIcons t-Alert--warning t-Alert--horizontal t-Alert--page t-Alert--colorBG" id="t_Alert_Notification" role="alert">',
  '    <div class="t-Alert-wrap">',
  '      <div class="t-Alert-icon">',
  '        <span class="t-Icon"></span>',
  '      </div>',
  '      <div class="t-Alert-content">',
  '        <div class="t-Alert-body">#MESSAGE#</div>',
  '      </div>',
  '      <div class="t-Alert-buttons">',
  '        <button class="t-Button t-Button--noUI t-Button--icon t-Button--closeAlert" onclick="apex.jQuery(''#t_Alert_Notification'').remove();" type="button" title="#CLOSE_NOTIFICATION#"><span class="t-Icon icon-close"></span></button>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%"'
  ,p_theme_class_id=>3
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--danger t-Alert--wizard t-Alert--defaultIcons">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-body">',
  '        <h3>#MESSAGE#</h3>',
  '        <p>#ADDITIONAL_INFO#</p>',
  '        <div class="t-Alert-inset">#TECHNICAL_INFO#</div>',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      <button onclick="#BACK_LINK#" class="t-Button t-Button--hot w50p t-Button--large" type="button">#OK#</button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_grid_type=>'FIXED'
  ,p_grid_max_columns=>12
  ,p_grid_always_use_max_columns=>true
  ,p_grid_has_column_span=>true
  ,p_grid_always_emit=>true
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_default_label_col_span=>2
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="row #CSS_CLASSES#">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>'<div class="col col-#COLUMN_SPAN_NUMBER# #CSS_CLASSES# #FIRST_LAST_COLUMN_ATTRIBUTES#" #ATTRIBUTES#>#CONTENT#</div>'
  ,p_grid_first_column_attributes=>'col-start'
  ,p_grid_last_column_attributes=>'col-end'
  ,p_dialog_js_init_code=>'apex.navigation.dialog(#PAGE_URL#,{title:#TITLE#,height:#DIALOG_HEIGHT#,width:#DIALOG_WIDTH#,maxWidth:#DIALOG_MAX_WIDTH#,modal:#IS_MODAL#,dialog:#DIALOG#,#DIALOG_ATTRIBUTES#},''t-Dialog-page--wizard ''+#DIALOG_CSS_CLASSES#,#TRIGGERING_ELEMENT#);'
  ,p_dialog_js_close_code=>'apex.navigation.dialog.close(#IS_MODAL#,#TARGET#);'
  ,p_dialog_js_cancel_code=>'apex.navigation.dialog.cancel(#IS_MODAL#);'
  ,p_dialog_height=>'auto'
  ,p_dialog_width=>'720'
  ,p_dialog_max_width=>'960'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>2120348229686426515
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135347030420198846)
  ,p_page_template_id=>wwv_flow_api.id(38135346774096198845)
  ,p_name=>'Wizard Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135347300345198846)
  ,p_page_template_id=>wwv_flow_api.id(38135346774096198845)
  ,p_name=>'Wizard Progress Bar'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135347682706198846)
  ,p_page_template_id=>wwv_flow_api.id(38135346774096198845)
  ,p_name=>'Wizard Buttons'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/button/icon
  begin
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(38135747384460198902)
  ,p_template_name=>'Icon'
  ,p_internal_name=>'ICON'
  ,p_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidde'
  ||'n="true"></span></button>'
  ,p_hot_template=>'<button class="t-Button t-Button--noLabel t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#"><span class="t-Icon #ICON_CSS_CLASSE'
  ||'S#" aria-hidden="true"></span></button>'
  ,p_reference_id=>2347660919680321258
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>5
  ,p_theme_id=>42
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/button/text
  begin
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(38135748027198198903)
  ,p_template_name=>'Text'
  ,p_internal_name=>'TEXT'
  ,p_template=>'<button onclick="#JAVASCRIPT#" class="t-Button #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>'
  ,p_hot_template=>'<button onclick="#JAVASCRIPT#" class="t-Button t-Button--hot #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#"><span class="t-Button-label">#LABEL#</span></button>'
  ,p_reference_id=>4070916158035059322
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id=>42
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/button/text_with_icon
  begin
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(38135748162853198903)
  ,p_template_name=>'Text with Icon'
  ,p_internal_name=>'TEXT_WITH_ICON'
  ,p_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES#" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-label">#LABEL#'
  ||'</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>'
  ,p_hot_template=>'<button class="t-Button t-Button--icon #BUTTON_CSS_CLASSES# t-Button--hot" #BUTTON_ATTRIBUTES# onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#"><span class="t-Icon t-Icon--left #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-Button-'
  ||'label">#LABEL#</span><span class="t-Icon t-Icon--right #ICON_CSS_CLASSES#" aria-hidden="true"></span></button>'
  ,p_reference_id=>2081382742158699622
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>4
  ,p_preset_template_options=>'t-Button--iconRight'
  ,p_theme_id=>42
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/alert
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135348277566198846)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-Alert #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-header">',
  '        <h2 class="t-Alert-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '      </div>',
  '      <div class="t-Alert-body">#BODY#</div>',
  '    </div>',
  '    <div class="t-Alert-buttons">#PREVIOUS##CLOSE##CREATE##NEXT#</div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'Alert'
  ,p_internal_name=>'ALERT'
  ,p_plug_table_bgcolor=>'#ffffff'
  ,p_theme_id=>42
  ,p_theme_class_id=>21
  ,p_preset_template_options=>'t-Alert--horizontal:t-Alert--defaultIcons:t-Alert--warning'
  ,p_plug_heading_bgcolor=>'#ffffff'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2039236646100190748
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'Red Theme'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135348543019198848)
  ,p_plug_template_id=>wwv_flow_api.id(38135348277566198846)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/blank_with_attributes
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135351981225198851)
  ,p_layout=>'TABLE'
  ,p_template=>'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#">#PREVIOUS##BODY##SUB_REGIONS##NEXT#</div>'
  ,p_page_plug_template_name=>'Blank with Attributes'
  ,p_internal_name=>'BLANK_WITH_ATTRIBUTES'
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>4499993862448380551
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/blank_with_attributes_no_grid
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135352124310198851)
  ,p_layout=>'TABLE'
  ,p_template=>'<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="#REGION_CSS_CLASSES#">#PREVIOUS##BODY##SUB_REGIONS##NEXT#</div>'
  ,p_page_plug_template_name=>'Blank with Attributes (No Grid)'
  ,p_internal_name=>'BLANK_WITH_ATTRIBUTES_NO_GRID'
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>3369790999010910123
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135352476439198851)
  ,p_plug_template_id=>wwv_flow_api.id(38135352124310198851)
  ,p_name=>'Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135352705794198851)
  ,p_plug_template_id=>wwv_flow_api.id(38135352124310198851)
  ,p_name=>'Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/buttons_container
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135352992793198851)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ButtonRegion t-Form--floatLeft #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-ButtonRegion-wrap">',
  '    <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##CLOSE##DELETE#</div></div>',
  '    <div class="t-ButtonRegion-col t-ButtonRegion-col--content">',
  '      <h2 class="t-ButtonRegion-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '      #BODY#',
  '      <div class="t-ButtonRegion-buttons">#CHANGE#</div>',
  '    </div>',
  '    <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'Buttons Container'
  ,p_internal_name=>'BUTTONS_CONTAINER'
  ,p_plug_table_bgcolor=>'#ffffff'
  ,p_theme_id=>42
  ,p_theme_class_id=>17
  ,p_plug_heading_bgcolor=>'#ffffff'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2124982336649579661
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'Red Theme'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135353267029198851)
  ,p_plug_template_id=>wwv_flow_api.id(38135352992793198851)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135353538943198851)
  ,p_plug_template_id=>wwv_flow_api.id(38135352992793198851)
  ,p_name=>'Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/cards_container
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135355139033198852)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-CardsRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <h2 class="u-VisuallyHidden" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '  #BODY##SUB_REGIONS#',
  '</div>'))
  ,p_page_plug_template_name=>'Cards Container'
  ,p_internal_name=>'CARDS_CONTAINER'
  ,p_theme_id=>42
  ,p_theme_class_id=>21
  ,p_default_template_options=>'u-colors'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2071277712695139743
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/carousel_container
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135356138447198853)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-Region t-Region--carousel #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-Region-header">',
  '    <div class="t-Region-headerItems t-Region-headerItems--title">',
  '      <span class="t-Region-headerIcon"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span></span>',
  '      <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '    </div>',
  '    <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>',
  '  </div>',
  '  <div role="region" aria-label="#TITLE#" class="t-Region-bodyWrap">',
  '    <div class="t-Region-buttons t-Region-buttons--top">',
  '      <div class="t-Region-buttons-left">#PREVIOUS#</div>',
  '      <div class="t-Region-buttons-right">#NEXT#</div>',
  '    </div>',
  '    <div class="t-Region-body">',
  '      #BODY#',
  '      <div class="t-Region-carouselRegions">#SUB_REGIONS#</div>',
  '    </div>',
  '    <div class="t-Region-buttons t-Region-buttons--bottom">',
  '      <div class="t-Region-buttons-left">#CLOSE##HELP#</div>',
  '      <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">',
  '  #SUB_REGION#',
  '</div>'))
  ,p_page_plug_template_name=>'Carousel Container'
  ,p_internal_name=>'CAROUSEL_CONTAINER'
  ,p_javascript_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#',
  '#IMAGE_PREFIX#plugins/com.oracle.apex.carousel/1.1/com.oracle.apex.carousel#MIN#.js?v=#APEX_VERSION#'))
  ,p_plug_table_bgcolor=>'#ffffff'
  ,p_theme_id=>42
  ,p_theme_class_id=>5
  ,p_default_template_options=>'t-Region--showCarouselControls'
  ,p_preset_template_options=>'t-Region--hiddenOverflow'
  ,p_plug_heading_bgcolor=>'#ffffff'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2865840475322558786
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135356484507198853)
  ,p_plug_template_id=>wwv_flow_api.id(38135356138447198853)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135356755004198853)
  ,p_plug_template_id=>wwv_flow_api.id(38135356138447198853)
  ,p_name=>'Slides'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/collapsible
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135363304600198857)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!HTML#" class="t-Region t-Region--hideShow #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  ' <div class="t-Region-header">',
  '  <div class="t-Region-headerItems t-Region-headerItems--controls"><button class="t-Button t-Button--icon t-Button--hideShow" type="button"></button></div>',
  '  <div class="t-Region-headerItems t-Region-headerItems--title">',
  '    <h2 class="t-Region-title" data-apex-heading>#TITLE#</h2>',
  '  </div>',
  '  <div class="t-Region-headerItems t-Region-headerItems--buttons">#EDIT#</div>',
  ' </div>',
  ' <div class="t-Region-bodyWrap">',
  '   <div class="t-Region-buttons t-Region-buttons--top">',
  '    <div class="t-Region-buttons-left">#CLOSE#</div>',
  '    <div class="t-Region-buttons-right">#CREATE#</div>',
  '   </div>',
  '   <div class="t-Region-body">',
  '     #COPY#',
  '     #BODY#',
  '     #SUB_REGIONS#',
  '     #CHANGE#',
  '   </div>',
  '   <div class="t-Region-buttons t-Region-buttons--bottom">',
  '    <div class="t-Region-buttons-left">#PREVIOUS#</div>',
  '    <div class="t-Region-buttons-right">#NEXT#</div>',
  '   </div>',
  ' </div>',
  '</div>'))
  ,p_page_plug_template_name=>'Collapsible'
  ,p_internal_name=>'COLLAPSIBLE'
  ,p_plug_table_bgcolor=>'#ffffff'
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_preset_template_options=>'is-expanded:t-Region--scrollBody'
  ,p_plug_heading_bgcolor=>'#ffffff'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2662888092628347716
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'Red Theme'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135363609203198857)
  ,p_plug_template_id=>wwv_flow_api.id(38135363304600198857)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135363946365198857)
  ,p_plug_template_id=>wwv_flow_api.id(38135363304600198857)
  ,p_name=>'Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/content_block
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135370700486198860)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-ContentBlock #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-ContentBlock-header">',
  '    <div class="t-ContentBlock-headerItems t-ContentBlock-headerItems--title">',
  '      <span class="t-ContentBlock-headerIcon"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span></span>',
  '      <h1 class="t-ContentBlock-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h1>',
  '      #EDIT#',
  '    </div>',
  '    <div class="t-ContentBlock-headerItems t-ContentBlock-headerItems--buttons">#CHANGE#</div>',
  '  </div>',
  '  <div class="t-ContentBlock-body">#BODY#</div>',
  '  <div class="t-ContentBlock-buttons">#PREVIOUS##NEXT#</div>',
  '</div>',
  ''))
  ,p_page_plug_template_name=>'Content Block'
  ,p_internal_name=>'CONTENT_BLOCK'
  ,p_theme_id=>42
  ,p_theme_class_id=>21
  ,p_preset_template_options=>'t-ContentBlock--h1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2320668864738842174
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/hero
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135373176466198861)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-HeroRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-HeroRegion-wrap">',
  '    <div class="t-HeroRegion-col t-HeroRegion-col--left"><span class="t-HeroRegion-icon t-Icon #ICON_CSS_CLASSES#"></span></div>',
  '    <div class="t-HeroRegion-col t-HeroRegion-col--content">',
  '      <h1 class="t-HeroRegion-title" data-apex-heading>#TITLE#</h1>',
  '      #BODY#',
  '    </div>',
  '    <div class="t-HeroRegion-col t-HeroRegion-col--right"><div class="t-HeroRegion-form">#SUB_REGIONS#</div><div class="t-HeroRegion-buttons">#NEXT#</div></div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'Hero'
  ,p_internal_name=>'HERO'
  ,p_theme_id=>42
  ,p_theme_class_id=>22
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2672571031438297268
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135373469200198861)
  ,p_plug_template_id=>wwv_flow_api.id(38135373176466198861)
  ,p_name=>'Region Body'
  ,p_placeholder=>'#BODY#'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/inline_dialog
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135375435588198862)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="#REGION_STATIC_ID#_parent">',
  '<div id="#REGION_STATIC_ID#" class="t-DialogRegion #REGION_CSS_CLASSES# js-regionDialog" #REGION_ATTRIBUTES# style="display:none" title="#TITLE!ATTR#">',
  '  <div class="t-DialogRegion-wrap">',
  '    <div class="t-DialogRegion-bodyWrapperOut"><div class="t-DialogRegion-bodyWrapperIn"><div class="t-DialogRegion-body">#BODY#</div></div></div>',
  '    <div class="t-DialogRegion-buttons">',
  '       <div class="t-ButtonRegion t-ButtonRegion--dialogRegion">',
  '         <div class="t-ButtonRegion-wrap">',
  '           <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##DELETE##CLOSE#</div></div>',
  '           <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
  '         </div>',
  '       </div>',
  '    </div>',
  '  </div>',
  '</div>',
  '</div>'))
  ,p_page_plug_template_name=>'Inline Dialog'
  ,p_internal_name=>'INLINE_DIALOG'
  ,p_theme_id=>42
  ,p_theme_class_id=>24
  ,p_default_template_options=>'js-modal:js-draggable:js-resizable'
  ,p_preset_template_options=>'js-dialog-size600x400'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2671226943886536762
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135375763264198862)
  ,p_plug_template_id=>wwv_flow_api.id(38135375435588198862)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/inline_popup
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135377776332198863)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="#REGION_STATIC_ID#_parent">',
  '<div id="#REGION_STATIC_ID#" class="t-DialogRegion #REGION_CSS_CLASSES# js-regionPopup" #REGION_ATTRIBUTES# style="display:none" title="#TITLE!ATTR#">',
  '  <div class="t-DialogRegion-wrap">',
  '    <div class="t-DialogRegion-bodyWrapperOut"><div class="t-DialogRegion-bodyWrapperIn"><div class="t-DialogRegion-body">#BODY#</div></div></div>',
  '    <div class="t-DialogRegion-buttons">',
  '       <div class="t-ButtonRegion t-ButtonRegion--dialogRegion">',
  '         <div class="t-ButtonRegion-wrap">',
  '           <div class="t-ButtonRegion-col t-ButtonRegion-col--left"><div class="t-ButtonRegion-buttons">#PREVIOUS##DELETE##CLOSE#</div></div>',
  '           <div class="t-ButtonRegion-col t-ButtonRegion-col--right"><div class="t-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
  '         </div>',
  '       </div>',
  '    </div>',
  '  </div>',
  '</div>',
  '</div>'))
  ,p_page_plug_template_name=>'Inline Popup'
  ,p_internal_name=>'INLINE_POPUP'
  ,p_theme_id=>42
  ,p_theme_class_id=>24
  ,p_preset_template_options=>'js-dialog-size600x400'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>1483922538999385230
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135378071895198863)
  ,p_plug_template_id=>wwv_flow_api.id(38135377776332198863)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/interactive_report
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135381006473198864)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-IRR-region #REGION_CSS_CLASSES#">',
  '  <h2 class="u-VisuallyHidden" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '#PREVIOUS##BODY##SUB_REGIONS##NEXT#',
  '</div>'))
  ,p_page_plug_template_name=>'Interactive Report'
  ,p_internal_name=>'INTERACTIVE_REPORT'
  ,p_theme_id=>42
  ,p_theme_class_id=>9
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2099079838218790610
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/login
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135381685078198864)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-Login-region t-Form--stretchInputs t-Form--labelsAbove #REGION_CSS_CLASSES#" id="#REGION_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-Login-header">',
  '    <span class="t-Login-logo #ICON_CSS_CLASSES#"></span>',
  '    <h1 class="t-Login-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h1>',
  '  </div>',
  '  <div class="t-Login-body">#BODY#</div>',
  '  <div class="t-Login-buttons">#NEXT#</div>',
  '  <div class="t-Login-links">#EDIT##CREATE#</div>',
  '  <div class="t-Login-subRegions">#SUB_REGIONS#</div>',
  '</div>'))
  ,p_page_plug_template_name=>'Login'
  ,p_internal_name=>'LOGIN'
  ,p_theme_id=>42
  ,p_theme_class_id=>23
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2672711194551076376
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135381904925198864)
  ,p_plug_template_id=>wwv_flow_api.id(38135381685078198864)
  ,p_name=>'Content Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/standard
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135382911602198865)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-Region #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  ' <div class="t-Region-header">',
  '  <div class="t-Region-headerItems t-Region-headerItems--title">',
  '    <span class="t-Region-headerIcon"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span></span>',
  '    <h2 class="t-Region-title" id="#REGION_STATIC_ID#_heading" data-apex-heading>#TITLE#</h2>',
  '  </div>',
  '  <div class="t-Region-headerItems t-Region-headerItems--buttons">#COPY##EDIT#<span class="js-maximizeButtonContainer"></span></div>',
  ' </div>',
  ' <div class="t-Region-bodyWrap">',
  '   <div class="t-Region-buttons t-Region-buttons--top">',
  '    <div class="t-Region-buttons-left">#PREVIOUS#</div>',
  '    <div class="t-Region-buttons-right">#NEXT#</div>',
  '   </div>',
  '   <div class="t-Region-body">',
  '     #BODY#',
  '     #SUB_REGIONS#',
  '   </div>',
  '   <div class="t-Region-buttons t-Region-buttons--bottom">',
  '    <div class="t-Region-buttons-left">#CLOSE##HELP#</div>',
  '    <div class="t-Region-buttons-right">#DELETE##CHANGE##CREATE#</div>',
  '   </div>',
  ' </div>',
  '</div>',
  ''))
  ,p_page_plug_template_name=>'Standard'
  ,p_internal_name=>'STANDARD'
  ,p_plug_table_bgcolor=>'#ffffff'
  ,p_theme_id=>42
  ,p_theme_class_id=>8
  ,p_preset_template_options=>'t-Region--scrollBody'
  ,p_plug_heading_bgcolor=>'#ffffff'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>4070912133526059312
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135383200013198865)
  ,p_plug_template_id=>wwv_flow_api.id(38135382911602198865)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135383512548198865)
  ,p_plug_template_id=>wwv_flow_api.id(38135382911602198865)
  ,p_name=>'Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>12
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/tabs_container
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135389777972198868)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-TabsRegion #REGION_CSS_CLASSES# apex-tabs-region" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  #BODY#',
  '  <div class="t-TabsRegion-items">#SUB_REGIONS#</div>',
  '</div>'))
  ,p_sub_plug_template=>'<div data-label="#SUB_REGION_TITLE#" id="SR_#SUB_REGION_ID#">#SUB_REGION#</div>'
  ,p_page_plug_template_name=>'Tabs Container'
  ,p_internal_name=>'TABS_CONTAINER'
  ,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#'
  ,p_theme_id=>42
  ,p_theme_class_id=>5
  ,p_preset_template_options=>'t-TabsRegion-mod--simple'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>3221725015618492759
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135390021782198868)
  ,p_plug_template_id=>wwv_flow_api.id(38135389777972198868)
  ,p_name=>'Region Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135390391252198868)
  ,p_plug_template_id=>wwv_flow_api.id(38135389777972198868)
  ,p_name=>'Tabs'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/title_bar
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135392347895198869)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="t-BreadcrumbRegion #REGION_CSS_CLASSES#"> ',
  '  <div class="t-BreadcrumbRegion-body">',
  '    <div class="t-BreadcrumbRegion-breadcrumb">#BODY#</div>',
  '    <div class="t-BreadcrumbRegion-title">',
  '      <h1 class="t-BreadcrumbRegion-titleText" data-apex-heading>#TITLE#</h1>',
  '    </div>',
  '  </div>',
  '  <div class="t-BreadcrumbRegion-buttons">#PREVIOUS##CLOSE##DELETE##HELP##CHANGE##EDIT##COPY##CREATE##NEXT#</div>',
  '</div>'))
  ,p_page_plug_template_name=>'Title Bar'
  ,p_internal_name=>'TITLE_BAR'
  ,p_theme_id=>42
  ,p_theme_class_id=>6
  ,p_default_template_options=>'t-BreadcrumbRegion--showBreadcrumb'
  ,p_preset_template_options=>'t-BreadcrumbRegion--useBreadcrumbTitle'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2530016523834132090
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region/wizard_container
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(38135393579314198869)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div role="region" aria-label="#TITLE!ATTR#" class="t-Wizard #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="t-Wizard-header">',
  '    <h1 class="t-Wizard-title" data-apex-heading>#TITLE#</h1>',
  '    <div class="u-Table t-Wizard-controls">',
  '      <div class="u-Table-fit t-Wizard-buttons">#PREVIOUS##CLOSE#</div>',
  '      <div class="u-Table-fill t-Wizard-steps">#BODY#</div>',
  '      <div class="u-Table-fit t-Wizard-buttons">#NEXT#</div>',
  '    </div>',
  '  </div>',
  '  <div class="t-Wizard-body">#SUB_REGIONS#</div>',
  '</div>'))
  ,p_page_plug_template_name=>'Wizard Container'
  ,p_internal_name=>'WIZARD_CONTAINER'
  ,p_theme_id=>42
  ,p_theme_class_id=>8
  ,p_preset_template_options=>'t-Wizard--hideStepsXSmall'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2117602213152591491
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(38135393865140198869)
  ,p_plug_template_id=>wwv_flow_api.id(38135393579314198869)
  ,p_name=>'Wizard Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/badge_list
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135719846126198885)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-BadgeList-item #A02#">',
  '  <a class="t-BadgeList-wrap u-color #A04#" href="#LINK#" #A03#>',
  '  <span class="t-BadgeList-label">#TEXT#</span>',
  '  <span class="t-BadgeList-value">#A01#</span>',
  '  </a>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-BadgeList-item #A02#">',
  '  <a class="t-BadgeList-wrap u-color #A04#" href="#LINK#" #A03#>',
  '  <span class="t-BadgeList-label">#TEXT#</span>',
  '  <span class="t-BadgeList-value">#A01#</span>',
  '  </a>',
  '</li>'))
  ,p_list_template_name=>'Badge List'
  ,p_internal_name=>'BADGE_LIST'
  ,p_theme_id=>42
  ,p_theme_class_id=>3
  ,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--cols t-BadgeList--3cols:t-BadgeList--circular'
  ,p_list_template_before_rows=>'<ul class="t-BadgeList #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_a01_label=>'Value'
  ,p_a02_label=>'List item CSS Classes'
  ,p_a03_label=>'Link Attributes'
  ,p_a04_label=>'Link Classes'
  ,p_reference_id=>2062482847268086664
  ,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'A01: Large Number',
  'A02: List Item Classes',
  'A03: Link Attributes'))
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/cards
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135723892028198889)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Cards-item is-active #A04#">',
  '  <div class="t-Card">',
  '    <a href="#LINK#" class="t-Card-wrap" #A05#>',
  '      <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>',
  '      <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3><h4 class="t-Card-subtitle">#A07#</h4></div>',
  '      <div class="t-Card-body">',
  '        <div class="t-Card-desc">#A01#</div>',
  '        <div class="t-Card-info">#A02#</div>',
  '      </div>',
  '      <span class="t-Card-colorFill u-color #A06#"></span>',
  '    </a>',
  '  </div>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Cards-item #A04#">',
  '  <div class="t-Card">',
  '    <a href="#LINK#" class="t-Card-wrap" #A05#>',
  '      <div class="t-Card-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#"><span class="t-Card-initials" role="presentation">#A03#</span></span></div>',
  '      <div class="t-Card-titleWrap"><h3 class="t-Card-title">#TEXT#</h3><h4 class="t-Card-subtitle">#A07#</h4></div>',
  '      <div class="t-Card-body">',
  '        <div class="t-Card-desc">#A01#</div>',
  '        <div class="t-Card-info">#A02#</div>',
  '      </div>',
  '      <span class="t-Card-colorFill u-color #A06#"></span>',
  '    </a>',
  '  </div>',
  '</li>'))
  ,p_list_template_name=>'Cards'
  ,p_internal_name=>'CARDS'
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--basic'
  ,p_list_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_a01_label=>'Description'
  ,p_a02_label=>'Secondary Information'
  ,p_a03_label=>'Initials'
  ,p_a04_label=>'List Item CSS Classes'
  ,p_a05_label=>'Link Attributes'
  ,p_a06_label=>'Card Color Class'
  ,p_a07_label=>'Subtitle'
  ,p_reference_id=>2885322685880632508
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/links_list
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135729422035198891)
  ,p_list_template_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b'
  ||'adge">#A01#</span></a></li>'
  ,p_list_template_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_list_template_name=>'Links List'
  ,p_internal_name=>'LINKS_LIST'
  ,p_theme_id=>42
  ,p_theme_class_id=>18
  ,p_list_template_before_rows=>'<ul class="t-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_before_sub_list=>'<ul class="t-LinksList-list">'
  ,p_after_sub_list=>'</ul>'
  ,p_sub_list_item_current=>'<li class="t-LinksList-item is-current #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-b'
  ||'adge">#A01#</span></a></li>'
  ,p_sub_list_item_noncurrent=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_item_templ_curr_w_child=>'<li class="t-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t'
  ||'-LinksList-badge">#A01#</span></a>#SUB_LISTS#</li>'
  ,p_item_templ_noncurr_w_child=>'<li class="t-LinksList-item #A03#"><a href="#LINK#" class="t-LinksList-link" #A02#><span class="t-LinksList-icon"><span class="t-Icon #ICON_CSS_CLASSES#"></span></span><span class="t-LinksList-label">#TEXT#</span><span class="t-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_a01_label=>'Badge Value'
  ,p_a02_label=>'Link Attributes'
  ,p_a03_label=>'List Item CSS Classes'
  ,p_reference_id=>4070914341144059318
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/media_list
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135731003971198892)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MediaList-item is-active #A04#">',
  '    <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>',
  '        <div class="t-MediaList-iconWrap">',
  '            <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span></span>',
  '        </div>',
  '        <div class="t-MediaList-body">',
  '            <h3 class="t-MediaList-title">#TEXT#</h3>',
  '            <p class="t-MediaList-desc">#A01#</p>',
  '        </div>',
  '        <div class="t-MediaList-badgeWrap">',
  '            <span class="t-MediaList-badge">#A02#</span>',
  '        </div>',
  '    </a>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MediaList-item  #A04#">',
  '    <a href="#LINK#" class="t-MediaList-itemWrap #A05#" #A03#>',
  '        <div class="t-MediaList-iconWrap">',
  '            <span class="t-MediaList-icon u-color #A06#"><span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span></span>',
  '        </div>',
  '        <div class="t-MediaList-body">',
  '            <h3 class="t-MediaList-title">#TEXT#</h3>',
  '            <p class="t-MediaList-desc">#A01#</p>',
  '        </div>',
  '        <div class="t-MediaList-badgeWrap">',
  '            <span class="t-MediaList-badge">#A02#</span>',
  '        </div>',
  '    </a>',
  '</li>'))
  ,p_list_template_name=>'Media List'
  ,p_internal_name=>'MEDIA_LIST'
  ,p_theme_id=>42
  ,p_theme_class_id=>5
  ,p_default_template_options=>'t-MediaList--showIcons:t-MediaList--showDesc'
  ,p_list_template_before_rows=>'<ul class="t-MediaList #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_a01_label=>'Description'
  ,p_a02_label=>'Badge Value'
  ,p_a03_label=>'Link Attributes'
  ,p_a04_label=>'List Item CSS Classes'
  ,p_a05_label=>'Link Class'
  ,p_a06_label=>'Icon Color Class'
  ,p_reference_id=>2066548068783481421
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/menu_bar
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135733876110198893)
  ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_name=>'Menu Bar'
  ,p_internal_name=>'MENU_BAR'
  ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'var e = apex.jQuery("##PARENT_STATIC_ID#_menubar", apex.gPageContext$);',
  'if (e.hasClass("js-addActions")) {',
  '  apex.actions.addFromMarkup( e );',
  '}',
  'e.menu({',
  '  behaveLikeTabs: e.hasClass("js-tabLike"),',
  '  menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,',
  '  iconType: ''fa'',',
  '  menubar: true,',
  '  menubarOverflow: true,',
  '  callout: e.hasClass("js-menu-callout")',
  '});'))
  ,p_theme_id=>42
  ,p_theme_class_id=>20
  ,p_default_template_options=>'js-showSubMenuIcons'
  ,p_list_template_before_rows=>'<div class="t-MenuBar #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_menubar"><ul style="display:none">'
  ,p_list_template_after_rows=>'</ul></div>'
  ,p_before_sub_list=>'<ul>'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_a01_label=>'Menu Item ID / Action Name'
  ,p_a02_label=>'Disabled (True/False)'
  ,p_a03_label=>'Hidden (True/False)'
  ,p_a04_label=>'Title Attribute (Used By Actions Only)'
  ,p_a05_label=>'Shortcut'
  ,p_a06_label=>'Link Target'
  ,p_reference_id=>2008709236185638887
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/menu_popup
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135734825673198894)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>',
  ''))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>',
  ''))
  ,p_list_template_name=>'Menu Popup'
  ,p_internal_name=>'MENU_POPUP'
  ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'var e = apex.jQuery("##PARENT_STATIC_ID#_menu", apex.gPageContext$);',
  'if (e.hasClass("js-addActions")) {',
  '  apex.actions.addFromMarkup( e );',
  '}',
  'e.menu({ iconType: ''fa'', callout: e.hasClass("js-menu-callout")});'))
  ,p_theme_id=>42
  ,p_theme_class_id=>20
  ,p_list_template_before_rows=>'<div id="#PARENT_STATIC_ID#_menu" class="#COMPONENT_CSS_CLASSES#" style="display:none;"><ul>'
  ,p_list_template_after_rows=>'</ul></div>'
  ,p_before_sub_list=>'<ul>'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_item_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_curr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_a01_label=>'Menu Item ID / Action Name'
  ,p_a02_label=>'Disabled (True/False)'
  ,p_a03_label=>'Hidden (True/False)'
  ,p_a04_label=>'Title Attribute (Used By Actions Only)'
  ,p_a05_label=>'Shortcut'
  ,p_a06_label=>'Link Target'
  ,p_reference_id=>3492264004432431646
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/navigation_bar
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135735462302198894)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item is-active #A02#">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" title="#A04#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>',
  '  </a>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item #A02#">',
  '  <a class="t-Button t-Button--icon t-Button--header t-Button--navBar" href="#LINK#" title="#A04#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span>',
  '  </a>',
  '</li>'))
  ,p_list_template_name=>'Navigation Bar'
  ,p_internal_name=>'NAVIGATION_BAR'
  ,p_theme_id=>42
  ,p_theme_class_id=>20
  ,p_list_template_before_rows=>'<ul class="t-NavigationBar #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_before_sub_list=>'<div class="t-NavigationBar-menu" style="display: none" id="menu_#PARENT_LIST_ITEM_ID#"><ul>'
  ,p_after_sub_list=>'</ul></div></li>'
  ,p_sub_list_item_current=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_list_item_noncurrent=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
  ,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item is-active #A02#">',
  '  <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#" title="#A04#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>',
  '  </button>'))
  ,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-NavigationBar-item #A02#">',
  '  <button class="t-Button t-Button--icon t-Button t-Button--header t-Button--navBar js-menuButton" type="button" id="#LIST_ITEM_ID#" data-menu="menu_#LIST_ITEM_ID#" title="#A04#">',
  '      <span class="t-Icon #ICON_CSS_CLASSES#" #IMAGE_ATTR#></span><span class="t-Button-label">#TEXT_ESC_SC#</span><span class="t-Button-badge">#A01#</span><span class="a-Icon icon-down-arrow"></span>',
  '  </button>'))
  ,p_sub_templ_curr_w_child=>'<li data-current="true" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_templ_noncurr_w_child=>'<li data-current="false" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>'
  ,p_a01_label=>'Badge Value'
  ,p_a02_label=>'List  Item CSS Classes'
  ,p_a04_label=>'Title Attribute'
  ,p_reference_id=>2846096252961119197
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/side_navigation_menu
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135735804690198895)
  ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_name=>'Side Navigation Menu'
  ,p_internal_name=>'SIDE_NAVIGATION_MENU'
  ,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.treeView#MIN#.js?v=#APEX_VERSION#'
  ,p_javascript_code_onload=>'apex.jQuery(''body'').addClass(''t-PageBody--leftNav'');'
  ,p_theme_id=>42
  ,p_theme_class_id=>19
  ,p_default_template_options=>'js-defaultCollapsed'
  ,p_preset_template_options=>'js-navCollapsed--hidden:t-TreeNav--styleA'
  ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Body-nav" id="t_Body_nav" role="navigation" aria-label="&APP_TITLE!ATTR.">',
  '<div class="t-TreeNav #COMPONENT_CSS_CLASSES#" id="t_TreeNav" data-id="#PARENT_STATIC_ID#_tree" aria-label="&APP_TITLE!ATTR."><ul style="display:none">'))
  ,p_list_template_after_rows=>'</ul></div></div>'
  ,p_before_sub_list=>'<ul>'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-icon="#ICON_CSS_CLASSES#" data-shortcut="#A05#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_a01_label=>'ID Attribute'
  ,p_a02_label=>'Disabled (True/False)'
  ,p_a04_label=>'Title Attribute (Used By Actions Only)'
  ,p_a05_label=>'Shortcut Key'
  ,p_a06_label=>'Link Target'
  ,p_reference_id=>2466292414354694776
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/tabs
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135737660262198896)
  ,p_list_template_current=>'<li class="t-Tabs-item is-active #A03#" id="#A01#"><a href="#LINK#" class="t-Tabs-link #A04#"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>'
  ,p_list_template_noncurrent=>'<li class="t-Tabs-item #A03#" id="#A01#"><a href="#LINK#" class="t-Tabs-link #A04#"><span class="t-Icon #ICON_CSS_CLASSES#"></span><span class="t-Tabs-label">#TEXT#</span></a></li>'
  ,p_list_template_name=>'Tabs'
  ,p_internal_name=>'TABS'
  ,p_javascript_file_urls=>'#IMAGE_PREFIX#libraries/apex/#MIN_DIRECTORY#widget.apexTabs#MIN#.js?v=#APEX_VERSION#'
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_preset_template_options=>'t-Tabs--simple'
  ,p_list_template_before_rows=>'<ul class="t-Tabs #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_a01_label=>'List Item ID'
  ,p_a03_label=>'List Item Class'
  ,p_a04_label=>'Link Class'
  ,p_reference_id=>3288206686691809997
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/top_navigation_mega_menu
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135739229240198897)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item t-MegaMenu-item--top t-MegaMenu-item--noSub is-active #A04#" data-current="true" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item t-MegaMenu-item--top t-MegaMenu-item--noSub #A04#" data-current="false" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>',
  '</li>'))
  ,p_list_template_name=>'Top Navigation Mega Menu'
  ,p_internal_name=>'TOP_NAVIGATION_MEGA_MENU'
  ,p_theme_id=>42
  ,p_theme_class_id=>20
  ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-MegaMenu #COMPONENT_CSS_CLASSES#" id="t_MenuNav" style="display:none;">',
  '  <div class="a-Menu-content t-MegaMenu-container">',
  '    <div class="t-MegaMenu-body">',
  '    <ul class="t-MegaMenu-list t-MegaMenu-list--top">'))
  ,p_list_template_after_rows=>' </ul></div></div></div>'
  ,p_before_sub_list=>'<ul class="t-MegaMenu-list t-MegaMenu-list--sub">'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item is-active #A04#" data-current="true" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>',
  '</li>'))
  ,p_sub_list_item_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item #A04#" data-current="false" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>',
  '</li>'))
  ,p_item_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item t-MegaMenu-item--top t-MegaMenu-item--hasSub is-active #A04#" data-current="true" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>'))
  ,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item t-MegaMenu-item--top t-MegaMenu-item--hasSub #A04#" data-current="false" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>',
  '</li>'))
  ,p_sub_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item is-active #A04#" data-current="true" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>'))
  ,p_sub_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MegaMenu-item #A04#" data-current="false" data-id="#A01#" data-shortcut="#A05#">',
  '  <span class="a-Menu-item t-MegaMenu-itemBody #A08#">',
  '    <span class="t-Icon #ICON_CSS_CLASSES#"></span>',
  '    <a class="a-Menu-label t-MegaMenu-labelWrap" href="#LINK#" target="#A06#">',
  '      <span class="t-MegaMenu-label">#TEXT_ESC_SC#</span>',
  '      <span class="t-MegaMenu-desc">#A03#</span>',
  '    </a>',
  '    <span class="t-MegaMenu-badge #A07#">#A02#</span>',
  '  </span>'))
  ,p_a01_label=>'ID Attribute'
  ,p_a02_label=>'Badge Value'
  ,p_a03_label=>'Description'
  ,p_a04_label=>'List Item Class'
  ,p_a05_label=>'Shortcut Key'
  ,p_a06_label=>'Link Target'
  ,p_a07_label=>'Badge Class'
  ,p_a08_label=>'Menu Item Class'
  ,p_reference_id=>1665447133514362075
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/top_navigation_menu
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135741266832198898)
  ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_list_template_name=>'Top Navigation Menu'
  ,p_internal_name=>'TOP_NAVIGATION_MENU'
  ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'var e = apex.jQuery("#t_MenuNav", apex.gPageContext$);',
  'if (e.hasClass("js-addActions")) {',
  '  apex.actions.addFromMarkup( e );',
  '}',
  'e.menu({',
  '  behaveLikeTabs: e.hasClass("js-tabLike"),',
  '  menubarShowSubMenuIcon: e.hasClass("js-showSubMenuIcons") || null,',
  '  menubar: true,',
  '  menubarOverflow: true,',
  '  callout: e.hasClass("js-menu-callout")',
  '});',
  ''))
  ,p_theme_id=>42
  ,p_theme_class_id=>20
  ,p_default_template_options=>'js-tabLike'
  ,p_list_template_before_rows=>'<div class="t-Header-nav-list #COMPONENT_CSS_CLASSES#" id="t_MenuNav"><ul style="display:none">'
  ,p_list_template_after_rows=>'</ul></div>'
  ,p_before_sub_list=>'<ul>'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_sub_list_item_noncurrent=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a></li>'
  ,p_item_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_item_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_curr_w_child=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_sub_templ_noncurr_w_child=>'<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#ICON_CSS_CLASSES#"><a href="#LINK#" title="#A04#" target="#A06#">#TEXT_ESC_SC#</a>'
  ,p_a01_label=>'Menu Item ID / Action Name'
  ,p_a02_label=>'Disabled (True/False)'
  ,p_a03_label=>'Hidden (True/False)'
  ,p_a04_label=>'Title Attribute (Used By Actions Only)'
  ,p_a05_label=>'Shortcut Key'
  ,p_a06_label=>'Link Target'
  ,p_reference_id=>2525307901300239072
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/top_navigation_tabs
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135742244672198898)
  ,p_list_template_current=>'<li class="t-NavTabs-item #A03# is-active" id="#A01#"><a href="#LINK#" class="t-NavTabs-link #A04# " title="#TEXT_ESC_SC#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-NavTabs-label">#TEXT_ESC_SC#</span><span class'
  ||'="t-NavTabs-badge #A05#">#A02#</span></a></li>'
  ,p_list_template_noncurrent=>'<li class="t-NavTabs-item #A03#" id="#A01#"><a href="#LINK#" class="t-NavTabs-link #A04# " title="#TEXT_ESC_SC#"><span class="t-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="t-NavTabs-label">#TEXT_ESC_SC#</span><span class="t-NavTab'
  ||'s-badge #A05#">#A02#</span></a></li>'
  ,p_list_template_name=>'Top Navigation Tabs'
  ,p_internal_name=>'TOP_NAVIGATION_TABS'
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_preset_template_options=>'t-NavTabs--inlineLabels-lg:t-NavTabs--displayLabels-sm'
  ,p_list_template_before_rows=>'<ul class="t-NavTabs #COMPONENT_CSS_CLASSES#" id="#PARENT_STATIC_ID#_navtabs">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_a01_label=>'List Item ID'
  ,p_a02_label=>'Badge Value'
  ,p_a03_label=>'List Item Class'
  ,p_a04_label=>'Link Class'
  ,p_a05_label=>'Badge Class'
  ,p_reference_id=>1453011561172885578
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list/wizard_progress
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(38135743823378198899)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-WizardSteps-step is-active" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap" data-link="#LINK#"><span class="t-WizardSteps-marker"></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"></span></span></'
  ||'div></li>',
  ''))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-WizardSteps-step" id="#LIST_ITEM_ID#"><div class="t-WizardSteps-wrap" data-link="#LINK#"><span class="t-WizardSteps-marker"></span><span class="t-WizardSteps-label">#TEXT# <span class="t-WizardSteps-labelState"></span></span></div></li>',
  ''))
  ,p_list_template_name=>'Wizard Progress'
  ,p_internal_name=>'WIZARD_PROGRESS'
  ,p_javascript_code_onload=>'apex.theme.initWizardProgressBar();'
  ,p_theme_id=>42
  ,p_theme_class_id=>17
  ,p_preset_template_options=>'t-WizardSteps--displayLabels'
  ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<h2 class="u-VisuallyHidden">#CURRENT_PROGRESS#</h2>',
  '<ul class="t-WizardSteps #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'))
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>2008702338707394488
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/alerts
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135394825175198870)
  ,p_row_template_name=>'Alerts'
  ,p_internal_name=>'ALERTS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Alert t-Alert--horizontal t-Alert--colorBG t-Alert--defaultIcons t-Alert--#ALERT_TYPE#" role="alert">',
  '  <div class="t-Alert-wrap">',
  '    <div class="t-Alert-icon">',
  '      <span class="t-Icon"></span>',
  '    </div>',
  '    <div class="t-Alert-content">',
  '      <div class="t-Alert-header">',
  '        <h2 class="t-Alert-title">#ALERT_TITLE#</h2>',
  '      </div>',
  '      <div class="t-Alert-body">',
  '        #ALERT_DESC#',
  '      </div>',
  '    </div>',
  '    <div class="t-Alert-buttons">',
  '      #ALERT_ACTION#',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_row_template_before_rows=>'<div class="t-Alerts #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_alerts" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</div>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>14
  ,p_reference_id=>2881456138952347027
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/badge_list
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135395064499198872)
  ,p_row_template_name=>'Badge List'
  ,p_internal_name=>'BADGE_LIST'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-BadgeList-item">',
  ' <span class="t-BadgeList-wrap u-color">',
  '  <span class="t-BadgeList-label">#COLUMN_HEADER#</span>',
  '  <span class="t-BadgeList-value">#COLUMN_VALUE#</span>',
  ' </span>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-BadgeList #COMPONENT_CSS_CLASSES#" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>6
  ,p_preset_template_options=>'t-BadgeList--large:t-BadgeList--fixed:t-BadgeList--circular'
  ,p_reference_id=>2103197159775914759
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/cards
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135399060512198874)
  ,p_row_template_name=>'Cards'
  ,p_internal_name=>'CARDS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Cards-item #CARD_MODIFIERS#">',
  '  <div class="t-Card">',
  '    <a href="#CARD_LINK#" class="t-Card-wrap">',
  '      <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>',
  '      <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3><h4 class="t-Card-subtitle">#CARD_SUBTITLE#</h4></div>',
  '      <div class="t-Card-body">',
  '        <div class="t-Card-desc">#CARD_TEXT#</div>',
  '        <div class="t-Card-info">#CARD_SUBTEXT#</div>',
  '      </div>',
  '      <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>',
  '    </a>',
  '  </div>',
  '</li>'))
  ,p_row_template_condition1=>':CARD_LINK is not null'
  ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Cards-item #CARD_MODIFIERS#">',
  '  <div class="t-Card">',
  '    <div class="t-Card-wrap">',
  '      <div class="t-Card-icon u-color #CARD_COLOR#"><span class="t-Icon fa #CARD_ICON#"><span class="t-Card-initials" role="presentation">#CARD_INITIALS#</span></span></div>',
  '      <div class="t-Card-titleWrap"><h3 class="t-Card-title">#CARD_TITLE#</h3><h4 class="t-Card-subtitle">#CARD_SUBTITLE#</h4></div>',
  '      <div class="t-Card-body">',
  '        <div class="t-Card-desc">#CARD_TEXT#</div>',
  '        <div class="t-Card-info">#CARD_SUBTEXT#</div>',
  '      </div>',
  '      <span class="t-Card-colorFill u-color #CARD_COLOR#"></span>',
  '    </div>',
  '  </div>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-Cards #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_cards" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'NOT_CONDITIONAL'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_preset_template_options=>'t-Cards--animColorFill:t-Cards--3cols:t-Cards--basic'
  ,p_reference_id=>2973535649510699732
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/comments
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135704497674198877)
  ,p_row_template_name=>'Comments'
  ,p_internal_name=>'COMMENTS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Comments-item #COMMENT_MODIFIERS#">',
  '    <div class="t-Comments-icon">',
  '        <div class="t-Comments-userIcon #ICON_MODIFIER#" aria-hidden="true">#USER_ICON#</div>',
  '    </div>',
  '    <div class="t-Comments-body">',
  '        <div class="t-Comments-info">',
  '            #USER_NAME# <span class="t-Comments-date">#COMMENT_DATE#</span> <span class="t-Comments-actions">#ACTIONS#</span>',
  '        </div>',
  '        <div class="t-Comments-comment">',
  '            #COMMENT_TEXT##ATTRIBUTE_1##ATTRIBUTE_2##ATTRIBUTE_3##ATTRIBUTE_4#',
  '        </div>',
  '    </div>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-Comments #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>',
  ''))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_preset_template_options=>'t-Comments--chat'
  ,p_reference_id=>2611722012730764232
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/content_row
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135705628655198877)
  ,p_row_template_name=>'Content Row'
  ,p_internal_name=>'CONTENT_ROW'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-ContentRow-item #ITEM_CLASSES#">',
  '  <div class="t-ContentRow-wrap">',
  '    <div class="t-ContentRow-selection">#SELECTION#</div>',
  '    <div class="t-ContentRow-iconWrap">',
  '      <span class="t-ContentRow-icon #ICON_CLASS#">#ICON_HTML#</span>',
  '    </div>',
  '    <div class="t-ContentRow-body">',
  '      <div class="t-ContentRow-content">',
  '        <h3 class="t-ContentRow-title">#TITLE#</h3>',
  '        <div class="t-ContentRow-description">#DESCRIPTION#</div>',
  '      </div>',
  '      <div class="t-ContentRow-misc">#MISC#</div>',
  '      <div class="t-ContentRow-actions">#ACTIONS#</div>',
  '    </div>',
  '  </div>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-ContentRow #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_reference_id=>1797843454948280151
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/contextual_info
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135708849021198879)
  ,p_row_template_name=>'Contextual Info'
  ,p_internal_name=>'CONTEXTUAL_INFO'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ContextualInfo-item">',
  '  <span class="t-ContextualInfo-label">#COLUMN_HEADER#</span>',
  '  <span class="t-ContextualInfo-value">#COLUMN_VALUE#</span>',
  '</div>'))
  ,p_row_template_before_rows=>' <div class="t-ContextualInfo #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES# data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</div>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>6
  ,p_reference_id=>2114325881116323585
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/media_list
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135709867211198879)
  ,p_row_template_name=>'Media List'
  ,p_internal_name=>'MEDIA_LIST'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MediaList-item #LIST_CLASS#">',
  '    <a href="#LINK#" class="t-MediaList-itemWrap #LINK_CLASS#" #LINK_ATTR#>',
  '        <div class="t-MediaList-iconWrap">',
  '            <span class="t-MediaList-icon u-color #ICON_COLOR_CLASS#"><span class="t-Icon #ICON_CLASS#"></span></span>',
  '        </div>',
  '        <div class="t-MediaList-body">',
  '            <h3 class="t-MediaList-title">#LIST_TITLE#</h3>',
  '            <p class="t-MediaList-desc">#LIST_TEXT#</p>',
  '        </div>',
  '        <div class="t-MediaList-badgeWrap">',
  '            <span class="t-MediaList-badge">#LIST_BADGE#</span>',
  '        </div>',
  '    </a>',
  '</li>'))
  ,p_row_template_condition1=>':LINK is not null'
  ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-MediaList-item #LIST_CLASS#">',
  '    <div class="t-MediaList-itemWrap #LINK_CLASS#" #LINK_ATTR#>',
  '        <div class="t-MediaList-iconWrap">',
  '            <span class="t-MediaList-icon u-color #ICON_COLOR_CLASS#"><span class="t-Icon #ICON_CLASS#"></span></span>',
  '        </div>',
  '        <div class="t-MediaList-body">',
  '            <h3 class="t-MediaList-title">#LIST_TITLE#</h3>',
  '            <p class="t-MediaList-desc">#LIST_TEXT#</p>',
  '        </div>',
  '        <div class="t-MediaList-badgeWrap">',
  '            <span class="t-MediaList-badge">#LIST_BADGE#</span>',
  '        </div>',
  '    </div>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-MediaList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'NOT_CONDITIONAL'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_default_template_options=>'t-MediaList--showDesc:t-MediaList--showIcons'
  ,p_preset_template_options=>'t-MediaList--stack'
  ,p_reference_id=>2092157460408299055
  ,p_translate_this_template=>'N'
  ,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/search_results
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135712833243198881)
  ,p_row_template_name=>'Search Results'
  ,p_internal_name=>'SEARCH_RESULTS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-SearchResults-item">',
  '    <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
  '    <div class="t-SearchResults-info">',
  '      <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
  '      <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
  '    </div>',
  '  </li>'))
  ,p_row_template_condition1=>':LABEL_02 is null'
  ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-SearchResults-item">',
  '    <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
  '    <div class="t-SearchResults-info">',
  '      <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
  '      <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
  '    </div>',
  '  </li>'))
  ,p_row_template_condition2=>':LABEL_03 is null'
  ,p_row_template3=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-SearchResults-item">',
  '    <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
  '    <div class="t-SearchResults-info">',
  '      <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
  '      <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>',
  '    </div>',
  '  </li>'))
  ,p_row_template_condition3=>':LABEL_04 is null'
  ,p_row_template4=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-SearchResults-item">',
  '    <h3 class="t-SearchResults-title"><a href="#SEARCH_LINK#">#SEARCH_TITLE#</a></h3>',
  '    <div class="t-SearchResults-info">',
  '      <p class="t-SearchResults-desc">#SEARCH_DESC#</p>',
  '      <span class="t-SearchResults-misc">#LABEL_01#: #VALUE_01#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_02#: #VALUE_02#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_03#: #VALUE_03#</span>',
  '      <span class="t-SearchResults-misc">#LABEL_04#: #VALUE_04#</span>',
  '    </div>',
  '  </li>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-SearchResults #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_report" data-region-id="#REGION_STATIC_ID#">',
  '<ul class="t-SearchResults-list">'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>',
  '</div>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond2=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond3=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond4=>'NOT_CONDITIONAL'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_reference_id=>4070913431524059316
  ,p_translate_this_template=>'N'
  ,p_row_template_comment=>' (SELECT link_text, link_target, detail1, detail2, last_modified)'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/standard
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135713045843198881)
  ,p_row_template_name=>'Standard'
  ,p_internal_name=>'STANDARD'
  ,p_row_template1=>'<td class="t-Report-cell" #ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>'
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Report #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES# data-region-id="#REGION_STATIC_ID#">',
  '  <div class="t-Report-wrap">',
  '    <table class="t-Report-pagination" role="presentation">#TOP_PAGINATION#</table>',
  '    <div class="t-Report-tableWrap">',
  '    <table class="t-Report-report" id="report_table_#REGION_STATIC_ID#" aria-label="#REGION_TITLE#">'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '      </tbody>',
  '    </table>',
  '    </div>',
  '    <div class="t-Report-links">#EXTERNAL_LINK##CSV_LINK#</div>',
  '    <table class="t-Report-pagination t-Report-pagination--bottom" role="presentation">#PAGINATION#</table>',
  '  </div>',
  '</div>'))
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_before_column_heading=>'<thead>'
  ,p_column_heading_template=>'<th class="t-Report-colHead" #ALIGNMENT# id="#COLUMN_HEADER_NAME#" #COLUMN_WIDTH#>#COLUMN_HEADER#</th>'
  ,p_after_column_heading=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</thead>',
  '<tbody>'))
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_preset_template_options=>'t-Report--altRowsDefault:t-Report--rowHighlight'
  ,p_reference_id=>2537207537838287671
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(38135713045843198881)
  ,p_row_template_before_first=>'<tr>'
  ,p_row_template_after_last=>'</tr>'
  );
  exception when others then null;
  end;
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/timeline
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135715699426198882)
  ,p_row_template_name=>'Timeline'
  ,p_internal_name=>'TIMELINE'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>',
  '  <div class="t-Timeline-wrap">',
  '    <div class="t-Timeline-user">',
  '      <div class="t-Timeline-avatar #USER_COLOR#">',
  '        #USER_AVATAR#',
  '      </div>',
  '      <div class="t-Timeline-userinfo">',
  '        <span class="t-Timeline-username">#USER_NAME#</span>',
  '        <span class="t-Timeline-date">#EVENT_DATE#</span>',
  '      </div>',
  '    </div>',
  '    <div class="t-Timeline-content">',
  '      <div class="t-Timeline-typeWrap">',
  '        <div class="t-Timeline-type #EVENT_STATUS#">',
  '          <span class="t-Icon #EVENT_ICON#"></span>',
  '          <span class="t-Timeline-typename">#EVENT_TYPE#</span>',
  '        </div>',
  '      </div>',
  '      <div class="t-Timeline-body">',
  '        <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>',
  '        <p class="t-Timeline-desc">#EVENT_DESC#</p>',
  '      </div>',
  '    </div>',
  '  </div>',
  '</li>'))
  ,p_row_template_condition1=>':EVENT_LINK is null'
  ,p_row_template2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-Timeline-item #EVENT_MODIFIERS#" #EVENT_ATTRIBUTES#>',
  '  <a href="#EVENT_LINK#" class="t-Timeline-wrap">',
  '    <div class="t-Timeline-user">',
  '      <div class="t-Timeline-avatar #USER_COLOR#">',
  '        #USER_AVATAR#',
  '      </div>',
  '      <div class="t-Timeline-userinfo">',
  '        <span class="t-Timeline-username">#USER_NAME#</span>',
  '        <span class="t-Timeline-date">#EVENT_DATE#</span>',
  '      </div>',
  '    </div>',
  '    <div class="t-Timeline-content">',
  '      <div class="t-Timeline-typeWrap">',
  '        <div class="t-Timeline-type #EVENT_STATUS#">',
  '          <span class="t-Icon #EVENT_ICON#"></span>',
  '          <span class="t-Timeline-typename">#EVENT_TYPE#</span>',
  '        </div>',
  '      </div>',
  '      <div class="t-Timeline-body">',
  '        <h3 class="t-Timeline-title">#EVENT_TITLE#</h3>',
  '        <p class="t-Timeline-desc">#EVENT_DESC#</p>',
  '      </div>',
  '    </div>',
  '  </a>',
  '</li>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="t-Timeline #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_STATIC_ID#_timeline" data-region-id="#REGION_STATIC_ID#">',
  ''))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</ul>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'NOT_CONDITIONAL'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_reference_id=>1513373588340069864
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_column
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135716006926198883)
  ,p_row_template_name=>'Value Attribute Pairs - Column'
  ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_COLUMN'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<dt class="t-AVPList-label">',
  '  #COLUMN_HEADER#',
  '</dt>',
  '<dd class="t-AVPList-value">',
  '  #COLUMN_VALUE#',
  '</dd>'))
  ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</dl>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>6
  ,p_preset_template_options=>'t-AVPList--leftAligned'
  ,p_reference_id=>2099068636272681754
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report/value_attribute_pairs_row
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(38135718000045198884)
  ,p_row_template_name=>'Value Attribute Pairs - Row'
  ,p_internal_name=>'VALUE_ATTRIBUTE_PAIRS_ROW'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<dt class="t-AVPList-label">',
  '  #1#',
  '</dt>',
  '<dd class="t-AVPList-value">',
  '  #2#',
  '</dd>'))
  ,p_row_template_before_rows=>'<dl class="t-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#" data-region-id="#REGION_STATIC_ID#">'
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</dl>',
  '<table class="t-Report-pagination" role="presentation">#PAGINATION#</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'0'
  ,p_row_template_display_cond4=>'0'
  ,p_pagination_template=>'<span class="t-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS#',
  '</a>'))
  ,p_next_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--next">',
  '  #PAGINATION_NEXT_SET#<span class="a-Icon icon-right-arrow"></span>',
  '</a>'))
  ,p_previous_set_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="t-Button t-Button--small t-Button--noUI t-Report-paginationLink t-Report-paginationLink--prev">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>42
  ,p_theme_class_id=>7
  ,p_preset_template_options=>'t-AVPList--leftAligned'
  ,p_reference_id=>2099068321678681753
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/hidden
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135745235213198900)
  ,p_template_name=>'Hidden'
  ,p_internal_name=>'HIDDEN'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer t-Form-labelContainer--hiddenLabel col col-#LABEL_COLUMN_SPAN_NUMBER#">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label u-VisuallyHidden">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--hiddenLabel rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
  ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
  ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>42
  ,p_theme_class_id=>13
  ,p_reference_id=>2039339104148359505
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/optional
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135745372981198901)
  ,p_template_name=>'Optional'
  ,p_internal_name=>'OPTIONAL'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>',
  '</div>',
  ''))
  ,p_before_item=>'<div class="t-Form-fieldContainer rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>'<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
  ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
  ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>42
  ,p_theme_class_id=>3
  ,p_reference_id=>2317154212072806530
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/optional_above
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135745464253198901)
  ,p_template_name=>'Optional - Above'
  ,p_internal_name=>'OPTIONAL_ABOVE'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>#HELP_TEMPLATE#',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
  ,p_after_element=>'#ITEM_POST_TEXT#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
  ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>42
  ,p_theme_class_id=>3
  ,p_reference_id=>3030114864004968404
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/optional_floating
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135745552562198901)
  ,p_template_name=>'Optional - Floating'
  ,p_internal_name=>'OPTIONAL_FLOATING'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--floatingLabel #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>'<div class="t-Form-inputContainer"><div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'
  ,p_after_element=>'#ITEM_POST_TEXT##HELP_TEMPLATE#</div>#INLINE_HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<span class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</span>'
  ,p_error_template=>'<span class="t-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>42
  ,p_theme_class_id=>3
  ,p_reference_id=>1607675164727151865
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/required
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135745652235198901)
  ,p_template_name=>'Required'
  ,p_internal_name=>'REQUIRED'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer col col-#LABEL_COLUMN_SPAN_NUMBER#">',
  '  <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  ' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label>',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer is-required rel-col #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-inputContainer col col-#ITEM_COLUMN_SPAN_NUMBER#">',
  '  <div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'))
  ,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ITEM_POST_TEXT##HELP_TEMPLATE#',
  '  </div>',
  '  <div class="t-Form-itemAssistance">',
  '    #ERROR_TEMPLATE#',
  '    <div class="t-Form-itemRequired" aria-hidden="true">#REQUIRED#</div>',
  '  </div>',
  '  #INLINE_HELP_TEMPLATE#',
  '</div>'))
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<div class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</div>'
  ,p_error_template=>'<div class="t-Form-error">#ERROR_MESSAGE#</div>'
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_reference_id=>2525313812251712801
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/required_above
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135746372077198902)
  ,p_template_name=>'Required - Above'
  ,p_internal_name=>'REQUIRED_ABOVE'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer">',
  '  <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  ' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label> #HELP_TEMPLATE#',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--stacked is-required #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-inputContainer">',
  '  <div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'))
  ,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ITEM_POST_TEXT##HELP_TEMPLATE#',
  '  </div>',
  '  <div class="t-Form-itemAssistance">',
  '    #ERROR_TEMPLATE#',
  '    <div class="t-Form-itemRequired" aria-hidden="true">#REQUIRED#</div>',
  '  </div>',
  '  #INLINE_HELP_TEMPLATE#',
  '</div>'))
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<div class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</div>'
  ,p_error_template=>'<div class="t-Form-error">#ERROR_MESSAGE#</div>'
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_reference_id=>3030115129444970113
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label/required_floating
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(38135746853186198902)
  ,p_template_name=>'Required - Floating'
  ,p_internal_name=>'REQUIRED_FLOATING'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-labelContainer">',
  '  <label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="t-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  ' <span class="u-VisuallyHidden">(#VALUE_REQUIRED#)</span></label>',
  '</div>'))
  ,p_before_item=>'<div class="t-Form-fieldContainer t-Form-fieldContainer--floatingLabel is-required #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_item_pre_text=>'<span class="t-Form-itemText t-Form-itemText--pre">#CURRENT_ITEM_PRE_TEXT#</span>'
  ,p_item_post_text=>'<span class="t-Form-itemText t-Form-itemText--post">#CURRENT_ITEM_POST_TEXT#</span>'
  ,p_before_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-Form-inputContainer">',
  '  <div class="t-Form-itemWrapper">#ITEM_PRE_TEXT#'))
  ,p_after_element=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ITEM_POST_TEXT##HELP_TEMPLATE#',
  '  </div>',
  '  <div class="t-Form-itemAssistance">',
  '    #ERROR_TEMPLATE#',
  '    <div class="t-Form-itemRequired" aria-hidden="true">#REQUIRED#</div>',
  '  </div>',
  '  #INLINE_HELP_TEMPLATE#',
  '</div>'))
  ,p_help_link=>'<button class="t-Form-helpButton js-itemHelp" data-itemhelp="#CURRENT_ITEM_ID#" title="#CURRENT_ITEM_HELP_LABEL#" aria-label="#CURRENT_ITEM_HELP_LABEL#" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span></button>'
  ,p_inline_help_text=>'<div class="t-Form-inlineHelp">#CURRENT_ITEM_INLINE_HELP_TEXT#</div>'
  ,p_error_template=>'<div class="t-Form-error">#ERROR_MESSAGE#</div>'
  ,p_theme_id=>42
  ,p_theme_class_id=>4
  ,p_reference_id=>1607675344320152883
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/breadcrumb/breadcrumb
  begin
  wwv_flow_api.create_menu_template(
   p_id=>wwv_flow_api.id(38135749492317198904)
  ,p_name=>'Breadcrumb'
  ,p_internal_name=>'BREADCRUMB'
  ,p_before_first=>'<ul class="t-Breadcrumb #COMPONENT_CSS_CLASSES#">'
  ,p_current_page_option=>'<li class="t-Breadcrumb-item is-active"><h1 class="t-Breadcrumb-label">#NAME#</h1></li>'
  ,p_non_current_page_option=>'<li class="t-Breadcrumb-item"><a href="#LINK#" class="t-Breadcrumb-label">#NAME#</a></li>'
  ,p_after_last=>'</ul>'
  ,p_max_levels=>6
  ,p_start_with_node=>'PARENT_TO_LEAF'
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_reference_id=>4070916542570059325
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/popuplov
  begin
  wwv_flow_api.create_popup_lov_template(
   p_id=>wwv_flow_api.id(38135749670712198905)
  ,p_page_name=>'winlov'
  ,p_page_title=>'Search Dialog'
  ,p_page_html_head=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<html lang="&BROWSER_LANGUAGE.">',
  '<head>',
  '<title>#TITLE#</title>',
  '#APEX_CSS#',
  '#THEME_CSS#',
  '#THEME_STYLE_CSS#',
  '#FAVICONS#',
  '#APEX_JAVASCRIPT#',
  '#THEME_JAVASCRIPT#',
  '<meta name="viewport" content="width=device-width,initial-scale=1.0" />',
  '</head>'))
  ,p_page_body_attr=>'onload="first_field()" class="t-Page t-Page--popupLOV"'
  ,p_before_field_text=>'<div class="t-PopupLOV-actions t-Form--large">'
  ,p_filter_width=>'20'
  ,p_filter_max_width=>'100'
  ,p_filter_text_attr=>'class="apex-item-text"'
  ,p_find_button_text=>'Search'
  ,p_find_button_attr=>'class="t-Button t-Button--hot t-Button--padLeft"'
  ,p_close_button_text=>'Close'
  ,p_close_button_attr=>'class="t-Button u-pullRight"'
  ,p_next_button_text=>'Next &gt;'
  ,p_next_button_attr=>'class="t-Button t-PopupLOV-button"'
  ,p_prev_button_text=>'&lt; Previous'
  ,p_prev_button_attr=>'class="t-Button t-PopupLOV-button"'
  ,p_after_field_text=>'</div>'
  ,p_scrollbars=>'1'
  ,p_resizable=>'1'
  ,p_width=>'380'
  ,p_result_row_x_of_y=>'<div class="t-PopupLOV-pagination">Row(s) #FIRST_ROW# - #LAST_ROW#</div>'
  ,p_result_rows_per_pg=>100
  ,p_before_result_set=>'<div class="t-PopupLOV-links">'
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_reference_id=>2885398517835871876
  ,p_translate_this_template=>'N'
  ,p_after_result_set=>'</div>'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/calendar/calendar
  begin
  wwv_flow_api.create_calendar_template(
   p_id=>wwv_flow_api.id(38135749568707198904)
  ,p_cal_template_name=>'Calendar'
  ,p_internal_name=>'CALENDAR'
  ,p_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">',
  '  <span class="visible-md visible-lg">#IDAY#</span>',
  '  <span class="hidden-md hidden-lg">#IDY#</span>',
  '</th>'))
  ,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar">',
  '<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>'))
  ,p_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" aria-label="#IMONTH# #YYYY#">'
  ,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table>',
  '</div>',
  ''))
  ,p_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
  ,p_day_close_format=>'</td>'
  ,p_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
  ,p_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">#TITLE_FORMAT#<div class="t-ClassicCalendar-dayEvents">#DATA#</div>'
  ,p_weekend_close_format=>'</td>'
  ,p_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">'
  ,p_nonday_close_format=>'</td>'
  ,p_week_open_format=>'<tr>'
  ,p_week_close_format=>'</tr> '
  ,p_daily_title_format=>'<table cellspacing="0" cellpadding="0" border="0" summary="" class="t1DayCalendarHolder"> <tr> <td class="t1MonthTitle">#IMONTH# #DD#, #YYYY#</td> </tr> <tr> <td>'
  ,p_daily_open_format=>'<tr>'
  ,p_daily_close_format=>'</tr>'
  ,p_weekly_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar t-ClassicCalendar--weekly">',
  '<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>'))
  ,p_weekly_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">',
  '  <span class="visible-md visible-lg">#DD# #IDAY#</span>',
  '  <span class="hidden-md hidden-lg">#DD# #IDY#</span>',
  '</th>'))
  ,p_weekly_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" aria-label="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">'
  ,p_weekly_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table>',
  '</div>'))
  ,p_weekly_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_weekly_day_close_format=>'</div></td>'
  ,p_weekly_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_weekly_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_weekly_weekend_close_format=>'</div></td>'
  ,p_weekly_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">'
  ,p_weekly_time_close_format=>'</th>'
  ,p_weekly_time_title_format=>'#TIME#'
  ,p_weekly_hour_open_format=>'<tr>'
  ,p_weekly_hour_close_format=>'</tr>'
  ,p_daily_day_of_week_format=>'<th scope="col" id="#DY#" class="t-ClassicCalendar-dayColumn">#IDAY#</th>'
  ,p_daily_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar t-ClassicCalendar--daily">',
  '<h1 class="t-ClassicCalendar-title">#IMONTH# #DD#, #YYYY#</h1>'))
  ,p_daily_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" aria-label="#CALENDAR_TITLE# #START_DL#" class="t-ClassicCalendar-calendar">'
  ,p_daily_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table>',
  '</div>'))
  ,p_daily_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_daily_day_close_format=>'</div></td>'
  ,p_daily_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_daily_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol" id="#TIME#">'
  ,p_daily_time_close_format=>'</th>'
  ,p_daily_time_title_format=>'#TIME#'
  ,p_daily_hour_open_format=>'<tr>'
  ,p_daily_hour_close_format=>'</tr>'
  ,p_cust_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar">',
  '<h1 class="t-ClassicCalendar-title">#IMONTH# #YYYY#</h1>'))
  ,p_cust_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<th id="#DY#" scope="col" class="t-ClassicCalendar-dayColumn">',
  '  <span class="visible-md visible-lg">#IDAY#</span>',
  '  <span class="hidden-md hidden-lg">#IDY#</span>',
  '</th>'))
  ,p_cust_month_open_format=>'<table class="t-ClassicCalendar-calendar" cellpadding="0" cellspacing="0" border="0" aria-label="#IMONTH# #YYYY#">'
  ,p_cust_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table>',
  '</div>'))
  ,p_cust_week_open_format=>'<tr>'
  ,p_cust_week_close_format=>'</tr> '
  ,p_cust_day_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_cust_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">'
  ,p_cust_day_close_format=>'</td>'
  ,p_cust_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#">'
  ,p_cust_nonday_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_cust_nonday_open_format=>'<td class="t-ClassicCalendar-day is-inactive" headers="#DY#">'
  ,p_cust_nonday_close_format=>'</td>'
  ,p_cust_weekend_title_format=>'<span class="t-ClassicCalendar-date">#DD#</span>'
  ,p_cust_weekend_open_format=>'<td class="t-ClassicCalendar-day is-weekend" headers="#DY#">'
  ,p_cust_weekend_close_format=>'</td>'
  ,p_cust_hour_open_format=>'<tr>'
  ,p_cust_hour_close_format=>'</tr>'
  ,p_cust_time_title_format=>'#TIME#'
  ,p_cust_time_open_format=>'<th scope="row" class="t-ClassicCalendar-day t-ClassicCalendar-timeCol">'
  ,p_cust_time_close_format=>'</th>'
  ,p_cust_wk_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar">',
  '<h1 class="t-ClassicCalendar-title">#WTITLE#</h1>'))
  ,p_cust_wk_day_of_week_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<th scope="col" class="t-ClassicCalendar-dayColumn" id="#DY#">',
  '  <span class="visible-md visible-lg">#DD# #IDAY#</span>',
  '  <span class="hidden-md hidden-lg">#DD# #IDY#</span>',
  '</th>'))
  ,p_cust_wk_month_open_format=>'<table border="0" cellpadding="0" cellspacing="0" summary="#CALENDAR_TITLE# #START_DL# - #END_DL#" class="t-ClassicCalendar-calendar">'
  ,p_cust_wk_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table>',
  '</div>'))
  ,p_cust_wk_week_open_format=>'<tr>'
  ,p_cust_wk_week_close_format=>'</tr> '
  ,p_cust_wk_day_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_cust_wk_day_close_format=>'</div></td>'
  ,p_cust_wk_today_open_format=>'<td class="t-ClassicCalendar-day is-today" headers="#DY#"><div class="t-ClassicCalendar-dayEvents">'
  ,p_cust_wk_weekend_open_format=>'<td class="t-ClassicCalendar-day" headers="#DY#">'
  ,p_cust_wk_weekend_close_format=>'</td>'
  ,p_agenda_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="t-ClassicCalendar t-ClassicCalendar--list">',
  '  <div class="t-ClassicCalendar-title">#IMONTH# #YYYY#</div>',
  '  <ul class="t-ClassicCalendar-list">',
  '    #DAYS#',
  '  </ul>',
  '</div>'))
  ,p_agenda_past_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-ClassicCalendar-listTitle is-past">',
  '    <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
  '  </li>'))
  ,p_agenda_today_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-ClassicCalendar-listTitle is-today">',
  '    <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
  '  </li>'))
  ,p_agenda_future_day_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  <li class="t-ClassicCalendar-listTitle is-future">',
  '    <span class="t-ClassicCalendar-listDayTitle">#IDAY#</span><span class="t-ClassicCalendar-listDayDate">#IMONTH# #DD#</span>',
  '  </li>'))
  ,p_agenda_past_entry_format=>'  <li class="t-ClassicCalendar-listEvent is-past">#DATA#</li>'
  ,p_agenda_today_entry_format=>'  <li class="t-ClassicCalendar-listEvent is-today">#DATA#</li>'
  ,p_agenda_future_entry_format=>'  <li class="t-ClassicCalendar-listEvent is-future">#DATA#</li>'
  ,p_month_data_format=>'#DAYS#'
  ,p_month_data_entry_format=>'<span class="t-ClassicCalendar-event">#DATA#</span>'
  ,p_theme_id=>42
  ,p_theme_class_id=>1
  ,p_reference_id=>4070916747979059326
  );
  end;
  /
  prompt --application/shared_components/user_interface/shortcuts/delete_confirm_msg
  begin
  wwv_flow_api.create_shortcut(
   p_id=>wwv_flow_api.id(38135775549164198944)
  ,p_shortcut_name=>'DELETE_CONFIRM_MSG'
  ,p_shortcut_type=>'TEXT_ESCAPE_JS'
  ,p_shortcut=>unistr('Gostaria de executar esta a\00E7\00E3o de exclus\00E3o?')
  );
  end;
  /
  prompt --application/shared_components/security/authentications/contas_do_application_express
  begin
  wwv_flow_api.create_authentication(
   p_id=>wwv_flow_api.id(38135325013910198824)
  ,p_name=>'Contas do Application Express'
  ,p_scheme_type=>'NATIVE_CUSTOM'
  ,p_attribute_03=>'pkg_auth_schemes.autenticar_usuario'
  ,p_attribute_05=>'N'
  ,p_invalid_session_type=>'LOGIN'
  ,p_use_secure_cookie_yn=>'N'
  ,p_ras_mode=>0
  );
  end;
  /
  prompt --application/pages/delete_00000
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>0);
  end;
  /
  prompt --application/pages/page_00000
  begin
  wwv_flow_api.create_page(
   p_id=>0
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>unistr('P\00E1gina Global - Desktop')
  ,p_step_title=>unistr('P\00E1gina Global - Desktop')
  ,p_autocomplete_on_off=>'OFF'
  ,p_page_template_options=>'#DEFAULT#'
  ,p_protection_level=>'D'
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211002122854'
  );
  end;
  /
  prompt --application/pages/delete_00001
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>1);
  end;
  /
  prompt --application/pages/page_00001
  begin
  wwv_flow_api.create_page(
   p_id=>1
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>unistr('In\00EDcio')
  ,p_alias=>'HOME'
  ,p_step_title=>'Basico'
  ,p_autocomplete_on_off=>'OFF'
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211002130019'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38135783437511198981)
  ,p_plug_name=>'Basico'
  ,p_icon_css_classes=>'app-icon'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_escape_on_http_output=>'Y'
  ,p_plug_template=>wwv_flow_api.id(38135373176466198861)
  ,p_plug_display_sequence=>10
  ,p_plug_display_point=>'REGION_POSITION_01'
  ,p_plug_query_num_rows=>15
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'HTML'
  ,p_attribute_03=>'Y'
  );
  end;
  /
  prompt --application/pages/delete_00010
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>10);
  end;
  /
  prompt --application/pages/page_00010
  begin
  wwv_flow_api.create_page(
   p_id=>10
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_usuarios'
  ,p_alias=>'USUARIOS'
  ,p_step_title=>unistr('Usu\00E1rios')
  ,p_autocomplete_on_off=>'OFF'
  ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ListaInterativa td[headers=ColunaEditar]{ width:64px; }',
  '',
  'body .ui-dialog .ui-dialog-titlebar {',
  '  background-color: #006BD8;',
  '  fill: #006BD8;',
  '}',
  'body .ui-dialog .ui-dialog-title {',
  '  color: #fff;',
  '}',
  '',
  'body .ui-dialog .ui-dialog-titlebar-close {',
  '  border-color: #006BD8;',
  '}'))
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003131707'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38139070223741503701)
  ,p_plug_name=>unistr('Listagem dos Usu\00E1rios')
  ,p_region_name=>'ListaInterativa'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_component_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135381006473198864)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'SQL'
  ,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT ''Editar'' AS edit_link',
  '       , l.usuario_id',
  '       , l.nome',
  '       , LISTAGG (l.grupo, '', '') WITHIN GROUP (ORDER BY l.grupo) AS grupos',
  '    FROM (SELECT u.usuario_id',
  '               , u.nome',
  '               , g.nome AS grupo',
  '            FROM usuario u',
  '               , grupo g',
  '               , usuario_grupo j',
  '           WHERE u.usuario_id = j.usuario_id',
  '             AND g.grupo_id = j.grupo_id) l',
  'GROUP BY l.usuario_id, l.nome',
  'ORDER BY l.nome;'))
  ,p_plug_source_type=>'NATIVE_IR'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  ,p_prn_content_disposition=>'ATTACHMENT'
  ,p_prn_document_header=>'APEX'
  ,p_prn_units=>'MILLIMETERS'
  ,p_prn_paper_size=>'A4'
  ,p_prn_width=>297
  ,p_prn_height=>210
  ,p_prn_orientation=>'HORIZONTAL'
  ,p_prn_page_header=>unistr('Listagem dos Usu\00E1rios')
  ,p_prn_page_header_font_color=>'#000000'
  ,p_prn_page_header_font_family=>'Helvetica'
  ,p_prn_page_header_font_weight=>'normal'
  ,p_prn_page_header_font_size=>'12'
  ,p_prn_page_footer_font_color=>'#000000'
  ,p_prn_page_footer_font_family=>'Helvetica'
  ,p_prn_page_footer_font_weight=>'normal'
  ,p_prn_page_footer_font_size=>'12'
  ,p_prn_header_bg_color=>'#EEEEEE'
  ,p_prn_header_font_color=>'#000000'
  ,p_prn_header_font_family=>'Helvetica'
  ,p_prn_header_font_weight=>'bold'
  ,p_prn_header_font_size=>'10'
  ,p_prn_body_bg_color=>'#FFFFFF'
  ,p_prn_body_font_color=>'#000000'
  ,p_prn_body_font_family=>'Helvetica'
  ,p_prn_body_font_weight=>'normal'
  ,p_prn_body_font_size=>'10'
  ,p_prn_border_width=>.5
  ,p_prn_page_header_alignment=>'CENTER'
  ,p_prn_page_footer_alignment=>'CENTER'
  ,p_prn_border_color=>'#666666'
  ,p_plug_header=>'<h4>&P10_TITULO.</h4>'
  );
  wwv_flow_api.create_worksheet(
   p_id=>wwv_flow_api.id(38139070371037503702)
  ,p_max_row_count=>'1000000'
  ,p_pagination_type=>'ROWS_X_TO_Y'
  ,p_pagination_display_pos=>'BOTTOM_RIGHT'
  ,p_show_display_row_count=>'Y'
  ,p_report_list_mode=>'TABS'
  ,p_lazy_loading=>false
  ,p_show_detail_link=>'N'
  ,p_show_notify=>'Y'
  ,p_download_formats=>'CSV:HTML:XLSX:PDF:RTF:EMAIL'
  ,p_owner=>'DANIEL@MAIL.COM'
  ,p_internal_uid=>38139070371037503702
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139070684972503705)
  ,p_db_column_name=>'EDIT_LINK'
  ,p_display_order=>10
  ,p_column_identifier=>'C'
  ,p_column_label=>'Editar'
  ,p_column_link=>'f?p=&APP_ID.:102:&SESSION.::&DEBUG.::P102_USUARIO_ID:#USUARIO_ID#'
  ,p_column_linktext=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
  ,p_column_type=>'STRING'
  ,p_column_alignment=>'CENTER'
  ,p_static_id=>'ColunaEditar'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139070433008503703)
  ,p_db_column_name=>'USUARIO_ID'
  ,p_display_order=>20
  ,p_column_identifier=>'A'
  ,p_column_label=>'ID'
  ,p_column_type=>'NUMBER'
  ,p_column_alignment=>'CENTER'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139070511583503704)
  ,p_db_column_name=>'NOME'
  ,p_display_order=>30
  ,p_column_identifier=>'B'
  ,p_column_label=>'Nome'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328276089740404906)
  ,p_db_column_name=>'GRUPOS'
  ,p_display_order=>40
  ,p_column_identifier=>'D'
  ,p_column_label=>'Grupo(s)'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_rpt(
   p_id=>wwv_flow_api.id(38144982479203744065)
  ,p_application_user=>'APXWS_DEFAULT'
  ,p_report_seq=>10
  ,p_report_alias=>'381449825'
  ,p_status=>'PUBLIC'
  ,p_is_default=>'Y'
  ,p_report_columns=>'EDIT_LINK:USUARIO_ID:NOME:GRUPOS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224888390809061527)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38139070223741503701)
  ,p_button_name=>'Novo'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Novo'
  ,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
  ,p_button_redirect_url=>'f?p=&APP_ID.:101:&SESSION.::&DEBUG.:::'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38328276357473404909)
  ,p_name=>'P10_TITULO'
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38139070223741503701)
  ,p_use_cache_before_default=>'NO'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT nome',
  '  FROM pagina',
  ' WHERE pagina_id = &APP_PAGE_ID.;'))
  ,p_source_type=>'QUERY'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  end;
  /
  prompt --application/pages/delete_00011
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>11);
  end;
  /
  prompt --application/pages/page_00011
  begin
  wwv_flow_api.create_page(
   p_id=>11
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_grupos'
  ,p_alias=>'GRUPOS'
  ,p_step_title=>'Grupos'
  ,p_autocomplete_on_off=>'OFF'
  ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ListaInterativa td[headers=ColunaEditar]{ width:64px; }',
  '',
  'body .ui-dialog .ui-dialog-titlebar {',
  '  background-color: #006BD8;',
  '  fill: #006BD8;',
  '}',
  'body .ui-dialog .ui-dialog-title {',
  '  color: #fff;',
  '}',
  '',
  'body .ui-dialog .ui-dialog-titlebar-close {',
  '  border-color: #006BD8;',
  '}'))
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003131738'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38139070716682503706)
  ,p_plug_name=>'Listagem dos Grupos'
  ,p_region_name=>'ListaInterativa'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_component_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135381006473198864)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'SQL'
  ,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT ''Editar'' AS edit_link',
  '       , l.grupo_id',
  '       , l.nome',
  '       , LISTAGG (l.pagina, '', '') WITHIN GROUP (ORDER BY l.numero) AS paginas',
  '    FROM (SELECT g.grupo_id',
  '               , g.nome',
  '               , p.nome AS pagina',
  '               , p.pagina_id AS numero',
  '            FROM grupo g',
  '               , pagina p',
  '               , grupo_pagina j',
  '           WHERE g.grupo_id = j.grupo_id',
  '             AND p.pagina_id = j.pagina_id) l',
  'GROUP BY l.grupo_id, l.nome',
  'ORDER BY l.nome;'))
  ,p_plug_source_type=>'NATIVE_IR'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  ,p_prn_content_disposition=>'ATTACHMENT'
  ,p_prn_document_header=>'APEX'
  ,p_prn_units=>'MILLIMETERS'
  ,p_prn_paper_size=>'A4'
  ,p_prn_width=>297
  ,p_prn_height=>210
  ,p_prn_orientation=>'HORIZONTAL'
  ,p_prn_page_header=>'Listagem dos Grupos'
  ,p_prn_page_header_font_color=>'#000000'
  ,p_prn_page_header_font_family=>'Helvetica'
  ,p_prn_page_header_font_weight=>'normal'
  ,p_prn_page_header_font_size=>'12'
  ,p_prn_page_footer_font_color=>'#000000'
  ,p_prn_page_footer_font_family=>'Helvetica'
  ,p_prn_page_footer_font_weight=>'normal'
  ,p_prn_page_footer_font_size=>'12'
  ,p_prn_header_bg_color=>'#EEEEEE'
  ,p_prn_header_font_color=>'#000000'
  ,p_prn_header_font_family=>'Helvetica'
  ,p_prn_header_font_weight=>'bold'
  ,p_prn_header_font_size=>'10'
  ,p_prn_body_bg_color=>'#FFFFFF'
  ,p_prn_body_font_color=>'#000000'
  ,p_prn_body_font_family=>'Helvetica'
  ,p_prn_body_font_weight=>'normal'
  ,p_prn_body_font_size=>'10'
  ,p_prn_border_width=>.5
  ,p_prn_page_header_alignment=>'CENTER'
  ,p_prn_page_footer_alignment=>'CENTER'
  ,p_prn_border_color=>'#666666'
  ,p_plug_header=>'<h4>&P11_TITULO.</h4>'
  );
  wwv_flow_api.create_worksheet(
   p_id=>wwv_flow_api.id(38139070874923503707)
  ,p_max_row_count=>'1000000'
  ,p_pagination_type=>'ROWS_X_TO_Y'
  ,p_pagination_display_pos=>'BOTTOM_RIGHT'
  ,p_show_display_row_count=>'Y'
  ,p_report_list_mode=>'TABS'
  ,p_lazy_loading=>false
  ,p_show_detail_link=>'N'
  ,p_show_notify=>'Y'
  ,p_download_formats=>'CSV:HTML:XLSX:PDF:RTF:EMAIL'
  ,p_owner=>'DANIEL@MAIL.COM'
  ,p_internal_uid=>38139070874923503707
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139070985178503708)
  ,p_db_column_name=>'EDIT_LINK'
  ,p_display_order=>10
  ,p_column_identifier=>'A'
  ,p_column_label=>'Editar'
  ,p_column_link=>'f?p=&APP_ID.:112:&SESSION.::&DEBUG.::P112_GRUPO_ID:#GRUPO_ID#'
  ,p_column_linktext=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
  ,p_column_type=>'STRING'
  ,p_column_alignment=>'CENTER'
  ,p_static_id=>'ColunaEditar'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139071070411503709)
  ,p_db_column_name=>'GRUPO_ID'
  ,p_display_order=>20
  ,p_column_identifier=>'B'
  ,p_column_label=>'ID'
  ,p_column_type=>'NUMBER'
  ,p_column_alignment=>'CENTER'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139071148478503710)
  ,p_db_column_name=>'NOME'
  ,p_display_order=>30
  ,p_column_identifier=>'C'
  ,p_column_label=>'Nome'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328275976532404905)
  ,p_db_column_name=>'PAGINAS'
  ,p_display_order=>40
  ,p_column_identifier=>'D'
  ,p_column_label=>unistr('P\00E1gina(s)')
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_rpt(
   p_id=>wwv_flow_api.id(38144994989145745215)
  ,p_application_user=>'APXWS_DEFAULT'
  ,p_report_seq=>10
  ,p_report_alias=>'381449950'
  ,p_status=>'PUBLIC'
  ,p_is_default=>'Y'
  ,p_report_columns=>'EDIT_LINK:GRUPO_ID:NOME:PAGINAS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224886250066061506)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38139070716682503706)
  ,p_button_name=>'Novo'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Novo'
  ,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
  ,p_button_redirect_url=>'f?p=&APP_ID.:111:&SESSION.::&DEBUG.:::'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38338555406319118924)
  ,p_name=>'P11_TITULO'
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38139070716682503706)
  ,p_use_cache_before_default=>'NO'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT nome',
  '  FROM pagina',
  ' WHERE pagina_id = &APP_PAGE_ID.;'))
  ,p_source_type=>'QUERY'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  end;
  /
  prompt --application/pages/delete_00012
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>12);
  end;
  /
  prompt --application/pages/page_00012
  begin
  wwv_flow_api.create_page(
   p_id=>12
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_paginas'
  ,p_alias=>'PAGINAS'
  ,p_step_title=>unistr('P\00E1ginas')
  ,p_autocomplete_on_off=>'OFF'
  ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ListaInterativa td[headers=ColunaEditar]{ width:64px; }',
  '',
  'body .ui-dialog .ui-dialog-titlebar {',
  '  background-color: #006BD8;',
  '  fill: #006BD8;',
  '}',
  'body .ui-dialog .ui-dialog-title {',
  '  color: #fff;',
  '}',
  '',
  'body .ui-dialog .ui-dialog-titlebar-close {',
  '  border-color: #006BD8;',
  '}'))
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003131757'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38139071256628503711)
  ,p_plug_name=>unistr('Listagem das P\00E1ginas')
  ,p_region_name=>'ListaInterativa'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_component_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135381006473198864)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'SQL'
  ,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT ''Editar'' AS edit_link',
  '       , l.pagina_id',
  '       , l.nome',
  '       , LISTAGG (l.grupo, '', '') WITHIN GROUP (ORDER BY l.grupo) AS grupos',
  '    FROM (SELECT p.pagina_id',
  '               , p.nome',
  '               , g.nome AS grupo',
  '            FROM pagina p',
  '               , grupo g',
  '               , grupo_pagina j',
  '           WHERE p.pagina_id = j.pagina_id',
  '             AND g.grupo_id = j.grupo_id) l',
  'GROUP BY l.pagina_id, l.nome',
  'ORDER BY l.pagina_id;'))
  ,p_plug_source_type=>'NATIVE_IR'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  ,p_prn_content_disposition=>'ATTACHMENT'
  ,p_prn_document_header=>'APEX'
  ,p_prn_units=>'MILLIMETERS'
  ,p_prn_paper_size=>'A4'
  ,p_prn_width=>297
  ,p_prn_height=>210
  ,p_prn_orientation=>'HORIZONTAL'
  ,p_prn_page_header=>unistr('Listagem das P\00E1ginas')
  ,p_prn_page_header_font_color=>'#000000'
  ,p_prn_page_header_font_family=>'Helvetica'
  ,p_prn_page_header_font_weight=>'normal'
  ,p_prn_page_header_font_size=>'12'
  ,p_prn_page_footer_font_color=>'#000000'
  ,p_prn_page_footer_font_family=>'Helvetica'
  ,p_prn_page_footer_font_weight=>'normal'
  ,p_prn_page_footer_font_size=>'12'
  ,p_prn_header_bg_color=>'#EEEEEE'
  ,p_prn_header_font_color=>'#000000'
  ,p_prn_header_font_family=>'Helvetica'
  ,p_prn_header_font_weight=>'bold'
  ,p_prn_header_font_size=>'10'
  ,p_prn_body_bg_color=>'#FFFFFF'
  ,p_prn_body_font_color=>'#000000'
  ,p_prn_body_font_family=>'Helvetica'
  ,p_prn_body_font_weight=>'normal'
  ,p_prn_body_font_size=>'10'
  ,p_prn_border_width=>.5
  ,p_prn_page_header_alignment=>'CENTER'
  ,p_prn_page_footer_alignment=>'CENTER'
  ,p_prn_border_color=>'#666666'
  ,p_plug_header=>'<h4>&P12_TITULO.</h4>'
  );
  wwv_flow_api.create_worksheet(
   p_id=>wwv_flow_api.id(38139071382842503712)
  ,p_max_row_count=>'1000000'
  ,p_pagination_type=>'ROWS_X_TO_Y'
  ,p_pagination_display_pos=>'BOTTOM_RIGHT'
  ,p_show_display_row_count=>'Y'
  ,p_report_list_mode=>'TABS'
  ,p_lazy_loading=>false
  ,p_show_detail_link=>'N'
  ,p_show_notify=>'Y'
  ,p_download_formats=>'CSV:HTML:XLSX:PDF:RTF:EMAIL'
  ,p_owner=>'DANIEL@MAIL.COM'
  ,p_internal_uid=>38139071382842503712
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139071462398503713)
  ,p_db_column_name=>'EDIT_LINK'
  ,p_display_order=>10
  ,p_column_identifier=>'A'
  ,p_column_label=>'Editar'
  ,p_column_link=>'f?p=&APP_ID.:122:&SESSION.::&DEBUG.::P122_PAGINA_ID:#PAGINA_ID#'
  ,p_column_linktext=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
  ,p_column_type=>'STRING'
  ,p_column_alignment=>'CENTER'
  ,p_static_id=>'ColunaEditar'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139071566167503714)
  ,p_db_column_name=>'PAGINA_ID'
  ,p_display_order=>20
  ,p_column_identifier=>'B'
  ,p_column_label=>unistr('N\00FAmero')
  ,p_column_type=>'NUMBER'
  ,p_column_alignment=>'CENTER'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328275871880404904)
  ,p_db_column_name=>'NOME'
  ,p_display_order=>30
  ,p_column_identifier=>'F'
  ,p_column_label=>'Nome'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328275738079404903)
  ,p_db_column_name=>'GRUPOS'
  ,p_display_order=>40
  ,p_column_identifier=>'E'
  ,p_column_label=>'Grupo(s)'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_rpt(
   p_id=>wwv_flow_api.id(38145235892323706771)
  ,p_application_user=>'APXWS_DEFAULT'
  ,p_report_seq=>10
  ,p_report_alias=>'381452359'
  ,p_status=>'PUBLIC'
  ,p_is_default=>'Y'
  ,p_report_columns=>'EDIT_LINK:PAGINA_ID:NOME:GRUPOS:'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224886895963061512)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38139071256628503711)
  ,p_button_name=>'Nova'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Nova'
  ,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
  ,p_button_redirect_url=>'f?p=&APP_ID.:121:&SESSION.::&DEBUG.:::'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38338619037287160517)
  ,p_name=>'P12_TITULO'
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38139071256628503711)
  ,p_use_cache_before_default=>'NO'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT nome',
  '  FROM pagina',
  ' WHERE pagina_id = &APP_PAGE_ID.;'))
  ,p_source_type=>'QUERY'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  end;
  /
  prompt --application/pages/delete_00013
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>13);
  end;
  /
  prompt --application/pages/page_00013
  begin
  wwv_flow_api.create_page(
   p_id=>13
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_menu'
  ,p_alias=>'MENU'
  ,p_step_title=>'Menu'
  ,p_autocomplete_on_off=>'OFF'
  ,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#ListaInterativa td[headers=ColunaEditar]{ width:64px; }',
  '',
  'body .ui-dialog .ui-dialog-titlebar {',
  '  background-color: #006BD8;',
  '  fill: #006BD8;',
  '}',
  'body .ui-dialog .ui-dialog-title {',
  '  color: #fff;',
  '}',
  '',
  'body .ui-dialog .ui-dialog-titlebar-close {',
  '  border-color: #006BD8;',
  '}'))
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003131824'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38139071787706503716)
  ,p_plug_name=>'Listagem de Menu'
  ,p_region_name=>'ListaInterativa'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_component_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135381006473198864)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'SQL'
  ,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT ''Editar'' AS edit_link',
  '       , m.menu_id',
  '       , m.label',
  '       , CASE',
  '           WHEN (m.pagina_id >= 1) THEN',
  '             p.pagina_id || '' - '' || p.nome',
  '           ELSE',
  '             null',
  '         END AS pagina_id',
  '       , CASE',
  '           WHEN (m.parent_id >= 1) THEN',
  '             m.parent_id || '' - '' || f.label',
  '           ELSE',
  '             null',
  '         END AS parent_id',
  '       , m.ordem',
  '       , m.param_name',
  '       , m.param_value',
  '    FROM menu m',
  '       , pagina p',
  '       , menu f',
  '   WHERE m.pagina_id = p.pagina_id (+)',
  '     AND m.parent_id = f.menu_id (+)',
  'ORDER BY m.ordem;'))
  ,p_plug_source_type=>'NATIVE_IR'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  ,p_prn_content_disposition=>'ATTACHMENT'
  ,p_prn_document_header=>'APEX'
  ,p_prn_units=>'MILLIMETERS'
  ,p_prn_paper_size=>'A4'
  ,p_prn_width=>297
  ,p_prn_height=>210
  ,p_prn_orientation=>'HORIZONTAL'
  ,p_prn_page_header=>'Listagem de Menu'
  ,p_prn_page_header_font_color=>'#000000'
  ,p_prn_page_header_font_family=>'Helvetica'
  ,p_prn_page_header_font_weight=>'normal'
  ,p_prn_page_header_font_size=>'12'
  ,p_prn_page_footer_font_color=>'#000000'
  ,p_prn_page_footer_font_family=>'Helvetica'
  ,p_prn_page_footer_font_weight=>'normal'
  ,p_prn_page_footer_font_size=>'12'
  ,p_prn_header_bg_color=>'#EEEEEE'
  ,p_prn_header_font_color=>'#000000'
  ,p_prn_header_font_family=>'Helvetica'
  ,p_prn_header_font_weight=>'bold'
  ,p_prn_header_font_size=>'10'
  ,p_prn_body_bg_color=>'#FFFFFF'
  ,p_prn_body_font_color=>'#000000'
  ,p_prn_body_font_family=>'Helvetica'
  ,p_prn_body_font_weight=>'normal'
  ,p_prn_body_font_size=>'10'
  ,p_prn_border_width=>.5
  ,p_prn_page_header_alignment=>'CENTER'
  ,p_prn_page_footer_alignment=>'CENTER'
  ,p_prn_border_color=>'#666666'
  ,p_plug_header=>'<h4>&P13_TITULO.</h4>'
  );
  wwv_flow_api.create_worksheet(
   p_id=>wwv_flow_api.id(38139071811892503717)
  ,p_max_row_count=>'1000000'
  ,p_pagination_type=>'ROWS_X_TO_Y'
  ,p_pagination_display_pos=>'BOTTOM_RIGHT'
  ,p_show_display_row_count=>'Y'
  ,p_report_list_mode=>'TABS'
  ,p_lazy_loading=>false
  ,p_show_detail_link=>'N'
  ,p_show_notify=>'Y'
  ,p_download_formats=>'CSV:HTML:XLSX:PDF:RTF:EMAIL'
  ,p_owner=>'DANIEL@MAIL.COM'
  ,p_internal_uid=>38139071811892503717
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139071969357503718)
  ,p_db_column_name=>'EDIT_LINK'
  ,p_display_order=>10
  ,p_column_identifier=>'A'
  ,p_column_label=>'Editar'
  ,p_column_link=>'f?p=&APP_ID.:132:&SESSION.::&DEBUG.::P132_MENU_ID:#MENU_ID#'
  ,p_column_linktext=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
  ,p_column_type=>'STRING'
  ,p_column_alignment=>'CENTER'
  ,p_static_id=>'ColunaEditar'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139072031061503719)
  ,p_db_column_name=>'MENU_ID'
  ,p_display_order=>20
  ,p_column_identifier=>'B'
  ,p_column_label=>'ID'
  ,p_column_type=>'NUMBER'
  ,p_column_alignment=>'CENTER'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139072375528503722)
  ,p_db_column_name=>'LABEL'
  ,p_display_order=>30
  ,p_column_identifier=>'E'
  ,p_column_label=>'Legenda'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38224890020545061544)
  ,p_db_column_name=>'PAGINA_ID'
  ,p_display_order=>40
  ,p_column_identifier=>'G'
  ,p_column_label=>unistr('P\00E1gina')
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328275592045404901)
  ,p_db_column_name=>'PARENT_ID'
  ,p_display_order=>50
  ,p_column_identifier=>'H'
  ,p_column_label=>'Pai'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38139072462818503723)
  ,p_db_column_name=>'ORDEM'
  ,p_display_order=>60
  ,p_column_identifier=>'F'
  ,p_column_label=>'Ordem'
  ,p_column_type=>'NUMBER'
  ,p_column_alignment=>'CENTER'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328276199898404907)
  ,p_db_column_name=>'PARAM_NAME'
  ,p_display_order=>70
  ,p_column_identifier=>'I'
  ,p_column_label=>unistr('Par\00E2metros')
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_column(
   p_id=>wwv_flow_api.id(38328276283931404908)
  ,p_db_column_name=>'PARAM_VALUE'
  ,p_display_order=>80
  ,p_column_identifier=>'J'
  ,p_column_label=>'Valores'
  ,p_column_type=>'STRING'
  ,p_heading_alignment=>'LEFT'
  );
  wwv_flow_api.create_worksheet_rpt(
   p_id=>wwv_flow_api.id(38144999922434746606)
  ,p_application_user=>'APXWS_DEFAULT'
  ,p_report_seq=>10
  ,p_report_alias=>'381450000'
  ,p_status=>'PUBLIC'
  ,p_is_default=>'Y'
  ,p_report_columns=>'EDIT_LINK:MENU_ID:LABEL:PAGINA_ID:PARENT_ID:ORDEM:PARAM_NAME:PARAM_VALUE:'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224889968455061543)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38139071787706503716)
  ,p_button_name=>'Novo'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Novo'
  ,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
  ,p_button_redirect_url=>'f?p=&APP_ID.:131:&SESSION.::&DEBUG.:::'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38338622533658162808)
  ,p_name=>'P13_TITULO'
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38139071787706503716)
  ,p_use_cache_before_default=>'NO'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT nome',
  '  FROM pagina',
  ' WHERE pagina_id = &APP_PAGE_ID.;'))
  ,p_source_type=>'QUERY'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  end;
  /
  prompt --application/pages/delete_00101
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>101);
  end;
  /
  prompt --application/pages/page_00101
  begin
  wwv_flow_api.create_page(
   p_id=>101
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_usuario_novo'
  ,p_alias=>'USUARIO_NOVO'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Novo Usu\00E1rio')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P101_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003125914'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38224887436916061518)
  ,p_plug_name=>unistr('Novo Usu\00E1rio')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'USUARIO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224888060725061524)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38224888243682061526)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224887607393061520)
  ,p_name=>'P101_USUARIO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_source=>'USUARIO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224887714218061521)
  ,p_name=>'P101_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224887846199061522)
  ,p_name=>'P101_SENHA'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_prompt=>'Senha'
  ,p_source=>'SENHA'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>5
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224887938358061523)
  ,p_name=>'P101_GRUPOS'
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(38224887436916061518)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>'Grupo(s)'
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_GRUPOS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT grupo_id AS return_value',
  '       , nome AS display_value',
  '    FROM grupo',
  'ORDER BY nome;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_grid_column=>8
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'0'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224888181906061525)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Salvar'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'DECLARE',
  '  v_usuario_id usuario.usuario_id%TYPE;',
  '',
  'BEGIN',
  '  INSERT INTO usuario (nome, senha)',
  '  VALUES (:P101_NOME, :P101_SENHA)',
  '  RETURNING usuario_id INTO v_usuario_id;',
  '',
  '  FOR grupo IN (SELECT * FROM TABLE (apex_string.split (:P101_GRUPOS, '':'')))',
  '  LOOP',
  '    INSERT INTO usuario_grupo (usuario_id, grupo_id)',
  '    VALUES (v_usuario_id, grupo.column_value);',
  '  END LOOP;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('O usu\00E1rio n\00E3o foi adicionado!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>unistr('O usu\00E1rio foi adicionado.')
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224887513964061519)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38224887436916061518)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_usuario_novo'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00102
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>102);
  end;
  /
  prompt --application/pages/page_00102
  begin
  wwv_flow_api.create_page(
   p_id=>102
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_usuario_editar'
  ,p_alias=>'USUARIO_EDITAR'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Editar Usu\00E1rio')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P102_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130007'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233594833759007535)
  ,p_plug_name=>unistr('Editar Usu\00E1rio')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'USUARIO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233595425368007541)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233595780630007544)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_button_name=>'Remover'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:103:&SESSION.::&DEBUG.::P103_USUARIO_ID:&P102_USUARIO_ID.'
  ,p_button_css_classes=>'u-color-23'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38233595604537007543)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233595071397007537)
  ,p_name=>'P102_USUARIO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_source=>'USUARIO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233595116140007538)
  ,p_name=>'P102_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233595270365007539)
  ,p_name=>'P102_SENHA'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_prompt=>'Senha'
  ,p_source=>'SENHA'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>5
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233595349404007540)
  ,p_name=>'P102_GRUPOS'
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(38233594833759007535)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>'Grupo(s)'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT grupo_id',
  '  FROM usuario_grupo',
  ' WHERE usuario_id = :P102_USUARIO_ID;'))
  ,p_source_type=>'QUERY_COLON'
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_GRUPOS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT grupo_id AS return_value',
  '       , nome AS display_value',
  '    FROM grupo',
  'ORDER BY nome;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_grid_column=>8
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'N'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233595543216007542)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Salvar'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  UPDATE usuario',
  '     SET nome = :P102_NOME',
  '       , senha = :P102_SENHA',
  '   WHERE usuario_id = :P102_USUARIO_ID;',
  '',
  '  DELETE',
  '    FROM usuario_grupo',
  '   WHERE usuario_id = :P102_USUARIO_ID;',
  '',
  '  FOR grupo IN (SELECT * FROM TABLE (apex_string.split (:P102_GRUPOS, '':'')))',
  '  LOOP',
  '    INSERT INTO usuario_grupo (usuario_id, grupo_id)',
  '    VALUES (:P102_USUARIO_ID, grupo.column_value);',
  '  END LOOP;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233594921956007536)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233594833759007535)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_usuario_editar'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00103
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>103);
  end;
  /
  prompt --application/pages/page_00103
  begin
  wwv_flow_api.create_page(
   p_id=>103
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_usuario_remover'
  ,p_alias=>'USUARIO_REMOVER'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Remover Usu\00E1rio')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P103_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130039'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233595867996007545)
  ,p_plug_name=>unistr('Remover Usu\00E1rio')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'USUARIO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38248852667896715701)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_button_name=>'Remover'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-38'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38248852739597715702)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_button_name=>'Cancelar'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Cancelar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:102:&SESSION.::&DEBUG.::P102_USUARIO_ID:&P103_USUARIO_ID.'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38248852909902715704)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:10:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233596045361007547)
  ,p_name=>'P103_USUARIO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_source=>'USUARIO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233596110159007548)
  ,p_name=>'P103_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233596276810007549)
  ,p_name=>'P103_SENHA'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_prompt=>'Senha'
  ,p_source=>'SENHA'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>5
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233596384882007550)
  ,p_name=>'P103_GRUPOS'
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(38233595867996007545)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>'Novo'
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT grupo_id',
  '  FROM usuario_grupo',
  ' WHERE usuario_id = :P103_USUARIO_ID;'))
  ,p_source_type=>'QUERY_COLON'
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_GRUPOS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT grupo_id AS return_value',
  '       , nome AS display_value',
  '    FROM grupo',
  'ORDER BY nome;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_grid_column=>8
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'N'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38248852872460715703)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Remover'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  DELETE',
  '    FROM usuario_grupo',
  '   WHERE usuario_id = :P103_USUARIO_ID;',
  '  ',
  '  DELETE',
  '    FROM usuario',
  '   WHERE usuario_id = :P103_USUARIO_ID;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('O usu\00E1rio n\00E3o foi removido!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>unistr('O usu\00E1rio foi removido.')
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233595910246007546)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233595867996007545)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_usuario_remover'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00111
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>111);
  end;
  /
  prompt --application/pages/page_00111
  begin
  wwv_flow_api.create_page(
   p_id=>111
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_grupo_novo'
  ,p_alias=>'GRUPO_NOVO'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Novo Grupo'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P111_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130053'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38224885762262061501)
  ,p_plug_name=>'Novo Grupo'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'GRUPO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224887150647061515)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38224887354879061517)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:11:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224885942617061503)
  ,p_name=>'P111_GRUPO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_source=>'GRUPO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224886060761061504)
  ,p_name=>'P111_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224886144978061505)
  ,p_name=>'P111_PAGINAS'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38224885762262061501)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>unistr('P\00E1gina(s)')
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'0'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224887217088061516)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Salvar'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'DECLARE',
  '  v_grupo_id grupo.grupo_id%TYPE;',
  '  ',
  'BEGIN',
  '  INSERT INTO grupo (nome)',
  '  VALUES (:P111_NOME)',
  '  RETURNING grupo_id INTO v_grupo_id;',
  '',
  '  FOR pagina IN (SELECT * FROM TABLE (apex_string.split (:P111_PAGINAS, '':'')))',
  '  LOOP',
  '    INSERT INTO grupo_pagina (grupo_id, pagina_id)',
  '    VALUES (v_grupo_id, pagina.column_value);',
  '  END LOOP;',
  '',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('O grupo n\00E3o foi salvo!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O grupo foi salvo.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224885847010061502)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38224885762262061501)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_grupo_novo'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00112
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>112);
  end;
  /
  prompt --application/pages/page_00112
  begin
  wwv_flow_api.create_page(
   p_id=>112
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_grupo_editar'
  ,p_alias=>'GRUPO_EDITAR'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Editar Grupo'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P112_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130118'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233593025951007517)
  ,p_plug_name=>'Editar Grupo'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'GRUPO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233593541161007522)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233594375798007530)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_button_name=>'Remover'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:113:&SESSION.::&DEBUG.::P113_GRUPO_ID:&P112_GRUPO_ID.'
  ,p_button_css_classes=>'u-color-23'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38233593719757007524)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:11:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233593255975007519)
  ,p_name=>'P112_GRUPO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_source=>'GRUPO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233593314884007520)
  ,p_name=>'P112_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233593456926007521)
  ,p_name=>'P112_PAGINAS'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38233593025951007517)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>unistr('P\00E1gina(s)')
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT pagina_id',
  '  FROM grupo_pagina',
  ' WHERE grupo_id = :P112_GRUPO_ID;'))
  ,p_source_type=>'QUERY_COLON'
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'0'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233593665252007523)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Salvar'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  UPDATE grupo',
  '     SET nome = :P112_NOME',
  '   WHERE grupo_id = :P112_GRUPO_ID;',
  '  ',
  '  DELETE',
  '    FROM grupo_pagina',
  '   WHERE grupo_id = :P112_GRUPO_ID;',
  '',
  '  FOR pagina IN (SELECT * FROM TABLE (apex_string.split (:P112_PAGINAS, '':'')))',
  '  LOOP',
  '    INSERT INTO grupo_pagina (grupo_id, pagina_id)',
  '    VALUES (:P112_GRUPO_ID, pagina.column_value);',
  '  END LOOP;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('O grupo n\00E3o foi atualizado!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O grupo foi atualizado.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233593113502007518)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233593025951007517)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_grupo_editar'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00113
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>113);
  end;
  /
  prompt --application/pages/page_00113
  begin
  wwv_flow_api.create_page(
   p_id=>113
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_grupo_remover'
  ,p_alias=>'GRUPO_REMOVER'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Remover Grupo'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P113_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130146'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233593851513007525)
  ,p_plug_name=>'Remover Grupo'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'GRUPO'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233594478455007531)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_button_name=>'Remover'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-38'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233594573103007532)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_button_name=>'Cancelar'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Cancelar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:112:&SESSION.::&DEBUG.::P112_GRUPO_ID:&P113_GRUPO_ID.'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38233594745624007534)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:11:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233594087224007527)
  ,p_name=>'P113_GRUPO_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_source=>'GRUPO_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233594183055007528)
  ,p_name=>'P113_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233594270930007529)
  ,p_name=>'P113_PAGINAS'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38233593851513007525)
  ,p_use_cache_before_default=>'NO'
  ,p_prompt=>unistr('P\00E1gina(s)')
  ,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'SELECT pagina_id',
  '  FROM grupo_pagina',
  ' WHERE grupo_id = :P113_GRUPO_ID;'))
  ,p_source_type=>'QUERY_COLON'
  ,p_display_as=>'NATIVE_POPUP_LOV'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'POPUP'
  ,p_attribute_02=>'FIRST_ROWSET'
  ,p_attribute_03=>'Y'
  ,p_attribute_04=>'N'
  ,p_attribute_05=>'N'
  ,p_attribute_11=>':'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233594696291007533)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Remover'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  DELETE',
  '    FROM grupo_pagina',
  '   WHERE grupo_id = :P113_GRUPO_ID;',
  '  ',
  '  DELETE',
  '    FROM usuario_grupo',
  '   WHERE grupo_id = :P113_GRUPO_ID;',
  '  ',
  '  DELETE',
  '    FROM grupo',
  '   WHERE grupo_id = :P113_GRUPO_ID;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('O grupo n\00E3o foi removido!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O grupo foi removido.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233593920905007526)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233593851513007525)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_grupo_remover'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00121
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>121);
  end;
  /
  prompt --application/pages/page_00121
  begin
  wwv_flow_api.create_page(
   p_id=>121
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_pagina_nova'
  ,p_alias=>'PAGINA_NOVA'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Nova P\00E1gina')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P121_PAGINA_ID").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130159'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38224886345513061507)
  ,p_plug_name=>unistr('Nova P\00E1gina')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'PAGINA'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224886743216061511)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38224886345513061507)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BOTTOM'
  ,p_button_css_classes=>'u-color-4'
  ,p_database_action=>'INSERT'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38224887053825061514)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:12:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224886546230061509)
  ,p_name=>'P121_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_required=>true
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38224886345513061507)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224886345513061507)
  ,p_prompt=>unistr('N\00FAmero')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_colspan=>4
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224886664842061510)
  ,p_name=>'P121_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38224886345513061507)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224886345513061507)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224886999853061513)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_region_id=>wwv_flow_api.id(38224886345513061507)
  ,p_process_type=>'NATIVE_FORM_DML'
  ,p_process_name=>'Salvar'
  ,p_attribute_01=>'REGION_SOURCE'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'Y'
  ,p_attribute_08=>'Y'
  ,p_process_error_message=>unistr('A p\00E1gina n\00E3o foi salva!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>unistr('A p\00E1gina foi salva.')
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224886497442061508)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38224886345513061507)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_pagina_nova'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00122
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>122);
  end;
  /
  prompt --application/pages/page_00122
  begin
  wwv_flow_api.create_page(
   p_id=>122
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_pagina_editar'
  ,p_alias=>'PAGINA_EDITAR'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Editar P\00E1gina')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P122_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130225'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233591467566007501)
  ,p_plug_name=>unistr('Editar P\00E1gina')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'PAGINA'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233591840838007505)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  ,p_database_action=>'UPDATE'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233592580902007512)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_button_name=>'Remover'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:123:&SESSION.::&DEBUG.::P123_PAGINA_ID:&P122_PAGINA_ID.'
  ,p_button_css_classes=>'u-color-23'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38233592060649007507)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:12:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233591648814007503)
  ,p_name=>'P122_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_is_query_only=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_prompt=>unistr('N\00FAmero')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_colspan=>4
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233591738574007504)
  ,p_name=>'P122_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233591467566007501)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233591961559007506)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_region_id=>wwv_flow_api.id(38233591467566007501)
  ,p_process_type=>'NATIVE_FORM_DML'
  ,p_process_name=>'Salvar'
  ,p_attribute_01=>'REGION_SOURCE'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'Y'
  ,p_attribute_08=>'Y'
  ,p_process_error_message=>unistr('A p\00E1gina n\00E3o foi atualizada!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>unistr('A p\00E1gina foi atualizada.')
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233591594349007502)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233591467566007501)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_pagina_editar'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00123
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>123);
  end;
  /
  prompt --application/pages/page_00123
  begin
  wwv_flow_api.create_page(
   p_id=>123
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_pagina_remover'
  ,p_alias=>'PAGINA_REMOVER'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>unistr('Remover P\00E1gina')
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P123_NOME").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130245'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38233592135087007508)
  ,p_plug_name=>unistr('Remover P\00E1gina')
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'PAGINA'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233592653150007513)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_button_name=>'Remover'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-38'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38233592734735007514)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_button_name=>'Cancelar'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Cancelar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:122:&SESSION.::&DEBUG.::P122_PAGINA_ID:&P123_PAGINA_ID.'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38233592950231007516)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:12:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233592381799007510)
  ,p_name=>'P123_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_required=>true
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_prompt=>unistr('N\00FAmero')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_colspan=>4
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38233592404129007511)
  ,p_name=>'P123_NOME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_item_source_plug_id=>wwv_flow_api.id(38233592135087007508)
  ,p_prompt=>'Nome'
  ,p_source=>'NOME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>100
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233592897858007515)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Remover'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'BEGIN',
  '  FOR m IN (SELECT menu_id',
  '              FROM menu',
  '             WHERE pagina_id = :P123_PAGINA_ID)',
  '  LOOP',
  '    UPDATE menu',
  '       SET pagina_id = null',
  '     WHERE menu_id = m.menu_id;',
  '  END LOOP;',
  '  ',
  '  DELETE',
  '    FROM grupo_pagina',
  '   WHERE pagina_id = :P123_PAGINA_ID;',
  '  ',
  '  DELETE',
  '    FROM pagina',
  '   WHERE pagina_id = :P123_PAGINA_ID;',
  '  ',
  '  COMMIT;',
  'END;'))
  ,p_process_clob_language=>'PLSQL'
  ,p_process_error_message=>unistr('A p\00E1gina n\00E3o foi removida!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>unistr('A p\00E1gina foi removida.')
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38233592299076007509)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38233592135087007508)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_pagina_remover'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00131
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>131);
  end;
  /
  prompt --application/pages/page_00131
  begin
  wwv_flow_api.create_page(
   p_id=>131
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_menu_novo'
  ,p_alias=>'MENU_NOVO'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Novo Item de Menu'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P131_LABEL").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130302'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38224888421780061528)
  ,p_plug_name=>'Novo Item de Menu'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'MENU'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38224889605169061540)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  ,p_database_action=>'INSERT'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38224889836159061542)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:13:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224888640126061530)
  ,p_name=>'P131_MENU_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_is_query_only=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_source=>'MENU_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224888777870061531)
  ,p_name=>'P131_PARENT_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Pai'
  ,p_source=>'PARENT_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_MENU_ITENS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT menu_id AS return_value',
  '       , label AS display_value',
  '    FROM menu',
  'ORDER BY label;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhum -'
  ,p_lov_null_value=>'0'
  ,p_cHeight=>1
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224888888814061532)
  ,p_name=>'P131_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>unistr('P\00E1gina')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhuma -'
  ,p_cHeight=>1
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224888994852061533)
  ,p_name=>'P131_LABEL'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Legenda'
  ,p_source=>'LABEL'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>4
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889024242061534)
  ,p_name=>'P131_ORDEM'
  ,p_source_data_type=>'NUMBER'
  ,p_is_required=>true
  ,p_item_sequence=>50
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Ordem'
  ,p_source=>'ORDEM'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>2
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889167847061535)
  ,p_name=>'P131_IMAGE_REF'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>60
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Imagem'
  ,p_source=>'IMAGE_REF'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>255
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889242394061536)
  ,p_name=>'P131_IMAGE_ATTRIB'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>70
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Atributos da Imagem'
  ,p_source=>'IMAGE_ATTRIB'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889370468061537)
  ,p_name=>'P131_IMAGE_ALT'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>80
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>'Texto Alternativo'
  ,p_source=>'IMAGE_ALT'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889419586061538)
  ,p_name=>'P131_PARAM_NAME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>90
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>unistr('Nomes dos Par\00E2metros')
  ,p_source=>'PARAM_NAME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38224889552095061539)
  ,p_name=>'P131_PARAM_VALUE'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>100
  ,p_item_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_item_source_plug_id=>wwv_flow_api.id(38224888421780061528)
  ,p_prompt=>unistr('Valores dos Par\00E2metros')
  ,p_source=>'PARAM_VALUE'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224889707084061541)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_region_id=>wwv_flow_api.id(38224888421780061528)
  ,p_process_type=>'NATIVE_FORM_DML'
  ,p_process_name=>'Salvar'
  ,p_attribute_01=>'REGION_SOURCE'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'Y'
  ,p_attribute_08=>'Y'
  ,p_process_error_message=>unistr('O item de menu n\00E3o foi adicionado!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O item de menu foi adicionado.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38224888508223061529)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(38224888421780061528)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_menu_novo'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00132
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>132);
  end;
  /
  prompt --application/pages/page_00132
  begin
  wwv_flow_api.create_page(
   p_id=>132
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_menu_editar'
  ,p_alias=>'MENU_EDITAR'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Editar Item de Menu'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P132_LABEL").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130325'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(76476173554874927854)
  ,p_plug_name=>'Editar Item de Menu'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'MENU'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38251285767344866333)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_button_name=>'Salvar'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Salvar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-4'
  ,p_database_action=>'UPDATE'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38248853109387715706)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_button_name=>'Remover'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:133:&SESSION.::&DEBUG.::P133_MENU_ID:&P132_MENU_ID.'
  ,p_button_css_classes=>'u-color-23'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38251294021918866354)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:13:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251286167918866337)
  ,p_name=>'P132_MENU_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_source=>'MENU_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251286563183866338)
  ,p_name=>'P132_PARENT_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Pai'
  ,p_source=>'PARENT_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_MENU_ITENS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT menu_id AS return_value',
  '       , label AS display_value',
  '    FROM menu',
  'ORDER BY label;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhum -'
  ,p_lov_null_value=>'0'
  ,p_cHeight=>1
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251286933170866339)
  ,p_name=>'P132_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>unistr('P\00E1gina')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhuma -'
  ,p_cHeight=>1
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251287342446866339)
  ,p_name=>'P132_LABEL'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Legenda'
  ,p_source=>'LABEL'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>4
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251287750541866339)
  ,p_name=>'P132_ORDEM'
  ,p_source_data_type=>'NUMBER'
  ,p_is_required=>true
  ,p_item_sequence=>50
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Ordem'
  ,p_source=>'ORDEM'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>2
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251288194316866339)
  ,p_name=>'P132_IMAGE_REF'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>60
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Imagem'
  ,p_source=>'IMAGE_REF'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>255
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251288507632866340)
  ,p_name=>'P132_IMAGE_ATTRIB'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>70
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Atributos da Imagem'
  ,p_source=>'IMAGE_ATTRIB'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251288923157866340)
  ,p_name=>'P132_IMAGE_ALT'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>80
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>'Texto Alternativo'
  ,p_source=>'IMAGE_ALT'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251289375036866340)
  ,p_name=>'P132_PARAM_NAME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>90
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>unistr('Nomes dos Par\00E2metros')
  ,p_source=>'PARAM_NAME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251289705593866340)
  ,p_name=>'P132_PARAM_VALUE'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>100
  ,p_item_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_item_source_plug_id=>wwv_flow_api.id(76476173554874927854)
  ,p_prompt=>unistr('Valores dos Par\00E2metros')
  ,p_source=>'PARAM_VALUE'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38251293522742866344)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_region_id=>wwv_flow_api.id(76476173554874927854)
  ,p_process_type=>'NATIVE_FORM_DML'
  ,p_process_name=>'Salvar'
  ,p_attribute_01=>'REGION_SOURCE'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'Y'
  ,p_attribute_08=>'Y'
  ,p_process_error_message=>unistr('O item de menu n\00E3o foi atualizado!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O item de menu foi atualizado.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38251293129790866344)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(76476173554874927854)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_menu_novo'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_00133
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>133);
  end;
  /
  prompt --application/pages/page_00133
  begin
  wwv_flow_api.create_page(
   p_id=>133
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>'pg_menu_remover'
  ,p_alias=>'MENU_REMOVER'
  ,p_page_mode=>'MODAL'
  ,p_step_title=>'Remover Item de Menu'
  ,p_autocomplete_on_off=>'OFF'
  ,p_javascript_code_onload=>'jQuery("#P133_LABEL").focus();'
  ,p_step_template=>wwv_flow_api.id(38135339941365198842)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_required_role=>wwv_flow_api.id(38137761775886382934)
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211003130350'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(114727845167891780989)
  ,p_plug_name=>'Remover Item de Menu'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>10
  ,p_include_in_reg_disp_sel_yn=>'Y'
  ,p_plug_display_point=>'BODY'
  ,p_query_type=>'TABLE'
  ,p_query_table=>'MENU'
  ,p_include_rowid_column=>false
  ,p_is_editable=>false
  ,p_plug_source_type=>'NATIVE_FORM'
  ,p_plug_query_options=>'DERIVED_REPORT_COLUMNS'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38251672230966853148)
  ,p_button_sequence=>10
  ,p_button_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_button_name=>'Remover'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Remover'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_css_classes=>'u-color-38'
  ,p_database_action=>'DELETE'
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38248853027127715705)
  ,p_button_sequence=>20
  ,p_button_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_button_name=>'Cancelar'
  ,p_button_action=>'REDIRECT_PAGE'
  ,p_button_template_options=>'#DEFAULT#:t-Button--gapTop'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Cancelar'
  ,p_button_position=>'BELOW_BOX'
  ,p_button_alignment=>'LEFT'
  ,p_button_redirect_url=>'f?p=&APP_ID.:132:&SESSION.::&DEBUG.::P132_MENU_ID:&P133_MENU_ID.'
  );
  wwv_flow_api.create_page_branch(
   p_id=>wwv_flow_api.id(38251680598190853169)
  ,p_branch_name=>'Go to page'
  ,p_branch_action=>'f?p=&APP_ID.:13:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
  ,p_branch_point=>'AFTER_PROCESSING'
  ,p_branch_type=>'REDIRECT_URL'
  ,p_branch_sequence=>10
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251672652047853154)
  ,p_name=>'P133_MENU_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_is_primary_key=>true
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_source=>'MENU_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_HIDDEN'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251673019862853156)
  ,p_name=>'P133_PARENT_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Pai'
  ,p_source=>'PARENT_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_MENU_ITENS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT menu_id AS return_value',
  '       , label AS display_value',
  '    FROM menu',
  'ORDER BY label;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhum -'
  ,p_lov_null_value=>'0'
  ,p_cHeight=>1
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251673409266853156)
  ,p_name=>'P133_PAGINA_ID'
  ,p_source_data_type=>'NUMBER'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>unistr('P\00E1gina')
  ,p_source=>'PAGINA_ID'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_SELECT_LIST'
  ,p_named_lov=>'LOV_PAGINAS'
  ,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '  SELECT pagina_id AS return_value',
  '       , pagina_id || '' - '' || nome AS display_value',
  '    FROM pagina',
  'ORDER BY pagina_id;'))
  ,p_lov_display_null=>'YES'
  ,p_lov_null_text=>'- Nenhuma -'
  ,p_cHeight=>1
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_attribute_01=>'NONE'
  ,p_attribute_02=>'N'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251673874217853156)
  ,p_name=>'P133_LABEL'
  ,p_source_data_type=>'VARCHAR2'
  ,p_is_required=>true
  ,p_item_sequence=>40
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Legenda'
  ,p_source=>'LABEL'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>4
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251674274091853157)
  ,p_name=>'P133_ORDEM'
  ,p_source_data_type=>'NUMBER'
  ,p_is_required=>true
  ,p_item_sequence=>50
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Ordem'
  ,p_source=>'ORDEM'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_NUMBER_FIELD'
  ,p_cSize=>30
  ,p_begin_on_new_line=>'N'
  ,p_colspan=>2
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135746853186198902)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_03=>'right'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251674648078853157)
  ,p_name=>'P133_IMAGE_REF'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>60
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Imagem'
  ,p_source=>'IMAGE_REF'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>255
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251675030980853157)
  ,p_name=>'P133_IMAGE_ATTRIB'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>70
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Atributos da Imagem'
  ,p_source=>'IMAGE_ATTRIB'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251675426992853157)
  ,p_name=>'P133_IMAGE_ALT'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>80
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>'Texto Alternativo'
  ,p_source=>'IMAGE_ALT'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251675885896853158)
  ,p_name=>'P133_PARAM_NAME'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>90
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>unistr('Nomes dos Par\00E2metros')
  ,p_source=>'PARAM_NAME'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38251676282072853158)
  ,p_name=>'P133_PARAM_VALUE'
  ,p_source_data_type=>'VARCHAR2'
  ,p_item_sequence=>100
  ,p_item_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_item_source_plug_id=>wwv_flow_api.id(114727845167891780989)
  ,p_prompt=>unistr('Valores dos Par\00E2metros')
  ,p_source=>'PARAM_VALUE'
  ,p_source_type=>'REGION_SOURCE_COLUMN'
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>30
  ,p_cMaxlength=>1000
  ,p_begin_on_new_line=>'N'
  ,p_read_only_when_type=>'ALWAYS'
  ,p_field_template=>wwv_flow_api.id(38135745552562198901)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'BOTH'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38251680095457853163)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_region_id=>wwv_flow_api.id(114727845167891780989)
  ,p_process_type=>'NATIVE_FORM_DML'
  ,p_process_name=>'Remover'
  ,p_attribute_01=>'REGION_SOURCE'
  ,p_attribute_05=>'Y'
  ,p_attribute_06=>'Y'
  ,p_attribute_08=>'Y'
  ,p_process_error_message=>unistr('O item de menu n\00E3o foi removido!')
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  ,p_process_success_message=>'O item de menu foi removido.'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38251679620105853163)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_region_id=>wwv_flow_api.id(114727845167891780989)
  ,p_process_type=>'NATIVE_FORM_INIT'
  ,p_process_name=>'Inicializar o form pg_menu_novo'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  end;
  /
  prompt --application/pages/delete_09999
  begin
  wwv_flow_api.remove_page (p_flow_id=>wwv_flow.g_flow_id, p_page_id=>9999);
  end;
  /
  prompt --application/pages/page_09999
  begin
  wwv_flow_api.create_page(
   p_id=>9999
  ,p_user_interface_id=>wwv_flow_api.id(38135772577540198928)
  ,p_name=>unistr('P\00E1gina de Log-in')
  ,p_alias=>'LOGIN'
  ,p_step_title=>'Basico - Acessar'
  ,p_warn_on_unsaved_changes=>'N'
  ,p_first_item=>'AUTO_FIRST_ITEM'
  ,p_autocomplete_on_off=>'OFF'
  ,p_step_template=>wwv_flow_api.id(38135332092851198837)
  ,p_page_template_options=>'#DEFAULT#'
  ,p_page_is_public_y_n=>'Y'
  ,p_last_updated_by=>'DANIEL@MAIL.COM'
  ,p_last_upd_yyyymmddhh24miss=>'20211002122854'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38135776614540198961)
  ,p_plug_name=>'Basico'
  ,p_icon_css_classes=>'app-icon'
  ,p_region_template_options=>'#DEFAULT#'
  ,p_plug_template=>wwv_flow_api.id(38135381685078198864)
  ,p_plug_display_sequence=>10
  ,p_plug_display_point=>'BODY'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'TEXT'
  ,p_attribute_03=>'Y'
  );
  wwv_flow_api.create_page_plug(
   p_id=>wwv_flow_api.id(38135781331349198973)
  ,p_plug_name=>'Seletor de Idioma'
  ,p_parent_plug_id=>wwv_flow_api.id(38135776614540198961)
  ,p_region_template_options=>'#DEFAULT#'
  ,p_component_template_options=>'#DEFAULT#'
  ,p_escape_on_http_output=>'Y'
  ,p_plug_template=>wwv_flow_api.id(38135351981225198851)
  ,p_plug_display_sequence=>20
  ,p_plug_display_point=>'BODY'
  ,p_plug_source=>'apex_lang.emit_language_selector_list;'
  ,p_plug_source_type=>'NATIVE_PLSQL'
  ,p_plug_query_num_rows=>15
  );
  wwv_flow_api.create_page_button(
   p_id=>wwv_flow_api.id(38135779407158198970)
  ,p_button_sequence=>40
  ,p_button_plug_id=>wwv_flow_api.id(38135776614540198961)
  ,p_button_name=>'LOGIN'
  ,p_button_action=>'SUBMIT'
  ,p_button_template_options=>'#DEFAULT#'
  ,p_button_template_id=>wwv_flow_api.id(38135748027198198903)
  ,p_button_is_hot=>'Y'
  ,p_button_image_alt=>'Acessar'
  ,p_button_position=>'REGION_TEMPLATE_NEXT'
  ,p_button_alignment=>'LEFT'
  ,p_grid_new_row=>'Y'
  ,p_grid_new_column=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38135777020164198963)
  ,p_name=>'P9999_USERNAME'
  ,p_item_sequence=>10
  ,p_item_plug_id=>wwv_flow_api.id(38135776614540198961)
  ,p_prompt=>unistr('Nome do Usu\00E1rio')
  ,p_placeholder=>unistr('Nome do Usu\00E1rio')
  ,p_display_as=>'NATIVE_TEXT_FIELD'
  ,p_cSize=>40
  ,p_cMaxlength=>100
  ,p_label_alignment=>'RIGHT'
  ,p_field_template=>wwv_flow_api.id(38135745235213198900)
  ,p_item_icon_css_classes=>'fa-user'
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'N'
  ,p_attribute_02=>'N'
  ,p_attribute_03=>'N'
  ,p_attribute_04=>'TEXT'
  ,p_attribute_05=>'NONE'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38135777439977198964)
  ,p_name=>'P9999_PASSWORD'
  ,p_item_sequence=>20
  ,p_item_plug_id=>wwv_flow_api.id(38135776614540198961)
  ,p_prompt=>'Senha'
  ,p_placeholder=>'Senha'
  ,p_display_as=>'NATIVE_PASSWORD'
  ,p_cSize=>40
  ,p_cMaxlength=>100
  ,p_label_alignment=>'RIGHT'
  ,p_field_template=>wwv_flow_api.id(38135745235213198900)
  ,p_item_icon_css_classes=>'fa-key'
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_attribute_01=>'Y'
  );
  wwv_flow_api.create_page_item(
   p_id=>wwv_flow_api.id(38135778587920198967)
  ,p_name=>'P9999_REMEMBER'
  ,p_item_sequence=>30
  ,p_item_plug_id=>wwv_flow_api.id(38135776614540198961)
  ,p_prompt=>unistr('Lembrar nome do usu\00E1rio')
  ,p_display_as=>'NATIVE_CHECKBOX'
  ,p_named_lov=>'LOGIN_REMEMBER_USERNAME'
  ,p_lov=>'.'||wwv_flow_api.id(38135777736480198964)||'.'
  ,p_label_alignment=>'RIGHT'
  ,p_display_when=>'apex_authentication.persistent_cookies_enabled'
  ,p_display_when2=>'PLSQL'
  ,p_display_when_type=>'EXPRESSION'
  ,p_field_template=>wwv_flow_api.id(38135745235213198900)
  ,p_item_template_options=>'#DEFAULT#'
  ,p_is_persistent=>'N'
  ,p_lov_display_extra=>'NO'
  ,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<p>',
  unistr('Se voc\00EA marcar esta caixa de sele\00E7\00E3o, o aplicativo salvar\00E1 seu nome de usu\00E1rio em um cookie de browser persistente chamado "LOGIN_USERNAME_COOKIE".'),
  unistr('Quando voc\00EA for at\00E9 a p\00E1gina de log-in na pr\00F3xima vez, '),
  unistr('o campo de nome do usu\00E1rio ser\00E1 preenchido automaticamente com esse valor.'),
  '</p>',
  '<p>',
  unistr('Se voc\00EA desmarcar esta caixa de sele\00E7\00E3o e o seu nome de usu\00E1rio j\00E1 estiver salvo no cookie,'),
  unistr('o aplicativo o substituir\00E1 por um valor vazio.'),
  unistr('Voc\00EA tamb\00E9m pode usar as ferramentas de desenvolvedor do seu browser para remover completamente o cookie.'),
  '</p>'))
  ,p_attribute_01=>'1'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38135780274944198972)
  ,p_process_sequence=>10
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>unistr('Definir Cookie de Nome do Usu\00E1rio')
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'apex_authentication.send_login_username_cookie (',
  '    p_username => lower(:P9999_USERNAME),',
  '    p_consent  => :P9999_REMEMBER = ''Y'' );'))
  ,p_process_clob_language=>'PLSQL'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38135779847831198971)
  ,p_process_sequence=>20
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>'Login'
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'apex_authentication.login(',
  '    p_username => :P9999_USERNAME,',
  '    p_password => :P9999_PASSWORD );'))
  ,p_process_clob_language=>'PLSQL'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38135781089396198972)
  ,p_process_sequence=>30
  ,p_process_point=>'AFTER_SUBMIT'
  ,p_process_type=>'NATIVE_SESSION_STATE'
  ,p_process_name=>unistr('Limpar Cache de P\00E1gina(s)')
  ,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE'
  ,p_error_display_location=>'INLINE_IN_NOTIFICATION'
  );
  wwv_flow_api.create_page_process(
   p_id=>wwv_flow_api.id(38135780645712198972)
  ,p_process_sequence=>10
  ,p_process_point=>'BEFORE_HEADER'
  ,p_process_type=>'NATIVE_PLSQL'
  ,p_process_name=>unistr('Obter Cookie de Nome do Usu\00E1rio')
  ,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
  ':P9999_USERNAME := apex_authentication.get_login_username_cookie;',
  ':P9999_REMEMBER := case when :P9999_USERNAME is not null then ''Y'' end;'))
  ,p_process_clob_language=>'PLSQL'
  );
  end;
  /
  prompt --application/end_environment
  begin
  wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false));
  --commit;
  end;
  /
  set verify on feedback on define on
  prompt  ...done
  