1"use strict";(self.webpackChunknodebb=self.webpackChunknodebb||[]).push([[21710,70565,83014,99617],{997:(O,d,a)=>{var f,i;f=[a(74344),a(63281),a(7927)],i=function(l,P,h){const r={};r.account=function(o,u){s(o,"[[user:delete_this_account_confirm]]","/account","[[user:account-deleted]]",u)},r.content=function(o,u){s(o,"[[user:delete_account_content_confirm]]","/content","[[user:account-content-deleted]]",u)},r.purge=function(o,u){s(o,"[[user:delete_all_confirm]]","","[[user:account-deleted]]",u)};function s(o,u,E,g,_){P.confirm(u,function(m){m&&l.del(`/users/${o}${E}`,{}).then(()=>{if(h.success(g),typeof _=="function")return _()}).catch(h.error)})}return r}.apply(d,f),i!==void 0&&(O.exports=i)},74344:(O,d,a)=>{a.r(d),a.d(d,{del:()=>m,get:()=>o,head:()=>u,patch:()=>g,post:()=>E,put:()=>_});var f=a(85233),i=a.n(f),l=a(63281),P=a.n(l);const h=config.relative_path+"/api/v3";async function r(t,n){if(t.url=t.url.startsWith("/api")?config.relative_path+t.url:h+t.url,typeof n=="function"){s(t).then(e=>n(null,e),e=>n(e));return}try{return await s(t)}catch(e){if(e.message==="A valid login session was not found. Please log in and try again.")return(0,l.confirm)("[[error:api.reauth-required]]",y=>{y&&ajaxify.go("login")});throw e}}async function s(t){const{url:n}=t;delete t.url,t.data&&!(t.data instanceof FormData)&&(t.data=JSON.stringify(t.data||{}),t.headers["content-type"]="application/json; charset=utf-8"),{options:t}=await(0,f.fire)("filter:api.options",{options:t}),t.data&&(t.body=t.data,delete t.data);const e=await fetch(n,t),{headers:y}=e,p=y.get("content-type"),D=p&&p.startsWith("application/json");let c;if(t.method!=="head"&&(D?c=await e.json():c=await e.text()),!e.ok)throw c?new Error(D?c.status.message:c):new Error(e.statusText);return D&&c&&c.hasOwnProperty("status")&&c.hasOwnProperty("response")?c.response:c}function o(t,n,e){return r({url:t+(n&&Object.keys(n).length?"?"+$.param(n):"")},e)}function u(t,n,e){return r({url:t+(n&&Object.keys(n).length?"?"+$.param(n):""),method:"head"},e)}function E(t,n,e){return r({url:t,method:"post",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function g(t,n,e){return r({url:t,method:"patch",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function _(t,n,e){return r({url:t,method:"put",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}function m(t,n,e){return r({url:t,method:"delete",data:n,headers:{"x-csrf-token":config.csrf_token}},e)}}}]);
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.