PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : //home/trave494/logokingdom.online/wp-content/plugins/wp-live-chat-support/js/nimblesquirrel.js |
var ns_load_delay,ns_bg_color,ns_font_color,ns_width,ns_gap,ns_height,ns_footer,ns_header,ns_type,ns_question,ns_thank_you_text,ns_question_array_js,ns_trigger,ns_cookie_name,ns_cookie_value,ns_gdpr_company_name,ns_gdpr_purpose,ns_gdpr_retention_period,ns_emoji,ns_question_array=new Array,ns_triggered=!1,ns_trigger_normal=!1,ns_trigger_exit=!1,ns_trigger_cookie=!1,ns_google_form="",ns_theme=1,ns_dark=0;if(void 0===ns_id)var ns_id=0;if(void 0===ns_sid)var ns_sid=0;if(void 0===ns_lfid)var ns_lfid=0;var ns_start=nimblesquirrel_start();function nimblesquirrel_start(){if(null==ns_id);else{var e=getCookie("ns_participated");if(null!=e&&""!=e);else"no"===getCookie("ns_display")||(ns_load_emoticons(),ns_loadsettings())}}function ns_loadsettings(){var e;(e=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).onreadystatechange=function(){if(4==e.readyState&&200==e.status)if(ns_obj=json_parse(e.responseText),null!=ns_obj.error)nslog("nimbleSquirrel error:"+e.responseText);else{ns_override_html=ns_obj.override_html,ns_type=parseInt(ns_obj.type),ns_bg_color=ns_obj.bgcolor,ns_font_color=ns_obj.textcolor,ns_load_delay=parseInt(ns_obj.delay),ns_gap=ns_obj.div_gap,ns_width=ns_obj.div_width,ns_height=ns_obj.div_height,ns_footer=ns_obj.footer,ns_header=ns_obj.header,ns_question=ns_obj.question,ns_thank_you_text=ns_obj.thank_you_text,ns_question_array_js=ns_obj.question_array,ns_trigger=ns_obj.trigger,ns_cookie_name=ns_obj.cookie_name,ns_cookie_value=ns_obj.cookie_value,ns_gdpr_company_name=ns_obj.gdpr_company,ns_gdpr_purpose=ns_obj.gdpr_purpose,ns_gdpr_retention_period=ns_obj.gdpr_retention,ns_google_form=ns_obj.google_form,ns_id=parseInt(ns_obj.ns_id),ns_sid=parseInt(ns_obj.ns_sid),ns_lfid=parseInt(ns_obj.ns_lfid),null!==ns_obj.other_data&&"undefined"!==ns_obj.other_data&&(null!==ns_obj.other_data.survey_theme&&"undefined"!==ns_obj.other_data.survey_theme&&(ns_theme=parseInt(ns_obj.other_data.survey_theme)),null!==ns_obj.other_data.survey_dark&&"undefined"!==ns_obj.other_data.survey_dark&&(ns_dark=parseInt(ns_obj.other_data.survey_dark)));for(var i in ns_question_array_js)ns_question_array_js.hasOwnProperty(i)&&!isNaN(+i)&&(ns_question_array[+i]=ns_question_array_js[i]);if(ns_load_delay<1&&(ns_load_delay=1),ns_load_delay*=1e3,"undefined"!=typeof ns_div)check_for_parent_element(ns_div);else{if(-1===ns_trigger.indexOf("exit")&&-1===ns_trigger.indexOf("cookie")&&(ns_trigger_normal=!0),-1!==ns_trigger.indexOf("exit")&&(ns_trigger_exit=!0),-1!==ns_trigger.indexOf("cookie")&&(ns_trigger_cookie=!0),(ns_trigger_normal||/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)&&ns_trigger_exit&&!ns_trigger_cookie)&&(nsto=setTimeout(function(){ns_create_panel()},ns_load_delay),ns_triggered=!0),!ns_triggered&&ns_trigger_cookie){var n=ns_get_cookie(ns_cookie_name),r=!1;!1!==n?-1!==ns_trigger.indexOf("exists")&&-1===ns_trigger.indexOf("notexists")?r=!0:-1!==ns_trigger.indexOf("empty")?-1!==ns_trigger.indexOf("notempty")?n.length>0&&(r=!0):n.length<1&&(r=!0):-1!==ns_trigger.indexOf("valueis")&&n==ns_cookie_value&&(r=!0):-1!==ns_trigger.indexOf("notexists")&&(r=!0),r?ns_trigger_exit||(nsto=setTimeout(function(){ns_create_panel()},ns_load_delay),ns_triggered=!0):ns_trigger_exit=!1}!ns_triggered&&ns_trigger_exit&&document.documentElement.addEventListener("mousemove",function(e){!ns_triggered&&e.pageY<60&&(nsto=setTimeout(function(){ns_create_panel()},ns_load_delay),ns_triggered=!0)})}}},void 0!==ns_sid&&parseInt(ns_sid)>0?(e.open("GET","https://nimblesquirrel.com/api/v2.0/api.php?a=get_settings&id="+ns_id+"&sid="+ns_sid,!0),e.send()):void 0!==ns_lfid&&parseInt(ns_lfid)>0?(e.open("GET","https://nimblesquirrel.com/api/v2.0/api.php?a=get_settings_lf&id="+ns_id+"&lfid="+ns_lfid,!0),e.send()):"undefined"!=typeof Shopify&&void 0!==Shopify.shop&&Shopify.shop.length>0&&(e.open("GET","https://nimblesquirrel.com/api/v2.0/api.php?a=get_settings_shopify&shop_url="+Shopify.shop,!0),e.send())}function ns_get_cookie(e){for(var i=e+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var t=n[r];" "==t.charAt(0);)t=t.substring(1);if(0==t.indexOf(i))return t.substring(i.length,t.length)}return!1}function check_for_parent_element(e){setTimeout(function(){if(null!==document.getElementById(e))return ns_create_panel();check_for_parent_element(e)},500)}function ns_load_emoticons(){var e=document.createElement("link");e.rel="stylesheet",e.href="https://nimblesquirrel.com/api/js-emoji/emoji.css",document.getElementsByTagName("head")[0].appendChild(e);var i=document.createElement("script");i.type="text/javascript",i.src="https://nimblesquirrel.com/api/js-emoji/emoji.js",document.getElementsByTagName("head")[0].appendChild(i)}function ns_initialize_emoji(){null!==(ns_emoji=new EmojiConvertor)&&void 0!==ns_emoji?(ns_emoji.img_sets.apple.path="https://nimblesquirrel.com/api/js-emoji/sheet_64/",ns_emoji.img_sets={apple:{path:"https://nimblesquirrel.com/api/js-emoji/sheet_64/",sheet:"https://nimblesquirrel.com/api/js-emoji/sheet_64.png",mask:1}},ns_emoji.use_sheet=!0,ns_emoji.init_env(),ns_emoji.img_set="apple",ns_emoji.replace_mode=ns_emoji.replace_mode,ns_emoji.text_mode=!1):nslog("Nimble Squirrel: Emoji could not be included")}function ns_process_emoji(e){setTimeout(function(){if("undefined"!=typeof EmojiConvertor)return real_ns_process_emoji(e);ns_process_emoji(e)},500)}function real_ns_process_emoji(e){null!==ns_emoji&&"undefined"!==ns_emoji&&(e=ns_emoji.replace_colons(e));var i=document.getElementById("nimblesquirrel_question_81400_answers");null!==i&&(i.innerHTML=e)}function ns_create_panel(){var e="html #nimblesquirrel_main { overflow: hidden; padding: 4px 0; -webkit-box-sizing: content-box; background: #f3f3f3; border: solid 1px #e2e2e2; border-bottom: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; -webkit-border-top-left-radius: 4px; -moz-border-radius-topleft: 4px; border-top-left-radius: 4px; }#nimblesquirrel_div { background: none; border: 0; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; bottom: 0px; height: auto; margin: 0; padding: 0; position: fixed !important; right: 30px; width: 287px; z-index: 99999; }#nimblesquirrel_div hr { }#nimblesquirrel_tab { display: block; height: 23px; position: absolute; top: -23px; right: 0; z-index: 900; text-decoration: none; text-align: center; color: #53575a; font-size: 19px; font-weight: bold; background: #f3f3f3; border: solid 1px #e2e2e2; border-bottom: none; -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none;}#nimblesquirrel_tab_text { width: 30px; display: block; float: left; }#nimblesquirrel_div #nimblesquirrel_buttons { position: relative; }#nimblesquirrel_div #nimblesquirrel_gdpr_messages { font: normal 10px/13px helvetica,arial,sans-serif; color: #53575a; padding: 0 16px; }#nimblesquirrel_div #nimblesquirrel_gdpr_messages a, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:visited, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:hover { color: #53575a; }#nimblesquirrel_div .nimblesquirrel_button, #nimblesquirrel_div .nimblesquirrel_button:hover { border-top: 1px solid #a8a8a8; background: #bababa; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; color: #555454; vertical-align: middle; padding: 6px 16px 6px 16px; text-decoration: none; text-transform: uppercase; display:inline-block; font: normal 12px/normal helvetica,arial,sans-serif; float: right; margin-right: 16px; margin-top: 3px; }#nimblesquirrel_div .nimblesquirrel_powered_by, #nimblesquirrel_div .nimblesquirrel_powered_by:hover { color: #53575a; margin-left: 5px; font: normal 10px/13px helvetica,arial,sans-serif; height: 13px;text-decoration: none; padding-left: 11px; float: left; margin-top: 11px; }html div#nimblesquirrel_div hr { border-collapse: collapse; border:none; border-top: 1px solid #e2e2e2; border-bottom: 1px solid #fff; display: block; margin: 13px 0 5px; }#nimblesquirrel_div ul.nimblesquirrel_answers { margin-left: 0; margin-right: 0; display: block; list-style: none; margin-bottom: 2px; overflow: hidden; padding: 0 15px; border: 1px solid #e2e2e2; background-color: #d8d8d8; padding: 10px; margin-left: 15px; margin-right: 15px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; }#nimblesquirrel_div ul.nimblesquirrel_answers li { display: block; list-style: none; margin: 0; border-bottom: 1px solid #ccc; }#nimblesquirrel_div li.nimblesquirrel_answer_li label { background: #d8d8d8; color: #5e6367; display: block; font: normal 11px/15px helvetica,arial,sans-serif; margin-bottom: 4px; padding: 10px 10px 10px 28px; position: relative; text-align: left; text-transform: none; cursor: pointer; }#nimblesquirrel_div li.nimblesquirrel_answer_li:last-child { border-bottom: none; }#nimblesquirrel_div input.nimblesquirrel_extra_small, #nimblesquirrel_div input.nimblesquirrel_explain_extra:focus { background: #fff; border: 2px solid #cbcbcb; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; color: #333; font-size: 12px; margin: 4px 10px 4px 0; padding: 5px; width: 165px; }#nimblesquirrel_div li.nimblesquirrel_answer_li input.nimblesquirrel_radio, #nimblesquirrel_div li.ki_answer_li input.nimblesquirrel_checkbox { background: none; border: 0; left: 7px; margin: 0 0 0 2px; padding: 0; position: absolute; top: 11px; min-width: 0; }.nps_1_p { font-size:12px; text-align:center; }.nps_score { width: 20px; height: 20px; display: block; background-color: #e5e5e5; text-align: center; box-shadow: 1px 1px #afadad; border-radius: 3px; float: left; margin-right: 3px; font-size: 12px; cursor: pointer; font-family: sans-serif; }.nps_score_box {width: 100%; display: block; }html div#nimblesquirrel_div .nimblesquirrel_h1 { color: #404040; display: block; font: bold 14px/18px helvetica,arial,sans-serif; padding: 8px 15px 8px; text-align: center; text-transform: none; white-space: normal;}.ns_lead_form { text-align: left; font-size: 12px; }.ns_lead_form label { clear:left; display:block; margin-top:10px; }.ns_lead_form .select { font-size: 12px; }.ns_lead_form .radio-group label {clear:none; display:inline-block; }.ns_lead_form .checkbox-group label {clear:none; display:inline-block; }.ns_lead_form .text-input { padding: 2px; margin: 0; width: 95%; font-size:12px; }.ns_lead_form .text-area { padding:2px; margin: 0; width: 95%; font-size:12px; height:100px; } .ns_lead_form .calendar { padding: 2px; margin: 0; width: 95%; font-size: 12px; }";void 0!==ns_theme&&2===ns_theme&&(e="html #nimblesquirrel_main { overflow: hidden; padding: 4px 0; -webkit-box-sizing: content-box; background: #f3f3f3; border: solid 1px #f3efef; border-bottom: none; -webkit-box-shadow: #ccc 1px 2px 3px -2px; -moz-box-shadow: #ccc 1px 2px 3px -2px; box-shadow: #ccc 1px 2px 3px -2px; -webkit-border-top-left-radius: 4px; -moz-border-radius-topleft: 4px; border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; -moz-border-radius-topright: 4px; border-top-right-radius: 4px; }#nimblesquirrel_div { background: none; border: 0; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; bottom: 0px; height: auto; margin: 0; padding: 0; position: fixed !important; right: 30px; width: 287px; z-index: 99999; }#nimblesquirrel_div hr { }#nimblesquirrel_tab { display: block; border-radius:50px; height: 25px; border: solid 1px #f3f3f3; position: absolute; top: -30px; right: 0; z-index: 900; text-decoration: none; text-align: center; color: #53575a; font-size: 17px; line-height:25px; font-weight: bold; background: #f3f3f3;-webkit-box-shadow: #ccc 1px 2px 3px -2px; -moz-box-shadow: #ccc 1px 2px 3px -2px; box-shadow: #ccc 1px 2px 3px -2px;}#nimblesquirrel_tab_text { width: 25px; display: block; float: left; }#nimblesquirrel_div #nimblesquirrel_buttons { height: 34px; position: relative; }#nimblesquirrel_div #nimblesquirrel_gdpr_messages { font: normal 10px/13px helvetica,arial,sans-serif; color: #53575a; padding: 0 16px; }#nimblesquirrel_div #nimblesquirrel_gdpr_messages a, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:visited, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:hover { color: #53575a; }#nimblesquirrel_div .nimblesquirrel_button, #nimblesquirrel_div .nimblesquirrel_button:hover { border-top: 1px solid #cacaca; background: #d8d8d8; color: #3e3e3e; vertical-align: middle; padding: 6px 16px 6px 16px;text-align:center; text-decoration: none; text-transform: uppercase; display:inline-block; font: normal 12px/normal helvetica,arial,sans-serif; float: right; margin-right: 16px; margin-top: 3px; }#nimblesquirrel_div .nimblesquirrel_powered_by, #nimblesquirrel_div .nimblesquirrel_powered_by:hover {display: inline-block; color: #53575a; margin-left: 5px; font: normal 10px/13px helvetica,arial,sans-serif; height: 13px; text-decoration: none; padding-left: 11px; float: left; margin-top: 11px; }html div#nimblesquirrel_div hr { border-collapse: collapse; border:none; border-top: 1px solid #e2e2e2; display: block; margin: 13px 0 5px; }#nimblesquirrel_div ul.nimblesquirrel_answers { margin-left: 10px; margin-right: 10px; display: block; list-style: none; margin-bottom: 2px; overflow: hidden; padding: 0 15px; border: 1px solid #e2e2e2; background-color: #dfdfdf; padding: 10px;}#nimblesquirrel_div ul.nimblesquirrel_answers li { display: block; list-style: none; margin: 0; border-bottom: 1px solid #ccc; }#nimblesquirrel_div li.nimblesquirrel_answer_li label { background: #dfdfdf; color: #5e6367; display: block; font: normal 11px/15px helvetica,arial,sans-serif; margin-bottom: 4px; padding: 10px 10px 10px 28px; position: relative; text-align: left; text-transform: none; cursor: pointer; }#nimblesquirrel_div li.nimblesquirrel_answer_li:last-child { border-bottom: none; }#nimblesquirrel_div input.nimblesquirrel_extra_small, #nimblesquirrel_div input.nimblesquirrel_explain_extra:focus { background: #fff; border: 2px solid #cbcbcb; border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0; color: #333; font-size: 12px; margin: 10px 10px -5px 0; padding: 5px; width: 90%; }#nimblesquirrel_div li.nimblesquirrel_answer_li input.nimblesquirrel_radio, #nimblesquirrel_div li.ki_answer_li input.nimblesquirrel_checkbox { background: none; border: 0; left: 7px; margin: 0 0 0 2px; padding: 0; position: absolute; top: 11px; min-width: 0; }.nps_1_p { font-size:12px; text-align:center; }.nps_score { width: 20px; height: 20px; display: block; background-color: #e5e5e5; text-align: center; box-shadow: 1px 1px #afadad; border-radius: 3px; float: left; margin-right: 3px; font-size: 12px; cursor: pointer; font-family: sans-serif; }.nps_score_box {width: 100%; display: block; }html div#nimblesquirrel_div .nimblesquirrel_h1 { color: ##3e3e3e; display: block; font: bold 14px/18px helvetica,arial,sans-serif; padding: 8px 15px 8px; text-align: center; text-transform: none; white-space: normal;}"),void 0!==ns_dark&&1===ns_dark&&(e+="html #nimblesquirrel_main {background-color: #555555; color: white; border: 1px solid #464646;} #nimblesquirrel_tab {background-color: #555555; color:white; border: 1px solid #464646; "+(void 0!==ns_theme&&1===ns_theme?" border-bottom:none;":"")+"}html div#nimblesquirrel_div h1.nimblesquirrel_h1 { color:white; }#nimblesquirrel_div ul.nimblesquirrel_answers{ margin-left: 0; margin-right: 0; background-color: #424242; border: 1px solid #464646; margin-left: 0; margin-right: 0;}#nimblesquirrel_div li.nimblesquirrel_answer_li label{ background-color: #424242; color:white;}html div#nimblesquirrel_div hr { border-top: 1px solid #4f4f4f; }#nimblesquirrel_div .nimblesquirrel_button, #nimblesquirrel_div .nimblesquirrel_button:hover {background-color: #424242; border: 1px solid #464646; color:white;}#nimblesquirrel_div input.nimblesquirrel_extra_small, #nimblesquirrel_div input.nimblesquirrel_explain_extra:focus {background-color: #555555; border-color: #424242;}#nimblesquirrel_div #nimblesquirrel_gdpr_messages, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:visited, #nimblesquirrel_div #nimblesquirrel_gdpr_messages a:hover, #nimblesquirrel_div .nimblesquirrel_powered_by, #nimblesquirrel_div .nimblesquirrel_powered_by:hover {color:white;}.nps_1_p { font-size:12px; text-align:center; }.nps_score { width: 23px; height: 20px; display: block; background-color: #555555; color:#FFF; text-align: center; box-shadow: 1px 1px #666666; border-radius: 3px; float: left; margin-right: 3px; font-size: 12px; cursor: pointer; font-family: sans-serif; }.nps_score_box {width: 100%; display: block; }"),"undefined"!=typeof ns_override_html&&(e+="span.emoji-outer { height:2.5em; width:2.5em; margin-left:10px; margin-right:10px; cursor:pointer; }",e+="ul.nimblesquirrel_answers { text-align:center; }"),"undefined"!=typeof ns_hide_min&&"1"===ns_hide_min&&(e+="#nimblesquirrel_tab { display: none !important; }"),"undefined"!=typeof ns_div&&(e+="div#nimblesquirrel_div { position: static !important; right: initial !important; }"),head=document.getElementsByTagName("head")[0],style=document.createElement("style"),style.type="text/css",style.styleSheet?style.styleSheet.cssText=e:style.appendChild(document.createTextNode(e)),head.appendChild(style),speechingfunction(),question_string_output="";for(var i=ns_question_array.length,n=0;n<i;n++)if(void 0===window.ns_question_array[n].ns_string);else{question_string_output+="<li id='nimblesquirrel_answer_230184' class='nimblesquirrel_answer_li'>";var r=ns_question_array[n].ns_string;r=r.replace(/\\/g,""),"1"==window.ns_question_array[n].ns_extra?(question_string_output+="<label><input type='radio' name='ns_radio_choice' value='"+ns_question_array[n].ns_choice_id+"' ncid='"+ns_question_array[n].ns_choice_id+"' class='nimblesquirrel_radio'>"+r,question_string_output+="<input type='text' name='ns_input_extra' class='nimblesquirrel_extra_small' value='' id='ns_extra_input_"+ns_question_array[n].ns_choice_id+"' style='display:block;'>",question_string_output+="</label></li>"):question_string_output+="<label><input type='radio' name='ns_radio_choice' value='"+ns_question_array[n].ns_choice_id+"' class='nimblesquirrel_radio'>"+r+"</label></li>"}"undefined"!=typeof ns_override_html&&""!==ns_override_html&&(question_string_output=ns_override_html),question_string_output=ns_process_emoji(question_string_output);var t=document.createElement("div");if(t.id="nimblesquirrel_div","undefined"!=typeof ns_div){var o=document.getElementById(ns_div);if("undefined"!=typeof ns_clear_div&&"1"===ns_clear_div&&(o.innerHTML=""),o.appendChild(t),"undefined"!=typeof ns_hide_div)document.getElementById(ns_hide_div).style.display="none"}else document.body.appendChild(t);var s=document.createElement("div");s.id="nimblesquirrel_main",s.style.display="block",(d=document.getElementById("nimblesquirrel_div")).appendChild(s);var l=document.createElement("a");l.title="",l.href="#",l.id="nimblesquirrel_tab",l.innerHTML="<span id='nimblesquirrel_tab_text'>-</span>";var d=document.getElementById("nimblesquirrel_div");if(l.onclick=function(){var e=document.getElementById("nimblesquirrel_main"),i=document.getElementById("nimblesquirrel_tab_text");"block"==e.style.display?(e.style.display="none",setCookie("ns_display","no",7),i.innerHTML="+"):(e.style.display="block",setCookie("ns_display","yes",7),i.innerHTML="-")},d.appendChild(l),ns_google_form.length>0){d=document.getElementById("nimblesquirrel_main");var a=document.createElement("div");a.id="nimblesquirrel_googleform",a.innerHTML=ns_google_form,d.appendChild(a),(f=document.createElement("div")).id="nimblesquirrel_buttons",d.appendChild(f)}else{var _=document.createElement("h1");_.id="nimblesquirrel_h1id",_.setAttribute("class","nimblesquirrel_h1"),_.setAttribute("className","nimblesquirrel_h1"),_.innerHTML=ns_question,_.style.display="block",(d=document.getElementById("nimblesquirrel_main")).appendChild(_);var p=document.createElement("form");p.method="POST",p.action="#",p.id="nimblesquirrel_form",p.style.display="block",p.innerHTML="",(d=document.getElementById("nimblesquirrel_main")).appendChild(p);var m=document.createElement("div");m.id="nimblesquirrel_questions",(d=document.getElementById("nimblesquirrel_form")).appendChild(m);var u=document.createElement("div");u.id="nimblesquirrel_question_81400",u.setAttribute("class","nimblesquirrel_question"),u.setAttribute("className","nimblesquirrel_question"),u.setAttribute("class","nimblesquirrel_top"),u.setAttribute("className","nimblesquirrel_top"),(d=document.getElementById("nimblesquirrel_questions")).appendChild(u);var c=document.createElement("div");c.id="nimblesquirrel_thank_you",c.setAttribute("class","nimblesquirrel_h1"),c.setAttribute("className","nimblesquirrel_h1"),c.innerHTML=ns_thank_you_text,c.style.display="none",(d=document.getElementById("nimblesquirrel_main")).appendChild(c);var b=document.createElement("h1");b.id="nimblesquirrel_processing",b.setAttribute("class","nimblesquirrel_h1"),b.setAttribute("className","nimblesquirrel_h1"),b.innerHTML="Sending data...",b.style.display="none",(d=document.getElementById("nimblesquirrel_main")).appendChild(b);var g=document.createElement("ul");g.id="nimblesquirrel_question_81400_answers",g.setAttribute("class","nimblesquirrel_answers"),g.setAttribute("className","nimblesquirrel_answers"),(d=document.getElementById("nimblesquirrel_question_81400")).appendChild(g);var f,x=document.createElement("hr");if((d=document.getElementById("nimblesquirrel_form")).appendChild(x),(f=document.createElement("div")).id="nimblesquirrel_buttons",(d=document.getElementById("nimblesquirrel_form")).appendChild(f),void 0!==ns_type&&ns_type<1){var h=document.createElement("div");h.id="nimblesquirrel_gdpr_messages",h.innerHTML='<label><input type="checkbox" id="nimblesquirrel_gdpr"> I agree for my personal data, provided to this survey/lead form, to be processed by '+ns_gdpr_company_name+" and NimbleSquirrel, for the purpose of "+ns_gdpr_purpose+", for the time of "+ns_gdpr_retention_period+' days as per the GDPR.</label><br><br><span>We use NimbleSquirrel as our survey/lead form collector. By clicking below to submit this form, you acknowledge that the information you provide will be transferred to NimbleSquirrel for processing in accordance with their <a href="" target="_blank">Privacy Policy</a>.</span>';var v=document.createElement("a");v.id="nimblesquirrel_submit_button",v.href="#",v.title="Send",v.innerHTML="Send",v.setAttribute("class","nimblesquirrel_button"),v.setAttribute("className","nimblesquirrel_button"),v.onclick=function(){for(var e,i=document.getElementsByName("ns_radio_choice"),n=0,r=i.length;n<r;n++){if(void 0!==i[n]&&i[n].checked)if(e=i[n].value,null==document.getElementById("ns_extra_input_"+e))var t="";else t=document.getElementById("ns_extra_input_"+e).value}if(void 0!==ns_lfid&&parseInt(ns_lfid)>0){var o=document.getElementById("nimblesquirrel_form").elements,s=new Object;for(n=0;n<o.length;n++){var l=o[n].name;if("date"===o[n].type||"text"===o[n].type||"email"===o[n].type||"number"===o[n].type||"textarea"===o[n].type)val=null===o[n].value?"":o[n].value,s[l]=new Object,s[l]=val;else if("checkbox"===o[n].type||"radio"===o[n].type){document.getElementById(o[n].id).checked&&(val=null===o[n].value?"":o[n].value,s[l]=new Object,s[l]=val)}else"select-one"===o[n].type?(val=null===o[n].value?"":o[n].value,s[l]=new Object,s[l]=val):"hidden"===o[n].type&&(s[l]=new Object,s[l]="")}var d=JSON.stringify(s)}document.getElementById("nimblesquirrel_form").style.display="none",document.getElementById("nimblesquirrel_h1id").style.display="none";var a,_,p=document.getElementById("nimblesquirrel_processing");p.style.display="block",(a=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).onload=function(){"received"==this.responseText&&(p.style.display="none",setCookie("ns_participated","yes",14),"undefined"!=typeof ns_hide_div?document.getElementById(ns_hide_div).style.display="block":document.getElementById("nimblesquirrel_thank_you").style.display="block")},_="id="+encodeURIComponent(ns_id);var m=new Object;void 0!==ns_sid&&parseInt(ns_sid)>0?(_+="&sid="+encodeURIComponent(ns_sid),_+="&choice="+encodeURIComponent(e),_+="&extra="+encodeURIComponent(t),_+="&page="+encodeURIComponent(document.URL),a.open("POST","https://nimblesquirrel.com/api/v2.0/api.php?a=receive_response",!0),m.sid=ns_sid,m.choice=e,m.extra=t,m.page=document.URL):void 0!==ns_lfid&&parseInt(ns_lfid)>0&&(_+="&lfid="+encodeURIComponent(ns_lfid),_+="&data="+encodeURIComponent(d),_+="&page="+encodeURIComponent(document.URL),a.open("POST","https://nimblesquirrel.com/api/v2.0/api.php?a=receive_response_lf",!0),m.lfid=ns_lfid,m.data=s,m.page=document.URL),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.send(_)},(d=document.getElementById("nimblesquirrel_buttons")).appendChild(v)}}var y=document.createElement("a");y.innerHTML="Powered by nimbleSquirrel",y.target="_BLANK",y.href="https://nimblesquirrel.com/?utm_source=survey&utm_medium=survey&utm_campaign="+window.location.hostname,y.setAttribute("class","nimblesquirrel_powered_by"),y.setAttribute("className","nimblesquirrel_powered_by"),(d=document.getElementById("nimblesquirrel_buttons")).appendChild(y)}function speechingfunction(){setTimeout(function(){"undefined"!=typeof EmojiConvertor?ns_initialize_emoji():speechingfunction()},500)}function submitNpsScore(e){document.getElementById("nimblesquirrel_form").style.display="none",document.getElementById("nimblesquirrel_h1id").style.display="none";var i,n,r=document.getElementById("nimblesquirrel_processing");r.style.display="block",(i=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")).onload=function(){"received"==this.responseText&&(r.style.display="none",setCookie("ns_participated","yes",14),"undefined"!=typeof ns_hide_div?document.getElementById(ns_hide_div).style.display="block":document.getElementById("nimblesquirrel_thank_you").style.display="block")},n="id="+encodeURIComponent(ns_id),n+="&sid="+encodeURIComponent(ns_sid),n+="&nps="+encodeURIComponent(e),n+="&page="+encodeURIComponent(document.URL),i.open("POST","https://nimblesquirrel.com/api/v2.0/api.php?a=receive_response",!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.send(n)}function setCookie(e,i,n){var r=new Date;r.setDate(r.getDate()+n);var t=escape(i)+(null==n?"":"; expires="+r.toUTCString());document.cookie=e+"="+t}function getCookie(e){var i=document.cookie,n=i.indexOf(" "+e+"=");if(-1==n&&(n=i.indexOf(e+"=")),-1==n)i=null;else{n=i.indexOf("=",n)+1;var r=i.indexOf(";",n);-1==r&&(r=i.length),i=unescape(i.substring(n,r))}return i}window.onload=ns_start,document.body.onclick=function(e){(e=window.event?event.srcElement:e.target).className&&-1!=e.className.indexOf("nps_score")&&submitNpsScore(e.getAttribute("nps")),e.className&&-1!=e.className.indexOf("emoji-inner")&&(parent1=e.parentNode.parentNode,parent1.className&&-1!=parent1.className.indexOf("happy_score")&&submitNpsScore(parent1.getAttribute("nps")))};var json_parse=function(){"use strict";var e,i,n,r,t={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(i){throw{name:"SyntaxError",message:i,at:e,text:n}},s=function(r){return r&&r!==i&&o("Expected '"+r+"' instead of '"+i+"'"),i=n.charAt(e),e+=1,i},l=function(){var e,n="";for("-"===i&&(n="-",s("-"));i>="0"&&i<="9";)n+=i,s();if("."===i)for(n+=".";s()&&i>="0"&&i<="9";)n+=i;if("e"===i||"E"===i)for(n+=i,s(),"-"!==i&&"+"!==i||(n+=i,s());i>="0"&&i<="9";)n+=i,s();if(e=+n,isFinite(e))return e;o("Bad number")},d=function(){var e,n,r,l="";if('"'===i)for(;s();){if('"'===i)return s(),l;if("\\"===i)if(s(),"u"===i){for(r=0,n=0;n<4&&(e=parseInt(s(),16),isFinite(e));n+=1)r=16*r+e;l+=String.fromCharCode(r)}else{if("string"!=typeof t[i])break;l+=t[i]}else l+=i}o("Bad string")},a=function(){for(;i&&i<=" ";)s()};return r=function(){switch(a(),i){case"{":return function(){var e,n={};if("{"===i){if(s("{"),a(),"}"===i)return s("}"),n;for(;i;){if(e=d(),a(),s(":"),Object.hasOwnProperty.call(n,e)&&o('Duplicate key "'+e+'"'),n[e]=r(),a(),"}"===i)return s("}"),n;s(","),a()}}o("Bad object")}();case"[":return function(){var e=[];if("["===i){if(s("["),a(),"]"===i)return s("]"),e;for(;i;){if(e.push(r()),a(),"]"===i)return s("]"),e;s(","),a()}}o("Bad array")}();case'"':return d();case"-":return l();default:return i>="0"&&i<="9"?l():function(){switch(i){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}o("Unexpected '"+i+"'")}()}},function(t,s){var l;return n=t,e=0,i=" ",l=r(),a(),i&&o("Syntax error"),"function"==typeof s?function e(i,n){var r,t,o=i[n];if(o&&"object"==typeof o)for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(void 0!==(t=e(o,r))?o[r]=t:delete o[r]);return s.call(i,n,o)}({"":l},""):l}}();function nslog(e){window.console&&window.console.log(e)}