text: 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_050100 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=>'2016.08.24'
  ,p_release=>'5.1.0.00.45'
  ,p_default_workspace_id=>1826901577598318
  ,p_default_application_id=>64000
  ,p_default_owner=>'T0'
  );
  end;
  /
  prompt --application/themes/3
  begin
      wwv_flow.g_flow_theme_id := 3;
  null;
  end;
  /
   
  --
  prompt  ...theme : 3
  --
  prompt  ...remove existing theme ...
  begin
   wwv_flow_api.delete_theme(p_flow_id=> wwv_flow.g_flow_id , p_theme_id=>wwv_flow.g_flow_theme_id ,p_import=>'Y');
  null;
  end;
  /
  prompt --application/shared_components/user_interface/templates/page
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(18276429861057351)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 4.2 - Page Edit Page (4150)'
  ,p_internal_name=>'APEX_4.2_PAGE_EDIT_PAGE_4150'
  ,p_is_popup=>false
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#HEAD#',
  '</head>',
  '<body class="#PAGE_CSS_CLASSES#" #ONLOAD#>',
  '<!--[if lte IE 8]><div id="outdated-browser">#OUTDATED_BROWSER#</div><![endif]-->',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#',
  '<a name="PAGETOP"></a>'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_08#',
  '',
  '',
  '<div id="htmldbMessageHolder"><a name="SkipRepNav"></a>#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#</div>',
  '<div class="htmldbBodyMargin">',
  '  <div id="ContentBody">',
  '    #REGION_POSITION_02##REGION_POSITION_01#',
  '    <table border="0" cellpadding="0" cellspacing="0" summary="" width="100%" id="body4150">',
  '      <tbody>',
  '        <tr>',
  '          <td valign="top" style="width:44%;" class="comp-view-col-cell">',
  '            <div class="comp-view-col">',
  '              #REGION_POSITION_03#',
  '            </div>',
  '          </td>',
  '          <td valign="top" style="width:28%;" class="comp-view-col-cell">',
  '            <div class="comp-view-col">',
  '            #REGION_POSITION_04#',
  '            </div>',
  '          </td>',
  '          <td valign="top" style="width:28%;" class="comp-view-col-cell">',
  '            <div class="comp-view-col">',
  '            #REGION_POSITION_05#',
  '            </div>',
  '          </td>',
  '        </tr>',
  '      </tbody>',
  '    </table>',
  '    #BODY#',
  '  </div>',
  '</div>',
  '',
  ''))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="apex-footer-info">',
  '  <div style="float:right;">#FLOW_VERSION#</div>',
  '  <div style="float:right;">#CUSTOMIZE#</div>',
  '</div>',
  '<div id="apex-footer">',
  '   <div class="content">',
  '     <div style="float:left;">&MSG_COMPANY.&nbsp;&MSG_USER.:&nbsp;&USER.</div>',
  '     <div style="float:right;">&MSG_LANGUAGE.:&nbsp;&BROWSER_LANGUAGE.&nbsp;|&nbsp;&MSG_COPYRIGHT.</div>',
  '   </div>',
  '</div>',
  '#FORM_CLOSE# <a name="END"><br />',
  '</a>',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aNotification success" id="MESSAGE" role="alert">',
  '  <div class="aNotificationText">',
  '    <h2 class="visuallyhidden">#SUCCESS_MESSAGE_HEADING#</h2>',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium success"/>',
  '    <p>#SUCCESS_MESSAGE#</p>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aNotification warning" id="MESSAGE" role="alert">',
  '  <div class="aNotificationText">',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium warning"/>',
  '    <div class="warningMessage">',
  '      <h2 class="visuallyhidden">#ERROR_MESSAGE_HEADING#</h2>',
  '      #MESSAGE#',
  '    </div>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<br />',
  '<br />',
  '<pre>#MESSAGE#</pre>',
  '<a href="#BACK_LINK#">#RETURN_TO_APPLICATION#</a>'))
  ,p_grid_type=>'TABLE'
  ,p_grid_always_use_max_columns=>false
  ,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_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>16407516425591353
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(21806022539376787)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'Popup Info'
  ,p_internal_name=>'POPUP_INFO'
  ,p_is_popup=>false
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '<title>#TITLE#</title><link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">#APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT#',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#HEAD#',
  '</head><body #ONLOAD# style="padding:5px;min-width:380px;"><noscript>&MSG_JSCRIPT.</noscript>#FORM_OPEN#<a name="PAGETOP"></a>'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="htmldbMessageHolder">#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#</div>',
  '<div>',
  '  <div id="RP2">#REGION_POSITION_02#</div>',
  '  <div id="RP3">#REGION_POSITION_03#</div>',
  '  <div id="RP4">#REGION_POSITION_04#</div>',
  '  <div id="RP5">#REGION_POSITION_05#</div>',
  '  <div class="popupContent" id="ContentArea">#BODY#</div>',
  '</div>',
  '<div id="RP8" style="text-align:middle;">#REGION_POSITION_08#</div>',
  '<br />',
  '<br />',
  ''))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aNotification success" id="MESSAGE" role="alert">',
  '  <div class="aNotificationText">',
  '    <h2 class="visuallyhidden">#SUCCESS_MESSAGE_HEADING#</h2>',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium success"/>',
  '    <p>#SUCCESS_MESSAGE#</p>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aNotification warning" id="MESSAGE" role="alert">',
  '  <div class="aNotificationText">',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium warning"/>',
  '    <div class="warningMessage">',
  '      <h2 class="visuallyhidden">#ERROR_MESSAGE_HEADING#</h2>',
  '      #MESSAGE#',
  '    </div>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_theme_class_id=>4
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<br />',
  '<br />',
  '<pre>#MESSAGE#</pre>',
  '<a href="#BACK_LINK#">#RETURN_TO_APPLICATION#</a>'))
  ,p_grid_type=>'TABLE'
  ,p_grid_always_use_max_columns=>false
  ,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_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>36144306570651063
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(122734034852239672)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Dialog'
  ,p_internal_name=>'APEX_5.0_DIALOG'
  ,p_is_popup=>true
  ,p_javascript_code_onload=>'apex.builder.initWizardModal();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '<meta charset="UTF-8" />',
  '<title>#TITLE#</title>',
  '<link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '',
  '#APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT# ',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#HEAD#',
  '</head>',
  '<body class="a-Dialog-page #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #ONLOAD#>',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Dialog" role="dialog" aria-label="#TITLE#">',
  '  <div class="a-Dialog-wrap">',
  '    <div class=" a-Dialog-wizardSteps">',
  '      #REGION_POSITION_01#',
  '    </div>',
  '    <div class="a-Dialog-body">',
  '      #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '      #BODY#',
  '    </div>',
  '    <div class="a-Dialog-footer">',
  '      #REGION_POSITION_03#',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--success a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--dialog" id="page_success_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#SUCCESS_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #SUCCESS_MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_success_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--warning a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--dialog" id="page_warning_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#ERROR_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_warning_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%'
  ,p_theme_class_id=>4
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<br />',
  '<br />',
  '<pre>#MESSAGE#</pre>',
  '<a href="#BACK_LINK#">#RETURN_TO_APPLICATION#</a>'))
  ,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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '    <div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>        '))
  ,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_height=>'480'
  ,p_dialog_width=>'800'
  ,p_dialog_max_width=>'1200'
  ,p_dialog_css_classes=>'a-Dialog--uiDialog'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>120828417372192930
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(386573911702394535)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Page Designer'
  ,p_internal_name=>'APEX_5.0_PAGE_DESIGNER'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'if ( apex.jQuery( "#successMessage" ).length > 0 ) {',
  '    window.pageDesigner.showNotification( apex.jQuery( "#successMessage" ).text() );',
  '}'))
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#HEAD#',
  '</head>',
  '<body #ONLOAD# class="#PAGE_CSS_CLASSES#">',
  '<!--[if lte IE 8]><div id="outdated-browser">#OUTDATED_BROWSER#</div><![endif]-->',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#',
  ''))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_01#',
  '<div class="a-AlertMessages a-AlertMessages--page" role="alert" style="display: none;" id="pdNotification">',
  ' <div class="a-AlertMessages-item">',
  '  <div id="pdNotificationState" class="a-MediaBlock a-AlertMessages-message is-success">',
  '    <div class="a-MediaBlock-graphic">',
  '      <span id="pdNotificationIcon" class="a-Icon a-Icon--medium icon-check"></span> ',
  '    </div>',
  '    <div class="a-MediaBlock-content">',
  '      <h5 class="a-AlertMessages-messageTitle" id="pdNotificationMessage">#PD_MESSAGE#</h5>',
  '      <button id="pdNotificationClose" class="a-Button a-Button--small a-Button--noUI a-Button--noLabel a-Button--withIcon a-Button--alertMessages" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  ' </div>',
  '</div>',
  '#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '',
  '',
  '<div id="a_PageDesigner" class="a-PageDesigner resize">',
  '  #REGION_POSITION_02#',
  '  #REGION_POSITION_03#',
  '  #REGION_POSITION_04#',
  '  #BODY#',
  '  <div style="display:none;">',
  '  #REGION_POSITION_06#',
  '  </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="aNotification success" id="MESSAGE">',
  '  <div class="aNotificationText">',
  '    <h2 class="visuallyhidden">#SUCCESS_MESSAGE_HEADING#</h2>',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium success"/>',
  '    <p>#SUCCESS_MESSAGE#</p>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>-->',
  '<div style="display: none;" id="successMessage">#SUCCESS_MESSAGE#</div>',
  ''))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aNotification warning" id="MESSAGE" role="alert">',
  '  <div class="aNotificationText">',
  '    <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" class="iconMedium warning"/>',
  '    <div class="warningMessage">',
  '      <h2 class="visuallyhidden">#ERROR_MESSAGE_HEADING#</h2>',
  '      #MESSAGE#',
  '    </div>',
  '    <a href="#" class="closeMessage" onclick="$x_Remove(''MESSAGE'');return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#CLOSE_NOTIFICATION#" class="iconSmall close"/></a>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<br />',
  '<br />',
  '<pre>#MESSAGE#</pre>',
  '<a href="#BACK_LINK#">#RETURN_TO_APPLICATION#</a>'))
  ,p_grid_type=>'TABLE'
  ,p_grid_always_use_max_columns=>false
  ,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_dialog_browser_frame=>'MODAL'
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(386574148032394540)
  ,p_page_template_id=>wwv_flow_api.id(386573911702394535)
  ,p_name=>'Dialog Area'
  ,p_placeholder=>'REGION_POSITION_06'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  ,p_max_fixed_grid_columns=>-1
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(388540025238259037)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Right Side Bar'
  ,p_internal_name=>'APEX_5.0_RIGHT_SIDE_BAR'
  ,p_is_popup=>false
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT#',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#HEAD#',
  '    ',
  '</head>',
  '<body #ONLOAD#>',
  '<!--[if lte IE 8]><div id="outdated-browser">#OUTDATED_BROWSER#</div><![endif]-->',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_08#',
  '#REGION_POSITION_01#',
  '#REGION_POSITION_02#',
  '  <div class="a-Body">',
  '    <main class="a-Main">',
  '        #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '        #BODY#',
  '    </main>',
  '    <aside class="a-Side">',
  '        #REGION_POSITION_03#',
  '    </aside>',
  '  </div>',
  '#REGION_POSITION_04#'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<footer class="a-Footer">',
  '  <div class="a-Footer-info">',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-user" title="&MSG_USER."></span>',
  '      <span class="u-VisuallyHidden">&MSG_USER.</span>',
  '      &USER.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-workspace" title="&MSG_WORKSPACE."></span>',
  '      <span class="u-VisuallyHidden">&MSG_WORKSPACE.</span>',
  '      &COMPANY.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-language" title="&MSG_LANGUAGE."></span>',
  '      &BROWSER_LANGUAGE.',
  '    </span>',
  '  </div>',
  '  <div class="a-Footer-copyright">&MSG_COPYRIGHT.</div>',
  '  <div class="a-Footer-version">#FLOW_VERSION#</div>',
  '</footer>',
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--success a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_success_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#SUCCESS_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #SUCCESS_MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_success_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--warning a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_warning_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#ERROR_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_warning_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>'))
  ,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=>386895861966224222
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(972561369582753838)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(972561799112753839)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Page Header (Position 3)'
  ,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(972562194883753839)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Page Header (Position 4)'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(972562587760753839)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Right Side Bar'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(972562959731753839)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'After Body'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(972563341945753841)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Page Header (Position 1)'
  ,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(972563783607753841)
  ,p_page_template_id=>wwv_flow_api.id(388540025238259037)
  ,p_name=>'Page Header (Position 2)'
  ,p_placeholder=>'REGION_POSITION_08'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(690928124497379797)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Wizard Dialog'
  ,p_internal_name=>'APEX_5.0_WIZARD_DIALOG'
  ,p_is_popup=>true
  ,p_javascript_code_onload=>wwv_flow_string.join(wwv_flow_t_varchar2(
  'apex.builder.initWizardModal();',
  'apex.builder.initWizardProgressBar();'))
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!DOCTYPE html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7]><html class="no-js lt-ie10 lt-ie9 lt-ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8]><html class="no-js lt-ie10 lt-ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9]><html class="no-js lt-ie10" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if gt IE 9]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '',
  '<head>',
  '',
  '  <meta charset="utf-8">  ',
  '  <title>#TITLE#</title>',
  '  #APEX_CSS#',
  '  #THEME_CSS#',
  '#TEMPLATE_CSS#',
  '  #THEME_STYLE_CSS#',
  '  #APPLICATION_CSS#',
  '#PAGE_CSS#',
  '',
  '    ',
  '#APEX_JAVASCRIPT# ',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '    ',
  '    ',
  '  #HEAD#',
  '  <meta name="viewport" content="width=device-width,initial-scale=1" />',
  '</head>',
  '<body class="a-Dialog-page #DIALOG_CSS_CLASSES# #PAGE_CSS_CLASSES#" #ONLOAD#>',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Dialog a-Dialog--wizard">',
  '  <div class="a-Dialog-wrap">',
  '    <div class=" a-Dialog-wizardSteps">',
  '      #REGION_POSITION_01#',
  '    </div>',
  '    <div class="a-Dialog-body">',
  '      #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '      #BODY#',
  '    </div>',
  '    <div class="a-Dialog-footer">',
  '      #REGION_POSITION_03#',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#GENERATED_JAVASCRIPT#',
  '</body>',
  '</html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--success a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--dialog" id="page_success_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#SUCCESS_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #SUCCESS_MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_success_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--warning a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--dialog" id="page_warning_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#ERROR_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_warning_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="0" width="100%'
  ,p_theme_class_id=>4
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<br />',
  '<br />',
  '<pre>#MESSAGE#</pre>',
  '<a href="#BACK_LINK#">#RETURN_TO_APPLICATION#</a>'))
  ,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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '    <div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>        '))
  ,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_height=>'480'
  ,p_dialog_width=>'800'
  ,p_dialog_max_width=>'1200'
  ,p_dialog_css_classes=>'a-Dialog--wizard'
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>689061037088924910
  ,p_translate_this_template=>'N'
  );
  end;
  /
  begin
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(691468715946379824)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Edit Screen'
  ,p_internal_name=>'APEX_5.0_EDIT_SCREEN'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.builder.initStickyHeader(''a_EditScreen_header'');'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 8 ]> <html class="lt-ie9 lt-ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT# ',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#HEAD#',
  '</head>',
  '<body #ONLOAD#>',
  '<!--[if lte IE 7]><div id="outdated-browser">#OUTDATED_BROWSER#</div><![endif]-->',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_08#',
  '#REGION_POSITION_01#',
  '  <div class="a-Body">',
  '    <main class="a-Main">',
  '      #REGION_POSITION_02#',
  '      <div class="a-EditScreen">',
  '        <div class="a-EditScreen-header" id="a_EditScreen_header">',
  '          #SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '          #REGION_POSITION_04#',
  '        </div>',
  '        <div class="a-EditScreen-body">',
  '          #BODY#',
  '        </div>',
  '      </div>',
  '    </main>',
  '    <aside class="a-Side">',
  '        #REGION_POSITION_03#',
  '        #REGION_POSITION_05#',
  '    </aside>',
  '  </div>'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<footer class="a-Footer">',
  '  <div class="a-Footer-info">',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-user" title="&MSG_USER."></span>',
  '      <span class="u-VisuallyHidden">&MSG_USER.</span>',
  '      &USER.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-workspace" title="&MSG_WORKSPACE."></span>',
  '      <span class="u-VisuallyHidden">&MSG_WORKSPACE.</span>',
  '      &COMPANY.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-language" title="&MSG_LANGUAGE."></span>',
  '      &BROWSER_LANGUAGE.',
  '    </span>',
  '  </div>',
  '  <div class="a-Footer-copyright">&MSG_COPYRIGHT.</div>',
  '  <div class="a-Footer-version">#FLOW_VERSION#</div>',
  '</footer>',
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--success a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_success_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#SUCCESS_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #SUCCESS_MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_success_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--warning a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_warning_msg" role="alert">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#ERROR_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_warning_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_sidebar_def_reg_pos=>'REGION_POSITION_03'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>'))
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>689595297061847770
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(748984908330481767)
  ,p_page_template_id=>wwv_flow_api.id(691468715946379824)
  ,p_name=>'Right Side Bar'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(748985251684481767)
  ,p_page_template_id=>wwv_flow_api.id(691468715946379824)
  ,p_name=>'Edit Screen Header'
  ,p_placeholder=>'REGION_POSITION_04'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(700537599535519861)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - No Side Bar'
  ,p_internal_name=>'APEX_5.0_NO_SIDE_BAR'
  ,p_is_popup=>false
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT# ',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#HEAD#',
  '</head>',
  '<body #ONLOAD#>',
  '<!--[if lte IE 8]><div id="outdated-browser">#OUTDATED_BROWSER#</div><![endif]-->',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_08#',
  '#REGION_POSITION_01#',
  '#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '#REGION_POSITION_02#',
  '#REGION_POSITION_03#',
  '  <div class="a-Body">',
  '    <main class="a-Main">',
  '        #BODY#',
  '    </main>',
  '  </div>',
  '#REGION_POSITION_04#'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<footer class="a-Footer">',
  '  <div class="a-Footer-info">',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-user" title="&MSG_USER."></span>',
  '      <span class="u-VisuallyHidden">&MSG_USER.</span>',
  '      &USER.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-workspace" title="&MSG_WORKSPACE."></span>',
  '      <span class="u-VisuallyHidden">&MSG_WORKSPACE.</span>',
  '      &COMPANY.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-language" title="&MSG_LANGUAGE."></span>',
  '      &BROWSER_LANGUAGE.',
  '    </span>',
  '  </div>',
  '  <div class="a-Footer-copyright">&MSG_COPYRIGHT.</div>',
  '  <div class="a-Footer-version">#FLOW_VERSION#</div>',
  '</footer>',
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--success a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_success_msg">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#SUCCESS_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #SUCCESS_MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_success_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--warning a-Alert--horizontal a-Alert--defaultIcons a-Alert--colorBG a-Alert--page" id="page_warning_msg">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#ERROR_MESSAGE_HEADING#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #MESSAGE#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI" onclick="$x_Remove(''page_warning_msg'');" value="#CLOSE_NOTIFICATION#" type="button" title="#CLOSE_NOTIFICATION#"><span class="a-Icon icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--danger a-Alert--wizard a-Alert--defaultIcons">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon #ICON_CSS_CLASSES#"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#MESSAGE#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #ADDITIONAL_INFO#',
  '        #TECHNICAL_INFO#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--large a-Button--hot" onclick="#BACK_LINK#" type="button">#RETURN_TO_APPLICATION#</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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>'))
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>637437892049443496
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_template(
   p_id=>wwv_flow_api.id(704551089958461817)
  , p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'APEX 5.0 - Wizard'
  ,p_internal_name=>'APEX_5.0_WIZARD'
  ,p_is_popup=>false
  ,p_javascript_code_onload=>'apex.builder.initWizardProgressBar();'
  ,p_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<!--[if HTML5]><![endif]-->',
  '<!doctype html>',
  '<meta http-equiv="x-ua-compatible" content="IE=edge" />',
  '<!--[if lt IE 7 ]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 7 ]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 8 ]>    <html class="no-js lt-ie9 ie8" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if IE 9 ]>    <html class="no-js ie9" lang="&BROWSER_LANGUAGE."> <![endif]-->',
  '<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js" lang="&BROWSER_LANGUAGE."> <!--<![endif]-->',
  '<head>',
  '',
  '  <meta charset="UTF-8" />',
  '  <title>#TITLE#</title>',
  '  <link rel="shortcut icon" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon.ico">',
  '<link rel="icon" sizes="16x16" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-16x16.png">',
  '<link rel="icon" sizes="32x32" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-32x32.png">',
  '<link rel="apple-touch-icon" sizes="180x180" href="#IMAGE_PREFIX#apex_ui/img/favicons/favicon-180x180.png">',
  '  ',
  '  #APEX_CSS#',
  '#THEME_CSS#',
  '#TEMPLATE_CSS#',
  '#THEME_STYLE_CSS#',
  '#APPLICATION_CSS#',
  '#PAGE_CSS#',
  '#APEX_JAVASCRIPT# ',
  '<!--[if lt IE 9]><script src="#IMAGE_PREFIX#libraries/apex/html5_ie.js"></script><![endif]-->',
  '#THEME_JAVASCRIPT#',
  '#TEMPLATE_JAVASCRIPT#',
  '#HEAD#',
  '</head>',
  '<body class="a-Page--wizard #PAGE_CSS_CLASSES#" #ONLOAD#>',
  '<noscript>&MSG_JSCRIPT.</noscript>',
  '#FORM_OPEN#'))
  ,p_box=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#REGION_POSITION_07#',
  '#REGION_POSITION_08#',
  '#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##GLOBAL_NOTIFICATION#',
  '<div class="u-Layout u-Layout--centerVertically">',
  '  <div class="a-Wizard a-Wizard--default">',
  '    #REGION_POSITION_02#',
  '    <div class="a-Wizard-controls">#REGION_POSITION_01#</div>',
  '    <div class="a-Wizard-body">#BODY#</div>',
  '    <div class="a-Wizard-buttons">#REGION_POSITION_03#</div>',
  '  </div>',
  '</div>',
  '#REGION_POSITION_04#'))
  ,p_footer_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<footer class="a-Footer">',
  '  <div class="a-Footer-info">',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-user" title="&MSG_USER."></span>',
  '      <span class="u-VisuallyHidden">&MSG_USER.</span>',
  '      &USER.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-workspace" title="&MSG_WORKSPACE."></span>',
  '      <span class="u-VisuallyHidden">&MSG_WORKSPACE.</span>',
  '      &COMPANY.',
  '    </span>',
  '    <span class="a-Footer-attribute">',
  '      <span class="a-Icon icon-language" title="&MSG_LANGUAGE."></span>',
  '      &BROWSER_LANGUAGE.',
  '    </span>',
  '  </div>',
  '  <div class="a-Footer-copyright">&MSG_COPYRIGHT.</div>',
  '  <div class="a-Footer-version">#FLOW_VERSION#</div>',
  '</footer>',
  '#FORM_CLOSE#',
  '#DEVELOPER_TOOLBAR#',
  '#GENERATED_CSS#',
  '#APPLICATION_JAVASCRIPT#',
  '#PAGE_JAVASCRIPT#',
  '#GENERATED_JAVASCRIPT#',
  '</body></html>'))
  ,p_success_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-AlertMessages a-AlertMessages--page" role="alert" id="sucessMsg">',
  ' <div class="a-AlertMessages-item">',
  '  <div class="a-MediaBlock a-AlertMessages-message is-success">',
  '    <div class="a-MediaBlock-graphic">',
  '      <span class="a-Icon a-Icon--medium icon-check"></span> ',
  '    </div>',
  '    <div class="a-MediaBlock-content">',
  '      <h5 class="a-AlertMessages-messageTitle" id="sucessMsg-Message">#SUCCESS_MESSAGE#</h5>',
  '      <button id="sucessMsg-Close" class="a-Button a-Button--small a-Button--noUI a-Button--noLabel a-Button--withIcon a-Button--alertMessages" type="button" title="#CLOSE_NOTIFICATION#" onclick="$x_Remove(''sucessMsg'');return false;"><span class="a-I'
  ||'con icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  ' </div>',
  '</div>'))
  ,p_notification_message=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-AlertMessages a-AlertMessages--page" role="alert" id="errorMsg">',
  ' <div class="a-AlertMessages-item">',
  '  <div class="a-MediaBlock a-AlertMessages-message is-error">',
  '    <div class="a-MediaBlock-graphic">',
  '      <span class="a-Icon a-Icon--medium icon-remove"></span> ',
  '    </div>',
  '    <div class="a-MediaBlock-content">',
  '      <h5 class="a-AlertMessages-messageTitle" id="errorMsg-Message">#MESSAGE#</h5>',
  '      <button id="errorMsg-Close" class="a-Button a-Button--small a-Button--noUI a-Button--noLabel a-Button--withIcon a-Button--alertMessages" type="button" title="#CLOSE_NOTIFICATION#" onclick="$x_Remove(''errorMsg'');return false;"><span class="a-Ico'
  ||'n icon-remove"></span></button>',
  '    </div>',
  '  </div>',
  ' </div>',
  '</div>'))
  ,p_navigation_bar=>'#BAR_BODY#'
  ,p_navbar_entry=>'<a href="#LINK#" class="htmldbNavLink">#TEXT#</a>'
  ,p_region_table_cattributes=>' summary="" cellpadding="0" border="0" cellspacing="2" width="100%"'
  ,p_sidebar_def_reg_pos=>'BODY_3'
  ,p_breadcrumb_def_reg_pos=>'REGION_POSITION_08'
  ,p_theme_class_id=>1
  ,p_error_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert a-Alert--danger a-Alert--wizard a-Alert--defaultIcons">',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon #ICON_CSS_CLASSES#"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        <h2 class="a-Alert-subTitle">#MESSAGE#</h2>',
  '        #ADDITIONAL_INFO#',
  '        #TECHNICAL_INFO#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      <button class="a-Button a-Button--large a-Button--hot" onclick="#BACK_LINK#" type="button">#RETURN_TO_APPLICATION#</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=>false
  ,p_grid_emit_empty_leading_cols=>true
  ,p_grid_emit_empty_trail_cols=>false
  ,p_grid_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-grid-container">',
  '#ROWS#',
  '</div>'))
  ,p_grid_row_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-row">',
  '#COLUMNS#',
  '</div>'))
  ,p_grid_column_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="apex-col apex-col-#COLUMN_SPAN_NUMBER# #ATTRIBUTES#">',
  '#CONTENT#',
  '</div>'))
  ,p_dialog_browser_frame=>'MODAL'
  ,p_reference_id=>702684260095026477
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(826854269348722410)
  ,p_page_template_id=>wwv_flow_api.id(704551089958461817)
  ,p_name=>'Wizard Body'
  ,p_placeholder=>'BODY'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(826854656252722410)
  ,p_page_template_id=>wwv_flow_api.id(704551089958461817)
  ,p_name=>'Wizard Progress List'
  ,p_placeholder=>'REGION_POSITION_01'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(826855055738722410)
  ,p_page_template_id=>wwv_flow_api.id(704551089958461817)
  ,p_name=>'Wizard Title'
  ,p_placeholder=>'REGION_POSITION_02'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_page_tmpl_display_point(
   p_id=>wwv_flow_api.id(826855487587722411)
  ,p_page_template_id=>wwv_flow_api.id(704551089958461817)
  ,p_name=>'Wizard Buttons'
  ,p_placeholder=>'REGION_POSITION_03'
  ,p_has_grid_support=>true
  ,p_glv_new_row=>true
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/button
  begin
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(1866523470310776)
  ,p_template_name=>'APEX 5.0 - Icon Menu Button'
  ,p_internal_name=>'APEX_5.0_ICON_MENU_BUTTON'
  ,p_template=>'<button class="a-Button a-Button--noLabel a-Button--iconTextButton js-menuButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_'
  ||'CSS_CLASSES#" aria-hidden="true"></span><span class="a-Icon icon-menu-drop-down" aria-hidden="true"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--noLabel a-Button--iconTextButton js-menuButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#><span class='
  ||'"a-Icon #ICON_CSS_CLASSES#" aria-hidden="true"></span><span class="a-Icon  icon-menu-drop-down" aria-hidden="true"></span></button>'
  ,p_reference_id=>3705338883615
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(1866588251869819)
  ,p_template_name=>'APEX 5.0 - Icon Badge Menu Button'
  ,p_internal_name=>'APEX_5.0_ICON_BADGE_MENU_BUTTON'
  ,p_template=>'<button class="a-Button a-Button--noLabel a-Button--iconTextButton js-menuButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_'
  ||'CSS_CLASSES#"></span><span class="a-Button-badge"></span><span class="a-Icon icon-menu-drop-down"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--noLabel a-Button--iconTextButton js-menuButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#><span class='
  ||'"a-Icon #ICON_CSS_CLASSES#"></span><span class="a-Button-badge"></span><span class="a-Icon icon-menu-drop-down"></span></button>'
  ,p_reference_id=>631020159860848910
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(1866599822791268)
  ,p_template_name=>'APEX 5.0 - Icon Badge Button'
  ,p_internal_name=>'APEX_5.0_ICON_BADGE_BUTTON'
  ,p_template=>'<button class="a-Button a-Button--noLabel #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_CSS_CLASSES#"></span><span class="a-But'
  ||'ton-badge"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--noLabel #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" aria-label="#LABEL!ATTR#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_CSS_CLASSES#"></span><spa'
  ||'n class="a-Button-badge"></span></button>'
  ,p_reference_id=>631020282344854024
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(185090644904818316)
  ,p_template_name=>'APEX 5.0 - Button'
  ,p_internal_name=>'APEX_5.0_BUTTON'
  ,p_template=>'<button onclick="#JAVASCRIPT#" class="a-Button #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#">#LABEL!HTML#</button>'
  ,p_hot_template=>'<button onclick="#JAVASCRIPT#" class="a-Button a-Button--hot #BUTTON_CSS_CLASSES#" type="button" #BUTTON_ATTRIBUTES# id="#BUTTON_ID#">#LABEL!HTML#</button>'
  ,p_reference_id=>174750904387485475
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(355897126529279060)
  ,p_template_name=>'APEX 5.0 - Icon Only Button'
  ,p_internal_name=>'APEX_5.0_ICON_ONLY_BUTTON'
  ,p_template=>'<button class="a-Button a-Button--noLabel a-Button--withIcon #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" aria-label="#LABEL!ATTR#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_CSS_CLASSES#" aria-h'
  ||'idden="true"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--noLabel a-Button--withIcon #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" aria-label="#LABEL!ATTR#" type="button" id="#BUTTON_ID#" title="#LABEL!ATTR#" #BUTTON_ATTRIBUTES#><span class="a-Icon #ICON_CSS_CL'
  ||'ASSES#" aria-hidden="true"></span></button>'
  ,p_reference_id=>353820721334283301
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(653227446322992331)
  ,p_template_name=>'APEX 5.0 - Button with Icon'
  ,p_internal_name=>'APEX_5.0_BUTTON_WITH_ICON'
  ,p_template=>'<button class="a-Button a-Button--iconTextButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#>#LABEL!HTML#<span class="a-Icon #ICON_CSS_CLASSES#"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--iconTextButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#>#LABEL!HTML#<span class="a-Icon #ICON_CSS_CLASSES#"></span></button>'
  ,p_reference_id=>404889142313786233
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  wwv_flow_api.create_button_templates(
   p_id=>wwv_flow_api.id(2047530753586203056)
  ,p_template_name=>'APEX 5.0 - Button with Icon - NOT ESCAPED'
  ,p_internal_name=>'APEX_5.0_BUTTON_WITH_ICON_NOT_ESCAPED'
  ,p_template=>'<button class="a-Button a-Button--iconTextButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#>#LABEL#<span class="a-Icon #ICON_CSS_CLASSES#"></span></button>'
  ,p_hot_template=>'<button class="a-Button a-Button--hot a-Button--iconTextButton #BUTTON_CSS_CLASSES#" onclick="#JAVASCRIPT#" type="button" id="#BUTTON_ID#" #BUTTON_ATTRIBUTES#>#LABEL#<span class="a-Icon #ICON_CSS_CLASSES#"></span></button>'
  ,p_translate_this_template=>'N'
  ,p_theme_class_id=>1
  ,p_theme_id => wwv_flow.g_flow_theme_id
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/region
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(1862818452156509)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion altHeading editRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '    <span class="aButtonContainer">',
  '      #EDIT##CLOSE##CREATE##CREATE2##EXPAND##HELP##DELETE##COPY##PREVIOUS##NEXT#',
  '      <a href="#" class="aIconButton" onclick="uF();return false;"><img src="#IMAGE_PREFIX#f_spacer.gif" class="upIcon" alt="&TOP." /></a>',
  '    </span>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    #BODY#',
  '  </div>',
  '</section>'))
  ,p_page_plug_template_name=>'Gray Box (c:htmldbGrayBox)'
  ,p_internal_name=>'GRAY_BOX_C:HTMLDBGRAYBOX'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>17353903289599940
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(6616531321738556)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <script type="text/javascript">  ',
  '    function toggleFind() {',
  '      html_ToggleElement(''body#REGION_ID#'');  ',
  '    }',
  '  </script>',
  '  <div id="body#REGION_ID#" style="display:none;">',
  '    <table cellpadding="0" cellspacing="0" border="0" summary="" id="#REGION_ID#">',
  '      <tr>',
  '        <td valign="top">#BODY#</td>',
  '        <td valign="top">#CLOSE##EDIT##DELETE##CREATE##CREATE2##PREVIOUS##NEXT#</td>',
  '      </tr>',
  '    </table>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'Search and Replace Region (Editor)'
  ,p_internal_name=>'SEARCH_AND_REPLACE_REGION_EDITOR'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>112829305325461983
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'Gray Head, white body'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(7801029094646400)
  ,p_layout=>'TABLE'
  ,p_template=>'<div class="a-PageAnchors #COMPONENT_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>#BODY#</div>'
  ,p_page_plug_template_name=>'APEX 5.0 - Page Anchors'
  ,p_internal_name=>'APEX_5.0_PAGE_ANCHORS'
  ,p_plug_table_bgcolor=>'white'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_plug_heading_bgcolor=>'white'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>' '
  ,p_reference_id=>17354206769599941
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(31296925970709820)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-SystemMessage #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Message Region'
  ,p_internal_name=>'APEX_5.0_MESSAGE_REGION'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>9
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_reference_id=>29333927116050844
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(34480422372109649)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion smallRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '    <span class="aButtonContainer">',
  '      #EDIT##CLOSE##CREATE##CREATE2##EXPAND##HELP##DELETE##COPY##PREVIOUS##NEXT#',
  '    </span>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    #BODY#',
  '  </div>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Rounded Corner Small (Gray Top)'
  ,p_internal_name=>'APEX_4.0_ROUNDED_CORNER_SMALL_GRAY_TOP'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>9
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_reference_id=>32612420016685806
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(37804337052636282)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="rounded-corner-wiz-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# style="width:100%;">',
  '  <div class="rc-blue-top"><div class="rc-blue-top-r">',
  '    <div class="rc-title"><h2>#TITLE#</h2></div>',
  '    <div class="rc-buttons">#CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#</div>',
  '  </div></div>',
  '  <div class="rc-body"><div class="rc-body-r"><div class="rc-content">#BODY#</div></div></div>',
  '  <div class="rc-bottom"><div class="rc-bottom-r"></div></div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Wizard Box (wide)'
  ,p_internal_name=>'APEX_4.0_WIZARD_BOX_WIDE'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>35936104232216540
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(42641019368513567)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="wizardHeader" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Wizard Header'
  ,p_internal_name=>'APEX_5.0_WIZARD_HEADER'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>42210710875242480
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(43888235616041589)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Wizard-region a-Form #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <h2 class="u-VisuallyHidden">#TITLE#</h2>',
  '  <div class="a-Wizard-regionHeader">#REGION_HEADER#</div>',
  '  <div class="a-Wizard-regionBody">#BODY#</div>',
  '  <div class="a-Wizard-regionFooter">#REGION_FOOTER#</div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Wizard Region'
  ,p_internal_name=>'APEX_5.0_WIZARD_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>702777601713950915
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(43890235054050977)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aWizardRegion dividerTop" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '<div class="wizardRegionHeading">',
  '  <h1>#TITLE#</h1>',
  '  <div class="buttonContainer">',
  '#EDIT##CLOSE##EXPAND##HELP##DELETE##COPY##PREVIOUS##NEXT##CREATE##CREATE2#',
  '  </div>',
  '</div>',
  '  #BODY#',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.2 - Wizard Body (Divider)'
  ,p_internal_name=>'APEX_4.2_WIZARD_BODY_DIVIDER'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>42209811475242480
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(93843247370698216)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Wizard Box'
  ,p_internal_name=>'APEX_4.0_WIZARD_BOX'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>18253116293565611
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(109696827605030496)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'Finder Help'
  ,p_internal_name=>'FINDER_HELP'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>18253116293565611
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(111365635052412677)
  ,p_layout=>'TABLE'
  ,p_template=>'<section class="aRegion smallHeading noPadding componentRegion #REGION_CSS_CLASSES#" id="#REGION_ID#" #REGION_ATTRIBUTES#>#BODY#</section>'
  ,p_page_plug_template_name=>'Page Edit - Standard Content'
  ,p_internal_name=>'PAGE_EDIT_STANDARD_CONTENT'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>' '
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(111374822431451478)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="componentViewHeader aRegion #REGION_CSS_CLASSES#" id="#REGION_ID#" #REGION_ATTRIBUTES#>',
  '  <h1>#TITLE#</h1>',
  '  #BODY#',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.2 - Page Edit Component Top Bar'
  ,p_internal_name=>'APEX_4.2_PAGE_EDIT_COMPONENT_TOP_BAR'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>' '
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(150440825574294559)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion confirmRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    <div class="aActionRegionIcon">',
  '      <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" />',
  '    </div>',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'Wizard Box (Confirm)'
  ,p_internal_name=>'WIZARD_BOX_CONFIRM'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>186682507972859454
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(151044531812764179)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion successRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    <div class="aActionRegionIcon">',
  '      <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" />',
  '    </div>',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'Wizard Box (Success)'
  ,p_internal_name=>'WIZARD_BOX_SUCCESS'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>149030901078827666
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(165116742713875468)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion failRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    <div class="aActionRegionIcon">',
  '      <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" />',
  '    </div>',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'Wizard Box (Fail)'
  ,p_internal_name=>'WIZARD_BOX_FAIL'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>160023608986860686
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(165117248742875489)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion warningRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    <div class="aActionRegionIcon">',
  '      <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" />',
  '    </div>',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'Wizard Box (Warning)'
  ,p_internal_name=>'WIZARD_BOX_WARNING'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>162320107014603380
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176646744667478827)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Accordion resize #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  #BODY#',
  '  #SUB_REGIONS#',
  '</div>',
  ''))
  ,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Accordion-item">',
  '#SUB_REGION#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Accordion'
  ,p_internal_name=>'APEX_5.0_ACCORDION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174746301430371105
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176647240577478889)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-PageColumn resize #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-PageColumn-header">',
  '    <h2 class="a-PageColumn-heading">#TITLE#</h2>',
  '  </div>',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Page Designer Column'
  ,p_internal_name=>'APEX_5.0_PAGE_DESIGNER_COLUMN'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174613223222362440
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176656640102490610)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-PageColumn-body resize #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Page Designer Column (Body)'
  ,p_internal_name=>'APEX_5.0_PAGE_DESIGNER_COLUMN_BODY'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174630015632506596
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176657218421490611)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Region #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#" role="group" aria-labelledby="#REGION_STATIC_ID#_heading">',
  '  <div class="a-Region-header">',
  '    <div class="a-Region-headerItems  a-Region-headerItems--title">',
  '      <h2 class="a-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--buttons">',
  '      #PREVIOUS##EXPAND##EDIT##CHANGE##DELETE##COPY##HELP##NEXT##CREATE##CREATE2##CLOSE#',
  '    </div>',
  '  </div>',
  '  <div class="a-Region-body">',
  '  <div class="a-Region-bodyHeader">#REGION_HEADER#</div>',
  '  #BODY#',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Region'
  ,p_internal_name=>'APEX_5.0_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_preset_template_options=>'a-Region--noPadding'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174748721787471587
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI a-Button--goToTop" onclick="uF();" type="button" title="&TOP."><span class="a-Icon icon-up-chevron"></span></button>'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176657941247490611)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Region #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-Region-header">',
  '    <div class="a-Region-headerItems  a-Region-headerItems--left">',
  '      <h2 class="a-Region-title">#TITLE#</h2>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--right">',
  '      #PREVIOUS##EXPAND##EDIT##CHANGE##DELETE##COPY##HELP##NEXT##CREATE##CREATE2##CLOSE#',
  '    </div>',
  '  </div>',
  '  <div class="a-Region-body">',
  '  #BODY#',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Region (Top Buttons)'
  ,p_internal_name=>'APEX_5.0_REGION_TOP_BUTTONS'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174747104640428780
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(176658621008490611)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Toolbar #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-Toolbar-items a-Toolbar-items--left">#PREVIOUS#</div>',
  '  <div class="a-Toolbar-items a-Toolbar-items--right">#NEXT#</div>',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Toolbar'
  ,p_internal_name=>'APEX_5.0_TOOLBAR'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174613705533399534
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(179236724859014737)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES# class="resize #REGION_CSS_CLASSES#"> ',
  '#BODY#',
  '<div id="#REGION_STATIC_ID#_content" class="resize">',
  '#SUB_REGIONS#',
  '</div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Nested Splitter'
  ,p_internal_name=>'APEX_5.0_NESTED_SPLITTER'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(185082445139745513)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-TabsContainer #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-Tabs-toolbar a-Toolbar">',
  '    #SUB_REGION_HEADERS#',
  '    <div class="a-Toolbar-items a-Toolbar-items--right">#NEXT#</div>',
  '  </div>',
  '  #SUB_REGIONS#',
  '</div>',
  ''))
  ,p_sub_plug_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul>',
  '#ENTRIES#',
  '</ul>'))
  ,p_sub_plug_header_entry_templ=>'<li><a href="##SUB_REGION_ID#">#SUB_REGION_TITLE#</a></li>'
  ,p_sub_plug_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#SUB_REGION#',
  ''))
  ,p_page_plug_template_name=>'APEX 5.0 - Tabs'
  ,p_internal_name=>'APEX_5.0_TABS'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>183211208341566300
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(198475821536525844)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion sideRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '    <span class="aButtonContainer">',
  '      #EDIT##CLOSE##CREATE##CREATE2##EXPAND##HELP##DELETE##COPY##PREVIOUS##NEXT#',
  '    </span>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    #BODY#',
  '  </div>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Sidebar (Gray Header)'
  ,p_internal_name=>'APEX_4.0_SIDEBAR_GRAY_HEADER'
  ,p_plug_table_bgcolor=>'#F7F7E7'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>2
  ,p_plug_heading_bgcolor=>'#F7F7E7'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>' '
  ,p_reference_id=>17355419405599943
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(204019821893414610)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion pageEditBar #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '	<div class="gotoPage">',
  '	#BODY##EXPAND#',
  '	</div>',
  '	<span class="lButtonContainer">',
  '		#EDIT##CLOSE##CREATE##CREATE2##HELP##DELETE##COPY##PREVIOUS#',
  '	</span>',
  '	<div class="pageEditRight">',
  '        <div class="rButtonContainer">',
  '        #NEXT#',
  '        </div>',
  '		#SUB_REGIONS#',
  '	</div>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.2 - Page Edit Bar '
  ,p_internal_name=>'APEX_4.2_PAGE_EDIT_BAR_'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>202152130536978817
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(204145723434174410)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aRegion aActionRegion confirmRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="aRegionHeading">',
  '    <h1>#TITLE#</h1>',
  '  </div>',
  '  <div class="aRegionContent clearfix">',
  '    <div class="aActionRegionIcon">',
  '      <img src="#IMAGE_PREFIX#f_spacer.gif" alt="" />',
  '    </div>',
  '    #BODY#',
  '  </div>',
  '  <span class="aButtonContainer">',
  '    #CLOSE##DELETE##EDIT##CHANGE##PREVIOUS##NEXT##CREATE#',
  '  </span>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Wizard Box (Confirm)'
  ,p_internal_name=>'APEX_4.0_WIZARD_BOX_CONFIRM'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>186682507972859454
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(210790828811889704)
  ,p_layout=>'TABLE'
  ,p_template=>'<div id="#REGION_STATIC_ID#" class="#REGION_CSS_CLASSES#" #REGION_ATTRIBUTES#>#PREVIOUS##BODY##NEXT#</div>'
  ,p_page_plug_template_name=>'APEX 5.0 - Div with ID, Class, and Region Attributes'
  ,p_internal_name=>'APEX_5.0_DIV_WITH_ID,_CLASS,_AND_REGION_ATTRIBUTES'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_tmpl_display_point(
   p_id=>wwv_flow_api.id(753198535777358933)
  ,p_plug_template_id=>wwv_flow_api.id(210790828811889704)
  ,p_name=>'Sub Regions'
  ,p_placeholder=>'SUB_REGIONS'
  ,p_has_grid_support=>false
  ,p_glv_new_row=>true
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(227934344118136206)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-PageColumn resize #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  #BODY#',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Page Designer Column (No Heading)'
  ,p_internal_name=>'APEX_5.0_PAGE_DESIGNER_COLUMN_NO_HEADING'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>174613223222362440
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(255944050102498656)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="topbar" style="width:100%;clear:both;" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="topbar-top"><div class="topbar-top-r"></div></div>',
  '  <div class="topbar-body"><div class="topbar-body-r"><div class="topbar-content">',
  '     #BODY#',
  '   </div></div></div>',
  '  <div class="topbar-bottom"><div class="topbar-bottom-r"></div></div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 4.0 - Top Bar (for list buttons)'
  ,p_internal_name=>'APEX_4.0_TOP_BAR_FOR_LIST_BUTTONS'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>254074518265073133
  ,p_translate_this_template=>'N'
  ,p_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
  ' <table class="TopBarUIFix" cellpadding="0" cellspacing="0" border="0" summary="" id="#REGION_STATIC_ID#" width="100%"><tbody class="GreenBar"><tr><td valign="middle" class="L">#BODY#</td><td width="30" class="C"><br /></td><td valign="middle" class='
  ||'"R" align="right"><span style="margin-right:10px;">#CLOSE#</span>#COPY##DELETE##CHANGE##EDIT##PREVIOUS##NEXT##CREATE##EXPAND#</td></tr></tbody></table>',
  ''))
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(401712715148140728)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<section class="aWizardRegion" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="wizardRegionHeading">',
  '    <h1><a href="javascript:void(0);" onclick="$(''##REGION_STATIC_ID#_content'').slideToggle();$(''##REGION_STATIC_ID#_img'').toggleClass(''expanded'');" class="hideShowLink"><img src="#IMAGE_PREFIX#f_spacer.gif" class="hideShow" alt="" id="#REGION_STATIC'
  ||'_ID#_img"/>#TITLE#</a></h1>',
  '    <div class="buttonContainer">',
  '    #EDIT##CLOSE##EXPAND##HELP##DELETE##COPY##PREVIOUS##NEXT##CREATE##CREATE2#',
  '    </div>',
  '  </div>',
  '  <div class="hideShowRegion" id="#REGION_STATIC_ID#_content">',
  '    #BODY#',
  '  </div>',
  '</section>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Wizard Body (Hide/Show)'
  ,p_internal_name=>'APEX_5.0_WIZARD_BODY_HIDE/SHOW'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>12
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>399850559367741099
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(648150344354797170)
  ,p_layout=>'TABLE'
  ,p_template=>'<div id="#REGION_STATIC_ID#" class="a-IRR-region #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# role="group" aria-labelledby="#REGION_STATIC_ID#_heading"><h2 class="u-VisuallyHidden" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>#PREVIOUS##BODY##NEXT#</div>'
  ,p_page_plug_template_name=>'APEX 5.0 - Interactive Report Region'
  ,p_internal_name=>'APEX_5.0_INTERACTIVE_REPORT_REGION'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_template_options=>'a-IRR-region--responsiveIconView'
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>678354360586321695
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(657431697548601638)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Region a-Region--hasIcon #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#" role="group" aria-labelledby="#REGION_STATIC_ID#_heading">',
  '  <div class="a-Region-header">',
  '    <div class="a-Region-headerItems  a-Region-headerItems--title">',
  '      <h2 class="a-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--buttons">',
  '      #PREVIOUS##EXPAND##EDIT##CHANGE##DELETE##COPY##HELP##NEXT##CREATE##CREATE2##CLOSE#',
  '    </div>',
  '  </div>',
  '  <div class="a-Region-body">',
  '    <div class="a-RegionMedia">',
  '      <div class="a-RegionMedia-graphic">',
  '        <span class="a-Icon a-Icon--regionIcon #ICON_CSS_CLASSES#"></span>',
  '      </div>',
  '      <div class="a-RegionMedia-content">',
  '        #BODY#',
  '      </div>',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Region with Icon'
  ,p_internal_name=>'APEX_5.0_REGION_WITH_ICON'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_preset_template_options=>'a-Region--noPadding'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>698829239393878937
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(691137600029729738)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-ButtonRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="a-ButtonRegion-wrap">',
  '    <div class="a-ButtonRegion-col a-ButtonRegion-col--left"><div class="a-ButtonRegion-buttons">#PREVIOUS##DELETE##CLOSE#</div></div>',
  '    <div class="a-ButtonRegion-col a-ButtonRegion-col--content">',
  '      <h2 class="a-ButtonRegion-title">#TITLE#</h2>',
  '      #BODY#',
  '      <div class="a-ButtonRegion-buttons">#CHANGE#</div>',
  '    </div>',
  '    <div class="a-ButtonRegion-col a-ButtonRegion-col--right"><div class="a-ButtonRegion-buttons">#EDIT##CREATE##NEXT#</div></div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Button Region'
  ,p_internal_name=>'APEX_5.0_BUTTON_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_template_options=>'a-ButtonRegion--wizard'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>687153470345619376
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(691833103563585985)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Region a-Region--hideShow #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#" role="group" aria-labelledby="#REGION_STATIC_ID#_heading">',
  '  <div class="a-Region-header">',
  '    <div class="a-Region-headerItems  a-Region-headerItems--controls">',
  '      <button class="a-Button a-Button--icon a-Button--hideShow" type="button"></button>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--title">',
  '      <h2 class="a-Region-title" id="#REGION_STATIC_ID#_heading">#TITLE#</h2>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--buttons">',
  '      #PREVIOUS##EXPAND##EDIT##CHANGE##DELETE##COPY##HELP##NEXT##CREATE##CREATE2##CLOSE#',
  '    </div>',
  '  </div>',
  '  <div class="a-Region-body">',
  '  #BODY#',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Hide + Show Region'
  ,p_internal_name=>'APEX_5.0_HIDE_+_SHOW_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_template_options=>'a-Region--flush'
  ,p_preset_template_options=>'is-expanded'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>689955986849128825
  ,p_translate_this_template=>'N'
  );
  end;
  /
  begin
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(705350885093586059)
  ,p_layout=>'TABLE'
  ,p_template=>'<div class="#REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#><h1 class="a-Wizard-title">#TITLE#</h1></div>'
  ,p_page_plug_template_name=>'APEX 5.0 - Wizard Title Region'
  ,p_internal_name=>'APEX_5.0_WIZARD_TITLE_REGION'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_reference_id=>703469000349150769
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(772103360713321305)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Alert #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <div class="a-Alert-wrap">',
  '    <div class="a-Alert-icon">',
  '      <span class="a-Icon #ICON_CSS_CLASSES#"></span>',
  '    </div>',
  '    <div class="a-Alert-content">',
  '      <div class="a-Alert-header">',
  '        <h2 class="a-Alert-title">#TITLE#</h2>',
  '      </div>',
  '      <div class="a-Alert-body">',
  '        #BODY#',
  '      </div>',
  '    </div>',
  '    <div class="a-Alert-buttons">',
  '      #PREVIOUS##CLOSE##CREATE##NEXT#',
  '    </div>',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Alert'
  ,p_internal_name=>'APEX_5.0_ALERT'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_default_template_options=>'a-Alert--defaultIcons'
  ,p_preset_template_options=>'a-Alert--warning:a-Alert--wizard'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>746362351042209764
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(1096533528718675934)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-TabsContainer #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-Tabs-toolbar a-Toolbar">',
  '    #SUB_REGION_HEADERS#',
  '    <div class="a-Toolbar-items a-Toolbar-items--right">#NEXT#</div>',
  '  </div>',
  '  #SUB_REGIONS#',
  '</div>'))
  ,p_sub_plug_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul>',
  '#ENTRIES#',
  '</ul>'))
  ,p_sub_plug_header_entry_templ=>'<li><a href="##SUB_REGION_ID#"><span title="#SUB_REGION_TITLE#" class="a-Icon #SUB_REGION_ICON_CSS_CLASSES#"></span><span class="a-Tabs-label">#SUB_REGION_TITLE#</span></a></li>'
  ,p_sub_plug_template=>'#SUB_REGION#'
  ,p_page_plug_template_name=>'APEX 5.1 - Tabs with Icons + Text'
  ,p_internal_name=>'APEX_5.1_TABS_WITH_ICONS_+_TEXT'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>1094662472079256126
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(1149157923728493929)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-ProcessingRegion #REGION_CSS_CLASSES#" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#>',
  '  <span class="u-Processing"><span class="u-Processing-spinner"></span></span>',
  '  <div class="a-ProcessingRegion-title">#TITLE#</div>',
  '  <div class="a-ProcessingRegion-body">#BODY#</div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Processing Spinner Region'
  ,p_internal_name=>'APEX_5.0_PROCESSING_SPINNER_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>1147280303078953726
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(1159564658462960305)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Region #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#" role="group" aria-labelledby="#REGION_STATIC_ID#_label">',
  '  <div class="a-Region-header">',
  '    <div class="a-Region-headerItems  a-Region-headerItems--title">',
  '      <h2 class="a-Region-title" id="#REGION_STATIC_ID#_label">#TITLE#</h2>',
  '    </div>',
  '    <div class="a-Region-headerItems  a-Region-headerItems--buttons">',
  '      #PREVIOUS##EXPAND##EDIT##CHANGE##DELETE##COPY##HELP##NEXT##CREATE##CREATE2##CLOSE#',
  '    </div>',
  '  </div>',
  '  <div class="a-Region-body">',
  '  <div class="a-Region-bodyHeader">#REGION_HEADER#</div>',
  '  #BODY#',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Grouping Region'
  ,p_internal_name=>'APEX_5.0_GROUPING_REGION'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_preset_template_options=>'a-Region--paddedBody:a-Region--simple'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>1157694368668532777
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'      <button class="a-Button a-Button--noLabel a-Button--withIcon a-Button--noUI a-Button--goToTop" onclick="uF();" type="button" title="&TOP."><span class="a-Icon icon-up-chevron"></span></button>'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(1495384233976114060)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div id="#REGION_STATIC_ID#" class="a-PageDesigner-treeRegion resize #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES#>',
  '  <div class="a-Toolbar a-Toolbar-pageColumn a-Toolbar--treeRegion">',
  '    <div class="a-Toolbar-items a-Toolbar-items--left">',
  '      <h3 id="#REGION_STATIC_ID#_title" class="a-PageDesigner-treeTitle">#TITLE#</h3>',
  '    </div>',
  '    <div class="a-Toolbar-items a-Toolbar-items--right">#NEXT#</div>',
  '  </div>',
  '  <div class="a-PageDesigner-treeWrap u-ScrollingViewport resize">',
  '    #BODY#',
  '  </div>',
  '</div>'))
  ,p_page_plug_template_name=>'APEX 5.0 - Page Designer Tree Region'
  ,p_internal_name=>'APEX_5.0_PAGE_DESIGNER_TREE_REGION'
  ,p_plug_table_bgcolor=>'#FFFFFF'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_plug_heading_bgcolor=>'#FFFFFF'
  ,p_plug_font_size=>'-1'
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_form_table_attr=>'class="htmldbInstruct"'
  ,p_reference_id=>1493511686675667790
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_plug_template(
   p_id=>wwv_flow_api.id(2048123465023706774)
  ,p_layout=>'TABLE'
  ,p_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-TabsContainer #REGION_CSS_CLASSES#" #REGION_ATTRIBUTES# id="#REGION_STATIC_ID#">',
  '  <div class="a-Tabs-toolbar a-Toolbar">',
  '    #SUB_REGION_HEADERS#',
  '    <div class="a-Toolbar-items a-Toolbar-items--right">#NEXT#</div>',
  '  </div>',
  '  #SUB_REGIONS#',
  '</div>'))
  ,p_sub_plug_header_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul>',
  '#ENTRIES#',
  '</ul>'))
  ,p_sub_plug_header_entry_templ=>'<li><a href="##SUB_REGION_ID#"><span title="#SUB_REGION_TITLE#" class="a-Icon #SUB_REGION_ICON_CSS_CLASSES#"></span><span class="u-VisuallyHidden">#SUB_REGION_TITLE#</span></a></li>'
  ,p_sub_plug_template=>'#SUB_REGION#'
  ,p_page_plug_template_name=>'APEX 5.0 - Tabs with Icons'
  ,p_internal_name=>'APEX_5.0_TABS_WITH_ICONS'
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>21
  ,p_default_label_alignment=>'RIGHT'
  ,p_default_field_alignment=>'LEFT'
  ,p_reference_id=>2046249791523279568
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/list
  begin
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(1866530812534296)
  ,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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>',
  ''))
  ,p_list_template_name=>'APEX 5.0 - Menu Popup'
  ,p_internal_name=>'APEX_5.0_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({ slide: e.hasClass("js-slide")});',
  ''))
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>'
  ,p_reference_id=>747588010155545129
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(36929519847049007)
  ,p_list_template_current=>'<li class="a-LinksList-item is-current #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_list_template_noncurrent=>'<li class="a-LinksList-item #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a>'
  ||'</li>'
  ,p_list_template_name=>'Unordered List (c:htmldbUl) From 4999'
  ,p_internal_name=>'UNORDERED_LIST_C:HTMLDBUL_FROM_4999'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_default_template_options=>'a-LinksList--showArrow'
  ,p_list_template_before_rows=>'<ul class="a-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_after_sub_list=>'</ul>'
  ,p_sub_list_item_current=>'<li class="a-LinksList-item is-current #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_sub_list_item_noncurrent=>'<li class="a-LinksList-item#A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="a-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a><'
  ||'/li>'
  ,p_item_templ_curr_w_child=>'<li class="a-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-'
  ||'badge">#A01#</span></a>#SUB_LISTS#</li>'
  ,p_item_templ_noncurr_w_child=>'<li class="a-LinksList-item #A03#"><a href="#LINK#" class="a-LinksLisa-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksLisa-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a>'
  ||'</li>'
  ,p_reference_id=>60219508156141083
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(42642824188637952)
  ,p_list_template_current=>'<li class="a-WizardSteps-step is-active"><div class="a-WizardSteps-wrap"><span class="a-WizardSteps-marker"><span class="a-Icon icon-wizard-step-complete"></span></span><span class="a-WizardSteps-label">#TEXT# <span class="a-WizardSteps-labelState"><'
  ||'/span></span></div></li>'
  ,p_list_template_noncurrent=>'<li class="a-WizardSteps-step is-inactive"><div class="a-WizardSteps-wrap"><span class="a-WizardSteps-marker"><span class="a-Icon icon-wizard-step-complete"></span></span><span class="a-WizardSteps-label">#TEXT# <span class="a-WizardSteps-labelState"'
  ||'></span></span></div></li>'
  ,p_list_template_name=>'APEX 5.0 - Wizard Progress Bar'
  ,p_internal_name=>'APEX_5.0_WIZARD_PROGRESS_BAR'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>17
  ,p_default_template_options=>'a-WizardSteps--slim'
  ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<h2 class="u-VisuallyHidden">#CURRENT_PROGRESS#</h2>',
  '<ul class="a-WizardSteps #COMPONENT_CSS_CLASSES#">'))
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>687902065557685310
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(76621733768785594)
  ,p_list_template_current=>'<td align="center" valign="top"><a href="#LINK#" title="#TEXT_ESC_SC#"><img src="#IMAGE_PREFIX##IMAGE#" #IMAGE_ATTR# class="htmldbGreenIcon" /></a><a href="#LINK#" class="noVisit" title="#TEXT_ESC_SC#">#TEXT#</a></td>'
  ,p_list_template_noncurrent=>'<td align="center" valign="top"><a href="#LINK#" title="#TEXT_ESC_SC#"><img src="#IMAGE_PREFIX##IMAGE#" #IMAGE_ATTR# class="htmldbGreenIcon"/></a><a href="#LINK#" class="noVisit" title="#TEXT_ESC_SC#">#TEXT#</a></td>'
  ,p_list_template_name=>'Horizontal List with Images Fixed Width 30px(c:htmldbListImagesHFW)'
  ,p_internal_name=>'HORIZONTAL_LIST_WITH_IMAGES_FIXED_WIDTH_30PXC:HTMLDBLISTIMAGESHFW'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_list_template_before_rows=>'<table cellspacing="0" cellpadding="0" border="0" class="htmldbListImages30px" summary=""><tr>'
  ,p_list_template_after_rows=>'</tr></table>'
  ,p_reference_id=>338219701416750315
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(117064926778446747)
  ,p_list_template_current=>'<li><a href="#LINK#" title="#TEXT#">#TEXT#</a></li>'
  ,p_list_template_noncurrent=>'<li><a href="#LINK#" title="#TEXT#">#TEXT#</a></li>'
  ,p_list_template_name=>'Simple Image List'
  ,p_internal_name=>'SIMPLE_IMAGE_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_list_template_before_rows=>'<ul class="listwithicon">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>32421627622986728
  ,p_list_template_comment=>'<img src="#IMAGE_PREFIX##IMAGE#" #IMAGE_ATTR# />'
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(139710049319920731)
  ,p_list_template_current=>'<li><span class="fielddata">#TEXT#</span></li>'
  ,p_list_template_noncurrent=>'<li><span class="fielddata">#TEXT#</a></li>'
  ,p_list_template_name=>'unordered list without links'
  ,p_internal_name=>'UNORDERED_LIST_WITHOUT_LINKS'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_list_template_before_rows=>'<ul class="htmldbUl">'
  ,p_list_template_after_rows=>'</ul>'
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(170575043394650300)
  ,p_list_template_current=>'<li class="a-Tabs-item is-active"><a href="#LINK#" class="a-Tabs-link">#TEXT#</a></li>'
  ,p_list_template_noncurrent=>'<li class="a-Tabs-item"><a href="#LINK#" class="a-Tabs-link">#TEXT#</a></li>'
  ,p_list_template_name=>'APEX 5.0 - Sub Tabs'
  ,p_internal_name=>'APEX_5.0_SUB_TABS'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_list_template_before_rows=>'<div class="a-TabsContainer a-TabsContainer--subTabs"><ul class="a-Tabs a-Tabs--subTabButtons">'
  ,p_list_template_after_rows=>'</ul></div>'
  ,p_reference_id=>168708522102193705
  ,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="aSubTabs"><ul>',
  '<li class="active"><a href="#LINK#" title="#TEXT_ESC_SC#"><span>#TEXT#</span></a></li>'))
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(212256020419175651)
  ,p_list_template_current=>'  <li><a href="#LINK#" title="#TEXT_ESC_SC#"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#TEXT_ESC_SC#" class="iconSmall #A01#" /></a></li>'
  ,p_list_template_noncurrent=>'  <li><a href="#LINK#" title="#TEXT_ESC_SC#"><img src="#IMAGE_PREFIX#f_spacer.gif" alt="#TEXT_ESC_SC#" class="iconSmall #A01#" /></a></li>'
  ,p_list_template_name=>'APEX 4.2 - Run / Edit Bar'
  ,p_internal_name=>'APEX_4.2_RUN_/_EDIT_BAR'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>3
  ,p_list_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="aRunEditBar">',
  '  <li><span class="currentPage">&PAGE. &FB_FLOW_PAGE_ID.</span></li>'))
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>210390516819756900
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(255737939853035791)
  ,p_list_template_current=>'<button onclick="javascript:redirect(''#LINK#'')" class="aButton hotButton #A01#" type="button"><span>#TEXT#</span></button> '
  ,p_list_template_noncurrent=>'<button onclick="javascript:redirect(''#LINK#'')" class="aButton #A01#" type="button"><span>#TEXT#</span></button> '
  ,p_list_template_name=>'APEX 4.0 - Pull Down Button List'
  ,p_internal_name=>'APEX_4.0_PULL_DOWN_BUTTON_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>9
  ,p_list_template_before_rows=>'<div class="rButtonContainer dhtmlMenuLGButton">'
  ,p_list_template_after_rows=>'</div>'
  ,p_before_sub_list=>'<ul id="#PARENT_LIST_ITEM_ID#" htmldb:listlevel="#LEVEL#" class="dhtmlSubMenu" style="display:none;">'
  ,p_after_sub_list=>'</ul>'
  ,p_sub_list_item_current=>'<li class="dhtmlMenuSep"><img src="#IMAGE_PREFIX#themes/theme_13/1px_trans.gif"  width="1" height="1" alt="" class="dhtmlMenuSep" /></li>'
  ,p_sub_list_item_noncurrent=>'<li><a href="#LINK#" class="dhtmlSubMenuN" onmouseover="dhtml_CloseAllSubMenusL(this)">#TEXT#</a></li>'
  ,p_item_templ_curr_w_child=>'<button onclick="javascript:redirect(''#LINK#'')" class="aButton hotButton #A01#" type="button"><span>#TEXT#</span></button> '
  ,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<button onclick="app_AppMenuMultiOpenBottom2(this,''#LIST_ITEM_ID#'',false)" class="dhtmlMenu" type="button"><span>#TEXT#<img src="#IMAGE_PREFIX#f_spacer.gif" alt="" /></span></button> ',
  ''))
  ,p_sub_templ_curr_w_child=>'<li class="dhtmlSubMenuS"><a href="#LINK#" class="dhtmlSubMenuS" onmouseover="dhtml_MenuOpen(this,''#LIST_ITEM_ID#'',true,''Left'')"><span style="float:left;">#TEXT#</span><img class="t13MIMG" src="#IMAGE_PREFIX#menu_open_right2.gif" alt="" /></a></li>'
  ,p_sub_templ_noncurr_w_child=>'<li class="dhtmlSubMenuS"><a href="#LINK#" class="dhtmlSubMenuS" onmouseover="dhtml_MenuOpen(this,''#LIST_ITEM_ID#'',true,''Left'')"><span style="float:left;">#TEXT#</span><img class="t13MIMG" src="#IMAGE_PREFIX#menu_open_right2.gif" alt="" / ></a></li>'
  ,p_reference_id=>253872418832604079
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(386577803934437130)
  ,p_list_template_current=>'<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#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="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>',
  ''))
  ,p_list_template_name=>'APEX 5.0 - Navigation List'
  ,p_internal_name=>'APEX_5.0_NAVIGATION_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_list_template_before_rows=>'<ul>'
  ,p_list_template_after_rows=>'</ul>'
  ,p_before_sub_list=>'<ul>'
  ,p_after_sub_list=>'</ul></li>'
  ,p_sub_list_item_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a></li>',
  ''))
  ,p_sub_list_item_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><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 data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>',
  ''))
  ,p_item_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>',
  ''))
  ,p_sub_templ_curr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-current="true" data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>',
  ''))
  ,p_sub_templ_noncurr_w_child=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li data-id="#A01#" data-disabled="#A02#" data-hide="#A03#" data-shortcut="#A05#" data-icon="#IMAGE#"><a href="#LINK#" title="#A04#">#TEXT_ESC_SC#</a>',
  ''))
  ,p_reference_id=>573607518145151423
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(483157109713963701)
  ,p_list_template_current=>'<li class="a-ImageNav-item"><button type="button" data-link="#LINK#" class="a-ImageNav-link launch-aut #A01#"><span class="a-ImageNav-img gi-icon-#IMAGE#"></span><span class="a-ImageNav-label">#TEXT_ESC_SC#</span></button></li>'
  ,p_list_template_noncurrent=>'<li class="a-ImageNav-item"><a href="#LINK#" class="a-ImageNav-link #A01#"><span class="a-ImageNav-img gi-icon-#IMAGE#"></span><span class="a-ImageNav-label">#TEXT_ESC_SC#</span></a></li>'
  ,p_list_template_name=>'APEX 5.0 - Image Navigation'
  ,p_internal_name=>'APEX_5.0_IMAGE_NAVIGATION'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_list_template_before_rows=>'<ul class="a-ImageNav #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>481290423891543508
  ,p_list_template_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<td style="width: 20%">',
  '	<a href="#LINK#" class="iconContainer" title="#TEXT_ESC_SC#">',
  '		<span class="largeIcon"><img src="#IMAGE_PREFIX##IMAGE#" #IMAGE_ATTR# /></span>',
  '		<span class="iconLabel">#TEXT#</span>',
  '	</a>',
  '</td>'))
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(494002948444121729)
  ,p_list_template_current=>'<li>#TEXT#</li>'
  ,p_list_template_noncurrent=>'<li>#TEXT#</li>'
  ,p_list_template_name=>'Unordered List (no links)'
  ,p_internal_name=>'UNORDERED_LIST_NO_LINKS'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_list_template_before_rows=>'<ul class="htmldbUl">'
  ,p_list_template_after_rows=>'</ul>'
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(695285149137754202)
  ,p_list_template_current=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-MediaList-item is-active">',
  '    <a href="#LINK#" class="a-MediaList-link" #A03#>',
  '        <div class="a-MediaList-iconWrap">',
  '            <span class="a-MediaList-icon"><span class="a-Icon #IMAGE#" #IMAGE_ATTR#></span></span>',
  '        </div>',
  '        <div class="a-MediaList-body">',
  '            <h3 class="a-MediaList-title">#TEXT#</h3>',
  '            <p class="a-MediaList-desc">#A01#</p>',
  '        </div>',
  '        <div class="a-MediaList-badgeWrap">',
  '            <span class="a-MediaList-badge">#A02#</span>',
  '        </div>',
  '    </a>',
  '</li>'))
  ,p_list_template_noncurrent=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-MediaList-item">',
  '    <a href="#LINK#" class="a-MediaList-link" #A03#>',
  '        <div class="a-MediaList-iconWrap">',
  '            <span class="a-MediaList-icon"><span class="a-Icon #IMAGE#" #IMAGE_ATTR#></span></span>',
  '        </div>',
  '        <div class="a-MediaList-body">',
  '            <h3 class="a-MediaList-title">#TEXT#</h3>',
  '            <p class="a-MediaList-desc">#A01#</p>',
  '        </div>',
  '        <div class="a-MediaList-badgeWrap">',
  '            <span class="a-MediaList-badge">#A02#</span>',
  '        </div>',
  '    </a>',
  '</li>'))
  ,p_list_template_name=>'APEX 5.0 - Media List'
  ,p_internal_name=>'APEX_5.0_MEDIA_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>9
  ,p_default_template_options=>'a-MediaList--noBadge'
  ,p_list_template_before_rows=>'<ul class="a-MediaList #COMPONENT_CSS_CLASSES#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>692720897220784060
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(699077551664048866)
  ,p_list_template_current=>'<li class="a-LinksList-item is-current #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_list_template_noncurrent=>'<li class="a-LinksList-item #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a>'
  ||'</li>'
  ,p_list_template_name=>'APEX 5.0 - Links List'
  ,p_internal_name=>'APEX_5.0_LINKS_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_default_template_options=>'a-LinksList--showArrow'
  ,p_list_template_before_rows=>'<ul class="a-LinksList #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_after_sub_list=>'</ul>'
  ,p_sub_list_item_current=>'<li class="a-LinksList-item is-current #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#'
  ||'</span></a></li>'
  ,p_sub_list_item_noncurrent=>'<li class="a-LinksList-item#A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="a-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a><'
  ||'/li>'
  ,p_item_templ_curr_w_child=>'<li class="a-LinksList-item is-current is-expanded #A03#"><a href="#LINK#" class="a-LinksList-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksList-label">#TEXT#</span><span class="a-LinksList-'
  ||'badge">#A01#</span></a>#SUB_LISTS#</li>'
  ,p_item_templ_noncurr_w_child=>'<li class="a-LinksList-item #A03#"><a href="#LINK#" class="a-LinksLisa-link" #A02#><span class="a-LinksList-icon"><span class="t-Icon #IMAGE#"></span></span><span class="a-LinksLisa-label">#TEXT#</span><span class="a-LinksList-badge">#A01#</span></a>'
  ||'</li>'
  ,p_reference_id=>60219508156141083
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(1143854291702527916)
  ,p_list_template_current=>'<li class="a-List-item is-current"><a href="#LINK#" class="a-Links-link" #A02#>#TEXT#</a></li>'
  ,p_list_template_noncurrent=>'<li class="a-List-item"><a href="#LINK#" class="a-Links-link" #A02#>#TEXT#</a></li>'
  ,p_list_template_name=>'APEX 5.0 - Basic List'
  ,p_internal_name=>'APEX_5.0_BASIC_LIST'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_list_template_before_rows=>'<ul class="a-List #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>1141986383000090627
  );
  wwv_flow_api.create_list_template(
   p_id=>wwv_flow_api.id(1143854833227527922)
  ,p_list_template_current=>'<li class="a-List-item is-current">#TEXT#</li>'
  ,p_list_template_noncurrent=>'<li class="a-List-item">#TEXT#</li>'
  ,p_list_template_name=>'APEX 5.0 - Basic List (no links)'
  ,p_internal_name=>'APEX_5.0_BASIC_LIST_NO_LINKS'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_list_template_before_rows=>'<ul class="a-List a-List--basic #COMPONENT_CSS_CLASSES#" id="#LIST_ID#">'
  ,p_list_template_after_rows=>'</ul>'
  ,p_reference_id=>1141988805895106920
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/report
  begin
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(13530728442761851)
  ,p_row_template_name=>'APEX 5.0 - Links List'
  ,p_internal_name=>'APEX_5.0_LINKS_LIST'
  ,p_row_template1=>'<li class="a-LinksList-item">#COLUMN_VALUE#</li>'
  ,p_row_template_before_rows=>'<ul class="a-LinksList a-LinksList--report #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES#>'
  ,p_row_template_after_rows=>'</ul>'
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_column_heading_template=>'OMIT'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_default_template_options=>'a-LinksList--nowrap:a-LinksList--showArrow'
  ,p_reference_id=>17383712077884846
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(13530728442761851)
  ,p_row_template_before_first=>'OMIT'
  ,p_row_template_after_last=>'OMIT'
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(35497445518533947)
  ,p_row_template_name=>'Result'
  ,p_internal_name=>'RESULT'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr><td align="left" class="header" style="width:70px;">#COLUMN_HEADER#</th><td#ALIGNMENT#>#COLUMN_VALUE#</td></tr>',
  ''))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<style>',
  'table.htmldbStandard3 td.header { vertical-align:middle; }',
  'table.htmldbStandard3 td.pagination { border: medium none; }',
  '</style>',
  '<table width="100%" cellpadding="0" cellspacing="0" class="htmldbStandard3" role="presentation" datatable=0 summary="">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>',
  ''))
  ,p_row_template_table_attr=>'OMIT'
  ,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=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#TEXT#',
  ''))
  ,p_row_style_mouse_over=>'#CCCCCC'
  ,p_row_style_checked=>'#CCCCCC'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>6
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(35497445518533947)
  ,p_row_template_after_last=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>',
  '<p/>',
  '<table width="100%" cellpadding="0" cellspacing="0" class="htmldbStandard3" role="presentation" datatable=0 summary="">',
  '<tbody>'))
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(49004334553485289)
  ,p_row_template_name=>'APEX 4.2 - Portlet Row Template'
  ,p_internal_name=>'APEX_4.2_PORTLET_ROW_TEMPLATE'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-AVPList-item">',
  '  <span class="a-AVPList-label">#1#</span>',
  '  <span class="a-AVPList-value">#2#</span>',
  '</li>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="a-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_ID#_report">',
  ''))
  ,p_row_template_after_rows=>'</ul>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>46763700145123930
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(49802237236641311)
  ,p_row_template_name=>'APEX 4.2 - Portlet Column Template'
  ,p_internal_name=>'APEX_4.2_PORTLET_COLUMN_TEMPLATE'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-AVPList-item">',
  '  <span class="a-AVPList-label">#COLUMN_HEADER#</span>',
  '  <span class="a-AVPList-value">#COLUMN_VALUE#</span>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="a-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_ID#_report">'
  ,p_row_template_after_rows=>'</ul>'
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond4=>'0'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_reference_id=>43020300221196425
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(83978937007652324)
  ,p_row_template_name=>'Vertical Standard'
  ,p_internal_name=>'VERTICAL_STANDARD'
  ,p_row_template1=>'<tr><td scope="row" class="label">#COLUMN_HEADER#</td><td class="data">#COLUMN_VALUE#</td></tr>'
  ,p_row_template_before_rows=>'#CSV_LINK#<table class="htmldbVerticalRegion2"  summary="#REGION_TITLE#" cellpadding="0" cellspacing="0" border="0">'
  ,p_row_template_after_rows=>'</table>'
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_reference_id=>81978430803840109
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(83978937007652324)
  ,p_row_template_before_first=>' '
  ,p_row_template_after_last=>'<tr><td class="blank"><br /></td><td class="blank"><br /></td></tr>'
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(84270850439042605)
  ,p_row_template_name=>'APEX 5.0 - Vertical Report'
  ,p_internal_name=>'APEX_5.0_VERTICAL_REPORT'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr>',
  '  <td class="a-Report-cell a-Report-cell--header" scope="row">#COLUMN_HEADER#</td>',
  '  <td class="a-Report-cell">#COLUMN_VALUE#</td>',
  '</tr>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Report a-Report--vertical a-Report--staticRowColors #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES#>',
  '  <div class="a-Report-wrap">',
  '    <table class="a-Report-pagination">#TOP_PAGINATION#</table>',
  '    <div class="a-Report-tableWrap">',
  '    <table class="a-Report-report" summary="#REGION_TITLE#">'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '    </table>',
  '    </div>',
  '    <div class="a-Report-links">#EXTERNAL_LINK##CSV_LINK#</div>',
  '    <table class="a-Report-pagination a-Report-pagination a-Report-pagination--bottom">#PAGINATION#</table>',
  '  </div>',
  '</div>'))
  ,p_row_template_table_attr=>'OMIT'
  ,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="a-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="a-Report-paginationLink">',
  '  #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="a-Report-paginationLink">',
  '  <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="a-Report-paginationLink">',
  '  #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="a-Report-paginationLink">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>1126924627125205941
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(84270850439042605)
  ,p_row_template_before_first=>' '
  ,p_row_template_after_last=>' '
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(114942748343301153)
  ,p_row_template_name=>'Standard (MRU AJAX SORTABLE)'
  ,p_internal_name=>'STANDARD_MRU_AJAX_SORTABLE'
  ,p_row_template1=>'<td#ALIGNMENT# headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>'
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellpadding="0" cellspacing="0" class="u-Report"  border="0" summary="#REGION_TITLE#" id="report_#REGION_ID#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '<tfoot>#PAGINATION#</tfoot>',
  '</table>',
  '<script type="text/javascript">',
  'var g_rpreview_global = ''report_#REGION_ID#'';',
  'var g_#REGION_ID#;',
  'function f_#REGION_ID#(){',
  '		g_#REGION_ID# =  new apex.tabular.sort(''report_#REGION_ID#'');',
  '		g_#REGION_ID#.row.after_move = function(){rpreview()}',
  '}',
  'addLoadEvent(f_#REGION_ID#)',
  '</script>'))
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#TEXT#',
  ''))
  ,p_next_page_template=>'<a href="javascript:html_PPR_Report_Page(this,''#REGION_ID#'',''#LINK#'')" style="margin-left:5px;"><img src="#IMAGE_PREFIX#jtfunexe.gif" alt="" /></a>'
  ,p_previous_page_template=>'<a href="javascript:html_PPR_Report_Page(this,''#REGION_ID#'',''#LINK#'')" style="margin-right:5px;"><img src="#IMAGE_PREFIX#jtfupree.gif" alt=""/></a>'
  ,p_next_set_template=>'<a href="javascript:html_PPR_Report_Page(this,''#REGION_ID#'',''#LINK#'')" style="margin-left:5px;"><img src="#IMAGE_PREFIX#jtfunexe.gif" alt="" /></a>'
  ,p_previous_set_template=>'<a href="javascript:html_PPR_Report_Page(this,''#REGION_ID#'',''#LINK#'')" style="margin-right:5px;"><img src="#IMAGE_PREFIX#jtfupree.gif" alt=""/></a>'
  ,p_row_style_mouse_over=>'#CCCCCC'
  ,p_row_style_checked=>'#CCCCCC'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>113076128479881902
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(114942748343301153)
  ,p_row_template_before_first=>'<tr>'
  ,p_row_template_after_last=>'</tr>'
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(125590942735690607)
  ,p_row_template_name=>'APEX 5.0 - Standard Report'
  ,p_internal_name=>'APEX_5.0_STANDARD_REPORT'
  ,p_row_template1=>'<td class="a-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="a-Report #COMPONENT_CSS_CLASSES#" id="report_#REGION_STATIC_ID#" #REPORT_ATTRIBUTES#>',
  '  <div class="a-Report-wrap">',
  '    <table class="a-Report-pagination">#TOP_PAGINATION#</table>',
  '    <div class="a-Report-tableWrap">',
  '    <table class="a-Report-report" summary="#REGION_TITLE#">'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '      </tbody>',
  '    </table>',
  '    </div>',
  '    <div class="a-Report-links">#EXTERNAL_LINK##CSV_LINK#</div>',
  '    <table class="a-Report-pagination a-Report-pagination a-Report-pagination--bottom">#PAGINATION#</table>',
  '  </div>',
  '</div>'))
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_before_column_heading=>'<thead>'
  ,p_column_heading_template=>'<th class="a-Report-colHead" #ALIGNMENT# id="#COLUMN_HEADER_NAME#" #COLUMN_WIDTH#>#COLUMN_HEADER#</th>'
  ,p_after_column_heading=>'</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="a-Report-paginationText">#TEXT#</span>'
  ,p_next_page_template=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<a href="#LINK#" class="a-Report-paginationLink">',
  '  #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="a-Report-paginationLink">',
  '  <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="a-Report-paginationLink">',
  '  #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="a-Report-paginationLink">',
  '  <span class="a-Icon icon-left-arrow"></span>#PAGINATION_PREVIOUS_SET#',
  '</a>'))
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>123725814882271159
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(125590942735690607)
  ,p_row_template_before_first=>'<tr>'
  ,p_row_template_after_last=>'</tr>'
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(251107525849273264)
  ,p_row_template_name=>'No Background'
  ,p_internal_name=>'NO_BACKGROUND'
  ,p_row_template1=>'<td#ALIGNMENT# id="td#ROWNUM#_#COLNUM#" headers="#COLUMN_HEADER_NAME#">#COLUMN_VALUE#</td>'
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellspacing="0" cellpadding="0" class="htmldbRptNoBackground" summary="#REGION_TITLE#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>'))
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>237868603542157245
  ,p_translate_this_template=>'N'
  );
  begin
  wwv_flow_api.create_row_template_patch(
   p_id=>wwv_flow_api.id(251107525849273264)
  ,p_row_template_before_first=>'<tr id="row#ROWNUM#">'
  ,p_row_template_after_last=>'</tr>'
  );
  exception when others then null;
  end;
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(255987019921801885)
  ,p_row_template_name=>'P890_AD_MATCHING_ITEMS'
  ,p_internal_name=>'P890_AD_MATCHING_ITEMS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr><td>#CHK#</td><td>#REGION_NAME#</td><td>#I_NAME#</td><td>#I_LABEL#</td><td>#I_HELP_TEXT#</td><td>#I_FORMAT_MASK#</td><td>#I_FORMAT_MASK2#</td><td>#I_DEFAULT#</td><td>#I_WIDTH#</td><td>#I_HEIGHT#</td><td>#I_DATA_TYPE#</td></tr>',
  '<tr><td>&nbsp;</td><td>#FROM_AD#</td><td>#C_COLUMN_NAME#</td><td>#C_LABEL#</td><td>#C_HELP_TEXT#</td><td>#C_FORMAT_MASK#</td><td>#C_FORM_FORMAT_MASK#</td><td>#C_DEFAULT_VALUE#</td><td>#C_FORM_DISPLAY_WIDTH#</td><td>#C_FORM_DISPLAY_HEIGHT#</td><td>#C_'
  ||'FORM_DATA_TYPE#</td></tr>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellpadding="0" cellspacing="0" class="htmldbStandard3"  border="0" summary="" id="#REGION_ID#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>2
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(258879623432408544)
  ,p_row_template_name=>'P897_AD_MATCHING_RC'
  ,p_internal_name=>'P897_AD_MATCHING_RC'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr><td>#CHK#</td><td>#REGION_NAME#</td><td>#RC_NAME#</td><td>#RC_LABEL#</td><td>#RC_HELP_TEXT#</td><td>#RC_FORMAT_MASK#</td><td>#RC_FORMAT_MASK2#</td><td>#RC_REPORT_COL_ALIGN#</td></tr>',
  '<tr><td>&nbsp;</td><td>#FROM_AD#</td><td>&nbsp;</td><td>#C_LABEL#</td><td>#C_HELP_TEXT#</td><td>#C_FORMAT_MASK#</td><td>#C_REPORT_FORMAT_MASK#</td><td>#C_REPORT_COL_ALIGN#</td></tr>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellpadding="0" cellspacing="0" class="htmldbStandard3"  border="0" summary="" id="#REGION_ID#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>2
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(447957336511914161)
  ,p_row_template_name=>'P921_AD_MATCHING_ITEMS'
  ,p_internal_name=>'P921_AD_MATCHING_ITEMS'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr><td>#CHK#</td><td>#REGION_NAME#</td><td>#I_NAME#</td><td>#I_LABEL#</td><td>#I_HELP_TEXT#</td><td>#I_FORMAT_MASK#</td><td>#I_DEFAULT#</td><td>#I_WIDTH#</td><td>#I_HEIGHT#</td><td>#I_DATA_TYPE#</td></tr>',
  '<tr><td>&nbsp;</td><td>#FROM_AD#</td><td>#C_COLUMN_NAME#</td><td>#C_LABEL#</td><td>#C_HELP_TEXT#</td><td>#C_FORMAT_MASK#</td><td>#C_DEFAULT_VALUE#</td><td>#C_FORM_DISPLAY_WIDTH#</td><td>#C_FORM_DISPLAY_HEIGHT#</td><td>#C_FORM_DATA_TYPE#</td></tr>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellpadding="0" cellspacing="0" class="htmldbStandard3"  border="0" summary="" id="#REGION_ID#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>2
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(448114530651839538)
  ,p_row_template_name=>'P922_AD_MATCHING_RC'
  ,p_internal_name=>'P922_AD_MATCHING_RC'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<tr><td>#CHK#</td><td>#REGION_NAME#</td><td>#RC_NAME#</td><td>#RC_LABEL#</td><td>#RC_HELP_TEXT#</td><td>#RC_FORMAT_MASK#</td><td>#RC_REPORT_COL_ALIGN#</td></tr>',
  '<tr><td>&nbsp;</td><td>#FROM_AD#</td><td>&nbsp;</td><td>#C_LABEL#</td><td>#C_HELP_TEXT#</td><td>#C_FORMAT_MASK#</td><td>#C_REPORT_COL_ALIGN#</td></tr>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table cellpadding="0" cellspacing="0" class="htmldbStandard3"  border="0" summary="" id="#REGION_ID#">',
  '<tbody>'))
  ,p_row_template_after_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</tbody>',
  '</table>'))
  ,p_row_template_type=>'NAMED_COLUMNS'
  ,p_column_heading_template=>'<th#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>2
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(1043502739241820469)
  ,p_row_template_name=>'APEX 5.0 - App Cards Report'
  ,p_internal_name=>'APEX_5.0_APP_CARDS_REPORT'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-AppCards-item #ID#">',
  '  <div class="a-AppCards-itemContainer">',
  '    <div class="a-AppCards-iconContainer">',
  '      <span class="a-AppCards-icon #ICON_CLASS#"></span>',
  '    </div>',
  '    <div class="a-AppCards-contentContainer" id="#ID#_name">',
  '      <h2 class="a-AppCards-name">#APP_NAME#</h2>',
  '      <div class="a-AppCards-info">#APP_INFO#</div>',
  '    </div>',
  '    <div class="a-AppCards-actionsContainer">',
  '        #MODIFY_APP_BUTTON#',
  '        #RUN_APP_BUTTON#',
  '    </div>',
  '  </div>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="a-AppCards a-AppCards--slim  a-AppCards--stacked">'
  ,p_row_template_after_rows=>'</ul>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>932268343459577530
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(1043503273060820534)
  ,p_row_template_name=>'APEX 5.0 - Badge List (Named Column)'
  ,p_internal_name=>'APEX_5.0_BADGE_LIST_NAMED_COLUMN'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-BadgeList-item #A01#">',
  '  <span class="a-BadgeList-label">#COLUMN_HEADER#</span>',
  '  <span class="a-BadgeList-value">#COLUMN_VALUE#</span>',
  '</li>',
  ''))
  ,p_row_template_before_rows=>'<ul class="a-BadgeList #COMPONENT_CSS_CLASSES#">'
  ,p_row_template_after_rows=>'</ul>'
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond4=>'0'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_preset_template_options=>'a-BadgeList--fixed:a-BadgeList--large'
  ,p_reference_id=>488487951233692049
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(1043507820350820549)
  ,p_row_template_name=>'APEX 5.0 - Badge List (Row)'
  ,p_internal_name=>'APEX_5.0_BADGE_LIST_ROW'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="t-BadgeList-item">',
  '  <span class="t-BadgeList-label">#1#</span>',
  '  <span class="t-BadgeList-value">#2#</span>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="t-BadgeList #COMPONENT_CSS_CLASSES#">'
  ,p_row_template_after_rows=>'</ul>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>6
  ,p_reference_id=>689060248369886348
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(1043508678144820552)
  ,p_row_template_name=>'APEX 5.0 - Portlet Column Template'
  ,p_internal_name=>'APEX_5.0_PORTLET_COLUMN_TEMPLATE'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-AVPList-item">',
  '  <span class="a-AVPList-label">#COLUMN_HEADER#</span>',
  '  <span class="a-AVPList-value">#COLUMN_VALUE#</span>',
  '</li>'))
  ,p_row_template_before_rows=>'<ul class="a-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_ID#_report">'
  ,p_row_template_after_rows=>'</ul>'
  ,p_row_template_table_attr=>'OMIT'
  ,p_row_template_type=>'GENERIC_COLUMNS'
  ,p_row_template_display_cond1=>'0'
  ,p_row_template_display_cond2=>'0'
  ,p_row_template_display_cond3=>'NOT_CONDITIONAL'
  ,p_row_template_display_cond4=>'0'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_reference_id=>43020300221196425
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_row_template(
   p_id=>wwv_flow_api.id(1043509410345820554)
  ,p_row_template_name=>'APEX 5.0 - Portlet Row Template'
  ,p_internal_name=>'APEX_5.0_PORTLET_ROW_TEMPLATE'
  ,p_row_template1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<li class="a-AVPList-item">',
  '  <span class="a-AVPList-label">#1#</span>',
  '  <span class="a-AVPList-value">#2#</span>',
  '</li>'))
  ,p_row_template_before_rows=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<ul class="a-AVPList #COMPONENT_CSS_CLASSES#" #REPORT_ATTRIBUTES# id="#REGION_ID#_report">',
  ''))
  ,p_row_template_after_rows=>'</ul>'
  ,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_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>7
  ,p_reference_id=>46763700145123930
  ,p_translate_this_template=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/label
  begin
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(6786743630158821)
  ,p_template_name=>'Hidden label, read by screen reader'
  ,p_internal_name=>'HIDDEN_LABEL,_READ_BY_SCREEN_READER'
  ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" tabindex="999" class="hideMeButHearMe">'
  ,p_template_body2=>'</label>'
  ,p_on_error_after_label=>'<br/>#ERROR_MESSAGE#'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>13
  ,p_reference_id=>4903009179971452
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(44930148942266485)
  ,p_template_name=>'FormField_Optional (no label-only for radiogroup)'
  ,p_internal_name=>'FORMFIELD_OPTIONAL_NO_LABELONLY_FOR_RADIOGROUP'
  ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="aLabel aOptional"><a href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  ,p_template_body2=>'</a></label>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_reference_id=>43065615312847035
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(59594444566270487)
  ,p_template_name=>'APEX 4.0 - Top Bar Label'
  ,p_internal_name=>'APEX_4.0_TOP_BAR_LABEL'
  ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#"><a class="apex-ga-label" href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  ,p_template_body2=>'</a></label>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>0
  ,p_reference_id=>57728329098847875
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(95235640921999074)
  ,p_template_name=>'FormField_Optional'
  ,p_internal_name=>'FORMFIELD_OPTIONAL'
  ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="aLabel aOptional"><a href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  ,p_template_body2=>'</a></label>'
  ,p_on_error_after_label=>'<small class="aError">#ERROR_MESSAGE#</small>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>17388415351892041
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'<label for="#CURRENT_ITEM_NAME#"><a class="htmldbLabelOptional" href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(96160330660823925)
  ,p_template_name=>'ColumnHeader'
  ,p_internal_name=>'COLUMNHEADER'
  ,p_template_body1=>'<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="aLabel aOptional"><a href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  ,p_template_body2=>'</a></label>'
  ,p_on_error_after_label=>'<small class="aError">#ERROR_MESSAGE#</small>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>17388415351892041
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'<label for="#CURRENT_ITEM_NAME#"><a class="htmldbLabelOptional" href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(454519541045634568)
  ,p_template_name=>'APEX 5.0 - Required Label'
  ,p_internal_name=>'APEX_5.0_REQUIRED_LABEL'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer">',
  '  <span class="a-Form-required"><span class="a-Icon icon-asterisk"></span></span><label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-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="a-Form-fieldContainer #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'#HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="a-Button a-Button--noUI a-Button--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-hidde'
  ||'n="true"></span></button>'
  ,p_error_template=>'<span class="a-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>4
  ,p_reference_id=>487443659585685414
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(563410654242636032)
  ,p_template_name=>'APEX 5.0 - Optional Label'
  ,p_internal_name=>'APEX_5.0_OPTIONAL_LABEL'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>',
  '</div>'))
  ,p_before_item=>'<div class="a-Form-fieldContainer #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'#HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="a-Button a-Button--noUI a-Button--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-hidde'
  ||'n="true"></span></button>'
  ,p_error_template=>'<span class="a-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>4
  ,p_reference_id=>487444299516703815
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(563412456829665478)
  ,p_template_name=>'APEX 5.0 - Optional Label (Above)'
  ,p_internal_name=>'APEX_5.0_OPTIONAL_LABEL_ABOVE'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-Form-label">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>#HELP_TEMPLATE#',
  '</div>'))
  ,p_before_item=>'<div class="a-Form-fieldContainer a-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'#ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="a-Button a-Button--noUI a-Button--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-hidde'
  ||'n="true"></span></button>'
  ,p_on_error_after_label=>'<span class="a-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>4
  ,p_reference_id=>492676964457041934
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(563412535101666306)
  ,p_template_name=>'APEX 5.0 - Required Label (Above)'
  ,p_internal_name=>'APEX_5.0_REQUIRED_LABEL_ABOVE'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer">',
  '  <span class="a-Form-required"><span class="a-Icon icon-asterisk"></span></span><label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-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="a-Form-fieldContainer a-Form-fieldContainer--stacked #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'#ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="a-Button a-Button--noUI a-Button--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-hidde'
  ||'n="true"></span></button>'
  ,p_error_template=>'<span class="a-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>4
  ,p_reference_id=>492677038682043223
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(567873740084815085)
  ,p_template_name=>'APEX 5.0 - Hidden Label'
  ,p_internal_name=>'APEX_5.0_HIDDEN_LABEL'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer a-Form-labelContainer--visuallyhidden">',
  '<label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-Form-label visuallyhidden">'))
  ,p_template_body2=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</label>',
  '</div>'))
  ,p_before_item=>'<div class="a-Form-fieldContainer #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'#HELP_TEMPLATE##ERROR_TEMPLATE#</div>'
  ,p_help_link=>'<button class="a-Button a-Button--noUI a-Button--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-hidde'
  ||'n="true"></span></button>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>4
  ,p_reference_id=>687907221148719616
  ,p_translate_this_template=>'N'
  );
  wwv_flow_api.create_field_template(
   p_id=>wwv_flow_api.id(567915913832095192)
  ,p_template_name=>'APEX 5.0 - Dynamic Attribute'
  ,p_internal_name=>'APEX_5.0_DYNAMIC_ATTRIBUTE'
  ,p_template_body1=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<div class="a-Form-labelContainer">',
  '  <span class="a-Form-required"><span class="a-Icon icon-asterisk"></span></span><label for="#CURRENT_ITEM_NAME#" id="#LABEL_ID#" class="a-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="a-Form-fieldContainer #ITEM_CSS_CLASSES#" id="#CURRENT_ITEM_CONTAINER_ID#">'
  ,p_after_item=>'</div>'
  ,p_before_element=>'<div class="a-Form-inputContainer">'
  ,p_after_element=>'<button class="a-Button a-Button--noUI a-Button--helpButton js-dynamicItemHelp" data-itemname="#CURRENT_ITEM_NAME#" data-appid="&FB_FLOW_ID." title="" aria-label="" tabindex="-1" type="button"><span class="a-Icon icon-help" aria-hidden="true"></span>'
  ||'</button>#ERROR_TEMPLATE#</div>'
  ,p_error_template=>'<span class="a-Form-error">#ERROR_MESSAGE#</span>'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>692681574974429799
  ,p_translate_this_template=>'N'
  ,p_template_comment=>'<label for="#CURRENT_ITEM_NAME#"><a class="htmldbLabelOptional" href="javascript:popupFieldHelp(''#CURRENT_ITEM_ID#'',''&SESSION.'',''&CLOSE.'')" tabindex="999">'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/breadcrumb
  begin
  wwv_flow_api.create_menu_template(
   p_id=>wwv_flow_api.id(1866523421953044)
  ,p_name=>'APEX 5.0 - Breadcrumbs'
  ,p_internal_name=>'APEX_5.0_BREADCRUMBS'
  ,p_before_first=>'<ul class="a-Breadcrumb">'
  ,p_current_page_option=>'<li class="a-Breadcrumb-item a-Breadcrumb-item is-active"><span class="a-Breadcrumb-label">#NAME#</span></li>'
  ,p_non_current_page_option=>'<li class="a-Breadcrumb-item"><a href="#LINK#" class="a-Breadcrumb-label">#NAME#</a></li>'
  ,p_after_last=>'</ul>'
  ,p_max_levels=>9
  ,p_start_with_node=>'PARENT_TO_LEAF'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>689285808648404711
  ,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(12080138207024403)
  ,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#',
  '#APEX_JAVASCRIPT#',
  '<meta name="viewport" content="width=device-width,initial-scale=1.0" />',
  '<link rel="shortcut icon" href="#IMAGE_PREFIX#favicon.ico" type="image/x-icon">',
  '<link rel="stylesheet" href="#IMAGE_PREFIX#apex_ui/css/Core#MIN#.css?v=#APEX_VERSION#" type="text/css"/>',
  '<link rel="stylesheet" href="#IMAGE_PREFIX#apex_ui/css/Theme-Standard#MIN#.css?v=#APEX_VERSION#" type="text/css"/>',
  '</head>'))
  ,p_page_body_attr=>'onload="first_field()" class="a-Page a-Page--popupLOV"'
  ,p_before_field_text=>'<div class="a-PopupLOV-actions a-Form--large">'
  ,p_filter_width=>'15'
  ,p_filter_max_width=>'100'
  ,p_filter_text_attr=>'class="a-Form-field a-Form-searchField"'
  ,p_find_button_text=>'Search'
  ,p_find_button_attr=>'class="a-Button a-Button--hot a-Button--padLeft"'
  ,p_close_button_text=>'Close'
  ,p_close_button_attr=>'class="a-Button u-pullRight"'
  ,p_next_button_text=>'Next &gt;'
  ,p_next_button_attr=>'class="a-Button a-PopupLOV-button"'
  ,p_prev_button_text=>'&lt; Previous'
  ,p_prev_button_attr=>'class="a-Button a-PopupLOV-button"'
  ,p_after_field_text=>'</div>'
  ,p_scrollbars=>'1'
  ,p_resizable=>'1'
  ,p_width=>'380'
  ,p_height=>'480'
  ,p_result_row_x_of_y=>'<div class="a-PopupLOV-pagination">Row(s) #FIRST_ROW# - #LAST_ROW#</div>'
  ,p_result_rows_per_pg=>200
  ,p_before_result_set=>'<div class="a-PopupLOV-links">'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>17343114994581872
  ,p_translate_this_template=>'N'
  ,p_after_result_set=>'</div>'
  );
  end;
  /
  prompt --application/shared_components/user_interface/templates/calendar
  begin
  wwv_flow_api.create_calendar_template(
   p_id=>wwv_flow_api.id(50608839925389782)
  ,p_cal_template_name=>'Default Calander'
  ,p_internal_name=>'DEFAULT_CALANDER'
  ,p_day_of_week_format=>'<th scope="col" width="14%" class="htmldbDayOfWeek">#IDAY#</th>'
  ,p_month_title_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '<table class="htmldbCalendarHolder" cellpadding="0" cellspacing="0" border="0" width="100%" summary="" role="presentation"><tr>',
  '<td class="htmldbMonthTitle">#IMONTH# #YYYY#</td>',
  '</tr>',
  '<tr><td>'))
  ,p_month_open_format=>'<table class="htmldbCalendar" cellpadding="0" cellspacing="3" border="0" width="100%" summary="#CALENDAR_TITLE# #IMONTH# #YYYY#">'
  ,p_month_close_format=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '</table></td></tr></table>',
  '',
  ''))
  ,p_day_title_format=>'<div class="htmldbDayTitle">#DD#</div>'
  ,p_day_open_format=>'<td class="htmldbDay">#TITLE_FORMAT##DATA#'
  ,p_day_close_format=>'</td>'
  ,p_today_open_format=>'<td class="htmldbToday">#TITLE_FORMAT##DATA#'
  ,p_weekend_title_format=>'<div class="htmldbWeekendDayTitle">#DD#</div>'
  ,p_weekend_open_format=>'<td class="htmldbWeekendDay">#TITLE_FORMAT##DATA#'
  ,p_weekend_close_format=>'</td>'
  ,p_nonday_title_format=>'<div class="htmldbNonDayTitle">#DD#</div>'
  ,p_nonday_open_format=>'<td class="htmldbNonDay">'
  ,p_nonday_close_format=>'</td>'
  ,p_week_open_format=>'<tr>'
  ,p_week_close_format=>'</tr>'
  ,p_daily_title_format=>'<th width="14%" class="calheader">#IDAY#</th>'
  ,p_daily_open_format=>'<tr>'
  ,p_daily_close_format=>'</tr>'
  ,p_month_data_format=>'#DAYS#'
  ,p_month_data_entry_format=>'#DATA#'
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_class_id=>1
  ,p_reference_id=>353925314576528967
  );
  end;
  /
  prompt --application/shared_components/user_interface/themes
  begin
  wwv_flow_api.create_theme(
   p_id=>wwv_flow_api.id(60959336499870900)
  ,p_theme_id=>wwv_flow.g_flow_theme_id
  ,p_theme_name=>'APEX 5.0'
  ,p_theme_internal_name=>'APEX_5.0'
  ,p_ui_type_name=>'DESKTOP'
  ,p_navigation_type=>'T'
  ,p_nav_bar_type=>'NAVBAR'
  ,p_is_locked=>false
  ,p_default_page_template=>wwv_flow_api.id(388540025238259037)
  ,p_default_dialog_template=>wwv_flow_api.id(690928124497379797)
  ,p_error_template=>wwv_flow_api.id(704551089958461817)
  ,p_printer_friendly_template=>wwv_flow_api.id(388540025238259037)
  ,p_default_button_template=>wwv_flow_api.id(185090644904818316)
  ,p_default_region_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_chart_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_form_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_reportr_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_tabform_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_wizard_template=>wwv_flow_api.id(43888235616041589)
  ,p_default_menur_template=>wwv_flow_api.id(210790828811889704)
  ,p_default_listr_template=>wwv_flow_api.id(176657218421490611)
  ,p_default_irr_template=>wwv_flow_api.id(648150344354797170)
  ,p_default_report_template=>wwv_flow_api.id(125590942735690607)
  ,p_default_label_template=>wwv_flow_api.id(563410654242636032)
  ,p_default_menu_template=>wwv_flow_api.id(1866523421953044)
  ,p_default_calendar_template=>wwv_flow_api.id(50608839925389782)
  ,p_default_list_template=>wwv_flow_api.id(699077551664048866)
  ,p_default_nav_list_template=>wwv_flow_api.id(386577803934437130)
  ,p_default_top_nav_list_temp=>wwv_flow_api.id(386577803934437130)
  ,p_default_nav_list_position=>'TOP'
  ,p_default_page_transition=>'NONE'
  ,p_default_popup_transition=>'NONE'
  ,p_theme_description=>'Oracle Application Express 5.0 Internal Theme'
  ,p_files_version=>2
  );
  end;
  /
  prompt --application/shared_components/user_interface/theme_style
  begin
  wwv_flow_api.create_theme_style(
   p_id=>wwv_flow_api.id(205883924445791264)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'Standard'
  ,p_css_file_urls=>wwv_flow_string.join(wwv_flow_t_varchar2(
  '#IMAGE_PREFIX#apex_ui/css/Core#MIN#.css',
  '#IMAGE_PREFIX#apex_ui/css/Theme-Standard#MIN#.css'))
  ,p_is_current=>true
  ,p_is_public=>false
  ,p_is_accessible=>false
  ,p_theme_roller_read_only=>false
  );
  end;
  /
  prompt --application/shared_components/user_interface/theme_files
  begin
  null;
  end;
  /
  prompt --application/shared_components/user_interface/theme_display_points
  begin
  null;
  end;
  /
  prompt --application/shared_components/user_interface/template_opt_groups
  begin
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691138297927729739)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGION_STYLE'
  ,p_display_name=>'Region Style'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Style'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691139277809729740)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGION_PADDING'
  ,p_display_name=>'Region Padding'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Padding'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691472793592400594)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGION_POSITION'
  ,p_display_name=>'Region Position'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Position'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691475013033400595)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGION_OVERFLOW'
  ,p_display_name=>'Region Overflow'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Behavior'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731001441065235)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BUTTON_SET'
  ,p_display_name=>'Button Set'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Not Part of Button Set'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731115915065235)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BUTTON_SIZE'
  ,p_display_name=>'Button Size'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Default Button Size'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731199428065235)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BUTTON_TYPE'
  ,p_display_name=>'Button Type'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Default'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731235091065236)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ICON_POSITION'
  ,p_display_name=>'Icon Position'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Icon on Right'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731377450065236)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SPACING_LEFT'
  ,p_display_name=>'Spacing left'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Default Left Spacing'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731472635065236)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SPACING_RIGHT'
  ,p_display_name=>'Spacing Right'
  ,p_display_sequence=>1
  ,p_template_types=>'BUTTON'
  ,p_null_text=>'Default Right Spacing'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731583598065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HEIGHT'
  ,p_display_name=>'Height'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Behavior'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731635695065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'MAX_HEIGHT'
  ,p_display_name=>'Max Height'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'No Max Height'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731738784065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'MIN_HEIGHT'
  ,p_display_name=>'Min Height'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'No Min Height'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731870669065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ALTERNATING_TABLE_ROWS'
  ,p_display_name=>'Alternating Table Rows'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_null_text=>'Enable'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691731962159065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BADGE_LAYOUT'
  ,p_display_name=>'Badge Layout'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691732086517065237)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BADGE_SIZE'
  ,p_display_name=>'Badge Size'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691732153291065238)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REPORT_BORDER'
  ,p_display_name=>'Report Border'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_null_text=>'Default Border'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691732239205065238)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REPORT_WIDTH'
  ,p_display_name=>'Report Width'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_null_text=>'Default'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691732376281065238)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ROW_HIGHLIGHTING'
  ,p_display_name=>'Row Highlighting'
  ,p_display_sequence=>1
  ,p_template_types=>'REPORT'
  ,p_null_text=>'Disable'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(691837404069585988)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DISPLAY'
  ,p_display_name=>'Display'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(695285604312754214)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LAYOUT'
  ,p_display_name=>'Layout'
  ,p_display_sequence=>1
  ,p_template_types=>'LIST'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(698484580234559417)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGION_TITLE'
  ,p_display_name=>'Region Title'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(699090731758122800)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DISPLAY_ICONS'
  ,p_display_name=>'Display Icons'
  ,p_display_sequence=>1
  ,p_template_types=>'LIST'
  ,p_null_text=>'Default - No Icons'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(742862220419024172)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORM_LABEL_ALIGNMENT'
  ,p_display_name=>'Form Label Alignment'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_help_text=>'Set Form Alignment for Grid Based forms'
  ,p_null_text=>'Right'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(742862551358024173)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORM_LABEL_WIDTH'
  ,p_display_name=>'Form Label Width'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(742863407032024173)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LABEL_WIDTH'
  ,p_display_name=>'Label Width'
  ,p_display_sequence=>1
  ,p_template_types=>'FIELD'
  ,p_null_text=>'Default'
  ,p_is_advanced=>'Y'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(742863643590024173)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORM_LABEL_POSITION'
  ,p_display_name=>'Form Label Position'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_null_text=>'Default Position'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_opt_group(
   p_id=>wwv_flow_api.id(772103760911321319)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ALERT_TYPE'
  ,p_display_name=>'Alert Type'
  ,p_display_sequence=>1
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  end;
  /
  prompt --application/shared_components/user_interface/template_options
  begin
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699071100882041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'2COLUMNGRID'
  ,p_display_name=>'2 Column Grid'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--cols a-MediaList--2cols'
  ,p_group_id=>wwv_flow_api.id(695285604312754214)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699071417734041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'3COLUMNGRID'
  ,p_display_name=>'3 Column Grid'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--cols a-MediaList--3cols'
  ,p_group_id=>wwv_flow_api.id(695285604312754214)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699071659457041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'4COLUMNGRID'
  ,p_display_name=>'4 Column Grid'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--cols a-MediaList--4cols'
  ,p_group_id=>wwv_flow_api.id(695285604312754214)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699071987368041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'5COLUMNGRID'
  ,p_display_name=>'5 Column Grid'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--cols a-MediaList--5cols'
  ,p_group_id=>wwv_flow_api.id(695285604312754214)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699072270034041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SPANHORIZONTALLY'
  ,p_display_name=>'Span Horizontally'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--horizontal'
  ,p_group_id=>wwv_flow_api.id(695285604312754214)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699072569741041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDEBADGE'
  ,p_display_name=>'Hide Badge'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--noBadge'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699072896175041523)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDEDESCRIPTION'
  ,p_display_name=>'Hide Description'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--noDesc'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699073154295041524)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDETITLE'
  ,p_display_name=>'Hide Title'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--noTitle'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699073438911041524)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDEICONS'
  ,p_display_name=>'Hide Icons'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--noIcons'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(699073762311041524)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMLIST'
  ,p_display_name=>'Slim List'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(695285149137754202)
  ,p_css_classes=>'a-MediaList--slim'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742952472626417549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'180PX'
  ,p_display_name=>'180px'
  ,p_display_sequence=>10
  ,p_css_classes=>'h180'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742952692515417549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'240PX'
  ,p_display_name=>'240px'
  ,p_display_sequence=>20
  ,p_css_classes=>'h240'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742952914441417549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'320PX'
  ,p_display_name=>'320px'
  ,p_display_sequence=>30
  ,p_css_classes=>'h320'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742953082793417550)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'480PX'
  ,p_display_name=>'480px'
  ,p_display_sequence=>50
  ,p_css_classes=>'h480'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742953267041417550)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'540PX'
  ,p_display_name=>'540px'
  ,p_display_sequence=>60
  ,p_css_classes=>'h540'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742953512518417550)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'640PX'
  ,p_display_name=>'640px'
  ,p_display_sequence=>70
  ,p_css_classes=>'h640'
  ,p_group_id=>wwv_flow_api.id(691731583598065237)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742953683747417551)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ALIGNLABELSLEFT'
  ,p_display_name=>'Left'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Form--leftLabels'
  ,p_group_id=>wwv_flow_api.id(742862220419024172)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742953819474417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'AUTOWIDTH'
  ,p_display_name=>'Auto Width'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Form--autoWidthLabels'
  ,p_group_id=>wwv_flow_api.id(742862551358024173)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742954046592417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FIRSTBUTTON'
  ,p_display_name=>'First Button'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--pillStart'
  ,p_group_id=>wwv_flow_api.id(691731001441065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742954268699417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FIXEDLARGE'
  ,p_display_name=>'Fixed (Large Width)'
  ,p_display_sequence=>30
  ,p_css_classes=>'a-Form-fixedLabelsLarge'
  ,p_group_id=>wwv_flow_api.id(742862551358024173)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742954427407417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FIXEDMEDIUM'
  ,p_display_name=>'Fixed (Medium Width)'
  ,p_display_sequence=>20
  ,p_css_classes=>'a-Form-fixedLabelsMed'
  ,p_group_id=>wwv_flow_api.id(742862551358024173)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742954647498417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FIXEDWIDTH'
  ,p_display_name=>'Fixed'
  ,p_display_sequence=>10
  ,p_css_classes=>'a-Form--fixedLabels'
  ,p_group_id=>wwv_flow_api.id(742862551358024173)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742954877226417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'INNERBUTTON'
  ,p_display_name=>'Inner Button'
  ,p_display_sequence=>2
  ,p_css_classes=>'a-Button--pill'
  ,p_group_id=>wwv_flow_api.id(691731001441065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742955062267417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LABELAUTOWIDTH'
  ,p_display_name=>'Auto Width'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Form-fieldContainer--autoLabelWidth'
  ,p_group_id=>wwv_flow_api.id(742863407032024173)
  ,p_template_types=>'FIELD'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742955299366417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LABELSABOVE'
  ,p_display_name=>'Labels Above'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Form--labelsAbove'
  ,p_group_id=>wwv_flow_api.id(742863643590024173)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742955454799417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LARGE'
  ,p_display_name=>'Large'
  ,p_display_sequence=>3
  ,p_css_classes=>'a-Button--large'
  ,p_group_id=>wwv_flow_api.id(691731115915065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742955694618417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LARGELEFT'
  ,p_display_name=>'Large'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--gapLeft'
  ,p_group_id=>wwv_flow_api.id(691731377450065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742955892637417552)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LARGERIGHT'
  ,p_display_name=>'Large'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--gapRight'
  ,p_group_id=>wwv_flow_api.id(691731472635065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956108904417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LASTBUTTON'
  ,p_display_name=>'Last Button'
  ,p_display_sequence=>3
  ,p_css_classes=>'a-Button--pillEnd'
  ,p_group_id=>wwv_flow_api.id(691731001441065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956264038417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LEFTICON'
  ,p_display_name=>'Left'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--iconLeft'
  ,p_group_id=>wwv_flow_api.id(691731235091065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956461352417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'PRIMARY'
  ,p_display_name=>'Primary'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--primary'
  ,p_group_id=>wwv_flow_api.id(691731199428065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956578131417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGIONHEADERBUTTON'
  ,p_display_name=>'Button in Region Header'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--regionHeader'
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956748702417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SMALL'
  ,p_display_name=>'Small'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--small'
  ,p_group_id=>wwv_flow_api.id(691731115915065235)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742956952717417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SMALLLEFT'
  ,p_display_name=>'Small'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--padLeft'
  ,p_group_id=>wwv_flow_api.id(691731377450065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742957183926417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SMALLRIGHT'
  ,p_display_name=>'Small'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--padRight'
  ,p_group_id=>wwv_flow_api.id(691731472635065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742957223198417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STRETCHFORMFIELD'
  ,p_display_name=>'Stretch Form Field'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Form-fieldContainer--stretch'
  ,p_template_types=>'FIELD'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742957318632417553)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STRONGBUTTONLABEL'
  ,p_display_name=>'Strong Button Label'
  ,p_display_sequence=>1
  ,p_css_classes=>'a-Button--strongLabel'
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742969232208756351)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REGIONCONTAINSITEMSTEXT'
  ,p_display_name=>'Region Contains Items / Text'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--withItems'
  ,p_template_types=>'REGION'
  ,p_help_text=>'Check this option if this region contains items or text.'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742969511457756352)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVEUIDECORATION'
  ,p_display_name=>'Remove UI Decoration'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--noUI'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742969657427756358)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVEBORDERS'
  ,p_display_name=>'Remove Borders'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--noBorder'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742969844382756358)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPADDING'
  ,p_display_name=>'Slim Padding'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--slimPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742970021725756360)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOPADDING'
  ,p_display_name=>'No Padding'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--noPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742970124152756360)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'WIZARDDIALOG'
  ,p_display_name=>'Used for Wizard Dialog'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--wizard'
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742970378676756360)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'VISIBLE'
  ,p_display_name=>'Visible'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--showTitle'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(742970533287756360)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ACCESSIBLEHEADING'
  ,p_display_name=>'Hidden (Accessible)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691137600029729738)
  ,p_css_classes=>'a-ButtonRegion--accessibleTitle'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  ,p_help_text=>'Use this option to add a visually hidden heading which is accessible for screen readers, but otherwise not visible to users.'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772104971246321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USE_COLORED_BACKGROUND'
  ,p_display_name=>'Use Colored Background'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--colorBG'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772105035882321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USE_DEFAULT_ICONS'
  ,p_display_name=>'Use Default Icons'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--defaultIcons'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772105273850321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'WARNING'
  ,p_display_name=>'Warning'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--warning'
  ,p_group_id=>wwv_flow_api.id(772103760911321319)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772105446472321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ERROR'
  ,p_display_name=>'Error'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--danger'
  ,p_group_id=>wwv_flow_api.id(772103760911321319)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772105655540321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'INFORMATIONAL'
  ,p_display_name=>'Informational'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--info'
  ,p_group_id=>wwv_flow_api.id(772103760911321319)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772105853767321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HORIZONTAL'
  ,p_display_name=>'Horizontal'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--horizontal'
  ,p_group_id=>wwv_flow_api.id(691837404069585988)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772106096688321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'WIZARD'
  ,p_display_name=>'Wizard'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--wizard'
  ,p_group_id=>wwv_flow_api.id(691837404069585988)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772106134678321364)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVE_ICON'
  ,p_display_name=>'Remove Icons'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--noIcon'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(772106398324321365)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SUCCESS'
  ,p_display_name=>'Success'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(772103360713321305)
  ,p_css_classes=>'a-Alert--success'
  ,p_group_id=>wwv_flow_api.id(772103760911321319)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788977131308363665)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DISABLE'
  ,p_display_name=>'Disable'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--staticRowColors'
  ,p_group_id=>wwv_flow_api.id(691731870669065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788977377479363665)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ENABLE'
  ,p_display_name=>'Enable'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--rowHighlight'
  ,p_group_id=>wwv_flow_api.id(691732376281065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788977618097363666)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOBORDERS'
  ,p_display_name=>'No Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--noBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788977727297363666)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HORIZONTALBORDERS'
  ,p_display_name=>'Horizontal Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--horizontalBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788977939281363666)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'VERTICALBORDERS'
  ,p_display_name=>'Vertical Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--verticalBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788978069567363666)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'INLINEBORDERS'
  ,p_display_name=>'Inline Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--inline'
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(788978263555363666)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STRETCH'
  ,p_display_name=>'Stretch'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(125590942735690607)
  ,p_css_classes=>'a-Report--stretch'
  ,p_group_id=>wwv_flow_api.id(691732239205065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(930388973713299142)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ADD_ACTIONS'
  ,p_display_name=>'Add Actions'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(1866530812534296)
  ,p_css_classes=>'js-addActions'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(930389048819299142)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ADD_SLIDE_ANIMATION'
  ,p_display_name=>'Add Slide Animation'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(1866530812534296)
  ,p_css_classes=>'js-slide'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(942557964562755525)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPROGRESSLIST'
  ,p_display_name=>'Slim Progress List'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(42642824188637952)
  ,p_css_classes=>'a-WizardSteps--slim'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043505416984820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FLOATITEMS'
  ,p_display_name=>'Float Items'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--float'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043505601087820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FIXED'
  ,p_display_name=>'Span Horizontally'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--fixed'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043505737470820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STACKEDVERTICALLY'
  ,p_display_name=>'Stacked Vertically'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--stacked'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043505941026820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SMALL'
  ,p_display_name=>'32px'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--small'
  ,p_group_id=>wwv_flow_api.id(691732086517065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043506134921820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'MEDIUM'
  ,p_display_name=>'48px'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--medium'
  ,p_group_id=>wwv_flow_api.id(691732086517065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043506352218820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LARGE'
  ,p_display_name=>'64px'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--large'
  ,p_group_id=>wwv_flow_api.id(691732086517065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043506573395820547)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'XLARGE'
  ,p_display_name=>'96px'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--xlarge'
  ,p_group_id=>wwv_flow_api.id(691732086517065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043506811905820548)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'XXLARGE'
  ,p_display_name=>'128px'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--xxlarge'
  ,p_group_id=>wwv_flow_api.id(691732086517065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043506943473820548)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'2COLUMNNGRID'
  ,p_display_name=>'2 Columnn Grid'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--cols'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043507153501820548)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'3COLUMNGRID'
  ,p_display_name=>'3 Column Grid'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--cols a-BadgeList--3cols'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043507349147820549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'4COLUMNGRID'
  ,p_display_name=>'4 Column Grid'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--cols a-BadgeList--4cols'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043507616363820549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'5COLUMNGRID'
  ,p_display_name=>'5 Column Grid'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--cols a-BadgeList--5cols'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1043507805479820549)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FLEXIBLEBOX'
  ,p_display_name=>'Flexible Box'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(1043503273060820534)
  ,p_css_classes=>'a-BadgeList--flex'
  ,p_group_id=>wwv_flow_api.id(691731962159065237)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133629900792607937)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ENABLE'
  ,p_display_name=>'Enable'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--rowHighlight'
  ,p_group_id=>wwv_flow_api.id(691732376281065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133630052349607938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HORIZONTALBORDERS'
  ,p_display_name=>'Horizontal Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--horizontalBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133630185153607938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'INLINEBORDERS'
  ,p_display_name=>'Inline Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--inline'
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133630323396607938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOBORDERS'
  ,p_display_name=>'No Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--noBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133630544279607938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STRETCH'
  ,p_display_name=>'Stretch'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--stretch'
  ,p_group_id=>wwv_flow_api.id(691732239205065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1133630751528607938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'VERTICALBORDERS'
  ,p_display_name=>'Vertical Borders'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(84270850439042605)
  ,p_css_classes=>'a-Report--verticalBorders'
  ,p_group_id=>wwv_flow_api.id(691732153291065238)
  ,p_template_types=>'REPORT'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159566475698960318)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ACCESSIBLEHEADING'
  ,p_display_name=>'Hidden (Accessible)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--accessibleHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159566669258960318)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'AUTOSCROLL'
  ,p_display_name=>'Scroll'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--scrollAuto'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159566863839960318)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BORDERLESS'
  ,p_display_name=>'Borderless'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--noBorder'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567114409960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DEFAULTPADDING'
  ,p_display_name=>'Default Padding'
  ,p_display_sequence=>30
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--paddedBody'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567294518960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDDEN'
  ,p_display_name=>'Hidden'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--hideHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567515425960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOPADDING'
  ,p_display_name=>'No Padding'
  ,p_display_sequence=>10
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--noPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567610053960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVE_TOP_BORDER'
  ,p_display_name=>'Remove Top Border'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--noTopBorder'
  ,p_template_types=>'REGION'
  );
  end;
  /
  begin
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567761873960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SCROLLWITHSHADOWS'
  ,p_display_name=>'Scroll (with Shadows)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--shadowScroll'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159567967133960323)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIDEBAR'
  ,p_display_name=>'Sidebar'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--sideRegion'
  ,p_group_id=>wwv_flow_api.id(691472793592400594)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159568119703960324)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIMPLE'
  ,p_display_name=>'Simple'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--simple'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1159568388078960324)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPADDING'
  ,p_display_name=>'Slim Padding'
  ,p_display_sequence=>20
  ,p_region_template_id=>wwv_flow_api.id(1159564658462960305)
  ,p_css_classes=>'a-Region--slimPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1201424814627446389)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LEFT'
  ,p_display_name=>'Left'
  ,p_display_sequence=>1
  ,p_button_template_id=>wwv_flow_api.id(653227446322992331)
  ,p_css_classes=>'a-Button--iconLeft'
  ,p_group_id=>wwv_flow_api.id(691731235091065236)
  ,p_template_types=>'BUTTON'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1243529447712810916)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USED_IN_DIALOG'
  ,p_display_name=>'Used in Dialog'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(1149157923728493929)
  ,p_css_classes=>'a-ProcessingRegion--dialog'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513081379596006)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DONOTWRAPTEXT'
  ,p_display_name=>'Do not wrap text'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--nowrap'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513127516596006)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SHOWBADGES'
  ,p_display_name=>'Show Badges'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--showBadge'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513307762596006)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SHOWRIGHTARROW'
  ,p_display_name=>'Show Right Arrow'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--showArrow'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513411697596006)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USEBRIGHTHOVERS'
  ,p_display_name=>'Use Bright Hovers'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--brightHover'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513545578596010)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORTOPLEVELONLY'
  ,p_display_name=>'For top level only'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--showTopIcons'
  ,p_group_id=>wwv_flow_api.id(699090731758122800)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527513740575596010)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORALLITEMS'
  ,p_display_name=>'For all items'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(36929519847049007)
  ,p_css_classes=>'a-LinksList--showIcons'
  ,p_group_id=>wwv_flow_api.id(699090731758122800)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527529409229596090)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DONOTWRAPTEXT'
  ,p_display_name=>'Do not wrap text'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--nowrap'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527529420042596090)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SHOWBADGES'
  ,p_display_name=>'Show Badges'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--showBadge'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527529577227596090)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SHOWRIGHTARROW'
  ,p_display_name=>'Show Right Arrow'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--showArrow'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527529688271596090)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USEBRIGHTHOVERS'
  ,p_display_name=>'Use Bright Hovers'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--brightHover'
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527529828697596091)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORTOPLEVELONLY'
  ,p_display_name=>'For top level only'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--showTopIcons'
  ,p_group_id=>wwv_flow_api.id(699090731758122800)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1527530022890596091)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FORALLITEMS'
  ,p_display_name=>'For all items'
  ,p_display_sequence=>1
  ,p_list_template_id=>wwv_flow_api.id(699077551664048866)
  ,p_css_classes=>'a-LinksList--showIcons'
  ,p_group_id=>wwv_flow_api.id(699090731758122800)
  ,p_template_types=>'LIST'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1546677510754891938)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SHOWRIGHTARROW'
  ,p_display_name=>'Show Right Arrow'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(13530728442761851)
  ,p_css_classes=>'a-LinksList--showArrow'
  ,p_template_types=>'REPORT'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1546677555499891939)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'USEBRIGHTHOVERS'
  ,p_display_name=>'Use Bright Hovers'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(13530728442761851)
  ,p_css_classes=>'a-LinksList--brightHover'
  ,p_template_types=>'REPORT'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1546677706817891939)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DONOTWRAPTEXT'
  ,p_display_name=>'Do not wrap text'
  ,p_display_sequence=>1
  ,p_report_template_id=>wwv_flow_api.id(13530728442761851)
  ,p_css_classes=>'a-LinksList--nowrap'
  ,p_template_types=>'REPORT'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556673249479822330)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDDEN'
  ,p_display_name=>'Hidden'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--hideHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556673477802822330)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ACCESSIBLEHEADING'
  ,p_display_name=>'Hidden (Accessible)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--accessibleHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556673715253822330)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPADDING'
  ,p_display_name=>'Slim Padding'
  ,p_display_sequence=>20
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--slimPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556673879034822330)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOPADDING'
  ,p_display_name=>'No Padding'
  ,p_display_sequence=>10
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--noPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674115510822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIDEBAR'
  ,p_display_name=>'Sidebar'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--sideRegion'
  ,p_group_id=>wwv_flow_api.id(691472793592400594)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674239465822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BORDERLESS'
  ,p_display_name=>'Borderless'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--noBorder'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674451591822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SCROLLWITHSHADOWS'
  ,p_display_name=>'Scroll (with Shadows)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--shadowScroll'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674625744822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'AUTOSCROLL'
  ,p_display_name=>'Scroll'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--scrollAuto'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674873424822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DEFAULTPADDING'
  ,p_display_name=>'Default Padding'
  ,p_display_sequence=>30
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--paddedBody'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556674959845822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVE_TOP_BORDER'
  ,p_display_name=>'Remove Top Border'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--noTopBorder'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556675121486822331)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIMPLE'
  ,p_display_name=>'Simple'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(176657218421490611)
  ,p_css_classes=>'a-Region--simple'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556696432369940777)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'RESPONSIVEICONCOLUMNS'
  ,p_display_name=>'Responsive Icon Columns'
  ,p_display_sequence=>2
  ,p_region_template_id=>wwv_flow_api.id(648150344354797170)
  ,p_css_classes=>'a-IRR-region--responsiveIconView'
  ,p_template_types=>'REGION'
  ,p_help_text=>'Automatically increases number of icon columns to show based on screen resolution.'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556696566118940777)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ICONLABELSRIGHT'
  ,p_display_name=>'Icon Labels on Right'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(648150344354797170)
  ,p_css_classes=>'a-IRR-region--iconLabelsRight'
  ,p_template_types=>'REGION'
  ,p_help_text=>'Shows labels in Icon View to the right of the icon.'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556696663050940777)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVEOUTERBORDERS'
  ,p_display_name=>'Remove Outer Borders'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(648150344354797170)
  ,p_css_classes=>'a-IRR-region--noOuterBorders'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556705719455956225)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'FLUSHREGION'
  ,p_display_name=>'Flush Region'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--flush'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556705894251956225)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'STACKEDREGION'
  ,p_display_name=>'Stacked Region'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--stacked'
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556706043254956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPADDING'
  ,p_display_name=>'Slim Padding'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--slimPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556706254375956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOPADDING'
  ,p_display_name=>'No Padding'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--noPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556706438759956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIDEBAR'
  ,p_display_name=>'Sidebar'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--sideRegion'
  ,p_group_id=>wwv_flow_api.id(691472793592400594)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556706694539956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BORDERLESS'
  ,p_display_name=>'Borderless'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--noBorder'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556706819102956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SCROLLWITHSHADOWS'
  ,p_display_name=>'Scroll (with Shadows)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--shadowScroll'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556707087519956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'AUTOSCROLL'
  ,p_display_name=>'Scroll'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'a-Region--scrollAuto'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556707266548956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'EXPANDED'
  ,p_display_name=>'Expanded'
  ,p_display_sequence=>.1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'is-expanded'
  ,p_group_id=>wwv_flow_api.id(691837404069585988)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556707439330956226)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'COLLAPSED'
  ,p_display_name=>'Collapsed'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(691833103563585985)
  ,p_css_classes=>'is-collapsed'
  ,p_group_id=>wwv_flow_api.id(691837404069585988)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556733544052964785)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'REMOVE_TOP_BORDER'
  ,p_display_name=>'Remove Top Border'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--noTopBorder'
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556733812200964785)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'ACCESSIBLEHEADING'
  ,p_display_name=>'Hidden (Accessible)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--accessibleHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556733944328964785)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'AUTOSCROLL'
  ,p_display_name=>'Scroll'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--scrollAuto'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556734124577964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'BORDERLESS'
  ,p_display_name=>'Borderless'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--noBorder'
  ,p_group_id=>wwv_flow_api.id(691138297927729739)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556734357178964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'DEFAULTPADDING'
  ,p_display_name=>'Default Padding'
  ,p_display_sequence=>30
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--paddedBody'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556734537762964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'HIDDEN'
  ,p_display_name=>'Hidden'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--hideHeader'
  ,p_group_id=>wwv_flow_api.id(698484580234559417)
  ,p_template_types=>'REGION'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556734731470964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'NOPADDING'
  ,p_display_name=>'No Padding'
  ,p_display_sequence=>10
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--noPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556735010363964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SCROLLWITHSHADOWS'
  ,p_display_name=>'Scroll (with Shadows)'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--shadowScroll'
  ,p_group_id=>wwv_flow_api.id(691475013033400595)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556735181655964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SIDEBAR'
  ,p_display_name=>'Sidebar'
  ,p_display_sequence=>1
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--sideRegion'
  ,p_group_id=>wwv_flow_api.id(691472793592400594)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(1556735367754964786)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'SLIMPADDING'
  ,p_display_name=>'Slim Padding'
  ,p_display_sequence=>20
  ,p_region_template_id=>wwv_flow_api.id(657431697548601638)
  ,p_css_classes=>'a-Region--slimPadding'
  ,p_group_id=>wwv_flow_api.id(691139277809729740)
  ,p_template_types=>'REGION'
  ,p_is_advanced=>'N'
  );
  wwv_flow_api.create_template_option(
   p_id=>wwv_flow_api.id(2047530980360203123)
  ,p_theme_id => wwv_flow.g_flow_theme_id
  ,p_name=>'LEFT'
  ,p_display_name=>'Left'
  ,p_display_sequence=>1
  ,p_button_template_id=>wwv_flow_api.id(2047530753586203056)
  ,p_css_classes=>'a-Button--iconLeft'
  ,p_group_id=>wwv_flow_api.id(691731235091065236)
  ,p_template_types=>'BUTTON'
  );
  end;
  /
  begin
  wwv_flow_api.import_end(p_auto_install_sup_obj => nvl(wwv_flow_application_install.get_auto_install_sup_obj, false), p_is_component_import => true);
  commit;
  end;
  /
  set verify on feedback on define on
  prompt  ...done
  