Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
let authenticityTokenPromise;function RefreshFormAuthenticityToken(){const e=new Date().getTime();return authenticityTokenPromise=get(`/csrf_token.json?gf=${e}`).then(t=>{let n=window.App.authenticityToken=t.token;return document.querySelector("meta[name=csrf-param]").content=t.param,document.querySelector("meta[name=csrf-token]").content=t.token,document.querySelectorAll(`input[name=${t.param}]`).forEach(o=>{o.value=t.token}),n}).catch(()=>{window.App.allowDebugErrorMessages&&console.log("Failed to refresh authenticity_token")})}async function fetchAuthenticityToken(e=!1){var n;return window.App.authenticityToken!==((n=document.querySelector("meta[name=csrf-token]"))==null?void 0:n.content)||window.performance.now()/1e3>600||e&&!authenticityTokenPromise?await RefreshFormAuthenticityToken():authenticityTokenPromise?await authenticityTokenPromise:window.App.authenticityToken}async function xhrPromise(providedUrl,options){let url=providedUrl;if(options.headers=Object.assign({"x-requested-with":"XMLHttpRequest"},options.headers),!options.method||options.method.toLowerCase()==="get"){let e=new URLSearchParams(options.data).toString();e&&(url=`${url}?${e}`)}else await updateOptions(options);return new Promise((resolve,reject)=>{fetch(url,options).then(e=>(e.ok||reject({response:e.json()||e.text(),status:e.status,error:e.statusText}),e)).then(async response=>{const contentType=response.headers.get("Content-Type"),text=await response.text();if(/text\/javascript/.test(contentType)){const validHost=["ifttt.com","web-rehearsal.ifttt.com","ifttt.me","acceptance.ifttt.com"].includes(new URL(response.url).hostname);return["post","put","patch"].includes(options.method.toLowerCase())&&validHost&&eval(text),text}else{if(/application\/json/.test(contentType))return text?JSON.parse(text):{};if(/text\/html/i.test(contentType))return text}}).then(resolve).catch(e=>{reject({response:"",status:"",error:e})})})}function logRejectedXHRPromise(e,t,n){var r,i,s,a;const o={tags:{status:t},extra:{response:e}};(i=(r=window.App)==null?void 0:r.Sentry)!=null&&i.captureException&&((a=(s=window.App)==null?void 0:s.Sentry)!=null&&a.captureMessage)&&(n instanceof Error?window.App.Sentry.captureException(n,o):typeof n=="string"&&n.length>0?window.App.Sentry.captureMessage(`XHR Promise failed with error: ${n}`,o):window.App.Sentry.captureMessage(`XHR Promise failed with status: ${t}`,o)),window.App.allowDebugErrorMessages&&console.warn("catch",e,t,n)}function rejectedXHRPromiseLogger(e=()=>!0){return function({response:t,status:n,error:o}){return logRejectedXHRPromise(t,n,o),e({response:t,status:n,error:o})}}async function updateOptions(e){e.redirect="error",e.headers=Object.assign({Accept:e.headers.Accept||"application/json","Content-Type":"application/json","X-CSRF-Token":await fetchAuthenticityToken()},e.headers),e.data?e.body=e.data:typeof e.body!="string"&&(e.body=JSON.stringify(e.body))}function put(e,t,n={}){return xhrPromise(e,{method:"put",body:t,headers:n})}function post(e,t,n={}){return xhrPromise(e,{method:"post",body:t,headers:n})}function patch(e,t,n={}){return xhrPromise(e,{method:"PATCH",body:t,headers:n})}function get(e,t={},n={}){return xhrPromise(e,{method:"get",cache:"no-cache",data:t,headers:n})}function del(e,t,n={}){return xhrPromise(e,{method:"delete",body:t,headers:n})}function logError(e){return rejectedXHRPromiseLogger(e)}function putFile(e,t){return xhrPromise(e,{method:"put",data:t,headers:{"Content-Type":t.type},processData:!1})}export{RefreshFormAuthenticityToken as R,patch as a,put as b,putFile as c,del as d,fetchAuthenticityToken as f,get as g,logError as l,post as p,rejectedXHRPromiseLogger as r}; //# sourceMappingURL=api-BMhLuQgf.js.map