?
Current Path : /home1/savoy/sportsmeet.net/wp-content/plugins/jetpack/_inc/build/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/sportsmeet.net/wp-content/plugins/jetpack/_inc/build/polldaddy-shortcode.min.js |
!function(t,e){function d(e){try{return e?t.JSON.parse(e):null}catch(t){return null}}t.polldaddyshortcode={render:function(){const n=e.querySelectorAll("div.pd-rating[data-settings]");if(e.querySelectorAll("div.PDS_Poll[data-settings]").forEach((n=>{if(n.hasAttribute("data-pd-init-done"))return;n.setAttribute("data-pd-init-done","1");const i=d(n.getAttribute("data-settings"));if(i){let d;try{d=new t.URL(i.url,"https://invalid.tld")}catch(t){return!1}if("secure.polldaddy.com"!==d.hostname&&"static.polldaddy.com"!==d.hostname)return!1;const n=d.pathname;if(!/\/?p\/\d+\.js/.test(n))return!1;const r=e.createElement("script");r.src=i.url,r.async=!0,e.head.appendChild(r)}})),n.length){let t="";if(n.forEach((e=>{if(e.hasAttribute("data-pd-init-done"))return;e.setAttribute("data-pd-init-done","1");const n=d(e.getAttribute("data-settings"));n&&(t+=`\n\t\t\t\t\t\tPDRTJS_settings_${n.id}${n.item_id} = ${n.settings};\n\t\t\t\t\t\tif ( typeof PDRTJS_RATING !== 'undefined' ) {\n\t\t\t\t\t\t\tif ( typeof PDRTJS_${n.id}${n.item_id} === 'undefined' ) {\n\t\t\t\t\t\t\t\tPDRTJS_${n.id}${n.item_id} =\n\t\t\t\t\t\t\t\t\tnew PDRTJS_RATING( PDRTJS_settings_${n.id}${n.item_id} );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t`)})),t){const d=e.querySelector("#polldaddyRatings");if(d){const n=e.createElement("script");n.id="polldaddyDynamicRatings",n.text=t,d.after(n)}}}}},e.body.addEventListener("is.post-load",(()=>t.polldaddyshortcode.render())),void 0!==t.jQuery?(t.jQuery(e.body).on("pd-script-load",(()=>t.polldaddyshortcode.render())),t.jQuery(e.body).trigger("pd-script-load")):(e.body.addEventListener("pd-script-load",(()=>t.polldaddyshortcode.render())),e.body.dispatchEvent(new Event("pd-script-load")))}(window,document);