1import{C as s}from"./LcLQyfLZ.js";import{c as m}from"./8Jqh6Ahr.js";import{l}from"./fLNkPpSV.js";import{a as c,C as u}from"./D1WCOCom.js";const k=c({query:s(` 2 query GetHome { 3 entry(section: "home") { 4 ...on home_home_Entry { 5 mastheadPrimary { 6 ...on mastheadPrimary_BlockType { 7 title: heading 8 subtitle: subheading 9 contentHeading 10 contentDescription 11 cta: contentCta { 12 url 13 text 14 } 15 additionalLinks: contentLinks { 16 text: linkText 17 href: linkUrl 18 } 19 } 20 } 21 helperVideos { 22 ... on helperVideos_block_BlockType { 23 title: heading 24 videos { 25 ... on videos_BlockType { 26 platform 27 title: videoTitle 28 videoId 29 thumbnail { 30 url 31 } 32 duration: videoDuration 33 transcript 34 } 35 } 36 } 37 } 38 impactFacts { 39 ...on impactFacts_block_BlockType { 40 title: heading 41 items { 42 ...on items_BlockType { 43 title: heading 44 subtitle: text 45 image { 46 src: url 47 width 48 height 49 } 50 } 51 } 52 } 53 } 54 reportHighlight { 55 ...on reportHighlight_BlockType { 56 title: sectionTitle 57 summary: sectionSummary 58 cta: sectionLink { 59 url 60 text 61 element { 62 uri 63 } 64 } 65 date: sectionDate @formatDateTime(format: "j M Y", timezone: "Australia/Melbourne") 66 video { 67 ... on video_video_BlockType { 68 platform 69 title: videoTitle 70 videoId 71 thumbnail { 72 url 73 } 74 duration: videoDuration 75 transcript 76 } 77 } 78 } 79 } 80 imageTextBlock { 81 ...on imageTextBlock_BlockType { 82 heading 83 image { 84 title 85 url 86 } 87 text 88 cta { 89 text 90 url 91 element { 92 uri 93 } 94 } 95 } 96 } 97 } 98 } 99 caseExamples: entries ( 100 section: "caseExamples", 101 limit: 3, 102 orderBy: "postDate DESC" 103 ) { 104 ...CaseExampleCard 105 } 106 ombudsmanCallout: globalSet (handle: "ombudsmanCallout") { 107 ...on ombudsmanCallout_GlobalSet { 108 ombudsmanCallout { 109 ...on ombudsmanCallout_BlockType { 110 title: heading 111 subtitle: text 112 cta { 113 url 114 text 115 element { 116 uri 117 } 118 } 119 } 120 } 121 } 122 } 123 } 124 `),mapping:({entry:e,caseExamples:r,ombudsmanCallout:o},n,d)=>{const i=e.mastheadPrimary[0];if(!i){const t=new u("Missing property");throw t.details={type:e.__typename,name:"masthead"},t}const a=o?.__typename==="ombudsmanCallout_GlobalSet"&&o.ombudsmanCallout?.[0];return{masthead:{title:i.title||"",subtitle:i.subtitle||"",image:{src:"/media/illustrations/conversation.svg",width:258,height:183},content:{heading:i.contentHeading||"",text:i.contentDescription||"",cta:i.cta?.text?{text:i.cta.text,href:n.getPathName(i.cta.url||"")}:null,additionalLinks:i.additionalLinks||[]}},callout:a?{title:a.title,subtitle:a.subtitle,image:{src:"/media/illustrations/building.svg",alt:""},cta:l(a.cta)}:null,helperVideos:e.helperVideos?.[0]?{title:e.helperVideos[0].title,videos:e.helperVideos[0].videos.map(t=>({...t,thumbnailSrc:t?.thumbnail[0]?.url}))}:null,impactFacts:e.impactFacts[0]?{title:e.impactFacts[0].title,items:e.impactFacts[0].items.map(t=>({title:t?.title,subtitle:t?.subtitle,image:t?.image?.[0]?{src:t.image[0].src,width:Number(t.image[0].width),height:Number(t.image[0].height)}:null}))}:null,reportHighlight:e.reportHighlight?.[0]?{...e.reportHighlight[0],cta:l(e.reportHighlight[0].cta),video:e.reportHighlight[0].video?.[0]?{...e.reportHighlight[0].video[0],thumbnailSrc:e.reportHighlight[0].video[0].thumbnail?.[0]?.url,transcript:n.get(e.reportHighlight[0].video[0],"transcript")}:null}:null,imageTexts:e.imageTextBlock.length?e.imageTextBlock.map(t=>({heading:t?.heading,content:t?.text||"",cta:l(t?.cta),img:t?.image?.[0]?{src:t.image[0].url,alt:t.image[0].title}:null})):[],caseExamples:m(r)}}});
124export{k 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.