{"version":3,"file":"post-show-DJdLb-XG.js","sources":["../../../app/frontend/entrypoints/post-show.js"],"sourcesContent":["document.addEventListener('turbo:load', function () {\n console.log('Hello from post-show.js!');\n\n const likeCounters = document.querySelectorAll('.like-counter');\n\n likeCounters.forEach((counter) => {\n const likeButton = counter.querySelector('button');\n const likeCountElement = counter.querySelector('span');\n\n likeButton.addEventListener('click', () => {\n const postId = likeButton.dataset.postId;\n const likeId = likeButton.dataset.likeId; // The ID of the like (if it exists)\n const liked = likeButton.dataset.liked === 'true';\n\n const url = `/posts/${postId}/likes${liked ? `/${likeId}` : ''}`;\n const method = liked ? 'DELETE' : 'POST';\n\n fetch(url, {\n method: method,\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-Token': document.querySelector('meta[name=\"csrf-token\"]').content,\n },\n })\n .then((response) => {\n if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);\n return response.json();\n })\n .then((data) => {\n likeCountElement.textContent = data.like_count; // Update the like count\n likeButton.dataset.liked = data.liked; // Toggle liked state\n likeButton.dataset.likeId = data.like_id; // Update like ID (if liked)\n likeButton.innerHTML = ``;\n })\n .catch((error) => {\n console.error('Error updating like status:', error);\n });\n });\n });\n\n const supportButton = document.getElementById('support-pay-button');\n const supportModal = document.getElementById('supportModal');\n const loginModal = document.getElementById('login-modal');\n const guestPurchase = document.getElementById('guest-purchase');\n const closeButton = document.querySelector('.close-modal-button'); // Ensure this exists\n const form = document.getElementById('payment-form');\n const errorElement = document.getElementById('card-errors');\n const submitButton = document.getElementById('submitPaymentButton');\n const paymentEmailInput = document.getElementById('paymentEmail');\n const starCountField = document.getElementById('star-count-field');\n const customStarCountField = document.querySelector('.custom-star-count');\n const amountField = document.getElementById('amount-field');\n const supportTrigger = document.getElementById('support-trigger');\n var userSignedInElement = document.getElementById('user-signed-in');\n var userSignedIn = userSignedInElement.value === 'true';\n const postContainer = document.getElementById('post-container');\n const postSlug = postContainer.dataset.postSlug;\n\n // console.log('User signed in:', userSignedIn);\n // console.log('Support button:', supportButton);\n // console.log('Support trigger:', supportTrigger);\n // console.log('Support modal:', supportModal);\n // console.log('Post Container:', postContainer);\n // console.log('Post slug:', postSlug);\n\n if (supportButton) {\n console.log('Support button found on this page.');\n // Handle Support Button Click\n supportButton.addEventListener('click', function (event) {\n event.preventDefault();\n const starCount = parseInt(document.getElementById('star-count-field').value, 10);\n const supporterMessage = document.getElementById('supporter-message').value;\n const supporterName = document.getElementById('supporter-name').value;\n console.log('Supporter Message:', supporterMessage);\n console.log('Supporter Name:', supporterName);\n\n updateSupportAmount(starCount);\n });\n }\n\n if (supportTrigger) {\n console.log('Support trigger found on this page.');\n supportTrigger.addEventListener('click', function (event) {\n event.preventDefault();\n console.log('Support trigger clicked');\n var loginModal = document.getElementById('login-modal');\n var closeButton = document.getElementsByClassName('close')[0];\n var closeButton2 = document.getElementsByClassName('close-button')[0];\n var guestPurchase = document.getElementById('guest-purchase');\n\n if (userSignedIn) {\n console.log('User is signed in');\n // User is signed in, show the normal support modal\n supportModal.style.display = 'block';\n\n // When the user clicks on (x), close the modal\n if (closeButton) {\n closeButton.onclick = function () {\n supportModal.style.display = 'none';\n };\n }\n } else {\n console.log('User is not signed in');\n // User is not signed in, show the login modal\n loginModal.style.display = 'block';\n\n guestPurchase.onclick = function () {\n // Handle guest purchase logic here\n console.log('Guest purchase clicked');\n loginModal.style.display = 'none';\n if (supportModal) {\n supportModal.style.display = 'block';\n }\n };\n }\n });\n }\n\n const stripePublicKey = supportTrigger.getAttribute('data-stripe-public-key');\n const stripe = Stripe(stripePublicKey, {\n betas: ['link_beta_1'],\n });\n\n // Initialize Stripe Elements\n const elements = stripe.elements();\n const card = elements.create('card', {\n style: {\n base: {\n fontSize: '16px',\n color: '#32325d',\n },\n },\n });\n card.mount('#card-element');\n\n // Handle Modal Close\n const closeModal = () => {\n supportModal.style.display = 'none';\n loginModal.style.display = 'none';\n };\n\n // Event Listener for Close Button\n if (closeButton) {\n closeButton.addEventListener('click', closeModal);\n }\n\n // Close modal when clicking outside\n window.addEventListener('click', function (event) {\n if (event.target == supportModal) {\n closeModal();\n }\n if (event.target == loginModal) {\n loginModal.style.display = 'none';\n }\n });\n\n // Handle Guest Purchase Click\n guestPurchase.addEventListener('click', function (event) {\n event.preventDefault();\n loginModal.style.display = 'none';\n if (supportModal) {\n supportModal.style.display = 'block';\n }\n });\n\n // Handle Form Submission\n if (form) {\n form.addEventListener('submit', async function (event) {\n event.preventDefault();\n submitButton.disabled = true;\n\n const { paymentMethod, error } = await stripe.createPaymentMethod({\n type: 'card',\n card: card,\n });\n\n if (error) {\n errorElement.textContent = error.message;\n submitButton.disabled = false;\n } else {\n // Send paymentMethod.id to your server\n const payload = {\n payment_method_id: paymentMethod.id,\n charge_amount: amountField.value,\n artist_slug: document.getElementById('artistSlug').value,\n post_slug: postContainer.dataset.postSlug, // Ensure this ID exists\n receipt_email: paymentEmailInput.value,\n stars: starCountField.value,\n message: document.getElementById('supporter-message').value,\n supporter_name: document.getElementById('supporter-name').value,\n guest_email: paymentEmailInput.value,\n };\n\n try {\n console.log('Url:', `/artists/${payload.artist_slug}/create_payment`);\n console.log('post_slug:', payload.post_slug);\n const response = await fetch(`/artists/${payload.artist_slug}/create_payment`, {\n method: 'POST',\n headers: {\n 'Content-Type': 'application/json',\n 'X-CSRF-Token': document.querySelector(\"[name='csrf-token']\").content,\n },\n body: JSON.stringify(payload),\n });\n\n const result = await response.json();\n\n if (result.error) {\n errorElement.textContent = result.error;\n submitButton.disabled = false;\n } else {\n alert('Thank you for your support! Your payment has been successfully processed.');\n window.location.href = `/posts/${payload.post_slug}`;\n }\n } catch (err) {\n console.error('Error:', err);\n errorElement.textContent = 'An unexpected error occurred.';\n submitButton.disabled = false;\n }\n }\n });\n }\n\n // Real-time validation errors from the card Element\n card.on('change', function (event) {\n if (event.error) {\n errorElement.textContent = event.error.message;\n } else {\n errorElement.textContent = '';\n }\n });\n\n // Handle Star Button Clicks\n const starButtons = document.querySelectorAll('.star-btn');\n starButtons.forEach((button) => {\n button.addEventListener('click', function () {\n const starValue = parseInt(this.dataset.value, 10);\n updateSupportAmount(starValue);\n });\n });\n\n // Handle Custom Star Count Input\n if (customStarCountField) {\n customStarCountField.addEventListener('input', function () {\n const customStarValue = parseInt(this.value, 10) || 0;\n updateSupportAmount(customStarValue);\n });\n }\n\n // Function to Update Support Amount\n function updateSupportAmount(numberOfStars) {\n const baseStarCost = 5; // Cost per star\n const platformFeePercent = 5; // Platform fee percentage\n const stripeFeePercent = 2.9; // Stripe fee percentage\n const stripeFixedFee = 0.3; // Stripe fixed fee in dollars\n\n const initialCharge = numberOfStars * baseStarCost;\n const platformFee = initialCharge * (platformFeePercent / 100);\n const stripeFee = initialCharge * (stripeFeePercent / 100) + stripeFixedFee;\n const finalCharge = initialCharge + platformFee + stripeFee;\n\n const formattedCharge = finalCharge.toFixed(2);\n\n document.getElementById('base-charge-amount').textContent = `$${initialCharge.toFixed(2)}`;\n document.getElementById('platform-fee-amount').textContent = `$${platformFee.toFixed(2)}`;\n document.getElementById('stripe-fee-amount').textContent = `$${stripeFee.toFixed(2)}`;\n document.getElementById('total-charge-amount').textContent = `$${finalCharge.toFixed(2)}`;\n\n const supportButtonText = `Support $${initialCharge.toFixed(2)}`;\n const supportButton = document.getElementById('support-button');\n if (supportButton) {\n supportButton.textContent = supportButtonText;\n }\n\n const chargeAmountElement = document.getElementById('charge-amount');\n if (chargeAmountElement) {\n chargeAmountElement.textContent = `$${formattedCharge}`;\n }\n\n const visibleChargeAmountElement = document.getElementById('visible-charge-amount');\n if (visibleChargeAmountElement) {\n visibleChargeAmountElement.textContent = `$${formattedCharge}`;\n }\n\n const starCountFieldElement = document.getElementById('star-count-field');\n if (starCountFieldElement) {\n starCountFieldElement.value = numberOfStars;\n }\n }\n\n // Function to Validate Email\n function validateEmail(email) {\n const re = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,6}$/;\n return re.test(String(email).toLowerCase());\n }\n\n // Email Input Validation\n const emailInput = document.getElementById('supporterEmail');\n const confirmEmailButton = document.getElementById('confirmEmailButton');\n const emailError = document.getElementById('emailError');\n\n if (emailInput && confirmEmailButton && emailError) {\n emailInput.addEventListener('input', function () {\n const isValidEmail = validateEmail(emailInput.value);\n confirmEmailButton.disabled = !isValidEmail;\n emailError.style.display = isValidEmail ? 'none' : 'block';\n });\n\n confirmEmailButton.addEventListener('click', function () {\n const emailValue = emailInput.value;\n const paymentEmailInput = document.getElementById('paymentEmail');\n const finalCharge = parseFloat(document.getElementById('total-charge-amount').textContent.replace(/^\\$/, ''));\n\n if (paymentEmailInput) {\n paymentEmailInput.value = emailValue;\n }\n\n updateChargeAmount(finalCharge);\n\n document.getElementById('emailInputContainer').style.display = 'none';\n document.getElementById('paymentDetailsContainer').style.display = 'block';\n\n if (document.getElementById('card-element')) {\n card.mount('#card-element');\n }\n });\n }\n\n function updateChargeAmount(chargeAmount) {\n let chargeAmountElement = document.getElementById('total-charge-amount');\n let hiddenChargeElement = document.getElementById('hiddenChargeAmount');\n if (chargeAmountElement && hiddenChargeElement) {\n chargeAmountElement.textContent = `$${chargeAmount.toFixed(2)}`;\n hiddenChargeElement.value = chargeAmount.toFixed(2);\n } else {\n console.error('Charge elements not found!');\n }\n }\n\n // Function to Display Success Message\n function displaySuccessMessage(container, message) {\n const messageDiv = document.createElement('div');\n messageDiv.textContent = message;\n messageDiv.className = 'alert alert-success'; // Bootstrap class for success messages\n container.prepend(messageDiv);\n }\n});\n"],"names":["counter","likeButton","likeCountElement","postId","likeId","liked","url","response","data","error","supportButton","supportModal","loginModal","guestPurchase","closeButton","form","errorElement","submitButton","paymentEmailInput","starCountField","customStarCountField","amountField","supportTrigger","userSignedInElement","userSignedIn","postContainer","event","starCount","supporterMessage","supporterName","updateSupportAmount","stripePublicKey","stripe","card","closeModal","paymentMethod","payload","result","err","button","starValue","customStarValue","numberOfStars","initialCharge","platformFee","stripeFee","finalCharge","formattedCharge","supportButtonText","chargeAmountElement","visibleChargeAmountElement","starCountFieldElement","validateEmail","email","emailInput","confirmEmailButton","emailError","isValidEmail","emailValue","updateChargeAmount","chargeAmount","hiddenChargeElement"],"mappings":"AAAA,SAAS,iBAAiB,aAAc,UAAY,CAClD,QAAQ,IAAI,0BAA0B,EAEjB,SAAS,iBAAiB,eAAe,EAEjD,QAASA,GAAY,CAChC,MAAMC,EAAaD,EAAQ,cAAc,QAAQ,EAC3CE,EAAmBF,EAAQ,cAAc,MAAM,EAErDC,EAAW,iBAAiB,QAAS,IAAM,CACzC,MAAME,EAASF,EAAW,QAAQ,OAC5BG,EAASH,EAAW,QAAQ,OAC5BI,EAAQJ,EAAW,QAAQ,QAAU,OAErCK,EAAM,UAAUH,CAAM,SAASE,EAAQ,IAAID,CAAM,GAAK,EAAE,GAG9D,MAAME,EAAK,CACT,OAHaD,EAAQ,SAAW,OAIhC,QAAS,CACP,eAAgB,mBAChB,eAAgB,SAAS,cAAc,yBAAyB,EAAE,OACnE,CACF,CAAA,EACE,KAAME,GAAa,CAClB,GAAI,CAACA,EAAS,GAAI,MAAM,IAAI,MAAM,uBAAuBA,EAAS,MAAM,EAAE,EAC1E,OAAOA,EAAS,KAAM,CACvB,CAAA,EACA,KAAMC,GAAS,CACdN,EAAiB,YAAcM,EAAK,WACpCP,EAAW,QAAQ,MAAQO,EAAK,MAChCP,EAAW,QAAQ,OAASO,EAAK,QACjCP,EAAW,UAAY,sBAAsBO,EAAK,MAAQ,uBAAyB,UAAU,QAC9F,CAAA,EACA,MAAOC,GAAU,CAChB,QAAQ,MAAM,8BAA+BA,CAAK,CAC5D,CAAS,CACT,CAAK,CACL,CAAG,EAED,MAAMC,EAAgB,SAAS,eAAe,oBAAoB,EAC5DC,EAAe,SAAS,eAAe,cAAc,EACrDC,EAAa,SAAS,eAAe,aAAa,EAClDC,EAAgB,SAAS,eAAe,gBAAgB,EACxDC,EAAc,SAAS,cAAc,qBAAqB,EAC1DC,EAAO,SAAS,eAAe,cAAc,EAC7CC,EAAe,SAAS,eAAe,aA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