PageSourceSearch

https://www.goafricaonline.com/build-manifest/7059.20482525e85ad0739588.js

js goafricaonline.com collected 2026-09-24 10:00:51 UTC 6,019 bytes, 1 lines download raw bytes

1(self.webpackChunkgoafrica=self.webpackChunkgoafrica||[]).push([[7059],{50579:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var a=t(67294);function r(e){const[n,t]=(0,a.useState)({value:e,alreadyOpen:!0===e,alreadyClose:!1===e});return(0,a.useMemo)((()=>{const e=()=>t((e=>({...e,value:!0,alreadyOpen:!0}))),a=()=>t((e=>({...e,value:!1,alreadyClose:!0}))),r=()=>t((e=>({...e,value:!e.value,alreadyClose:!1==!e.value,alreadyOpen:!0==!e.value})));return{value:n.value,alreadyOpen:n.alreadyOpen,alreadyClose:n.alreadyClose,set:n=>!0===n?e():a(),open:()=>e(),openWithPrevent:n=>{n.preventDefault(),e()},close:()=>a(),closeWithPrevent:e=>{e.preventDefault(),a()},toggle:()=>r(),toggleWithPrevent:e=>{e.preventDefault(),r()}}}),[n,t])}},87059:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return k}});var a=t(67294),r=t(67545),l=t(50579),o=t(25801),i=t.n(o),c=t(93967),u=t.n(c),s=t(32168),d=t(97175),m=t.n(d),y=t(75336),f=t(35161),v=t.n(f);function k(e){let{categoryId:n,categoryName:t,country:o}=e;const i=(0,l.Z)(!1);return a.createElement(a.Fragment,null,a.createElement("button",{onClick:i.openWithPrevent,type:"button",className:"btn btn-default rounded"},a.createElement("i",{className:"fa fa-tags"})," ",(0,r.trans)("category_keywords_button.button_label")),i.value&&a.createElement(g,{onHide:i.close,categoryId:n,categoryName:t,country:o}))}function g(e){let{categoryId:n,categoryName:t,country:l,onHide:o}=e;const{error:c,data:{keywords:d=[]}={},loading:f}=(0,s.aM)(m(),{variables:{categoryId:n,country:l}});return a.createElement(i(),{onHide:o,show:!0,contentClassName:u()("relative")},a.createElement("button",{type:"button",onClick:o,className:"close absolute top-6 right-6 z-10","aria-label":(0,r.trans)("ui.close")},a.createElement("span",{"aria-hidden":"true"},"×")),a.createElement(i().Body,{className:"relative flex gap-x-4 flex-1"},a.createElement("div",{className:"flex-1 relative"},a.createElement("h1",{className:"mt-0 mb-10 text-2xl font-bold"},(0,r.trans)("category_keywords_button.modal_title",{categoryName:t})),a.createElement("div",{className:"mb-5"},f?a.createElement(y.eg,null):a.createElement("div",null,d.length>0?a.createElement("table",{className:"table"},a.createElement("thead",null,a.createElement("tr",null,a.createElement("th",
1null,(0,r.trans)("category_keywords_button.keyword")),a.createElement("th",null,(0,r.trans)("category_keywords_button.count")))),a.createElement("tbody",null,v()(d,((e,n)=>a.createElement("tr",{key:n},a.createElement("td",null,e.key),a.createElement("td",null,e.doc_count)))))):a.createElement("div",null,(0,r.trans)("category_keywords_button.not_found"))),c&&a.createElement("div",{className:"alert alert-danger py-2"},c.message)))))}},75336:function(e,n,t){"use strict";t.d(n,{ZP:function(){return o},eg:function(){return i}});var a=t(67294),r=t(93967),l=t.n(r);function o(e){let{show:n=!0,className:t=""}=e;return n?a.createElement("div",{className:l()("spinner-border",t)},a.createElement("span",{className:"sr-only"}," ",Translator.trans("ui.loading")," ")):null}function i(e){let{className:n,spinnerClassName:t,style:r}=e;return a.createElement("div",{className:l()("flex items-center justify-center mx-auto h-full w-full",n),style:r},a.createElement(o,{className:t}))}},97175:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"CategoryKeywordsQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"categoryId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CategoryId"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"country"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"keywords"},name:{kind:"Name",value:"categoryKeywords"},arguments:[{kind:"Argument",name:{kind:"Name",value:"categoryId"},value:{kind:"Variable",name:{kind:"Name",value:"categoryId"}}},{kind:"Argument",name:{kind:"Name",value:"country"},value:{kind:"Variable",name:{kind:"Name",value:"country"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"key"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"doc_count"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:189}};n.loc.source={body:"query CategoryKeywordsQuery($categoryId: CategoryId!, $country: String) {\n    keywords: categoryKeywords(categoryId: $categoryId, country: $country) {\n        key\n        doc_count\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function t(e,n){if("FragmentSpread"===e.kind)n.add(e.name.value);else if("VariableDefinition"===e.kind){var a=e.type;"NamedType"===a.kind&&n.add(a.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){t(e,n)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){t(e,n)})),e.definitions&&e.definitions.forEach((function(e){t(e,n)}))}var a={};function r(e,n){for(var t=0;t<e.definitions.length;t++){var a=e.definitions[t];if(a.name&&a.name.value==n)return a}}n.definitions.forEach((function(e){if(e.name){var n=new Set;t(e,n),a[e.name.value]=n}})),e.exports=n,e.exports.CategoryKeywordsQuery=function(e,n){var t={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(t.loc=e.loc);var l=a[n]||new Set,o=new Set,i=new Set;for(l.forEach((function(e){i.add(e)}));i.size>0;){var c=i;i=new Set,c.forEach((function(e){o.has(e)||(o.add(e),(a[e]||new Set).forEach((function(e){i.add(e)})))}))}return o.forEach((function(n){var a=r(e,n);a&&t.definitions.push(a)})),t}(n,"CategoryKeywordsQuery")},69199:function(e,n,t){var a=t(89881),r=t(98612);e.exports=function(e,n){var t=-1,l=r(e)?Array(e.length):[];return a(e,(function(e,a,r){l[++t]=n(e,a,r)})),l}},35161:function(e,n,t){var a=t(29932),r=t(67206),l=t(69199),o=t(1469);e.exports=function(e,n){return(o(e)?a:l)(e,r(n,3))}}}]);

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.