PageSourceSearch

https://portaljs-cloud-frontend-template.vercel.app/_next/static/c…/pages/[org]/[dataset]-ffa21945469734b5.js

js portaljs-cloud-frontend-template.vercel.app collected 2026-10-03 07:31:14 UTC 29,067 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[167],{4556:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[org]/[dataset]",function(){return n(7683)}])},4506:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(5893),r=n(7247);function s(e){let{activities:t}=e;return(0,a.jsx)("div",{className:"py-8 w-full h-[50vh]",children:t.map(e=>{var t,n,s,l,i;return(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"flex flex-row items-start mb-10",children:[(null===(t=e.user_data)||void 0===t?void 0:t.image_display_url)?(0,a.jsx)("div",{className:"w-13 rounded-full",children:(0,a.jsx)("img",{src:e.user_data.image_display_url,alt:"Profile picture of user"})}):(0,a.jsx)("div",{className:"bg-accent p-3 rounded-full",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6 text-white",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"})})}),(0,a.jsxs)("p",{className:"mt-2 ml-3 activity-string",children:[(null===(n=e.user_data)||void 0===n?void 0:n.fullname)?null===(s=e.user_data)||void 0===s?void 0:s.fullname:"A user"," ",e.activity_type," ",(0,a.jsx)("a",{href:"#",children:null===(i=e.data)||void 0===i?void 0:null===(l=i.package)||void 0===l?void 0:l.title})," ",(0,a.jsx)("span",{className:"text-xs",children:(0,r.p)(e.timestamp)})]})]})},e.id)})})}},1645:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var a=n(5893);function r(e){let{title:t="Search",titleAccent:n="",cols:r="1"}=e;return(0,a.jsx)("section",{className:"row-start-1 row-span-3 col-span-full",children:(0,a.jsx)("div",{className:"bg-cover bg-center bg-no-repeat  pt-[60px] pb-[36px] flex flex-col",style:{},children:(0,a.jsx)("div",{className:"grid md:grid-cols-".concat(r," mx-auto items-center grow mx-auto custom-container bg-white"),children:(0,a.jsx)("div",{className:"col-span-1",children:(0,a.jsxs)("h1",{className:"text-[24px] md:text-[50px] font-black lg:max-w-[80%]",children:[t," ",(0,a.jsx)("span",{className:"text-accent",children:n})]})})})})})}},3331:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var a=n(5893);function r(e){let{children:t}=e;return(0,a.jsx)("div",{children:t})}n(7294)},8050:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var a,r,s,l=n(5893),i=n(7294),o=n(7237),c=n(9946),d=n(2984),u=n(1363),m=n(4575),x=n(6723),p=n(3784);function f(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";if("string"==typeof n&&"button"===n.toLowerCase())return"button"}var h=n(3855),v=n(4879),g=n(6045);function j({onFocus:e}){let[t,n]=(0,i.useState)(!0),a=(0,v.t)();return t?i.createElement(g._,{as:"button",type:"button",features:g.A.Focusable,onFocus:t=>{t.preventDefault();let r,s=50;r=requestAnimationFrame(function t(){if(s--<=0){r&&cancelAnimationFrame(r);return}if(e()){if(cancelAnimationFrame(r),!a.current)return;n(!1);return}r=requestAnimationFrame(t)})}}):null}var b=n(3781),w=n(1021),N=n(5466);let y=i.createContext(null);function k({children:e}){let t=i.useRef({groups:new Map,get(e,t){var n;let a=this.groups.get(e);a||(a=new Map,this.groups.set(e,a));let r=null!=(n=a.get(t))?n:0;return a.set(t,r+1),[Array.from(a.keys()).indexOf(t),function(){let e=a.get(t);e>1?a.set(t,e-1):a.delete(t)}]}});return i.createElement(y.Provider,{value:t},e)}function E(e){let t=i.useContext(y);if(!t)throw Error("You must wrap your component in a <StableCollection>");let n=function(){var e,t,n;let a=null!=(n=null==(t=null==(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)?void 0:e.ReactCurrentOwner)?void 0:t.current)?n:null;if(!a)return Symbol();let r=[],s=a;for(;s;)r.push(s.index),s=s.return;return"$."+r.join(".")}(),[a,r]=t.current.get(e,n);return i.useEffect(()=>r,[]),a}var _=((a=_||{})[a.Forwards=0]="Forwards",a[a.Backwards=1]="Backwards",a),T=((r=T||{})[r.Less=-1]="Less",r[r.Equal=0]="Equal",r[r.Greater=1]="Greater",r),A=((s=A||{})[s.SetSelectedIndex=0]="SetSelectedIndex",s[s.RegisterTab=1]="RegisterTab",s[s.UnregisterTab=2]="UnregisterTab",s[s.RegisterPanel=3]="RegisterPanel",s[s.UnregisterPanel=4]="UnregisterPanel",s);let P={0(e,t){var n;let a=(0,m.z2)(e.tabs,e=>e.current),r=(0,m.z2)(e.panels,e=>e.current),s=a.filter(e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))}),l={...e,tabs:a,panels:r};if(t.index<0||t.index>a.length-1){let n=(0,d.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,d.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===s.length)return l;let r=(0,d.E)(n,{0:()=>a.indexOf(s[0]),1:()=>a.indexOf(s[s.length-1])});return{...l,selectedIndex:-1===r?e.selectedIndex:r}}let i=a.slice(0,t.index),o=[...a.slice(t.index),...i].find(e=>s.includes(e));if(!o)return l;let c=null!=(n=a.indexOf(o))?n:e.selectedIndex;return -1===c&&(c=e.selectedIndex),{...l,selectedIndex:c}},1(e,t){var n;if(e.tabs.includes(t.tab))return e;let a=e.tabs[e.selectedIndex],r=(0,m.z2)([...e.tabs,t.tab],e=>e.current),s=null!=(n=r.indexOf(a))?n:e.selectedIndex;return -1===s&&(s=e.selectedIndex),{...e,tabs:r,selectedIndex:s}},2:(e,t)=>({...e,tabs:e.tabs.filter(e=>e!==t.tab)}),3:(e,t)=>
1e.panels.includes(t.panel)?e:{...e,panels:(0,m.z2)([...e.panels,t.panel],e=>e.current)},4:(e,t)=>({...e,panels:e.panels.filter(e=>e!==t.panel)})},z=(0,i.createContext)(null);function D(e){let t=(0,i.useContext)(z);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}z.displayName="TabsDataContext";let I=(0,i.createContext)(null);function L(e){let t=(0,i.useContext)(I);if(null===t){let t=Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,L),t}return t}function R(e,t){return(0,d.E)(t.type,P,e,t)}I.displayName="TabsActionsContext";let F=i.Fragment,O=o.AN.RenderStrategy|o.AN.Static,M=Object.assign((0,o.yV)(function(e,t){var n,a;let r=(0,c.M)(),{id:s=`headlessui-tabs-tab-${r}`,...l}=e,{orientation:h,activation:v,selectedIndex:g,tabs:j,panels:y}=D("Tab"),k=L("Tab"),_=D("Tab"),T=(0,i.useRef)(null),A=(0,p.T)(T,t);(0,x.e)(()=>k.registerTab(T),[k,T]);let P=E("tabs"),z=j.indexOf(T);-1===z&&(z=P);let I=z===g,R=(0,b.z)(e=>{var t;let n=e();if(n===m.fE.Success&&"auto"===v){let e=null==(t=(0,N.r)(T))?void 0:t.activeElement,n=_.tabs.findIndex(t=>t.current===e);-1!==n&&k.change(n)}return n}),F=(0,b.z)(e=>{let t=j.map(e=>e.current).filter(Boolean);if(e.key===u.R.Space||e.key===u.R.Enter){e.preventDefault(),e.stopPropagation(),k.change(z);return}switch(e.key){case u.R.Home:case u.R.PageUp:return e.preventDefault(),e.stopPropagation(),R(()=>(0,m.jA)(t,m.TO.First));case u.R.End:case u.R.PageDown:return e.preventDefault(),e.stopPropagation(),R(()=>(0,m.jA)(t,m.TO.Last))}if(R(()=>(0,d.E)(h,{vertical:()=>e.key===u.R.ArrowUp?(0,m.jA)(t,m.TO.Previous|m.TO.WrapAround):e.key===u.R.ArrowDown?(0,m.jA)(t,m.TO.Next|m.TO.WrapAround):m.fE.Error,horizontal:()=>e.key===u.R.ArrowLeft?(0,m.jA)(t,m.TO.Previous|m.TO.WrapAround):e.key===u.R.ArrowRight?(0,m.jA)(t,m.TO.Next|m.TO.WrapAround):m.fE.Error}))===m.fE.Success)return e.preventDefault()}),O=(0,i.useRef)(!1),M=(0,b.z)(()=>{var e;O.current||(O.current=!0,null==(e=T.current)||e.focus({preventScroll:!0}),k.change(z),(0,w.Y)(()=>{O.current=!1}))}),S=(0,b.z)(e=>{e.preventDefault()}),C=(0,i.useMemo)(()=>({selected:I}),[I]),B={ref:A,onKeyDown:F,onMouseDown:S,onClick:M,id:s,role:"tab",type:function(e,t){let[n,a]=(0,i.useState)(()=>f(e));return(0,x.e)(()=>{a(f(e))},[e.type,e.as]),(0,x.e)(()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&a("button")},[n,t]),n}(e,T),"aria-controls":null==(a=null==(n=y[z])?void 0:n.current)?void 0:a.id,"aria-selected":I,tabIndex:I?0:-1};return(0,o.sY)({ourProps:B,theirProps:l,slot:C,defaultTag:"button",name:"Tabs.Tab"})}),{Group:(0,o.yV)(function(e,t){let{defaultIndex:n=0,vertical:a=!1,manual:r=!1,onChange:s,selectedIndex:l=null,...c}=e,d=a?"vertical":"horizontal",u=r?"manual":"auto",f=null!==l,v=(0,p.T)(t),[g,w]=(0,i.useReducer)(R,{selectedIndex:null!=l?l:n,tabs:[],panels:[]}),N=(0,i.useMemo)(()=>({selectedIndex:g.selectedIndex}),[g.selectedIndex]),y=(0,h.E)(s||(()=>{})),E=(0,h.E)(g.tabs),_=(0,i.useMemo)(()=>({orientation:d,activation:u,...g}),[d,u,g]),T=(0,b.z)(e=>(w({type:1,tab:e}),()=>w({type:2,tab:e}))),A=(0,b.z)(e=>(w({type:3,panel:e}),()=>w({type:4,panel:e}))),P=(0,b.z)(e=>{D.current!==e&&y.current(e),f||w({type:0,index:e})}),D=(0,h.E)(f?e.selectedIndex:g.selectedIndex),L=(0,i.useMemo)(()=>({registerTab:T,registerPanel:A,change:P}),[]);return(0,x.e)(()=>{w({type:0,index:null!=l?l:n})},[l]),(0,x.e)(()=>{if(void 0===D.current||g.tabs.length<=0)return;let e=(0,m.z2)(g.tabs,e=>e.current);e.some((e,t)=>g.tabs[t]!==e)&&P(e.indexOf(g.tabs[D.current]))}),i.createElement(k,null,i.createElement(I.Provider,{value:L},i.createElement(z.Provider,{value:_},_.tabs.length<=0&&i.createElement(j,{onFocus:()=>{var e,t;for(let n of E.current)if((null==(e=n.current)?void 0:e.tabIndex)===0)return null==(t=n.current)||t.focus(),!0;return!1}}),(0,o.sY)({ourProps:{ref:v},theirProps:c,slot:N,defaultTag:F,name:"Tabs"}))))}),List:(0,o.yV)(function(e,t){let{orientation:n,selectedIndex:a}=D("Tab.List"),r=(0,p.T)(t);return(0,o.sY)({ourProps:{ref:r,role:"tablist","aria-orientation":n},theirProps:e,slot:{selectedIndex:a},defaultTag:"div",name:"Tabs.List"})}),Panels:(0,o.yV)(function(e,t){let{selectedIndex:n}=D("Tab.Panels"),a=(0,p.T)(t),r=(0,i.useMemo)(()=>({selectedIndex:n}),[n]);return(0,o.sY)({ourProps:{ref:a},theirProps:e,slot:r,defaultTag:"div",name:"Tabs.Panels"})}),Panel:(0,o.yV)(function(e,t){var n,a,r,s;let l=(0,c.M)(),{id:d=`headlessui-tabs-panel-${l}`,tabIndex:u=0,...m}=e,{selectedIndex:f,tabs:h,panels:v}=D("Tab.Panel"),j=L("Tab.Panel"),b=(0,i.useRef)(null),w=(0,p.T)(b,t);(0,x.e)(()=>j.registerPanel(b),[j,b]);let N=E("panels"),y=v.indexOf(b);-1===y&&(y=N);let k=y===f,_=(0,i.useMemo)(()=>({selected:k}),[k]),T={ref:w,id:d,role:"tabpanel","aria-labelledby":null==(a=null==(n=h[y])?void 0:n.current)?void 0:a.id,tabIndex:k?u:-1};return k||null!=(r=m.unmount)&&!r||null!=(s=m.static)&&s?(0,o.sY)({ourProps:T,theirProps:m,slot:_,defaultTag:"div",features:O,visible:k,name:"Tabs.Panel"}):i.createElement(g._,{as:"span",...T})})});function S(e){let{items:t}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(M.Group,{children:[(0,l.jsx)(M.List,{children:t.map((e,t)=>(0,l.jsx)(M,{children:t=>{let{selected:n}=t;return(0,l.jsx)("span",{className:"font-semibold text-xs px-6 py-4 focus:outline-0 border-accent ".concat(n?"border-b-2":""," "),children:e.title})}},e.id))}),(0,l.jsx)(M.Panels,{children:t.map(e=>(0,l.jsx)(M.Panel,{className:"flex items-center flex-wrap overflow-y-auto",children:e.content},e.id))})]})})}},5971:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var a=n(5893);let r={},s={},l={PDF:"#D32F2F",CSV:"#FFD54F",JSON:"#81D4FA",ODS:"#AED581",XLS:"#4CAF50",XLSX:"#66BB6A",DOC:"#1E88E5",SHP:"#8E24AA",HTML:"#FF7043",XML:"#F4511E",ZIP:"#757575",TXT:"#9E9D24",TSV:"#FFA000",GEOJSON:"#43A047",WMS:"#4DD0E1",KML:"#7CB342",GPX:"#64B5F6",MP4:"#E57373",AVI:"#FFAB91",JSONL:"#0288D1",DOCX:"#1976D2",PPT:"#FF9800",PPTX:"#FB8C00",RAR:"#5D4037",TAR:"#6D4C41",JPG:"#FFEB3B",PNG:"#4FC3F7",SVG:"#66BB6A"};
1Object.keys(l).forEach(e=>{r[e]="text-[".concat(l[e],"]"),s[e]="bg-[".concat(l[e],"]")});var i=n(6767),o=n.n(i);function c(e){let{resources:t}=e,n=Array.from(new Map(t.map(e=>[e.format,e])).values()),r=n.slice(0,3);return(0,a.jsx)("div",{className:"flex gap-1 flex-wrap",children:r.map((e,t)=>{var n;let r=l[null===(n=e.format)||void 0===n?void 0:n.toUpperCase()];return(0,a.jsx)("span",{className:"inline-flex items-center rounded-md px-2 py-1 text-xs font-medium  ring-1 ring-inset ring-[rgba(0,0,0,0.05)]",style:{color:o()(r).mix(o()("#000000"),.5).hex(),background:o()(r).mix(o()("#ffffff"),.85).hex()},children:e.format||"--"},t)})})}},7683:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return A},default:function(){return P}});var a=n(5893),r=n(1664),s=n.n(r),l=n(7294);let i=l.forwardRef(function({title:e,titleId:t,...n},a){return l.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:a,"aria-labelledby":t},n),e?l.createElement("title",{id:t},e):null,l.createElement("path",{d:"M10.75 2.75a.75.75 0 00-1.5 0v8.614L6.295 8.235a.75.75 0 10-1.09 1.03l4.25 4.5a.75.75 0 001.09 0l4.25-4.5a.75.75 0 00-1.09-1.03l-2.955 3.129V2.75z"}),l.createElement("path",{d:"M3.5 12.75a.75.75 0 00-1.5 0v2.5A2.75 2.75 0 004.75 18h10.5A2.75 2.75 0 0018 15.25v-2.5a.75.75 0 00-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5z"}))});var o=n(7349),c=n(9104),d=n(7247),u=n(1686),m=n(3336),x=e=>{let{content:t}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(m.UG,{components:{h1:e=>{let{node:t,...n}=e;return(0,a.jsx)("h1",{className:"text-3xl font-bold mt-4 mb-2",...n})},h2:e=>{let{node:t,...n}=e;return(0,a.jsx)("h2",{className:"text-2xl font-semibold mt-3 mb-1",...n})},p:e=>{let{node:t,...n}=e;return(0,a.jsx)("p",{className:"leading-relaxed mb-4",...n})},a:e=>{let{node:t,...n}=e;return(0,a.jsx)("a",{...n,className:"underline text-[#000] hover:text-accent",target:"_blank",rel:"noopener noreferrer"})},code:e=>{let{node:t,inline:n,...r}=e;return n?(0,a.jsx)("code",{className:"bg-gray-200 px-1 rounded text-sm",...r}):(0,a.jsx)("pre",{className:"bg-gray-900 text-white p-3 rounded overflow-x-auto",children:(0,a.jsx)("code",{...r})})},ul:e=>{let{node:t,...n}=e;return(0,a.jsx)("ul",{className:"list-disc pl-6 mb-4",...n})},ol:e=>{let{node:t,...n}=e;return(0,a.jsx)("ol",{className:"list-decimal pl-6 mb-4",...n})},blockquote:e=>{let{node:t,...n}=e;return(0,a.jsx)("blockquote",{className:"border-l-4 border-gray-300 pl-4 italic text-gray-600",...n})},hr:e=>{let{node:t,...n}=e;return(0,a.jsx)("hr",{className:"my-6 border-gray-300",...n})}},children:t})})};function p(e){var t,n;let{dataset:r}=e,[m,p]=(0,l.useState)(!1),[f,h]=(0,l.useState)(!1),v=(0,l.useRef)(null),g=(null===(t=r.notes)||void 0===t?void 0:t.replace(/<\/?[^>]+(>|$)/g,""))||"No description",j="https://api.cloud.portaljs.com/@datopian",{dmsBaseUrl:b,dmsDatasetName:w}=(()=>{if(!j)return{dmsBaseUrl:"",dmsDatasetName:r.name};try{let e=new URL(j),t=e.pathname.replace(/^\/+|\/+$/g,""),n=t.startsWith("@")?t.slice(1):t;return{dmsBaseUrl:e.origin,dmsDatasetName:n?"".concat(n,"--").concat(r.name):r.name}}catch(e){return{dmsBaseUrl:j,dmsDatasetName:r.name}}})();return(0,l.useEffect)(()=>{let e=v.current;e&&requestAnimationFrame(()=>{p(e.scrollHeight>e.clientHeight)})},[r.notes]),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-3",children:["visualization"===r.type&&!!r.external_url&&(0,a.jsxs)("a",{href:r.external_url,className:"font-medium flex items-center gap-1 text-accent",target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)(u.uXP,{className:"w-5 h-5"}),"Access Visualization"]}),!!r.resources.length&&(0,a.jsxs)("span",{className:"font-medium text-gray-500 inline",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 text-accent inline mr-1",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.85
17-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776"})}),"Files: ",r.resources.length]}),!!r.resources.length&&(0,a.jsxs)("span",{className:"font-medium text-gray-500 inline",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-5 w-5 text-accent inline mr-1",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7.5 3.75H6A2.25 2.25 0 003.75 6v1.5M16.5 3.75H18A2.25 2.25 0 0120.25 6v1.5m0 9V18A2.25 2.25 0 0118 20.25h-1.5m-9 0H6A2.25 2.25 0 013.75 18v-1.5M15 12a3 3 0 11-6 0 3 3 0 016 0z"})}),"Formats: ",(function(e){let t=e.map(e=>e.format);return[...new Set(t)]})(r.resources).join(", ")]}),(0,a.jsxs)("span",{className:"font-medium text-gray-500 inline",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 text-accent inline mr-1",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5m-9-6h.008v.008H12v-.008zM12 15h.008v.008H12V15zm0 2.25h.008v.008H12v-.008zM9.75 15h.008v.008H9.75V15zm0 2.25h.008v.008H9.75v-.008zM7.5 15h.008v.008H7.5V15zm0 2.25h.008v.008H7.5v-.008zm6.75-4.5h.008v.008h-.008v-.008zm0 2.25h.008v.008h-.008V15zm0 2.25h.008v.008h-.008v-.008zm2.25-4.5h.008v.008H16.5v-.008zm0 2.25h.008v.008H16.5V15z"})}),"Created:"," ",r.metadata_created&&(0,d.p)(r.metadata_created)]}),r.source&&r.source.length>0&&(0,a.jsx)("div",{className:"font-medium text-gray-500",children:(0,a.jsxs)("div",{className:"flex items-start gap-1",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-5 h-5 text-accent inline-block mt-0.5 flex-shrink-0",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsxs)("span",{children:["Source",r.source.length>1?"s":"",":"]}),(0,a.jsx)("div",{className:"flex flex-col gap-1.5",children:r.source.map((e,t)=>(0,a.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"text-accent hover:text-darkaccent flex items-center gap-1 break-all transition",children:[(0,a.jsx)(u.uXP,{className:"w-4 h-4 flex-shrink-0"}),(0,a.jsx)("span",{className:"underline",children:e})]},t))})]})]})}),(0,a.jsxs)("span",{className:"font-medium text-gray-500 inline",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"h-5 w-5 text-accent inline mr-1",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z"})}),"Updated:"," ",r.metadata_modified&&(0,d.p)(r.metadata_modified)]})]}),(0,a.jsxs)("div",{className:"py-4 my-4 border-y",children:[(0,a.jsx)("div",{ref:v,className:"text-sm font-normal text-stone-500 transition-all ".concat(f?"":"line-clamp-4"),children:(0,a.jsx)(x,{content:g})}),m&&(0,a.jsx)("button",{onClick:()=>h(!f),className:"mt-2 border-b border-accent text-stone-500 hover:text-accent",children:f?(0,a.jsxs)("span",{className:"flex items-center",children:["Read less ",(0,a.jsx)(c.Z,{className:"text-accent w-4"})]}):(0,a.jsxs)("span",{className:"flex items-center",children:["Read more ",(0,a.jsx)(o.Z,{className:"text-accent w-4"})]})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1",children:null===(n=r.tags)||void 0===n?void 0:n.map(e=>(0,a.jsx)("span",{className:"bg-accent px-4 py-1 rounded-full text-white",children:e.display_name},e.id))}),(0,a.jsx)("span",{className:"font-medium text-gray-500 inline",children:(0,a.jsxs)("div",{className:"flex flex-wrap gap-x-2 items-center",children:[(0,a.jsx)("div",{children:"Export metadata as: "}),[{format:"jsonld",label:"JSON-LD"},{format:"rdf",label:"RDF"},{format:"ttl",label:"TTL"}].map(e=>(0,a.jsx)("div",{children:(0,a.jsxs)(s(),{href:"".concat(b,"/dataset/").concat(w,".").concat(e.format),className:"font-semibold group flex gap-0.5 hover:text-darkaccent",children:[(0,a.jsx)("div",{className:"text-accent group-hover:text-darkaccent transition flex items-center justify-center",children:(0,a.jsx)(i,{className:"h-4 w-4"})}),(0,a.jsx)("div",{className:"uppercase",children:e.label})]})},e.format))]})})]})}function f(e){let{dataset:t}=e;return(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 pt-10",children:[(0,a.jsxs)("div",{className:" pb-5",children:[(0,a.jsx)("h4",{className:"pb-2 text-xs label-txt tracking-wider",children:"AUTHOR"}),(0,a.jsx)("p",{className:"font-semibold",children:t.author?t.author:t.organization?t.organization.title:""})]}),(0,a.jsxs)("div",{className:"  pb-5",children:[(0,a.jsx)("h4",{className:"pb-1 text-xs label-txt tracking-wider",children:"AUTHOR EMAIL"}),(0,a.jsx)("p",{className:"font-semibold",children:t.author_email?t.author_email:""})]}),(0,a.jsxs)("div",{className:"  pb-5",children:[(0,a.jsx)("h4",{className:"pb-1 text-xs label-txt tracking-wider",children:"GROUP"}),(0,a.jsx)("p",{className:"font-semibold",children:t.groups.length>0?t.groups.map(e=>e.title).join(", "):"N/A"})]}),(0,a.jsxs)("div",{className:"  pb-5",children:[(0,a.jsx)("h4",{className:"pb-1 text-xs label-txt tracking-wider",children:"DATASET DATE"}),(0,a.jsx)("p",{className:"font-semibold",children:t.metadata_created?new Intl.DateTimeFormat("en-GB",{year:"numeric",month:"short",day:"2-digit"}).format(new Date(t.metadata_created)):"N/A"})]}),(0,a.jsxs)("div",{className:"  pb-5",children:[(0,a.jsx)("h4",{className:"pb-1 text-xs label-txt tracking-wider",children:"VERSION"}
1),(0,a.jsx)("p",{className:"font-semibold",children:t.version?t.version:"1.0"})]})]})}function h(e){let{datasetType:t="dataset",datasetsLinkHref:n="/search",org:r,dataset:l}=e;return(0,a.jsx)("nav",{children:(0,a.jsx)("ul",{className:"flex gap-x-8 mx-auto custom-container",children:(0,a.jsxs)("li",{className:"flex gap-x-2 items-center py-2 flex-nowrap overflow-x-auto whitespace-nowrap",children:[(0,a.jsxs)(s(),{href:"/",className:"font-semibold flex items-center  text-[18px] ",style:{minWidth:"fit-content"},children:[(0,a.jsx)(u.l4E,{}),(0,a.jsx)("span",{className:"sr-only",children:"Home"})]}),(0,a.jsxs)(s(),{href:n,className:"font-semibold ",style:{minWidth:"fit-content"},children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4  inline",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})}),(0,a.jsxs)("span",{className:"first-letter:uppercase",children:[(0,d.f)(t),"s"]})]}),(0,a.jsxs)(s(),{href:"/@".concat(r.name),passHref:!0,className:"font-semibold ",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4  mx-0 inline",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})}),r.title||r.name]}),(0,a.jsxs)("span",{className:"font-semibold ",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-4 h-4  mx-0 inline",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})}),l.title||l.name]})]})})})}var v=n(5971);function g(e){let{resources:t,orgName:n,datasetName:r}=e;return(0,a.jsx)("div",{className:"py-8 w-full max-h-[600px] flex flex-col gap-4 ",children:t.map(e=>(0,a.jsxs)("div",{className:"flex flex-col md:flex-row  md:justify-between w-full gap-4  py-3 md:items-center px-2",children:[(0,a.jsx)("article",{className:"grid grid-cols-1 sm:grid-cols-6 gap-x-2 grow ",children:(0,a.jsxs)("div",{className:"col-span-5 place-content-start flex flex-col gap-0",children:[(0,a.jsx)("h4",{className:" md:m-0 font-semibold text-lg text-zinc-900 leading-tight line-clamp-3 pr-5",children:e.name||"No title"}),(0,a.jsx)("p",{className:"text-sm font-normal text-stone-500 line-clamp-4",children:e.description||"No description"}),(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)(v.Z,{resources:[e]})})]})}),(0,a.jsxs)("div",{className:"flex  gap-2 justify-start pt-2 sm:pt-0",children:[(["csv","pdf","xlsx","xls","geojson"].includes(e.format.toLowerCase())||(null==e?void 0:e.iframe))&&(0,a.jsxs)(s(),{href:"/@".concat(n,"/").concat(r,"/r/").concat(e.id),className:"px-2 py-1 border  h-fit shadow hover:shadow-lg transition-all text-sm  text-center text-dark rounded font-roboto font-bold border-accent-50 hover:border-accent-100 hover:bg-accent-100  duration-150 flex items-center justify-center gap-1",children:[(0,a.jsx)(u.VhL,{}),(0,a.jsx)("span",{children:"Preview"})]}),e.url&&(0,a.jsxs)(s(),{href:e.url,className:"bg-accent px-2 py-1 h-fit shadow hover:shadow-lg transition-all text-sm  text-center text-white rounded font-roboto font-bold hover:bg-darkaccent hover:text-white duration-150 flex items-center justify-center gap-1",children:[(0,a.jsx)(u.e1i,{}),(0,a.jsx)("span",{children:"Download"})]})]})]},e.id))})}var j=n(4506),b=n(3331),w=n(8050),N=n(4710),y=n.n(N),k=n(1645),E=n(1359),_=n(2962);function T(e){var t,n,r;let{dataset:s}=e,l=s.title||s.name,i=(null==s?void 0:null===(t=s.organization)||void 0===t?void 0:t.name)||"Organization",o="".concat(E.HQ,"/@").concat(i,"/").concat(s.name),c=s.notes||"Dataset page of "+l;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(_.uJ,{url:o,logo:"".concat(E.HQ,"/favicon.ico")}),(0,a.jsx)(_.PB,{canonical:o,title:"".concat(l," | ").concat(E.y7),description:c,openGraph:{url:o,title:"".concat(l," | ").concat(E.y7),description:c,images:[{url:E.sQ,alt:l,width:1200,height:627}],site_name:E.y7},twitter:E.ZP.twitter}),(0,a.jsx)(_.gR,{itemListElements:[{position:1,name:"Home",item:E.HQ},{position:2,name:i,item:"".concat(E.HQ,"/@").concat(i)},{position:3,name:l,item:o}]}),(0,a.jsx)(_.Y4,{id:"".concat(o,"#webpage"),url:o,name:l,description:c}),(0,a.jsx)(_.Y4,{id:"".concat(o,"#dataset"),url:o,name:l,description:c,creator:{"@type":"Organization",name:i},keywords:(null===(n=s.tags)||void 0===n?void 0:n.map(e=>e.name))||[],license:s.license_title,distribution:(null===(r=s.resources)||void 0===r?void 0:r.map(e=>({"@type":"DataDownload",encodingFormat:e.format,contentUrl:e.url,name:e.name})))||[]})]})}var A=!0;function P(e){var t,n;let{dataset:r}=e,s=[..."visualization"!=r.type?[{id:"resources",content:(0,a.jsx)(g,{resources:null==r?void 0:r.resources,orgName:r.organization?r.organization.name:"",datasetName:r.name}),title:"Resources"}]:[],{id:"information",content:(0,a.jsx)(f,{dataset:r}),title:"Info"},{id:"activity-stream",content:(0,a.jsx)(j.Z,{activities:(null==r?void 0:r.activity_stream)?r.activity_stream:[]}),title:"Activity Stream"}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(T,{dataset:r}),(0,a.jsxs)(b.Z,{children:[(0,a.jsx)(k.Z,{title:r.title,cols:"6"}),(0,a.jsx)(h,{datasetType:r.type,datasetsLinkHref:"visualization"===r.type?"/search?type=visualization":"/search",org:{name:null===(t=r.organization)||void 0===t?void 0:t.name,title:null===(n=r.organization)||void 0===n?void 0:n.title},dataset:{name:r.name,title:r.title?r.title:"This dataset"}}),(0,a.jsx)("div",{className:"grid grid-rows-datasetpage-hero mt-8",children:(0,a.jsx)("section",{className:"grid row-start-2 row-span-2 col-span-full",children:(0,a.jsx)("div",{className:"custom-container",children:r&&(0,a.jsxs)("main",{className:y().main,children:[(0,a.jsx)(p,{dataset:r}),(0,a.jsx)("div",{children:(0,a.jsx)(w.Z,{items:s})})]})})})})]})]})}},4710:function(e){e.exports={main:"DatasetInfo_main__lA107",datasetInfo:"DatasetInfo_datasetInfo__4DGPU",description:"DatasetInfo_description__kRtj5",tags:"DatasetInfo_tags__3BxAK",card:"DatasetInfo_card__VHHOB",organization:"DatasetInfo_organization__0vETM"}},7349:function(e,t,n){"use strict";var a=n(7294);let r=a.forwardRef(function({title:e,titleId:t,...n},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z",clipRule:"evenodd"}))});t.Z=r},9104:function(e,t,n){"use strict";var a=n(7294);let r=a.forwardRef(function({title:e,titleId:t,...n},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M14.77 12.79a.75.75 0 01-1.06-.02L10 8.832 6.29 12.77a.75.75 0 11-1.08-1.04l4.25-4.5a.75.75 0 011.08 0l4.25 4.5a.75.75 0 01-.02 1.06z",clipRule:"evenodd"}))});t.Z=r}},function(e){e.O(0,[767,774,888,179],function(){return e(e.s=4556)}),_N_E=e.O()}]);

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.