PageSourceSearch

https://floresdegoias.go.gov.br/wp-content/themes/araguaia/bundle/…/view.js?ver=eba26fd35d5ec5d30c5f

js floresdegoias.go.gov.br collected 2026-10-02 21:29:52 UTC 2,191 bytes, 1 lines download raw bytes

1(()=>{"use strict";var e={n:a=>{var r=a&&a.__esModule?()=>a.default:()=>a;return e.d(r,{a:r}),r},d:(a,r)=>{for(var s in r)e.o(r,s)&&!e.o(a,s)&&Object.defineProperty(a,s,{enumerable:!0,get:r[s]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)};const a=window.wp.domReady;var r=e.n(a);const s=window.wp.element,t=window.wp.data,l=window.wp.url,o=window.location.href,c={params:(0,l.getQueryArgs)(o),values:{}},n=(0,t.createReduxStore)("search-params",{reducer(e=c,a){switch(a.type){case"SET_SEARCH_PARAM":return{...e,params:{...e.params,[a.param]:a.value}};case"SET_SEARCH_PARAMS":{const r={...e.params,...a.searchParams},s=window.location.href,t=(0,l.addQueryArgs)(s,r);return window.history.replaceState({},document.title,t),{...e,params:{...e.params,...a.searchParams}}}case"UNSET_SEARCH_PARAMS":{const a=window.location.href.split("?")[0];return window.history.replaceState({},document.title,a),{...e,params:{},values:{...e.values,search:""}}}case"SET_VALUE":return{...e,values:{...e.values,[a.key]:a.value}};default:return e}},actions:{setParam:(e,a)=>({type:"SET_SEARCH_PARAM",param:e,value:a}),setParams:e=>({type:"SET_SEARCH_PARAMS",searchParams:e}),unSetParams:()=>({type:"UNSET_SEARCH_PARAMS"}),setValue:(e,a)=>({type:"SET_VALUE",key:e,value:a})},selectors:{getParam:(e,a)=>e.params[a],getParams:e=>e.params,unSetParams:e=>e.params,getValue:(e,a)=>e.values[a]},controls:{},resolvers:{}});(0,t.select)(n)||(0,t.register)(n);const u=window.ReactJSXRuntime,i=({itemsLabel:e,itemsLabelSingular:a})=>{const{searchResults:r}=(0,t.useSelect)(e=>({searchResults:e(n).getValue("searchResults")}),[]);return(0,u.jsxs)(u.Fragment,{children:[r>0&&(0,u.jsxs)("span",{className:"has-text-color",children:[(0,u.jsxs)("b",{children:[r," ",r>1?e:a]})," ","para os filtros selecionados"]}),0===r&&(0,u.jsx)("span",{className:"has-text-color",children:"Nenhum resultado encontrado"}),r?.error&&(0,u.jsx)("span",{className:"has-text-color",children:"Ocorreu um erro ao buscar os dados..."})]})};r()(()=>{document.querySelectorAll(".wp-block-araguaia-search-results").forEach(e=>{(0,s.render)((0,u.jsx)(i,{itemsLabel:e.dataset.itemsLabel,itemsLabelSingular:e.dataset.itemsLabelSingular}),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.