PageSourceSearch

https://www.sorryteacher.com/assets/StaticPage-B8bHdptt.js

js sorryteacher.com collected 2026-10-02 01:47:13 UTC 1,254 bytes, 1 lines download raw bytes

1import{r,j as e,A as g}from"./index-rhtSfL_o.js";function p({slug:t}){const[n,u]=r.useState(null),[x,c]=r.useState(!0),[o,i]=r.useState(null);return r.useEffect(()=>{if(!t){i("Invalid page slug"),c(!1);return}(async()=>{var l,d;c(!0),i(null);try{const s=(await g.get(`/user/page/${t}`)).data;if(s!=null&&s.status&&(s!=null&&s.data))u(s.data);else throw new Error("Invalid response structure")}catch(a){console.error(a),i(((d=(l=a.response)==null?void 0:l.data)==null?void 0:d.message)||a.message||"An error occurred")}finally{c(!1)}})()},[t]),x?e.jsxs("div",{className:"mainLoader",children:[e.jsxs("div",{class:"loader segment1",children:[e.jsx("span",{}),e.jsx("i",{})]}),e.jsxs("div",{class:"loader segment2",children:[e.jsx("span",{}),e.jsx("i",{})]}),e.jsxs("div",{class:"loader segment3",children:[e.jsx("span",{}),e.jsx("i",{})]})]}):o?e.jsxs("p",{children:["Error: ",o]}):e.jsx(e.Fragment,{children:e.jsxs("section",{className:"policySection",children:[e.jsxs("div",{className:"customHead",children:[e.jsx("h1",{children:n.title}),e.jsx("span",{className:"staticPageSubHeading",children:n.sub_heading})]}),e.jsx("div",{className:"term-and-consition-head custompadding pb-3",dangerouslySetInnerHTML:{__html:n.content}})]})})}export{p as default};

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.