!function(c){Drupal.behaviors.csfrRpc={attach:function(e,r){"function"==typeof c.cookie&&(c.cookie("csrftoken")?c(document).trigger("csrf.success",[{}]):"object"==typeof generic&&"object"==typeof generic.jsonrpc&&"function"==typeof generic.jsonrpc.fetch?generic.jsonrpc.fetch({method:"csrf.getToken",params:[{}],onSuccess:function(e){c(document).trigger("csrf.success",[e])},onFailure:function(e){c(document).trigger("csrf.error",[e])}}):c(document).trigger("csrf.error",[{}]))}}}(jQuery); //# sourceMappingURL=rpc_csrftoken.min.js.map