mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-12-01 14:21:56 +00:00
18 lines
8.6 KiB
HTML
18 lines
8.6 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<!-- saved from url=(0087)https://public-api.wordpress.com/wp-admin/rest-proxy/#https://daysyearoff.wordpress.com -->
|
||
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<script>var _wpcomProxyRequestHasCookie = true, _wpcomProxyRequestDC = 'dfw';</script>
|
||
|
<script type="text/javascript" src="./rlt-proxy.js.download"></script>
|
||
|
<script type="text/javascript">
|
||
|
// compute origin from location hash
|
||
|
var parentOrigin;
|
||
|
if (window.location.hash) {
|
||
|
parentOrigin = window.location.hash.substr(1);
|
||
|
}
|
||
|
|
||
|
rltInitialize({ parentOrigin: parentOrigin });
|
||
|
</script>
|
||
|
<script>!function(){var d=["Allow","Date","Content-Type","Content-Length","Link","X-WP-Total","X-WP-TotalPages"],c={},e=["https://wordpress.com","https://cloud.jetpack.com","http://wpcalypso.wordpress.com","http://widgets.wp.com","https://widgets.wp.com","https://dev-mc.a8c.com","https://mc.a8c.com","https://vrc.a8c.com","https://dserve.a8c.com","http://calypso.localhost:3000","https://calypso.localhost:3000","http://jetpack.cloud.localhost:3000","https://jetpack.cloud.localhost:3000","http://calypso.localhost:3001","https://calypso.localhost:3001","https://calypso.live","http://127.0.0.1:41050","http://send.linguine.localhost:3000"],n=window.location.hash.replace("#","").split("/",3).join("/"),s=!1,i=(-1<["https://mc.a8c.com","https://dev-mc.a8c.com","https://dev-mc.wordpress.com"].indexOf(n)&&(s=!0),{});function l(){for(var e=document.cookie.split(/;\s*/),o=0;o<e.length;o++)if(e[o].match(/^wp_api=/))return(e=e[o].split("="))[1]}var u,a=!0,r=[];function h(e){var o,n=[];function s(t,e){var o,a;if(Array.isArray(e))e.forEach(function(e,o){s(t+"["+("object"==typeof e&&null!==e?o:"")+"]",e)});else if("object"==typeof e)for(o in e)s(t+"["+o+"]",e[o]);else a=e,n.push(encodeURIComponent(t)+"="+encodeURIComponent(null==a?"":a))}if(!e)return"";for(o in e)s(o,e[o]);return n.join("&")}function f(e){return e.response?"json"===e.responseType?e.response:"blob"===e.responseType?"application/json"===e.response.type?{body:null}:e.response:JSON.parse(e.response):{body:null}}function y(p,c,i){return function(e,o){a=o,o=[],n={},s={},(o=(t=e)&&t.headers?t.headers[0]&&t.headers[0].name?t.headers:Object.keys(t.headers).map(function(e){return{name:e,value:t.headers[e]}}):o).forEach(function(e){n[e.name.toUpperCase()]=e.value}),d.forEach(function(e){var o=e.toUpperCase();n[o]?s[e]=n[o]:a&&(s[e]=a.getResponseHeader(e))}),o=s;var t,a,n,s,r=e instanceof Blob?e:e.body;m(i?[r,e.code,o,p]:[r,e.code,p],c)}}function m(e,o){o&&(e=JSON.stringify(e)),window.parent.postMessage(e,n)}function p(r,p){"string"!=typeof r.apiVersion&&(r.apiVersion="1",r.version)&&(r.apiVersion=r.version.replace(/[^0-9\.]/,""));var e,o=window.location.protocol+"//public-api.wordpress.com/rest/v"+r.apiVersion+r.path+(-1===r.path.indexOf("?")?"?":"&")+"http_envelope=1",t=(r.apiNamespace&&(o=window.location.protocol+"//public-api.wordpress.com/"+r.apiNamespace+r.path+(-1===r.path.indexOf("?")?"?":"&")+"_envelope=1"),r.query&&("string"==typeof r.query?o+="&"+r.query.replace(/^&/,""):o+="&"+h(r.query)),new XMLHttpRequest),a=rltGetToken(),o=(t.open(r.method||"GET",o),t.responseType="blob"===(r.responseType||"").toLowerCase()?"blob":"json",l());r.token?t.setRequestHeader("Authorization","Bearer "+r.token):o?t.setRequestHeader("Authorization","X-WPCOOKIE "+o+":"+(s?"1":"0")+":"+n):a&&t.setRequestHeader("Authorization","X_WPCOM_RLT "+a),r.formData&&0<r.formData.length?e=function(e){var o,t,a,n,s=new FormData;for(o in e.body)e.body.hasOwnProperty(o)&&s.append(o,e.body[o]);for(n=0;n<e.formData.length;n++)"object"==typeof e.formData[n][1]&&void 0!==e.formData[n][1].fileContents?(o=e.formData[n][0],t=e.formData[n][1].fileName,a=new Blob([e.formData[n][1].fileContents],{type:e.formData[n][1].mimeType}),s.append(o,a,t)):s.append(e.formData[n][0],e.formData[n][1]);return s}(r):r.body&&(e=JSON.stringify(r.body),t.setRequestHeader("Content-Type","application/json")),t.onload=function(){var e,o=j(t);delete c[r.callback],o?(e=JSON.parse(i[r.callback]),delete i[r.callback]):e=f(t),e.code=e.code||e.status||t.status,400===parseInt(e.code)&&a&&(b("c3po.provider.response.400","1","c"),rltInvalidateToken(a)),403===parseInt(e.code)&&a&&b("c3po.provider.response.403","1","c"),y(r.callback,p,r.supports_args)(e,this)},t.onerror=function(){var t,a,n,s;delete c[r.callback],t=r.callback,a=p,n=r.supports_args,s=!r.supports_error_obj,function(){var e=s?"error":{message:this.statusText},o=s?0:this.status;m(n?[e,o,{},t]:[e,o,t],a)}()},t.onreadystatechange=function(){if(t.readyState===XMLHttpRequest.HEADERS_RECEIVED&&j(t)){var s=r.callback;var e=t;e.responseType="text";let n=0;i[s]=null,e.addEventListener("progress",
|
||
|
<script type="text/javascript" data-name="TokenSigning" data-by="Web-eID extension" src="chrome-extension://ncibgoaomkmdpilpocfeponihegamlic/token-signing-page-script.js"></script></head>
|
||
|
<body>
|
||
|
</body></html>
|