LuaS  xV(w@i@C:\REAPERDEV\Scripts\LKC-ReaScripts-DEV\RenderBlocks\GrimSync\_source\lkc_grimsync_shared_functions.lua @ @K@J@AJAJ@BJAJJAJJAJJAJJ@AJJ@BJJAJJAJJAJJAJǎJJ@HJ@BJ@‘JAJJAJJ@JJ@AJ@J@A @@K @@@K ˃@@K ˄@K @@L @L @L B@L ™@L B@L Ú@L @C@L Û@L C@L Ĝ@L @D@L ĝ@L D@L Ş@L @E@L ş@L E@L Ơ@L @F@L ơ@L F@L Ǣ@L @G@L ǣ@L H@L Ȥ@L H@L ɥ@L @I@L ɦ@L I@L ʧ@L J@L ʨ@L K@l @@l@ @@l @@l @@l @Vl@ @Vl @Vl @Wl @@l@ @&_WSHAREDINI_SECTION_NAMELKC_GRIM_SYNC DEF_SETTINGSorig_fixed_pathorig_path_typeorig_work_unitorig_v_folderorig_actor_mixerorig_random_sequence orig_switch orig_blendorig_music_switchorig_music_playlistorig_music_segmentevent_fixed_pathevent_path_typeevent_work_unitevent_v_folderevent_actor_mixerevent_random_sequence event_switch event_blendevent_music_switchevent_music_playlistevent_music_segment event_prefixPlaypath_only_affects_eventsimport_languageSFXadd_to_source_controlimport_operationdefault_hierarchyadvanced_options link_blocksdyn_subpath_in_event_namestop_event_prefixStopwaapi_connection_linkplay_event_suffixstop_event_suffixDEFAULT_CONTAINER_PATHS*\Actor-Mixer Hierarchy\Default Work Unit\0\Interactive Music Hierarchy\Default Work Unit\SETTINGS_KEYS      !"#GetAbsoluteRenderPath&GenerateOriginalsAndEventsConfig_JSON SaveJSON ParseCSVLinetprintWSHARED PrettyJSON GetSettingSaveAllSettingsWSHAREDGetAllSettingsRevertProjectSettingsToGlobal Y~@@@A$@AA@@BA@BA@ǀA䀀@A@AA$@CA@CCC$B@BA$B@BA$B@B@ABB$B@B@A$€@C@B@B@B@B@B@B@C@BBADA&reaperGetSetProjectInfo_String RENDER_FILEstringmatch(%a): starts_with/GetSetProjectInfoRENDER_SETTINGSRENDER_BOUNDSFLAGRENDER_PATTERNGetSet_LoopTimeRange"LKC_part_of_filename_to_parse_outRENDER_TARGETSgsub$LKC_part_of_filename_to_parse_out.*~[[[[[[[\\\\\\\\\\\\\^^^^dddddddfffffffhhhhhhhjjjjjjjjnnnnnnnnppppppprrrrrrrtttttutxxxxxxx}}}}}}}} retval~render_location~ render_type}render_bounds&}ret-}render_pattern-} sel_start5}sel_end5}retY}render_targetsY}_ENV IF@G@d@@AA@BB@CC@DD@E FEdEF iAF@GAƁ@dAKAJAJAJAŽJBJAÏJCJAĐJDJAőƁEEFjB@AF@ A&%WSHAREDGetAllSettingsJSON_FILES_PATH/bin/orig_work_unit WorkUnitorig_v_folderFolderorig_random_sequenceRandomSequenceContainer orig_switchSwitchContainer orig_blendBlendContainerorig_music_switchMusicSwitchContainerorig_music_segment MusicSegmentorig_music_playlistMusicPlaylistContainerorig_actor_mixer ActorMixerpairs SaveJSONgrim_originals_configevent_work_unitevent_v_folderevent_random_sequence event_switch event_blendevent_music_switchevent_music_segmentevent_music_playlistevent_actor_mixergrim_events_configI script_pathI CUR_SETTINGSI READ_FROMItable_to_create_origs_jsonIORIG_CFG_TABLEI(for generator) (for state) (for control) kv new_valuetable_to_create_events_json0IEVENTS_CFG_TABLE1I(for generator)4? (for state)4?(for control)4?k5=v5= new_value6=_ENV @@@@@]A$"ADAAAA&jsonencodeioopen.jsonw+writecloseobjpathnamefinal_json_data json_fileerr_ENV ]b@A@@@@$_A@@A A@A@F@G@d]A@@@$@AAB]A_@ABABAB_@_AAAF@GdbBAF@GdA@BAF@GdA@& ,stringsub"find^%b""tableinsertassert] line]sep]res]pos]c Ztxt;startp-endp-startpBZendpBZ_ENV *b@A@@@B@䁀A@$AAB@ƁB@ABMBAƁB@FAdBA*A&pairs formattingstringrep  tostring: typetableMsgWSHAREDtprint*tbl*indent*(for generator)) (for state))(for control))k'v'_ENV(Gl@AhF@Gd@"@ @À@d@@AC΀@$@@@d@g& stringsub"match[%{%[] [%}%]],  A@@A&   count tabb ret (for index) (for limit) (for step) i G    """'( raw_jsonGIndentG pretty_jsonGindentGoutside_quotesG (for index)E (for limit)E (for step)EiDcharD_ENV+E (@@@C@AA@A_ACCb& reaperGetProjExtStateproject HasExtState GetExtStatedefault(,,,,,,-..000022222223333344666689;??CCCEdefault_settings(section(key(retval(val(ret_nil(val _ENVHp?lAABǂ@C@@A@@@@AA@BAABǁABBAA@BǁBAAƁDA& grim_settingsreaperMarkProjectDirtyShowMessageBox+Settings written. Please save the project.Settings StoredMain_OnCommandZSettings are set as global.WSHARED&GenerateOriginalsAndEventsConfig_JSONIO @A@A$A@@@$A&reaperSetProjExtState SetExtStateJJKKKKKKKKMMMMMMMOsectionkeyvalue to_project_ENV?ORSSSSTUWWWXXXYYY[[\\^^^^Saaaaaabbccccddddddeefffffhkkkkkknnnnp settings?keys?section? to_project? script_path? SaveSetting? all_settings? (for index) (for limit) (for step)ikeyval_ENVs 9@@@F@G@@$"@ @@AF@G\(@BGbFBB@@dFBd@G@F@GG@'A@&@@& WSHARED GetSetting DEF_SETTINGSINI_SECTION_NAMEgrim_settings ParseCSVLine SETTINGS_KEYStypenumber tonumber9ttttuuutwwxxxxxyzzzzzz{{{}}}z all_settings9 read_from9 all_parsed3ret3 (for index)0 (for limit)0 (for step)0i/key/_ENVF@G@dF@G@Ad@FBGd@& reaperShowMessageBoxOAre you sure? All project settings will be lost. You cannot undo this change!WARNINGSetProjExtState cur_settings read_fromWSHAREDGetAllSettingssection_ENV  !"#$%&'()*+,...///000222333444555666777888999:::;;;<<<===???@@@AAABBBCCCDDDEEEFFFGGGHHHIIIKKKLLLMMMNNNOOOPPPQQQRRRSSSTTTUUUVVVWWWYY(+E+HpHss_ENV