Reply to the following review comments one by one:Comment 1: When referencing, please use the authors' last name instead of first name (e.g., Mahshid et al. (2019) should be changed to Ghanbari et al. (2019)).
Comment 2: The referencing style used, for example, at lines 45-46 and 59-60 (i.e., "(Linkov^a et al. 2018; Linkov^b et al. 2018; Linkov^c et al. 2018)" and "(Afrin and Yodo 2019; Zhang^a et al. 2018; Zhang^b et al. 2018; Almoghathawi et al. 2019)") is not in line with the guidelines of the journal.
Comment 3: Instead of referring to the fifth assessment report of the Intergovernmental Panel on Climate Change, i.e., IPCC (2013), the authors should refer to the most recent (the sixth) assessment report published in 2021.
Comment 4: Line 332: (Karagiannis and Soldatos 2018) should be changed to (Karagiannis and Soldatos 2008).
Comment 5: Line 480: remove "[61]".
Comment 6: Abbreviations should be written in full form the first time they are used. For instance, at t line 9, MH should be written in full form. The same applies to CWSIS (line 20), AM (line 62), etc.
Comment 7: The language of the manuscript needs extensive revision. For instance, at line 19 the full stop should be after the reference, not before it. What is meant by "pollute well" at line 21? At line 42, "individuals" should be revised to, e.g., "researchers". At line 45, the word "prevention" should be replaced by "treatment" as risks cannot be fully prevented. At line 55, "and" should be added to the sentence: "Recovery time (Rose 2007; Pant et al. 2014), and the ratio of the value recovered…". The description of how resilience is evaluated (line 103-104) should be revised. What is meant by the following sentence at line 116: "The WTP is mainly its desalination capacity."? At lines 282 and 378, please revise "isn't" to "is not". The following sentences, at lines 202-203, does not make since to the reviewer: "Improving resilience is not the only purpose of resilience optimization, but it may increase CWSIS's capacity to withstand natural calamities". Is not increasing "CWSIS's capacity to withstand natural calamities" part of improving resilience? At line 87, "AMs of SWI on CWSIS" should be revised to "AMs of CWSIS's to SWI". At line 550, revise "Tab 3" to "Table 3". Many other language errors exist across the manuscript.
Comment 8: Several sentences lack proper referencing. For instance, at line 17-18, the authors state that sea-level rise increases heavy precipitation! How is this possible? The provided reference (i.e., Mahshid et al., 2019) does not support this claim. Similarly, references are needed to support the following statements: 1) line 20-21: "SLR affects CWSIS in many ways, including … to pollute well.", 2) line 36-37: "Therefore, SWI will lead to … which in turn causes wells to be contaminated or desalted.", and 3) line 291-292: "The effect of aquifer recharge satisfies the law of diminishing marginal effect.". Many other sentences have similar problems.
Comment 9: When describing figures, the authors should not refer to colors in text as they chose not to pay for including color figures in print. Hence, the paragraphs from line 186-193 and line 201-215 should be revised. Additionally, at line 174 the authors refer to a "black-shaded region in Fig. 1" that is not visible in the figure.