define(["jquery"],function(c){var f=c("html");if(f.data("xwiki-document")!==undefined){return{document:f.data("xwiki-document"),wiki:f.data("xwiki-wiki"),space:f.data("xwiki-space"),page:f.data("xwiki-page"),version:f.data("xwiki-version"),restURL:f.data("xwiki-rest-url"),form_token:f.data("xwiki-form-token")}}var g=c("meta");var k=["document","wiki","space","page","version","restURL","form_token"];var d={};for(var e=0;e<g.length;++e){var h=c(g[e]);var a=h.attr("name");for(var b=0;b<k.length;++b){if(a==k[b]){d[a]=h.attr("content")}}}return d});