\\","messageMark":"

<div id=\"smart-button-container\"> <div style=\"text-align: center\"><label for=\"description\"> </label><input type=\"text\" name=\"descriptionInput\" id=\"description\" maxlength=\"127\" value=\"\"></div> <p id=\"descriptionError\" style=\"visibility: hidden; color:red; text-align: center;\">Please enter a description</p> <div style=\"text-align: center\"><label for=\"amount\"> </label><input name=\"amountInput\" type=\"number\" id=\"amount\" value=\"\" ><span> USD</span></div> <p id=\"priceLabelError\" style=\"visibility: hidden; color:red; text-align: center;\">Please enter a price</p> <div id=\"invoiceidDiv\" style=\"text-align: center; display: none;\"><label for=\"invoiceid\"> </label><input name=\"invoiceid\" maxlength=\"127\" type=\"text\" id=\"invoiceid\" value=\"\" ></div> <p id=\"invoiceidError\" style=\"visibility: hidden; color:red; text-align: center;\">Please enter an Invoice ID</p> <div style=\"text-align: center; margin-top: 0.625rem;\" id=\"paypal-button-container\"></div> </div> <script src=\"https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo&currency=USD\" data-sdk-integration-source=\"button-factory\"></script> <script> function initPayPalButton() { var description = document.querySelector('#smart-button-container #description'); var amount = document.querySelector('#smart-button-container #amount'); var descriptionError = document.querySelector('#smart-button-container #descriptionError'); var priceError = document.querySelector('#smart-button-container #priceLabelError'); var invoiceid = document.querySelector('#smart-button-container #invoiceid'); var invoiceidError = document.querySelector('#smart-button-container #invoiceidError'); var invoiceidDiv = document.querySelector('#smart-button-container #invoiceidDiv'); var elArr = [description, amount]; if (invoiceidDiv.firstChild.innerHTML.length > 1) { invoiceidDiv.style.display = \"block\"; } var purchase_units = []; purchase_units[0] = {}; purchase_units[0].amount = {}; function validate(event) { return event.value.length > 0; } paypal.Buttons({ style: { color: 'gold', shape: 'rect', label: 'paypal', layout: 'vertical', }, onInit: function (data, actions) { actions.disable(); if(invoiceidDiv.style.display === \"block\") { elArr.push(invoiceid); } elArr.forEach(function (item) { item.addEventListener('keyup', function (event) { var result = elArr.every(validate); if (result) { actions.enable(); } else { actions.disable(); } }); }); }, onClick: function () { if (description.value.length < 1) { descriptionError.style.visibility = \"visible\"; } else { descriptionError.style.visibility = \"hidden\"; } if (amount.value.length < 1) { priceError.style.visibility = \"visible\"; } else { priceError.style.visibility = \"hidden\"; } if (invoiceid.value.length < 1 && invoiceidDiv.style.display === \"block\") { invoiceidError.style.visibility = \"visible\"; } else { invoiceidError.style.visibility = \"hidden\"; } purchase_units[0].description = description.value; purchase_units[0].amount.value = amount.value; if(invoiceid.value !== '') { purchase_units[0].invoice_id = invoiceid.value; } }, createOrder: function (data, actions) { return actions.order.create({ purchase_units: purchase_units, }); }, onApprove: function (data, actions) { return actions.order.capture().then(function (orderData) { // Full available details console.log('Capture result', orderData, JSON.stringify(orderData, null, 2)); // Show a success message within this page, e.g. const element = document.getElementById('paypal-button-container'); element.innerHTML = ''; element.innerHTML = '<h3>Thank you for your payment!</h3>'; // Or go to another URL: actions.redirect('thank_you.html'); }); }, onError: function (err) { console.log(err); } }).render('#paypal-button-container'); } initPayPalButton(); </script>

