1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4164],{4164:(n,e,o)=>{o.d(e,{GO:()=>t}),o(842);let l="\n isRequired\n description\n label\n conditionalLogic {\n actionType\n logicType\n rules {\n fieldId\n operator\n value\n }\n }\n";async function a(n){let{query:e,variables:o=null,previewToken:l=null}=n,a={"Content-Type":"application/json"};l&&(a.Authorization="Bearer ".concat(l));let t=JSON.stringify({query:e,variables:{...o}}),i=await fetch("https://api.ctf.wa.gov.au/graphql",{method:"POST",headers:a,body:t}),c=await i.json();if(c.errors){var r,d;throw console.error(c.errors),(null==(d=c.errors[0])||null==(r=d.message)?void 0:r.indexOf("Internal server"))>=0&&console.log("\uD83D\uDC94 Internal server error. Status:",i.status,i.statusText),Error("\uD83C\uDF83Failed to fetch API\n \uD83D\uDC80Query:\n ".concat(e,"\n \uD83E\uDD75Variables:\n ").concat(JSON.stringify(o),"\n \uD83D\uDC7FMessage:\n ").concat(JSON.stringify(c.errors,null," "),"\n \n "))}return c.data}"\n query FormQuery($id: ID!) {\n gfForm(id: $id, idType: DATABASE_ID) {\n id\n formId: databaseId\n title\n id\n confirmations {\n isDefault\n message\n name\n type\n url\n id\n queryString\n pageId\n }\n formFields {\n nodes {\n type\n id: databaseId\n cols: layoutGridColumnSpan\n\n\n ... on S3FileUploadField {\n ".concat(l,"\n maxFileSize\n allowedExtensions\n maxRows\n }\n \n ... on FileUploadField {\n ").concat(l,"\n maxFiles\n maxFileSize\n canAcceptMultipleFiles\n allowedExtensions\n } \n ... on SelectField {\n ").concat(l,"\n placeholder\n choices {\n text\n value\n ... on SelectFieldChoice {\n isSelected\n }\n }\n }\n ... on MultiSelectField {\n ").concat(l,"\n choices {\n text\n value\n ... on MultiSelectFieldChoice {\n isSelected\n }\n }\n }\n ... on TextField {\n ").concat(l,"\n placeholder\n maxLength\n }\n ... on HtmlField {\n content\n }\n ... on TextAreaField {\n ").concat(l,"\n size\n placeholder\n maxLength\n }\n ... on EmailField {\n ").concat(l,"\n placeholder\n }\n ... on PhoneField {\n ").concat(l,"\n placeholder\n }\n ... on ListField {\n ").concat(l,"\n maxRows\n hasColumns\n choices {\n text\n value\n }\n }\n ... on ConsentField {\n ").concat(l,"\n checkboxLabel\n }\n ... on CheckboxField {\n ").concat(l,"\n choices {\n text\n value\n ... on CheckboxFieldChoice {\n isSelected\n }\n }\n }\n ... on RadioField {\n ").concat(l,"\n choices {\n text\n value\n ... on RadioFieldChoice {\n isSelected\n }\n }\n }\n ... on DateField {\n ").concat(l,"\n dateFormat\n calendarIconUrl\n calendarIconType\n }\n ... on TimeField {\n ").concat(l,"\n }\n ... on WebsiteField {\n ").concat(l,"\n }\n ... on NumberField {\n ").concat(l,"\n rangeMin\n rangeMax\n }\n ... on SectionField {\n label\n description\n conditionalLogic {\n actionType\n logicType\n rules {\n fieldId\n operator\n value\n }\n }\n }\n }\n }\n }\n }\n");let t=async n=>await a({query:n})}}]);
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.