Saturday, 3 October 2026

3e5f61d514eba2283f2f8e08462b6cda-scripts

/**handles:passster-cookie,passster-public**/ ((e,t)=>{var n,o;”object”==typeof exports&&”undefined”!=typeof module?module.exports=t():”function”==typeof define&&define.amd?define(t):(e=”undefined”!=typeof globalThis?globalThis:e||self,n=e.Cookies,(o=e.Cookies=t()).noConflict=function(){return e.Cookies=n,o})})(this,function(){function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t],o;for(o in n)e[o]=n[o]}return e}var e;return function t(u,i){function n(e,t,n){if("undefined"!=typeof document){"number"==typeof(n=c({},i,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="",r;for(r in n)n[r]&&(o+="; "+r,!0!==n[r])&&(o+="="+n[r].split(";")[0]);return document.cookie=e+"="+u.write(t,e)+o}}return Object.create({set:n,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;ot.length>0):[]}function n(a,e,r){if(a.redirect)window.location.replace(a.redirect);else if(ps_ajax.unlock_mode){if(e.find(“.passster-error”).hide(),a.requires_reload)return void(window.location.href=s());if(a.content){let s=a.content;ps_ajax.shortcodes&&t.each(ps_ajax.shortcodes,function(t,a){s=s.replace(t,a)}),e.replaceWith(s)}r&&window.location.replace(r)}else window.location.href=s()}function i(t,a){const e=t.find(“.passster-error”);e.text(a||”An error occurred.”),e.show().fadeOut(3500)}async function o(t,e,s,r,o,c,p){try{const r=await fetch(a+”/captcha”,{method:”POST”,credentials:”same-origin”,headers:{“Content-Type”:”application/json”},body:JSON.stringify({token:t,type:e,post_id:ps_ajax.post_id,area_id:o,redirect:c,protection:p||””})}),d=await r.json();d.success?n(d,s,c):i(s,d.error)}catch(t){i(s,”Captcha validation failed.”)}}ps_ajax.link_pass&&(ps_ajax.disable_cookie||(ps_ajax.link_pass.length{window.location.replace(ps_ajax.permalink+”?pts=”+Math.floor(Date.now()/1e3))}):(!function(t){const a=r();a.includes(t)||a.push(t),Cookies.set(“passster”,a.join(“|”),{expires:e(),sameSite:”strict”})}(ps_ajax.link_pass),window.location.replace(ps_ajax.permalink+”?pts=”+Math.floor(Date.now()/1e3))))),t(“.passster-submit”).on(“click”,async function(e){e.preventDefault();const s=t(this),r=s.attr(“data-psid”),o=t(“#”+r),c=o.find(“.passster-password”),p=parseInt(s.attr(“data-post-id”))||ps_ajax.post_id,d=o.find(“form”)[0];if(d&&!d.checkValidity())return void d.reportValidity();const l=c.val(),h=(c.attr(“data-protection-type”)||”password”).replace(/-/g,”_”),u=parseInt(c.attr(“data-area”))||0,f=parseInt(c.attr(“data-list”))||0,_=c.attr(“data-lists”)||””,w=c.attr(“data-protection”)||””,y=s.attr(“data-acf”)||””,m=s.attr(“data-redirect”)||””,j=parseInt(s.attr(“data-term-id”))||0,k=s.attr(“data-post-type”)||””,g=o.closest(“.passster-protected-content”),x=g.length?g.attr(“data-block-id”):””;o.find(“.ps-loader”).css(“display”,”block”);try{const t=await fetch(a+”/unlock”,{method:”POST”,credentials:”same-origin”,headers:{“Content-Type”:”application/json”},body:JSON.stringify({password:l,type:h,post_id:p,area_id:u,block_id:x,list_id:f,lists:_,protection:w,acf:y,redirect:m,term_id:j,post_type:k})}),e=await t.json();o.find(“.ps-loader”).css(“display”,”none”),e.success?n(e,o,m):(i(o,e.error),c.val(“”))}catch(t){o.find(“.ps-loader”).css(“display”,”none”),i(o,”An error […]

source https://cartercapner.com.au/?post_type=wphb_minify_group&p=97507

No comments:

Post a Comment

45e1ef537c04ba4644f80393a642b830-scripts

/**handles:mdp-mates,mdp-speaker,mdp-speaker-player-wavesurfer,googlesitekit-events-provider-content-events,googlesitekit-events-provider-op...