","title":"Untitled"},"root":{"banner":"https://cdn.neartail.com/1FAIpQLSeExcU0auumjntFh7OUf8LbAAIUUA-6Y2PhAh62QSe1UTdWSw/root/banner/OM-Full-Logo-1.png","bannerorg":"https://cdn.neartail.com/1FAIpQLSeExcU0auumjntFh7OUf8LbAAIUUA-6Y2PhAh62QSe1UTdWSw/root/bannerorg/OM-Full-Logo-1.png","messageMD":"**Creativity in Arkansas is sponsoring the sale of pins and t-shirts for the 2023 World Finals competition. Orders are due Wednesday, April 12th. Payment will be due April 20th.**  \r\n\r\n**COACHES:  You are responsible for coordinating your team's order details with team members, parents, etc.  Please submit only one master order outlining your team's needs by completing the form below and hitting \"place order.\"   Upon receipt of your order, you will receive a PayPal invoice and can then pay with a credit card via PayPal or you can send a check to the address below. No cash, please. If sending a check, please pay with ONE check for full order. This will help us ensure accuracy in order fulfillment.**\r\n\r\n**If you have any questions, please contact your regional director.  Thanks for your cooperation!**\r\n\r\n**\\*Make checks payable to: Creativity in Arkansas**             \r\n                         \r\n**Mail to:**  \r\n**Mindy Hunt** \r\n**1012 N. Dogwood**  \r\n**Siloam Springs, AR   72761**","messageMark":"

Creativity in Arkansas is sponsoring the sale of pins and t-shirts for the 2023 World Finals competition. Orders are due Wednesday, April 12th. Payment will be due April 20th.  


COACHES:  You are responsible for coordinating your team's order details with team members, parents, etc.  Please submit only one master order outlining your team's needs by completing the form below and hitting \"place order.\"   Upon receipt of your order, you will receive a PayPal invoice and can then pay with a credit card via PayPal or you can send a check to the address below. No cash, please. If sending a check, please pay with ONE check for full order. This will help us ensure accuracy in order fulfillment.


If you have any questions, please contact your regional director.  Thanks for your cooperation!


*Make checks payable to: Creativity in Arkansas             

                         

Mail to:  

Mindy Hunt 

1012 N. Dogwood  

Siloam Springs, AR   72761

","title":"Creativity in Arkansas 2023 PIN & T-SHIRT ORDERS"}}} }; window.auth = new Authentication(args); window.auth.authenticate(); function closeCartSidebar() { const cartSection = document.getElementById("cart-section"); if(cartSection) { cartSection.style.display = "none"; } } function convertURLsToLinks(text) { const expressionWithHttp =/(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*))/gi; const regex = new RegExp(expressionWithHttp); text = text.replace(/&/g, '&'); if(text?.includes('https://mailrecipe.com/public/106003551968977104849/home/form/1FAIpQLSfWHdjql6wluFExmRfpQ3yaWGznwqjBzu6bOiNbwlpetWOYuw?restoreId=-O5OtcHL7gcbJ6snM5Cw&appearance=officeuse')) { return "[Comment is hidden due to privacy]"; } return text.replace(regex, "$1"); } const observer = new MutationObserver((mutationsList, observer) => { for (let mutation of mutationsList) { if (mutation.type === 'childList') { for (let node of mutation.addedNodes) { const codeLookUp = document.querySelectorAll('.code-look-up'); codeLookUp.forEach((el) => { el.classList.remove('code-look-up'); el.innerHTML = convertURLsToLinks(el.innerHTML); }); } } } }); // on dom load. document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); // to have different background color for odd and even section, in the home page. function loadBgColor() { var i = 0; $('.section-main').each(function(index) { // if the i is odd, add section-with-bg class. // if the the html is empty continue. if ($(this).html().trim() == '') { return; } if (i % 2 != 0) { $(this).addClass('section-with-bg'); } else { $(this).removeClass('section-with-bg'); } i++; }); } // section-with-bg load all section-main and add section-with-bg for odd number. $(document).ready(function() { loadBgColor(); });