{"id":8,"date":"2021-01-21T11:49:00","date_gmt":"2021-01-21T16:49:00","guid":{"rendered":"https:\/\/support.appnet.com\/?page_id=8"},"modified":"2026-09-09T16:54:38","modified_gmt":"2026-09-09T20:54:38","slug":"support","status":"publish","type":"page","link":"https:\/\/support.appnet.com\/","title":{"rendered":"Support"},"content":{"rendered":"\t\t\t<div id=\"wpsc-container\" style=\"display:none;\">\n\t\t\t\t<div class=\"wpsc-shortcode-container\">\n\t\t\t\t\t\t\t\t<div class=\"wpsc-auth-container\">\n\t\t\t\t<div class=\"auth-inner-container\">\n\t\t\t\t\t\t<div class=\"welcome-message\">\n\n\t<p>Welcome to Appnet's Support Ticketing System<\/p>\n\n\t\t\n\t<p>You are most likely requiring edits or needs that need to be addressed by the Appnet Team. Our ticket system allows us to place your request straight to our Support and Design Team, and we handle requests in the order they have come in. If you're having a hard time explaining what your needs are, please either request a call in the ticket or call in to Appnet <a href=\"tel:(828) 963-7286;\"><strong>(828) 963-7286<\/strong><\/a>, and one of our team members will speak with you.<\/p>\n\t\n\t<p>As always, thank you for being an Appnet Client!<\/p>\n\n\t<p>If you have not used our ticketing system before, please click \"Register Now\".<\/p>\n\n\t<\/div>\n\n\t\t<h2>Please sign in<\/h2>\n\t\t\t\t\t<form onsubmit=\"return false;\" class=\"wpsc-login wpsc-default-login\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t<input type=\"text\" name=\"username\" placeholder=\"Username \/ Email address\" autocomplete=\"off\"\/>\n\t\t\t\t\t\t\t<input type=\"password\" name=\"password\" placeholder=\"Password\"\/>\n\t\t\t\t\t\t\t<div class=\"checkbox-container remember-me\">\n\t\t\t\t\t\t\t\t<input id=\"wpsc-remember-me\" type=\"checkbox\" name=\"remember_me\" value=\"1\"\/>\n\t\t\t\t\t\t\t\t<label for=\"wpsc-remember-me\">Remember me<\/label>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<script src=\"https:\/\/www.google.com\/recaptcha\/api.js?render=6LfN6uwjAAAAAOW4jy1mZgHkp5FZpu4Rj6cCqraR\"><\/script> \t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<button class=\"wpsc-button normal primary\" onclick=\"wpsc_submit_login_form(this)\">Sign In<\/button>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"action\" value=\"wpsc_default_login\"\/>\n\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_ajax_nonce\" value=\"cc1de91c2a\"\/>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/form>\n\n\t\t\t\t\t<div class=\"auth-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wpsc-link wpsc-forgot-password\" href=\"https:\/\/support.appnet.com\/wp-login.php?action=lostpassword\">Forgot your password?<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wpsc-link wpsc-register\" href=\"javascript:wpsc_get_default_registration();\">Register now<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"wpsc-link wpsc-otp-signin\" onclick=\"wpsc_get_guest_sign_in();\">Sign-in using one time password<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"wpsc-link wpsc-guest-create-ticket\" onclick=\"wpsc_get_guest_ticket_form();\">Create new ticket as guest<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"wpsc-link wpsc-otp-open-ticket\" href=\"https:\/\/support.appnet.com\/\">Open existing ticket using one time password<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<script>\n\t\t\t\t\t\/**\n\t\t\t\t\t * Submit default login form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_submit_login_form(el) {\n\n\t\t\t\t\t\tvar form = jQuery(el).closest('form');\n\t\t\t\t\t\tvar dataform = new FormData(form[0]);\n\t\t\t\t\t\tvar username = dataform.get('username').trim();\n\t\t\t\t\t\tvar password = dataform.get('password').trim();\n\t\t\t\t\t\twpsc_auth_clear_error(el);\n\t\t\t\t\t\tif (!username || !password) {\n\t\t\t\t\t\t\tvar empty = form.find('input[name=\"username\"], input[name=\"password\"]').filter(function () {\n\t\t\t\t\t\t\t\treturn !this.value.trim();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.req_fields_missing, empty);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\tgrecaptcha.ready(function() {\n\t\t\t\t\t\t\t\tgrecaptcha.execute('6LfN6uwjAAAAAOW4jy1mZgHkp5FZpu4Rj6cCqraR', {action: 'submit_login'}).then(function(token) {\n\t\t\t\t\t\t\t\t\tdataform.append('g-recaptcha-response', token);\n\t\t\t\t\t\t\t\t\twpsc_post_login_form(el, dataform);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Submit login form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_post_login_form(el, dataform) {\n\n\t\t\t\t\t\twpsc_auth_button_busy(el, true);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (response) {\n\t\t\t\t\t\t\tif (response && response.success) {\n\t\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\twpsc_login_error(el, response);\n\t\t\t\t\t\t}).fail(function (xhr) {\n\t\t\t\t\t\t\twpsc_login_error(el, xhr);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Show login error and restore the form for another attempt\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_login_error(el, response) {\n\n\t\t\t\t\t\tvar form = jQuery(el).closest('form');\n\t\t\t\t\t\tvar data = response && response.responseJSON !== undefined ? response.responseJSON : response;\n\t\t\t\t\t\tvar invalid = data && data.data && data.data.code === 'invalid_login' ? form.find('input[name=\"username\"], input[name=\"password\"]') : null;\n\t\t\t\t\t\twpsc_auth_button_busy(el, false);\n\t\t\t\t\t\twpsc_auth_show_error(el, wpsc_auth_error_message(response), invalid);\n\t\t\t\t\t\tif (invalid) {\n\t\t\t\t\t\t\tform.find('input[name=\"password\"]').val('').trigger('focus');\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Custom login\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_custom_login(el, url) {\n\n\t\t\t\t\t\tjQuery(el).text(supportcandy.translations.please_wait);\n\t\t\t\t\t\twindow.location.href = url;\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Load an auth screen into the container; on failure put the previous screen back with an error\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_load_auth_screen(action) {\n\n\t\t\t\t\t\tvar container = jQuery('.auth-inner-container');\n\t\t\t\t\t\tvar previous = container.contents().detach();\n\t\t\t\t\t\tcontainer.html(supportcandy.loader_html);\n\t\t\t\t\t\tjQuery.post(supportcandy.ajax_url, { action: action }).done(function (res) {\n\t\t\t\t\t\t\tif (typeof(res) == \"object\") {\n\t\t\t\t\t\t\t\tcontainer.empty().append(previous);\n\t\t\t\t\t\t\t\twpsc_auth_show_error(container.children().first(), wpsc_auth_error_message(res));\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcontainer.html(res);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}).fail(function (xhr) {\n\t\t\t\t\t\t\tcontainer.empty().append(previous);\n\t\t\t\t\t\t\twpsc_auth_show_error(container.children().first(), wpsc_auth_error_message(xhr));\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Get default registration page\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_get_default_registration() {\n\n\t\t\t\t\t\twpsc_load_auth_screen('wpsc_get_default_registration');\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Set default registration form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_set_default_registration(el) {\n\n\t\t\t\t\t\tvar form = jQuery(el).closest('form');\n\t\t\t\t\t\tvar dataform = new FormData(form[0]);\n\t\t\t\t\t\tvar firstname = dataform.get('firstname').trim();\n\t\t\t\t\t\tvar lastname = dataform.get('lastname').trim();\n\t\t\t\t\t\tvar username = dataform.get('username').trim();\n\t\t\t\t\t\tvar email_address = dataform.get('email_address').trim();\n\t\t\t\t\t\tvar password = dataform.get('password').trim();\n\t\t\t\t\t\tvar confirm_password = dataform.get('confirm_password').trim();\n\t\t\t\t\t\tvar isUsername = dataform.get('is_username').trim();\n\t\t\t\t\t\tvar isEmail = dataform.get('is_email').trim();\n\n\t\t\t\t\t\twpsc_auth_clear_error(el);\n\n\t\t\t\t\t\tvar empty = form.find('input[name=\"firstname\"], input[name=\"lastname\"], input[name=\"username\"], input[name=\"email_address\"], input[name=\"password\"], input[name=\"confirm_password\"]').filter(function () {\n\t\t\t\t\t\t\treturn !this.value.trim();\n\t\t\t\t\t\t});\n\t\t\t\t\t\tif (empty.length) {\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.req_fields_missing, empty);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!validateEmail(email_address)) {\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.incorrect_email, form.find('input[name=\"email_address\"]'));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isUsername != 1) {\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.unsername_unavailable, form.find('input[name=\"username\"]'));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (isEmail != 1) {\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.email_unavailable, form.find('input[name=\"email_address\"]'));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (password !== confirm_password) {\n\t\t\t\t\t\t\twpsc_auth_show_error(el, supportcandy.translations.incorrect_password, form.find('input[name=\"confirm_password\"]'));\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\t\tgrecaptcha.ready(function() {\n\t\t\t\t\t\t\t\tgrecaptcha.execute('6LfN6uwjAAAAAOW4jy1mZgHkp5FZpu4Rj6cCqraR', {action: 'submit_registration'}).then(function(token) {\n\t\t\t\t\t\t\t\t\tdataform.append('g-recaptcha-response', token);\n\t\t\t\t\t\t\t\t\twpsc_authenticate_registration(el, dataform);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Post registration form\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_authenticate_registration(el, dataform) {\n\n\t\t\t\t\t\twpsc_auth_button_busy(el, true);\n\t\t\t\t\t\tjQuery.ajax({\n\t\t\t\t\t\t\turl: supportcandy.ajax_url,\n\t\t\t\t\t\t\ttype: 'POST',\n\t\t\t\t\t\t\tdata: dataform,\n\t\t\t\t\t\t\tprocessData: false,\n\t\t\t\t\t\t\tcontentType: false\n\t\t\t\t\t\t}).done(function (res) {\n\t\t\t\t\t\t\tif (typeof(res) == \"object\") {\n\t\t\t\t\t\t\t\twpsc_registration_error(el, res);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery(el).closest('.auth-inner-container').html(res);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}).fail(function (xhr) {\n\t\t\t\t\t\t\twpsc_registration_error(el, xhr);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Show registration error and restore the form for another attempt\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_registration_error(el, response) {\n\n\t\t\t\t\t\twpsc_auth_button_busy(el, false);\n\t\t\t\t\t\twpsc_auth_show_error(el, wpsc_auth_error_message(response));\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Register user\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_confirm_registration(el) {\n\n\t\t\t\t\t\twpsc_auth_submit_otp(el, function () {\n\t\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t\/**\n\t\t\t\t\t * Get guest otp login screen\n\t\t\t\t\t *\n\t\t\t\t\t * @return void\n\t\t\t\t\t *\/\n\t\t\t\t\tfunction wpsc_get_guest_sign_in() {\n\n\t\t\t\t\t\twpsc_load_auth_screen('wpsc_get_guest_sign_in');\n\t\t\t\t\t}\n\t\t\t\t<\/script>\n\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"wpsc-page-snippets\" style=\"display: none;\">\n\t\t\t\t<div class=\"wpsc-editor-attachment upload-waiting\">\n\t\t\t\t\t<div class=\"attachment-label\"><\/div>\n\t\t\t\t\t<div class=\"attachment-remove\" onclick=\"wpsc_remove_attachment(this)\">\n\t\t\t\t\t<svg aria-hidden=\"true\" class=\"svg-inline--fa fa-times fa-w-11\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 352 512\"><path fill=\"currentColor\" d=\"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z\"><\/path><\/svg>\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"attachment-waiting\"><\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\n\t\t\t<script type=\"text\/javascript\">\n\n\t\t\t\t\/**\n\t\t\t\t * Set shortcode url. Adds a history entry when moving to a different\n\t\t\t\t * screen so that browser back\/forward works, otherwise replaces current one.\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_tickets_set_url(url) {\n\t\t\t\t\turl = new URL(url, window.location.href).toString();\n\t\t\t\t\tif (\n\t\t\t\t\t\ttypeof supportcandy.tickets_url === 'undefined' ||\n\t\t\t\t\t\tsupportcandy.is_tickets_popstate ||\n\t\t\t\t\t\turl === window.location.href\n\t\t\t\t\t) {\n\t\t\t\t\t\twindow.history.replaceState({}, null, url);\n\t\t\t\t\t} else {\n\t\t\t\t\t\twindow.history.pushState({}, null, url);\n\t\t\t\t\t}\n\t\t\t\t\tsupportcandy.tickets_url = url;\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Restore shortcode screen on browser back\/forward.\n\t\t\t\t *\/\n\t\t\t\tjQuery(window).on('popstate', function () {\n\n\t\t\t\t\tif (typeof supportcandy.section_callbacks === 'undefined') {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (wpsc_is_description_text()) {\n\t\t\t\t\t\tif (!confirm(supportcandy.translations.warning_message)) {\n\t\t\t\t\t\t\t\/\/ stay on current screen, restore its url.\n\t\t\t\t\t\t\twindow.history.pushState({}, null, supportcandy.tickets_url);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar is_tinymce = (typeof tinyMCE != 'undefined') && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();\n\t\t\t\t\t\tif (is_tinymce && tinymce.get('description')) {\n\t\t\t\t\t\t\ttinyMCE.get('description').setContent('');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tjQuery('#description').val('');\n\t\t\t\t\t\t}\n\t\t\t\t\t\twpsc_clear_saved_draft_reply(jQuery('#wpsc-current-ticket').val());\n\t\t\t\t\t}\n\n\t\t\t\t\tvar params = new URL(window.location.href).searchParams;\n\t\t\t\t\tvar section = params.get('wpsc-section') || supportcandy.initial_section;\n\t\t\t\t\tvar id = params.get('ticket-id');\n\t\t\t\t\tvar callback = supportcandy.section_callbacks[section] || supportcandy.section_callbacks['ticket-list'];\n\n\t\t\t\t\tsupportcandy.is_tickets_popstate = true;\n\t\t\t\t\tif (section === 'ticket-list' && id) {\n\t\t\t\t\t\twpsc_get_individual_ticket(id);\n\t\t\t\t\t} else if (typeof window[callback] === 'function') {\n\t\t\t\t\t\twindow[callback]();\n\t\t\t\t\t}\n\t\t\t\t\tsupportcandy.is_tickets_popstate = false;\n\t\t\t\t});\n\n\t\t\t\t\/**\n\t\t\t\t * Get ticket list\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_ticket_list(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'ticket-list';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tif (wpsc_is_description_text()) {\n\t\t\t\t\t\tif ( !confirm(supportcandy.translations.warning_message)){\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}  else {\n\t\t\t\t\t\t\tvar is_tinymce = (typeof tinyMCE != \"undefined\") && tinyMCE.activeEditor && !tinyMCE.activeEditor.isHidden();\n\t\t\t\t\t\t\tif (is_tinymce && tinymce.get('description')) {\n\t\t\t\t\t\t\t\tvar description = tinyMCE.get('description').setContent('');\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tvar description = jQuery('#description').val('');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tticket_id = jQuery('#wpsc-current-ticket').val();\n\t\t\t\t\t\t\twpsc_clear_saved_draft_reply( ticket_id );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tvar id = supportcandy.current_ticket_id;\n\t\t\t\t\tif (id) {\n\t\t\t\t\t\tdelete supportcandy.current_ticket_id;\n\t\t\t\t\t\twpsc_get_individual_ticket(id);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set flag to differentiate between ticket list and individual ticket\n\t\t\t\t\tsupportcandy.ticketListIsIndividual = false;\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.ticket-list, .wpsc-humbargar-menu-item.ticket-list').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.ticket_list);\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'ticket-list');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_ticket_list',\n\t\t\t\t\t\t_ajax_nonce: supportcandy.nonce,\n\t\t\t\t\t\tis_frontend: supportcandy.is_frontend\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tif (typeof supportcandy.ticketList != 'undefined' && typeof supportcandy.ticketList.filters != 'undefined') {\n\t\t\t\t\t\tdata.filters = supportcandy.ticketList.filters;\n\t\t\t\t\t}\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t\twpsc_delete_auto_draft();\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get individual ticket\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_individual_ticket(id) {\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.ticket-list, .wpsc-humbargar-menu-item.ticket-list').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.ticket_list);\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'ticket-list');\n\t\t\t\t\tsearch_params.set('ticket-id', id);\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\t\/\/ set flag to differentiate between ticket list and individual ticket\n\t\t\t\t\tsupportcandy.ticketListIsIndividual = true;\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_individual_ticket',\n\t\t\t\t\t\tticket_id: id,\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get create ticket form\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_ticket_form(is_humbargar = false) {\n\t\t\t\t\t\t\t\t\t\t\twindow.location = \"https:\/\/support.appnet.com\/support\/create-ticket\/\";\n\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\n\t\t\t\t\tsupportcandy.current_section = 'new-ticket';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tif (wpsc_is_description_text()) {\n\t\t\t\t\t\tif ( confirm(supportcandy.translations.warning_message)){\n\t\t\t\t\t\t\tcurrent_ticket = jQuery('#wpsc-current-ticket').val();\n\t\t\t\t\t\t\twpsc_clear_saved_draft_reply( current_ticket );\n\t\t\t\t\t\t} else{\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.new-ticket, .wpsc-humbargar-menu-item.new-ticket').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.new_ticket);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'new-ticket');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = {\n\t\t\t\t\t\taction: 'wpsc_get_ticket_form',\n\t\t\t\t\t\t_ajax_nonce: supportcandy.nonce\n\t\t\t\t\t};\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent settings\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_user_profile(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'my-profile';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.my-profile, .wpsc-humbargar-menu-item.my-profile').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.my_profile);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'my-profile');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_user_profile' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent settings\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_agent_profile(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'agent-profile';\n\n\t\t\t\t\tif (is_humbargar) wpsc_toggle_humbargar();\n\n\t\t\t\t\tjQuery('.wpsc-tickets-nav, .wpsc-humbargar-menu-item').removeClass('active');\n\t\t\t\t\tjQuery('.wpsc-tickets-nav.agent-profile, .wpsc-humbargar-menu-item.agent-profile').addClass('active');\n\t\t\t\t\tjQuery('.wpsc-humbargar-title').html(supportcandy.humbargar_titles.agent_profile);\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'agent-profile');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\n\t\t\t\t\tjQuery('.wpsc-body').html(supportcandy.loader_html);\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_agent_profile' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\t\t\t\t\tjQuery.post(supportcandy.ajax_url, data, function (response) {\n\t\t\t\t\t\tjQuery('.wpsc-body').html(response);\n\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t\tjQuery('.wpsc-ap-nav.general').trigger('click');\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get agent dashboard\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_agent_dashboard(is_humbargar = false) {\n\n\t\t\t\t\tsupportcandy.current_section = 'dashboard';\n\n\t\t\t\t\tif (is_humbargar) {\n\t\t\t\t\t\twpsc_toggle_humbargar();\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery( '.wpsc-tickets-nav, .wpsc-humbargar-menu-item' ).removeClass( 'active' );\n\t\t\t\t\tjQuery( '.wpsc-tickets-nav.dashboard, .wpsc-humbargar-menu-item.dashboard' ).addClass( 'active' );\n\t\t\t\t\tjQuery( '.wpsc-humbargar-title' ).html( supportcandy.humbargar_titles.dashboard );\n\n\t\t\t\t\twpsc_update_live_agents();\n\n\t\t\t\t\t\/\/ set url\n\t\t\t\t\tvar url = new URL(window.location.href);\n\t\t\t\t\tvar search_params = url.searchParams;\n\t\t\t\t\tsearch_params.set('wpsc-section', 'dashboard');\n\t\t\t\t\tsearch_params.delete('ticket-id');\n\t\t\t\t\turl.search = search_params.toString();\n\t\t\t\t\twpsc_tickets_set_url(url.toString());\n\t\t\t\t\tjQuery( '.wpsc-body' ).html( supportcandy.loader_html );\n\n\t\t\t\t\tvar data = { action: 'wpsc_get_agent_dashboard' };\n\t\t\t\t\tsearch_params.forEach(function(value, key) {\n\t\t\t\t\t\tdata[key] = value;\n\t\t\t\t\t});\n\n\t\t\t\t\tjQuery.post(\n\t\t\t\t\t\tsupportcandy.ajax_url,\n\t\t\t\t\t\tdata,\n\t\t\t\t\t\tfunction (response) {\n\t\t\t\t\t\t\tjQuery( '.wpsc-body' ).html( response );\n\t\t\t\t\t\t\twpsc_reset_responsive_style();\n\t\t\t\t\t\t\tjQuery( '.wpsc-ap-nav.general' ).trigger( 'click' );\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Get create ticket as guest\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_get_guest_ticket_form() {\n\n\t\t\t\t\tjQuery('.wpsc-shortcode-container').html('<div class=\"wpsc-body\"><\/div>');\n\t\t\t\t\twpsc_get_ticket_form();\n\t\t\t\t}\n\n\t\t\t\t\/**\n\t\t\t\t * Update live agents\n\t\t\t\t *\/\n\t\t\t\tfunction wpsc_update_live_agents() {\n\n\t\t\t\t\tif (!supportcandy.ticketListIsIndividual) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tagent_id = jQuery(\"#wpsc-current-agent\").val();\n\t\t\t\t\tif (!agent_id) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tif (typeof supportcandy.agent_collision === \"undefined\" || !supportcandy.agent_collision) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tticket_id = jQuery(\"#wpsc-current-ticket\").val();\n\t\t\t\t\tvar data = { action: 'wpsc_check_live_agents', agent_id, ticket_id, operation: 'leave', _ajax_nonce: supportcandy.nonce };\n\t\t\t\t\tjQuery.post(\n\t\t\t\t\t\tsupportcandy.ajax_url,\n\t\t\t\t\t\tdata,\n\t\t\t\t\t\tfunction (response) {\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t<\/script>\n\t\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"page-template":[956],"class_list":["post-8","page","type-page","status-publish","hentry","page-template-show-content-as-is"],"acf":[],"_links":{"self":[{"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":3,"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":24349,"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/pages\/8\/revisions\/24349"}],"wp:attachment":[{"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/media?parent=8"}],"wp:term":[{"taxonomy":"page-template","embeddable":true,"href":"https:\/\/support.appnet.com\/wp-json\/wp\/v2\/page-template?post=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}