Packing List for Trip to 1 in October

in October","categories": [{"n": "Clothing","i": ["5 Lightweight long-sleeve shirts for layering.","3 Pairs of comfortable pants suitable for varying weather.","1 Waterproof jacket for unexpected rain.","1 Warm sweater or fleece for chilly evenings.","5 Pairs of socks to keep your feet comfortable.","1 Pair of sturdy walking shoes for exploring.","1 Pair of sandals for casual outings or relaxing.","1 Warm hat and gloves in case it gets cold."]},{"n": "Toiletries","i": ["Travel-sized shampoo and conditioner for personal hygiene.","Body wash or bar soap for daily cleansing.","Toothbrush and toothpaste for oral care.","Deodorant to keep fresh during your travels.","Makeup kit including essentials for personal grooming.","Razor and shaving cream for personal grooming.","Hairbrush or comb to manage your hair.","Sunscreen to protect your skin from UV rays."]},{"n": "Travel Essentials","i": ["Valid passport and copies in case of loss.","Travel guide or map of the area for navigation.","Chargers for electronic devices to stay powered.","Power bank for on-the-go charging of devices.","Travel pillow for comfort during transit.","Reusable water bottle to stay hydrated while exploring.","Snacks for energy during activities and travel.","Ziplock bags for organizing small items and keeping things dry."]},{"n": "Electronics","i": ["Smartphone for communication and navigation.","Laptop or tablet for entertainment and work.","Camera for capturing memories during the trip.","Headphones for enjoying music or podcasts.","Universal adapter for plugging in electronics abroad."]},{"n": "Health & Safety","i": ["First aid kit with basic medical supplies.","Prescription medications if needed during the trip.","Hand sanitizer for cleanliness on the go.","Face masks in case of health regulations.","Insect repellent to prevent bites during outdoor activities."]},{"n": "Accessories","i": ["Sunglasses for eye protection on sunny days.","Lightweight scarf or shawl for style and warmth.","Backpack or daypack for daily excursions.","Travel wallet to keep important documents secure.","Umbrella for unexpected rainy weather."]}]}'; var version = '2'; var hashtag = 'packinglist'; socialMessage = 'Check out this amazing ' + pageWord + ' #plantrip #' + hashtag; socialUrl = 'https://plantrip.io/' + type + '/' + id; // on document ready jquery $(document).ready(function() { $(".share-page-buttons").show(); }); if (type == "packing-list") { if (version != 2) { // simply put the content into the container $("#list-container").html(content); } else { Handlebars.registerHelper("formatDate", function(dateString) { if (dateString == null) return ""; return " / " + moment(dateString).format("dddd, D MMMM"); }); var html = getFormattedPackingList(content); $("#list-container").html(html); } } $(document).on("click", "#save-packing-list-to-trips", function() { // post to /api/saveToTrips $.post( "/api/saveToTrips", { mode: "packingList", id: id, userAuthToken: userAuthToken, }, function(data) { // parse the raw json string into a javascript object data = JSON.parse(data); window.location.href = data.redirect; } ); });