PageSourceSearch

https://www.publicnewsservice.org/assets/PublicListPage-549d460d.js

js publicnewsservice.org collected 2026-10-01 08:48:43 UTC 1,607 bytes, 12 lines download raw bytes

1import{v as n,u as i,j as t,c as r,aG as o,aH as l,g as u,d as a,L as d,o as c,P as m}from"./index-489884ef.js";const g=({regions:e})=>(n(),i(),t.jsxs("div",{className:"rw-segment-public rw-table-wrapper-responsive",children:[t.jsx("h3",{className:"text-gray-700 hover:text-gray-900 dark:text-white dark:hover:text-white text-2xl font-medium",children:"Regions"}),e.map((s,C)=>t.jsx("div",{className:"float-left",onClick:P=>r.navigate(r.routes.regionStorisPublicList({id:s.id,slug:o(s.name)})),children:t.jsx(l,{uuid:s.id,text:s.name})},s.id))]})),x=({nid:e})=>{const s=r.useParams();return{variables:{term:s.keyword,page:s.page?parseInt(s.page):1,sortColumn:s.sortColumn,sortOrder:s.sortOrder,status:s.status?s.status:"ACTIVE"}}},p=u`
2  query FindPublicRegions($term : String,  $page: Int, $sortColumn: String, $sortOrder: String, $status: String) {
3    regions(term: $term, page: $page, sortColumn: $sortColumn, sortOrder: $sortOrder, status: $status) {
4      id
5      name
6      isActive
7      brandImage
8      brandName
9    }
10    regionsCount(term: $term,  status: $status)
11  }
12`,j=()=>t.jsx(d,{}),b=({error:e})=>{const{setError:s}=c();return e&&s(e),null},h=({regions:e,regionsCount:s})=>t.jsxs(t.Fragment,{children:[t.jsx(g,{regions:e,regionsCount:s}),t.jsx(m,{count:s}),e.length==0&&t.jsx("div",{className:"rw-text-center mt-3",children:"No results found. "})]}),$=a.createCell({beforeQuery:x,QUERY:p,Loading:j,Failure:b,Success:h,displayName:"PublicRegionsCell"}),f=()=>t.jsxs(t.Fragment,{children:[t.jsx(a.Metadata,{title:"Regions",description:"Regions page"}),t.jsx($,{})]});export{f 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.