wwv_flow_imp.g_varchar2_table(2870) := '2C2072302C2022203020222C206C302C20222C222C2031202D2063772C202220222C2078332C20222C222C207933293B0D0A2020202020207D0D0A202020202020706174682E7075736828225A22293B0D0A20202020202072657475726E20706174682E';
wwv_flow_imp.g_varchar2_table(2871) := '6A6F696E282222293B0D0A202020207D0D0A2020202066756E6374696F6E20636972636C655365676D656E742872312C20637729207B0D0A20202020202072657475726E20224D302C22202B207231202B20224122202B207231202B20222C22202B2072';
wwv_flow_imp.g_varchar2_table(2872) := '31202B2022203020312C22202B206377202B202220302C22202B202D7231202B20224122202B207231202B20222C22202B207231202B2022203020312C22202B206377202B202220302C22202B2072313B0D0A202020207D0D0A202020206172632E696E';
wwv_flow_imp.g_varchar2_table(2873) := '6E6572526164697573203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20696E6E65725261646975733B0D0A202020202020696E6E6572526164697573203D2064335F';
wwv_flow_imp.g_varchar2_table(2874) := '66756E63746F722876293B0D0A20202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E6F75746572526164697573203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C65';
wwv_flow_imp.g_varchar2_table(2875) := '6E677468292072657475726E206F757465725261646975733B0D0A2020202020206F75746572526164697573203D2064335F66756E63746F722876293B0D0A20202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E636F';
wwv_flow_imp.g_varchar2_table(2876) := '726E6572526164697573203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20636F726E65725261646975733B0D0A202020202020636F726E6572526164697573203D20';
wwv_flow_imp.g_varchar2_table(2877) := '64335F66756E63746F722876293B0D0A20202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E706164526164697573203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C';
wwv_flow_imp.g_varchar2_table(2878) := '656E677468292072657475726E207061645261646975733B0D0A202020202020706164526164697573203D2076203D3D2064335F7376675F6172634175746F203F2064335F7376675F6172634175746F203A2064335F66756E63746F722876293B0D0A20';
wwv_flow_imp.g_varchar2_table(2879) := '202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E7374617274416E676C65203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207374';
wwv_flow_imp.g_varchar2_table(2880) := '617274416E676C653B0D0A2020202020207374617274416E676C65203D2064335F66756E63746F722876293B0D0A20202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E656E64416E676C65203D2066756E6374696F6E';
wwv_flow_imp.g_varchar2_table(2881) := '287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20656E64416E676C653B0D0A202020202020656E64416E676C65203D2064335F66756E63746F722876293B0D0A20202020202072657475726E20';
wwv_flow_imp.g_varchar2_table(2882) := '6172633B0D0A202020207D3B0D0A202020206172632E706164416E676C65203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20706164416E676C653B0D0A2020202020';
wwv_flow_imp.g_varchar2_table(2883) := '20706164416E676C65203D2064335F66756E63746F722876293B0D0A20202020202072657475726E206172633B0D0A202020207D3B0D0A202020206172632E63656E74726F6964203D2066756E6374696F6E2829207B0D0A202020202020766172207220';
wwv_flow_imp.g_varchar2_table(2884) := '3D20282B696E6E65725261646975732E6170706C7928746869732C20617267756D656E747329202B202B6F757465725261646975732E6170706C7928746869732C20617267756D656E74732929202F20322C2061203D20282B7374617274416E676C652E';
wwv_flow_imp.g_varchar2_table(2885) := '6170706C7928746869732C20617267756D656E747329202B202B656E64416E676C652E6170706C7928746869732C20617267756D656E74732929202F2032202D2068616C66CF803B0D0A20202020202072657475726E205B204D6174682E636F73286129';
wwv_flow_imp.g_varchar2_table(2886) := '202A20722C204D6174682E73696E286129202A2072205D3B0D0A202020207D3B0D0A2020202072657475726E206172633B0D0A20207D3B0D0A20207661722064335F7376675F6172634175746F203D20226175746F223B0D0A202066756E6374696F6E20';
wwv_flow_imp.g_varchar2_table(2887) := '64335F7376675F617263496E6E6572526164697573286429207B0D0A2020202072657475726E20642E696E6E65725261646975733B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6172634F75746572526164697573286429207B0D0A20';
wwv_flow_imp.g_varchar2_table(2888) := '20202072657475726E20642E6F757465725261646975733B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6172635374617274416E676C65286429207B0D0A2020202072657475726E20642E7374617274416E676C653B0D0A20207D0D0A';
wwv_flow_imp.g_varchar2_table(2889) := '202066756E6374696F6E2064335F7376675F617263456E64416E676C65286429207B0D0A2020202072657475726E20642E656E64416E676C653B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F617263506164416E676C65286429207B0D';
wwv_flow_imp.g_varchar2_table(2890) := '0A2020202072657475726E206420262620642E706164416E676C653B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F61726353776565702878302C2079302C2078312C20793129207B0D0A2020202072657475726E20287830202D207831';
wwv_flow_imp.g_varchar2_table(2891) := '29202A207930202D20287930202D20793129202A207830203E2030203F2030203A20313B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F617263436F726E657254616E67656E74732870302C2070312C2072312C2072632C20637729207B';
wwv_flow_imp.g_varchar2_table(2892) := '0D0A2020202076617220783031203D2070305B305D202D2070315B305D2C20793031203D2070305B315D202D2070315B315D2C206C6F203D20286377203F207263203A202D726329202F204D6174682E7371727428783031202A20783031202B20793031';
wwv_flow_imp.g_varchar2_table(2893) := '202A20793031292C206F78203D206C6F202A207930312C206F79203D202D6C6F202A207830312C207831203D2070305B305D202B206F782C207931203D2070305B315D202B206F792C207832203D2070315B305D202B206F782C207932203D2070315B31';
wwv_flow_imp.g_varchar2_table(2894) := '5D202B206F792C207833203D20287831202B20783229202F20322C207933203D20287931202B20793229202F20322C206478203D207832202D2078312C206479203D207932202D2079312C206432203D206478202A206478202B206479202A2064792C20';
wwv_flow_imp.g_varchar2_table(2895) := '72203D207231202D2072632C2044203D207831202A207932202D207832202A2079312C2064203D20286479203C2030203F202D31203A203129202A204D6174682E737172742872202A2072202A206432202D2044202A2044292C20637830203D20284420';
wwv_flow_imp.g_varchar2_table(2896) := '2A206479202D206478202A206429202F2064322C20637930203D20282D44202A206478202D206479202A206429202F2064322C20637831203D202844202A206479202B206478202A206429202F2064322C20637931203D20282D44202A206478202B2064';
wwv_flow_imp.g_varchar2_table(2897) := '79202A206429202F2064322C20647830203D20637830202D2078332C20647930203D20637930202D2079332C20647831203D20637831202D2078332C20647931203D20637931202D2079333B0D0A2020202069662028647830202A20647830202B206479';
wwv_flow_imp.g_varchar2_table(2898) := '30202A20647930203E20647831202A20647831202B20647931202A206479312920637830203D206378312C20637930203D206379313B0D0A2020202072657475726E205B205B20637830202D206F782C20637930202D206F79205D2C205B20637830202A';
wwv_flow_imp.g_varchar2_table(2899) := '207231202F20722C20637930202A207231202F2072205D205D3B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E652870726F6A656374696F6E29207B0D0A202020207661722078203D2064335F67656F6D5F706F696E74582C2079';
wwv_flow_imp.g_varchar2_table(2900) := '203D2064335F67656F6D5F706F696E74592C20646566696E6564203D2064335F747275652C20696E746572706F6C617465203D2064335F7376675F6C696E654C696E6561722C20696E746572706F6C6174654B6579203D20696E746572706F6C6174652E';
wwv_flow_imp.g_varchar2_table(2901) := '6B65792C2074656E73696F6E203D202E373B0D0A2020202066756E6374696F6E206C696E65286461746129207B0D0A202020202020766172207365676D656E7473203D205B5D2C20706F696E7473203D205B5D2C2069203D202D312C206E203D20646174';
wwv_flow_imp.g_varchar2_table(2902) := '612E6C656E6774682C20642C206678203D2064335F66756E63746F722878292C206679203D2064335F66756E63746F722879293B0D0A20202020202066756E6374696F6E207365676D656E742829207B0D0A20202020202020207365676D656E74732E70';
wwv_flow_imp.g_varchar2_table(2903) := '75736828224D222C20696E746572706F6C6174652870726F6A656374696F6E28706F696E7473292C2074656E73696F6E29293B0D0A2020202020207D0D0A2020202020207768696C6520282B2B69203C206E29207B0D0A20202020202020206966202864';
wwv_flow_imp.g_varchar2_table(2904) := '6566696E65642E63616C6C28746869732C2064203D20646174615B695D2C20692929207B0D0A20202020202020202020706F696E74732E70757368285B202B66782E63616C6C28746869732C20642C2069292C202B66792E63616C6C28746869732C2064';
wwv_flow_imp.g_varchar2_table(2905) := '2C206929205D293B0D0A20202020202020207D20656C73652069662028706F696E74732E6C656E67746829207B0D0A202020202020202020207365676D656E7428293B0D0A20202020202020202020706F696E7473203D205B5D3B0D0A20202020202020';
wwv_flow_imp.g_varchar2_table(2906) := '207D0D0A2020202020207D0D0A20202020202069662028706F696E74732E6C656E67746829207365676D656E7428293B0D0A20202020202072657475726E207365676D656E74732E6C656E677468203F207365676D656E74732E6A6F696E28222229203A';
wwv_flow_imp.g_varchar2_table(2907) := '206E756C6C3B0D0A202020207D0D0A202020206C696E652E78203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20783B0D0A20202020202078203D205F3B0D0A202020';
wwv_flow_imp.g_varchar2_table(2908) := '20202072657475726E206C696E653B0D0A202020207D3B0D0A202020206C696E652E79203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20793B0D0A20202020202079';
wwv_flow_imp.g_varchar2_table(2909) := '203D205F3B0D0A20202020202072657475726E206C696E653B0D0A202020207D3B0D0A202020206C696E652E646566696E6564203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E67746829207265';
wwv_flow_imp.g_varchar2_table(2910) := '7475726E20646566696E65643B0D0A202020202020646566696E6564203D205F3B0D0A20202020202072657475726E206C696E653B0D0A202020207D3B0D0A202020206C696E652E696E746572706F6C617465203D2066756E6374696F6E285F29207B0D';
wwv_flow_imp.g_varchar2_table(2911) := '0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20696E746572706F6C6174654B65793B0D0A20202020202069662028747970656F66205F203D3D3D202266756E6374696F6E222920696E746572706F6C617465';
wwv_flow_imp.g_varchar2_table(2912) := '4B6579203D20696E746572706F6C617465203D205F3B20656C736520696E746572706F6C6174654B6579203D2028696E746572706F6C617465203D2064335F7376675F6C696E65496E746572706F6C61746F72732E676574285F29207C7C2064335F7376';
wwv_flow_imp.g_varchar2_table(2913) := '675F6C696E654C696E656172292E6B65793B0D0A20202020202072657475726E206C696E653B0D0A202020207D3B0D0A202020206C696E652E74656E73696F6E203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E';
wwv_flow_imp.g_varchar2_table(2914) := '74732E6C656E677468292072657475726E2074656E73696F6E3B0D0A20202020202074656E73696F6E203D205F3B0D0A20202020202072657475726E206C696E653B0D0A202020207D3B0D0A2020202072657475726E206C696E653B0D0A20207D0D0A20';
wwv_flow_imp.g_varchar2_table(2915) := '2064332E7376672E6C696E65203D2066756E6374696F6E2829207B0D0A2020202072657475726E2064335F7376675F6C696E652864335F6964656E74697479293B0D0A20207D3B0D0A20207661722064335F7376675F6C696E65496E746572706F6C6174';
wwv_flow_imp.g_varchar2_table(2916) := '6F7273203D2064332E6D6170287B0D0A202020206C696E6561723A2064335F7376675F6C696E654C696E6561722C0D0A20202020226C696E6561722D636C6F736564223A2064335F7376675F6C696E654C696E656172436C6F7365642C0D0A2020202073';
wwv_flow_imp.g_varchar2_table(2917) := '7465703A2064335F7376675F6C696E65537465702C0D0A2020202022737465702D6265666F7265223A2064335F7376675F6C696E65537465704265666F72652C0D0A2020202022737465702D6166746572223A2064335F7376675F6C696E655374657041';
wwv_flow_imp.g_varchar2_table(2918) := '667465722C0D0A2020202062617369733A2064335F7376675F6C696E6542617369732C0D0A202020202262617369732D6F70656E223A2064335F7376675F6C696E6542617369734F70656E2C0D0A202020202262617369732D636C6F736564223A206433';
wwv_flow_imp.g_varchar2_table(2919) := '5F7376675F6C696E654261736973436C6F7365642C0D0A2020202062756E646C653A2064335F7376675F6C696E6542756E646C652C0D0A2020202063617264696E616C3A2064335F7376675F6C696E6543617264696E616C2C0D0A202020202263617264';
wwv_flow_imp.g_varchar2_table(2920) := '696E616C2D6F70656E223A2064335F7376675F6C696E6543617264696E616C4F70656E2C0D0A202020202263617264696E616C2D636C6F736564223A2064335F7376675F6C696E6543617264696E616C436C6F7365642C0D0A202020206D6F6E6F746F6E';
wwv_flow_imp.g_varchar2_table(2921) := '653A2064335F7376675F6C696E654D6F6E6F746F6E650D0A20207D293B0D0A202064335F7376675F6C696E65496E746572706F6C61746F72732E666F72456163682866756E6374696F6E286B65792C2076616C756529207B0D0A2020202076616C75652E';
wwv_flow_imp.g_varchar2_table(2922) := '6B6579203D206B65793B0D0A2020202076616C75652E636C6F736564203D202F2D636C6F736564242F2E74657374286B6579293B0D0A20207D293B0D0A202066756E6374696F6E2064335F7376675F6C696E654C696E65617228706F696E747329207B0D';
wwv_flow_imp.g_varchar2_table(2923) := '0A2020202072657475726E20706F696E74732E6A6F696E28224C22293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E654C696E656172436C6F73656428706F696E747329207B0D0A2020202072657475726E2064335F7376675F';
wwv_flow_imp.g_varchar2_table(2924) := '6C696E654C696E65617228706F696E747329202B20225A223B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E655374657028706F696E747329207B0D0A202020207661722069203D20302C206E203D20706F696E74732E6C656E67';
wwv_flow_imp.g_varchar2_table(2925) := '74682C2070203D20706F696E74735B305D2C2070617468203D205B20705B305D2C20222C222C20705B315D205D3B0D0A202020207768696C6520282B2B69203C206E2920706174682E70757368282248222C2028705B305D202B202870203D20706F696E';
wwv_flow_imp.g_varchar2_table(2926) := '74735B695D295B305D29202F20322C202256222C20705B315D293B0D0A20202020696620286E203E20312920706174682E70757368282248222C20705B305D293B0D0A2020202072657475726E20706174682E6A6F696E282222293B0D0A20207D0D0A20';
wwv_flow_imp.g_varchar2_table(2927) := '2066756E6374696F6E2064335F7376675F6C696E65537465704265666F726528706F696E747329207B0D0A202020207661722069203D20302C206E203D20706F696E74732E6C656E6774682C2070203D20706F696E74735B305D2C2070617468203D205B';
wwv_flow_imp.g_varchar2_table(2928) := '20705B305D2C20222C222C20705B315D205D3B0D0A202020207768696C6520282B2B69203C206E2920706174682E70757368282256222C202870203D20706F696E74735B695D295B315D2C202248222C20705B305D293B0D0A2020202072657475726E20';
wwv_flow_imp.g_varchar2_table(2929) := '706174682E6A6F696E282222293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6553746570416674657228706F696E747329207B0D0A202020207661722069203D20302C206E203D20706F696E74732E6C656E6774682C207020';
wwv_flow_imp.g_varchar2_table(2930) := '3D20706F696E74735B305D2C2070617468203D205B20705B305D2C20222C222C20705B315D205D3B0D0A202020207768696C6520282B2B69203C206E2920706174682E70757368282248222C202870203D20706F696E74735B695D295B305D2C20225622';
wwv_flow_imp.g_varchar2_table(2931) := '2C20705B315D293B0D0A2020202072657475726E20706174682E6A6F696E282222293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6543617264696E616C4F70656E28706F696E74732C2074656E73696F6E29207B0D0A202020';
wwv_flow_imp.g_varchar2_table(2932) := '2072657475726E20706F696E74732E6C656E677468203C2034203F2064335F7376675F6C696E654C696E65617228706F696E747329203A20706F696E74735B315D202B2064335F7376675F6C696E654865726D69746528706F696E74732E736C69636528';
wwv_flow_imp.g_varchar2_table(2933) := '312C202D31292C2064335F7376675F6C696E6543617264696E616C54616E67656E747328706F696E74732C2074656E73696F6E29293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6543617264696E616C436C6F73656428706F';
wwv_flow_imp.g_varchar2_table(2934) := '696E74732C2074656E73696F6E29207B0D0A2020202072657475726E20706F696E74732E6C656E677468203C2033203F2064335F7376675F6C696E654C696E65617228706F696E747329203A20706F696E74735B305D202B2064335F7376675F6C696E65';
wwv_flow_imp.g_varchar2_table(2935) := '4865726D6974652828706F696E74732E7075736828706F696E74735B305D292C200D0A20202020706F696E7473292C2064335F7376675F6C696E6543617264696E616C54616E67656E7473285B20706F696E74735B706F696E74732E6C656E677468202D';
wwv_flow_imp.g_varchar2_table(2936) := '20325D205D2E636F6E63617428706F696E74732C205B20706F696E74735B315D205D292C2074656E73696F6E29293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6543617264696E616C28706F696E74732C2074656E73696F6E';
wwv_flow_imp.g_varchar2_table(2937) := '29207B0D0A2020202072657475726E20706F696E74732E6C656E677468203C2033203F2064335F7376675F6C696E654C696E65617228706F696E747329203A20706F696E74735B305D202B2064335F7376675F6C696E654865726D69746528706F696E74';
wwv_flow_imp.g_varchar2_table(2938) := '732C2064335F7376675F6C696E6543617264696E616C54616E67656E747328706F696E74732C2074656E73696F6E29293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E654865726D69746528706F696E74732C2074616E67656E';
wwv_flow_imp.g_varchar2_table(2939) := '747329207B0D0A202020206966202874616E67656E74732E6C656E677468203C2031207C7C20706F696E74732E6C656E67746820213D2074616E67656E74732E6C656E67746820262620706F696E74732E6C656E67746820213D2074616E67656E74732E';
wwv_flow_imp.g_varchar2_table(2940) := '6C656E677468202B203229207B0D0A20202020202072657475726E2064335F7376675F6C696E654C696E65617228706F696E7473293B0D0A202020207D0D0A202020207661722071756164203D20706F696E74732E6C656E67746820213D2074616E6765';
wwv_flow_imp.g_varchar2_table(2941) := '6E74732E6C656E6774682C2070617468203D2022222C207030203D20706F696E74735B305D2C2070203D20706F696E74735B315D2C207430203D2074616E67656E74735B305D2C2074203D2074302C207069203D20313B0D0A2020202069662028717561';
wwv_flow_imp.g_varchar2_table(2942) := '6429207B0D0A20202020202070617468202B3D20225122202B2028705B305D202D2074305B305D202A2032202F203329202B20222C22202B2028705B315D202D2074305B315D202A2032202F203329202B20222C22202B20705B305D202B20222C22202B';
wwv_flow_imp.g_varchar2_table(2943) := '20705B315D3B0D0A2020202020207030203D20706F696E74735B315D3B0D0A2020202020207069203D20323B0D0A202020207D0D0A202020206966202874616E67656E74732E6C656E677468203E203129207B0D0A20202020202074203D2074616E6765';
wwv_flow_imp.g_varchar2_table(2944) := '6E74735B315D3B0D0A20202020202070203D20706F696E74735B70695D3B0D0A20202020202070692B2B3B0D0A20202020202070617468202B3D20224322202B202870305B305D202B2074305B305D29202B20222C22202B202870305B315D202B207430';
wwv_flow_imp.g_varchar2_table(2945) := '5B315D29202B20222C22202B2028705B305D202D20745B305D29202B20222C22202B2028705B315D202D20745B315D29202B20222C22202B20705B305D202B20222C22202B20705B315D3B0D0A202020202020666F7220287661722069203D20323B2069';
wwv_flow_imp.g_varchar2_table(2946) := '203C2074616E67656E74732E6C656E6774683B20692B2B2C2070692B2B29207B0D0A202020202020202070203D20706F696E74735B70695D3B0D0A202020202020202074203D2074616E67656E74735B695D3B0D0A202020202020202070617468202B3D';
wwv_flow_imp.g_varchar2_table(2947) := '20225322202B2028705B305D202D20745B305D29202B20222C22202B2028705B315D202D20745B315D29202B20222C22202B20705B305D202B20222C22202B20705B315D3B0D0A2020202020207D0D0A202020207D0D0A20202020696620287175616429';
wwv_flow_imp.g_varchar2_table(2948) := '207B0D0A202020202020766172206C70203D20706F696E74735B70695D3B0D0A20202020202070617468202B3D20225122202B2028705B305D202B20745B305D202A2032202F203329202B20222C22202B2028705B315D202B20745B315D202A2032202F';
wwv_flow_imp.g_varchar2_table(2949) := '203329202B20222C22202B206C705B305D202B20222C22202B206C705B315D3B0D0A202020207D0D0A2020202072657475726E20706174683B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6543617264696E616C54616E67656E';
wwv_flow_imp.g_varchar2_table(2950) := '747328706F696E74732C2074656E73696F6E29207B0D0A202020207661722074616E67656E7473203D205B5D2C2061203D202831202D2074656E73696F6E29202F20322C2070302C207031203D20706F696E74735B305D2C207032203D20706F696E7473';
wwv_flow_imp.g_varchar2_table(2951) := '5B315D2C2069203D20312C206E203D20706F696E74732E6C656E6774683B0D0A202020207768696C6520282B2B69203C206E29207B0D0A2020202020207030203D2070313B0D0A2020202020207031203D2070323B0D0A2020202020207032203D20706F';
wwv_flow_imp.g_varchar2_table(2952) := '696E74735B695D3B0D0A20202020202074616E67656E74732E70757368285B2061202A202870325B305D202D2070305B305D292C2061202A202870325B315D202D2070305B315D29205D293B0D0A202020207D0D0A2020202072657475726E2074616E67';
wwv_flow_imp.g_varchar2_table(2953) := '656E74733B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E65426173697328706F696E747329207B0D0A2020202069662028706F696E74732E6C656E677468203C2033292072657475726E2064335F7376675F6C696E654C696E65';
wwv_flow_imp.g_varchar2_table(2954) := '617228706F696E7473293B0D0A202020207661722069203D20312C206E203D20706F696E74732E6C656E6774682C207069203D20706F696E74735B305D2C207830203D2070695B305D2C207930203D2070695B315D2C207078203D205B2078302C207830';
wwv_flow_imp.g_varchar2_table(2955) := '2C2078302C20287069203D20706F696E74735B315D295B305D205D2C207079203D205B2079302C2079302C2079302C2070695B315D205D2C2070617468203D205B2078302C20222C222C2079302C20224C222C2064335F7376675F6C696E65446F743428';
wwv_flow_imp.g_varchar2_table(2956) := '64335F7376675F6C696E65426173697342657A696572332C207078292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572332C20707929205D3B0D0A20202020706F696E74732E7075736828';
wwv_flow_imp.g_varchar2_table(2957) := '706F696E74735B6E202D20315D293B0D0A202020207768696C6520282B2B69203C3D206E29207B0D0A2020202020207069203D20706F696E74735B695D3B0D0A20202020202070782E736869667428293B0D0A20202020202070782E707573682870695B';
wwv_flow_imp.g_varchar2_table(2958) := '305D293B0D0A20202020202070792E736869667428293B0D0A20202020202070792E707573682870695B315D293B0D0A20202020202064335F7376675F6C696E65426173697342657A69657228706174682C2070782C207079293B0D0A202020207D0D0A';
wwv_flow_imp.g_varchar2_table(2959) := '20202020706F696E74732E706F7028293B0D0A20202020706174682E7075736828224C222C207069293B0D0A2020202072657475726E20706174682E6A6F696E282222293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E654261';
wwv_flow_imp.g_varchar2_table(2960) := '7369734F70656E28706F696E747329207B0D0A2020202069662028706F696E74732E6C656E677468203C2034292072657475726E2064335F7376675F6C696E654C696E65617228706F696E7473293B0D0A202020207661722070617468203D205B5D2C20';
wwv_flow_imp.g_varchar2_table(2961) := '69203D202D312C206E203D20706F696E74732E6C656E6774682C2070692C207078203D205B2030205D2C207079203D205B2030205D3B0D0A202020207768696C6520282B2B69203C203329207B0D0A2020202020207069203D20706F696E74735B695D3B';
wwv_flow_imp.g_varchar2_table(2962) := '0D0A20202020202070782E707573682870695B305D293B0D0A20202020202070792E707573682870695B315D293B0D0A202020207D0D0A20202020706174682E707573682864335F7376675F6C696E65446F74342864335F7376675F6C696E6542617369';
wwv_flow_imp.g_varchar2_table(2963) := '7342657A696572332C20707829202B20222C22202B2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572332C20707929293B0D0A202020202D2D693B0D0A202020207768696C6520282B2B69203C206E2920';
wwv_flow_imp.g_varchar2_table(2964) := '7B0D0A2020202020207069203D20706F696E74735B695D3B0D0A20202020202070782E736869667428293B0D0A20202020202070782E707573682870695B305D293B0D0A20202020202070792E736869667428293B0D0A20202020202070792E70757368';
wwv_flow_imp.g_varchar2_table(2965) := '2870695B315D293B0D0A20202020202064335F7376675F6C696E65426173697342657A69657228706174682C2070782C207079293B0D0A202020207D0D0A2020202072657475726E20706174682E6A6F696E282222293B0D0A20207D0D0A202066756E63';
wwv_flow_imp.g_varchar2_table(2966) := '74696F6E2064335F7376675F6C696E654261736973436C6F73656428706F696E747329207B0D0A2020202076617220706174682C2069203D202D312C206E203D20706F696E74732E6C656E6774682C206D203D206E202B20342C2070692C207078203D20';
wwv_flow_imp.g_varchar2_table(2967) := '5B5D2C207079203D205B5D3B0D0A202020207768696C6520282B2B69203C203429207B0D0A2020202020207069203D20706F696E74735B692025206E5D3B0D0A20202020202070782E707573682870695B305D293B0D0A20202020202070792E70757368';
wwv_flow_imp.g_varchar2_table(2968) := '2870695B315D293B0D0A202020207D0D0A2020202070617468203D205B2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572332C207078292C20222C222C2064335F7376675F6C696E65446F74342864335F';
wwv_flow_imp.g_varchar2_table(2969) := '7376675F6C696E65426173697342657A696572332C20707929205D3B0D0A202020202D2D693B0D0A202020207768696C6520282B2B69203C206D29207B0D0A2020202020207069203D20706F696E74735B692025206E5D3B0D0A20202020202070782E73';
wwv_flow_imp.g_varchar2_table(2970) := '6869667428293B0D0A20202020202070782E707573682870695B305D293B0D0A20202020202070792E736869667428293B0D0A20202020202070792E707573682870695B315D293B0D0A20202020202064335F7376675F6C696E65426173697342657A69';
wwv_flow_imp.g_varchar2_table(2971) := '657228706174682C2070782C207079293B0D0A202020207D0D0A2020202072657475726E20706174682E6A6F696E282222293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6542756E646C6528706F696E74732C2074656E7369';
wwv_flow_imp.g_varchar2_table(2972) := '6F6E29207B0D0A20202020766172206E203D20706F696E74732E6C656E677468202D20313B0D0A20202020696620286E29207B0D0A202020202020766172207830203D20706F696E74735B305D5B305D2C207930203D20706F696E74735B305D5B315D2C';
wwv_flow_imp.g_varchar2_table(2973) := '206478203D20706F696E74735B6E5D5B305D202D2078302C206479203D20706F696E74735B6E5D5B315D202D2079302C2069203D202D312C20702C20743B0D0A2020202020207768696C6520282B2B69203C3D206E29207B0D0A20202020202020207020';
wwv_flow_imp.g_varchar2_table(2974) := '3D20706F696E74735B695D3B0D0A202020202020202074203D2069202F206E3B0D0A2020202020202020705B305D203D2074656E73696F6E202A20705B305D202B202831202D2074656E73696F6E29202A20287830202B2074202A206478293B0D0A2020';
wwv_flow_imp.g_varchar2_table(2975) := '202020202020705B315D203D2074656E73696F6E202A20705B315D202B202831202D2074656E73696F6E29202A20287930202B2074202A206479293B0D0A2020202020207D0D0A202020207D0D0A2020202072657475726E2064335F7376675F6C696E65';
wwv_flow_imp.g_varchar2_table(2976) := '426173697328706F696E7473293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E65446F743428612C206229207B0D0A2020202072657475726E20615B305D202A20625B305D202B20615B315D202A20625B315D202B20615B325D';
wwv_flow_imp.g_varchar2_table(2977) := '202A20625B325D202B20615B335D202A20625B335D3B0D0A20207D0D0A20207661722064335F7376675F6C696E65426173697342657A69657231203D205B20302C2032202F20332C2031202F20332C2030205D2C2064335F7376675F6C696E6542617369';
wwv_flow_imp.g_varchar2_table(2978) := '7342657A69657232203D205B20302C2031202F20332C2032202F20332C2030205D2C2064335F7376675F6C696E65426173697342657A69657233203D205B20302C2031202F20362C2032202F20332C2031202F2036205D3B0D0A202066756E6374696F6E';
wwv_flow_imp.g_varchar2_table(2979) := '2064335F7376675F6C696E65426173697342657A69657228706174682C20782C207929207B0D0A20202020706174682E70757368282243222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572312C2078';
wwv_flow_imp.g_varchar2_table(2980) := '292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572312C2079292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572322C2078';
wwv_flow_imp.g_varchar2_table(2981) := '292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572322C2079292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572332C2078';
wwv_flow_imp.g_varchar2_table(2982) := '292C20222C222C2064335F7376675F6C696E65446F74342864335F7376675F6C696E65426173697342657A696572332C207929293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E65536C6F70652870302C20703129207B0D0A20';
wwv_flow_imp.g_varchar2_table(2983) := '20202072657475726E202870315B315D202D2070305B315D29202F202870315B305D202D2070305B305D293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E6546696E697465446966666572656E63657328706F696E747329207B';
wwv_flow_imp.g_varchar2_table(2984) := '0D0A202020207661722069203D20302C206A203D20706F696E74732E6C656E677468202D20312C206D203D205B5D2C207030203D20706F696E74735B305D2C207031203D20706F696E74735B315D2C2064203D206D5B305D203D2064335F7376675F6C69';
wwv_flow_imp.g_varchar2_table(2985) := '6E65536C6F70652870302C207031293B0D0A202020207768696C6520282B2B69203C206A29207B0D0A2020202020206D5B695D203D202864202B202864203D2064335F7376675F6C696E65536C6F7065287030203D2070312C207031203D20706F696E74';
wwv_flow_imp.g_varchar2_table(2986) := '735B69202B20315D292929202F20323B0D0A202020207D0D0A202020206D5B695D203D20643B0D0A2020202072657475726E206D3B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E654D6F6E6F746F6E6554616E67656E74732870';
wwv_flow_imp.g_varchar2_table(2987) := '6F696E747329207B0D0A202020207661722074616E67656E7473203D205B5D2C20642C20612C20622C20732C206D203D2064335F7376675F6C696E6546696E697465446966666572656E63657328706F696E7473292C2069203D202D312C206A203D2070';
wwv_flow_imp.g_varchar2_table(2988) := '6F696E74732E6C656E677468202D20313B0D0A202020207768696C6520282B2B69203C206A29207B0D0A20202020202064203D2064335F7376675F6C696E65536C6F706528706F696E74735B695D2C20706F696E74735B69202B20315D293B0D0A202020';
wwv_flow_imp.g_varchar2_table(2989) := '20202069662028616273286429203C20CEB529207B0D0A20202020202020206D5B695D203D206D5B69202B20315D203D20303B0D0A2020202020207D20656C7365207B0D0A202020202020202061203D206D5B695D202F20643B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(2990) := '62203D206D5B69202B20315D202F20643B0D0A202020202020202073203D2061202A2061202B2062202A20623B0D0A20202020202020206966202873203E203929207B0D0A2020202020202020202073203D2064202A2033202F204D6174682E73717274';
wwv_flow_imp.g_varchar2_table(2991) := '2873293B0D0A202020202020202020206D5B695D203D2073202A20613B0D0A202020202020202020206D5B69202B20315D203D2073202A20623B0D0A20202020202020207D0D0A2020202020207D0D0A202020207D0D0A2020202069203D202D313B0D0A';
wwv_flow_imp.g_varchar2_table(2992) := '202020207768696C6520282B2B69203C3D206A29207B0D0A20202020202073203D2028706F696E74735B4D6174682E6D696E286A2C2069202B2031295D5B305D202D20706F696E74735B4D6174682E6D617828302C2069202D2031295D5B305D29202F20';
wwv_flow_imp.g_varchar2_table(2993) := '2836202A202831202B206D5B695D202A206D5B695D29293B0D0A20202020202074616E67656E74732E70757368285B2073207C7C20302C206D5B695D202A2073207C7C2030205D293B0D0A202020207D0D0A2020202072657475726E2074616E67656E74';
wwv_flow_imp.g_varchar2_table(2994) := '733B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F6C696E654D6F6E6F746F6E6528706F696E747329207B0D0A2020202072657475726E20706F696E74732E6C656E677468203C2033203F2064335F7376675F6C696E654C696E65617228';
wwv_flow_imp.g_varchar2_table(2995) := '706F696E747329203A20706F696E74735B305D202B2064335F7376675F6C696E654865726D69746528706F696E74732C2064335F7376675F6C696E654D6F6E6F746F6E6554616E67656E747328706F696E747329293B0D0A20207D0D0A202064332E7376';
wwv_flow_imp.g_varchar2_table(2996) := '672E6C696E652E72616469616C203D2066756E6374696F6E2829207B0D0A20202020766172206C696E65203D2064335F7376675F6C696E652864335F7376675F6C696E6552616469616C293B0D0A202020206C696E652E726164697573203D206C696E65';
wwv_flow_imp.g_varchar2_table(2997) := '2E782C2064656C657465206C696E652E783B0D0A202020206C696E652E616E676C65203D206C696E652E792C2064656C657465206C696E652E793B0D0A2020202072657475726E206C696E653B0D0A20207D3B0D0A202066756E6374696F6E2064335F73';
wwv_flow_imp.g_varchar2_table(2998) := '76675F6C696E6552616469616C28706F696E747329207B0D0A2020202076617220706F696E742C2069203D202D312C206E203D20706F696E74732E6C656E6774682C20722C20613B0D0A202020207768696C6520282B2B69203C206E29207B0D0A202020';
wwv_flow_imp.g_varchar2_table(2999) := '202020706F696E74203D20706F696E74735B695D3B0D0A20202020202072203D20706F696E745B305D3B0D0A20202020202061203D20706F696E745B315D202D2068616C66CF803B0D0A202020202020706F696E745B305D203D2072202A204D6174682E';
wwv_flow_imp.g_varchar2_table(3000) := '636F732861293B0D0A202020202020706F696E745B315D203D2072202A204D6174682E73696E2861293B0D0A202020207D0D0A2020202072657475726E20706F696E74733B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F617265612870';
end;
/
begin
wwv_flow_imp.g_varchar2_table(3001) := '726F6A656374696F6E29207B0D0A20202020766172207830203D2064335F67656F6D5F706F696E74582C207831203D2064335F67656F6D5F706F696E74582C207930203D20302C207931203D2064335F67656F6D5F706F696E74592C20646566696E6564';
wwv_flow_imp.g_varchar2_table(3002) := '203D2064335F747275652C20696E746572706F6C617465203D2064335F7376675F6C696E654C696E6561722C20696E746572706F6C6174654B6579203D20696E746572706F6C6174652E6B65792C20696E746572706F6C61746552657665727365203D20';
wwv_flow_imp.g_varchar2_table(3003) := '696E746572706F6C6174652C204C203D20224C222C2074656E73696F6E203D202E373B0D0A2020202066756E6374696F6E2061726561286461746129207B0D0A202020202020766172207365676D656E7473203D205B5D2C20706F696E747330203D205B';
wwv_flow_imp.g_varchar2_table(3004) := '5D2C20706F696E747331203D205B5D2C2069203D202D312C206E203D20646174612E6C656E6774682C20642C20667830203D2064335F66756E63746F72287830292C20667930203D2064335F66756E63746F72287930292C20667831203D207830203D3D';
wwv_flow_imp.g_varchar2_table(3005) := '3D207831203F2066756E6374696F6E2829207B0D0A202020202020202072657475726E20783B0D0A2020202020207D203A2064335F66756E63746F72287831292C20667931203D207930203D3D3D207931203F2066756E6374696F6E2829207B0D0A2020';
wwv_flow_imp.g_varchar2_table(3006) := '20202020202072657475726E20793B0D0A2020202020207D203A2064335F66756E63746F72287931292C20782C20793B0D0A20202020202066756E6374696F6E207365676D656E742829207B0D0A20202020202020207365676D656E74732E7075736828';
wwv_flow_imp.g_varchar2_table(3007) := '224D222C20696E746572706F6C6174652870726F6A656374696F6E28706F696E747331292C2074656E73696F6E292C204C2C20696E746572706F6C617465526576657273652870726F6A656374696F6E28706F696E7473302E726576657273652829292C';
wwv_flow_imp.g_varchar2_table(3008) := '2074656E73696F6E292C20225A22293B0D0A2020202020207D0D0A2020202020207768696C6520282B2B69203C206E29207B0D0A202020202020202069662028646566696E65642E63616C6C28746869732C2064203D20646174615B695D2C2069292920';
wwv_flow_imp.g_varchar2_table(3009) := '7B0D0A20202020202020202020706F696E7473302E70757368285B2078203D202B6678302E63616C6C28746869732C20642C2069292C2079203D202B6679302E63616C6C28746869732C20642C206929205D293B0D0A20202020202020202020706F696E';
wwv_flow_imp.g_varchar2_table(3010) := '7473312E70757368285B202B6678312E63616C6C28746869732C20642C2069292C202B6679312E63616C6C28746869732C20642C206929205D293B0D0A20202020202020207D20656C73652069662028706F696E7473302E6C656E67746829207B0D0A20';
wwv_flow_imp.g_varchar2_table(3011) := '2020202020202020207365676D656E7428293B0D0A20202020202020202020706F696E747330203D205B5D3B0D0A20202020202020202020706F696E747331203D205B5D3B0D0A20202020202020207D0D0A2020202020207D0D0A202020202020696620';
wwv_flow_imp.g_varchar2_table(3012) := '28706F696E7473302E6C656E67746829207365676D656E7428293B0D0A20202020202072657475726E207365676D656E74732E6C656E677468203F207365676D656E74732E6A6F696E28222229203A206E756C6C3B0D0A202020207D0D0A202020206172';
wwv_flow_imp.g_varchar2_table(3013) := '65612E78203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2078313B0D0A2020202020207830203D207831203D205F3B0D0A20202020202072657475726E2061726561';
wwv_flow_imp.g_varchar2_table(3014) := '3B0D0A202020207D3B0D0A20202020617265612E7830203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2078303B0D0A2020202020207830203D205F3B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3015) := '202072657475726E20617265613B0D0A202020207D3B0D0A20202020617265612E7831203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2078313B0D0A202020202020';
wwv_flow_imp.g_varchar2_table(3016) := '7831203D205F3B0D0A20202020202072657475726E20617265613B0D0A202020207D3B0D0A20202020617265612E79203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E';
wwv_flow_imp.g_varchar2_table(3017) := '2079313B0D0A2020202020207930203D207931203D205F3B0D0A20202020202072657475726E20617265613B0D0A202020207D3B0D0A20202020617265612E7930203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D65';
wwv_flow_imp.g_varchar2_table(3018) := '6E74732E6C656E677468292072657475726E2079303B0D0A2020202020207930203D205F3B0D0A20202020202072657475726E20617265613B0D0A202020207D3B0D0A20202020617265612E7931203D2066756E6374696F6E285F29207B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3019) := '20206966202821617267756D656E74732E6C656E677468292072657475726E2079313B0D0A2020202020207931203D205F3B0D0A20202020202072657475726E20617265613B0D0A202020207D3B0D0A20202020617265612E646566696E6564203D2066';
wwv_flow_imp.g_varchar2_table(3020) := '756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20646566696E65643B0D0A202020202020646566696E6564203D205F3B0D0A20202020202072657475726E20617265613B0D0A';
wwv_flow_imp.g_varchar2_table(3021) := '202020207D3B0D0A20202020617265612E696E746572706F6C617465203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20696E746572706F6C6174654B65793B0D0A20';
wwv_flow_imp.g_varchar2_table(3022) := '202020202069662028747970656F66205F203D3D3D202266756E6374696F6E222920696E746572706F6C6174654B6579203D20696E746572706F6C617465203D205F3B20656C736520696E746572706F6C6174654B6579203D2028696E746572706F6C61';
wwv_flow_imp.g_varchar2_table(3023) := '7465203D2064335F7376675F6C696E65496E746572706F6C61746F72732E676574285F29207C7C2064335F7376675F6C696E654C696E656172292E6B65793B0D0A202020202020696E746572706F6C61746552657665727365203D20696E746572706F6C';
wwv_flow_imp.g_varchar2_table(3024) := '6174652E72657665727365207C7C20696E746572706F6C6174653B0D0A2020202020204C203D20696E746572706F6C6174652E636C6F736564203F20224D22203A20224C223B0D0A20202020202072657475726E20617265613B0D0A202020207D3B0D0A';
wwv_flow_imp.g_varchar2_table(3025) := '20202020617265612E74656E73696F6E203D2066756E6374696F6E285F29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2074656E73696F6E3B0D0A20202020202074656E73696F6E203D205F3B0D0A';
wwv_flow_imp.g_varchar2_table(3026) := '20202020202072657475726E20617265613B0D0A202020207D3B0D0A2020202072657475726E20617265613B0D0A20207D0D0A202064335F7376675F6C696E65537465704265666F72652E72657665727365203D2064335F7376675F6C696E6553746570';
wwv_flow_imp.g_varchar2_table(3027) := '41667465723B0D0A202064335F7376675F6C696E655374657041667465722E72657665727365203D2064335F7376675F6C696E65537465704265666F72653B0D0A202064332E7376672E61726561203D2066756E6374696F6E2829207B0D0A2020202072';
wwv_flow_imp.g_varchar2_table(3028) := '657475726E2064335F7376675F617265612864335F6964656E74697479293B0D0A20207D3B0D0A202064332E7376672E617265612E72616469616C203D2066756E6374696F6E2829207B0D0A202020207661722061726561203D2064335F7376675F6172';
wwv_flow_imp.g_varchar2_table(3029) := '65612864335F7376675F6C696E6552616469616C293B0D0A20202020617265612E726164697573203D20617265612E782C2064656C65746520617265612E783B0D0A20202020617265612E696E6E6572526164697573203D20617265612E78302C206465';
wwv_flow_imp.g_varchar2_table(3030) := '6C65746520617265612E78303B0D0A20202020617265612E6F75746572526164697573203D20617265612E78312C2064656C65746520617265612E78313B0D0A20202020617265612E616E676C65203D20617265612E792C2064656C6574652061726561';
wwv_flow_imp.g_varchar2_table(3031) := '2E793B0D0A20202020617265612E7374617274416E676C65203D20617265612E79302C2064656C65746520617265612E79303B0D0A20202020617265612E656E64416E676C65203D20617265612E79312C2064656C65746520617265612E79313B0D0A20';
wwv_flow_imp.g_varchar2_table(3032) := '20202072657475726E20617265613B0D0A20207D3B0D0A202064332E7376672E63686F7264203D2066756E6374696F6E2829207B0D0A2020202076617220736F75726365203D2064335F736F757263652C20746172676574203D2064335F746172676574';
wwv_flow_imp.g_varchar2_table(3033) := '2C20726164697573203D2064335F7376675F63686F72645261646975732C207374617274416E676C65203D2064335F7376675F6172635374617274416E676C652C20656E64416E676C65203D2064335F7376675F617263456E64416E676C653B0D0A2020';
wwv_flow_imp.g_varchar2_table(3034) := '202066756E6374696F6E2063686F726428642C206929207B0D0A2020202020207661722073203D2073756267726F757028746869732C20736F757263652C20642C2069292C2074203D2073756267726F757028746869732C207461726765742C20642C20';
wwv_flow_imp.g_varchar2_table(3035) := '69293B0D0A20202020202072657475726E20224D22202B20732E7030202B2061726328732E722C20732E70312C20732E6131202D20732E613029202B2028657175616C7328732C207429203F20637572766528732E722C20732E70312C20732E722C2073';
wwv_flow_imp.g_varchar2_table(3036) := '2E703029203A20637572766528732E722C20732E70312C20742E722C20742E703029202B2061726328742E722C20742E70312C20742E6131202D20742E613029202B20637572766528742E722C20742E70312C20732E722C20732E70302929202B20225A';
wwv_flow_imp.g_varchar2_table(3037) := '223B0D0A202020207D0D0A2020202066756E6374696F6E2073756267726F75702873656C662C20662C20642C206929207B0D0A2020202020207661722073756267726F7570203D20662E63616C6C2873656C662C20642C2069292C2072203D2072616469';
wwv_flow_imp.g_varchar2_table(3038) := '75732E63616C6C2873656C662C2073756267726F75702C2069292C206130203D207374617274416E676C652E63616C6C2873656C662C2073756267726F75702C206929202D2068616C66CF802C206131203D20656E64416E676C652E63616C6C2873656C';
wwv_flow_imp.g_varchar2_table(3039) := '662C2073756267726F75702C206929202D2068616C66CF803B0D0A20202020202072657475726E207B0D0A2020202020202020723A20722C0D0A202020202020202061303A2061302C0D0A202020202020202061313A2061312C0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3040) := '70303A205B2072202A204D6174682E636F73286130292C2072202A204D6174682E73696E28613029205D2C0D0A202020202020202070313A205B2072202A204D6174682E636F73286131292C2072202A204D6174682E73696E28613129205D0D0A202020';
wwv_flow_imp.g_varchar2_table(3041) := '2020207D3B0D0A202020207D0D0A2020202066756E6374696F6E20657175616C7328612C206229207B0D0A20202020202072657475726E20612E6130203D3D20622E613020262620612E6131203D3D20622E61313B0D0A202020207D0D0A202020206675';
wwv_flow_imp.g_varchar2_table(3042) := '6E6374696F6E2061726328722C20702C206129207B0D0A20202020202072657475726E20224122202B2072202B20222C22202B2072202B202220302022202B202B2861203E20CF8029202B20222C312022202B20703B0D0A202020207D0D0A2020202066';
wwv_flow_imp.g_varchar2_table(3043) := '756E6374696F6E2063757276652872302C2070302C2072312C20703129207B0D0A20202020202072657475726E20225120302C302022202B2070313B0D0A202020207D0D0A2020202063686F72642E726164697573203D2066756E6374696F6E28762920';
wwv_flow_imp.g_varchar2_table(3044) := '7B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207261646975733B0D0A202020202020726164697573203D2064335F66756E63746F722876293B0D0A20202020202072657475726E2063686F72643B0D0A';
wwv_flow_imp.g_varchar2_table(3045) := '202020207D3B0D0A2020202063686F72642E736F75726365203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20736F757263653B0D0A202020202020736F7572636520';
wwv_flow_imp.g_varchar2_table(3046) := '3D2064335F66756E63746F722876293B0D0A20202020202072657475726E2063686F72643B0D0A202020207D3B0D0A2020202063686F72642E746172676574203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74';
wwv_flow_imp.g_varchar2_table(3047) := '732E6C656E677468292072657475726E207461726765743B0D0A202020202020746172676574203D2064335F66756E63746F722876293B0D0A20202020202072657475726E2063686F72643B0D0A202020207D3B0D0A2020202063686F72642E73746172';
wwv_flow_imp.g_varchar2_table(3048) := '74416E676C65203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207374617274416E676C653B0D0A2020202020207374617274416E676C65203D2064335F66756E6374';
wwv_flow_imp.g_varchar2_table(3049) := '6F722876293B0D0A20202020202072657475726E2063686F72643B0D0A202020207D3B0D0A2020202063686F72642E656E64416E676C65203D2066756E6374696F6E287629207B0D0A2020202020206966202821617267756D656E74732E6C656E677468';
wwv_flow_imp.g_varchar2_table(3050) := '292072657475726E20656E64416E676C653B0D0A202020202020656E64416E676C65203D2064335F66756E63746F722876293B0D0A20202020202072657475726E2063686F72643B0D0A202020207D3B0D0A2020202072657475726E2063686F72643B0D';
wwv_flow_imp.g_varchar2_table(3051) := '0A20207D3B0D0A202066756E6374696F6E2064335F7376675F63686F7264526164697573286429207B0D0A2020202072657475726E20642E7261646975733B0D0A20207D0D0A202064332E7376672E646961676F6E616C203D2066756E6374696F6E2829';
wwv_flow_imp.g_varchar2_table(3052) := '207B0D0A2020202076617220736F75726365203D2064335F736F757263652C20746172676574203D2064335F7461726765742C2070726F6A656374696F6E203D2064335F7376675F646961676F6E616C50726F6A656374696F6E3B0D0A2020202066756E';
wwv_flow_imp.g_varchar2_table(3053) := '6374696F6E20646961676F6E616C28642C206929207B0D0A202020202020766172207030203D20736F757263652E63616C6C28746869732C20642C2069292C207033203D207461726765742E63616C6C28746869732C20642C2069292C206D203D202870';
wwv_flow_imp.g_varchar2_table(3054) := '302E79202B2070332E7929202F20322C2070203D205B2070302C207B0D0A2020202020202020783A2070302E782C0D0A2020202020202020793A206D0D0A2020202020207D2C207B0D0A2020202020202020783A2070332E782C0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3055) := '793A206D0D0A2020202020207D2C207033205D3B0D0A20202020202070203D20702E6D61702870726F6A656374696F6E293B0D0A20202020202072657475726E20224D22202B20705B305D202B20224322202B20705B315D202B20222022202B20705B32';
wwv_flow_imp.g_varchar2_table(3056) := '5D202B20222022202B20705B335D3B0D0A202020207D0D0A20202020646961676F6E616C2E736F75726365203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20736F75';
wwv_flow_imp.g_varchar2_table(3057) := '7263653B0D0A202020202020736F75726365203D2064335F66756E63746F722878293B0D0A20202020202072657475726E20646961676F6E616C3B0D0A202020207D3B0D0A20202020646961676F6E616C2E746172676574203D2066756E6374696F6E28';
wwv_flow_imp.g_varchar2_table(3058) := '7829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207461726765743B0D0A202020202020746172676574203D2064335F66756E63746F722878293B0D0A20202020202072657475726E20646961676F';
wwv_flow_imp.g_varchar2_table(3059) := '6E616C3B0D0A202020207D3B0D0A20202020646961676F6E616C2E70726F6A656374696F6E203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2070726F6A656374696F';
wwv_flow_imp.g_varchar2_table(3060) := '6E3B0D0A20202020202070726F6A656374696F6E203D20783B0D0A20202020202072657475726E20646961676F6E616C3B0D0A202020207D3B0D0A2020202072657475726E20646961676F6E616C3B0D0A20207D3B0D0A202066756E6374696F6E206433';
wwv_flow_imp.g_varchar2_table(3061) := '5F7376675F646961676F6E616C50726F6A656374696F6E286429207B0D0A2020202072657475726E205B20642E782C20642E79205D3B0D0A20207D0D0A202064332E7376672E646961676F6E616C2E72616469616C203D2066756E6374696F6E2829207B';
wwv_flow_imp.g_varchar2_table(3062) := '0D0A2020202076617220646961676F6E616C203D2064332E7376672E646961676F6E616C28292C2070726F6A656374696F6E203D2064335F7376675F646961676F6E616C50726F6A656374696F6E2C2070726F6A656374696F6E5F203D20646961676F6E';
wwv_flow_imp.g_varchar2_table(3063) := '616C2E70726F6A656374696F6E3B0D0A20202020646961676F6E616C2E70726F6A656374696F6E203D2066756E6374696F6E287829207B0D0A20202020202072657475726E20617267756D656E74732E6C656E677468203F2070726F6A656374696F6E5F';
wwv_flow_imp.g_varchar2_table(3064) := '2864335F7376675F646961676F6E616C52616469616C50726F6A656374696F6E2870726F6A656374696F6E203D20782929203A2070726F6A656374696F6E3B0D0A202020207D3B0D0A2020202072657475726E20646961676F6E616C3B0D0A20207D3B0D';
wwv_flow_imp.g_varchar2_table(3065) := '0A202066756E6374696F6E2064335F7376675F646961676F6E616C52616469616C50726F6A656374696F6E2870726F6A656374696F6E29207B0D0A2020202072657475726E2066756E6374696F6E2829207B0D0A2020202020207661722064203D207072';
wwv_flow_imp.g_varchar2_table(3066) := '6F6A656374696F6E2E6170706C7928746869732C20617267756D656E7473292C2072203D20645B305D2C2061203D20645B315D202D2068616C66CF803B0D0A20202020202072657475726E205B2072202A204D6174682E636F732861292C2072202A204D';
wwv_flow_imp.g_varchar2_table(3067) := '6174682E73696E286129205D3B0D0A202020207D3B0D0A20207D0D0A202064332E7376672E73796D626F6C203D2066756E6374696F6E2829207B0D0A202020207661722074797065203D2064335F7376675F73796D626F6C547970652C2073697A65203D';
wwv_flow_imp.g_varchar2_table(3068) := '2064335F7376675F73796D626F6C53697A653B0D0A2020202066756E6374696F6E2073796D626F6C28642C206929207B0D0A20202020202072657475726E202864335F7376675F73796D626F6C732E67657428747970652E63616C6C28746869732C2064';
wwv_flow_imp.g_varchar2_table(3069) := '2C20692929207C7C2064335F7376675F73796D626F6C436972636C65292873697A652E63616C6C28746869732C20642C206929293B0D0A202020207D0D0A2020202073796D626F6C2E74797065203D2066756E6374696F6E287829207B0D0A2020202020';
wwv_flow_imp.g_varchar2_table(3070) := '206966202821617267756D656E74732E6C656E677468292072657475726E20747970653B0D0A20202020202074797065203D2064335F66756E63746F722878293B0D0A20202020202072657475726E2073796D626F6C3B0D0A202020207D3B0D0A202020';
wwv_flow_imp.g_varchar2_table(3071) := '2073796D626F6C2E73697A65203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E2073697A653B0D0A20202020202073697A65203D2064335F66756E63746F722878293B';
wwv_flow_imp.g_varchar2_table(3072) := '0D0A20202020202072657475726E2073796D626F6C3B0D0A202020207D3B0D0A2020202072657475726E2073796D626F6C3B0D0A20207D3B0D0A202066756E6374696F6E2064335F7376675F73796D626F6C53697A652829207B0D0A2020202072657475';
wwv_flow_imp.g_varchar2_table(3073) := '726E2036343B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F73796D626F6C547970652829207B0D0A2020202072657475726E2022636972636C65223B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F73796D626F6C4369';
wwv_flow_imp.g_varchar2_table(3074) := '72636C652873697A6529207B0D0A202020207661722072203D204D6174682E737172742873697A65202F20CF80293B0D0A2020202072657475726E20224D302C22202B2072202B20224122202B2072202B20222C22202B2072202B2022203020312C3120';
wwv_flow_imp.g_varchar2_table(3075) := '302C22202B202D72202B20224122202B2072202B20222C22202B2072202B2022203020312C3120302C22202B2072202B20225A223B0D0A20207D0D0A20207661722064335F7376675F73796D626F6C73203D2064332E6D6170287B0D0A20202020636972';
wwv_flow_imp.g_varchar2_table(3076) := '636C653A2064335F7376675F73796D626F6C436972636C652C0D0A2020202063726F73733A2066756E6374696F6E2873697A6529207B0D0A2020202020207661722072203D204D6174682E737172742873697A65202F203529202F20323B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3077) := '202072657475726E20224D22202B202D33202A2072202B20222C22202B202D72202B20224822202B202D72202B20225622202B202D33202A2072202B20224822202B2072202B20225622202B202D72202B20224822202B2033202A2072202B2022562220';
wwv_flow_imp.g_varchar2_table(3078) := '2B2072202B20224822202B2072202B20225622202B2033202A2072202B20224822202B202D72202B20225622202B2072202B20224822202B202D33202A2072202B20225A223B0D0A202020207D2C0D0A202020206469616D6F6E643A2066756E6374696F';
wwv_flow_imp.g_varchar2_table(3079) := '6E2873697A6529207B0D0A202020202020766172207279203D204D6174682E737172742873697A65202F202832202A2064335F7376675F73796D626F6C54616E333029292C207278203D207279202A2064335F7376675F73796D626F6C54616E33303B0D';
wwv_flow_imp.g_varchar2_table(3080) := '0A20202020202072657475726E20224D302C22202B202D7279202B20224C22202B207278202B20222C3022202B202220302C22202B207279202B20222022202B202D7278202B20222C3022202B20225A223B0D0A202020207D2C0D0A2020202073717561';
wwv_flow_imp.g_varchar2_table(3081) := '72653A2066756E6374696F6E2873697A6529207B0D0A2020202020207661722072203D204D6174682E737172742873697A6529202F20323B0D0A20202020202072657475726E20224D22202B202D72202B20222C22202B202D72202B20224C22202B2072';
wwv_flow_imp.g_varchar2_table(3082) := '202B20222C22202B202D72202B20222022202B2072202B20222C22202B2072202B20222022202B202D72202B20222C22202B2072202B20225A223B0D0A202020207D2C0D0A2020202022747269616E676C652D646F776E223A2066756E6374696F6E2873';
wwv_flow_imp.g_varchar2_table(3083) := '697A6529207B0D0A202020202020766172207278203D204D6174682E737172742873697A65202F2064335F7376675F73796D626F6C5371727433292C207279203D207278202A2064335F7376675F73796D626F6C5371727433202F20323B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3084) := '202072657475726E20224D302C22202B207279202B20224C22202B207278202B20222C22202B202D7279202B20222022202B202D7278202B20222C22202B202D7279202B20225A223B0D0A202020207D2C0D0A2020202022747269616E676C652D757022';
wwv_flow_imp.g_varchar2_table(3085) := '3A2066756E6374696F6E2873697A6529207B0D0A202020202020766172207278203D204D6174682E737172742873697A65202F2064335F7376675F73796D626F6C5371727433292C207279203D207278202A2064335F7376675F73796D626F6C53717274';
wwv_flow_imp.g_varchar2_table(3086) := '33202F20323B0D0A20202020202072657475726E20224D302C22202B202D7279202B20224C22202B207278202B20222C22202B207279202B20222022202B202D7278202B20222C22202B207279202B20225A223B0D0A202020207D0D0A20207D293B0D0A';
wwv_flow_imp.g_varchar2_table(3087) := '202064332E7376672E73796D626F6C5479706573203D2064335F7376675F73796D626F6C732E6B65797328293B0D0A20207661722064335F7376675F73796D626F6C5371727433203D204D6174682E737172742833292C2064335F7376675F73796D626F';
wwv_flow_imp.g_varchar2_table(3088) := '6C54616E3330203D204D6174682E74616E283330202A2064335F72616469616E73293B0D0A202064335F73656C656374696F6E50726F746F747970652E7472616E736974696F6E203D2066756E6374696F6E286E616D6529207B0D0A2020202076617220';
wwv_flow_imp.g_varchar2_table(3089) := '6964203D2064335F7472616E736974696F6E496E68657269744964207C7C202B2B64335F7472616E736974696F6E49642C206E73203D2064335F7472616E736974696F6E4E616D657370616365286E616D65292C2073756267726F757073203D205B5D2C';
wwv_flow_imp.g_varchar2_table(3090) := '2073756267726F75702C206E6F64652C207472616E736974696F6E203D2064335F7472616E736974696F6E496E6865726974207C7C207B0D0A20202020202074696D653A20446174652E6E6F7728292C0D0A202020202020656173653A2064335F656173';
wwv_flow_imp.g_varchar2_table(3091) := '655F6375626963496E4F75742C0D0A20202020202064656C61793A20302C0D0A2020202020206475726174696F6E3A203235300D0A202020207D3B0D0A20202020666F722028766172206A203D202D312C206D203D20746869732E6C656E6774683B202B';
wwv_flow_imp.g_varchar2_table(3092) := '2B6A203C206D3B2029207B0D0A20202020202073756267726F7570732E707573682873756267726F7570203D205B5D293B0D0A202020202020666F7220287661722067726F7570203D20746869735B6A5D2C2069203D202D312C206E203D2067726F7570';
wwv_flow_imp.g_varchar2_table(3093) := '2E6C656E6774683B202B2B69203C206E3B2029207B0D0A2020202020202020696620286E6F6465203D2067726F75705B695D292064335F7472616E736974696F6E4E6F6465286E6F64652C20692C206E732C2069642C207472616E736974696F6E293B0D';
wwv_flow_imp.g_varchar2_table(3094) := '0A202020202020202073756267726F75702E70757368286E6F6465293B0D0A2020202020207D0D0A202020207D0D0A2020202072657475726E2064335F7472616E736974696F6E2873756267726F7570732C206E732C206964293B0D0A20207D3B0D0A20';
wwv_flow_imp.g_varchar2_table(3095) := '2064335F73656C656374696F6E50726F746F747970652E696E74657272757074203D2066756E6374696F6E286E616D6529207B0D0A2020202072657475726E20746869732E65616368286E616D65203D3D206E756C6C203F2064335F73656C656374696F';
wwv_flow_imp.g_varchar2_table(3096) := '6E5F696E74657272757074203A2064335F73656C656374696F6E5F696E746572727570744E532864335F7472616E736974696F6E4E616D657370616365286E616D652929293B0D0A20207D3B0D0A20207661722064335F73656C656374696F6E5F696E74';
wwv_flow_imp.g_varchar2_table(3097) := '657272757074203D2064335F73656C656374696F6E5F696E746572727570744E532864335F7472616E736974696F6E4E616D6573706163652829293B0D0A202066756E6374696F6E2064335F73656C656374696F6E5F696E746572727570744E53286E73';
wwv_flow_imp.g_varchar2_table(3098) := '29207B0D0A2020202072657475726E2066756E6374696F6E2829207B0D0A202020202020766172206C6F636B2C206163746976653B0D0A20202020202069662028286C6F636B203D20746869735B6E735D292026262028616374697665203D206C6F636B';
wwv_flow_imp.g_varchar2_table(3099) := '5B6C6F636B2E6163746976655D2929207B0D0A2020202020202020696620282D2D6C6F636B2E636F756E74292064656C657465206C6F636B5B6C6F636B2E6163746976655D3B20656C73652064656C65746520746869735B6E735D3B0D0A202020202020';
wwv_flow_imp.g_varchar2_table(3100) := '20206C6F636B2E616374697665202B3D202E353B0D0A20202020202020206163746976652E6576656E74202626206163746976652E6576656E742E696E746572727570742E63616C6C28746869732C20746869732E5F5F646174615F5F2C206163746976';
wwv_flow_imp.g_varchar2_table(3101) := '652E696E646578293B0D0A2020202020207D0D0A202020207D3B0D0A20207D0D0A202066756E6374696F6E2064335F7472616E736974696F6E2867726F7570732C206E732C20696429207B0D0A2020202064335F737562636C6173732867726F7570732C';
wwv_flow_imp.g_varchar2_table(3102) := '2064335F7472616E736974696F6E50726F746F74797065293B0D0A2020202067726F7570732E6E616D657370616365203D206E733B0D0A2020202067726F7570732E6964203D2069643B0D0A2020202072657475726E2067726F7570733B0D0A20207D0D';
wwv_flow_imp.g_varchar2_table(3103) := '0A20207661722064335F7472616E736974696F6E50726F746F74797065203D205B5D2C2064335F7472616E736974696F6E4964203D20302C2064335F7472616E736974696F6E496E686572697449642C2064335F7472616E736974696F6E496E68657269';
wwv_flow_imp.g_varchar2_table(3104) := '743B0D0A202064335F7472616E736974696F6E50726F746F747970652E63616C6C203D2064335F73656C656374696F6E50726F746F747970652E63616C6C3B0D0A202064335F7472616E736974696F6E50726F746F747970652E656D707479203D206433';
wwv_flow_imp.g_varchar2_table(3105) := '5F73656C656374696F6E50726F746F747970652E656D7074793B0D0A202064335F7472616E736974696F6E50726F746F747970652E6E6F6465203D2064335F73656C656374696F6E50726F746F747970652E6E6F64653B0D0A202064335F7472616E7369';
wwv_flow_imp.g_varchar2_table(3106) := '74696F6E50726F746F747970652E73697A65203D2064335F73656C656374696F6E50726F746F747970652E73697A653B0D0A202064332E7472616E736974696F6E203D2066756E6374696F6E2873656C656374696F6E2C206E616D6529207B0D0A202020';
wwv_flow_imp.g_varchar2_table(3107) := '2072657475726E2073656C656374696F6E2026262073656C656374696F6E2E7472616E736974696F6E203F2064335F7472616E736974696F6E496E68657269744964203F2073656C656374696F6E2E7472616E736974696F6E286E616D6529203A207365';
wwv_flow_imp.g_varchar2_table(3108) := '6C656374696F6E203A2064332E73656C656374696F6E28292E7472616E736974696F6E2873656C656374696F6E293B0D0A20207D3B0D0A202064332E7472616E736974696F6E2E70726F746F74797065203D2064335F7472616E736974696F6E50726F74';
wwv_flow_imp.g_varchar2_table(3109) := '6F747970653B0D0A202064335F7472616E736974696F6E50726F746F747970652E73656C656374203D2066756E6374696F6E2873656C6563746F7229207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D65';
wwv_flow_imp.g_varchar2_table(3110) := '73706163652C2073756267726F757073203D205B5D2C2073756267726F75702C207375626E6F64652C206E6F64653B0D0A2020202073656C6563746F72203D2064335F73656C656374696F6E5F73656C6563746F722873656C6563746F72293B0D0A2020';
wwv_flow_imp.g_varchar2_table(3111) := '2020666F722028766172206A203D202D312C206D203D20746869732E6C656E6774683B202B2B6A203C206D3B2029207B0D0A20202020202073756267726F7570732E707573682873756267726F7570203D205B5D293B0D0A202020202020666F72202876';
wwv_flow_imp.g_varchar2_table(3112) := '61722067726F7570203D20746869735B6A5D2C2069203D202D312C206E203D2067726F75702E6C656E6774683B202B2B69203C206E3B2029207B0D0A202020202020202069662028286E6F6465203D2067726F75705B695D2920262620287375626E6F64';
wwv_flow_imp.g_varchar2_table(3113) := '65203D2073656C6563746F722E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C20692C206A292929207B0D0A2020202020202020202069662028225F5F646174615F5F2220696E206E6F646529207375626E6F64652E5F5F646174615F5F';
wwv_flow_imp.g_varchar2_table(3114) := '203D206E6F64652E5F5F646174615F5F3B0D0A2020202020202020202064335F7472616E736974696F6E4E6F6465287375626E6F64652C20692C206E732C2069642C206E6F64655B6E735D5B69645D293B0D0A2020202020202020202073756267726F75';
wwv_flow_imp.g_varchar2_table(3115) := '702E70757368287375626E6F6465293B0D0A20202020202020207D20656C7365207B0D0A2020202020202020202073756267726F75702E70757368286E756C6C293B0D0A20202020202020207D0D0A2020202020207D0D0A202020207D0D0A2020202072';
wwv_flow_imp.g_varchar2_table(3116) := '657475726E2064335F7472616E736974696F6E2873756267726F7570732C206E732C206964293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E73656C656374416C6C203D2066756E6374696F6E2873656C6563746F';
wwv_flow_imp.g_varchar2_table(3117) := '7229207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163652C2073756267726F757073203D205B5D2C2073756267726F75702C207375626E6F6465732C206E6F64652C207375626E6F64652C20';
wwv_flow_imp.g_varchar2_table(3118) := '7472616E736974696F6E3B0D0A2020202073656C6563746F72203D2064335F73656C656374696F6E5F73656C6563746F72416C6C2873656C6563746F72293B0D0A20202020666F722028766172206A203D202D312C206D203D20746869732E6C656E6774';
wwv_flow_imp.g_varchar2_table(3119) := '683B202B2B6A203C206D3B2029207B0D0A202020202020666F7220287661722067726F7570203D20746869735B6A5D2C2069203D202D312C206E203D2067726F75702E6C656E6774683B202B2B69203C206E3B2029207B0D0A2020202020202020696620';
wwv_flow_imp.g_varchar2_table(3120) := '286E6F6465203D2067726F75705B695D29207B0D0A202020202020202020207472616E736974696F6E203D206E6F64655B6E735D5B69645D3B0D0A202020202020202020207375626E6F646573203D2073656C6563746F722E63616C6C286E6F64652C20';
wwv_flow_imp.g_varchar2_table(3121) := '6E6F64652E5F5F646174615F5F2C20692C206A293B0D0A2020202020202020202073756267726F7570732E707573682873756267726F7570203D205B5D293B0D0A20202020202020202020666F722028766172206B203D202D312C206F203D207375626E';
wwv_flow_imp.g_varchar2_table(3122) := '6F6465732E6C656E6774683B202B2B6B203C206F3B2029207B0D0A202020202020202020202020696620287375626E6F6465203D207375626E6F6465735B6B5D292064335F7472616E736974696F6E4E6F6465287375626E6F64652C206B2C206E732C20';
wwv_flow_imp.g_varchar2_table(3123) := '69642C207472616E736974696F6E293B0D0A20202020202020202020202073756267726F75702E70757368287375626E6F6465293B0D0A202020202020202020207D0D0A20202020202020207D0D0A2020202020207D0D0A202020207D0D0A2020202072';
wwv_flow_imp.g_varchar2_table(3124) := '657475726E2064335F7472616E736974696F6E2873756267726F7570732C206E732C206964293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E66696C746572203D2066756E6374696F6E2866696C74657229207B0D';
wwv_flow_imp.g_varchar2_table(3125) := '0A202020207661722073756267726F757073203D205B5D2C2073756267726F75702C2067726F75702C206E6F64653B0D0A2020202069662028747970656F662066696C74657220213D3D202266756E6374696F6E22292066696C746572203D2064335F73';
wwv_flow_imp.g_varchar2_table(3126) := '656C656374696F6E5F66696C7465722866696C746572293B0D0A20202020666F722028766172206A203D20302C206D203D20746869732E6C656E6774683B206A203C206D3B206A2B2B29207B0D0A20202020202073756267726F7570732E707573682873';
wwv_flow_imp.g_varchar2_table(3127) := '756267726F7570203D205B5D293B0D0A202020202020666F7220287661722067726F7570203D20746869735B6A5D2C2069203D20302C206E203D2067726F75702E6C656E6774683B2069203C206E3B20692B2B29207B0D0A202020202020202069662028';
wwv_flow_imp.g_varchar2_table(3128) := '286E6F6465203D2067726F75705B695D292026262066696C7465722E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C20692C206A2929207B0D0A2020202020202020202073756267726F75702E70757368286E6F6465293B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3129) := '202020207D0D0A2020202020207D0D0A202020207D0D0A2020202072657475726E2064335F7472616E736974696F6E2873756267726F7570732C20746869732E6E616D6573706163652C20746869732E6964293B0D0A20207D3B0D0A202064335F747261';
wwv_flow_imp.g_varchar2_table(3130) := '6E736974696F6E50726F746F747970652E747765656E203D2066756E6374696F6E286E616D652C20747765656E29207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163653B0D0A202020206966';
wwv_flow_imp.g_varchar2_table(3131) := '2028617267756D656E74732E6C656E677468203C2032292072657475726E20746869732E6E6F646528295B6E735D5B69645D2E747765656E2E676574286E616D65293B0D0A2020202072657475726E2064335F73656C656374696F6E5F65616368287468';
wwv_flow_imp.g_varchar2_table(3132) := '69732C20747765656E203D3D206E756C6C203F2066756E6374696F6E286E6F646529207B0D0A2020202020206E6F64655B6E735D5B69645D2E747765656E2E72656D6F7665286E616D65293B0D0A202020207D203A2066756E6374696F6E286E6F646529';
wwv_flow_imp.g_varchar2_table(3133) := '207B0D0A2020202020206E6F64655B6E735D5B69645D2E747765656E2E736574286E616D652C20747765656E293B0D0A202020207D293B0D0A20207D3B0D0A202066756E6374696F6E2064335F7472616E736974696F6E5F747765656E2867726F757073';
wwv_flow_imp.g_varchar2_table(3134) := '2C206E616D652C2076616C75652C20747765656E29207B0D0A20202020766172206964203D2067726F7570732E69642C206E73203D2067726F7570732E6E616D6573706163653B0D0A2020202072657475726E2064335F73656C656374696F6E5F656163';
wwv_flow_imp.g_varchar2_table(3135) := '682867726F7570732C20747970656F662076616C7565203D3D3D202266756E6374696F6E22203F2066756E6374696F6E286E6F64652C20692C206A29207B0D0A2020202020206E6F64655B6E735D5B69645D2E747765656E2E736574286E616D652C2074';
wwv_flow_imp.g_varchar2_table(3136) := '7765656E2876616C75652E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C20692C206A2929293B0D0A202020207D203A202876616C7565203D20747765656E2876616C7565292C2066756E6374696F6E286E6F646529207B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3137) := '20206E6F64655B6E735D5B69645D2E747765656E2E736574286E616D652C2076616C7565293B0D0A202020207D29293B0D0A20207D0D0A202064335F7472616E736974696F6E50726F746F747970652E61747472203D2066756E6374696F6E286E616D65';
wwv_flow_imp.g_varchar2_table(3138) := '4E532C2076616C756529207B0D0A2020202069662028617267756D656E74732E6C656E677468203C203229207B0D0A202020202020666F72202876616C756520696E206E616D654E532920746869732E617474722876616C75652C206E616D654E535B76';
wwv_flow_imp.g_varchar2_table(3139) := '616C75655D293B0D0A20202020202072657475726E20746869733B0D0A202020207D0D0A2020202076617220696E746572706F6C617465203D206E616D654E53203D3D20227472616E73666F726D22203F2064335F696E746572706F6C6174655472616E';
wwv_flow_imp.g_varchar2_table(3140) := '73666F726D203A2064335F696E746572706F6C6174652C206E616D65203D2064332E6E732E7175616C696679286E616D654E53293B0D0A2020202066756E6374696F6E20617474724E756C6C2829207B0D0A202020202020746869732E72656D6F766541';
wwv_flow_imp.g_varchar2_table(3141) := '7474726962757465286E616D65293B0D0A202020207D0D0A2020202066756E6374696F6E20617474724E756C6C4E532829207B0D0A202020202020746869732E72656D6F76654174747269627574654E53286E616D652E73706163652C206E616D652E6C';
wwv_flow_imp.g_varchar2_table(3142) := '6F63616C293B0D0A202020207D0D0A2020202066756E6374696F6E2061747472547765656E286229207B0D0A20202020202072657475726E2062203D3D206E756C6C203F20617474724E756C6C203A202862202B3D2022222C2066756E6374696F6E2829';
wwv_flow_imp.g_varchar2_table(3143) := '207B0D0A20202020202020207661722061203D20746869732E676574417474726962757465286E616D65292C20693B0D0A202020202020202072657475726E206120213D3D2062202626202869203D20696E746572706F6C61746528612C2062292C2066';
wwv_flow_imp.g_varchar2_table(3144) := '756E6374696F6E287429207B0D0A20202020202020202020746869732E736574417474726962757465286E616D652C2069287429293B0D0A20202020202020207D293B0D0A2020202020207D293B0D0A202020207D0D0A2020202066756E6374696F6E20';
wwv_flow_imp.g_varchar2_table(3145) := '61747472547765656E4E53286229207B0D0A20202020202072657475726E2062203D3D206E756C6C203F20617474724E756C6C4E53203A202862202B3D2022222C2066756E6374696F6E2829207B0D0A20202020202020207661722061203D2074686973';
wwv_flow_imp.g_varchar2_table(3146) := '2E6765744174747269627574654E53286E616D652E73706163652C206E616D652E6C6F63616C292C20693B0D0A202020202020202072657475726E206120213D3D2062202626202869203D20696E746572706F6C61746528612C2062292C2066756E6374';
wwv_flow_imp.g_varchar2_table(3147) := '696F6E287429207B0D0A20202020202020202020746869732E7365744174747269627574654E53286E616D652E73706163652C206E616D652E6C6F63616C2C2069287429293B0D0A20202020202020207D293B0D0A2020202020207D293B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3148) := '7D0D0A2020202072657475726E2064335F7472616E736974696F6E5F747765656E28746869732C2022617474722E22202B206E616D654E532C2076616C75652C206E616D652E6C6F63616C203F2061747472547765656E4E53203A206174747254776565';
wwv_flow_imp.g_varchar2_table(3149) := '6E293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E61747472547765656E203D2066756E6374696F6E286E616D654E532C20747765656E29207B0D0A20202020766172206E616D65203D2064332E6E732E7175616C';
wwv_flow_imp.g_varchar2_table(3150) := '696679286E616D654E53293B0D0A2020202066756E6374696F6E2061747472547765656E28642C206929207B0D0A2020202020207661722066203D20747765656E2E63616C6C28746869732C20642C20692C20746869732E676574417474726962757465';
wwv_flow_imp.g_varchar2_table(3151) := '286E616D6529293B0D0A20202020202072657475726E20662026262066756E6374696F6E287429207B0D0A2020202020202020746869732E736574417474726962757465286E616D652C2066287429293B0D0A2020202020207D3B0D0A202020207D0D0A';
wwv_flow_imp.g_varchar2_table(3152) := '2020202066756E6374696F6E2061747472547765656E4E5328642C206929207B0D0A2020202020207661722066203D20747765656E2E63616C6C28746869732C20642C20692C20746869732E6765744174747269627574654E53286E616D652E73706163';
wwv_flow_imp.g_varchar2_table(3153) := '652C206E616D652E6C6F63616C29293B0D0A20202020202072657475726E20662026262066756E6374696F6E287429207B0D0A2020202020202020746869732E7365744174747269627574654E53286E616D652E73706163652C206E616D652E6C6F6361';
wwv_flow_imp.g_varchar2_table(3154) := '6C2C2066287429293B0D0A2020202020207D3B0D0A202020207D0D0A2020202072657475726E20746869732E747765656E2822617474722E22202B206E616D654E532C206E616D652E6C6F63616C203F2061747472547765656E4E53203A206174747254';
wwv_flow_imp.g_varchar2_table(3155) := '7765656E293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E7374796C65203D2066756E6374696F6E286E616D652C2076616C75652C207072696F7269747929207B0D0A20202020766172206E203D20617267756D65';
wwv_flow_imp.g_varchar2_table(3156) := '6E74732E6C656E6774683B0D0A20202020696620286E203C203329207B0D0A20202020202069662028747970656F66206E616D6520213D3D2022737472696E672229207B0D0A2020202020202020696620286E203C2032292076616C7565203D2022223B';
wwv_flow_imp.g_varchar2_table(3157) := '0D0A2020202020202020666F7220287072696F7269747920696E206E616D652920746869732E7374796C65287072696F726974792C206E616D655B7072696F726974795D2C2076616C7565293B0D0A202020202020202072657475726E20746869733B0D';
wwv_flow_imp.g_varchar2_table(3158) := '0A2020202020207D0D0A2020202020207072696F72697479203D2022223B0D0A202020207D0D0A2020202066756E6374696F6E207374796C654E756C6C2829207B0D0A202020202020746869732E7374796C652E72656D6F766550726F7065727479286E';
wwv_flow_imp.g_varchar2_table(3159) := '616D65293B0D0A202020207D0D0A2020202066756E6374696F6E207374796C65537472696E67286229207B0D0A20202020202072657475726E2062203D3D206E756C6C203F207374796C654E756C6C203A202862202B3D2022222C2066756E6374696F6E';
wwv_flow_imp.g_varchar2_table(3160) := '2829207B0D0A20202020202020207661722061203D2064335F77696E646F772874686973292E676574436F6D70757465645374796C6528746869732C206E756C6C292E67657450726F706572747956616C7565286E616D65292C20693B0D0A2020202020';
wwv_flow_imp.g_varchar2_table(3161) := '20202072657475726E206120213D3D2062202626202869203D2064335F696E746572706F6C61746528612C2062292C2066756E6374696F6E287429207B0D0A20202020202020202020746869732E7374796C652E73657450726F7065727479286E616D65';
wwv_flow_imp.g_varchar2_table(3162) := '2C20692874292C207072696F72697479293B0D0A20202020202020207D293B0D0A2020202020207D293B0D0A202020207D0D0A2020202072657475726E2064335F7472616E736974696F6E5F747765656E28746869732C20227374796C652E22202B206E';
wwv_flow_imp.g_varchar2_table(3163) := '616D652C2076616C75652C207374796C65537472696E67293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E7374796C65547765656E203D2066756E6374696F6E286E616D652C20747765656E2C207072696F726974';
wwv_flow_imp.g_varchar2_table(3164) := '7929207B0D0A2020202069662028617267756D656E74732E6C656E677468203C203329207072696F72697479203D2022223B0D0A2020202066756E6374696F6E207374796C65547765656E28642C206929207B0D0A2020202020207661722066203D2074';
wwv_flow_imp.g_varchar2_table(3165) := '7765656E2E63616C6C28746869732C20642C20692C2064335F77696E646F772874686973292E676574436F6D70757465645374796C6528746869732C206E756C6C292E67657450726F706572747956616C7565286E616D6529293B0D0A20202020202072';
wwv_flow_imp.g_varchar2_table(3166) := '657475726E20662026262066756E6374696F6E287429207B0D0A2020202020202020746869732E7374796C652E73657450726F7065727479286E616D652C20662874292C207072696F72697479293B0D0A2020202020207D3B0D0A202020207D0D0A2020';
wwv_flow_imp.g_varchar2_table(3167) := '202072657475726E20746869732E747765656E28227374796C652E22202B206E616D652C207374796C65547765656E293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E74657874203D2066756E6374696F6E287661';
wwv_flow_imp.g_varchar2_table(3168) := '6C756529207B0D0A2020202072657475726E2064335F7472616E736974696F6E5F747765656E28746869732C202274657874222C2076616C75652C2064335F7472616E736974696F6E5F74657874293B0D0A20207D3B0D0A202066756E6374696F6E2064';
wwv_flow_imp.g_varchar2_table(3169) := '335F7472616E736974696F6E5F74657874286229207B0D0A202020206966202862203D3D206E756C6C292062203D2022223B0D0A2020202072657475726E2066756E6374696F6E2829207B0D0A202020202020746869732E74657874436F6E74656E7420';
wwv_flow_imp.g_varchar2_table(3170) := '3D20623B0D0A202020207D3B0D0A20207D0D0A202064335F7472616E736974696F6E50726F746F747970652E72656D6F7665203D2066756E6374696F6E2829207B0D0A20202020766172206E73203D20746869732E6E616D6573706163653B0D0A202020';
wwv_flow_imp.g_varchar2_table(3171) := '2072657475726E20746869732E656163682822656E642E7472616E736974696F6E222C2066756E6374696F6E2829207B0D0A20202020202076617220703B0D0A20202020202069662028746869735B6E735D2E636F756E74203C2032202626202870203D';
wwv_flow_imp.g_varchar2_table(3172) := '20746869732E706172656E744E6F6465292920702E72656D6F76654368696C642874686973293B0D0A202020207D293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E65617365203D2066756E6374696F6E2876616C';
wwv_flow_imp.g_varchar2_table(3173) := '756529207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163653B0D0A2020202069662028617267756D656E74732E6C656E677468203C2031292072657475726E20746869732E6E6F646528295B';
wwv_flow_imp.g_varchar2_table(3174) := '6E735D5B69645D2E656173653B0D0A2020202069662028747970656F662076616C756520213D3D202266756E6374696F6E22292076616C7565203D2064332E656173652E6170706C792864332C20617267756D656E7473293B0D0A202020207265747572';
wwv_flow_imp.g_varchar2_table(3175) := '6E2064335F73656C656374696F6E5F6561636828746869732C2066756E6374696F6E286E6F646529207B0D0A2020202020206E6F64655B6E735D5B69645D2E65617365203D2076616C75653B0D0A202020207D293B0D0A20207D3B0D0A202064335F7472';
wwv_flow_imp.g_varchar2_table(3176) := '616E736974696F6E50726F746F747970652E64656C6179203D2066756E6374696F6E2876616C756529207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163653B0D0A2020202069662028617267';
wwv_flow_imp.g_varchar2_table(3177) := '756D656E74732E6C656E677468203C2031292072657475726E20746869732E6E6F646528295B6E735D5B69645D2E64656C61793B0D0A2020202072657475726E2064335F73656C656374696F6E5F6561636828746869732C20747970656F662076616C75';
wwv_flow_imp.g_varchar2_table(3178) := '65203D3D3D202266756E6374696F6E22203F2066756E6374696F6E286E6F64652C20692C206A29207B0D0A2020202020206E6F64655B6E735D5B69645D2E64656C6179203D202B76616C75652E63616C6C286E6F64652C206E6F64652E5F5F646174615F';
wwv_flow_imp.g_varchar2_table(3179) := '5F2C20692C206A293B0D0A202020207D203A202876616C7565203D202B76616C75652C2066756E6374696F6E286E6F646529207B0D0A2020202020206E6F64655B6E735D5B69645D2E64656C6179203D2076616C75653B0D0A202020207D29293B0D0A20';
wwv_flow_imp.g_varchar2_table(3180) := '207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E6475726174696F6E203D2066756E6374696F6E2876616C756529207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163';
wwv_flow_imp.g_varchar2_table(3181) := '653B0D0A2020202069662028617267756D656E74732E6C656E677468203C2031292072657475726E20746869732E6E6F646528295B6E735D5B69645D2E6475726174696F6E3B0D0A2020202072657475726E2064335F73656C656374696F6E5F65616368';
wwv_flow_imp.g_varchar2_table(3182) := '28746869732C20747970656F662076616C7565203D3D3D202266756E6374696F6E22203F2066756E6374696F6E286E6F64652C20692C206A29207B0D0A2020202020206E6F64655B6E735D5B69645D2E6475726174696F6E203D204D6174682E6D617828';
wwv_flow_imp.g_varchar2_table(3183) := '312C2076616C75652E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C20692C206A29293B0D0A202020207D203A202876616C7565203D204D6174682E6D617828312C2076616C7565292C2066756E6374696F6E286E6F646529207B0D0A20';
wwv_flow_imp.g_varchar2_table(3184) := '20202020206E6F64655B6E735D5B69645D2E6475726174696F6E203D2076616C75653B0D0A202020207D29293B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E65616368203D2066756E6374696F6E28747970652C20';
wwv_flow_imp.g_varchar2_table(3185) := '6C697374656E657229207B0D0A20202020766172206964203D20746869732E69642C206E73203D20746869732E6E616D6573706163653B0D0A2020202069662028617267756D656E74732E6C656E677468203C203229207B0D0A20202020202076617220';
wwv_flow_imp.g_varchar2_table(3186) := '696E6865726974203D2064335F7472616E736974696F6E496E68657269742C20696E68657269744964203D2064335F7472616E736974696F6E496E686572697449643B0D0A202020202020747279207B0D0A202020202020202064335F7472616E736974';
wwv_flow_imp.g_varchar2_table(3187) := '696F6E496E68657269744964203D2069643B0D0A202020202020202064335F73656C656374696F6E5F6561636828746869732C2066756E6374696F6E286E6F64652C20692C206A29207B0D0A2020202020202020202064335F7472616E736974696F6E49';
wwv_flow_imp.g_varchar2_table(3188) := '6E6865726974203D206E6F64655B6E735D5B69645D3B0D0A20202020202020202020747970652E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C20692C206A293B0D0A20202020202020207D293B0D0A2020202020207D2066696E616C6C';
wwv_flow_imp.g_varchar2_table(3189) := '79207B0D0A202020202020202064335F7472616E736974696F6E496E6865726974203D20696E68657269743B0D0A202020202020202064335F7472616E736974696F6E496E68657269744964203D20696E686572697449643B0D0A2020202020207D0D0A';
wwv_flow_imp.g_varchar2_table(3190) := '202020207D20656C7365207B0D0A20202020202064335F73656C656374696F6E5F6561636828746869732C2066756E6374696F6E286E6F646529207B0D0A2020202020202020766172207472616E736974696F6E203D206E6F64655B6E735D5B69645D3B';
wwv_flow_imp.g_varchar2_table(3191) := '0D0A2020202020202020287472616E736974696F6E2E6576656E74207C7C20287472616E736974696F6E2E6576656E74203D2064332E646973706174636828227374617274222C2022656E64222C2022696E74657272757074222929292E6F6E28747970';
wwv_flow_imp.g_varchar2_table(3192) := '652C206C697374656E6572293B0D0A2020202020207D293B0D0A202020207D0D0A2020202072657475726E20746869733B0D0A20207D3B0D0A202064335F7472616E736974696F6E50726F746F747970652E7472616E736974696F6E203D2066756E6374';
wwv_flow_imp.g_varchar2_table(3193) := '696F6E2829207B0D0A2020202076617220696430203D20746869732E69642C20696431203D202B2B64335F7472616E736974696F6E49642C206E73203D20746869732E6E616D6573706163652C2073756267726F757073203D205B5D2C2073756267726F';
wwv_flow_imp.g_varchar2_table(3194) := '75702C2067726F75702C206E6F64652C207472616E736974696F6E3B0D0A20202020666F722028766172206A203D20302C206D203D20746869732E6C656E6774683B206A203C206D3B206A2B2B29207B0D0A20202020202073756267726F7570732E7075';
wwv_flow_imp.g_varchar2_table(3195) := '73682873756267726F7570203D205B5D293B0D0A202020202020666F7220287661722067726F7570203D20746869735B6A5D2C2069203D20302C206E203D2067726F75702E6C656E6774683B2069203C206E3B20692B2B29207B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3196) := '696620286E6F6465203D2067726F75705B695D29207B0D0A202020202020202020207472616E736974696F6E203D206E6F64655B6E735D5B6964305D3B0D0A2020202020202020202064335F7472616E736974696F6E4E6F6465286E6F64652C20692C20';
wwv_flow_imp.g_varchar2_table(3197) := '6E732C206964312C207B0D0A20202020202020202020202074696D653A207472616E736974696F6E2E74696D652C0D0A202020202020202020202020656173653A207472616E736974696F6E2E656173652C0D0A20202020202020202020202064656C61';
wwv_flow_imp.g_varchar2_table(3198) := '793A207472616E736974696F6E2E64656C6179202B207472616E736974696F6E2E6475726174696F6E2C0D0A2020202020202020202020206475726174696F6E3A207472616E736974696F6E2E6475726174696F6E0D0A202020202020202020207D293B';
wwv_flow_imp.g_varchar2_table(3199) := '0D0A20202020202020207D0D0A202020202020202073756267726F75702E70757368286E6F6465293B0D0A2020202020207D0D0A202020207D0D0A2020202072657475726E2064335F7472616E736974696F6E2873756267726F7570732C206E732C2069';
wwv_flow_imp.g_varchar2_table(3200) := '6431293B0D0A20207D3B0D0A202066756E6374696F6E2064335F7472616E736974696F6E4E616D657370616365286E616D6529207B0D0A2020202072657475726E206E616D65203D3D206E756C6C203F20225F5F7472616E736974696F6E5F5F22203A20';
wwv_flow_imp.g_varchar2_table(3201) := '225F5F7472616E736974696F6E5F22202B206E616D65202B20225F5F223B0D0A20207D0D0A202066756E6374696F6E2064335F7472616E736974696F6E4E6F6465286E6F64652C20692C206E732C2069642C20696E686572697429207B0D0A2020202076';
wwv_flow_imp.g_varchar2_table(3202) := '6172206C6F636B203D206E6F64655B6E735D207C7C20286E6F64655B6E735D203D207B0D0A2020202020206163746976653A20302C0D0A202020202020636F756E743A20300D0A202020207D292C207472616E736974696F6E203D206C6F636B5B69645D';
wwv_flow_imp.g_varchar2_table(3203) := '3B0D0A2020202069662028217472616E736974696F6E29207B0D0A2020202020207661722074696D65203D20696E68657269742E74696D653B0D0A2020202020207472616E736974696F6E203D206C6F636B5B69645D203D207B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3204) := '747765656E3A206E65772064335F4D617028292C0D0A202020202020202074696D653A2074696D652C0D0A202020202020202064656C61793A20696E68657269742E64656C61792C0D0A20202020202020206475726174696F6E3A20696E68657269742E';
wwv_flow_imp.g_varchar2_table(3205) := '6475726174696F6E2C0D0A2020202020202020656173653A20696E68657269742E656173652C0D0A2020202020202020696E6465783A20690D0A2020202020207D3B0D0A202020202020696E6865726974203D206E756C6C3B0D0A2020202020202B2B6C';
wwv_flow_imp.g_varchar2_table(3206) := '6F636B2E636F756E743B0D0A20202020202064332E74696D65722866756E6374696F6E28656C617073656429207B0D0A20202020202020207661722064656C6179203D207472616E736974696F6E2E64656C61792C206475726174696F6E2C2065617365';
wwv_flow_imp.g_varchar2_table(3207) := '2C2074696D6572203D2064335F74696D65725F6163746976652C20747765656E6564203D205B5D3B0D0A202020202020202074696D65722E74203D2064656C6179202B2074696D653B0D0A20202020202020206966202864656C6179203C3D20656C6170';
wwv_flow_imp.g_varchar2_table(3208) := '736564292072657475726E20737461727428656C6170736564202D2064656C6179293B0D0A202020202020202074696D65722E63203D2073746172743B0D0A202020202020202066756E6374696F6E20737461727428656C617073656429207B0D0A2020';
wwv_flow_imp.g_varchar2_table(3209) := '2020202020202020696620286C6F636B2E616374697665203E206964292072657475726E2073746F7028293B0D0A2020202020202020202076617220616374697665203D206C6F636B5B6C6F636B2E6163746976655D3B0D0A2020202020202020202069';
wwv_flow_imp.g_varchar2_table(3210) := '66202861637469766529207B0D0A2020202020202020202020202D2D6C6F636B2E636F756E743B0D0A20202020202020202020202064656C657465206C6F636B5B6C6F636B2E6163746976655D3B0D0A2020202020202020202020206163746976652E65';
wwv_flow_imp.g_varchar2_table(3211) := '76656E74202626206163746976652E6576656E742E696E746572727570742E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C206163746976652E696E646578293B0D0A202020202020202020207D0D0A202020202020202020206C6F636B';
wwv_flow_imp.g_varchar2_table(3212) := '2E616374697665203D2069643B0D0A202020202020202020207472616E736974696F6E2E6576656E74202626207472616E736974696F6E2E6576656E742E73746172742E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C2069293B0D0A20';
wwv_flow_imp.g_varchar2_table(3213) := '2020202020202020207472616E736974696F6E2E747765656E2E666F72456163682866756E6374696F6E286B65792C2076616C756529207B0D0A2020202020202020202020206966202876616C7565203D2076616C75652E63616C6C286E6F64652C206E';
wwv_flow_imp.g_varchar2_table(3214) := '6F64652E5F5F646174615F5F2C20692929207B0D0A2020202020202020202020202020747765656E65642E707573682876616C7565293B0D0A2020202020202020202020207D0D0A202020202020202020207D293B0D0A20202020202020202020656173';
wwv_flow_imp.g_varchar2_table(3215) := '65203D207472616E736974696F6E2E656173653B0D0A202020202020202020206475726174696F6E203D207472616E736974696F6E2E6475726174696F6E3B0D0A2020202020202020202064332E74696D65722866756E6374696F6E2829207B0D0A2020';
wwv_flow_imp.g_varchar2_table(3216) := '2020202020202020202074696D65722E63203D207469636B28656C6170736564207C7C203129203F2064335F74727565203A207469636B3B0D0A20202020202020202020202072657475726E20313B0D0A202020202020202020207D2C20302C2074696D';
wwv_flow_imp.g_varchar2_table(3217) := '65293B0D0A20202020202020207D0D0A202020202020202066756E6374696F6E207469636B28656C617073656429207B0D0A20202020202020202020696620286C6F636B2E61637469766520213D3D206964292072657475726E20313B0D0A2020202020';
wwv_flow_imp.g_varchar2_table(3218) := '20202020207661722074203D20656C6170736564202F206475726174696F6E2C2065203D20656173652874292C206E203D20747765656E65642E6C656E6774683B0D0A202020202020202020207768696C6520286E203E203029207B0D0A202020202020';
wwv_flow_imp.g_varchar2_table(3219) := '202020202020747765656E65645B2D2D6E5D2E63616C6C286E6F64652C2065293B0D0A202020202020202020207D0D0A202020202020202020206966202874203E3D203129207B0D0A2020202020202020202020207472616E736974696F6E2E6576656E';
wwv_flow_imp.g_varchar2_table(3220) := '74202626207472616E736974696F6E2E6576656E742E656E642E63616C6C286E6F64652C206E6F64652E5F5F646174615F5F2C2069293B0D0A20202020202020202020202072657475726E2073746F7028293B0D0A202020202020202020207D0D0A2020';
wwv_flow_imp.g_varchar2_table(3221) := '2020202020207D0D0A202020202020202066756E6374696F6E2073746F702829207B0D0A20202020202020202020696620282D2D6C6F636B2E636F756E74292064656C657465206C6F636B5B69645D3B20656C73652064656C657465206E6F64655B6E73';
wwv_flow_imp.g_varchar2_table(3222) := '5D3B0D0A2020202020202020202072657475726E20313B0D0A20202020202020207D0D0A2020202020207D2C20302C2074696D65293B0D0A202020207D0D0A20207D0D0A202064332E7376672E61786973203D2066756E6374696F6E2829207B0D0A2020';
wwv_flow_imp.g_varchar2_table(3223) := '2020766172207363616C65203D2064332E7363616C652E6C696E65617228292C206F7269656E74203D2064335F7376675F6178697344656661756C744F7269656E742C20696E6E65725469636B53697A65203D20362C206F757465725469636B53697A65';
wwv_flow_imp.g_varchar2_table(3224) := '203D20362C207469636B50616464696E67203D20332C207469636B417267756D656E74735F203D205B203130205D2C207469636B56616C756573203D206E756C6C2C207469636B466F726D61745F3B0D0A2020202066756E6374696F6E20617869732867';
wwv_flow_imp.g_varchar2_table(3225) := '29207B0D0A202020202020672E656163682866756E6374696F6E2829207B0D0A20202020202020207661722067203D2064332E73656C6563742874686973293B0D0A2020202020202020766172207363616C6530203D20746869732E5F5F63686172745F';
wwv_flow_imp.g_varchar2_table(3226) := '5F207C7C207363616C652C207363616C6531203D20746869732E5F5F63686172745F5F203D207363616C652E636F707928293B0D0A2020202020202020766172207469636B73203D207469636B56616C756573203D3D206E756C6C203F207363616C6531';
wwv_flow_imp.g_varchar2_table(3227) := '2E7469636B73203F207363616C65312E7469636B732E6170706C79287363616C65312C207469636B417267756D656E74735F29203A207363616C65312E646F6D61696E2829203A207469636B56616C7565732C207469636B466F726D6174203D20746963';
wwv_flow_imp.g_varchar2_table(3228) := '6B466F726D61745F203D3D206E756C6C203F207363616C65312E7469636B466F726D6174203F207363616C65312E7469636B466F726D61742E6170706C79287363616C65312C207469636B417267756D656E74735F29203A2064335F6964656E74697479';
wwv_flow_imp.g_varchar2_table(3229) := '203A207469636B466F726D61745F2C207469636B203D20672E73656C656374416C6C28222E7469636B22292E64617461287469636B732C207363616C6531292C207469636B456E746572203D207469636B2E656E74657228292E696E7365727428226722';
wwv_flow_imp.g_varchar2_table(3230) := '2C20222E646F6D61696E22292E617474722822636C617373222C20227469636B22292E7374796C6528226F706163697479222C20CEB5292C207469636B45786974203D2064332E7472616E736974696F6E287469636B2E657869742829292E7374796C65';
wwv_flow_imp.g_varchar2_table(3231) := '28226F706163697479222C20CEB5292E72656D6F766528292C207469636B557064617465203D2064332E7472616E736974696F6E287469636B2E6F726465722829292E7374796C6528226F706163697479222C2031292C207469636B53706163696E6720';
wwv_flow_imp.g_varchar2_table(3232) := '3D204D6174682E6D617828696E6E65725469636B53697A652C203029202B207469636B50616464696E672C207469636B5472616E73666F726D3B0D0A20202020202020207661722072616E6765203D2064335F7363616C6552616E6765287363616C6531';
wwv_flow_imp.g_varchar2_table(3233) := '292C2070617468203D20672E73656C656374416C6C28222E646F6D61696E22292E64617461285B2030205D292C2070617468557064617465203D2028706174682E656E74657228292E617070656E6428227061746822292E617474722822636C61737322';
wwv_flow_imp.g_varchar2_table(3234) := '2C2022646F6D61696E22292C200D0A202020202020202064332E7472616E736974696F6E287061746829293B0D0A20202020202020207469636B456E7465722E617070656E6428226C696E6522293B0D0A20202020202020207469636B456E7465722E61';
wwv_flow_imp.g_varchar2_table(3235) := '7070656E6428227465787422293B0D0A2020202020202020766172206C696E65456E746572203D207469636B456E7465722E73656C65637428226C696E6522292C206C696E65557064617465203D207469636B5570646174652E73656C65637428226C69';
wwv_flow_imp.g_varchar2_table(3236) := '6E6522292C2074657874203D207469636B2E73656C65637428227465787422292E74657874287469636B466F726D6174292C2074657874456E746572203D207469636B456E7465722E73656C65637428227465787422292C207465787455706461746520';
wwv_flow_imp.g_varchar2_table(3237) := '3D207469636B5570646174652E73656C65637428227465787422292C207369676E203D206F7269656E74203D3D3D2022746F7022207C7C206F7269656E74203D3D3D20226C65667422203F202D31203A20312C2078312C2078322C2079312C2079323B0D';
wwv_flow_imp.g_varchar2_table(3238) := '0A2020202020202020696620286F7269656E74203D3D3D2022626F74746F6D22207C7C206F7269656E74203D3D3D2022746F702229207B0D0A202020202020202020207469636B5472616E73666F726D203D2064335F7376675F61786973582C20783120';
wwv_flow_imp.g_varchar2_table(3239) := '3D202278222C207931203D202279222C207832203D20227832222C207932203D20227932223B0D0A20202020202020202020746578742E6174747228226479222C207369676E203C2030203F202230656D22203A20222E3731656D22292E7374796C6528';
wwv_flow_imp.g_varchar2_table(3240) := '22746578742D616E63686F72222C20226D6964646C6522293B0D0A20202020202020202020706174685570646174652E61747472282264222C20224D22202B2072616E67655B305D202B20222C22202B207369676E202A206F757465725469636B53697A';
wwv_flow_imp.g_varchar2_table(3241) := '65202B202256304822202B2072616E67655B315D202B20225622202B207369676E202A206F757465725469636B53697A65293B0D0A20202020202020207D20656C7365207B0D0A202020202020202020207469636B5472616E73666F726D203D2064335F';
wwv_flow_imp.g_varchar2_table(3242) := '7376675F61786973592C207831203D202279222C207931203D202278222C207832203D20227932222C207932203D20227832223B0D0A20202020202020202020746578742E6174747228226479222C20222E3332656D22292E7374796C65282274657874';
wwv_flow_imp.g_varchar2_table(3243) := '2D616E63686F72222C207369676E203C2030203F2022656E6422203A2022737461727422293B0D0A20202020202020202020706174685570646174652E61747472282264222C20224D22202B207369676E202A206F757465725469636B53697A65202B20';
wwv_flow_imp.g_varchar2_table(3244) := '222C22202B2072616E67655B305D202B202248305622202B2072616E67655B315D202B20224822202B207369676E202A206F757465725469636B53697A65293B0D0A20202020202020207D0D0A20202020202020206C696E65456E7465722E6174747228';
wwv_flow_imp.g_varchar2_table(3245) := '79322C207369676E202A20696E6E65725469636B53697A65293B0D0A202020202020202074657874456E7465722E617474722879312C207369676E202A207469636B53706163696E67293B0D0A20202020202020206C696E655570646174652E61747472';
wwv_flow_imp.g_varchar2_table(3246) := '2878322C2030292E617474722879322C207369676E202A20696E6E65725469636B53697A65293B0D0A2020202020202020746578745570646174652E617474722878312C2030292E617474722879312C207369676E202A207469636B53706163696E6729';
wwv_flow_imp.g_varchar2_table(3247) := '3B0D0A2020202020202020696620287363616C65312E72616E676542616E6429207B0D0A202020202020202020207661722078203D207363616C65312C206478203D20782E72616E676542616E642829202F20323B0D0A20202020202020202020736361';
wwv_flow_imp.g_varchar2_table(3248) := '6C6530203D207363616C6531203D2066756E6374696F6E286429207B0D0A20202020202020202020202072657475726E2078286429202B2064783B0D0A202020202020202020207D3B0D0A20202020202020207D20656C736520696620287363616C6530';
wwv_flow_imp.g_varchar2_table(3249) := '2E72616E676542616E6429207B0D0A202020202020202020207363616C6530203D207363616C65313B0D0A20202020202020207D20656C7365207B0D0A202020202020202020207469636B457869742E63616C6C287469636B5472616E73666F726D2C20';
wwv_flow_imp.g_varchar2_table(3250) := '7363616C65312C207363616C6530293B0D0A20202020202020207D0D0A20202020202020207469636B456E7465722E63616C6C287469636B5472616E73666F726D2C207363616C65302C207363616C6531293B0D0A20202020202020207469636B557064';
wwv_flow_imp.g_varchar2_table(3251) := '6174652E63616C6C287469636B5472616E73666F726D2C207363616C65312C207363616C6531293B0D0A2020202020207D293B0D0A202020207D0D0A20202020617869732E7363616C65203D2066756E6374696F6E287829207B0D0A2020202020206966';
wwv_flow_imp.g_varchar2_table(3252) := '202821617267756D656E74732E6C656E677468292072657475726E207363616C653B0D0A2020202020207363616C65203D20783B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E6F7269656E74203D20';
wwv_flow_imp.g_varchar2_table(3253) := '66756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E206F7269656E743B0D0A2020202020206F7269656E74203D207820696E2064335F7376675F617869734F7269656E7473203F';
wwv_flow_imp.g_varchar2_table(3254) := '2078202B202222203A2064335F7376675F6178697344656661756C744F7269656E743B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E7469636B73203D2066756E6374696F6E2829207B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3255) := '20206966202821617267756D656E74732E6C656E677468292072657475726E207469636B417267756D656E74735F3B0D0A2020202020207469636B417267756D656E74735F203D20617267756D656E74733B0D0A20202020202072657475726E20617869';
wwv_flow_imp.g_varchar2_table(3256) := '733B0D0A202020207D3B0D0A20202020617869732E7469636B56616C756573203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207469636B56616C7565733B0D0A2020';
wwv_flow_imp.g_varchar2_table(3257) := '202020207469636B56616C756573203D20783B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E7469636B466F726D6174203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267';
wwv_flow_imp.g_varchar2_table(3258) := '756D656E74732E6C656E677468292072657475726E207469636B466F726D61745F3B0D0A2020202020207469636B466F726D61745F203D20783B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E746963';
wwv_flow_imp.g_varchar2_table(3259) := '6B53697A65203D2066756E6374696F6E287829207B0D0A202020202020766172206E203D20617267756D656E74732E6C656E6774683B0D0A20202020202069662028216E292072657475726E20696E6E65725469636B53697A653B0D0A20202020202069';
wwv_flow_imp.g_varchar2_table(3260) := '6E6E65725469636B53697A65203D202B783B0D0A2020202020206F757465725469636B53697A65203D202B617267756D656E74735B6E202D20315D3B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E69';
wwv_flow_imp.g_varchar2_table(3261) := '6E6E65725469636B53697A65203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20696E6E65725469636B53697A653B0D0A202020202020696E6E65725469636B53697A';
wwv_flow_imp.g_varchar2_table(3262) := '65203D202B783B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E6F757465725469636B53697A65203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C65';
wwv_flow_imp.g_varchar2_table(3263) := '6E677468292072657475726E206F757465725469636B53697A653B0D0A2020202020206F757465725469636B53697A65203D202B783B0D0A20202020202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E7469636B506164';
wwv_flow_imp.g_varchar2_table(3264) := '64696E67203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E207469636B50616464696E673B0D0A2020202020207469636B50616464696E67203D202B783B0D0A202020';
wwv_flow_imp.g_varchar2_table(3265) := '20202072657475726E20617869733B0D0A202020207D3B0D0A20202020617869732E7469636B537562646976696465203D2066756E6374696F6E2829207B0D0A20202020202072657475726E20617267756D656E74732E6C656E67746820262620617869';
wwv_flow_imp.g_varchar2_table(3266) := '733B0D0A202020207D3B0D0A2020202072657475726E20617869733B0D0A20207D3B0D0A20207661722064335F7376675F6178697344656661756C744F7269656E74203D2022626F74746F6D222C2064335F7376675F617869734F7269656E7473203D20';
wwv_flow_imp.g_varchar2_table(3267) := '7B0D0A20202020746F703A20312C0D0A2020202072696768743A20312C0D0A20202020626F74746F6D3A20312C0D0A202020206C6566743A20310D0A20207D3B0D0A202066756E6374696F6E2064335F7376675F61786973582873656C656374696F6E2C';
wwv_flow_imp.g_varchar2_table(3268) := '2078302C20783129207B0D0A2020202073656C656374696F6E2E6174747228227472616E73666F726D222C2066756E6374696F6E286429207B0D0A202020202020766172207630203D2078302864293B0D0A20202020202072657475726E20227472616E';
wwv_flow_imp.g_varchar2_table(3269) := '736C6174652822202B2028697346696E69746528763029203F207630203A20783128642929202B20222C3029223B0D0A202020207D293B0D0A20207D0D0A202066756E6374696F6E2064335F7376675F61786973592873656C656374696F6E2C2079302C';
wwv_flow_imp.g_varchar2_table(3270) := '20793129207B0D0A2020202073656C656374696F6E2E6174747228227472616E73666F726D222C2066756E6374696F6E286429207B0D0A202020202020766172207630203D2079302864293B0D0A20202020202072657475726E20227472616E736C6174';
wwv_flow_imp.g_varchar2_table(3271) := '6528302C22202B2028697346696E69746528763029203F207630203A20793128642929202B202229223B0D0A202020207D293B0D0A20207D0D0A202064332E7376672E6272757368203D2066756E6374696F6E2829207B0D0A2020202076617220657665';
wwv_flow_imp.g_varchar2_table(3272) := '6E74203D2064335F6576656E7444697370617463682862727573682C202262727573687374617274222C20226272757368222C20226272757368656E6422292C2078203D206E756C6C2C2079203D206E756C6C2C2078457874656E74203D205B20302C20';
wwv_flow_imp.g_varchar2_table(3273) := '30205D2C2079457874656E74203D205B20302C2030205D2C2078457874656E74446F6D61696E2C2079457874656E74446F6D61696E2C2078436C616D70203D20747275652C2079436C616D70203D20747275652C20726573697A6573203D2064335F7376';
wwv_flow_imp.g_varchar2_table(3274) := '675F6272757368526573697A65735B305D3B0D0A2020202066756E6374696F6E206272757368286729207B0D0A202020202020672E656163682866756E6374696F6E2829207B0D0A20202020202020207661722067203D2064332E73656C656374287468';
wwv_flow_imp.g_varchar2_table(3275) := '6973292E7374796C652822706F696E7465722D6576656E7473222C2022616C6C22292E7374796C6528222D7765626B69742D7461702D686967686C696768742D636F6C6F72222C20227267626128302C302C302C302922292E6F6E28226D6F757365646F';
wwv_flow_imp.g_varchar2_table(3276) := '776E2E6272757368222C2062727573687374617274292E6F6E2822746F75636873746172742E6272757368222C2062727573687374617274293B0D0A2020202020202020766172206261636B67726F756E64203D20672E73656C656374416C6C28222E62';
wwv_flow_imp.g_varchar2_table(3277) := '61636B67726F756E6422292E64617461285B2030205D293B0D0A20202020202020206261636B67726F756E642E656E74657228292E617070656E6428227265637422292E617474722822636C617373222C20226261636B67726F756E6422292E7374796C';
wwv_flow_imp.g_varchar2_table(3278) := '6528227669736962696C697479222C202268696464656E22292E7374796C652822637572736F72222C202263726F73736861697222293B0D0A2020202020202020672E73656C656374416C6C28222E657874656E7422292E64617461285B2030205D292E';
wwv_flow_imp.g_varchar2_table(3279) := '656E74657228292E617070656E6428227265637422292E617474722822636C617373222C2022657874656E7422292E7374796C652822637572736F72222C20226D6F766522293B0D0A202020202020202076617220726573697A65203D20672E73656C65';
wwv_flow_imp.g_varchar2_table(3280) := '6374416C6C28222E726573697A6522292E6461746128726573697A65732C2064335F6964656E74697479293B0D0A2020202020202020726573697A652E6578697428292E72656D6F766528293B0D0A2020202020202020726573697A652E656E74657228';
wwv_flow_imp.g_varchar2_table(3281) := '292E617070656E6428226722292E617474722822636C617373222C2066756E6374696F6E286429207B0D0A2020202020202020202072657475726E2022726573697A652022202B20643B0D0A20202020202020207D292E7374796C652822637572736F72';
wwv_flow_imp.g_varchar2_table(3282) := '222C2066756E6374696F6E286429207B0D0A2020202020202020202072657475726E2064335F7376675F6272757368437572736F725B645D3B0D0A20202020202020207D292E617070656E6428227265637422292E61747472282278222C2066756E6374';
wwv_flow_imp.g_varchar2_table(3283) := '696F6E286429207B0D0A2020202020202020202072657475726E202F5B65775D242F2E74657374286429203F202D33203A206E756C6C3B0D0A20202020202020207D292E61747472282279222C2066756E6374696F6E286429207B0D0A20202020202020';
wwv_flow_imp.g_varchar2_table(3284) := '20202072657475726E202F5E5B6E735D2F2E74657374286429203F202D33203A206E756C6C3B0D0A20202020202020207D292E6174747228227769647468222C2036292E617474722822686569676874222C2036292E7374796C6528227669736962696C';
wwv_flow_imp.g_varchar2_table(3285) := '697479222C202268696464656E22293B0D0A2020202020202020726573697A652E7374796C652822646973706C6179222C2062727573682E656D7074792829203F20226E6F6E6522203A206E756C6C293B0D0A2020202020202020766172206755706461';
wwv_flow_imp.g_varchar2_table(3286) := '7465203D2064332E7472616E736974696F6E2867292C206261636B67726F756E64557064617465203D2064332E7472616E736974696F6E286261636B67726F756E64292C2072616E67653B0D0A2020202020202020696620287829207B0D0A2020202020';
wwv_flow_imp.g_varchar2_table(3287) := '202020202072616E6765203D2064335F7363616C6552616E67652878293B0D0A202020202020202020206261636B67726F756E645570646174652E61747472282278222C2072616E67655B305D292E6174747228227769647468222C2072616E67655B31';
wwv_flow_imp.g_varchar2_table(3288) := '5D202D2072616E67655B305D293B0D0A20202020202020202020726564726177582867557064617465293B0D0A20202020202020207D0D0A2020202020202020696620287929207B0D0A2020202020202020202072616E6765203D2064335F7363616C65';
wwv_flow_imp.g_varchar2_table(3289) := '52616E67652879293B0D0A202020202020202020206261636B67726F756E645570646174652E61747472282279222C2072616E67655B305D292E617474722822686569676874222C2072616E67655B315D202D2072616E67655B305D293B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3290) := '202020202020726564726177592867557064617465293B0D0A20202020202020207D0D0A20202020202020207265647261772867557064617465293B0D0A2020202020207D293B0D0A202020207D0D0A2020202062727573682E6576656E74203D206675';
wwv_flow_imp.g_varchar2_table(3291) := '6E6374696F6E286729207B0D0A202020202020672E656163682866756E6374696F6E2829207B0D0A2020202020202020766172206576656E745F203D206576656E742E6F6628746869732C20617267756D656E7473292C20657874656E7431203D207B0D';
wwv_flow_imp.g_varchar2_table(3292) := '0A20202020202020202020783A2078457874656E742C0D0A20202020202020202020793A2079457874656E742C0D0A20202020202020202020693A2078457874656E74446F6D61696E2C0D0A202020202020202020206A3A2079457874656E74446F6D61';
wwv_flow_imp.g_varchar2_table(3293) := '696E0D0A20202020202020207D2C20657874656E7430203D20746869732E5F5F63686172745F5F207C7C20657874656E74313B0D0A2020202020202020746869732E5F5F63686172745F5F203D20657874656E74313B0D0A202020202020202069662028';
wwv_flow_imp.g_varchar2_table(3294) := '64335F7472616E736974696F6E496E6865726974496429207B0D0A2020202020202020202064332E73656C6563742874686973292E7472616E736974696F6E28292E65616368282273746172742E6272757368222C2066756E6374696F6E2829207B0D0A';
wwv_flow_imp.g_varchar2_table(3295) := '20202020202020202020202078457874656E74446F6D61696E203D20657874656E74302E693B0D0A20202020202020202020202079457874656E74446F6D61696E203D20657874656E74302E6A3B0D0A20202020202020202020202078457874656E7420';
wwv_flow_imp.g_varchar2_table(3296) := '3D20657874656E74302E783B0D0A20202020202020202020202079457874656E74203D20657874656E74302E793B0D0A2020202020202020202020206576656E745F287B0D0A2020202020202020202020202020747970653A2022627275736873746172';
wwv_flow_imp.g_varchar2_table(3297) := '74220D0A2020202020202020202020207D293B0D0A202020202020202020207D292E747765656E282262727573683A6272757368222C2066756E6374696F6E2829207B0D0A202020202020202020202020766172207869203D2064335F696E746572706F';
wwv_flow_imp.g_varchar2_table(3298) := '6C61746541727261792878457874656E742C20657874656E74312E78292C207969203D2064335F696E746572706F6C61746541727261792879457874656E742C20657874656E74312E79293B0D0A20202020202020202020202078457874656E74446F6D';
wwv_flow_imp.g_varchar2_table(3299) := '61696E203D2079457874656E74446F6D61696E203D206E756C6C3B0D0A20202020202020202020202072657475726E2066756E6374696F6E287429207B0D0A202020202020202020202020202078457874656E74203D20657874656E74312E78203D2078';
wwv_flow_imp.g_varchar2_table(3300) := '692874293B0D0A202020202020202020202020202079457874656E74203D20657874656E74312E79203D2079692874293B0D0A20202020202020202020202020206576656E745F287B0D0A20202020202020202020202020202020747970653A20226272';
wwv_flow_imp.g_varchar2_table(3301) := '757368222C0D0A202020202020202020202020202020206D6F64653A2022726573697A65220D0A20202020202020202020202020207D293B0D0A2020202020202020202020207D3B0D0A202020202020202020207D292E656163682822656E642E627275';
wwv_flow_imp.g_varchar2_table(3302) := '7368222C2066756E6374696F6E2829207B0D0A20202020202020202020202078457874656E74446F6D61696E203D20657874656E74312E693B0D0A20202020202020202020202079457874656E74446F6D61696E203D20657874656E74312E6A3B0D0A20';
wwv_flow_imp.g_varchar2_table(3303) := '20202020202020202020206576656E745F287B0D0A2020202020202020202020202020747970653A20226272757368222C0D0A20202020202020202020202020206D6F64653A2022726573697A65220D0A2020202020202020202020207D293B0D0A2020';
wwv_flow_imp.g_varchar2_table(3304) := '202020202020202020206576656E745F287B0D0A2020202020202020202020202020747970653A20226272757368656E64220D0A2020202020202020202020207D293B0D0A202020202020202020207D293B0D0A20202020202020207D20656C7365207B';
wwv_flow_imp.g_varchar2_table(3305) := '0D0A202020202020202020206576656E745F287B0D0A202020202020202020202020747970653A202262727573687374617274220D0A202020202020202020207D293B0D0A202020202020202020206576656E745F287B0D0A2020202020202020202020';
wwv_flow_imp.g_varchar2_table(3306) := '20747970653A20226272757368222C0D0A2020202020202020202020206D6F64653A2022726573697A65220D0A202020202020202020207D293B0D0A202020202020202020206576656E745F287B0D0A202020202020202020202020747970653A202262';
wwv_flow_imp.g_varchar2_table(3307) := '72757368656E64220D0A202020202020202020207D293B0D0A20202020202020207D0D0A2020202020207D293B0D0A202020207D3B0D0A2020202066756E6374696F6E20726564726177286729207B0D0A202020202020672E73656C656374416C6C2822';
wwv_flow_imp.g_varchar2_table(3308) := '2E726573697A6522292E6174747228227472616E73666F726D222C2066756E6374696F6E286429207B0D0A202020202020202072657475726E20227472616E736C6174652822202B2078457874656E745B2B2F65242F2E746573742864295D202B20222C';
wwv_flow_imp.g_varchar2_table(3309) := '22202B2079457874656E745B2B2F5E732F2E746573742864295D202B202229223B0D0A2020202020207D293B0D0A202020207D0D0A2020202066756E6374696F6E2072656472617758286729207B0D0A202020202020672E73656C65637428222E657874';
wwv_flow_imp.g_varchar2_table(3310) := '656E7422292E61747472282278222C2078457874656E745B305D293B0D0A202020202020672E73656C656374416C6C28222E657874656E742C2E6E3E726563742C2E733E7265637422292E6174747228227769647468222C2078457874656E745B315D20';
wwv_flow_imp.g_varchar2_table(3311) := '2D2078457874656E745B305D293B0D0A202020207D0D0A2020202066756E6374696F6E2072656472617759286729207B0D0A202020202020672E73656C65637428222E657874656E7422292E61747472282279222C2079457874656E745B305D293B0D0A';
wwv_flow_imp.g_varchar2_table(3312) := '202020202020672E73656C656374416C6C28222E657874656E742C2E653E726563742C2E773E7265637422292E617474722822686569676874222C2079457874656E745B315D202D2079457874656E745B305D293B0D0A202020207D0D0A202020206675';
wwv_flow_imp.g_varchar2_table(3313) := '6E6374696F6E20627275736873746172742829207B0D0A20202020202076617220746172676574203D20746869732C206576656E74546172676574203D2064332E73656C6563742864332E6576656E742E746172676574292C206576656E745F203D2065';
wwv_flow_imp.g_varchar2_table(3314) := '76656E742E6F66287461726765742C20617267756D656E7473292C2067203D2064332E73656C65637428746172676574292C20726573697A696E67203D206576656E745461726765742E646174756D28292C20726573697A696E6758203D20212F5E286E';
wwv_flow_imp.g_varchar2_table(3315) := '7C7329242F2E7465737428726573697A696E672920262620782C20726573697A696E6759203D20212F5E28657C7729242F2E7465737428726573697A696E672920262620792C206472616767696E67203D206576656E745461726765742E636C61737365';
wwv_flow_imp.g_varchar2_table(3316) := '642822657874656E7422292C2064726167526573746F7265203D2064335F6576656E745F64726167537570707265737328746172676574292C2063656E7465722C206F726967696E203D2064332E6D6F75736528746172676574292C206F66667365743B';
wwv_flow_imp.g_varchar2_table(3317) := '0D0A2020202020207661722077203D2064332E73656C6563742864335F77696E646F772874617267657429292E6F6E28226B6579646F776E2E6272757368222C206B6579646F776E292E6F6E28226B657975702E6272757368222C206B65797570293B0D';
wwv_flow_imp.g_varchar2_table(3318) := '0A2020202020206966202864332E6576656E742E6368616E676564546F756368657329207B0D0A2020202020202020772E6F6E2822746F7563686D6F76652E6272757368222C2062727573686D6F7665292E6F6E2822746F756368656E642E6272757368';
wwv_flow_imp.g_varchar2_table(3319) := '222C206272757368656E64293B0D0A2020202020207D20656C7365207B0D0A2020202020202020772E6F6E28226D6F7573656D6F76652E6272757368222C2062727573686D6F7665292E6F6E28226D6F75736575702E6272757368222C20627275736865';
wwv_flow_imp.g_varchar2_table(3320) := '6E64293B0D0A2020202020207D0D0A202020202020672E696E7465727275707428292E73656C656374416C6C28222A22292E696E7465727275707428293B0D0A202020202020696620286472616767696E6729207B0D0A20202020202020206F72696769';
wwv_flow_imp.g_varchar2_table(3321) := '6E5B305D203D2078457874656E745B305D202D206F726967696E5B305D3B0D0A20202020202020206F726967696E5B315D203D2079457874656E745B305D202D206F726967696E5B315D3B0D0A2020202020207D20656C73652069662028726573697A69';
wwv_flow_imp.g_varchar2_table(3322) := '6E6729207B0D0A2020202020202020766172206578203D202B2F77242F2E7465737428726573697A696E67292C206579203D202B2F5E6E2F2E7465737428726573697A696E67293B0D0A20202020202020206F6666736574203D205B2078457874656E74';
wwv_flow_imp.g_varchar2_table(3323) := '5B31202D2065785D202D206F726967696E5B305D2C2079457874656E745B31202D2065795D202D206F726967696E5B315D205D3B0D0A20202020202020206F726967696E5B305D203D2078457874656E745B65785D3B0D0A20202020202020206F726967';
wwv_flow_imp.g_varchar2_table(3324) := '696E5B315D203D2079457874656E745B65795D3B0D0A2020202020207D20656C7365206966202864332E6576656E742E616C744B6579292063656E746572203D206F726967696E2E736C69636528293B0D0A202020202020672E7374796C652822706F69';
wwv_flow_imp.g_varchar2_table(3325) := '6E7465722D6576656E7473222C20226E6F6E6522292E73656C656374416C6C28222E726573697A6522292E7374796C652822646973706C6179222C206E756C6C293B0D0A20202020202064332E73656C6563742822626F647922292E7374796C65282263';
wwv_flow_imp.g_varchar2_table(3326) := '7572736F72222C206576656E745461726765742E7374796C652822637572736F722229293B0D0A2020202020206576656E745F287B0D0A2020202020202020747970653A202262727573687374617274220D0A2020202020207D293B0D0A202020202020';
wwv_flow_imp.g_varchar2_table(3327) := '62727573686D6F766528293B0D0A20202020202066756E6374696F6E206B6579646F776E2829207B0D0A20202020202020206966202864332E6576656E742E6B6579436F6465203D3D20333229207B0D0A20202020202020202020696620282164726167';
wwv_flow_imp.g_varchar2_table(3328) := '67696E6729207B0D0A20202020202020202020202063656E746572203D206E756C6C3B0D0A2020202020202020202020206F726967696E5B305D202D3D2078457874656E745B315D3B0D0A2020202020202020202020206F726967696E5B315D202D3D20';
wwv_flow_imp.g_varchar2_table(3329) := '79457874656E745B315D3B0D0A2020202020202020202020206472616767696E67203D20323B0D0A202020202020202020207D0D0A2020202020202020202064335F6576656E7450726576656E7444656661756C7428293B0D0A20202020202020207D0D';
wwv_flow_imp.g_varchar2_table(3330) := '0A2020202020207D0D0A20202020202066756E6374696F6E206B657975702829207B0D0A20202020202020206966202864332E6576656E742E6B6579436F6465203D3D203332202626206472616767696E67203D3D203229207B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3331) := '20206F726967696E5B305D202B3D2078457874656E745B315D3B0D0A202020202020202020206F726967696E5B315D202B3D2079457874656E745B315D3B0D0A202020202020202020206472616767696E67203D20303B0D0A2020202020202020202064';
wwv_flow_imp.g_varchar2_table(3332) := '335F6576656E7450726576656E7444656661756C7428293B0D0A20202020202020207D0D0A2020202020207D0D0A20202020202066756E6374696F6E2062727573686D6F76652829207B0D0A202020202020202076617220706F696E74203D2064332E6D';
wwv_flow_imp.g_varchar2_table(3333) := '6F75736528746172676574292C206D6F766564203D2066616C73653B0D0A2020202020202020696620286F666673657429207B0D0A20202020202020202020706F696E745B305D202B3D206F66667365745B305D3B0D0A20202020202020202020706F69';
wwv_flow_imp.g_varchar2_table(3334) := '6E745B315D202B3D206F66667365745B315D3B0D0A20202020202020207D0D0A202020202020202069662028216472616767696E6729207B0D0A202020202020202020206966202864332E6576656E742E616C744B657929207B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3335) := '20202020696620282163656E746572292063656E746572203D205B202878457874656E745B305D202B2078457874656E745B315D29202F20322C202879457874656E745B305D202B2079457874656E745B315D29202F2032205D3B0D0A20202020202020';
wwv_flow_imp.g_varchar2_table(3336) := '20202020206F726967696E5B305D203D2078457874656E745B2B28706F696E745B305D203C2063656E7465725B305D295D3B0D0A2020202020202020202020206F726967696E5B315D203D2079457874656E745B2B28706F696E745B315D203C2063656E';
wwv_flow_imp.g_varchar2_table(3337) := '7465725B315D295D3B0D0A202020202020202020207D20656C73652063656E746572203D206E756C6C3B0D0A20202020202020207D0D0A202020202020202069662028726573697A696E6758202626206D6F76653128706F696E742C20782C2030292920';
wwv_flow_imp.g_varchar2_table(3338) := '7B0D0A20202020202020202020726564726177582867293B0D0A202020202020202020206D6F766564203D20747275653B0D0A20202020202020207D0D0A202020202020202069662028726573697A696E6759202626206D6F76653128706F696E742C20';
wwv_flow_imp.g_varchar2_table(3339) := '792C20312929207B0D0A20202020202020202020726564726177592867293B0D0A202020202020202020206D6F766564203D20747275653B0D0A20202020202020207D0D0A2020202020202020696620286D6F76656429207B0D0A202020202020202020';
wwv_flow_imp.g_varchar2_table(3340) := '207265647261772867293B0D0A202020202020202020206576656E745F287B0D0A202020202020202020202020747970653A20226272757368222C0D0A2020202020202020202020206D6F64653A206472616767696E67203F20226D6F766522203A2022';
wwv_flow_imp.g_varchar2_table(3341) := '726573697A65220D0A202020202020202020207D293B0D0A20202020202020207D0D0A2020202020207D0D0A20202020202066756E6374696F6E206D6F76653128706F696E742C207363616C652C206929207B0D0A20202020202020207661722072616E';
wwv_flow_imp.g_varchar2_table(3342) := '6765203D2064335F7363616C6552616E6765287363616C65292C207230203D2072616E67655B305D2C207231203D2072616E67655B315D2C20706F736974696F6E203D206F726967696E5B695D2C20657874656E74203D2069203F2079457874656E7420';
wwv_flow_imp.g_varchar2_table(3343) := '3A2078457874656E742C2073697A65203D20657874656E745B315D202D20657874656E745B305D2C206D696E2C206D61783B0D0A2020202020202020696620286472616767696E6729207B0D0A202020202020202020207230202D3D20706F736974696F';
wwv_flow_imp.g_varchar2_table(3344) := '6E3B0D0A202020202020202020207231202D3D2073697A65202B20706F736974696F6E3B0D0A20202020202020207D0D0A20202020202020206D696E203D202869203F2079436C616D70203A2078436C616D7029203F204D6174682E6D61782872302C20';
wwv_flow_imp.g_varchar2_table(3345) := '4D6174682E6D696E2872312C20706F696E745B695D2929203A20706F696E745B695D3B0D0A2020202020202020696620286472616767696E6729207B0D0A202020202020202020206D6178203D20286D696E202B3D20706F736974696F6E29202B207369';
wwv_flow_imp.g_varchar2_table(3346) := '7A653B0D0A20202020202020207D20656C7365207B0D0A202020202020202020206966202863656E7465722920706F736974696F6E203D204D6174682E6D61782872302C204D6174682E6D696E2872312C2032202A2063656E7465725B695D202D206D69';
wwv_flow_imp.g_varchar2_table(3347) := '6E29293B0D0A2020202020202020202069662028706F736974696F6E203C206D696E29207B0D0A2020202020202020202020206D6178203D206D696E3B0D0A2020202020202020202020206D696E203D20706F736974696F6E3B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3348) := '20207D20656C7365207B0D0A2020202020202020202020206D6178203D20706F736974696F6E3B0D0A202020202020202020207D0D0A20202020202020207D0D0A202020202020202069662028657874656E745B305D20213D206D696E207C7C20657874';
wwv_flow_imp.g_varchar2_table(3349) := '656E745B315D20213D206D617829207B0D0A202020202020202020206966202869292079457874656E74446F6D61696E203D206E756C6C3B20656C73652078457874656E74446F6D61696E203D206E756C6C3B0D0A20202020202020202020657874656E';
wwv_flow_imp.g_varchar2_table(3350) := '745B305D203D206D696E3B0D0A20202020202020202020657874656E745B315D203D206D61783B0D0A2020202020202020202072657475726E20747275653B0D0A20202020202020207D0D0A2020202020207D0D0A20202020202066756E6374696F6E20';
wwv_flow_imp.g_varchar2_table(3351) := '6272757368656E642829207B0D0A202020202020202062727573686D6F766528293B0D0A2020202020202020672E7374796C652822706F696E7465722D6576656E7473222C2022616C6C22292E73656C656374416C6C28222E726573697A6522292E7374';
wwv_flow_imp.g_varchar2_table(3352) := '796C652822646973706C6179222C2062727573682E656D7074792829203F20226E6F6E6522203A206E756C6C293B0D0A202020202020202064332E73656C6563742822626F647922292E7374796C652822637572736F72222C206E756C6C293B0D0A2020';
wwv_flow_imp.g_varchar2_table(3353) := '202020202020772E6F6E28226D6F7573656D6F76652E6272757368222C206E756C6C292E6F6E28226D6F75736575702E6272757368222C206E756C6C292E6F6E2822746F7563686D6F76652E6272757368222C206E756C6C292E6F6E2822746F75636865';
wwv_flow_imp.g_varchar2_table(3354) := '6E642E6272757368222C206E756C6C292E6F6E28226B6579646F776E2E6272757368222C206E756C6C292E6F6E28226B657975702E6272757368222C206E756C6C293B0D0A202020202020202064726167526573746F726528293B0D0A20202020202020';
wwv_flow_imp.g_varchar2_table(3355) := '206576656E745F287B0D0A20202020202020202020747970653A20226272757368656E64220D0A20202020202020207D293B0D0A2020202020207D0D0A202020207D0D0A2020202062727573682E78203D2066756E6374696F6E287A29207B0D0A202020';
wwv_flow_imp.g_varchar2_table(3356) := '2020206966202821617267756D656E74732E6C656E677468292072657475726E20783B0D0A20202020202078203D207A3B0D0A202020202020726573697A6573203D2064335F7376675F6272757368526573697A65735B2178203C3C2031207C2021795D';
wwv_flow_imp.g_varchar2_table(3357) := '3B0D0A20202020202072657475726E2062727573683B0D0A202020207D3B0D0A2020202062727573682E79203D2066756E6374696F6E287A29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20793B0D';
wwv_flow_imp.g_varchar2_table(3358) := '0A20202020202079203D207A3B0D0A202020202020726573697A6573203D2064335F7376675F6272757368526573697A65735B2178203C3C2031207C2021795D3B0D0A20202020202072657475726E2062727573683B0D0A202020207D3B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3359) := '62727573682E636C616D70203D2066756E6374696F6E287A29207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E20782026262079203F205B2078436C616D702C2079436C616D70205D203A2078203F2078';
wwv_flow_imp.g_varchar2_table(3360) := '436C616D70203A2079203F2079436C616D70203A206E756C6C3B0D0A20202020202069662028782026262079292078436C616D70203D2021217A5B305D2C2079436C616D70203D2021217A5B315D3B20656C7365206966202878292078436C616D70203D';
wwv_flow_imp.g_varchar2_table(3361) := '2021217A3B20656C7365206966202879292079436C616D70203D2021217A3B0D0A20202020202072657475726E2062727573683B0D0A202020207D3B0D0A2020202062727573682E657874656E74203D2066756E6374696F6E287A29207B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3362) := '20207661722078302C2078312C2079302C2079312C20743B0D0A2020202020206966202821617267756D656E74732E6C656E67746829207B0D0A2020202020202020696620287829207B0D0A202020202020202020206966202878457874656E74446F6D';
wwv_flow_imp.g_varchar2_table(3363) := '61696E29207B0D0A2020202020202020202020207830203D2078457874656E74446F6D61696E5B305D2C207831203D2078457874656E74446F6D61696E5B315D3B0D0A202020202020202020207D20656C7365207B0D0A20202020202020202020202078';
wwv_flow_imp.g_varchar2_table(3364) := '30203D2078457874656E745B305D2C207831203D2078457874656E745B315D3B0D0A20202020202020202020202069662028782E696E7665727429207830203D20782E696E76657274287830292C207831203D20782E696E76657274287831293B0D0A20';
wwv_flow_imp.g_varchar2_table(3365) := '2020202020202020202020696620287831203C207830292074203D2078302C207830203D2078312C207831203D20743B0D0A202020202020202020207D0D0A20202020202020207D0D0A2020202020202020696620287929207B0D0A2020202020202020';
wwv_flow_imp.g_varchar2_table(3366) := '20206966202879457874656E74446F6D61696E29207B0D0A2020202020202020202020207930203D2079457874656E74446F6D61696E5B305D2C207931203D2079457874656E74446F6D61696E5B315D3B0D0A202020202020202020207D20656C736520';
wwv_flow_imp.g_varchar2_table(3367) := '7B0D0A2020202020202020202020207930203D2079457874656E745B305D2C207931203D2079457874656E745B315D3B0D0A20202020202020202020202069662028792E696E7665727429207930203D20792E696E76657274287930292C207931203D20';
wwv_flow_imp.g_varchar2_table(3368) := '792E696E76657274287931293B0D0A202020202020202020202020696620287931203C207930292074203D2079302C207930203D2079312C207931203D20743B0D0A202020202020202020207D0D0A20202020202020207D0D0A20202020202020207265';
wwv_flow_imp.g_varchar2_table(3369) := '7475726E20782026262079203F205B205B2078302C207930205D2C205B2078312C207931205D205D203A2078203F205B2078302C207831205D203A2079202626205B2079302C207931205D3B0D0A2020202020207D0D0A20202020202069662028782920';
wwv_flow_imp.g_varchar2_table(3370) := '7B0D0A20202020202020207830203D207A5B305D2C207831203D207A5B315D3B0D0A2020202020202020696620287929207830203D2078305B305D2C207831203D2078315B305D3B0D0A202020202020202078457874656E74446F6D61696E203D205B20';
wwv_flow_imp.g_varchar2_table(3371) := '78302C207831205D3B0D0A202020202020202069662028782E696E7665727429207830203D2078287830292C207831203D2078287831293B0D0A2020202020202020696620287831203C207830292074203D2078302C207830203D2078312C207831203D';
wwv_flow_imp.g_varchar2_table(3372) := '20743B0D0A202020202020202069662028783020213D2078457874656E745B305D207C7C20783120213D2078457874656E745B315D292078457874656E74203D205B2078302C207831205D3B0D0A2020202020207D0D0A20202020202069662028792920';
wwv_flow_imp.g_varchar2_table(3373) := '7B0D0A20202020202020207930203D207A5B305D2C207931203D207A5B315D3B0D0A2020202020202020696620287829207930203D2079305B315D2C207931203D2079315B315D3B0D0A202020202020202079457874656E74446F6D61696E203D205B20';
wwv_flow_imp.g_varchar2_table(3374) := '79302C207931205D3B0D0A202020202020202069662028792E696E7665727429207930203D2079287930292C207931203D2079287931293B0D0A2020202020202020696620287931203C207930292074203D2079302C207930203D2079312C207931203D';
wwv_flow_imp.g_varchar2_table(3375) := '20743B0D0A202020202020202069662028793020213D2079457874656E745B305D207C7C20793120213D2079457874656E745B315D292079457874656E74203D205B2079302C207931205D3B0D0A2020202020207D0D0A20202020202072657475726E20';
wwv_flow_imp.g_varchar2_table(3376) := '62727573683B0D0A202020207D3B0D0A2020202062727573682E636C656172203D2066756E6374696F6E2829207B0D0A202020202020696620282162727573682E656D707479282929207B0D0A202020202020202078457874656E74203D205B20302C20';
wwv_flow_imp.g_varchar2_table(3377) := '30205D2C2079457874656E74203D205B20302C2030205D3B0D0A202020202020202078457874656E74446F6D61696E203D2079457874656E74446F6D61696E203D206E756C6C3B0D0A2020202020207D0D0A20202020202072657475726E206272757368';
wwv_flow_imp.g_varchar2_table(3378) := '3B0D0A202020207D3B0D0A2020202062727573682E656D707479203D2066756E6374696F6E2829207B0D0A20202020202072657475726E202121782026262078457874656E745B305D203D3D2078457874656E745B315D207C7C20212179202626207945';
wwv_flow_imp.g_varchar2_table(3379) := '7874656E745B305D203D3D2079457874656E745B315D3B0D0A202020207D3B0D0A2020202072657475726E2064332E726562696E642862727573682C206576656E742C20226F6E22293B0D0A20207D3B0D0A20207661722064335F7376675F6272757368';
wwv_flow_imp.g_varchar2_table(3380) := '437572736F72203D207B0D0A202020206E3A20226E732D726573697A65222C0D0A20202020653A202265772D726573697A65222C0D0A20202020733A20226E732D726573697A65222C0D0A20202020773A202265772D726573697A65222C0D0A20202020';
wwv_flow_imp.g_varchar2_table(3381) := '6E773A20226E7773652D726573697A65222C0D0A202020206E653A20226E6573772D726573697A65222C0D0A2020202073653A20226E7773652D726573697A65222C0D0A2020202073773A20226E6573772D726573697A65220D0A20207D3B0D0A202076';
wwv_flow_imp.g_varchar2_table(3382) := '61722064335F7376675F6272757368526573697A6573203D205B205B20226E222C202265222C202273222C202277222C20226E77222C20226E65222C20227365222C2022737722205D2C205B202265222C20227722205D2C205B20226E222C2022732220';
wwv_flow_imp.g_varchar2_table(3383) := '5D2C205B5D205D3B0D0A20207661722064335F74696D655F666F726D6174203D2064335F74696D652E666F726D6174203D2064335F6C6F63616C655F656E55532E74696D65466F726D61743B0D0A20207661722064335F74696D655F666F726D61745574';
wwv_flow_imp.g_varchar2_table(3384) := '63203D2064335F74696D655F666F726D61742E7574633B0D0A20207661722064335F74696D655F666F726D617449736F203D2064335F74696D655F666F726D6174557463282225592D256D2D25645425483A254D3A25532E254C5A22293B0D0A20206433';
wwv_flow_imp.g_varchar2_table(3385) := '5F74696D655F666F726D61742E69736F203D20446174652E70726F746F747970652E746F49534F537472696E67202626202B6E657720446174652822323030302D30312D30315430303A30303A30302E3030305A2229203F2064335F74696D655F666F72';
wwv_flow_imp.g_varchar2_table(3386) := '6D617449736F4E6174697665203A2064335F74696D655F666F726D617449736F3B0D0A202066756E6374696F6E2064335F74696D655F666F726D617449736F4E6174697665286461746529207B0D0A2020202072657475726E20646174652E746F49534F';
wwv_flow_imp.g_varchar2_table(3387) := '537472696E6728293B0D0A20207D0D0A202064335F74696D655F666F726D617449736F4E61746976652E7061727365203D2066756E6374696F6E28737472696E6729207B0D0A202020207661722064617465203D206E6577204461746528737472696E67';
wwv_flow_imp.g_varchar2_table(3388) := '293B0D0A2020202072657475726E2069734E614E286461746529203F206E756C6C203A20646174653B0D0A20207D3B0D0A202064335F74696D655F666F726D617449736F4E61746976652E746F537472696E67203D2064335F74696D655F666F726D6174';
wwv_flow_imp.g_varchar2_table(3389) := '49736F2E746F537472696E673B0D0A202064335F74696D652E7365636F6E64203D2064335F74696D655F696E74657276616C2866756E6374696F6E286461746529207B0D0A2020202072657475726E206E65772064335F64617465284D6174682E666C6F';
wwv_flow_imp.g_varchar2_table(3390) := '6F722864617465202F2031653329202A20316533293B0D0A20207D2C2066756E6374696F6E28646174652C206F666673657429207B0D0A20202020646174652E73657454696D6528646174652E67657454696D652829202B204D6174682E666C6F6F7228';
wwv_flow_imp.g_varchar2_table(3391) := '6F666673657429202A20316533293B0D0A20207D2C2066756E6374696F6E286461746529207B0D0A2020202072657475726E20646174652E6765745365636F6E647328293B0D0A20207D293B0D0A202064335F74696D652E7365636F6E6473203D206433';
wwv_flow_imp.g_varchar2_table(3392) := '5F74696D652E7365636F6E642E72616E67653B0D0A202064335F74696D652E7365636F6E64732E757463203D2064335F74696D652E7365636F6E642E7574632E72616E67653B0D0A202064335F74696D652E6D696E757465203D2064335F74696D655F69';
wwv_flow_imp.g_varchar2_table(3393) := '6E74657276616C2866756E6374696F6E286461746529207B0D0A2020202072657475726E206E65772064335F64617465284D6174682E666C6F6F722864617465202F2036653429202A20366534293B0D0A20207D2C2066756E6374696F6E28646174652C';
wwv_flow_imp.g_varchar2_table(3394) := '206F666673657429207B0D0A20202020646174652E73657454696D6528646174652E67657454696D652829202B204D6174682E666C6F6F72286F666673657429202A20366534293B0D0A20207D2C2066756E6374696F6E286461746529207B0D0A202020';
wwv_flow_imp.g_varchar2_table(3395) := '2072657475726E20646174652E6765744D696E7574657328293B0D0A20207D293B0D0A202064335F74696D652E6D696E75746573203D2064335F74696D652E6D696E7574652E72616E67653B0D0A202064335F74696D652E6D696E757465732E75746320';
wwv_flow_imp.g_varchar2_table(3396) := '3D2064335F74696D652E6D696E7574652E7574632E72616E67653B0D0A202064335F74696D652E686F7572203D2064335F74696D655F696E74657276616C2866756E6374696F6E286461746529207B0D0A202020207661722074696D657A6F6E65203D20';
wwv_flow_imp.g_varchar2_table(3397) := '646174652E67657454696D657A6F6E654F66667365742829202F2036303B0D0A2020202072657475726E206E65772064335F6461746528284D6174682E666C6F6F722864617465202F2033366535202D2074696D657A6F6E6529202B2074696D657A6F6E';
wwv_flow_imp.g_varchar2_table(3398) := '6529202A2033366535293B0D0A20207D2C2066756E6374696F6E28646174652C206F666673657429207B0D0A20202020646174652E73657454696D6528646174652E67657454696D652829202B204D6174682E666C6F6F72286F666673657429202A2033';
wwv_flow_imp.g_varchar2_table(3399) := '366535293B0D0A20207D2C2066756E6374696F6E286461746529207B0D0A2020202072657475726E20646174652E676574486F75727328293B0D0A20207D293B0D0A202064335F74696D652E686F757273203D2064335F74696D652E686F75722E72616E';
wwv_flow_imp.g_varchar2_table(3400) := '67653B0D0A202064335F74696D652E686F7572732E757463203D2064335F74696D652E686F75722E7574632E72616E67653B0D0A202064335F74696D652E6D6F6E7468203D2064335F74696D655F696E74657276616C2866756E6374696F6E2864617465';
wwv_flow_imp.g_varchar2_table(3401) := '29207B0D0A2020202064617465203D2064335F74696D652E6461792864617465293B0D0A20202020646174652E736574446174652831293B0D0A2020202072657475726E20646174653B0D0A20207D2C2066756E6374696F6E28646174652C206F666673';
wwv_flow_imp.g_varchar2_table(3402) := '657429207B0D0A20202020646174652E7365744D6F6E746828646174652E6765744D6F6E74682829202B206F6666736574293B0D0A20207D2C2066756E6374696F6E286461746529207B0D0A2020202072657475726E20646174652E6765744D6F6E7468';
wwv_flow_imp.g_varchar2_table(3403) := '28293B0D0A20207D293B0D0A202064335F74696D652E6D6F6E746873203D2064335F74696D652E6D6F6E74682E72616E67653B0D0A202064335F74696D652E6D6F6E7468732E757463203D2064335F74696D652E6D6F6E74682E7574632E72616E67653B';
wwv_flow_imp.g_varchar2_table(3404) := '0D0A202066756E6374696F6E2064335F74696D655F7363616C65286C696E6561722C206D6574686F64732C20666F726D617429207B0D0A2020202066756E6374696F6E207363616C65287829207B0D0A20202020202072657475726E206C696E65617228';
wwv_flow_imp.g_varchar2_table(3405) := '78293B0D0A202020207D0D0A202020207363616C652E696E76657274203D2066756E6374696F6E287829207B0D0A20202020202072657475726E2064335F74696D655F7363616C6544617465286C696E6561722E696E76657274287829293B0D0A202020';
wwv_flow_imp.g_varchar2_table(3406) := '207D3B0D0A202020207363616C652E646F6D61696E203D2066756E6374696F6E287829207B0D0A2020202020206966202821617267756D656E74732E6C656E677468292072657475726E206C696E6561722E646F6D61696E28292E6D61702864335F7469';
wwv_flow_imp.g_varchar2_table(3407) := '6D655F7363616C6544617465293B0D0A2020202020206C696E6561722E646F6D61696E2878293B0D0A20202020202072657475726E207363616C653B0D0A202020207D3B0D0A2020202066756E6374696F6E207469636B4D6574686F6428657874656E74';
wwv_flow_imp.g_varchar2_table(3408) := '2C20636F756E7429207B0D0A202020202020766172207370616E203D20657874656E745B315D202D20657874656E745B305D2C20746172676574203D207370616E202F20636F756E742C2069203D2064332E6269736563742864335F74696D655F736361';
wwv_flow_imp.g_varchar2_table(3409) := '6C6553746570732C20746172676574293B0D0A20202020202072657475726E2069203D3D2064335F74696D655F7363616C6553746570732E6C656E677468203F205B206D6574686F64732E796561722C2064335F7363616C655F6C696E6561725469636B';
wwv_flow_imp.g_varchar2_table(3410) := '52616E676528657874656E742E6D61702866756E6374696F6E286429207B0D0A202020202020202072657475726E2064202F20333135333665363B0D0A2020202020207D292C20636F756E74295B325D205D203A202169203F205B2064335F74696D655F';
wwv_flow_imp.g_varchar2_table(3411) := '7363616C654D696C6C697365636F6E64732C2064335F7363616C655F6C696E6561725469636B52616E676528657874656E742C20636F756E74295B325D205D203A206D6574686F64735B746172676574202F2064335F74696D655F7363616C6553746570';
wwv_flow_imp.g_varchar2_table(3412) := '735B69202D20315D203C2064335F74696D655F7363616C6553746570735B695D202F20746172676574203F2069202D2031203A20695D3B0D0A202020207D0D0A202020207363616C652E6E696365203D2066756E6374696F6E28696E74657276616C2C20';
wwv_flow_imp.g_varchar2_table(3413) := '736B697029207B0D0A20202020202076617220646F6D61696E203D207363616C652E646F6D61696E28292C20657874656E74203D2064335F7363616C65457874656E7428646F6D61696E292C206D6574686F64203D20696E74657276616C203D3D206E75';
wwv_flow_imp.g_varchar2_table(3414) := '6C6C203F207469636B4D6574686F6428657874656E742C20313029203A20747970656F6620696E74657276616C203D3D3D20226E756D62657222202626207469636B4D6574686F6428657874656E742C20696E74657276616C293B0D0A20202020202069';
wwv_flow_imp.g_varchar2_table(3415) := '6620286D6574686F642920696E74657276616C203D206D6574686F645B305D2C20736B6970203D206D6574686F645B315D3B0D0A20202020202066756E6374696F6E20736B6970706564286461746529207B0D0A202020202020202072657475726E2021';
wwv_flow_imp.g_varchar2_table(3416) := '69734E614E2864617465292026262021696E74657276616C2E72616E676528646174652C2064335F74696D655F7363616C6544617465282B64617465202B2031292C20736B6970292E6C656E6774683B0D0A2020202020207D0D0A202020202020726574';
wwv_flow_imp.g_varchar2_table(3417) := '75726E207363616C652E646F6D61696E2864335F7363616C655F6E69636528646F6D61696E2C20736B6970203E2031203F207B0D0A2020202020202020666C6F6F723A2066756E6374696F6E286461746529207B0D0A202020202020202020207768696C';
wwv_flow_imp.g_varchar2_table(3418) := '652028736B69707065642864617465203D20696E74657276616C2E666C6F6F7228646174652929292064617465203D2064335F74696D655F7363616C65446174652864617465202D2031293B0D0A2020202020202020202072657475726E20646174653B';
wwv_flow_imp.g_varchar2_table(3419) := '0D0A20202020202020207D2C0D0A20202020202020206365696C3A2066756E6374696F6E286461746529207B0D0A202020202020202020207768696C652028736B69707065642864617465203D20696E74657276616C2E6365696C286461746529292920';
wwv_flow_imp.g_varchar2_table(3420) := '64617465203D2064335F74696D655F7363616C6544617465282B64617465202B2031293B0D0A2020202020202020202072657475726E20646174653B0D0A20202020202020207D0D0A2020202020207D203A20696E74657276616C29293B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3421) := '7D3B0D0A202020207363616C652E7469636B73203D2066756E6374696F6E28696E74657276616C2C20736B697029207B0D0A20202020202076617220657874656E74203D2064335F7363616C65457874656E74287363616C652E646F6D61696E2829292C';
wwv_flow_imp.g_varchar2_table(3422) := '206D6574686F64203D20696E74657276616C203D3D206E756C6C203F207469636B4D6574686F6428657874656E742C20313029203A20747970656F6620696E74657276616C203D3D3D20226E756D62657222203F207469636B4D6574686F642865787465';
wwv_flow_imp.g_varchar2_table(3423) := '6E742C20696E74657276616C29203A2021696E74657276616C2E72616E6765202626205B207B0D0A202020202020202072616E67653A20696E74657276616C0D0A2020202020207D2C20736B6970205D3B0D0A202020202020696620286D6574686F6429';
wwv_flow_imp.g_varchar2_table(3424) := '20696E74657276616C203D206D6574686F645B305D2C20736B6970203D206D6574686F645B315D3B0D0A20202020202072657475726E20696E74657276616C2E72616E676528657874656E745B305D2C2064335F74696D655F7363616C6544617465282B';
wwv_flow_imp.g_varchar2_table(3425) := '657874656E745B315D202B2031292C20736B6970203C2031203F2031203A20736B6970293B0D0A202020207D3B0D0A202020207363616C652E7469636B466F726D6174203D2066756E6374696F6E2829207B0D0A20202020202072657475726E20666F72';
wwv_flow_imp.g_varchar2_table(3426) := '6D61743B0D0A202020207D3B0D0A202020207363616C652E636F7079203D2066756E6374696F6E2829207B0D0A20202020202072657475726E2064335F74696D655F7363616C65286C696E6561722E636F707928292C206D6574686F64732C20666F726D';
wwv_flow_imp.g_varchar2_table(3427) := '6174293B0D0A202020207D3B0D0A2020202072657475726E2064335F7363616C655F6C696E656172526562696E64287363616C652C206C696E656172293B0D0A20207D0D0A202066756E6374696F6E2064335F74696D655F7363616C6544617465287429';
wwv_flow_imp.g_varchar2_table(3428) := '207B0D0A2020202072657475726E206E657720446174652874293B0D0A20207D0D0A20207661722064335F74696D655F7363616C655374657073203D205B203165332C203565332C20313565332C203365342C203665342C203365352C203965352C2031';
wwv_flow_imp.g_varchar2_table(3429) := '3865352C20333665352C2031303865352C2032313665352C2034333265352C2038363465352C203137323865352C203630343865352C203235393265362C203737373665362C2033313533366536205D3B0D0A20207661722064335F74696D655F736361';
wwv_flow_imp.g_varchar2_table(3430) := '6C654C6F63616C4D6574686F6473203D205B205B2064335F74696D652E7365636F6E642C2031205D2C205B2064335F74696D652E7365636F6E642C2035205D2C205B2064335F74696D652E7365636F6E642C203135205D2C205B2064335F74696D652E73';
wwv_flow_imp.g_varchar2_table(3431) := '65636F6E642C203330205D2C205B2064335F74696D652E6D696E7574652C2031205D2C205B2064335F74696D652E6D696E7574652C2035205D2C205B2064335F74696D652E6D696E7574652C203135205D2C205B2064335F74696D652E6D696E7574652C';
wwv_flow_imp.g_varchar2_table(3432) := '203330205D2C205B2064335F74696D652E686F75722C2031205D2C205B2064335F74696D652E686F75722C2033205D2C205B2064335F74696D652E686F75722C2036205D2C205B2064335F74696D652E686F75722C203132205D2C205B2064335F74696D';
wwv_flow_imp.g_varchar2_table(3433) := '652E6461792C2031205D2C205B2064335F74696D652E6461792C2032205D2C205B2064335F74696D652E7765656B2C2031205D2C205B2064335F74696D652E6D6F6E74682C2031205D2C205B2064335F74696D652E6D6F6E74682C2033205D2C205B2064';
wwv_flow_imp.g_varchar2_table(3434) := '335F74696D652E796561722C2031205D205D3B0D0A20207661722064335F74696D655F7363616C654C6F63616C466F726D6174203D2064335F74696D655F666F726D61742E6D756C7469285B205B20222E254C222C2066756E6374696F6E286429207B0D';
wwv_flow_imp.g_varchar2_table(3435) := '0A2020202072657475726E20642E6765744D696C6C697365636F6E647328293B0D0A20207D205D2C205B20223A2553222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765745365636F6E647328293B0D0A20207D205D2C20';
wwv_flow_imp.g_varchar2_table(3436) := '5B202225493A254D222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765744D696E7574657328293B0D0A20207D205D2C205B20222549202570222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E';
wwv_flow_imp.g_varchar2_table(3437) := '676574486F75727328293B0D0A20207D205D2C205B20222561202564222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E676574446179282920262620642E67657444617465282920213D20313B0D0A20207D205D2C205B2022';
wwv_flow_imp.g_varchar2_table(3438) := '2562202564222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E67657444617465282920213D20313B0D0A20207D205D2C205B20222542222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765744D';
wwv_flow_imp.g_varchar2_table(3439) := '6F6E746828293B0D0A20207D205D2C205B20222559222C2064335F74727565205D205D293B0D0A20207661722064335F74696D655F7363616C654D696C6C697365636F6E6473203D207B0D0A2020202072616E67653A2066756E6374696F6E2873746172';
wwv_flow_imp.g_varchar2_table(3440) := '742C2073746F702C207374657029207B0D0A20202020202072657475726E2064332E72616E6765284D6174682E6365696C287374617274202F207374657029202A20737465702C202B73746F702C2073746570292E6D61702864335F74696D655F736361';
wwv_flow_imp.g_varchar2_table(3441) := '6C6544617465293B0D0A202020207D2C0D0A20202020666C6F6F723A2064335F6964656E746974792C0D0A202020206365696C3A2064335F6964656E746974790D0A20207D3B0D0A202064335F74696D655F7363616C654C6F63616C4D6574686F64732E';
wwv_flow_imp.g_varchar2_table(3442) := '79656172203D2064335F74696D652E796561723B0D0A202064335F74696D652E7363616C65203D2066756E6374696F6E2829207B0D0A2020202072657475726E2064335F74696D655F7363616C652864332E7363616C652E6C696E65617228292C206433';
wwv_flow_imp.g_varchar2_table(3443) := '5F74696D655F7363616C654C6F63616C4D6574686F64732C2064335F74696D655F7363616C654C6F63616C466F726D6174293B0D0A20207D3B0D0A20207661722064335F74696D655F7363616C655574634D6574686F6473203D2064335F74696D655F73';
wwv_flow_imp.g_varchar2_table(3444) := '63616C654C6F63616C4D6574686F64732E6D61702866756E6374696F6E286D29207B0D0A2020202072657475726E205B206D5B305D2E7574632C206D5B315D205D3B0D0A20207D293B0D0A20207661722064335F74696D655F7363616C65557463466F72';
wwv_flow_imp.g_varchar2_table(3445) := '6D6174203D2064335F74696D655F666F726D61745574632E6D756C7469285B205B20222E254C222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765745554434D696C6C697365636F6E647328293B0D0A20207D205D2C205B';
wwv_flow_imp.g_varchar2_table(3446) := '20223A2553222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765745554435365636F6E647328293B0D0A20207D205D2C205B202225493A254D222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E';
wwv_flow_imp.g_varchar2_table(3447) := '6765745554434D696E7574657328293B0D0A20207D205D2C205B20222549202570222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E676574555443486F75727328293B0D0A20207D205D2C205B20222561202564222C206675';
wwv_flow_imp.g_varchar2_table(3448) := '6E6374696F6E286429207B0D0A2020202072657475726E20642E676574555443446179282920262620642E67657455544344617465282920213D20313B0D0A20207D205D2C205B20222562202564222C2066756E6374696F6E286429207B0D0A20202020';
wwv_flow_imp.g_varchar2_table(3449) := '72657475726E20642E67657455544344617465282920213D20313B0D0A20207D205D2C205B20222542222C2066756E6374696F6E286429207B0D0A2020202072657475726E20642E6765745554434D6F6E746828293B0D0A20207D205D2C205B20222559';
wwv_flow_imp.g_varchar2_table(3450) := '222C2064335F74727565205D205D293B0D0A202064335F74696D655F7363616C655574634D6574686F64732E79656172203D2064335F74696D652E796561722E7574633B0D0A202064335F74696D652E7363616C652E757463203D2066756E6374696F6E';
wwv_flow_imp.g_varchar2_table(3451) := '2829207B0D0A2020202072657475726E2064335F74696D655F7363616C652864332E7363616C652E6C696E65617228292C2064335F74696D655F7363616C655574634D6574686F64732C2064335F74696D655F7363616C65557463466F726D6174293B0D';
wwv_flow_imp.g_varchar2_table(3452) := '0A20207D3B0D0A202064332E74657874203D2064335F786872547970652866756E6374696F6E287265717565737429207B0D0A2020202072657475726E20726571756573742E726573706F6E7365546578743B0D0A20207D293B0D0A202064332E6A736F';
wwv_flow_imp.g_varchar2_table(3453) := '6E203D2066756E6374696F6E2875726C2C2063616C6C6261636B29207B0D0A2020202072657475726E2064335F7868722875726C2C20226170706C69636174696F6E2F6A736F6E222C2064335F6A736F6E2C2063616C6C6261636B293B0D0A20207D3B0D';
wwv_flow_imp.g_varchar2_table(3454) := '0A202066756E6374696F6E2064335F6A736F6E287265717565737429207B0D0A2020202072657475726E204A534F4E2E706172736528726571756573742E726573706F6E736554657874293B0D0A20207D0D0A202064332E68746D6C203D2066756E6374';
wwv_flow_imp.g_varchar2_table(3455) := '696F6E2875726C2C2063616C6C6261636B29207B0D0A2020202072657475726E2064335F7868722875726C2C2022746578742F68746D6C222C2064335F68746D6C2C2063616C6C6261636B293B0D0A20207D3B0D0A202066756E6374696F6E2064335F68';
wwv_flow_imp.g_varchar2_table(3456) := '746D6C287265717565737429207B0D0A202020207661722072616E6765203D2064335F646F63756D656E742E63726561746552616E676528293B0D0A2020202072616E67652E73656C6563744E6F64652864335F646F63756D656E742E626F6479293B0D';
wwv_flow_imp.g_varchar2_table(3457) := '0A2020202072657475726E2072616E67652E637265617465436F6E7465787475616C467261676D656E7428726571756573742E726573706F6E736554657874293B0D0A20207D0D0A202064332E786D6C203D2064335F786872547970652866756E637469';
wwv_flow_imp.g_varchar2_table(3458) := '6F6E287265717565737429207B0D0A2020202072657475726E20726571756573742E726573706F6E7365584D4C3B0D0A20207D293B0D0A202069662028747970656F6620646566696E65203D3D3D202266756E6374696F6E2220262620646566696E652E';
wwv_flow_imp.g_varchar2_table(3459) := '616D642920646566696E65286433293B20656C73652069662028747970656F66206D6F64756C65203D3D3D20226F626A65637422202626206D6F64756C652E6578706F72747329206D6F64756C652E6578706F727473203D2064333B0D0A202074686973';
wwv_flow_imp.g_varchar2_table(3460) := '2E6433203D2064333B0D0A7D28293B';
end;
/
begin
wwv_flow_imp_shared.create_plugin_file(
 p_id=>wwv_flow_imp.id(3943912034381636488)
,p_plugin_id=>wwv_flow_imp.id(134255274486327120847)
,p_file_name=>'d3-3.5.6.js'
,p_mime_type=>'text/javascript'
,p_file_content=>wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table)
);
end;
/
begin
wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table;
wwv_flow_imp.g_varchar2_table(1) := '546865204D4954204C6963656E736520284D4954290D0A0D0A436F707972696768742028632920323031352D32303231204F74746D617220476F6272656368740D0A0D0A5065726D697373696F6E20697320686572656279206772616E7465642C206672';
wwv_flow_imp.g_varchar2_table(2) := '6565206F66206368617267652C20746F20616E7920706572736F6E206F627461696E696E67206120636F70790D0A6F66207468697320736F66747761726520616E64206173736F63696174656420646F63756D656E746174696F6E2066696C6573202874';
wwv_flow_imp.g_varchar2_table(3) := '68652022536F66747761726522292C20746F206465616C0D0A696E2074686520536F66747761726520776974686F7574207265737472696374696F6E2C20696E636C7564696E6720776974686F7574206C696D69746174696F6E20746865207269676874';
wwv_flow_imp.g_varchar2_table(4) := '730D0A746F207573652C20636F70792C206D6F646966792C206D657267652C207075626C6973682C20646973747269627574652C207375626C6963656E73652C20616E642F6F722073656C6C0D0A636F70696573206F662074686520536F667477617265';
wwv_flow_imp.g_varchar2_table(5) := '2C20616E6420746F207065726D697420706572736F6E7320746F2077686F6D2074686520536F6674776172652069730D0A6675726E697368656420746F20646F20736F2C207375626A65637420746F2074686520666F6C6C6F77696E6720636F6E646974';
wwv_flow_imp.g_varchar2_table(6) := '696F6E733A0D0A0D0A5468652061626F766520636F70797269676874206E6F7469636520616E642074686973207065726D697373696F6E206E6F74696365207368616C6C20626520696E636C7564656420696E20616C6C0D0A636F70696573206F722073';
wwv_flow_imp.g_varchar2_table(7) := '75627374616E7469616C20706F7274696F6E73206F662074686520536F6674776172652E0D0A0D0A54484520534F4654574152452049532050524F564944454420224153204953222C20574954484F55542057415252414E5459204F4620414E59204B49';
wwv_flow_imp.g_varchar2_table(8) := '4E442C2045585052455353204F520D0A494D504C4945442C20494E434C5544494E4720425554204E4F54204C494D4954454420544F205448452057415252414E54494553204F46204D45524348414E544142494C4954592C0D0A4649544E45535320464F';
wwv_flow_imp.g_varchar2_table(9) := '52204120504152544943554C415220505552504F534520414E44204E4F4E494E4652494E47454D454E542E20494E204E4F204556454E54205348414C4C205448450D0A415554484F5253204F5220434F5059524947485420484F4C44455253204245204C';
wwv_flow_imp.g_varchar2_table(10) := '4941424C4520464F5220414E5920434C41494D2C2044414D41474553204F52204F544845520D0A4C494142494C4954592C205748455448455220494E20414E20414354494F4E204F4620434F4E54524143542C20544F5254204F52204F54484552574953';
wwv_flow_imp.g_varchar2_table(11) := '452C2041524953494E472046524F4D2C0D0A4F5554204F46204F5220494E20434F4E4E454354494F4E20574954482054484520534F465457415245204F522054484520555345204F52204F54484552204445414C494E475320494E205448450D0A534F46';
wwv_flow_imp.g_varchar2_table(12) := '54574152452E0D0A';
end;
/
begin
wwv_flow_imp_shared.create_plugin_file(
 p_id=>wwv_flow_imp.id(3945613932165791532)
,p_plugin_id=>wwv_flow_imp.id(134255274486327120847)
,p_file_name=>'d3-force-LICENSE.txt'
,p_mime_type=>'text/plain'
,p_file_content=>wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table)
);
end;
/
begin
wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table;
wwv_flow_imp.g_varchar2_table(1) := '536F7572636520436F64653A2068747470733A2F2F6769746875622E636F6D2F64332F64332D706C7567696E732F626C6F622F6D61737465722F6C6173736F2F6C6173736F2E6A730D0A0D0A436F7079726967687420323031302D32303137204D696B65';
wwv_flow_imp.g_varchar2_table(2) := '20426F73746F636B0D0A416C6C207269676874732072657365727665642E0D0A0D0A5265646973747269627574696F6E20616E642075736520696E20736F7572636520616E642062696E61727920666F726D732C2077697468206F7220776974686F7574';
wwv_flow_imp.g_varchar2_table(3) := '206D6F64696669636174696F6E2C0D0A617265207065726D69747465642070726F766964656420746861742074686520666F6C6C6F77696E6720636F6E646974696F6E7320617265206D65743A0D0A0D0A2A205265646973747269627574696F6E73206F';
wwv_flow_imp.g_varchar2_table(4) := '6620736F7572636520636F6465206D7573742072657461696E207468652061626F766520636F70797269676874206E6F746963652C20746869730D0A20206C697374206F6620636F6E646974696F6E7320616E642074686520666F6C6C6F77696E672064';
wwv_flow_imp.g_varchar2_table(5) := '6973636C61696D65722E0D0A0D0A2A205265646973747269627574696F6E7320696E2062696E61727920666F726D206D75737420726570726F64756365207468652061626F766520636F70797269676874206E6F746963652C0D0A202074686973206C69';
wwv_flow_imp.g_varchar2_table(6) := '7374206F6620636F6E646974696F6E7320616E642074686520666F6C6C6F77696E6720646973636C61696D657220696E2074686520646F63756D656E746174696F6E0D0A2020616E642F6F72206F74686572206D6174657269616C732070726F76696465';
wwv_flow_imp.g_varchar2_table(7) := '6420776974682074686520646973747269627574696F6E2E0D0A0D0A2A204E65697468657220746865206E616D65206F662074686520617574686F72206E6F7220746865206E616D6573206F6620636F6E7472696275746F7273206D6179206265207573';
wwv_flow_imp.g_varchar2_table(8) := '656420746F0D0A2020656E646F727365206F722070726F6D6F74652070726F647563747320646572697665642066726F6D207468697320736F66747761726520776974686F7574207370656369666963207072696F720D0A20207772697474656E207065';
wwv_flow_imp.g_varchar2_table(9) := '726D697373696F6E2E0D0A0D0A5448495320534F4654574152452049532050524F56494445442042592054484520434F5059524947485420484F4C4445525320414E4420434F4E5452494255544F5253202241532049532220414E440D0A414E59204558';
wwv_flow_imp.g_varchar2_table(10) := '5052455353204F5220494D504C4945442057415252414E544945532C20494E434C5544494E472C20425554204E4F54204C494D4954454420544F2C2054484520494D504C4945440D0A57415252414E54494553204F46204D45524348414E544142494C49';
wwv_flow_imp.g_varchar2_table(11) := '545920414E44204649544E45535320464F52204120504152544943554C415220505552504F5345204152450D0A444953434C41494D45442E20494E204E4F204556454E54205348414C4C2054484520434F50595249474854204F574E4552204F5220434F';
wwv_flow_imp.g_varchar2_table(12) := '4E5452494255544F5253204245204C4941424C4520464F520D0A414E59204449524543542C20494E4449524543542C20494E434944454E54414C2C205350454349414C2C204558454D504C4152592C204F5220434F4E53455155454E5449414C2044414D';
wwv_flow_imp.g_varchar2_table(13) := '414745530D0A28494E434C5544494E472C20425554204E4F54204C494D4954454420544F2C2050524F435552454D454E54204F46205355425354495455544520474F4F4453204F522053455256494345533B0D0A4C4F5353204F46205553452C20444154';
wwv_flow_imp.g_varchar2_table(14) := '412C204F522050524F464954533B204F5220425553494E45535320494E54455252555054494F4E2920484F57455645522043415553454420414E44204F4E0D0A414E59205448454F5259204F46204C494142494C4954592C205748455448455220494E20';
wwv_flow_imp.g_varchar2_table(15) := '434F4E54524143542C20535452494354204C494142494C4954592C204F5220544F52540D0A28494E434C5544494E47204E45474C4947454E4345204F52204F5448455257495345292041524953494E4720494E20414E5920574159204F5554204F462054';
wwv_flow_imp.g_varchar2_table(16) := '484520555345204F4620544849530D0A534F4654574152452C204556454E2049462041445649534544204F462054484520504F53534942494C495459204F4620535543482044414D4147452E0D0A';
end;
/
begin
wwv_flow_imp_shared.create_plugin_file(
 p_id=>wwv_flow_imp.id(3945614828767796416)
,p_plugin_id=>wwv_flow_imp.id(134255274486327120847)
,p_file_name=>'d3-plugin-lasso-LICENSE.txt'
,p_mime_type=>'text/plain'
,p_file_content=>wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table)
);
end;
/
begin
wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table;
wwv_flow_imp.g_varchar2_table(1) := '46524F4D3A2068747470733A2F2F6769746875622E636F6D2F74696E6B657231302F44332D4C6162656C65722F626C6F622F6D61737465722F4C4943454E53450D0A0D0A546865204D4954204C6963656E736520284D4954290D0A0D0A436F7079726967';
wwv_flow_imp.g_varchar2_table(2) := '6874202863292032303133204576616E2057616E670D0A0D0A5065726D697373696F6E20697320686572656279206772616E7465642C2066726565206F66206368617267652C20746F20616E7920706572736F6E206F627461696E696E67206120636F70';
wwv_flow_imp.g_varchar2_table(3) := '790D0A6F66207468697320736F66747761726520616E64206173736F63696174656420646F63756D656E746174696F6E2066696C657320287468652022536F66747761726522292C20746F206465616C0D0A696E2074686520536F667477617265207769';
wwv_flow_imp.g_varchar2_table(4) := '74686F7574207265737472696374696F6E2C20696E636C7564696E6720776974686F7574206C696D69746174696F6E20746865207269676874730D0A746F207573652C20636F70792C206D6F646966792C206D657267652C207075626C6973682C206469';
wwv_flow_imp.g_varchar2_table(5) := '73747269627574652C207375626C6963656E73652C20616E642F6F722073656C6C0D0A636F70696573206F662074686520536F6674776172652C20616E6420746F207065726D697420706572736F6E7320746F2077686F6D2074686520536F6674776172';
wwv_flow_imp.g_varchar2_table(6) := '652069730D0A6675726E697368656420746F20646F20736F2C207375626A65637420746F2074686520666F6C6C6F77696E6720636F6E646974696F6E733A0D0A0D0A5468652061626F766520636F70797269676874206E6F7469636520616E6420746869';
wwv_flow_imp.g_varchar2_table(7) := '73207065726D697373696F6E206E6F74696365207368616C6C20626520696E636C7564656420696E20616C6C0D0A636F70696573206F72207375627374616E7469616C20706F7274696F6E73206F662074686520536F6674776172652E0D0A0D0A544845';
wwv_flow_imp.g_varchar2_table(8) := '20534F4654574152452049532050524F564944454420224153204953222C20574954484F55542057415252414E5459204F4620414E59204B494E442C2045585052455353204F520D0A494D504C4945442C20494E434C5544494E4720425554204E4F5420';
wwv_flow_imp.g_varchar2_table(9) := '4C494D4954454420544F205448452057415252414E54494553204F46204D45524348414E544142494C4954592C0D0A4649544E45535320464F52204120504152544943554C415220505552504F534520414E44204E4F4E494E4652494E47454D454E542E';
wwv_flow_imp.g_varchar2_table(10) := '20494E204E4F204556454E54205348414C4C205448450D0A415554484F5253204F5220434F5059524947485420484F4C44455253204245204C4941424C4520464F5220414E5920434C41494D2C2044414D41474553204F52204F544845520D0A4C494142';
wwv_flow_imp.g_varchar2_table(11) := '494C4954592C205748455448455220494E20414E20414354494F4E204F4620434F4E54524143542C20544F5254204F52204F54484552574953452C2041524953494E472046524F4D2C0D0A4F5554204F46204F5220494E20434F4E4E454354494F4E2057';
wwv_flow_imp.g_varchar2_table(12) := '4954482054484520534F465457415245204F522054484520555345204F52204F54484552204445414C494E475320494E205448450D0A534F4654574152452E';
end;
/
begin
wwv_flow_imp_shared.create_plugin_file(
 p_id=>wwv_flow_imp.id(3945615528130797284)
,p_plugin_id=>wwv_flow_imp.id(134255274486327120847)
,p_file_name=>'d3-plugin-labeler-LICENSE.txt'
,p_mime_type=>'text/plain'
,p_file_content=>wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table)
);
end;
/
begin
wwv_flow_imp.g_varchar2_table := wwv_flow_imp.empty_varchar2_table;
wwv_flow_imp.g_varchar2_table(1) := '46524F4D3A2068747470733A2F2F6769746875622E636F6D2F64332F64332F626C6F622F6D61737465722F4C4943454E53450D0A0D0A436F7079726967687420323031302D32303137204D696B6520426F73746F636B0D0A416C6C207269676874732072';
wwv_flow_imp.g_varchar2_table(2) := '657365727665642E0D0A0D0A5265646973747269627574696F6E20616E642075736520696E20736F7572636520616E642062696E61727920666F726D732C2077697468206F7220776974686F7574206D6F64696669636174696F6E2C0D0A617265207065';
wwv_flow_imp.g_varchar2_table(3) := '726D69747465642070726F766964656420746861742074686520666F6C6C6F77696E6720636F6E646974696F6E7320617265206D65743A0D0A0D0A2A205265646973747269627574696F6E73206F6620736F7572636520636F6465206D75737420726574';
wwv_flow_imp.g_varchar2_table(4) := '61696E207468652061626F766520636F70797269676874206E6F746963652C20746869730D0A20206C697374206F6620636F6E646974696F6E7320616E642074686520666F6C6C6F77696E6720646973636C61696D65722E0D0A0D0A2A20526564697374';
wwv_flow_imp.g_varchar2_table(5) := '7269627574696F6E7320696E2062696E61727920666F726D206D75737420726570726F64756365207468652061626F766520636F70797269676874206E6F746963652C0D0A202074686973206C697374206F6620636F6E646974696F6E7320616E642074';
wwv_flow_imp.g_varchar2_table(6) := '686520666F6C6C6F77696E6720646973636C61696D657220696E2074686520646F63756D656E746174696F6E0D0A2020616E642F6F72206F74686572206D6174657269616C732070726F766964656420776974682074686520646973747269627574696F';
wwv_flow_imp.g_varchar2_table(7) := '6E2E0D0A0D0A2A204E65697468657220746865206E616D65206F662074686520617574686F72206E6F7220746865206E616D6573206F6620636F6E7472696275746F7273206D6179206265207573656420746F0D0A2020656E646F727365206F72207072';
wwv_flow_imp.g_varchar2_table(8) := '6F6D6F74652070726F647563747320646572697665642066726F6D207468697320736F66747761726520776974686F7574207370656369666963207072696F720D0A20207772697474656E207065726D697373696F6E2E0D0A0D0A5448495320534F4654';
wwv_flow_imp.g_varchar2_table(9) := '574152452049532050524F56494445442042592054484520434F5059524947485420484F4C4445525320414E4420434F4E5452494255544F5253202241532049532220414E440D0A414E592045585052455353204F5220494D504C494544205741525241';
wwv_flow_imp.g_varchar2_table(10) := '4E544945532C20494E434C5544494E472C20425554204E4F54204C494D4954454420544F2C2054484520494D504C4945440D0A57415252414E54494553204F46204D45524348414E544142494C49545920414E44204649544E45535320464F5220412050';
wwv_flow_imp.g_varchar2_table(11) := '4152544943554C415220505552504F5345204152450D0A444953434C41494D45442E20494E204E4F204556454E54205348414C4C2054484520434F50595249474854204F574E4552204F5220434F4E5452494255544F5253204245204C4941424C452046';
wwv_flow_imp.g_varchar2_table(12) := '4F520D0A414E59204449524543542C20494E4449524543542C20494E434944454E54414C2C205350454349414C2C204558454D504C4152592C204F5220434F4E53455155454E5449414C2044414D414745530D0A28494E434C5544494E472C2042555420';
wwv_flow_imp.g_varchar2_table(13) := '4E4F54204C494D4954454420544F2C2050524F435552454D454E54204F46205355425354495455544520474F4F4453204F522053455256494345533B0D0A4C4F5353204F46205553452C20444154412C204F522050524F464954533B204F522042555349';
wwv_flow_imp.g_varchar2_table(14) := '4E45535320494E54455252555054494F4E2920484F57455645522043415553454420414E44204F4E0D0A414E59205448454F5259204F46204C494142494C4954592C205748455448455220494E20434F4E54524143542C20535452494354204C49414249';
wwv_flow_imp.g_varchar2_table(15) := '4C4954592C204F5220544F52540D0A28494E434C5544494E47204E45474C4947454E4345204F52204F5448455257495345292041524953494E4720494E20414E5920574159204F5554204F462054484520555345204F4620544849530D0A534F46545741';
wwv_flow_imp.g_varchar2_table(16) := '52452C204556454E2049462041445649534544204F462054484520504F53534942494C495459204F4620535543482044414D4147452E';
end;
/
begin
wwv_flow_imp_shared.create_plugin_file(
 p_id=>wwv_flow_imp.id(71590450446809129135)
,p_plugin_id=>wwv_flow_imp.id(134255274486327120847)
,p_file_name=>'d3-LICENSE.txt'
,p_mime_type=>'text/plain'
,p_file_content=>wwv_flow_imp.varchar2_to_blob(wwv_flow_imp.g_varchar2_table)
);
end;
/
prompt --application/user_interfaces/combined_files
begin
null;
end;
/
prompt --application/pages/page_00000
begin
wwv_flow_imp_page.create_page(
 p_id=>0
,p_name=>'Global Page'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_protection_level=>'D'
,p_page_component_map=>'14'
);
end;
/
prompt --application/pages/page_00001
begin
wwv_flow_imp_page.create_page(
 p_id=>1
,p_name=>'Home'
,p_alias=>'HOME'
,p_step_title=>'Ottmar''s Playground'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'13'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187211161804063439)
,p_plug_name=>'Home'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-HeroRegion--hideIcon'
,p_plug_template=>wwv_flow_imp.id(3187079402354063372)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_location=>null
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653908013709101303)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653907878641101301)
,p_plug_name=>'Plug-ins'
,p_parent_plug_id=>wwv_flow_imp.id(3653908013709101303)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3629089051105820502)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653908139223101304)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>30
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
end;
/
prompt --application/pages/page_00002
begin
wwv_flow_imp_page.create_page(
 p_id=>2
,p_name=>'Plug-ins'
,p_alias=>'PLUG-INS'
,p_step_title=>'Plug-ins'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'06'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653911659551101339)
,p_plug_name=>'New'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:u-colors:t-Cards--featured force-fa-lg:t-Cards--displayIcons:t-Cards--float:t-Cards--animColorFill'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3629089051105820502)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187149918618063401)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(4803578907474979860)
,p_plug_name=>'Breadcrumb'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
end;
/
prompt --application/pages/page_00010
begin
wwv_flow_imp_page.create_page(
 p_id=>10
,p_name=>'D3 Network'
,p_alias=>'D3-NETWORK'
,p_step_title=>'D3 Network - Start'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'10'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653908334528101306)
,p_plug_name=>'Navigation'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:t-Tabs--pill'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_08'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3925819076802383675)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187163795223063407)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7118859794020474522)
,p_plug_name=>'Breadcrumb'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_item_display_point=>'BELOW'
,p_location=>null
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7585556645925512386)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653908492632101307)
,p_plug_name=>'No Query Defined = Demo Data Used'
,p_region_name=>'MY_STATIC_ID'
,p_parent_plug_id=>wwv_flow_imp.id(7585556645925512386)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'attribute_02', wwv_flow_string.join(wwv_flow_t_varchar2(
    '{',
    '  "wrapLabels": true,',
    '  "useDomParentWidth": true,',
    '  "showBorder": false,',
    '  "lassoMode": true,',
    '  "forceTimeLimit": 3200,',
    '  "debug": true',
    '}')))).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653909065095101313)
,p_plug_name=>'Initial Graph Options'
,p_parent_plug_id=>wwv_flow_imp.id(7585556645925512386)
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187065710399063367)
,p_plug_display_sequence=>20
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  md varchar2(32767);',
'begin',
'  select ''```json''',
'         || chr(10)',
'         || attribute_02',
'         || chr(10)',
'         || ''```''',
'         || chr(10)',
'    into md',
'    from apex_application_page_regions',
'   where application_id = :app_id',
'     and page_id = :app_page_id',
'     and static_id = ''MY_STATIC_ID'';',
'  htp.p(apex_markdown.to_html(md));',
'exception',
'  when no_data_found then',
'    null;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_header=>'Region > Attributes > Configuration Object'
,p_plug_footer=>unistr('Only non default options are shown. Debug is only set to true to render the \201CCustomize Me\201D link for you. If you are a developer and you have a application builder session (toolbar is visible), then the \201CCustomize Me\201D link is automatically rendered. I')
||'n a production environment it is recommended to disable the debug mode, because it writes many informations to the JavaScript console and normally the end users should not modify the graph.'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7585556771439512387)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>40
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3653908918909101312)
,p_plug_name=>'Plug-in Description'
,p_parent_plug_id=>wwv_flow_imp.id(7585556771439512387)
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'htp.p(apex_markdown.to_html(''',
'This plugin uses the D3 visualization library from [d3js.org](http://d3js.org/) to render a network layout and has the following features:',
'',
'- Works with APEX versions >= 5.1.4 or standalone in every HTML page',
'- Interactive customization wizard',
'- Source data can be a XML string, JSON string or JavaScript Object (JSON)',
'- Link directions are visible and self references are rendered in a nice way',
'- Node sizes are calculated between given min and max values depending on the SIZEVALUE attribute in your source data',
'- Node colors are assigned depending on the given COLORVALUE attribute in your source data - if you provide a IMAGE attribute for a node, then the image is used instead of a fill color',
'- Optional tooltips depending on the given INFOSTRING attribute in your source data',
'- If you have a node attribute called LINK, you can define on which event the URL should be called - default is dblclick - try it out by double clicking the node KING',
'- Nodes can be pinned and the current positions can be saved and loaded to predefine a layout - optionally you can align the nodes to a grid when they are dragged around',
'- Labels can be wrapped and placed after force end to prevent overlapping (optional, per default switched off)',
'- With the lasso mode you can select nodes and implement a graphical multi select',
'- The graph can be zoomed between the two configured min and max scale factors',
'- There is a JavaScript API to interact with the graph ([API reference](https://ogobrecht.github.io/d3-force-apex-plugin/)), also including 12 events (node click, node double click, node contextmenu, node mouse enter, node mouse leave, link click, la'
||'sso start, lasso end, force start, force end, render end, resize)',
'- All 12 events are available in APEX - the plugin region can be AJAX refreshed and triggers then also apexbeforerefresh and apexafterrefresh',
'',
'Links:',
'',
'- [Download latest release](https://github.com/ogobrecht/d3-force-apex-plugin/releases/latest)',
'- [Docs & API Reference](https://ogobrecht.github.io/d3-force-apex-plugin/)',
'- [Sourcecode](https://github.com/ogobrecht/d3-force-apex-plugin)',
'- [License: MIT](https://github.com/ogobrecht/d3-force-apex-plugin/blob/master/LICENSE.txt)',
'- [Issues](https://github.com/ogobrecht/d3-force-apex-plugin/issues)',
'',
'',
'Happy networking!',
'',
'Ottmar',
'   ',
'''));'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
end;
/
prompt --application/pages/page_00011
begin
wwv_flow_imp_page.create_page(
 p_id=>11
,p_name=>'D3 Network - Data Model Visualization'
,p_alias=>'D3-NETWORK-DATA-MODEL-VISUALIZATION'
,p_step_title=>'D3 Network - Data Model Visualization'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'03'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7745941784730406440)
,p_plug_name=>'Navigation'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:t-Tabs--pill'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_08'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3925819076802383675)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187163795223063407)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11677590096127817520)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7745941942834406441)
,p_plug_name=>'Tables'
,p_region_name=>'MY_STATIC_ID'
,p_parent_plug_id=>wwv_flow_imp.id(11677590096127817520)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'WITH --> filter your tables here, all other queries use tabs as filter for performance reasons',
'    tabs',
'     AS (  SELECT table_name',
'                , replace(lower(table_name), ''_'', '' '') as table_name_display',
'                , NVL( num_rows, 0 ) AS num_rows',
'                , CASE --> used for coloring the nodes in the graph, align this to your needs',
'                     WHEN table_name LIKE ''USER%MV'' THEN ''MViews Dict.''',
'                     WHEN table_name LIKE ''PLUGIN_GANTT%'' THEN ''Gantt Plug-in''',
'                     WHEN table_name LIKE ''DEMO%'' THEN ''Sample DB App''',
'                     WHEN table_name in (''EMP'', ''DEPT'') THEN ''Emp & Dept''',
'                     WHEN table_name LIKE ''CONSOLE%'' THEN ''Console''',
'                     ELSE ''uncategorized tables''',
'                  END',
'                     AS table_group',
'             FROM user_tables_mv)',
'   --> Working with long columns: http://www.oracle-developer.net/display.php?id=430',
'   --> The following helper function is needed to read the search condition (is shipped with the supporting objects):',
'   -- create or replace FUNCTION get_long_search_condition( p_constraint_name IN VARCHAR2 ) ',
'   --    RETURN VARCHAR2 ',
'   -- AS ',
'   --    v_return LONG; ',
'   --    CURSOR c_search_condition ',
'   --    IS ',
'   --         SELECT search_condition ',
'   --           FROM user_constraints_mv ',
'   --          WHERE constraint_name = p_constraint_name; ',
'   -- BEGIN ',
'   --    OPEN c_search_condition; ',
'   --    FETCH c_search_condition     INTO v_return; ',
'   --    CLOSE c_search_condition; ',
'   --    RETURN SUBSTR( v_return, 1, 4000 ); ',
unistr('   -- END;\200B'),
'   , cons',
'     AS (  SELECT owner',
'                , constraint_name',
'                , constraint_type',
'                , table_name',
'                , search_condition',
'                , r_owner',
'                , r_constraint_name',
'                , delete_rule',
'                , status',
'             FROM user_constraints_mv',
'            WHERE table_name IN (SELECT table_name FROM tabs))',
'   , concols',
'     AS (  SELECT owner',
'                , constraint_name',
'                , table_name',
'                , column_name',
'                , position',
'             FROM user_cons_columns_mv',
'            WHERE table_name IN (SELECT table_name FROM tabs))',
'   , connotnulls',
'     AS ( --> because of primary keys and not null check constraints we have to select distinct here',
'         SELECT   DISTINCT table_name, column_name, nullable',
'             FROM (  SELECT c.table_name',
'                          , cc.column_name',
'                          , c.constraint_name',
'                          , c.constraint_type',
'                          , c.search_condition',
'                          , ''N'' AS nullable',
'                       FROM cons c JOIN concols cc ON c.constraint_name = cc.constraint_name',
'                      WHERE     c.status = ''ENABLED''',
'                            AND (   c.constraint_type = ''P''',
'                                 OR     c.constraint_type = ''C''',
'                                    AND REGEXP_COUNT( TRIM( c.search_condition )',
'                                                    ,    ''^"{0,1}''',
'                                                      || cc.column_name',
'                                                      || ''"{0,1}\s+is\s+not\s+null$''',
'                                                    , 1',
'                                                    , ''i'' ) = 1 )))',
'   , tabcols',
'     AS (  SELECT t.table_name',
'                , t.column_name',
'                , t.data_type',
'                , t.data_length',
'                , t.data_precision',
'                , t.data_scale',
'                , t.nullable AS nullable_dict --> dict does not recognize table level not null constraints: working with long columns: http://www.oracle-developer.net/display.php?id=430',
'                , NVL( n.nullable, ''Y'' ) AS nullable_cons',
'             FROM user_tab_columns_mv t',
'                  LEFT JOIN connotnulls n',
'                     ON     t.table_name = n.table_name',
'                        AND t.column_name = n.column_name',
'            WHERE t.table_name IN (SELECT table_name FROM tabs))',
'   , fks',
'     AS (  SELECT concols.table_name AS source_table',
'                , r_concols.table_name AS target_table',
'                , cons.status',
'                , tabcols.nullable_cons',
'             FROM cons',
'                  JOIN concols ON cons.constraint_name = concols.constraint_name',
'                  JOIN concols r_concols ON cons.r_constraint_name = r_concols.constraint_name',
'                  JOIN tabcols',
'                     ON     concols.table_name = tabcols.table_name',
'                        AND concols.column_name = tabcols.column_name',
'            WHERE     cons.constraint_type = ''R''',
'                  AND cons.status = ''ENABLED'')',
'   , nodes',
'     AS ( --> START YOUR NODES QUERY HERE',
'         SELECT   XMLELEMENT( "nodes"',
'                            , xmlattributes( table_name AS id',
'                                           , table_name_display AS label',
'                                           , table_group AS colorvalue',
'                                           , num_rows AS sizevalue ) )',
'                     AS xml_nodes',
'             FROM tabs --< STOP YOUR NODES QUERY HERE',
'                      )',
'   , links',
'     AS ( --> START YOUR LINKS QUERY HERE',
'         SELECT   XMLELEMENT( "links"',
'                            , xmlattributes( source_table AS fromid',
'                                           , target_table AS toid',
'                                           , CASE nullable_cons',
'                                                WHEN ''Y'' THEN ''dashed''',
'                                                WHEN ''N'' THEN ''solid''',
'                                             END AS style )',
'                            , status )',
'                     AS xml_links',
'             FROM fks --< STOP YOUR LINKS QUERY HERE',
'                    )',
'  SELECT XMLSERIALIZE( DOCUMENT ( XMLELEMENT( "data"',
'                                            , ( SELECT XMLAGG( xml_nodes ) FROM nodes )',
'                                            , ( SELECT XMLAGG( xml_links ) FROM links ) ) )',
'                       INDENT )',
'            AS single_clob_result',
'    FROM DUAL'))
,p_plug_source_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'attribute_02', wwv_flow_string.join(wwv_flow_t_varchar2(
    '{',
    '  "colorScheme": "color10",',
    '  "wrapLabels": true,',
    '  "useDomParentWidth": true,',
    '  "showBorder": false,',
    '  "lassoMode": true,',
    '  "zoomMode": true,',
    '  "forceTimeLimit": 3200,',
    '  "debug": true',
    '}')))).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(7745942515297406447)
,p_plug_name=>'Initial Graph Options'
,p_parent_plug_id=>wwv_flow_imp.id(11677590096127817520)
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187065710399063367)
,p_plug_display_sequence=>20
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  md varchar2(32767);',
'begin',
'  select ''```json''',
'         || chr(10)',
'         || attribute_02',
'         || chr(10)',
'         || ''```''',
'         || chr(10)',
'    into md',
'    from apex_application_page_regions',
'   where application_id = :app_id',
'     and page_id = :app_page_id',
'     and static_id = ''MY_STATIC_ID'';',
'  htp.p(apex_markdown.to_html(md));',
'exception',
'  when no_data_found then',
'    null;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_header=>'Region > Attributes > Configuration Object'
,p_plug_footer=>unistr('Only non default options are shown. Debug is only set to true to render the \201CCustomize Me\201D link for you. If you are a developer and you have a application builder session (toolbar is visible), then the \201CCustomize Me\201D link is automatically rendered. I')
||'n a production environment it is recommended to disable the debug mode, because it writes many informations to the JavaScript console and normally the end users should not modify the graph.'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11677590221641817521)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>40
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3653910352651101326)
,p_name=>'Columns'
,p_parent_plug_id=>wwv_flow_imp.id(11677590221641817521)
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>20
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--staticRowColors:t-Report--rowHighlightOff:t-Report--noBorders'
,p_display_point=>'SUB_REGIONS'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'with',
'  --> filter your tables here, all other queries use tabs as filter for performance reasons',
'  cons as (',
'    select owner',
'         , constraint_name',
'         , constraint_type',
'         , table_name',
'         , search_condition',
'         , r_owner',
'         , r_constraint_name',
'         , delete_rule',
'         , status',
'      from user_constraints_mv',
'     where table_name = upper(:p11_table_name)',
'       and status = ''ENABLED''',
'       and constraint_type in (''C'', ''P'')',
'  )',
', concols as (',
'    select owner',
'         , constraint_name',
'         , table_name',
'         , column_name',
'         , position',
'      from user_cons_columns_mv',
'     where table_name = upper(:p11_table_name)',
'  )',
', connotnulls as (',
'    --> because of primary keys and not null check constraints we have to select distinct here',
'    select distinct table_name, column_name, nullable_constraints',
'      from (',
'             select c.table_name',
'                  , cc.column_name',
'                  , c.constraint_name',
'                  , c.constraint_type',
'                  , c.search_condition',
'                  , ''N'' as nullable_constraints',
'               from cons c',
'               join concols cc',
'                 on c.constraint_name = cc.constraint_name',
'              where c.constraint_type = ''P''',
'                 or (',
'                      c.constraint_type = ''C''',
'                      and',
'                      regexp_count(c.search_condition, ''^\s*"?'' || cc.column_name || ''"?\s+is\s+not\s+null\s*$'', 1, ''i'') = 1',
'                    )',
'           )',
'  )',
', cols as (',
'    select table_name',
'         , column_name',
'         , upper(substr(data_type,1,1)) || lower(substr(data_type,2)) || ',
'           case',
'             when data_type in (''CHAR'', ''NCHAR'', ''VARCHAR2'', ''NVARCHAR2'') then',
'               '' ('' || char_length || case char_used when ''B'' then '' byte'' when ''C'' then '' char'' end || '')''',
'             when data_type = ''NUMBER'' and data_precision is not null and data_scale is not null then',
'               '' ('' || data_precision || '','' || data_scale || '')''',
'           end as data_type',
'         , column_id',
'         , case nullable',
'             when ''Y'' then ''Yes''',
'             when ''N'' then ''No''',
'           end as nullable_dictionary',
'      from user_tab_columns_mv',
'     where table_name = upper(:p11_table_name)',
'  )',
'select c.table_name',
'     , c.column_id',
'     , c.column_name',
'     , c.data_type',
'     , case',
'         when c.nullable_dictionary = ''N'' or nvl(n.nullable_constraints, ''Y'') = ''N''',
'         then ''No''',
'         else ''Yes''',
'       end as nullable',
'  from cols c',
'  left join connotnulls n',
'    on c.table_name = n.table_name',
'   and c.column_name = n.column_name;'))
,p_ajax_enabled=>'Y'
,p_ajax_items_to_submit=>'P11_TABLE_NAME'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187139143272063396)
,p_query_num_rows=>10000
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653910424096101327)
,p_query_column_id=>1
,p_column_alias=>'TABLE_NAME'
,p_column_display_sequence=>10
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653910504619101328)
,p_query_column_id=>2
,p_column_alias=>'COLUMN_ID'
,p_column_display_sequence=>20
,p_column_heading=>'ID'
,p_column_alignment=>'RIGHT'
,p_heading_alignment=>'RIGHT'
,p_default_sort_column_sequence=>1
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653910676986101329)
,p_query_column_id=>3
,p_column_alias=>'COLUMN_NAME'
,p_column_display_sequence=>30
,p_column_heading=>'Column Name'
,p_heading_alignment=>'LEFT'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653910762827101330)
,p_query_column_id=>4
,p_column_alias=>'DATA_TYPE'
,p_column_display_sequence=>40
,p_column_heading=>'Data Type'
,p_heading_alignment=>'LEFT'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653912758523101350)
,p_query_column_id=>5
,p_column_alias=>'NULLABLE'
,p_column_display_sequence=>50
,p_column_heading=>'Nullable'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3653911171896101334)
,p_name=>'Constraints'
,p_parent_plug_id=>wwv_flow_imp.id(11677590221641817521)
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>30
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--staticRowColors:t-Report--rowHighlightOff:t-Report--noBorders'
,p_display_point=>'SUB_REGIONS'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'with cons',
'  as (',
'    select owner',
'         , constraint_name',
'         , constraint_type',
'         , table_name',
'         , search_condition_vc',
'         , r_owner',
'         , r_constraint_name',
'         , delete_rule',
'         , status',
'      from user_constraints_mv',
'     where table_name = upper(:p11_table_name)',
'  )',
', concols',
'  as (',
'    select owner',
'         , constraint_name',
'         , table_name',
'         , column_name',
'         , position',
'      from user_cons_columns_mv',
'  )',
'select case c.constraint_type',
'         when ''P'' then 1',
'         when ''U'' then 2',
'         when ''R'' then 3',
'         when ''C'' then 4',
'       end as order_index',
'     , c.constraint_name',
'',
'     , case c.constraint_type',
'         when ''U'' then',
'           ''Unique: '' || (',
'             select listagg(column_name, '', '') within',
'                      group (order by position)',
'               from concols',
'              where table_name = upper(:p11_table_name)',
'                    and constraint_name = c.constraint_name',
'           )',
'         when ''P'' then',
'           ''Primary Key: '' || (',
'             select listagg(column_name, '', '') within',
'                      group (order by position)',
'               from concols',
'              where table_name = upper(:p11_table_name)',
'                    and constraint_name = c.constraint_name',
'           )',
'         when ''R'' then',
'           ''Foreign Key: '' || (',
'             select column_name',
'               from concols',
'              where constraint_name = c.constraint_name',
'           ) || '' > '' || (',
'             select lower(table_name) || ''.'' || lower(column_name)',
'               from concols',
'              where constraint_name = c.r_constraint_name',
'           )',
'         when ''C'' then',
'           ''Ckeck: '' || c.search_condition_vc',
'       end as description',
'  from cons c',
' order by order_index, constraint_name;'))
,p_ajax_enabled=>'Y'
,p_ajax_items_to_submit=>'P11_TABLE_NAME'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187139143272063396)
,p_query_num_rows=>10000
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(5671421189546558801)
,p_query_column_id=>1
,p_column_alias=>'ORDER_INDEX'
,p_column_display_sequence=>10
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653911273738101335)
,p_query_column_id=>2
,p_column_alias=>'CONSTRAINT_NAME'
,p_column_display_sequence=>20
,p_column_heading=>'Constraint Name'
,p_heading_alignment=>'LEFT'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653911329410101336)
,p_query_column_id=>3
,p_column_alias=>'DESCRIPTION'
,p_column_display_sequence=>30
,p_column_heading=>'Description'
,p_heading_alignment=>'LEFT'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(7745942369111406446)
,p_name=>'Table Details'
,p_parent_plug_id=>wwv_flow_imp.id(11677590221641817521)
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>10
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--staticRowColors:t-Report--rowHighlightOff:t-Report--noBorders'
,p_display_point=>'SUB_REGIONS'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'with t as (',
'    select lower(table_name) as "Table Name"',
'         , to_char(num_rows) as "Number of Rows"',
'         , to_char(avg_row_len) as "Average Row Length"',
'         , initcap(logging) as "Logging"',
'         , initcap(partitioned) as "Partitioned"',
'         , coalesce(tablespace_name',
'           , case',
'               when iot_type = ''IOT'' then',
'                 ''Table is index organized''',
'             end) as "Tablespace Name"',
'         , to_char(last_analyzed, ''yyyy-mm-dd hh24:mi'') as "Last Analyzed"',
'         , initcap(status) as "Status"',
'      from user_tables_mv',
'     where table_name = upper(:p11_table_name)',
'  )',
'select *',
'  from t unpivot include nulls (value',
'       for key',
'       in ("Number of Rows"',
'     , "Average Row Length"',
'     , "Logging"',
'     , "Partitioned"',
'     , "Tablespace Name"',
'     , "Last Analyzed"',
'     , "Status"));'))
,p_ajax_enabled=>'Y'
,p_ajax_items_to_submit=>'P11_TABLE_NAME'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187139143272063396)
,p_query_headings_type=>'NO_HEADINGS'
,p_query_num_rows=>10000
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_csv_output=>'N'
,p_prn_output=>'N'
,p_sort_null=>'L'
,p_plug_query_strip_html=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653912660307101349)
,p_query_column_id=>1
,p_column_alias=>'Table Name'
,p_column_display_sequence=>10
,p_hidden_column=>'Y'
,p_derived_column=>'N'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653912422888101347)
,p_query_column_id=>2
,p_column_alias=>'KEY'
,p_column_display_sequence=>20
,p_column_heading=>'Key'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3653912567600101348)
,p_query_column_id=>3
,p_column_alias=>'VALUE'
,p_column_display_sequence=>30
,p_column_heading=>'Value'
,p_derived_column=>'N'
,p_include_in_export=>'Y'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11925050870746542859)
,p_plug_name=>'Breadcrumb'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_item_display_point=>'BELOW'
,p_location=>null
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3653911704256101340)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(7745941942834406441)
,p_button_name=>'ZOOM_TO_FIT'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Zoom to Fit'
,p_button_position=>'EDIT'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5767344117455288111)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(7745942369111406446)
,p_button_name=>'REFRESH_MVIEWS'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Refresh Materialized Dictionary Views'
,p_button_position=>'EDIT'
,p_warn_on_unsaved_changes=>null
,p_security_scheme=>wwv_flow_imp.id(3187203052990063429)
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3653910047003101323)
,p_name=>'P11_TABLE_NAME'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(7745942369111406446)
,p_prompt=>'Select table here or click in the graph'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select table_name d, table_name r',
'  from user_tables',
' order by 1'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3653909803157101321)
,p_name=>'Select Table By Node Click'
,p_event_sequence=>10
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(7745941942834406441)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3653909954636101322)
,p_event_id=>wwv_flow_imp.id(3653909803157101321)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P11_TABLE_NAME'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'this.data.ID   // the only trick here is to know, how we can access the node data - it comes with the APEX event and is linked to the "this" keyword. If you want to see all node data, try this code with a "Execute JavaScript Code" action: console.log'
||'(''Node clicked: '', this.data);'
,p_attribute_09=>'N'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3653910107596101324)
,p_name=>'Refresh Reports'
,p_event_sequence=>20
,p_triggering_element_type=>'ITEM'
,p_triggering_element=>'P11_TABLE_NAME'
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'change'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3653910253416101325)
,p_event_id=>wwv_flow_imp.id(3653910107596101324)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(7745942369111406446)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3653911052425101333)
,p_event_id=>wwv_flow_imp.id(3653910107596101324)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3653910352651101326)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3653911412213101337)
,p_event_id=>wwv_flow_imp.id(3653910107596101324)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3653911171896101334)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3653911810377101341)
,p_name=>'Zoom to Fit'
,p_event_sequence=>30
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(3653911704256101340)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3653911945344101342)
,p_event_id=>wwv_flow_imp.id(3653911810377101341)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'// https://github.com/ogobrecht/d3-force-apex-plugin/wiki/API-Reference#zoomsmooth',
'd3_force_MY_STATIC_ID.zoomToFit();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5767344258086288112)
,p_name=>'Refresh Materialized Dictionary Views'
,p_event_sequence=>40
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5767344117455288111)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
,p_security_scheme=>wwv_flow_imp.id(3187203052990063429)
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767344444989288114)
,p_event_id=>wwv_flow_imp.id(5767344258086288112)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>'window.apex.d3ForcePluginSpinner = apex.util.showSpinner( $( "#MY_STATIC_ID" ) );'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767344386212288113)
,p_event_id=>wwv_flow_imp.id(5767344258086288112)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
,p_attribute_01=>'model.refresh_dict_mviews;'
,p_attribute_05=>'PLSQL'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767344578031288115)
,p_event_id=>wwv_flow_imp.id(5767344258086288112)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>'window.apex.d3ForcePluginSpinner.remove();'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767344687119288116)
,p_event_id=>wwv_flow_imp.id(5767344258086288112)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(7745941942834406441)
,p_attribute_01=>'N'
);
end;
/
prompt --application/pages/page_00012
begin
wwv_flow_imp_page.create_page(
 p_id=>12
,p_name=>'D3 Network - Events'
,p_alias=>'D3-NETWORK-EVENTS'
,p_step_title=>'D3 Network - Events'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'10'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(13423096026594087341)
,p_plug_name=>'Navigation'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:t-Tabs--pill'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_08'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3925819076802383675)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187163795223063407)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(17354744337991498421)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(13423096184698087342)
,p_plug_name=>'Demo Data'
,p_region_name=>'MY_STATIC_ID'
,p_parent_plug_id=>wwv_flow_imp.id(17354744337991498421)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'attribute_02', wwv_flow_string.join(wwv_flow_t_varchar2(
    '{',
    '  "colorScheme": "color10",',
    '  "wrapLabels": true,',
    '  "useDomParentWidth": true,',
    '  "showBorder": false,',
    '  "lassoMode": true,',
    '  "zoomMode": true,',
    '  "forceTimeLimit": 3200,',
    '  "debug": true',
    '}')),
  'attribute_04', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Node Click''                        );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Click - event:", event );',
    '  console.log( "Test Event Function - Node Click - data:",  data  );',
    '  console.log( "Test Event Function - Node Click - this:",  this  );  ',
    '}')),
  'attribute_05', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Node Double Click''                 );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Double Click - event:", event );',
    '  console.log( "Test Event Function - Node Double Click - data:",  data  );',
    '  console.log( "Test Event Function - Node Double Click - this:",  this  );  ',
    '}')),
  'attribute_06', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Node Contextmenu''                  );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Contextmenu - event:", event );',
    '  console.log( "Test Event Function - Node Contextmenu - data:",  data  );',
    '  console.log( "Test Event Function - Node Contextmenu - this:",  this  );  ',
    '}')),
  'attribute_07', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  console.log( "Test Event Function - Node Mouse Enter - event:", event );',
    '  console.log( "Test Event Function - Node Mouse Enter - data:",  data  );',
    '  console.log( "Test Event Function - Node Mouse Enter - this:",  this  );  ',
    '}')),
  'attribute_08', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  console.log( "Test Event Function - Node Mouse Leave - event:", event );',
    '  console.log( "Test Event Function - Node Mouse Leave - data:",  data  );',
    '  console.log( "Test Event Function - Node Mouse Leave - this:",  this  );  ',
    '}')),
  'attribute_10', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Lasso Start''                       );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Lasso Start - event:", event );',
    '  console.log( "Test Event Function - Lasso Start - data:",  data  );',
    '  console.log( "Test Event Function - Lasso Start - this:",  this  );  ',
    '}')),
  'attribute_11', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Lasso End''                         );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Lasso End - event:", event );',
    '  console.log( "Test Event Function - Lasso End - data:",  data  );',
    '  console.log( "Test Event Function - Lasso End - this:",  this  );  ',
    '}')),
  'attribute_12', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P12_FUNCTION_TYPE'',  ''Link Click''                        );',
    '  $s( ''P12_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P12_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Link Click - event:", event );',
    '  console.log( "Test Event Function - Link Click - data:",  data  );',
    '  console.log( "Test Event Function - Link Click - this:",  this  );  ',
    '}')))).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(13423096757161087348)
,p_plug_name=>'Initial Graph Options'
,p_parent_plug_id=>wwv_flow_imp.id(17354744337991498421)
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187065710399063367)
,p_plug_display_sequence=>20
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  md varchar2(32767);',
'begin',
'  select ''```json''',
'         || chr(10)',
'         || attribute_02',
'         || chr(10)',
'         || ''```''',
'         || chr(10)',
'    into md',
'    from apex_application_page_regions',
'   where application_id = :app_id',
'     and page_id = :app_page_id',
'     and static_id = ''MY_STATIC_ID'';',
'  htp.p(apex_markdown.to_html(md));',
'exception',
'  when no_data_found then',
'    null;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_header=>'Region > Attributes > Configuration Object'
,p_plug_footer=>unistr('Only non default options are shown. Debug is only set to true to render the \201CCustomize Me\201D link for you. If you are a developer and you have a application builder session (toolbar is visible), then the \201CCustomize Me\201D link is automatically rendered. I')
||'n a production environment it is recommended to disable the debug mode, because it writes many informations to the JavaScript console and normally the end users should not modify the graph.'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(17354744463505498422)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#:js-useLocalStorage:t-TabsRegion-mod--pill:margin-bottom-none'
,p_plug_template=>wwv_flow_imp.id(3187111016538063384)
,p_plug_display_sequence=>40
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(9331064594514782227)
,p_plug_name=>'Event Functions'
,p_parent_plug_id=>wwv_flow_imp.id(17354744463505498422)
,p_region_template_options=>'#DEFAULT#:t-Region--hideHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>20
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_header=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>By interacting with the graph you can test here the registered event ',
'functions.</p>',
'',
'<p>Mouse enter and mouse leave events are only logged to the console. The Lasso ',
'can be started with pressed shift or alt key, because the zoom mode is ',
'switched on. To click a link is not so easy, because the links are so narrow. ',
'Please zoom into the graph - this helps :-). Selflinks are much easier to ',
'click, because the whole area of a selflink is clickable (selflinks are ',
'rendered as a path instead of a line, try it out by clicking the selflink on the ',
unistr('node \201CKing\201D).</p>')))
,p_plug_footer=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>Please refer also to the browser console, because the serialized text versions',
unistr('in the \201CEvent\201D and \201CThis\201D items differs from the view in your browser console,'),
'which is more correct and relevant. If you need to program against the events or',
'the this references than the console is your friend :-)</p>',
'',
unistr('<p>Filter the output of your console for \201CTest Event Function\201D or \201CTest Dynamic'),
unistr('Action\201D, because the debug mode is also switched on for the graph and therefore'),
'you get many entries in the console.</p>',
''))
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(9331065413759782235)
,p_plug_name=>'Dynamic Actions'
,p_parent_plug_id=>wwv_flow_imp.id(17354744463505498422)
,p_region_template_options=>'#DEFAULT#:t-Region--hideHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>30
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_header=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>By interacting with the graph you can test here the registered dynamic',
'actions.</p>',
'',
'<p>Mouse enter and mouse leave events are only logged to the console. The Lasso ',
'can be started with pressed shift or alt key, because the zoom mode is switched ',
'on. To click a link is not so easy, because the links are so narrow. Please zoom ',
'into the graph - this helps :-). Selflinks are much easier to click, because the ',
'whole area of a selflink is clickable (selflinks are rendered as a path instead ',
'of a line, try it out by clicking the selflink on the node "King").</p>'))
,p_plug_footer=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>Please refer also to the browser console, because the serialized text versions',
unistr('in the \201CEvent\201D and \201CThis\201D items differs from the view in your browser console,'),
'which is more correct and relevant. If you need to program against the events or',
'the this references than the console is your friend :-)</p>',
'',
unistr('<p>Filter the output of your console for \201CTest Event Function\201D or \201CTest Dynamic'),
unistr('Action\201D, because the debug mode is also switched on for the graph and therefore'),
'you get many entries in the console.</p>',
''))
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(13423096610975087347)
,p_plug_name=>'About Events'
,p_parent_plug_id=>wwv_flow_imp.id(17354744463505498422)
,p_region_template_options=>'#DEFAULT#:t-Region--hideHeader:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'htp.p(apex_markdown.to_html(''',
'',
'This page exists for two reasons: Test of the existing events in APEX for the',
'plugin development and showing you implementation examples.',
'',
'12 events are available:',
'',
'- Node Mouse Enter',
'- Node Mouse Leave',
'- Node Click',
'- Node Double Click',
'- Node Contextmenu',
'- Link Click',
'- Lasso Start',
'- Lasso End',
'- Force Start',
'- Force End',
'- Render End',
'- Resize',
'',
'You can access the events in two ways:',
'',
'1. Configure event functions...',
'    - ...in the graph region attributes',
'    - ...or by using the API methods to configure the event functions on runtime',
'2. Use the APEX dynamic actions to access the graph events',
'',
'Function example for a node click event:',
'',
'```javascript',
'function(event, data) {',
'  console.log( ',
'    "Test Event Function - Node Click - event:",',
'    event',
'  );',
'  console.log( ',
'    "Test Event Function - Node Click - data:",',
'    data',
'  );',
'  console.log(',
'    "Test Event Function - Node Click - this:",',
'    this',
'  );',
'}',
'```',
'',
'APEX dynamic action example on the component event "Node Click [D3 - Force',
'Layout]"',
'',
'```javascript',
'console.log( ',
'  "Test Dynamic Action - Node Click - event:",',
'  this.browserEvent',
');',
'console.log( ',
'  "Test Dynamic Action - Node Click - data:",',
'  this.data',
');',
'console.log( ',
'  "Test Dynamic Action - Node Click - this:",',
'  this.triggeringElement',
');',
'```',
'',
'Please refer also to the APEX dynamic action documentation and keep in mind,',
'that the data is the same in both ways but the event differs, because APEX',
'dynamic actions providing a jQuery event and the registered event functions the',
'original D3 events.',
'  ',
'''));'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(17603067707261249610)
,p_plug_name=>'Breadcrumb'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_item_display_point=>'BELOW'
,p_location=>null
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5677155892268680906)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(13423096184698087342)
,p_button_name=>'ZOOM_TO_FIT'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Zoom to Fit'
,p_button_position=>'EDIT'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671421562754558805)
,p_name=>'P12_FUNCTION_TYPE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(9331064594514782227)
,p_prompt=>'Type'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'disabled', 'N',
  'submit_when_enter_pressed', 'N',
  'subtype', 'TEXT',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671421668173558806)
,p_name=>'P12_FUNCTION_DATA'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(9331064594514782227)
,p_prompt=>'Data'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671421763440558807)
,p_name=>'P12_FUNCTION_EVENT'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_imp.id(9331064594514782227)
,p_prompt=>'Event'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671421817119558808)
,p_name=>'P12_FUNCTION_THIS'
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_imp.id(9331064594514782227)
,p_prompt=>'This'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671421929955558809)
,p_name=>'P12_DYN_ACTION_TYPE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(9331065413759782235)
,p_prompt=>'Type'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>30
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'disabled', 'N',
  'submit_when_enter_pressed', 'N',
  'subtype', 'TEXT',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671422021566558810)
,p_name=>'P12_DYN_ACTION_DATA'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(9331065413759782235)
,p_prompt=>'Data'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671422175757558811)
,p_name=>'P12_DYN_ACTION_EVENT'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(9331065413759782235)
,p_prompt=>'Event'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5671422231976558812)
,p_name=>'P12_DYN_ACTION_THIS'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_imp.id(9331065413759782235)
,p_prompt=>'This'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>5
,p_field_template=>wwv_flow_imp.id(3187171582608063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5677164796559680920)
,p_name=>'Zoom to Fit'
,p_event_sequence=>30
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5677155892268680906)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5677165281655680921)
,p_event_id=>wwv_flow_imp.id(5677164796559680920)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'// https://github.com/ogobrecht/d3-force-apex-plugin/wiki/API-Reference#zoomsmooth',
'd3_force_MY_STATIC_ID.zoomToFit();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671422327358558813)
,p_name=>'Node Mouse Enter'
,p_event_sequence=>40
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_mouseenter'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671422421429558814)
,p_event_id=>wwv_flow_imp.id(5671422327358558813)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Node Mouse Enter - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Node Mouse Enter - data:",  this.data              );',
'console.log( "Test Dynamic Action - Node Mouse Enter - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671422529834558815)
,p_name=>'Node Mouse Leave'
,p_event_sequence=>50
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_mouseleave'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671422694360558816)
,p_event_id=>wwv_flow_imp.id(5671422529834558815)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Node Mouse Leave - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Node Mouse Leave - data:",  this.data              );',
'console.log( "Test Dynamic Action - Node Mouse Leave - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671422795610558817)
,p_name=>'Node Click'
,p_event_sequence=>60
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671422993831558819)
,p_event_id=>wwv_flow_imp.id(5671422795610558817)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Node Click'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423024608558820)
,p_event_id=>wwv_flow_imp.id(5671422795610558817)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423147813558821)
,p_event_id=>wwv_flow_imp.id(5671422795610558817)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423275705558822)
,p_event_id=>wwv_flow_imp.id(5671422795610558817)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671422835168558818)
,p_event_id=>wwv_flow_imp.id(5671422795610558817)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Node Click - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Node Click - data:",  this.data              );',
'console.log( "Test Dynamic Action - Node Click - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671423306759558823)
,p_name=>'Node Double Click'
,p_event_sequence=>70
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_dblclick'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423446449558824)
,p_event_id=>wwv_flow_imp.id(5671423306759558823)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Node Double Click'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423522341558825)
,p_event_id=>wwv_flow_imp.id(5671423306759558823)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423671411558826)
,p_event_id=>wwv_flow_imp.id(5671423306759558823)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423779412558827)
,p_event_id=>wwv_flow_imp.id(5671423306759558823)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671423836558558828)
,p_event_id=>wwv_flow_imp.id(5671423306759558823)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Node Double Click - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Node Double Click - data:",  this.data              );',
'console.log( "Test Dynamic Action - Node Double Click - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671423996367558829)
,p_name=>'Node Contextmenu'
,p_event_sequence=>80
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_contextmenu'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424041498558830)
,p_event_id=>wwv_flow_imp.id(5671423996367558829)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Node Contextmenu'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424134452558831)
,p_event_id=>wwv_flow_imp.id(5671423996367558829)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424255554558832)
,p_event_id=>wwv_flow_imp.id(5671423996367558829)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424350986558833)
,p_event_id=>wwv_flow_imp.id(5671423996367558829)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424409044558834)
,p_event_id=>wwv_flow_imp.id(5671423996367558829)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Node Contextmenu - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Node Contextmenu - data:",  this.data              );',
'console.log( "Test Dynamic Action - Node Contextmenu - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671424508316558835)
,p_name=>'Link Click'
,p_event_sequence=>90
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_linkclick'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424690253558836)
,p_event_id=>wwv_flow_imp.id(5671424508316558835)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Link Click'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424739882558837)
,p_event_id=>wwv_flow_imp.id(5671424508316558835)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424840406558838)
,p_event_id=>wwv_flow_imp.id(5671424508316558835)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671424996024558839)
,p_event_id=>wwv_flow_imp.id(5671424508316558835)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425095442558840)
,p_event_id=>wwv_flow_imp.id(5671424508316558835)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Link Click - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Link Click - data:",  this.data              );',
'console.log( "Test Dynamic Action - Link Click - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671425127986558841)
,p_name=>'Lasso Start'
,p_event_sequence=>100
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_lassostart'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425241110558842)
,p_event_id=>wwv_flow_imp.id(5671425127986558841)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Lasso Start'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425309874558843)
,p_event_id=>wwv_flow_imp.id(5671425127986558841)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425475094558844)
,p_event_id=>wwv_flow_imp.id(5671425127986558841)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425578027558845)
,p_event_id=>wwv_flow_imp.id(5671425127986558841)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425695000558846)
,p_event_id=>wwv_flow_imp.id(5671425127986558841)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Lasso Start - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Lasso Start - data:",  this.data              );',
'console.log( "Test Dynamic Action - Lasso Start - this:",  this.triggeringElement );'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5671425734852558847)
,p_name=>'Lasso End'
,p_event_sequence=>110
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(13423096184698087342)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE|REGION TYPE|net_gobrechts_d3_force_lassoend'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425822913558848)
,p_event_id=>wwv_flow_imp.id(5671425734852558847)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_TYPE'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'Lasso End'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671425902361558849)
,p_event_id=>wwv_flow_imp.id(5671425734852558847)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_EVENT'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.browserEvent, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5671426003476558850)
,p_event_id=>wwv_flow_imp.id(5671425734852558847)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_DATA'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.data, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767343157978288101)
,p_event_id=>wwv_flow_imp.id(5671425734852558847)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P12_DYN_ACTION_THIS'
,p_attribute_01=>'JAVASCRIPT_EXPRESSION'
,p_attribute_05=>'JSON.stringify( this.triggeringElement, null, ''  '' )'
,p_attribute_09=>'Y'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767343255221288102)
,p_event_id=>wwv_flow_imp.id(5671425734852558847)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log( "Test Dynamic Action - Lasso End - event:", this.browserEvent      );',
'console.log( "Test Dynamic Action - Lasso End - data:",  this.data              );',
'console.log( "Test Dynamic Action - Lasso End - this:",  this.triggeringElement );'))
);
end;
/
prompt --application/pages/page_00013
begin
wwv_flow_imp_page.create_page(
 p_id=>13
,p_name=>'D3 Network - Playground'
,p_alias=>'D3-NETWORK-PLAYGROUND'
,p_step_title=>'D3 Network - Playground'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'10'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(19194728373818550695)
,p_plug_name=>'Navigation'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:t-Tabs--pill'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_08'
,p_location=>null
,p_list_id=>wwv_flow_imp.id(3925819076802383675)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187163795223063407)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(23126376685215961775)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(19194728531922550696)
,p_plug_name=>'Demo Data'
,p_region_name=>'emp'
,p_parent_plug_id=>wwv_flow_imp.id(23126376685215961775)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source_type=>'PLUGIN_NET.GOBRECHTS.D3.FORCE'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'attribute_02', wwv_flow_string.join(wwv_flow_t_varchar2(
    '{',
    '  "colorScheme": "color10",',
    '  "wrapLabels": true,',
    '  "useDomParentWidth": true,',
    '  "showBorder": false,',
    '  "lassoMode": true,',
    '  "zoomMode": true,',
    '  "forceTimeLimit": 3200,',
    '  "zoomToFitOnForceEnd": false,',
    '  "zoomToFitOnResize": false,',
    '  "debug": true',
    '}')),
  'attribute_04', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Node Click''                        );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Click - event:", event );',
    '  console.log( "Test Event Function - Node Click - data:",  data  );',
    '  console.log( "Test Event Function - Node Click - this:",  this  );  ',
    '}')),
  'attribute_05', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Node Double Click''                 );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Double Click - event:", event );',
    '  console.log( "Test Event Function - Node Double Click - data:",  data  );',
    '  console.log( "Test Event Function - Node Double Click - this:",  this  );  ',
    '}')),
  'attribute_06', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Node Contextmenu''                  );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Node Contextmenu - event:", event );',
    '  console.log( "Test Event Function - Node Contextmenu - data:",  data  );',
    '  console.log( "Test Event Function - Node Contextmenu - this:",  this  );  ',
    '}')),
  'attribute_07', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  console.log( "Test Event Function - Node Mouse Enter - event:", event );',
    '  console.log( "Test Event Function - Node Mouse Enter - data:",  data  );',
    '  console.log( "Test Event Function - Node Mouse Enter - this:",  this  );  ',
    '}')),
  'attribute_08', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  console.log( "Test Event Function - Node Mouse Leave - event:", event );',
    '  console.log( "Test Event Function - Node Mouse Leave - data:",  data  );',
    '  console.log( "Test Event Function - Node Mouse Leave - this:",  this  );  ',
    '}')),
  'attribute_10', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Lasso Start''                       );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Lasso Start - event:", event );',
    '  console.log( "Test Event Function - Lasso Start - data:",  data  );',
    '  console.log( "Test Event Function - Lasso Start - this:",  this  );  ',
    '}')),
  'attribute_11', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Lasso End''                         );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Lasso End - event:", event );',
    '  console.log( "Test Event Function - Lasso End - data:",  data  );',
    '  console.log( "Test Event Function - Lasso End - this:",  this  );  ',
    '}')),
  'attribute_12', wwv_flow_string.join(wwv_flow_t_varchar2(
    'function( event, data ) {',
    '  $s( ''P13_FUNCTION_TYPE'',  ''Link Click''                        );',
    '  $s( ''P13_FUNCTION_EVENT'', JSON.stringify( event, null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_DATA'',  JSON.stringify( data,  null, ''  '' ) );',
    '  $s( ''P13_FUNCTION_THIS'',  JSON.stringify( this,  null, ''  '' ) );',
    '  console.log( "Test Event Function - Link Click - event:", event );',
    '  console.log( "Test Event Function - Link Click - data:",  data  );',
    '  console.log( "Test Event Function - Link Click - this:",  this  );  ',
    '}')))).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(19194729104385550702)
,p_plug_name=>'Initial Graph Options'
,p_parent_plug_id=>wwv_flow_imp.id(23126376685215961775)
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187065710399063367)
,p_plug_display_sequence=>20
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  md varchar2(32767);',
'begin',
'  select ''```json''',
'         || chr(10)',
'         || attribute_02',
'         || chr(10)',
'         || ''```''',
'         || chr(10)',
'    into md',
'    from apex_application_page_regions',
'   where application_id = :app_id',
'     and page_id = :app_page_id',
'     and static_id = ''emp'';',
'  htp.p(apex_markdown.to_html(md));',
'exception',
'  when no_data_found then',
'    null;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_header=>'Region > Attributes > Configuration Object'
,p_plug_footer=>unistr('Only non default options are shown. Debug is only set to true to render the \201CCustomize Me\201D link for you. If you are a developer and you have a application builder session (toolbar is visible), then the \201CCustomize Me\201D link is automatically rendered. I')
||'n a production environment it is recommended to disable the debug mode, because it writes many informations to the JavaScript console and normally the end users should not modify the graph.'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(23126376810729961776)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>40
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(19194728958199550701)
,p_plug_name=>'Your Data'
,p_parent_plug_id=>wwv_flow_imp.id(23126376810729961776)
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'htp.p(apex_markdown.to_html(q''{',
'',
'We use here the graph [API][0] to set the data with two dynamic actions for the button clicks - the graph function ',
'is set up by the plugin with this naming convention: `d3_force_YOUR_REGION_STATIC_ID` - in our case the region ',
'static ID is `emp`. For more infos see the [getting started section][1] in the API reference.',
'',
'```javascript',
'// get data',
'$s(''P13_DATA'',JSON.stringify(d3_force_emp.data(),null,2));',
'',
'// set data',
'd3_force_emp.start($v(''P13_DATA''));',
'```',
'',
'Input data to the graph function can be a JSON object, a JSON string or a XML string.',
'JSON and XML parsing is done automatically by the graph function. Since we use here ',
'a textarea and I don''t know what type of data you will paste I simply put the textstring',
'to the graph function. Also see the API reference for the differences between the [start][2], ',
'[render][3] and [resume][4] function or for a [JSON or XML notation example][5].',
'',
'Please note that the `data()` function is getting all data from the currently running graph and some',
'attributes are calculated by the graph and you don''t have to set it by yourself. As an example: The radius',
'is calculated with the `SIZEVALUE` attribute between the given min and max configuration option values - ',
'see also the [node and link attributes][6] in the API reference.',
'',
'[0]: https://ogobrecht.github.io/d3-force-apex-plugin/',
'[1]: https://ogobrecht.github.io/d3-force-apex-plugin/tutorial-1-getting-started.html',
'[2]: https://ogobrecht.github.io/d3-force-apex-plugin/module-API.html#.start',
'[3]: https://ogobrecht.github.io/d3-force-apex-plugin/module-API.html#.render',
'[4]: https://ogobrecht.github.io/d3-force-apex-plugin/module-API.html#.resume',
'[5]: https://ogobrecht.github.io/d3-force-apex-plugin/tutorial-3-included-sample-data.html',
'[6]: https://ogobrecht.github.io/d3-force-apex-plugin/tutorial-2-node-and-link-attributes.html',
'  ',
'}''));'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(23375587310563735064)
,p_plug_name=>'Breadcrumb'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>50
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_item_display_point=>'BELOW'
,p_location=>null
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5767343312858288103)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(19194728958199550701)
,p_button_name=>'GET_DATA'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Get Data'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5771646207602466312)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(19194728531922550696)
,p_button_name=>'ZOOM_TO_FIT'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Zoom to Fit'
,p_button_position=>'EDIT'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5767343724551288107)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(19194728958199550701)
,p_button_name=>'SET_DATA'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Set Data'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(5767343672479288106)
,p_name=>'P13_DATA'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(19194728958199550701)
,p_prompt=>'Data'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>30
,p_cHeight=>20
,p_grid_label_column_span=>0
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--stretchInputs'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5771668330599466326)
,p_name=>'Zoom to Fit'
,p_event_sequence=>30
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5771646207602466312)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5771668835767466326)
,p_event_id=>wwv_flow_imp.id(5771668330599466326)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'// https://github.com/ogobrecht/d3-force-apex-plugin/wiki/API-Reference#zoomsmooth',
'd3_force_emp.zoomToFit();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5767343406523288104)
,p_name=>'Get Graph Data'
,p_event_sequence=>120
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5767343312858288103)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767343522747288105)
,p_event_id=>wwv_flow_imp.id(5767343406523288104)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>'$s(''P13_DATA'',JSON.stringify(d3_force_emp.data(),null,2));'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5767343886778288108)
,p_name=>'Set Graph Data'
,p_event_sequence=>130
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5767343724551288107)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767343992142288109)
,p_event_id=>wwv_flow_imp.id(5767343886778288108)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'/* JSON or XML parsing is done automatically - you need only to provide a string here */',
'd3_force_emp.start($v(''P13_DATA''));'))
);
end;
/
prompt --application/pages/page_00020
begin
wwv_flow_imp_page.create_page(
 p_id=>20
,p_name=>'Gantt Chart'
,p_alias=>'GANTT-CHART'
,p_step_title=>'Gantt Chart'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_page_component_map=>'10'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(21975304743970685068)
,p_plug_name=>'Breadcrumb'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_item_display_point=>'BELOW'
,p_location=>null
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(24705192316981971222)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>60
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(18516177750686382116)
,p_plug_name=>'Plug-in Description'
,p_parent_plug_id=>wwv_flow_imp.id(24705192316981971222)
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'htp.p(apex_markdown.to_html(''',
'- Based on [DHTMLX Gantt](https://dhtmlx.com/docs/products/dhtmlxGantt/) library v7.0.11 ([docs](http://docs.dhtmlx.com/gantt/))',
'- This is the GPLv2 version of the library with a reduced set of functions - [Compare the free and the Pro version](https://docs.dhtmlx.com/gantt/desktop__editions_comparison.html)',
'- If you need all functionality you can buy the Pro version and copy the Pro files into the plugin',
'- "Export to PDF" functionality with the help of DHTMLX internet API (watermark without PRO version) - [more infos here...](https://docs.dhtmlx.com/gantt/desktop__export.html#exporttopdf)',
'- Minimum supported APEX version for the plug-in is 5.1',
'- Data can be delivered as XML (string) or JSON (string or object)',
'- The plugin delivers sample data, if no query is defined',
'- There are five events available to react on chart actions: Task Create, Task Double Click, Task Drag (change of progress, start date, duration), Link Create, Link Double Click',
'- In the region attributes you can configure some aspects of the Gantt chart - for an example the height, the skin, the UI language (30 different delivered by the vendor); There is also the possibility to place custom before and after initialization '
||'JavaScript code',
'- Everything else can be done with the extensive JavaScript API available from DHTMLX - [please refer to the docs](http://docs.dhtmlx.com/gantt/)',
'',
'Links:',
'',
'- [Download latest release](https://github.com/ogobrecht/apex-plugin-dhtmlx-gantt/releases/latest)',
'- [Sourcecode](https://github.com/ogobrecht/apex-plugin-dhtmlx-gantt)',
'- [License: GPLv2](https://github.com/ogobrecht/apex-plugin-dhtmlx-gantt/blob/master/LICENSE.txt)',
'- [Issues](https://github.com/ogobrecht/apex-plugin-dhtmlx-gantt/issues)',
'- [Wiki](https://github.com/ogobrecht/apex-plugin-dhtmlx-gantt/wiki)',
'- [Vendor docs]([docs](http://docs.dhtmlx.com/gantt/))',
'',
'Happy project planning!',
'',
'Ottmar',
'',
'''));'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(24705192445111971223)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>70
,p_include_in_reg_disp_sel_yn=>'Y'
,p_plug_new_grid_row=>false
,p_location=>null
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(18531752811026712545)
,p_plug_name=>'Region Source'
,p_parent_plug_id=>wwv_flow_imp.id(24705192445111971223)
,p_region_template_options=>'#DEFAULT#:is-collapsed:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187065710399063367)
,p_plug_display_sequence=>20
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  md varchar2(32767);',
'begin',
'  select ''```sql''',
'         || chr(10)',
'         || region_source',
'         || chr(10)',
'         || ''```''',
'         || chr(10)',
'    into md',
'    from apex_application_page_regions',
'   where application_id = :app_id',
'     and page_id = :app_page_id',
'     and static_id = ''my_gantt'';',
'  htp.p(apex_markdown.to_html(md));',
'exception',
'  when no_data_found then',
'    null;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(24705192229402971221)
,p_plug_name=>'Additional Information'
,p_parent_plug_id=>wwv_flow_imp.id(24705192445111971223)
,p_region_template_options=>'#DEFAULT#:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_plug_display_point=>'SUB_REGIONS'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'htp.p(apex_markdown.to_html(''',
'- The whole idea of the plug-in ist to integrate the Gantt JavaScript library and to expose relevant events to be able to use standard APEX modal dialogs to edit the tasks and links',
'- The downside of this is, that you need to work with the event data to open your modal dialogs and that you need to prepare your URLs somewhere',
'- You can prepare the edit URLs beforehand in the region SQL',
'- When you change data by interacting with the graph you need to prepare the URL with a dynamic action',
'- It is highly recommendet to install this demo app and inspect the implementation details',
'- "2017-04-04" is delivered as holiday in the SQL query - see region source below',
'''));'))
,p_plug_source_type=>'NATIVE_PLSQL'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(113840462044306921992)
,p_plug_name=>'Demo Project'
,p_region_name=>'my_gantt'
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:js-showMaximizeButton:t-Region--scrollBody'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_include_in_reg_disp_sel_yn=>'Y'
,p_location=>null
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'WITH tasks AS ( --> START YOUR TASKS QUERY HERE',
'    SELECT',
'        XMLELEMENT(',
'            "task",',
'            XMLATTRIBUTES(',
'                t_id AS "id",',
'                t_title AS "text",',
'                TO_CHAR(t_start_date,''yyyy-mm-dd'') AS "start_date",',
'                TO_CHAR(t_progress,''TM9'',''nls_numeric_characters=''''.,'''''') AS "progress",',
'                TO_CHAR(t_duration,''TM9'',''nls_numeric_characters=''''.,'''''') AS "duration",',
'                t_parent_t_id AS "parent",',
'                -- For the visualization, if child tasks should be expanded(shown) or not:',
'                ''true'' AS "open",',
'                -- If you provide here a URL, then this URL is automatically opened by the plugin when a task is double clicked.',
'                -- This saves you time during development and also extra AJAX calls to the server to prepare the url',
'                -- in a dynamic action. The triggering element is set her to #my_gantt which is the static id of the',
'                -- gantt chart region. You get then on this region the event "Dialog Closed". With this event you can',
'                -- refresh the gantt chart with a dynamic action:',
'                apex_util.prepare_url(',
'                    p_url => ''f?p='' || :app_id || '':21:'' || :app_session || '':::21:P21_T_ID:'' || t_id,',
'                    p_triggering_element => ''apex.jQuery("#my_gantt")''',
'                ) AS "url_edit",',
'                -- The url to call when the user click a plus sign to create a child task (our task id is here the parent):',
'                apex_util.prepare_url(',
'                    p_url => ''f?p='' || :app_id || '':21:'' || :app_session || '':::21:P21_T_PARENT_T_ID:'' || t_id,',
'                    p_triggering_element => ''apex.jQuery("#my_gantt")''',
'                ) AS "url_create_child"',
'            )',
'        ) AS task_xml',
'    FROM',
'        plugin_gantt_demo_tasks',
'    ORDER BY t_sort_order --< STOP YOUR TASKS QUERY HERE',
'), links AS ( --> START YOUR LINKS QUERY HERE',
'    SELECT',
'        XMLELEMENT(',
'            "link",',
'            XMLATTRIBUTES(',
'                l_id AS "id",',
'                l_source AS "source",',
'                l_target AS "target",',
'                l_type AS "type",',
'                apex_util.prepare_url(',
'                    p_url => ''f?p='' || :app_id || '':22:'' || :app_session || '':::22:P22_L_ID:'' || l_id,',
'                    p_triggering_element => ''apex.jQuery("#my_gantt")''',
'                ) AS "url_edit"',
'            )',
'        ) AS link_xml',
'    FROM',
'        plugin_gantt_demo_links --< STOP YOUR LINKS QUERY HERE',
'), holidays AS ( --> START YOUR HOLIDAYS QUERY HERE',
'    SELECT',
'        XMLELEMENT(',
'            "holiday",',
'            XMLATTRIBUTES(',
'                to_char(h_date, ''yyyy-mm-dd'') AS "date"',
'            )',
'        ) AS holiday_xml',
'    FROM',
'        plugin_gantt_demo_holidays --< STOP YOUR HOLIDAYS QUERY HERE',
'), special_urls AS ( --> START SPECIAL URL''s (optional)',
'    SELECT',
'        XMLELEMENT(',
'            "task_create_url_no_child",',
'            XMLATTRIBUTES(',
'                -- The url to call when the user click the first plus sign in the chart to',
'                -- create a new task (no child, because without parent id):',
'                apex_util.prepare_url(',
'                    p_url => ''f?p='' || :app_id || '':21:'' || :app_session || '':::21'',',
'                    p_triggering_element => ''apex.jQuery("#my_gantt")''',
'                ) AS "url"',
'            )',
'        ) AS special_url_xml',
'    FROM',
'        dual --< STOP SPECIAL URL''s',
') SELECT',
'    XMLSERIALIZE(DOCUMENT(',
'        XMLELEMENT(',
'            "data",',
'            (SELECT XMLAGG(task_xml) FROM tasks),',
'            (SELECT XMLAGG(link_xml) FROM links),',
'            (SELECT XMLAGG(holiday_xml) FROM holidays),',
'            (SELECT XMLAGG(special_url_xml) FROM special_urls)',
'        )',
'    ) INDENT) AS single_clob_result',
'FROM',
'    dual;'))
,p_plug_source_type=>'PLUGIN_COM.GITHUB.OGOBRECHT.DHTMLXGANTT'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'attribute_01', '350',
  'attribute_02', wwv_flow_string.join(wwv_flow_t_varchar2(
    '// MODIFY TOOLTIP TEMPLATE',
    'gantt.templates.tooltip_text = function(start, end, task) {',
    '    return "<b>Task:</b> " + task.text + "<br/>" + ',
    '           "<b>Start date:</b> " + gantt.templates.tooltip_date_format(start) + "<br/>" + ',
    '           "<b>End date:</b> " + gantt.templates.tooltip_date_format(end);',
    '};',
    '',
    '// CONFIGURE SCALES',
    '// You can also configure three or more scales - as you like.',
    'gantt.config.scale_height = 50;',
    'gantt.config.scales = [',
    '    {unit: "month", step: 1, format: "%F, %Y"},',
    '    {unit: "day", step: 1, format: "%j %D"} ',
    '];',
    '',
    '// OWN HELPER FUNCTIONS',
    '// This function is used in the dynamic action of the "Quarter" button.',
    'GanttHelperQuarterLabel = function(date) {',
    '    var month = date.getMonth();',
    '    var q_num;',
    '    if      (month >= 9) { q_num = 4; } ',
    '    else if (month >= 6) { q_num = 3; } ',
    '    else if (month >= 3) { q_num = 2; } ',
    '    else                 { q_num = 1; }',
    '    return "Q" + q_num;',
    '};',
    '',
    '// ADD A MARKER',
    '// You need to activate the "Verticle Marker" extension.',
    '// The marker itself is added after refresh of the region with a dynamic action.',
    '// It will not work here in the gantt attributes. ',
    '// And I don''t know why, it should work when I look at the API docs...',
    '',
    '')),
  'attribute_03', wwv_flow_string.join(wwv_flow_t_varchar2(
    '/* load the print API from dhtmlx */',
    'apex.jQuery.getScript("https://export.dhtmlx.com/gantt/api.js");',
    '')),
  'attribute_04', 'dhtmlxgantt_terrace',
  'attribute_05', 'en',
  'attribute_06', 'true',
  'attribute_07', 'true',
  'attribute_08', 'true',
  'attribute_09', 'true',
  'attribute_10', 'true',
  'attribute_11', 'true',
  'attribute_12', 'true',
  'attribute_13', 'true',
  'attribute_14', 'true',
  'attribute_15', 'true',
  'attribute_17', 'tooltip:marker',
  'attribute_18', 'false',
  'attribute_19', wwv_flow_string.join(wwv_flow_t_varchar2(
    '// You can add multiple markers. You need to activate the extension "Vertical Marker" in the region attributes.',
    'var GanttDateToStr = gantt.date.date_to_str(gantt.config.task_date);',
    'var myTodayMarkerDate = new Date("2017-04-03 14:30"); // under normal conditions you would use new Date() here...',
    'gantt.addMarker({',
    '    start_date: myTodayMarkerDate,',
    '    css: "today",',
    '    text: "Today",',
    '    title: "Today: " + GanttDateToStr(myTodayMarkerDate) + '' (not really, but for the demo...)''',
    '});')))).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11480572800710289464)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_button_name=>'Days'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#:t-Button--gapLeft'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Days'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11480571271255289463)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_button_name=>'Weeks'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Weeks'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11480572492861289463)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_button_name=>'Months'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Months'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11480571654017289463)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_button_name=>'Quarters'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Quarters'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11480572074220289463)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_button_name=>'Export-to-PDF'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Export to PDF'
,p_button_position=>'EDIT'
,p_button_execute_validations=>'N'
,p_warn_on_unsaved_changes=>null
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480573213014289464)
,p_name=>'P20_LINK_SOURCE'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480573638865289464)
,p_name=>'P20_LINK_TARGET'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480574071590289465)
,p_name=>'P20_LINK_TYPE'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480574474844289465)
,p_name=>'P20_URL'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480574847415289465)
,p_name=>'P20_TASK_START_DATE'
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480575213555289465)
,p_name=>'P20_TASK_ID'
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480575604647289466)
,p_name=>'P20_TASK_DURATION'
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11480576009575289466)
,p_name=>'P20_TASK_PROGRESS'
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_imp.id(113840462044306921992)
,p_display_as=>'NATIVE_HIDDEN'
,p_encrypt_session_state_yn=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'N')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480578385327289467)
,p_name=>'On Dialog Closed or Canceled - Refresh Gantt Chart'
,p_event_sequence=>30
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(113840462044306921992)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'apexafterclosecanceldialog'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480578895903289468)
,p_event_id=>wwv_flow_imp.id(11480578385327289467)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(113840462044306921992)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480576460316289466)
,p_name=>'On Link Create - Open Modal Dialog'
,p_event_sequence=>40
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(113840462044306921992)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_COM.GITHUB.OGOBRECHT.DHTMLXGANTT|REGION TYPE|dhtmlxgantt_link_create'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480576909533289467)
,p_event_id=>wwv_flow_imp.id(11480576460316289466)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'console.log(''this.data.source: '' + this.data.source);',
'console.log(''this.data.target: '' + this.data.target);',
'console.log(''this.data.type: '' + this.data.type);',
'$s(''P20_LINK_SOURCE'',this.data.source);',
'$s(''P20_LINK_TARGET'',this.data.target);',
'$s(''P20_LINK_TYPE'',this.data.type);'))
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480577413581289467)
,p_event_id=>wwv_flow_imp.id(11480576460316289466)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
':p20_url := apex_util.prepare_url(',
'    p_url                    => ''f?p=''',
'        ||  :app_id',
'        ||  '':22:''',
'        ||  :app_session',
'        ||  '':::22:P22_L_SOURCE,P22_L_TARGET,P22_L_TYPE:'' ',
'        ||  :P20_LINK_SOURCE || '',''',
'        ||  :P20_LINK_TARGET || '',''',
'        ||  :P20_LINK_TYPE,',
'        p_triggering_element => ''apex.jQuery("#my_gantt")''',
'    );'))
,p_attribute_02=>'P20_LINK_SOURCE,P20_LINK_TARGET,P20_LINK_TYPE'
,p_attribute_03=>'P20_URL'
,p_attribute_04=>'N'
,p_attribute_05=>'PLSQL'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480577917202289467)
,p_event_id=>wwv_flow_imp.id(11480576460316289466)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>'plugin_dhtmlxGantt.util_openUrl( $v(''P20_URL'') );'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480583547139289470)
,p_name=>'On Task Drag - Open Modal Dialog'
,p_event_sequence=>50
,p_triggering_element_type=>'REGION'
,p_triggering_region_id=>wwv_flow_imp.id(113840462044306921992)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'PLUGIN_COM.GITHUB.OGOBRECHT.DHTMLXGANTT|REGION TYPE|dhtmlxgantt_task_drag'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480585057318289471)
,p_event_id=>wwv_flow_imp.id(11480583547139289470)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'$s(''P20_TASK_ID'', this.data.task.id);',
'$s(''P20_TASK_START_DATE'', plugin_dhtmlxGantt.util_toLocalIsoString(this.data.task.start_date).substring(0, 10));',
'$s(''P20_TASK_DURATION'', this.data.task.duration.toString());',
'$s(''P20_TASK_PROGRESS'', plugin_dhtmlxGantt.util_round(this.data.task.progress, 1).toString());',
'',
'console.log(''P20_TASK_ID: ''         + $v(''P20_TASK_ID'') );',
'console.log(''P20_TASK_START_DATE: '' + $v(''P20_TASK_START_DATE'') );',
'console.log(''P20_TASK_DURATION: ''   + $v(''P20_TASK_DURATION'') );',
'console.log(''P20_TASK_PROGRESS: ''   + $v(''P20_TASK_PROGRESS'') );'))
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480584522511289470)
,p_event_id=>wwv_flow_imp.id(11480583547139289470)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_EXECUTE_PLSQL_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
':p20_url := apex_util.prepare_url(',
'    p_url                    => ''f?p=''',
'        ||  :app_id',
'        ||  '':21:''',
'        ||  :app_session',
'        ||  '':::21:P21_T_ID,P21_T_START_DATE,P21_T_DURATION,P21_T_PROGRESS:''',
'        ||  :P20_TASK_ID || '',''',
'        ||  :P20_TASK_START_DATE || '',''',
'        ||  :P20_TASK_DURATION || '',''',
'        ||  :P20_TASK_PROGRESS,',
'        p_triggering_element => ''apex.jQuery("#my_gantt")''',
'    );'))
,p_attribute_02=>'P20_TASK_ID,P20_TASK_START_DATE,P20_TASK_DURATION,P20_TASK_PROGRESS'
,p_attribute_03=>'P20_URL'
,p_attribute_04=>'N'
,p_attribute_05=>'PLSQL'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480584060139289470)
,p_event_id=>wwv_flow_imp.id(11480583547139289470)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'plugin_dhtmlxGantt.util_openUrl( $v(''P20_URL'') );',
'console.log( $v(''P20_URL'') );',
''))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480586307072289471)
,p_name=>'On click (Days) - Change scale'
,p_event_sequence=>80
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11480572800710289464)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480586856727289472)
,p_event_id=>wwv_flow_imp.id(11480586307072289471)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'gantt.config.scales = [',
'    {unit: "month", step: 1, format: "%F, %Y"},',
'    {unit: "day", step:1, format: "%j %D"} ',
'];',
'gantt.render();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480581725916289469)
,p_name=>'On click (Weeks) - Change scale'
,p_event_sequence=>90
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11480571271255289463)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480582209285289469)
,p_event_id=>wwv_flow_imp.id(11480581725916289469)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'gantt.config.scales = [',
'    {unit: "year", step: 1, format: "%Y"},',
'    {unit: "week"}',
'];',
'gantt.render();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480585477562289471)
,p_name=>'On click (Months) - Change scale'
,p_event_sequence=>100
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11480572492861289463)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480585968798289471)
,p_event_id=>wwv_flow_imp.id(11480585477562289471)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'gantt.config.scales = [',
'    {unit: "year", step: 1, format: "%Y"},',
'    {unit: "month", step: 1, format: "%M"}',
'];',
'gantt.render();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480582678076289470)
,p_name=>'On click (Quarters) - Change scale'
,p_event_sequence=>110
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11480571654017289463)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480583175678289470)
,p_event_id=>wwv_flow_imp.id(11480582678076289470)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>wwv_flow_string.join(wwv_flow_t_varchar2(
'gantt.config.scales = [',
'    {unit: "year", step: 1, format: "%Y"},',
'    {unit: "quarter", step: 1, format: GanttHelperQuarterLabel}',
'];',
'gantt.render();'))
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11480579217537289468)
,p_name=>'On click (Print) - Post data to internet print service'
,p_event_sequence=>120
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11480572074220289463)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
,p_da_event_comment=>wwv_flow_string.join(wwv_flow_t_varchar2(
'Please be aware that you post your data to a public printing service. Implement this only, if you really need it.',
'https://docs.dhtmlx.com/gantt/desktop__export.html#exporttopdf'))
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480580476764289469)
,p_event_id=>wwv_flow_imp.id(11480579217537289468)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_CONFIRM'
,p_attribute_01=>'You are going to post your Gantt data over the public internet to a printing service. Are you sure to do this? If you don&#x27;t want to have this functionality please remove the export button and also the call to load the external API JavaScript cod'
||'e in the Gantt region attributes under &quot;After Init JS Code&quot;.'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11480579770935289468)
,p_event_id=>wwv_flow_imp.id(11480579217537289468)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_JAVASCRIPT_CODE'
,p_attribute_01=>'gantt.exportToPDF();'
);
end;
/
prompt --application/pages/page_00021
begin
wwv_flow_imp_page.create_page(
 p_id=>21
,p_name=>'Task'
,p_alias=>'TASK'
,p_page_mode=>'MODAL'
,p_step_title=>'Task'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'02'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11509542956073160121)
,p_plug_name=>'Task'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>10
,p_query_type=>'TABLE'
,p_query_table=>'PLUGIN_GANTT_DEMO_TASKS'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_add_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_update_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_delete_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_read_only_when_type=>'USER_IS_PUBLIC_USER'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11509548847236160125)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_03'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'TEXT',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11509549230025160125)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(11509548847236160125)
,p_button_name=>'CANCEL'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Cancel'
,p_button_position=>'CLOSE'
,p_button_alignment=>'RIGHT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11509550699651160126)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(11509548847236160125)
,p_button_name=>'DELETE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Delete'
,p_button_position=>'DELETE'
,p_button_execute_validations=>'N'
,p_confirm_message=>'&APP_TEXT$DELETE_MSG!RAW.'
,p_confirm_style=>'danger'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p21_t_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'DELETE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11509551013010160127)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_imp.id(11509548847236160125)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p21_t_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'UPDATE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11509551438162160127)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_imp.id(11509548847236160125)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p21_t_id is null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'INSERT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5767345387952288123)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_imp.id(11509548847236160125)
,p_button_name=>'DEMO'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Sorry, no change rights - click to close'
,p_button_position=>'NEXT'
,p_warn_on_unsaved_changes=>null
,p_button_condition=>':app_user in (''nobody'',''DEMO'')'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509543276921160121)
,p_name=>'P21_T_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_source=>'T_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509543636382160122)
,p_name=>'P21_T_PARENT_T_ID'
,p_source_data_type=>'NUMBER'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Parent Task'
,p_source=>'T_PARENT_T_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_TASKS'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'        CASE WHEN',
'            length(t_title) > 60',
'        THEN',
'            substr(t_title,1,57)',
'             ||  ''...''',
'        ELSE',
'            t_title',
'        END',
'    AS d,',
'    t_id AS r',
'FROM',
'    plugin_gantt_demo_tasks',
'ORDER BY t_title'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171421134063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509544099602160122)
,p_name=>'P21_T_TITLE'
,p_source_data_type=>'VARCHAR2'
,p_is_required=>true
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Title'
,p_source=>'T_TITLE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>64
,p_cMaxlength=>80
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'disabled', 'N',
  'submit_when_enter_pressed', 'N',
  'subtype', 'TEXT',
  'trim_spaces', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509544407650160122)
,p_name=>'P21_T_DESCRIPTION'
,p_source_data_type=>'VARCHAR2'
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Description'
,p_source=>'T_DESCRIPTION'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_TEXTAREA'
,p_cSize=>64
,p_cMaxlength=>400
,p_cHeight=>4
,p_field_template=>wwv_flow_imp.id(3187171421134063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'auto_height', 'N',
  'character_counter', 'N',
  'resizable', 'Y',
  'trim_spaces', 'BOTH')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509544895329160123)
,p_name=>'P21_T_START_DATE'
,p_source_data_type=>'DATE'
,p_is_required=>true
,p_item_sequence=>50
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Start Date'
,p_source=>'T_START_DATE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_DATE_PICKER_APEX'
,p_cSize=>16
,p_cMaxlength=>255
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'display_as', 'POPUP',
  'max_date', 'NONE',
  'min_date', 'NONE',
  'multiple_months', 'N',
  'show_time', 'N',
  'use_defaults', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509545219616160123)
,p_name=>'P21_T_DURATION'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>60
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Duration'
,p_source=>'T_DURATION'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_NUMBER_FIELD'
,p_cSize=>16
,p_cMaxlength=>255
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'number_alignment', 'right',
  'virtual_keyboard', 'text')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509545630204160123)
,p_name=>'P21_T_PROGRESS'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>70
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Progress'
,p_source=>'T_PROGRESS'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PERCENT'
,p_lov=>'.'||wwv_flow_imp.id(11479903547074261474)||'.'
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11509546050735160123)
,p_name=>'P21_T_SORT_ORDER'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>80
,p_item_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_item_source_plug_id=>wwv_flow_imp.id(11509542956073160121)
,p_prompt=>'Sort Order'
,p_source=>'T_SORT_ORDER'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_NUMBER_FIELD'
,p_cSize=>16
,p_cMaxlength=>255
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'number_alignment', 'right',
  'virtual_keyboard', 'text')).to_clob
);
wwv_flow_imp_page.create_page_computation(
 p_id=>wwv_flow_imp.id(5767345467946288124)
,p_computation_sequence=>10
,p_computation_item=>'P21_T_PROGRESS'
,p_computation_point=>'AFTER_HEADER'
,p_computation_type=>'EXPRESSION'
,p_computation_language=>'PLSQL'
,p_computation=>'rtrim(trim(:p21_t_progress),''0.,'')'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11509549341517160125)
,p_name=>'Cancel Dialog'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11509549230025160125)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11509550193589160126)
,p_event_id=>wwv_flow_imp.id(11509549341517160125)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CANCEL'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(24705192581466971224)
,p_name=>'No rights, close dialog'
,p_event_sequence=>20
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5767345387952288123)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(24705192607808971225)
,p_event_id=>wwv_flow_imp.id(24705192581466971224)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CLOSE'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11509552292120160127)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_imp.id(11509542956073160121)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Task'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>11509552292120160127
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11509552683106160128)
,p_process_sequence=>50
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_CLOSE_WINDOW'
,p_process_name=>'Close Dialog'
,p_attribute_02=>'N'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when=>'CREATE,SAVE,DELETE,DEMO'
,p_process_when_type=>'REQUEST_IN_CONDITION'
,p_internal_uid=>11509552683106160128
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11509551870883160127)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_imp.id(11509542956073160121)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Task'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_type=>'NEVER'
,p_internal_uid=>11509551870883160127
,p_process_comment=>'The form initialization silently ignores all item values set by the URL except the one for the primary key. So we need to fetch the data by ourselve. See process "Fetch data".'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(5767345568685288125)
,p_process_sequence=>20
,p_process_point=>'BEFORE_HEADER'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Fetch data'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'for i in (',
'  select * ',
'    from plugin_gantt_demo_tasks ',
'   where t_id = :p21_t_id',
') loop',
'  :p21_t_parent_t_id := i.t_parent_t_id;',
'  :p21_t_title       := i.t_title;',
'  :p21_t_description := i.t_description;',
'  :p21_t_start_date  := coalesce(:p21_t_start_date, i.t_start_date);',
'  :p21_t_duration    := coalesce(:p21_t_duration, i.t_duration);',
'  :p21_t_progress    := coalesce(:p21_t_progress, i.t_progress);',
'  :p21_t_sort_order  := i.t_sort_order;',
'end loop;'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>5767345568685288125
);
end;
/
prompt --application/pages/page_00022
begin
wwv_flow_imp_page.create_page(
 p_id=>22
,p_name=>'Link'
,p_alias=>'LINK'
,p_page_mode=>'MODAL'
,p_step_title=>'Link'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(4636373435354291800)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'02'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11503305840544049426)
,p_plug_name=>'Link'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>10
,p_query_type=>'TABLE'
,p_query_table=>'PLUGIN_GANTT_DEMO_LINKS'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_add_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_update_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_delete_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
,p_plug_read_only_when_type=>'USER_IS_PUBLIC_USER'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(11503308991290049429)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>20
,p_plug_display_point=>'REGION_POSITION_03'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'TEXT',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11503309327925049429)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(11503308991290049429)
,p_button_name=>'CANCEL'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Cancel'
,p_button_position=>'CLOSE'
,p_button_alignment=>'RIGHT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11503310792485049430)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(11503308991290049429)
,p_button_name=>'DELETE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Delete'
,p_button_position=>'DELETE'
,p_button_execute_validations=>'N'
,p_confirm_message=>'&APP_TEXT$DELETE_MSG!RAW.'
,p_confirm_style=>'danger'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p22_l_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'DELETE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11503311127602049431)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_imp.id(11503308991290049429)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p22_l_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'UPDATE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11503311535836049431)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_imp.id(11503308991290049429)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p22_l_id is null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'INSERT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(5767345231552288122)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_imp.id(11503308991290049429)
,p_button_name=>'DEMO'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Sorry, no change rights - click to close'
,p_button_position=>'NEXT'
,p_warn_on_unsaved_changes=>null
,p_button_condition=>':app_user in (''nobody'',''DEMO'')'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11503306100476049426)
,p_name=>'P22_L_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_item_source_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_source=>'L_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_is_persistent=>'N'
,p_protection_level=>'S'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11503306542232049427)
,p_name=>'P22_L_SOURCE'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_item_source_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_prompt=>'Source'
,p_source=>'L_SOURCE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_TASKS'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'        CASE WHEN',
'            length(t_title) > 60',
'        THEN',
'            substr(t_title,1,57)',
'             ||  ''...''',
'        ELSE',
'            t_title',
'        END',
'    AS d,',
'    t_id AS r',
'FROM',
'    plugin_gantt_demo_tasks',
'ORDER BY t_title'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11503306904021049427)
,p_name=>'P22_L_TARGET'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_item_source_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_prompt=>'Target'
,p_source=>'L_TARGET'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_TASKS'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'        CASE WHEN',
'            length(t_title) > 60',
'        THEN',
'            substr(t_title,1,57)',
'             ||  ''...''',
'        ELSE',
'            t_title',
'        END',
'    AS d,',
'    t_id AS r',
'FROM',
'    plugin_gantt_demo_tasks',
'ORDER BY t_title'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11503307327420049428)
,p_name=>'P22_L_TYPE'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_item_source_plug_id=>wwv_flow_imp.id(11503305840544049426)
,p_prompt=>'Type'
,p_source=>'L_TYPE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_LINKS_TYPES'
,p_lov=>'.'||wwv_flow_imp.id(11479582651947206481)||'.'
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171799156063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11503309404801049429)
,p_name=>'Cancel Dialog'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11503309327925049429)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11503310243199049430)
,p_event_id=>wwv_flow_imp.id(11503309404801049429)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CANCEL'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(24705192758336971226)
,p_name=>'No rights, close dialog'
,p_event_sequence=>20
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(5767345231552288122)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(24705192831976971227)
,p_event_id=>wwv_flow_imp.id(24705192758336971226)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CLOSE'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11503312329325049431)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_imp.id(11503305840544049426)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process form Link'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when=>'CREATE,SAVE,DELETE'
,p_process_when_type=>'REQUEST_IN_CONDITION'
,p_internal_uid=>11503312329325049431
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11503312780639049431)
,p_process_sequence=>50
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_CLOSE_WINDOW'
,p_process_name=>'Close Dialog'
,p_attribute_02=>'N'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when=>'CREATE,SAVE,DELETE,DEMO'
,p_process_when_type=>'REQUEST_IN_CONDITION'
,p_internal_uid=>11503312780639049431
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11503311959400049431)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_imp.id(11503305840544049426)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Link'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>11503311959400049431
);
end;
/
prompt --application/pages/page_00024
begin
wwv_flow_imp_page.create_page(
 p_id=>24
,p_name=>'dummy'
,p_alias=>'DUMMY'
,p_page_mode=>'MODAL'
,p_step_title=>'dummy'
,p_autocomplete_on_off=>'OFF'
,p_javascript_code=>'var htmldb_delete_message=''"DELETE_CONFIRM_MSG"'';'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'02'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(125346248555298369987)
,p_plug_name=>'Edit Link'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>10
,p_query_type=>'TABLE'
,p_query_table=>'PLUGIN_GANTT_DEMO_LINKS'
,p_include_rowid_column=>false
,p_is_editable=>true
,p_edit_operations=>'i:u:d'
,p_add_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_update_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_delete_authorization_scheme=>wwv_flow_imp.id(3187203238539063429)
,p_lost_update_check_type=>'VALUES'
,p_plug_source_type=>'NATIVE_FORM'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(125346249283760369989)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_03'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'TEXT',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11502949001223038134)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(125346249283760369989)
,p_button_name=>'CANCEL'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Cancel'
,p_button_position=>'CLOSE'
,p_button_alignment=>'RIGHT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11502949848876038134)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(125346249283760369989)
,p_button_name=>'DELETE'
,p_button_action=>'REDIRECT_URL'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Delete'
,p_button_position=>'DELETE'
,p_button_redirect_url=>'javascript:apex.confirm(htmldb_delete_message,''DELETE'');'
,p_button_execute_validations=>'N'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p24_l_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'DELETE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11502949470389038134)
,p_button_sequence=>30
,p_button_plug_id=>wwv_flow_imp.id(125346249283760369989)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p24_l_id is not null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'UPDATE'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11502948259324038133)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_imp.id(125346249283760369989)
,p_button_name=>'CREATE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Create'
,p_button_position=>'NEXT'
,p_button_condition=>':app_user not in (''nobody'',''DEMO'') and :p24_l_id is null'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
,p_database_action=>'INSERT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(11502948691322038133)
,p_button_sequence=>50
,p_button_plug_id=>wwv_flow_imp.id(125346249283760369989)
,p_button_name=>'DEMO'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Sorry'
,p_button_position=>'NEXT'
,p_button_execute_validations=>'N'
,p_button_condition=>':app_user in (''nobody'',''DEMO'')'
,p_button_condition2=>'PLSQL'
,p_button_condition_type=>'EXPRESSION'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11502944326221038130)
,p_name=>'P24_L_ID'
,p_source_data_type=>'NUMBER'
,p_is_primary_key=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_item_source_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_source=>'L_ID'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_HIDDEN'
,p_protection_level=>'S'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'value_protected', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11502944742982038131)
,p_name=>'P24_L_SOURCE'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_item_source_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_prompt=>'Source'
,p_source=>'L_SOURCE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_TASKS'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'        CASE WHEN',
'            length(t_title) > 60',
'        THEN',
'            substr(t_title,1,57)',
'             ||  ''...''',
'        ELSE',
'            t_title',
'        END',
'    AS d,',
'    t_id AS r',
'FROM',
'    plugin_gantt_demo_tasks',
'ORDER BY t_title'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171670589063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11502945100778038131)
,p_name=>'P24_L_TARGET'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_item_source_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_prompt=>'Target'
,p_source=>'L_TARGET'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_TASKS'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'SELECT',
'        CASE WHEN',
'            length(t_title) > 60',
'        THEN',
'            substr(t_title,1,57)',
'             ||  ''...''',
'        ELSE',
'            t_title',
'        END',
'    AS d,',
'    t_id AS r',
'FROM',
'    plugin_gantt_demo_tasks',
'ORDER BY t_title'))
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171670589063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(11502945547048038131)
,p_name=>'P24_L_TYPE'
,p_source_data_type=>'NUMBER'
,p_is_required=>true
,p_item_sequence=>40
,p_item_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_item_source_plug_id=>wwv_flow_imp.id(125346248555298369987)
,p_prompt=>'Type'
,p_source=>'L_TYPE'
,p_source_type=>'REGION_SOURCE_COLUMN'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'PLUGIN_GANTT_DEMO_LINKS_TYPES'
,p_lov=>'.'||wwv_flow_imp.id(11479582651947206481)||'.'
,p_lov_display_null=>'YES'
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171670589063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'YES'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(11502951091961038137)
,p_name=>'Cancel Dialog'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(11502949001223038134)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(11502951589392038138)
,p_event_id=>wwv_flow_imp.id(11502951091961038137)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CANCEL'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11502947534998038133)
,p_process_sequence=>30
,p_process_point=>'AFTER_SUBMIT'
,p_region_id=>wwv_flow_imp.id(125346248555298369987)
,p_process_type=>'NATIVE_FORM_DML'
,p_process_name=>'Process Row of PLUGIN_GANTT_DEMO_LINKS'
,p_attribute_01=>'REGION_SOURCE'
,p_attribute_05=>'Y'
,p_attribute_06=>'Y'
,p_attribute_08=>'Y'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when=>':app_user not in (''nobody'',''DEMO'')'
,p_process_when_type=>'EXPRESSION'
,p_process_when2=>'PLSQL'
,p_process_success_message=>'Action Processed.'
,p_internal_uid=>11502947534998038133
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11502950240106038137)
,p_process_sequence=>40
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SESSION_STATE'
,p_process_name=>'reset page'
,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when_button_id=>wwv_flow_imp.id(11502949848876038134)
,p_internal_uid=>11502950240106038137
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11502950683856038137)
,p_process_sequence=>50
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_CLOSE_WINDOW'
,p_process_name=>'Close Dialog'
,p_attribute_02=>'N'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_when=>'CREATE,SAVE,DELETE,DEMO'
,p_process_when_type=>'REQUEST_IN_CONDITION'
,p_internal_uid=>11502950683856038137
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(11502947139476038132)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_region_id=>wwv_flow_imp.id(125346248555298369987)
,p_process_type=>'NATIVE_FORM_INIT'
,p_process_name=>'Initialize form Edit Link'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>11502947139476038132
);
end;
/
prompt --application/pages/page_09998
begin
wwv_flow_imp_page.create_page(
 p_id=>9998
,p_name=>'Download App'
,p_alias=>'DOWNLOAD-APP'
,p_step_title=>'Download App'
,p_autocomplete_on_off=>'OFF'
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'11'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(5767344005501288110)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Download App'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'  v_files    apex_t_export_files;',
'  v_export   apex_data_export.t_export;',
'  v_version  varchar2(30);',
'  v_download varchar2(30);',
'begin',
'  select to_char(cast(last_updated_on as timestamp) at time zone ''UTC'',''yymmdd_hh24miss'')',
'    into v_version ',
'    from apex_applications ',
'   where application_id = :app_id;',
'  v_download := to_char(cast(sysdate as timestamp) at time zone ''UTC'',''yymmdd_hh24miss'');',
'',
'  v_files := apex_export.get_application(p_application_id => :app_id);',
'',
'  v_export.content_clob := v_files(1).contents;',
'  v_export.mime_type    := ''application/x-sql'';',
'  v_export.file_name    := ''ottmars_playground'' || ''___version_'' || v_version || ',
'                           ''_utc___download_'' || v_download || ''_utc'';',
'  v_export.format       := ''sql'';',
'  v_export.as_clob      := true;',
'',
'  apex_data_export.download(v_export);',
'end;',
''))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>5767344005501288110
);
end;
/
prompt --application/pages/page_09999
begin
wwv_flow_imp_page.create_page(
 p_id=>9999
,p_name=>'Login Page'
,p_alias=>'LOGIN'
,p_step_title=>'Ottmar''s Playground - Log In'
,p_warn_on_unsaved_changes=>'N'
,p_first_item=>'AUTO_FIRST_ITEM'
,p_autocomplete_on_off=>'OFF'
,p_step_template=>wwv_flow_imp.id(3187022056039063349)
,p_page_template_options=>'#DEFAULT#'
,p_page_is_public_y_n=>'Y'
,p_protection_level=>'C'
,p_page_component_map=>'12'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187205504764063433)
,p_plug_name=>'Ottmar''s Playground'
,p_icon_css_classes=>'app-icon'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187099096249063379)
,p_plug_display_sequence=>10
,p_location=>null
,p_plug_header=>'<p style="text-align: center;"><a id="demo" href="#">Use demo user</a></p>'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'TEXT',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187208359278063436)
,p_button_sequence=>40
,p_button_plug_id=>wwv_flow_imp.id(3187205504764063433)
,p_button_name=>'LOGIN'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Sign In'
,p_button_position=>'NEXT'
,p_button_alignment=>'LEFT'
,p_grid_new_row=>'Y'
,p_grid_new_column=>'Y'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187205920802063433)
,p_name=>'P9999_USERNAME'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(3187205504764063433)
,p_prompt=>'Username'
,p_placeholder=>'Username'
,p_display_as=>'NATIVE_TEXT_FIELD'
,p_cSize=>40
,p_cMaxlength=>100
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_icon_css_classes=>'fa-user'
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'disabled', 'N',
  'send_on_page_submit', 'N',
  'submit_when_enter_pressed', 'N',
  'subtype', 'TEXT',
  'trim_spaces', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187206327766063434)
,p_name=>'P9999_PASSWORD'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(3187205504764063433)
,p_prompt=>'Password'
,p_placeholder=>'Password'
,p_display_as=>'NATIVE_PASSWORD'
,p_cSize=>40
,p_cMaxlength=>100
,p_label_alignment=>'RIGHT'
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_icon_css_classes=>'fa-key'
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'submit_when_enter_pressed', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187207497329063435)
,p_name=>'P9999_REMEMBER'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(3187205504764063433)
,p_prompt=>'Remember username'
,p_display_as=>'NATIVE_CHECKBOX'
,p_named_lov=>'LOGIN_REMEMBER_USERNAME'
,p_lov=>'.'||wwv_flow_imp.id(3187206625638063434)||'.'
,p_label_alignment=>'RIGHT'
,p_display_when=>'apex_authentication.persistent_cookies_enabled'
,p_display_when2=>'PLSQL'
,p_display_when_type=>'EXPRESSION'
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_template_options=>'#DEFAULT#'
,p_is_persistent=>'N'
,p_lov_display_extra=>'NO'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>',
'If you select this checkbox, the application will save your username in a persistent browser cookie named "LOGIN_USERNAME_COOKIE".',
'When you go to the login page the next time,',
'the username field will be automatically populated with this value.',
'</p>',
'<p>',
'If you deselect this checkbox and your username is already saved in the cookie,',
'the application will overwrite it with an empty value.',
'You can also use your browser''s developer tools to completely remove the cookie.',
'</p>'))
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'number_of_columns', '1')).to_clob
,p_multi_value_type=>'SEPARATED'
,p_multi_value_separator=>':'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(5767345695811288126)
,p_name=>'Use demo user'
,p_event_sequence=>10
,p_triggering_element_type=>'JQUERY_SELECTOR'
,p_triggering_element=>'a#demo'
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767345812456288128)
,p_event_id=>wwv_flow_imp.id(5767345695811288126)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SET_VALUE'
,p_affected_elements_type=>'ITEM'
,p_affected_elements=>'P9999_USERNAME,P9999_PASSWORD'
,p_attribute_01=>'STATIC_ASSIGNMENT'
,p_attribute_02=>'demo'
,p_attribute_09=>'N'
,p_wait_for_result=>'Y'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(5767345929222288129)
,p_event_id=>wwv_flow_imp.id(5767345695811288126)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_SUBMIT_PAGE'
,p_attribute_02=>'Y'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187209159664063437)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Set Username Cookie'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'apex_authentication.send_login_username_cookie (',
'    p_username => lower(:P9999_USERNAME),',
'    p_consent  => :P9999_REMEMBER = ''Y'' );'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>3187209159664063437
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187208741138063436)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Login'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'apex_authentication.login(',
'    p_username => :P9999_USERNAME,',
'    p_password => :P9999_PASSWORD );'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>3187208741138063436
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187209973186063437)
,p_process_sequence=>30
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_SESSION_STATE'
,p_process_name=>'Clear Page(s) Cache'
,p_attribute_01=>'CLEAR_CACHE_CURRENT_PAGE'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_internal_uid=>3187209973186063437
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187209569952063437)
,p_process_sequence=>10
,p_process_point=>'BEFORE_HEADER'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Get Username Cookie'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
':P9999_USERNAME := apex_authentication.get_login_username_cookie;',
':P9999_REMEMBER := case when :P9999_USERNAME is not null then ''Y'' end;'))
,p_process_clob_language=>'PLSQL'
,p_internal_uid=>3187209569952063437
);
end;
/
prompt --application/pages/page_10000
begin
wwv_flow_imp_page.create_page(
 p_id=>10000
,p_name=>'Administration'
,p_alias=>'ADMIN'
,p_step_title=>'Administration'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(3187204642715063431)
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_imp.id(3187203052990063429)
,p_protection_level=>'C'
,p_deep_linking=>'N'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>The administration page allows application owners (Administrators) to configure the application and maintain common data used across the application.',
'By selecting one of the available settings, administrators can potentially change how the application is displayed and/or features available to the end users.</p>',
'<p>Access to this page should be limited to Administrators only.</p>'))
,p_page_component_map=>'03'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187364987887064351)
,p_plug_name=>'Breadcrumb'
,p_region_template_options=>'#DEFAULT#:t-BreadcrumbRegion--useBreadcrumbTitle'
,p_component_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187113676403063385)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_menu_id=>wwv_flow_imp.id(3187010670204063342)
,p_plug_source_type=>'NATIVE_BREADCRUMB'
,p_menu_template_id=>wwv_flow_imp.id(3187175788868063412)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187371496958064355)
,p_plug_name=>'Column 1'
,p_region_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>10
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187371850736064355)
,p_plug_name=>'Configuration'
,p_parent_plug_id=>wwv_flow_imp.id(3187371496958064355)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>40
,p_list_id=>wwv_flow_imp.id(3187365544578064351)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
,p_plug_query_num_rows=>15
,p_required_patch=>wwv_flow_imp.id(3187200787209063428)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187372296195064356)
,p_plug_name=>'User Interface'
,p_parent_plug_id=>wwv_flow_imp.id(3187371496958064355)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>50
,p_list_id=>wwv_flow_imp.id(3187366244990064352)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
,p_plug_query_num_rows=>15
,p_required_patch=>wwv_flow_imp.id(3187201186970063428)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187372695917064356)
,p_plug_name=>'Activity Reports'
,p_parent_plug_id=>wwv_flow_imp.id(3187371496958064355)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>60
,p_list_id=>wwv_flow_imp.id(3187366942868064352)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
,p_plug_query_num_rows=>15
,p_required_patch=>wwv_flow_imp.id(3187200413860063428)
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187373012396064356)
,p_plug_name=>'Column 2'
,p_region_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187048458507063360)
,p_plug_display_sequence=>20
,p_plug_new_grid_row=>false
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187373433344064356)
,p_plug_name=>'Access Control'
,p_parent_plug_id=>wwv_flow_imp.id(3187373012396064356)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>70
,p_plug_query_num_rows=>15
,p_required_patch=>wwv_flow_imp.id(3187200316965063428)
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187374206062064357)
,p_plug_name=>'ACL Information'
,p_parent_plug_id=>wwv_flow_imp.id(3187373433344064356)
,p_region_css_classes=>'margin-sm'
,p_region_template_options=>'#DEFAULT#:t-Alert--colorBG:t-Alert--horizontal:t-Alert--noIcon:t-Alert--warning:t-Alert--accessibleHeading'
,p_component_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187041800015063357)
,p_plug_display_sequence=>10
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'    l_acl_scope varchar2(45);',
'begin',
'    l_acl_scope := apex_app_setting.get_value( p_name => ''ACCESS_CONTROL_SCOPE'' );',
'',
'    if l_acl_scope = ''ALL_USERS'' then',
'        sys.htp.p( apex_lang.message(''APEX.FEATURE.ACL.INFO.ALL_USERS'') );',
'    elsif l_acl_scope = ''ACL_ONLY'' then',
'        sys.htp.p( apex_lang.message(''APEX.FEATURE.ACL.INFO.ACL_ONLY'') );',
'    else',
'        sys.htp.p( apex_lang.message(''APEX.FEATURE.ACL.INFO.ACL_VALUE_INVALID'', l_acl_scope) );',
'    end if;',
'end;'))
,p_plug_source_type=>'NATIVE_PLSQL'
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3187374615945064357)
,p_name=>'User Counts Report'
,p_parent_plug_id=>wwv_flow_imp.id(3187373433344064356)
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>20
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--stacked:t-Region--scrollBody:t-Region--noPadding'
,p_component_template_options=>'#DEFAULT#:t-AVPList--rightAligned'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select r.role_name, (select count(*) from apex_appl_acl_user_roles ur where r.role_id = ur.role_id) user_count, r.role_id',
'from apex_appl_acl_roles r',
'where r.application_id = :APP_ID',
'group by r.role_name, r.role_id',
'order by 2 desc, 1'))
,p_ajax_enabled=>'Y'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187144118446063398)
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_no_data_found=>'no data found'
,p_query_row_count_max=>500
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187375375142064359)
,p_query_column_id=>1
,p_column_alias=>'ROLE_NAME'
,p_column_display_sequence=>1
,p_column_heading=>'Role Name'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187375723650064359)
,p_query_column_id=>2
,p_column_alias=>'USER_COUNT'
,p_column_display_sequence=>2
,p_column_heading=>'User Count'
,p_column_format=>'999G999G999G999G999G999G990'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187376189621064360)
,p_query_column_id=>3
,p_column_alias=>'ROLE_ID'
,p_column_display_sequence=>3
,p_column_heading=>'Role Id'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187379738949064514)
,p_plug_name=>'Access Control Actions'
,p_parent_plug_id=>wwv_flow_imp.id(3187373433344064356)
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>30
,p_list_id=>wwv_flow_imp.id(3187369660514064354)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187380181870064515)
,p_plug_name=>'Feedback'
,p_parent_plug_id=>wwv_flow_imp.id(3187373012396064356)
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:t-Region--scrollBody'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>80
,p_plug_query_num_rows=>15
,p_required_patch=>wwv_flow_imp.id(3187200520254063428)
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3187380534326064515)
,p_name=>'Report'
,p_parent_plug_id=>wwv_flow_imp.id(3187380181870064515)
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>10
,p_region_template_options=>'#DEFAULT#:t-Region--removeHeader:t-Region--stacked:t-Region--scrollBody:t-Region--noPadding'
,p_component_template_options=>'#DEFAULT#:t-AVPList--rightAligned'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select l.display_value feedback_status, ',
'(select count(*) from apex_team_feedback f where f.application_id = :APP_ID and f.feedback_status = l.return_value) feedback_count ',
'from apex_application_lov_entries l',
'where l.application_id = :APP_ID',
'and l.list_of_values_name = ''FEEDBACK_STATUS''',
'order by 2 desc, 1'))
,p_ajax_enabled=>'Y'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187144118446063398)
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_no_data_found=>'no data found'
,p_query_row_count_max=>500
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187381245074064517)
,p_query_column_id=>1
,p_column_alias=>'FEEDBACK_STATUS'
,p_column_display_sequence=>1
,p_column_heading=>'Feedback Status'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187381641584064517)
,p_query_column_id=>2
,p_column_alias=>'FEEDBACK_COUNT'
,p_column_display_sequence=>2
,p_column_heading=>'Feedback Count'
,p_column_format=>'999G999G999G999G999G999G990'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187383846683064672)
,p_plug_name=>'Feedback'
,p_parent_plug_id=>wwv_flow_imp.id(3187380181870064515)
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#:u-colors'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>20
,p_list_id=>wwv_flow_imp.id(3187370705094064355)
,p_plug_source_type=>'NATIVE_LIST'
,p_list_template_id=>wwv_flow_imp.id(3187157185890063404)
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187373875742064357)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187373433344064356)
,p_button_name=>'ADD_USER'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--noUI:t-Button--iconLeft'
,p_button_template_id=>wwv_flow_imp.id(3187174230973063412)
,p_button_image_alt=>'Add User'
,p_button_position=>'EDIT'
,p_button_redirect_url=>'f?p=&APP_ID.:10042:&SESSION.::&DEBUG.:RP,10042::'
,p_icon_css_classes=>'fa-user-plus'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3187378863177064514)
,p_name=>'Refresh Report'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(3187373875742064357)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'apexafterclosedialog'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187379384655064514)
,p_event_id=>wwv_flow_imp.id(3187378863177064514)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187374615945064357)
,p_attribute_01=>'N'
);
end;
/
prompt --application/pages/page_10010
begin
wwv_flow_imp_page.create_page(
 p_id=>10010
,p_name=>'Configuration Options'
,p_alias=>'CONFIGURATION-OPTIONS'
,p_page_mode=>'MODAL'
,p_step_title=>'Configuration Options'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(3187204642715063431)
,p_page_template_options=>'#DEFAULT#:ui-dialog--stretch:t-Dialog--noPadding'
,p_required_role=>wwv_flow_imp.id(3187203052990063429)
,p_required_patch=>wwv_flow_imp.id(3187200787209063428)
,p_protection_level=>'C'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>Configuration settings allow you to make specific functionality either available (enabled) or unavailable (disabled) to end users.</p>',
'<p>If a specific function is not 100% ready, or needs to be temporarily removed, click <strong>Disabled</strong>. ',
'Once it should be made available, simply click <strong>Enabled</strong>.</p>',
'<p><em><strong>Note:</strong> Changes made here will not be reflected for individual end users currently running the application. Once the end user signs out and then signs back in the revised feature settings will be invoked.</em></p>'))
,p_page_component_map=>'18'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187211728545063440)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_03'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'TEXT',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187211900173063440)
,p_plug_name=>'Configuration Options'
,p_region_template_options=>'#DEFAULT#:t-IRR-region--noBorders'
,p_plug_template=>wwv_flow_imp.id(3187097299988063379)
,p_plug_display_sequence=>10
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select ',
'    build_option_id     ID, ',
'    build_option_name   application_option,',
'    apex_item.hidden(1, build_option_id) ||',
'    apex_item.hidden(2, build_option_status) ||',
'    apex_item.switch ( ',
'         p_idx        => 3,',
'         p_value      => build_option_status,',
'         p_on_value   => ''Include'',',
'         p_on_label   => m.enabled,',
'         p_off_value  => ''Exclude'',',
'         p_off_label  => m.disabled,',
'         p_item_id    => ''BO_OPT_'' || rownum,',
'         p_item_label => ( case when build_option_status = ''Include'' then',
'                               apex_lang.message( ''APEX.FEATURE.CONFIG.IS_ENABLED'', apex_escape.html(build_option_name) )',
'                           when build_option_status = ''Exclude'' then',
'                               apex_lang.message( ''APEX.FEATURE.CONFIG.IS_DISABLED'', apex_escape.html(build_option_name) )',
'                           end ),',
'         p_attributes => ''style="white-space:pre;"'') "STATUS",',
'    component_comment   description,',
'    last_updated_on        updated,',
'    lower(last_updated_by) updated_by,',
'    build_option_status current_status',
'  from apex_application_build_options,',
'  (select apex_lang.message(''APEX.FEATURE.CONFIG.ENABLED'') enabled, apex_lang.message(''APEX.FEATURE.CONFIG.DISABLED'') disabled from dual) m',
' where application_id = :APP_ID ',
' and feature_identifier not in ( ''APPLICATION_ACCESS_CONTROL'', ''APPLICATION_CONFIGURATION'')'))
,p_plug_source_type=>'NATIVE_IR'
,p_prn_page_header=>'Configuration Options'
);
wwv_flow_imp_page.create_worksheet(
 p_id=>wwv_flow_imp.id(3187212880287063441)
,p_name=>'Configuration Options'
,p_max_row_count=>'1000000'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_lazy_loading=>false
,p_show_detail_link=>'N'
,p_download_formats=>'CSV:HTML:XLSX:PDF'
,p_enable_mail_download=>'Y'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_owner=>'OGOBRECHT'
,p_internal_uid=>3187212880287063441
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187212984752063441)
,p_db_column_name=>'ID'
,p_display_order=>1
,p_column_identifier=>'A'
,p_column_label=>'ID'
,p_column_type=>'NUMBER'
,p_display_text_as=>'HIDDEN_ESCAPE_SC'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187213382866063442)
,p_db_column_name=>'APPLICATION_OPTION'
,p_display_order=>2
,p_column_identifier=>'B'
,p_column_label=>'Feature'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187213794345063443)
,p_db_column_name=>'STATUS'
,p_display_order=>3
,p_column_identifier=>'C'
,p_column_label=>'Status'
,p_column_type=>'STRING'
,p_display_text_as=>'WITHOUT_MODIFICATION'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187214193550063444)
,p_db_column_name=>'DESCRIPTION'
,p_display_order=>4
,p_column_identifier=>'D'
,p_column_label=>'Description'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187214568075063444)
,p_db_column_name=>'UPDATED'
,p_display_order=>5
,p_column_identifier=>'E'
,p_column_label=>'Updated'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_format_mask=>'SINCE'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187214916533063445)
,p_db_column_name=>'UPDATED_BY'
,p_display_order=>6
,p_column_identifier=>'F'
,p_column_label=>'Updated By'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187215306939063446)
,p_db_column_name=>'CURRENT_STATUS'
,p_display_order=>7
,p_column_identifier=>'G'
,p_column_label=>'Current Status'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_rpt(
 p_id=>wwv_flow_imp.id(3187216078783063446)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'31872161'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'APPLICATION_OPTION:STATUS:DESCRIPTION:UPDATED:UPDATED_BY'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187217660853063449)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187211728545063440)
,p_button_name=>'APPLY_CHANGES'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'NEXT'
,p_button_alignment=>'RIGHT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187216907051063448)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(3187211900173063440)
,p_button_name=>'RESET_REPORT'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconLeft'
,p_button_template_id=>wwv_flow_imp.id(3187174230973063412)
,p_button_image_alt=>'Reset'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.::&DEBUG.:&APP_PAGE_ID.,RR::'
,p_icon_css_classes=>'fa-undo-alt'
);
wwv_flow_imp_page.create_page_branch(
 p_id=>wwv_flow_imp.id(3187218486354063449)
,p_branch_name=>'Branch to Admin Page'
,p_branch_action=>'f?p=&APP_ID.:10000:&SESSION.::&DEBUG.:::&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>10
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187218010974063449)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Update'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'for i in 1..apex_application.g_f01.count loop',
'    for c1 in ( select application_id, build_option_name, build_option_status',
'                from apex_application_build_options',
'                where apex_application.g_f01(i) = build_option_id',
'                   and application_Id = :APP_ID) loop',
'        if c1.build_option_status != apex_application.g_f03(i) then',
'            apex_util.set_build_option_status(  p_application_id => :APP_ID,',
'                                                p_id => apex_application.g_f01(i),',
'                                                p_build_status => upper(apex_application.g_f03(i)) );',
'        end if;',
'    end loop;',
'end loop;'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_success_message=>'Configuration Options updated. '
,p_internal_uid=>3187218010974063449
);
end;
/
prompt --application/pages/page_10020
begin
wwv_flow_imp_page.create_page(
 p_id=>10020
,p_name=>'Application Appearance'
,p_alias=>'APPLICATION-APPEARANCE'
,p_page_mode=>'MODAL'
,p_step_title=>'Application Appearance'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(3187204642715063431)
,p_page_template_options=>'#DEFAULT#'
,p_required_role=>wwv_flow_imp.id(3187203052990063429)
,p_required_patch=>wwv_flow_imp.id(3187201186970063428)
,p_protection_level=>'C'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>Select the default color scheme used to display the application.</p>',
'<p>If <strong>Allow End Users to choose Theme Style</strong> is checked, then each end user can select from the available theme styles by clicking the <em>Customize</em> link in the bottom left corner of the Home page.</p>'))
,p_page_component_map=>'16'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187218752033063449)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_03'
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187218851691063449)
,p_plug_name=>'Configure Appearance'
,p_region_template_options=>'#DEFAULT#'
,p_component_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>20
,p_plug_item_display_point=>'BELOW'
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187221243027063451)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(3187218752033063449)
,p_button_name=>'SAVE'
,p_button_action=>'SUBMIT'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_is_hot=>'Y'
,p_button_image_alt=>'Apply Changes'
,p_button_position=>'NEXT'
,p_button_alignment=>'RIGHT'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187219861868063450)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187218752033063449)
,p_button_name=>'CANCEL'
,p_button_action=>'DEFINED_BY_DA'
,p_button_template_options=>'#DEFAULT#'
,p_button_template_id=>wwv_flow_imp.id(3187174154034063412)
,p_button_image_alt=>'Cancel'
,p_button_position=>'PREVIOUS'
,p_button_alignment=>'RIGHT'
,p_button_execute_validations=>'N'
);
wwv_flow_imp_page.create_page_branch(
 p_id=>wwv_flow_imp.id(3187221631157063452)
,p_branch_name=>'Branch to Admin Page'
,p_branch_action=>'f?p=&APP_ID.:10000:&SESSION.::&DEBUG.:RP::&success_msg=#SUCCESS_MSG#'
,p_branch_point=>'AFTER_PROCESSING'
,p_branch_type=>'REDIRECT_URL'
,p_branch_sequence=>10
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187221910961063452)
,p_name=>'P10020_DESKTOP_THEME_STYLE_ID'
,p_is_required=>true
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(3187218851691063449)
,p_use_cache_before_default=>'NO'
,p_prompt=>'Desktop Theme Style'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select s.theme_style_id',
'from apex_application_theme_styles s,',
'    apex_application_themes t',
'where s.application_id = t.application_id',
'    and s.theme_number = t.theme_number',
'    and s.application_id = :app_id',
'    and t.ui_type_name   = ''DESKTOP''',
'    and s.is_current = ''Yes'''))
,p_source_type=>'QUERY'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'DESKTOP THEME STYLES'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select s.name d,',
'       s.theme_style_id r',
'  from apex_application_theme_styles s,',
'       apex_application_themes t',
' where s.application_id = :app_id',
'   and t.application_id = s.application_id',
'   and t.theme_number   = s.theme_number',
'   and t.ui_type_name   = ''DESKTOP''',
'   and t.is_current     = ''Yes''',
' order by 1'))
,p_cHeight=>1
,p_grid_label_column_span=>3
,p_display_when=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select null',
'  from apex_application_theme_styles s,',
'       apex_application_themes t',
' where s.application_id = t.application_id',
'   and s.theme_number   = t.theme_number',
'   and s.application_id = :app_id',
'   and t.ui_type_name   = ''DESKTOP'''))
,p_display_when_type=>'EXISTS'
,p_field_template=>wwv_flow_imp.id(3187171670589063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'NO'
,p_restricted_characters=>'WEB_SAFE'
,p_inline_help_text=>'The default Theme Style applies to all users.'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'execute_validations', 'Y',
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187222673684063453)
,p_name=>'P10020_END_USER_STYLE'
,p_item_sequence=>30
,p_item_plug_id=>wwv_flow_imp.id(3187218851691063449)
,p_use_cache_before_default=>'NO'
,p_prompt=>'End User Theme Preference'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select a.theme_style_by_user_pref',
'  from apex_applications a',
' where a.application_id  = :app_id'))
,p_source_type=>'QUERY'
,p_display_as=>'NATIVE_CHECKBOX'
,p_named_lov=>'USER_THEME_PREFERENCE'
,p_lov=>'.'||wwv_flow_imp.id(3187222761641063453)||'.'
,p_grid_label_column_span=>0
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'NO'
,p_inline_help_text=>'If checked, end users may choose their own Theme Style using the Customize link.'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'number_of_columns', '1')).to_clob
,p_multi_value_type=>'SEPARATED'
,p_multi_value_separator=>':'
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3187219974554063450)
,p_name=>'Cancel Dialog'
,p_event_sequence=>10
,p_triggering_element_type=>'BUTTON'
,p_triggering_button_id=>wwv_flow_imp.id(3187219861868063450)
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'click'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187220645770063451)
,p_event_id=>wwv_flow_imp.id(3187219974554063450)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_DIALOG_CANCEL'
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187223889331063454)
,p_process_sequence=>10
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Save Theme Style'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'if :P10020_DESKTOP_THEME_STYLE_ID is not null then',
'    for l_theme in (select theme_number',
'                      from apex_application_themes',
'                     where application_id = :app_id',
'                       and ui_type_name   = ''DESKTOP''',
'                       and is_current     = ''Yes'')',
'    loop',
'        apex_util.set_current_theme_style (',
'            p_theme_number   => l_theme.theme_number,',
'            p_theme_style_id => :P10020_DESKTOP_THEME_STYLE_ID',
'            );',
'    end loop;',
'end if;'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_success_message=>'Application Appearance Settings Saved.'
,p_internal_uid=>3187223889331063454
);
wwv_flow_imp_page.create_page_process(
 p_id=>wwv_flow_imp.id(3187224285801063454)
,p_process_sequence=>20
,p_process_point=>'AFTER_SUBMIT'
,p_process_type=>'NATIVE_PLSQL'
,p_process_name=>'Save End User Style Preference'
,p_process_sql_clob=>wwv_flow_string.join(wwv_flow_t_varchar2(
'declare',
'    l_enabled boolean := case when :P10020_END_USER_STYLE = ''Yes'' then true else false end;',
'begin',
'    for l_theme in ( select ui.theme_number',
'                       from apex_application_themes t,',
'                            apex_appl_user_interfaces ui',
'                      where ui.application_id = t.application_id',
'                        and ui.theme_number   = t.theme_number',
'                        and t.application_id  = :APP_ID',
'                        and t.ui_type_name    = ''DESKTOP''',
'                        and t.is_current      = ''Yes'' )',
'    loop',
'        if l_enabled then',
'            apex_theme.enable_user_style (',
'                p_application_id => :APP_ID,',
'                p_theme_number   => l_theme.theme_number );',
'        else',
'            apex_theme.disable_user_style (',
'                p_application_id => :APP_ID,',
'                p_theme_number   => l_theme.theme_number );',
'            apex_theme.clear_all_users_style(:APP_ID);',
'        end if;',
'    end loop;',
'end;'))
,p_process_clob_language=>'PLSQL'
,p_error_display_location=>'INLINE_IN_NOTIFICATION'
,p_process_success_message=>'Application Appearance Settings Saved.'
,p_internal_uid=>3187224285801063454
);
end;
/
prompt --application/pages/page_10030
begin
wwv_flow_imp_page.create_page(
 p_id=>10030
,p_name=>'Activity Dashboard'
,p_alias=>'ACTIVITY-DASHBOARD'
,p_page_mode=>'MODAL'
,p_step_title=>'Activity Dashboard'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(3187204642715063431)
,p_page_template_options=>'#DEFAULT#:ui-dialog--stretch'
,p_required_role=>wwv_flow_imp.id(3187203052990063429)
,p_required_patch=>wwv_flow_imp.id(3187200413860063428)
,p_protection_level=>'C'
,p_page_component_map=>'03'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187224568693063454)
,p_plug_name=>'Hourly Page Events'
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:i-h320:t-Region--scrollBody'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>10
,p_location=>null
,p_plug_source_type=>'NATIVE_JET_CHART'
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_jet_chart(
 p_id=>wwv_flow_imp.id(3187224606543063454)
,p_region_id=>wwv_flow_imp.id(3187224568693063454)
,p_chart_type=>'bar'
,p_animation_on_display=>'auto'
,p_animation_on_data_change=>'auto'
,p_orientation=>'vertical'
,p_data_cursor=>'auto'
,p_data_cursor_behavior=>'auto'
,p_hover_behavior=>'dim'
,p_stack=>'off'
,p_stack_label=>'off'
,p_connect_nulls=>'Y'
,p_value_position=>'auto'
,p_sorting=>'label-asc'
,p_fill_multi_series_gaps=>true
,p_zoom_and_scroll=>'off'
,p_tooltip_rendered=>'Y'
,p_show_series_name=>false
,p_show_group_name=>true
,p_show_value=>true
,p_show_label=>true
,p_show_row=>true
,p_show_start=>true
,p_show_end=>true
,p_show_progress=>true
,p_show_baseline=>true
,p_legend_rendered=>'off'
,p_legend_position=>'auto'
,p_overview_rendered=>'off'
,p_time_axis_type=>'enabled'
,p_horizontal_grid=>'auto'
,p_vertical_grid=>'auto'
,p_gauge_orientation=>'circular'
,p_gauge_plot_area=>'on'
,p_show_gauge_value=>true
);
wwv_flow_imp_page.create_jet_chart_series(
 p_id=>wwv_flow_imp.id(3187226707990063455)
,p_chart_id=>wwv_flow_imp.id(3187224606543063454)
,p_seq=>10
,p_name=>'Series 1'
,p_data_source_type=>'SQL'
,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'with nw as (',
'    -- APEX_ACTIVITY_LOG uses dates; convert system time to local time zone.',
'    select from_tz( cast( sysdate as timestamp ), to_char( systimestamp, ''TZR'' ) ) at local as tm from dual',
'),',
'window as (',
'    select',
'         trunc(nw.tm - ((level-1)/24),''HH'') start_tm,',
'         trunc(nw.tm - ((level-2)/24),''HH'') end_tm,',
'         trunc(sysdate-((level-1)/24),''HH'') log_start_tm,',
'         trunc(sysdate-((level-2)/24),''HH'') log_end_tm',
'    from nw',
'    connect by level <= round( 24 * ( 1/24/60/60 * nvl(:P10030_TIMEFRAME,1) ) )',
')',
'select w.start_tm log_time,',
'       ( select count(*)',
'           from apex_activity_log l',
'          where l.flow_id = :app_id',
'            and l.time_stamp between w.log_start_tm and w.log_end_tm ) as value',
'from window w',
'order by 1'))
,p_max_row_count=>350
,p_ajax_items_to_submit=>'P10030_TIMEFRAME'
,p_items_value_column_name=>'VALUE'
,p_items_label_column_name=>'LOG_TIME'
,p_assigned_to_y2=>'off'
,p_items_label_rendered=>false
,p_items_label_display_as=>'PERCENT'
,p_threshold_display=>'onIndicator'
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187227918293063456)
,p_chart_id=>wwv_flow_imp.id(3187224606543063454)
,p_axis=>'x'
,p_is_rendered=>'on'
,p_format_type=>'datetime-short'
,p_format_scaling=>'auto'
,p_scaling=>'linear'
,p_baseline_scaling=>'zero'
,p_major_tick_rendered=>'on'
,p_minor_tick_rendered=>'on'
,p_tick_label_rendered=>'on'
,p_tick_label_rotation=>'auto'
,p_tick_label_position=>'outside'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187227308749063455)
,p_chart_id=>wwv_flow_imp.id(3187224606543063454)
,p_axis=>'y'
,p_is_rendered=>'on'
,p_format_type=>'decimal'
,p_decimal_places=>0
,p_format_scaling=>'auto'
,p_scaling=>'linear'
,p_baseline_scaling=>'zero'
,p_position=>'auto'
,p_major_tick_rendered=>'auto'
,p_minor_tick_rendered=>'auto'
,p_tick_label_rendered=>'on'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187224798338063454)
,p_plug_name=>'Most Active Pages'
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:i-h320:t-Region--scrollBody'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>30
,p_plug_new_grid_row=>false
,p_location=>null
,p_plug_source_type=>'NATIVE_JET_CHART'
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_jet_chart(
 p_id=>wwv_flow_imp.id(3187224863416063454)
,p_region_id=>wwv_flow_imp.id(3187224798338063454)
,p_chart_type=>'bar'
,p_animation_on_display=>'auto'
,p_animation_on_data_change=>'auto'
,p_orientation=>'horizontal'
,p_data_cursor=>'auto'
,p_data_cursor_behavior=>'auto'
,p_hover_behavior=>'dim'
,p_stack=>'off'
,p_stack_label=>'off'
,p_connect_nulls=>'Y'
,p_value_position=>'auto'
,p_sorting=>'label-asc'
,p_fill_multi_series_gaps=>true
,p_zoom_and_scroll=>'off'
,p_tooltip_rendered=>'Y'
,p_show_series_name=>false
,p_show_group_name=>true
,p_show_value=>true
,p_show_label=>true
,p_show_row=>true
,p_show_start=>true
,p_show_end=>true
,p_show_progress=>true
,p_show_baseline=>true
,p_legend_rendered=>'off'
,p_legend_position=>'auto'
,p_overview_rendered=>'off'
,p_horizontal_grid=>'auto'
,p_vertical_grid=>'auto'
,p_gauge_orientation=>'circular'
,p_gauge_plot_area=>'on'
,p_show_gauge_value=>true
);
wwv_flow_imp_page.create_jet_chart_series(
 p_id=>wwv_flow_imp.id(3187231755323063458)
,p_chart_id=>wwv_flow_imp.id(3187224863416063454)
,p_seq=>10
,p_name=>'Series 1'
,p_data_source_type=>'SQL'
,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select x.step_id||''. ''||(select page_name from apex_application_pages p where p.application_id = :app_id and page_id = x.step_id) label, ',
'        value',
'from ( select step_id,',
'              count(*) as value',
'         from apex_activity_log',
'        where flow_id = :app_id',
'          and time_stamp >= sysdate - ( 1/24/60/60 * :P10030_TIMEFRAME )',
'          and step_id is not null',
'        group by step_id',
'        order by 2 desc',
'     ) x'))
,p_max_row_count=>10
,p_ajax_items_to_submit=>'P10030_TIMEFRAME'
,p_items_value_column_name=>'VALUE'
,p_items_label_column_name=>'LABEL'
,p_assigned_to_y2=>'off'
,p_items_label_rendered=>false
,p_items_label_display_as=>'PERCENT'
,p_threshold_display=>'onIndicator'
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187232369579063459)
,p_chart_id=>wwv_flow_imp.id(3187224863416063454)
,p_axis=>'x'
,p_is_rendered=>'on'
,p_format_scaling=>'auto'
,p_scaling=>'linear'
,p_baseline_scaling=>'zero'
,p_major_tick_rendered=>'auto'
,p_minor_tick_rendered=>'auto'
,p_tick_label_rendered=>'on'
,p_tick_label_rotation=>'auto'
,p_tick_label_position=>'outside'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187232991996063459)
,p_chart_id=>wwv_flow_imp.id(3187224863416063454)
,p_axis=>'y'
,p_is_rendered=>'on'
,p_format_type=>'decimal'
,p_decimal_places=>0
,p_format_scaling=>'auto'
,p_scaling=>'linear'
,p_baseline_scaling=>'zero'
,p_position=>'auto'
,p_major_tick_rendered=>'auto'
,p_minor_tick_rendered=>'auto'
,p_tick_label_rendered=>'on'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187224994774063454)
,p_plug_name=>'Top Users'
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:i-h320:t-Region--scrollBody'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187101599337063381)
,p_plug_display_sequence=>20
,p_location=>null
,p_plug_source_type=>'NATIVE_JET_CHART'
,p_plug_query_num_rows=>15
);
wwv_flow_imp_page.create_jet_chart(
 p_id=>wwv_flow_imp.id(3187225010089063454)
,p_region_id=>wwv_flow_imp.id(3187224994774063454)
,p_chart_type=>'bar'
,p_animation_on_display=>'auto'
,p_animation_on_data_change=>'auto'
,p_orientation=>'horizontal'
,p_data_cursor=>'auto'
,p_data_cursor_behavior=>'auto'
,p_hover_behavior=>'dim'
,p_stack=>'off'
,p_stack_label=>'off'
,p_connect_nulls=>'Y'
,p_value_position=>'auto'
,p_sorting=>'label-asc'
,p_fill_multi_series_gaps=>true
,p_zoom_and_scroll=>'off'
,p_tooltip_rendered=>'Y'
,p_show_series_name=>false
,p_show_group_name=>true
,p_show_value=>true
,p_show_label=>true
,p_show_row=>true
,p_show_start=>true
,p_show_end=>true
,p_show_progress=>true
,p_show_baseline=>true
,p_legend_rendered=>'off'
,p_legend_position=>'auto'
,p_overview_rendered=>'off'
,p_horizontal_grid=>'auto'
,p_vertical_grid=>'auto'
,p_gauge_orientation=>'circular'
,p_gauge_plot_area=>'on'
,p_show_gauge_value=>true
);
wwv_flow_imp_page.create_jet_chart_series(
 p_id=>wwv_flow_imp.id(3187229242706063457)
,p_chart_id=>wwv_flow_imp.id(3187225010089063454)
,p_seq=>10
,p_name=>'Series 1'
,p_data_source_type=>'SQL'
,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select nvl( userid_lc, apex_lang.message(''APEX.FEATURE.TOP_USERS.USERNAME.NOT_IDENTIFIED'') ) as label,',
'       count(*) as value',
'from apex_activity_log',
'where flow_id = :app_id',
'and time_stamp >= sysdate - ( 1/24/60/60 * :P10030_TIMEFRAME )',
'group by nvl( userid_lc, apex_lang.message(''APEX.FEATURE.TOP_USERS.USERNAME.NOT_IDENTIFIED'') )',
'order by 2 desc'))
,p_max_row_count=>10
,p_ajax_items_to_submit=>'P10030_TIMEFRAME'
,p_items_value_column_name=>'VALUE'
,p_items_label_column_name=>'LABEL'
,p_assigned_to_y2=>'off'
,p_items_label_rendered=>false
,p_items_label_display_as=>'PERCENT'
,p_threshold_display=>'onIndicator'
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187229839022063457)
,p_chart_id=>wwv_flow_imp.id(3187225010089063454)
,p_axis=>'x'
,p_is_rendered=>'on'
,p_baseline_scaling=>'zero'
,p_major_tick_rendered=>'auto'
,p_minor_tick_rendered=>'auto'
,p_tick_label_rendered=>'on'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_jet_chart_axis(
 p_id=>wwv_flow_imp.id(3187230490124063457)
,p_chart_id=>wwv_flow_imp.id(3187225010089063454)
,p_axis=>'y'
,p_is_rendered=>'on'
,p_format_type=>'decimal'
,p_decimal_places=>0
,p_format_scaling=>'auto'
,p_scaling=>'linear'
,p_baseline_scaling=>'zero'
,p_position=>'auto'
,p_major_tick_rendered=>'auto'
,p_minor_tick_rendered=>'auto'
,p_tick_label_rendered=>'on'
,p_zoom_order_seconds=>false
,p_zoom_order_minutes=>false
,p_zoom_order_hours=>false
,p_zoom_order_days=>false
,p_zoom_order_weeks=>false
,p_zoom_order_months=>false
,p_zoom_order_quarters=>false
,p_zoom_order_years=>false
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3187225137331063454)
,p_name=>'Recent Errors'
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>40
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:i-h240:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--stretch:t-Report--altRowsDefault:t-Report--rowHighlight:t-Report--inline'
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select sqlerrm    label,',
'       time_stamp value',
'  from apex_activity_log',
' where flow_id    = :app_id',
'   and time_stamp >= sysdate - ( 1/24/60/60 * :P10030_TIMEFRAME )',
'   and sqlerrm    is not null',
' order by 2 desc, 1'))
,p_ajax_enabled=>'Y'
,p_ajax_items_to_submit=>'P10030_TIMEFRAME'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187139143272063396)
,p_query_num_rows=>20
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_no_data_found=>'No data found.'
,p_query_row_count_max=>500
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187234040193063461)
,p_query_column_id=>1
,p_column_alias=>'LABEL'
,p_column_display_sequence=>1
,p_column_heading=>'Label'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187234432346063461)
,p_query_column_id=>2
,p_column_alias=>'VALUE'
,p_column_display_sequence=>2
,p_column_heading=>'Value'
,p_column_format=>'SINCE'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_region(
 p_id=>wwv_flow_imp.id(3187225224115063454)
,p_name=>'Latest Activity'
,p_template=>wwv_flow_imp.id(3187101599337063381)
,p_display_sequence=>50
,p_region_template_options=>'#DEFAULT#:t-Region--noPadding:i-h240:t-Region--scrollBody'
,p_component_template_options=>'#DEFAULT#:t-Report--stretch:t-Report--altRowsDefault:t-Report--rowHighlight:t-Report--inline'
,p_new_grid_row=>false
,p_source_type=>'NATIVE_SQL_REPORT'
,p_query_type=>'SQL'
,p_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select userid_lc       as username,',
'       max(time_stamp) as last_activity',
'  from apex_activity_log',
' where flow_id     = :app_id',
'   and time_stamp >= sysdate - ( 1/24/60/60 * :P10030_TIMEFRAME )',
'   and userid_lc  is not null',
' group by userid_lc',
' order by 2 desc'))
,p_ajax_enabled=>'Y'
,p_ajax_items_to_submit=>'P10030_TIMEFRAME'
,p_lazy_loading=>false
,p_query_row_template=>wwv_flow_imp.id(3187139143272063396)
,p_query_num_rows=>20
,p_query_options=>'DERIVED_REPORT_COLUMNS'
,p_query_no_data_found=>'No activities found'
,p_query_row_count_max=>500
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187239114456063617)
,p_query_column_id=>1
,p_column_alias=>'USERNAME'
,p_column_display_sequence=>1
,p_column_heading=>'Username'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_report_columns(
 p_id=>wwv_flow_imp.id(3187239500522063618)
,p_query_column_id=>2
,p_column_alias=>'LAST_ACTIVITY'
,p_column_display_sequence=>2
,p_column_heading=>'Last Activity'
,p_column_format=>'SINCE'
,p_heading_alignment=>'LEFT'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187225328808063454)
,p_plug_name=>'Filters'
,p_region_template_options=>'#DEFAULT#:t-ButtonRegion--slimPadding:t-ButtonRegion--noUI:t-Form--large'
,p_component_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187242118221063773)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187224568693063454)
,p_button_name=>'VIEW_ACTIVITY_BY_USER'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--noUI'
,p_button_template_id=>wwv_flow_imp.id(3187173485940063411)
,p_button_image_alt=>'View Details'
,p_button_position=>'EDIT'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:10031:&SESSION.::&DEBUG.:RP,10031::'
,p_icon_css_classes=>'fa-angle-right'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187242580862063773)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187224798338063454)
,p_button_name=>'VIEW_ACTIVITY_DETAILS'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--noUI'
,p_button_template_id=>wwv_flow_imp.id(3187173485940063411)
,p_button_image_alt=>'View Details'
,p_button_position=>'EDIT'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:10034:&SESSION.::&DEBUG.:RP,10034::'
,p_icon_css_classes=>'fa-angle-right'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187242966962063773)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187224994774063454)
,p_button_name=>'VIEW_ACTIVITY_BY_USER'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--noUI'
,p_button_template_id=>wwv_flow_imp.id(3187173485940063411)
,p_button_image_alt=>'View Details'
,p_button_position=>'EDIT'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:10031:&SESSION.::&DEBUG.:RP,10031::'
,p_icon_css_classes=>'fa-angle-right'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187243389944063774)
,p_button_sequence=>10
,p_button_plug_id=>wwv_flow_imp.id(3187225137331063454)
,p_button_name=>'VIEW_RECENT_ERRORS'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'#DEFAULT#:t-Button--noUI'
,p_button_template_id=>wwv_flow_imp.id(3187173485940063411)
,p_button_image_alt=>'View Details'
,p_button_position=>'EDIT'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:10032:&SESSION.::&DEBUG.:RP,10032::'
,p_icon_css_classes=>'fa-angle-right'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187225426805063454)
,p_name=>'P10030_TIMEFRAME'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(3187225328808063454)
,p_prompt=>'Timeframe'
,p_source=>'900'
,p_source_type=>'STATIC'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'TIMEFRAME (4 WEEKS)'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select disp,',
'       val as seconds',
'  from table( apex_util.get_timeframe_lov_data )',
' order by insert_order'))
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171670589063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'NO'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'execute_validations', 'Y',
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3187225525174063454)
,p_name=>'Change Filters'
,p_event_sequence=>10
,p_triggering_element_type=>'ITEM'
,p_triggering_element=>'P10030_TIMEFRAME'
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'change'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187244924178063775)
,p_event_id=>wwv_flow_imp.id(3187225525174063454)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187224568693063454)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187245433994063775)
,p_event_id=>wwv_flow_imp.id(3187225525174063454)
,p_event_result=>'TRUE'
,p_action_sequence=>20
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187224994774063454)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187245917782063776)
,p_event_id=>wwv_flow_imp.id(3187225525174063454)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187224798338063454)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187246473131063776)
,p_event_id=>wwv_flow_imp.id(3187225525174063454)
,p_event_result=>'TRUE'
,p_action_sequence=>40
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187225137331063454)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187246905550063776)
,p_event_id=>wwv_flow_imp.id(3187225525174063454)
,p_event_result=>'TRUE'
,p_action_sequence=>50
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187225224115063454)
,p_attribute_01=>'N'
);
end;
/
prompt --application/pages/page_10031
begin
wwv_flow_imp_page.create_page(
 p_id=>10031
,p_name=>'Top Users'
,p_alias=>'TOP-USERS'
,p_page_mode=>'MODAL'
,p_step_title=>'Top Users'
,p_warn_on_unsaved_changes=>'N'
,p_autocomplete_on_off=>'OFF'
,p_group_id=>wwv_flow_imp.id(3187204642715063431)
,p_inline_css=>wwv_flow_string.join(wwv_flow_t_varchar2(
'.hour-graph { display: table; width: 100%; }',
'span.hour { display: table-cell; padding: 0; font-size: 11px; text-align: center; min-width: 32px; }',
'span.hour-label { opacity: 0.5; }',
'span.hour-value { display: block; }',
'span.hour { background-color: var(--ut-palette-success); color:  var(--ut-palette-success-contrast); }',
'span.hour.is-null { background-color: var(--ut-component-highlight-background-color); color: var(--ut-component-text-default-color); }',
'span.hour.is-over1k { background-color: var(--ut-palette-primary); color:  var(--ut-palette-primary-contrast); }'))
,p_page_template_options=>'#DEFAULT#:ui-dialog--stretch:t-Dialog--noPadding'
,p_required_role=>wwv_flow_imp.id(3187203052990063429)
,p_required_patch=>wwv_flow_imp.id(3187200413860063428)
,p_protection_level=>'C'
,p_help_text=>wwv_flow_string.join(wwv_flow_t_varchar2(
'<p>Use this report and chart to see the users with the most page views for the specified timeframe.</p>',
'<p>Select the reporting timeframe (Default = 1 day) and choose between the report and chart icons at the top of the page.</p>',
'<p>For the interactive report, use the search field, or select the <strong>User</strong> column heading, to select a specific user. You can perform numerous functions by clicking the <strong>Actions</strong> button, such as columns displayed / hidden'
||', rows per page, filter, and so forth. Click the <strong>Reset</strong> button to reset the interactive report back to the default settings.</p>'))
,p_page_component_map=>'18'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187270545356063957)
,p_plug_name=>'Top Users'
,p_region_template_options=>'#DEFAULT#:t-IRR-region--noBorders'
,p_plug_template=>wwv_flow_imp.id(3187097299988063379)
,p_plug_display_sequence=>10
,p_query_type=>'SQL'
,p_plug_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select the_user,',
'    ''<div class="hour-graph">''||',
'        ''<span class="hour''|| case when h00 = 0 then '' is-null'' when h00 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 0</span> <span class="hour-value">''|| ',
'        case when h00 > 999 then to_char((h00/1000),''99999999D0'') ||''k'' else to_char(h00) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h01 = 0 then '' is-null'' when h01 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 1</span> <span class="hour-value">''|| ',
'        case when h01 > 999 then to_char((h01/1000),''99999999D0'') ||''k'' else to_char(h01) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h02 = 0 then '' is-null'' when h02 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 2</span> <span class="hour-value">''|| ',
'        case when h02 > 999 then to_char((h02/1000),''99999999D0'') ||''k'' else to_char(h02) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h03 = 0 then '' is-null'' when h03 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 3</span> <span class="hour-value">''|| ',
'        case when h03 > 999 then to_char((h03/1000),''99999999D0'') ||''k'' else to_char(h03) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h04 = 0 then '' is-null'' when h04 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 4</span> <span class="hour-value">''|| ',
'        case when h04 > 999 then to_char((h04/1000),''99999999D0'') ||''k'' else to_char(h04) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h05 = 0 then '' is-null'' when h05 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 5</span> <span class="hour-value">''|| ',
'        case when h05 > 999 then to_char((h05/1000),''99999999D0'') ||''k'' else to_char(h05) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h06 = 0 then '' is-null'' when h06 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 6</span> <span class="hour-value">''|| ',
'        case when h06 > 999 then to_char((h06/1000),''99999999D0'') ||''k'' else to_char(h06) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h07 = 0 then '' is-null'' when h07 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 7</span> <span class="hour-value">''|| ',
'        case when h07 > 999 then to_char((h07/1000),''99999999D0'') ||''k'' else to_char(h07) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h08 = 0 then '' is-null'' when h08 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 8</span> <span class="hour-value">''|| ',
'        case when h08 > 999 then to_char((h08/1000),''99999999D0'') ||''k'' else to_char(h08) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h09 = 0 then '' is-null'' when h09 > 999 then '' is-over1k'' end ||''"><span class="hour-label"> 9</span> <span class="hour-value">''|| ',
'        case when h09 > 999 then to_char((h09/1000),''99999999D0'') ||''k'' else to_char(h09) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h10 = 0 then '' is-null'' when h10 > 999 then '' is-over1k'' end ||''"><span class="hour-label">10</span> <span class="hour-value">''|| ',
'        case when h10 > 999 then to_char((h10/1000),''99999999D0'') ||''k'' else to_char(h10) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h11 = 0 then '' is-null'' when h11 > 999 then '' is-over1k'' end ||''"><span class="hour-label">11</span> <span class="hour-value">''|| ',
'        case when h11 > 999 then to_char((h11/1000),''99999999D0'') ||''k'' else to_char(h11) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h12 = 0 then '' is-null'' when h12 > 999 then '' is-over1k'' end ||''"><span class="hour-label">12</span> <span class="hour-value">''|| ',
'        case when h12 > 999 then to_char((h12/1000),''99999999D0'') ||''k'' else to_char(h12) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h13 = 0 then '' is-null'' when h13 > 999 then '' is-over1k'' end ||''"><span class="hour-label">13</span> <span class="hour-value">''|| ',
'        case when h13 > 999 then to_char((h13/1000),''99999999D0'') ||''k'' else to_char(h13) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h14 = 0 then '' is-null'' when h14 > 999 then '' is-over1k'' end ||''"><span class="hour-label">14</span> <span class="hour-value">''|| ',
'        case when h14 > 999 then to_char((h14/1000),''99999999D0'') ||''k'' else to_char(h14) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h15 = 0 then '' is-null'' when h15 > 999 then '' is-over1k'' end ||''"><span class="hour-label">15</span> <span class="hour-value">''|| ',
'        case when h15 > 999 then to_char((h15/1000),''99999999D0'') ||''k'' else to_char(h15) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h16 = 0 then '' is-null'' when h16 > 999 then '' is-over1k'' end ||''"><span class="hour-label">16</span> <span class="hour-value">''|| ',
'        case when h16 > 999 then to_char((h16/1000),''99999999D0'') ||''k'' else to_char(h16) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h17 = 0 then '' is-null'' when h17 > 999 then '' is-over1k'' end ||''"><span class="hour-label">17</span> <span class="hour-value">''|| ',
'        case when h17 > 999 then to_char((h17/1000),''99999999D0'') ||''k'' else to_char(h17) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h18 = 0 then '' is-null'' when h18 > 999 then '' is-over1k'' end ||''"><span class="hour-label">18</span> <span class="hour-value">''|| ',
'        case when h18 > 999 then to_char((h18/1000),''99999999D0'') ||''k'' else to_char(h18) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h19 = 0 then '' is-null'' when h19 > 999 then '' is-over1k'' end ||''"><span class="hour-label">19</span> <span class="hour-value">''|| ',
'        case when h19 > 999 then to_char((h19/1000),''99999999D0'') ||''k'' else to_char(h19) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h20 = 0 then '' is-null'' when h20 > 999 then '' is-over1k'' end ||''"><span class="hour-label">20</span> <span class="hour-value">''|| ',
'        case when h20 > 999 then to_char((h20/1000),''99999999D0'') ||''k'' else to_char(h20) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h21 = 0 then '' is-null'' when h21 > 999 then '' is-over1k'' end ||''"><span class="hour-label">21</span> <span class="hour-value">''|| ',
'        case when h21 > 999 then to_char((h21/1000),''99999999D0'') ||''k'' else to_char(h21) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h22 = 0 then '' is-null'' when h22 > 999 then '' is-over1k'' end ||''"><span class="hour-label">22</span> <span class="hour-value">''|| ',
'        case when h22 > 999 then to_char((h22/1000),''99999999D0'') ||''k'' else to_char(h22) end ||''</span></span>''||',
'        ''<span class="hour''|| case when h23 = 0 then '' is-null'' when h23 > 999 then '' is-over1k'' end ||''"><span class="hour-label">23</span> <span class="hour-value">''|| ',
'        case when h23 > 999 then to_char((h23/1000),''99999999D0'') ||''k'' else to_char(h23) end ||''</span></span>''||',
'        ''</div>'' hours,',
'        page_events,',
'    median_elapsed,',
'    rows_fetched,',
'    ir_searches,',
'    errors,',
'    most_recent',
'    from (  ',
'    select userid_lc                    as the_user,',
'        count(*)                        as page_events,',
'        median(elap)                    as median_elapsed,',
'        sum(num_rows)                   as rows_fetched,',
'        sum(decode(ir_search,null,0,1)) as ir_searches,',
'        sum(decode(sqlerrm,null,0,1))   as errors,',
'        max(time_stamp)                 as most_recent,',
'        sum(decode(to_char(time_stamp,''HH24''),0,1,0)) h00,',
'        sum(decode(to_char(time_stamp,''HH24''),1,1,0)) h01,',
'        sum(decode(to_char(time_stamp,''HH24''),2,1,0)) h02,',
'        sum(decode(to_char(time_stamp,''HH24''),3,1,0)) h03,',
'        sum(decode(to_char(time_stamp,''HH24''),4,1,0)) h04,',
'        sum(decode(to_char(time_stamp,''HH24''),5,1,0)) h05,',
'        sum(decode(to_char(time_stamp,''HH24''),6,1,0)) h06,',
'        sum(decode(to_char(time_stamp,''HH24''),7,1,0)) h07,',
'        sum(decode(to_char(time_stamp,''HH24''),8,1,0)) h08,',
'        sum(decode(to_char(time_stamp,''HH24''),9,1,0)) h09,',
'        sum(decode(to_char(time_stamp,''HH24''),10,1,0)) h10,',
'        sum(decode(to_char(time_stamp,''HH24''),11,1,0)) h11,',
'        sum(decode(to_char(time_stamp,''HH24''),12,1,0)) h12,',
'        sum(decode(to_char(time_stamp,''HH24''),13,1,0)) h13,',
'        sum(decode(to_char(time_stamp,''HH24''),14,1,0)) h14,',
'        sum(decode(to_char(time_stamp,''HH24''),15,1,0)) h15,',
'        sum(decode(to_char(time_stamp,''HH24''),16,1,0)) h16,',
'        sum(decode(to_char(time_stamp,''HH24''),17,1,0)) h17,',
'        sum(decode(to_char(time_stamp,''HH24''),18,1,0)) h18,',
'        sum(decode(to_char(time_stamp,''HH24''),19,1,0)) h19,',
'        sum(decode(to_char(time_stamp,''HH24''),20,1,0)) h20,',
'        sum(decode(to_char(time_stamp,''HH24''),21,1,0)) h21,',
'        sum(decode(to_char(time_stamp,''HH24''),22,1,0)) h22,',
'        sum(decode(to_char(time_stamp,''HH24''),23,1,0)) h23',
'    from apex_activity_log l',
'    where flow_id = :APP_ID',
'        and time_stamp >= sysdate - ( 1/24/60/60 * :P10031_TIMEFRAME )',
'        and userid is not null',
'    group by userid_lc) x'))
,p_plug_source_type=>'NATIVE_IR'
,p_ajax_items_to_submit=>'P10031_TIMEFRAME'
,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2'
,p_plug_display_when_condition=>'P10031_VIEW_AS'
,p_plug_display_when_cond2=>'REPORT'
,p_prn_page_header=>'Top Users'
);
wwv_flow_imp_page.create_worksheet(
 p_id=>wwv_flow_imp.id(3187271923325063958)
,p_name=>'Top Users'
,p_max_row_count=>'1000000'
,p_max_row_count_message=>'The maximum row count for this report is #MAX_ROW_COUNT# rows.  Please apply a filter to reduce the number of records in your query.'
,p_no_data_found_message=>'No data found.'
,p_pagination_type=>'ROWS_X_TO_Y'
,p_pagination_display_pos=>'BOTTOM_RIGHT'
,p_report_list_mode=>'TABS'
,p_lazy_loading=>false
,p_show_detail_link=>'N'
,p_download_formats=>'CSV:HTML:XLSX:PDF'
,p_enable_mail_download=>'Y'
,p_detail_link_text=>'<span aria-label="Edit"><span class="fa fa-edit" aria-hidden="true" title="Edit"></span></span>'
,p_owner=>'OGOBRECHT'
,p_internal_uid=>3187271923325063958
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187272051713063958)
,p_db_column_name=>'THE_USER'
,p_display_order=>10
,p_column_identifier=>'A'
,p_column_label=>'User'
,p_column_type=>'STRING'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187272448947063959)
,p_db_column_name=>'HOURS'
,p_display_order=>20
,p_column_identifier=>'B'
,p_column_label=>'Activity by Hour'
,p_column_type=>'STRING'
,p_display_text_as=>'WITHOUT_MODIFICATION'
,p_heading_alignment=>'LEFT'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187272807941063960)
,p_db_column_name=>'PAGE_EVENTS'
,p_display_order=>30
,p_column_identifier=>'C'
,p_column_label=>'Page Events'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_format_mask=>'999G999G999G999G999G990'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187273275659063962)
,p_db_column_name=>'MEDIAN_ELAPSED'
,p_display_order=>40
,p_column_identifier=>'D'
,p_column_label=>'Median Elapsed'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_format_mask=>'999G999G999G999G999G990D0000'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187273677360063963)
,p_db_column_name=>'ROWS_FETCHED'
,p_display_order=>50
,p_column_identifier=>'E'
,p_column_label=>'Rows Fetched'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_format_mask=>'999G999G999G999G999G990'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187274092279063964)
,p_db_column_name=>'IR_SEARCHES'
,p_display_order=>60
,p_column_identifier=>'F'
,p_column_label=>'IR Search'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_format_mask=>'999G999G999G999G999G999G990'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187274489648063965)
,p_db_column_name=>'ERRORS'
,p_display_order=>70
,p_column_identifier=>'G'
,p_column_label=>'Errors'
,p_column_type=>'NUMBER'
,p_heading_alignment=>'RIGHT'
,p_column_alignment=>'RIGHT'
,p_format_mask=>'999G999G999G999G999G999G990'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_column(
 p_id=>wwv_flow_imp.id(3187274850550063966)
,p_db_column_name=>'MOST_RECENT'
,p_display_order=>80
,p_column_identifier=>'H'
,p_column_label=>'Most_Recent'
,p_column_type=>'DATE'
,p_heading_alignment=>'LEFT'
,p_format_mask=>'SINCE'
,p_tz_dependent=>'N'
,p_use_as_row_header=>'N'
);
wwv_flow_imp_page.create_worksheet_rpt(
 p_id=>wwv_flow_imp.id(3187275576816063968)
,p_application_user=>'APXWS_DEFAULT'
,p_report_seq=>10
,p_report_alias=>'31872756'
,p_status=>'PUBLIC'
,p_is_default=>'Y'
,p_report_columns=>'THE_USER:HOURS:PAGE_EVENTS'
,p_sort_column_1=>'PAGE_EVENTS'
,p_sort_direction_1=>'DESC'
,p_sort_column_2=>'MOST_RECENT'
,p_sort_direction_2=>'DESC'
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187270607229063957)
,p_plug_name=>'Buttons'
,p_region_template_options=>'#DEFAULT#:t-ButtonRegion--slimPadding:t-ButtonRegion--noUI:t-Form--large'
,p_component_template_options=>'#DEFAULT#'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187049829875063360)
,p_plug_display_sequence=>10
,p_plug_display_point=>'REGION_POSITION_01'
,p_query_type=>'SQL'
,p_plug_query_num_rows=>15
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'expand_shortcuts', 'N',
  'output_as', 'HTML',
  'show_line_breaks', 'Y')).to_clob
);
wwv_flow_imp_page.create_page_plug(
 p_id=>wwv_flow_imp.id(3187270879464063957)
,p_plug_name=>'Top Users Chart'
,p_region_template_options=>'#DEFAULT#:t-Region--hideHeader:t-Region--hiddenOverflow'
,p_escape_on_http_output=>'Y'
,p_plug_template=>wwv_flow_imp.id(3187047050139063359)
,p_plug_display_sequence=>30
,p_location=>null
,p_plug_source_type=>'NATIVE_JET_CHART'
,p_plug_query_num_rows=>15
,p_plug_display_condition_type=>'VAL_OF_ITEM_IN_COND_EQ_COND2'
,p_plug_display_when_condition=>'P10031_VIEW_AS'
,p_plug_display_when_cond2=>'CHART'
);
wwv_flow_imp_page.create_jet_chart(
 p_id=>wwv_flow_imp.id(3187270956224063957)
,p_region_id=>wwv_flow_imp.id(3187270879464063957)
,p_chart_type=>'donut'
,p_height=>'600'
,p_animation_on_display=>'none'
,p_animation_on_data_change=>'auto'
,p_data_cursor=>'auto'
,p_data_cursor_behavior=>'auto'
,p_hover_behavior=>'dim'
,p_stack=>'off'
,p_stack_label=>'off'
,p_connect_nulls=>'Y'
,p_value_position=>'auto'
,p_value_format_type=>'decimal'
,p_value_decimal_places=>0
,p_value_format_scaling=>'auto'
,p_sorting=>'label-asc'
,p_fill_multi_series_gaps=>true
,p_tooltip_rendered=>'Y'
,p_show_series_name=>true
,p_show_group_name=>true
,p_show_value=>true
,p_show_label=>true
,p_show_row=>true
,p_show_start=>true
,p_show_end=>true
,p_show_progress=>true
,p_show_baseline=>true
,p_legend_rendered=>'off'
,p_legend_position=>'auto'
,p_overview_rendered=>'off'
,p_pie_other_threshold=>.02
,p_pie_selection_effect=>'highlight'
,p_horizontal_grid=>'auto'
,p_vertical_grid=>'auto'
,p_gauge_orientation=>'circular'
,p_gauge_plot_area=>'on'
,p_show_gauge_value=>true
,p_javascript_code=>wwv_flow_string.join(wwv_flow_t_varchar2(
'function( options ){ ',
'',
'    this.pieSliceLabel = function(dataContext) {',
'        var series_name,',
'            percent = Math.round(dataContext.value/dataContext.totalValue*100);',
'        ',
'        if ( dataContext.seriesData ) {',
'            series_name = dataContext.seriesData.name;',
'        } else {',
'            series_name = ''Other'';',
'        }',
'        return series_name + " " + percent + "% ( " + dataContext.value + " )";',
'    }',
'    ',
'    // Set chart initialization options ',
'    options.dataLabel = pieSliceLabel; ',
'    return options; ',
'}'))
);
wwv_flow_imp_page.create_jet_chart_series(
 p_id=>wwv_flow_imp.id(3187279100844063972)
,p_chart_id=>wwv_flow_imp.id(3187270956224063957)
,p_seq=>10
,p_name=>'Series 1'
,p_data_source_type=>'SQL'
,p_data_source=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select userid_lc as userid,',
'       count(*) as page_views',
'  from apex_activity_log',
' where flow_id     = :app_id',
'   and time_stamp >= sysdate - ( 1/24/60/60 * :P10031_TIMEFRAME )',
'   and userid     is not null',
' group by userid_lc',
' order by 2'))
,p_ajax_items_to_submit=>'P10031_TIMEFRAME'
,p_items_value_column_name=>'PAGE_VIEWS'
,p_items_label_column_name=>'USERID'
,p_items_label_rendered=>true
,p_items_label_position=>'outsideSlice'
,p_items_label_display_as=>'LABEL'
,p_threshold_display=>'onIndicator'
);
wwv_flow_imp_page.create_page_button(
 p_id=>wwv_flow_imp.id(3187276415052063969)
,p_button_sequence=>20
,p_button_plug_id=>wwv_flow_imp.id(3187270545356063957)
,p_button_name=>'RESET_REPORT'
,p_button_action=>'REDIRECT_PAGE'
,p_button_template_options=>'t-Button--iconLeft'
,p_button_template_id=>wwv_flow_imp.id(3187174230973063412)
,p_button_image_alt=>'Reset'
,p_button_position=>'RIGHT_OF_IR_SEARCH_BAR'
,p_button_alignment=>'RIGHT'
,p_button_redirect_url=>'f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION.::&DEBUG.:&APP_PAGE_ID.,RR::'
,p_icon_css_classes=>'fa-undo-alt'
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187271087215063957)
,p_name=>'P10031_VIEW_AS'
,p_item_sequence=>20
,p_item_plug_id=>wwv_flow_imp.id(3187270607229063957)
,p_prompt=>'View As'
,p_source=>'REPORT'
,p_source_type=>'STATIC'
,p_display_as=>'NATIVE_RADIOGROUP'
,p_named_lov=>'VIEW_AS_REPORT_CHART'
,p_lov=>'.'||wwv_flow_imp.id(3187279649375063972)||'.'
,p_field_template=>wwv_flow_imp.id(3187171396476063410)
,p_item_template_options=>'#DEFAULT#:t-Form-fieldContainer--radioButtonGroup'
,p_lov_display_extra=>'NO'
,p_escape_on_http_output=>'N'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'execute_validations', 'Y',
  'hide_radio_buttons', 'N',
  'number_of_columns', '2',
  'page_action_on_selection', 'SUBMIT')).to_clob
);
wwv_flow_imp_page.create_page_item(
 p_id=>wwv_flow_imp.id(3187271229459063957)
,p_name=>'P10031_TIMEFRAME'
,p_item_sequence=>10
,p_item_plug_id=>wwv_flow_imp.id(3187270607229063957)
,p_prompt=>'Timeframe'
,p_source=>'900'
,p_source_type=>'STATIC'
,p_display_as=>'NATIVE_SELECT_LIST'
,p_named_lov=>'TIMEFRAME (4 WEEKS)'
,p_lov=>wwv_flow_string.join(wwv_flow_t_varchar2(
'select disp,',
'       val as seconds',
'  from table( apex_util.get_timeframe_lov_data )',
' order by insert_order'))
,p_cHeight=>1
,p_field_template=>wwv_flow_imp.id(3187171421134063410)
,p_item_template_options=>'#DEFAULT#'
,p_lov_display_extra=>'NO'
,p_attributes=>wwv_flow_t_plugin_attributes(wwv_flow_t_varchar2(
  'execute_validations', 'Y',
  'page_action_on_selection', 'NONE')).to_clob
);
wwv_flow_imp_page.create_page_da_event(
 p_id=>wwv_flow_imp.id(3187270761501063957)
,p_name=>'Refresh Report'
,p_event_sequence=>10
,p_triggering_element_type=>'ITEM'
,p_triggering_element=>'P10031_TIMEFRAME'
,p_bind_type=>'bind'
,p_execution_type=>'IMMEDIATE'
,p_bind_event_type=>'change'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187277724596063971)
,p_event_id=>wwv_flow_imp.id(3187270761501063957)
,p_event_result=>'TRUE'
,p_action_sequence=>10
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187270545356063957)
,p_attribute_01=>'N'
);
wwv_flow_imp_page.create_page_da_action(
 p_id=>wwv_flow_imp.id(3187281103588063973)
,p_event_id=>wwv_flow_imp.id(3187270761501063957)
,p_event_result=>'TRUE'
,p_action_sequence=>30
,p_execute_on_page_init=>'N'
,p_action=>'NATIVE_REFRESH'
,p_affected_elements_type=>'REGION'
,p_affected_region_id=>wwv_flow_imp.id(3187270545356063957)
,p_attribute_01=>'N'
);
end;
/
prompt --application/pages/page_10032
