PageSourceSearch

https://granotas.net/assets/modules/accounts-delete.bca6fedf174e09201f9d.min.js

js granotas.net collected 2026-10-01 13:09:37 UTC 2,594 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[1091,5719,34271,99127],{47283:((O,l,a)=>{var f,d;f=[a(49897),a(33530),a(29930)],d=(function(h,_,E){const r={};r.account=function(u,o){s(u,"[[user:delete-this-account-confirm]]","/account","[[user:account-deleted]]",o)},r.content=function(u,o){s(u,"[[user:delete-account-content-confirm]]","/content","[[user:account-content-deleted]]",o)},r.purge=function(u,o){s(u,"[[user:delete-all-confirm]]","","[[user:account-deleted]]",o)};function s(u,o,y,D,g){_.confirm(o,function(P){P&&h.del(`/users/${encodeURIComponent(u)}${y}`,{}).then(()=>{if(E.success(D),typeof g=="function")return g()}).catch(E.error)})}return r}).apply(l,f),d!==void 0&&(O.exports=d)}),49897:((O,l,a)=>{a.r(l),a.d(l,{del:()=>P,get:()=>u,head:()=>o,patch:()=>D,post:()=>y,put:()=>g});var f=a(91749),d=a.n(f),h=a(33530),_=a.n(h);const E=config.relative_path+"/api/v3";async function r(e,n){if(e.url=e.url.startsWith("/api")?config.relative_path+e.url:E+e.url,typeof n=="function"){s(e).then(t=>n(null,t),t=>n(t));return}try{return await s(e)}catch(t){if(t.message==="A valid login session was not found. Please log in and try again."){const{url:i}=await(0,f.fire)("filter:admin.reauth",{url:"login"});return(0,h.confirm)("[[error:api.reauth-required]]",m=>{m&&ajaxify.go(i)})}throw t}}async function s(e){const{url:n}=e;delete e.url,e.data&&!(e.data instanceof FormData)&&(e.data=JSON.stringify(e.data||{}),e.headers["content-type"]="application/json; charset=utf-8"),{options:e}=await(0,f.fire)("filter:api.options",{options:e}),e.data&&(e.body=e.data,delete e.data);const t=await fetch(n,e),{headers:i}=t;if(i.get("x-redirect"))return s({url:i.get("x-redirect"),...e});const m=i.get("content-type"),A=m&&m.startsWith("application/json");let c;if(e.method!=="HEAD"&&(A?c=await t.json():c=await t.text()),!t.ok)throw c?new Error(A?c.status.message:c):new Error(t.statusText);return A&&c&&c.hasOwnProperty("status")&&c.hasOwnProperty("response")?c.response:c}function u(e,n,t){return r({url:e+(n&&Object.keys(n).length?"?"+$.param(n):"")},t)}function o(e,n,t){return r({url:e+(n&&Object.keys(n).length?"?"+$.param(n):""),method:"HEAD"},t)}function y(e,n,t){return r({url:e,method:"POST",data:n,headers:{"x-csrf-token":config.csrf_token}},t)}function D(e,n,t){return r({url:e,method:"PATCH",data:n,headers:{"x-csrf-token":config.csrf_token}},t)}function g(e,n,t){return r({url:e,method:"PUT",data:n,headers:{"x-csrf-token":config.csrf_token}},t)}function P(e,n,t){return r({url:e,method:"DELETE",data:n,headers:{"x-csrf-token":config.csrf_token}},t)}})}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.