PageSourceSearch

https://www.thingiverse.com/_next/static/chunks/4296.7701a0446c145d43.js

js thingiverse.com collected 2026-09-24 08:25:18 UTC 2,630 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4296],{24296:(e,t,n)=>{n.r(t),n.d(t,{default:()=>v});var r=n(24220),a=n(55434),o=n(9090),c=n(71568),i=n(49893),u=n(43914),l=n(15081),s=n(64641),d=n(80670),p=n(28990),f=n(46593),h=n(65814),m=n(7631),k=n(19568);let v=function(){var e,t=Number((0,h.vh)().id),n=(0,h.x_)(),v=(0,p.A)(),b=(0,c.d4)(m.$0),x=b.data,_=b.status,g=(0,r._)((0,o.useState)(null),2),j=g[0],w=g[1],y=(0,r._)((0,o.useState)(!1),2),M=y[0],A=y[1],E=(0,r._)((0,o.useState)(!1),2),N=E[0],P=E[1];if((0,o.useEffect)(function(){var e=document.title.split(" - ")[0]||"Thingiverse";document.title="Report Make:".concat(t," - ").concat(e)},[t]),(0,o.useEffect)(function(){_!==d.G.Loading&&(x||n.replace("/login?redirect=/make:".concat(t,"/report")))},[x,_,n,t]),(0,o.useEffect)(function(){x&&t&&i.A.getComplete(t).then(w).catch(function(e){var t;return A((null==e||null==(t=e.response)?void 0:t.status)===404)})},[x,t]),M)return(0,a.jsx)(f.default,{});var R=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.Ez,{to:(0,k.cP)({id:t}),children:(null==j||null==(e=j.thing)?void 0:e.name)?"this Make of ".concat(j.thing.name):"this Make"}),(null==j?void 0:j.creator)?(0,a.jsxs)(a.Fragment,{children:[" by ",j.creator.name]}):null]});return(0,a.jsx)(u.P,{children:(0,a.jsxs)("div",{className:"mx-auto box-border w-full max-w-2xl px-4 pb-16",children:[(0,a.jsx)("h1",{className:"py-6 text-content-primary",children:"Report as inappropriate"}),(0,a.jsx)(s.Z,{children:(0,a.jsx)(l.d,{entityLink:R,submitAriaLabel:"Report Make",withReasonPicker:!0,submitting:N,onSubmit:function(e){P(!0),i.A.report(t,e).then(function(){v.success("Report submitted","Thanks for your report. We'll take a look at it as soon as possible."),n.push((0,k.cP)({id:t}))}).catch(function(e){var t,n,r,a,o,c,i=null!=(t=null!=(n=null==e||null==(a=e.response)||null==(r=a.data)?void 0:r.detail)?n:null==e||null==(c=e.response)||null==(o=c.data)?void 0:o.error)?t:"Unable to submit your report. Please try again.";v.error("Something went wrong",i),P(!1)})}})})]})})}},49893:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(18220),a=n(6946),o=n(37076),c=n(74556);let i=Object.freeze(new(function(e){function t(){var e;return((0,a._)(this,t),(e=(0,r._)(this,t,["/v2/makes"])).createMake=function(t){return e.post("",t)},e.updateMake=function(t,n){return e.patch("/".concat(t),n)},e.deleteMake=function(t){return e.delete("/".concat(t))},e.report=function(t,n){return e.post("/".concat(t,"/report"),n)},e.getComplete=function(t){return e.get("/".concat(t,"/complete"))},t._instance)?(0,c._)(e,t._instance):(t._instance=e,e)}return(0,o._)(t,e),t}(n(39400).A)))}}]);

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.